Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dtjunittest.c233 if (subsamp == TJSAMP_GRAY) { in checkBuf()
298 if (subsamp != TJSAMP_GRAY) { in checkBufYUV()
494 if (subsamp == TJSAMP_444 || subsamp == TJSAMP_GRAY || in decompTest()
913 doTest(39, 41, _onlyGray, 1, TJSAMP_GRAY, "test"); in main()
914 doTest(41, 35, _3byteFormats, 2, TJSAMP_GRAY, "test"); in main()
915 doTest(35, 39, _4byteFormats, 4, TJSAMP_GRAY, "test"); in main()
924 doTest(48, 48, _onlyRGB, 1, TJSAMP_GRAY, "test_yuv0"); in main()
925 doTest(48, 48, _onlyGray, 1, TJSAMP_GRAY, "test_yuv0"); in main()
Dturbojpeg.c275 if (subsamp == TJSAMP_GRAY) in setCompDefaults()
314 return TJSAMP_GRAY; in getSubsamp()
503 chromasf = jpegSubsamp == TJSAMP_GRAY ? 0 : 4 * 64 / (mcuw * mcuh); in tjBufSize()
540 nc = (subsamp == TJSAMP_GRAY ? 1 : 3); in tjBufSizeYUV2()
573 nc = (subsamp == TJSAMP_GRAY ? 1 : 3); in tjPlaneWidth()
594 nc = (subsamp == TJSAMP_GRAY ? 1 : 3); in tjPlaneHeight()
750 if (subsamp != TJSAMP_GRAY && (!dstPlanes[1] || !dstPlanes[2])) in tjEncodeYUVPlanes()
900 if (subsamp == TJSAMP_GRAY) { in tjEncodeYUV3()
965 if (subsamp != TJSAMP_GRAY && (!srcPlanes[1] || !srcPlanes[2])) in tjCompressFromYUVPlanes()
1093 if (subsamp == TJSAMP_GRAY) { in tjCompressFromYUV()
[all …]
Dturbojpeg.h112 TJSAMP_GRAY, enumerator
1685 #define TJ_GRAYSCALE TJSAMP_GRAY
Dtjexample.c201 outSubsamp = TJSAMP_GRAY; in main()
347 outSubsamp = TJSAMP_GRAY; in main()
Dtjbench.c945 if (toupper(argv[i][0]) == 'G') subsamp = TJSAMP_GRAY; in main()
1013 fullTest(srcBuf, w, h, TJSAMP_GRAY, i, argv[1]); in main()
DChangeLog.md746 instead of -1 if `componentID` was > 0 and `subsamp` was `TJSAMP_GRAY`.