Home
last modified time | relevance | path

Searched refs:tjInstance (Results 1 – 1 of 1) sorted by relevance

/external/libjpeg-turbo/
Dtjexample.c52 #define _throwtj(action) _throw(action, tjGetErrorStr2(tjInstance))
172 tjhandle tjInstance = NULL; in main() local
287 if ((tjInstance = tjInitTransform()) == NULL) in main()
290 if (tjTransform(tjInstance, jpegBuf, jpegSize, 1, &dstBuf, &dstSize, in main()
297 if ((tjInstance = tjInitDecompress()) == NULL) in main()
301 if (tjDecompressHeader3(tjInstance, jpegBuf, jpegSize, &width, &height, in main()
335 if (tjDecompress2(tjInstance, jpegBuf, jpegSize, imgBuf, width, 0, height, in main()
339 tjDestroy(tjInstance); tjInstance = NULL; in main()
366 if ((tjInstance = tjInitCompress()) == NULL) in main()
368 if (tjCompress2(tjInstance, imgBuf, width, 0, height, pixelFormat, in main()
[all …]