Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Dtjunittest.c239 if (subsamp == TJSAMP_GRAY) { in checkBuf()
305 if (subsamp != TJSAMP_GRAY) { in checkBufYUV()
511 if (subsamp == TJSAMP_444 || subsamp == TJSAMP_GRAY || in decompTest()
1030 doTest(39, 41, _onlyGray, 1, TJSAMP_GRAY, "test"); in testOnlyGray()
1039 doTest(41, 35, _3byteFormats, 2, TJSAMP_GRAY, "test"); in testThreeByteGray()
1048 doTest(35, 39, _4byteFormats, 4, TJSAMP_GRAY, "test"); in testFourByteGray()
1111 doTest(48, 48, _onlyRGB, 1, TJSAMP_GRAY, "test_yuv0"); in testYUVOnlyRGBGray()
1120 doTest(48, 48, _onlyGray, 1, TJSAMP_GRAY, "test_yuv0"); in testYUVOnlyGrayGray()
1155 doTest(39, 41, _onlyGray, 1, TJSAMP_GRAY, "test"); in main()
1156 doTest(41, 35, _3byteFormats, 2, TJSAMP_GRAY, "test"); in main()
[all …]
Dturbojpeg.c309 if (subsamp == TJSAMP_GRAY) in setCompDefaults()
346 return TJSAMP_GRAY; in getSubsamp()
535 chromasf = jpegSubsamp == TJSAMP_GRAY ? 0 : 4 * 64 / (mcuw * mcuh); in tjBufSize()
572 nc = (subsamp == TJSAMP_GRAY ? 1 : 3); in tjBufSizeYUV2()
605 nc = (subsamp == TJSAMP_GRAY ? 1 : 3); in tjPlaneWidth()
626 nc = (subsamp == TJSAMP_GRAY ? 1 : 3); in tjPlaneHeight()
784 if (subsamp != TJSAMP_GRAY && (!dstPlanes[1] || !dstPlanes[2])) in tjEncodeYUVPlanes()
934 if (subsamp == TJSAMP_GRAY) { in tjEncodeYUV3()
999 if (subsamp != TJSAMP_GRAY && (!srcPlanes[1] || !srcPlanes[2])) in tjCompressFromYUVPlanes()
1129 if (subsamp == TJSAMP_GRAY) { in tjCompressFromYUV()
[all …]
Dturbojpeg.h113 TJSAMP_GRAY, enumerator
1697 #define TJ_GRAYSCALE TJSAMP_GRAY
Dtjbench.c963 if (toupper(argv[i][0]) == 'G') subsamp = TJSAMP_GRAY; in main()
1033 fullTest(srcBuf, w, h, TJSAMP_GRAY, i, argv[1]); in main()
DChangeLog.md1104 instead of -1 if `componentID` was > 0 and `subsamp` was `TJSAMP_GRAY`.