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()
876 doTest(39, 41, _onlyGray, 1, TJSAMP_GRAY, "test"); in main()
877 doTest(41, 35, _3byteFormats, 2, TJSAMP_GRAY, "test"); in main()
878 doTest(35, 39, _4byteFormats, 4, TJSAMP_GRAY, "test"); in main()
887 doTest(48, 48, _onlyRGB, 1, TJSAMP_GRAY, "test_yuv0"); in main()
888 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()
535 nc = (subsamp == TJSAMP_GRAY ? 1 : 3); in tjBufSizeYUV2()
566 nc = (subsamp == TJSAMP_GRAY ? 1 : 3); in tjPlaneWidth()
587 nc = (subsamp == TJSAMP_GRAY ? 1 : 3); in tjPlaneHeight()
741 if (subsamp != TJSAMP_GRAY && (!dstPlanes[1] || !dstPlanes[2])) in tjEncodeYUVPlanes()
891 if (subsamp == TJSAMP_GRAY) { in tjEncodeYUV3()
956 if (subsamp != TJSAMP_GRAY && (!srcPlanes[1] || !srcPlanes[2])) in tjCompressFromYUVPlanes()
1084 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.c928 if (toupper(argv[i][0]) == 'G') subsamp = TJSAMP_GRAY; in main()
996 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`.