• Show log

    Commit

  • Hash : b5a9ef64
    Author : DRC
    Date : 2022-11-13T13:00:26

    Don't allow 12-bit JPEG support to be disabled
    
    In libjpeg-turbo 2.1.x and prior, the WITH_12BIT CMake variable was used
    to enable 12-bit JPEG support at compile time, because the libjpeg API
    library could not handle multiple JPEG data precisions at run time.  The
    initial approach to handling multiple JPEG data precisions at run time
    (7fec5074f962b20ed00b4f5da4533e1e8d4ed8ac) created a whole new API,
    library, and applications for 12-bit data precision, so it made sense to
    repurpose WITH_12BIT to allow 12-bit data precision to be disabled.
    e8b40f3c2ba187ba95c13c3e8ce21c8534256df7 made it so that the libjpeg API
    library can handle multiple JPEG data precisions at run time via a
    handful of straightforward API extensions.  Referring to
    6c2bc901e27b047440ed46920c4d3f0480b48268, it hasn't been possible to
    build libjpeg-turbo with both forward and backward libjpeg API/ABI
    compatibility since libjpeg-turbo 1.4.x.  Thus, whereas we retain full
    backward API/ABI compatibility with libjpeg v6b-v8, forward libjpeg
    API/ABI compatibility ceased being realistic years ago, so it no longer
    makes sense to provide compile-time options that give a false sense of
    forward API/ABI compatibility by allowing some (but not all) of our
    libjpeg API extensions to be disabled.  Such options are difficult to
    maintain and clutter the code with #ifdefs.
    

  • Properties

  • Git HTTP https://git.kmx.io/kc3-lang/libjpeg-turbo.git
    Git SSH git@git.kmx.io:kc3-lang/libjpeg-turbo.git
    Public access ? public
    Description

    Fork of libjpeg with SIMD

    Users
    thodg_m kc3_lang_org thodg_w www_kmx_io thodg_l thodg
    Tags