Hash :
d4092f6b
Author :
Date :
2017-06-27T10:54:21
TurboJPEG: Improve error handling - Provide a new C API function and TJException method that allows calling programs to query the severity of a compression/decompression/ transform error. - Provide a new flag that instructs the library to immediately stop compressing/decompressing/transforming if a warning is encountered. Fixes #151
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
TURBOJPEG_1.0
{
global:
tjInitCompress;
tjCompress;
TJBUFSIZE;
tjInitDecompress;
tjDecompressHeader;
tjDecompress;
tjDestroy;
tjGetErrorStr;
local:
*;
};
TURBOJPEG_1.1
{
global:
TJBUFSIZEYUV;
tjDecompressHeader2;
tjDecompressToYUV;
tjEncodeYUV;
} TURBOJPEG_1.0;
TURBOJPEG_1.2
{
global:
tjAlloc;
tjBufSize;
tjBufSizeYUV;
tjCompress2;
tjDecompress2;
tjEncodeYUV2;
tjFree;
tjGetScalingFactors;
tjInitTransform;
tjTransform;
} TURBOJPEG_1.1;
TURBOJPEG_1.4
{
global:
tjBufSizeYUV2;
tjCompressFromYUV;
tjCompressFromYUVPlanes;
tjDecodeYUV;
tjDecodeYUVPlanes;
tjDecompressHeader3;
tjDecompressToYUV2;
tjDecompressToYUVPlanes;
tjEncodeYUV3;
tjEncodeYUVPlanes;
tjPlaneHeight;
tjPlaneSizeYUV;
tjPlaneWidth;
} TURBOJPEG_1.2;
TURBOJPEG_1.6
{
global:
tjGetErrorCode;
tjGetErrorStr2;
} TURBOJPEG_1.4;