• Home
  • Raw
  • Download

Lines Matching refs:TJ

72     TJ.PF_RGB, TJ.PF_BGR
78 TJ.PF_RGBX, TJ.PF_BGRX, TJ.PF_XBGR, TJ.PF_XRGB, TJ.PF_CMYK
86 TJ.PF_GRAY
92 TJ.PF_RGB
105 return TJ.PF_BGR; in biTypePF()
108 return TJ.PF_ABGR; in biTypePF()
110 return TJ.PF_GRAY; in biTypePF()
113 return TJ.PF_XBGR; in biTypePF()
115 return TJ.PF_RGBX; in biTypePF()
118 return TJ.PF_XRGB; in biTypePF()
120 return TJ.PF_BGRX; in biTypePF()
124 return TJ.PF_ARGB; in biTypePF()
126 return TJ.PF_BGRA; in biTypePF()
155 int roffset = TJ.getRedOffset(pf); in initBuf()
156 int goffset = TJ.getGreenOffset(pf); in initBuf()
157 int boffset = TJ.getBlueOffset(pf); in initBuf()
159 int ps = TJ.getPixelSize(pf); in initBuf()
162 if (pf == TJ.PF_GRAY) { in initBuf()
166 if ((flags & TJ.FLAG_BOTTOMUP) != 0) in initBuf()
178 if (pf == TJ.PF_CMYK) { in initBuf()
182 if ((flags & TJ.FLAG_BOTTOMUP) != 0) in initBuf()
201 if ((flags & TJ.FLAG_BOTTOMUP) != 0) in initBuf()
224 int rshift = TJ.getRedOffset(pf) * 8; in initIntBuf()
225 int gshift = TJ.getGreenOffset(pf) * 8; in initIntBuf()
226 int bshift = TJ.getBlueOffset(pf) * 8; in initIntBuf()
233 if ((flags & TJ.FLAG_BOTTOMUP) != 0) in initIntBuf()
307 int roffset = TJ.getRedOffset(pf); in checkBuf()
308 int goffset = TJ.getGreenOffset(pf); in checkBuf()
309 int boffset = TJ.getBlueOffset(pf); in checkBuf()
311 int ps = TJ.getPixelSize(pf); in checkBuf()
318 if (pf == TJ.PF_CMYK) { in checkBuf()
321 if ((flags & TJ.FLAG_BOTTOMUP) != 0) in checkBuf()
352 if ((flags & TJ.FLAG_BOTTOMUP) != 0) in checkBuf()
371 if (subsamp == TJ.SAMP_GRAY) { in checkBuf()
402 if (pf == TJ.PF_CMYK) { in checkBuf()
431 int rshift = TJ.getRedOffset(pf) * 8; in checkIntBuf()
432 int gshift = TJ.getGreenOffset(pf) * 8; in checkIntBuf()
433 int bshift = TJ.getBlueOffset(pf) * 8; in checkIntBuf()
442 if ((flags & TJ.FLAG_BOTTOMUP) != 0) in checkIntBuf()
461 if (subsamp == TJ.SAMP_GRAY) { in checkIntBuf()
539 int hsf = TJ.getMCUWidth(subsamp) / 8, vsf = TJ.getMCUHeight(subsamp) / 8; in checkBufYUV()
545 (subsamp == TJ.SAMP_GRAY ? 0 : uvpitch * ch * 2); in checkBufYUV()
570 if (subsamp != TJ.SAMP_GRAY) { in checkBufYUV()
643 String buStr = (flags & TJ.FLAG_BOTTOMUP) != 0 ? "BU" : "TD"; in compTest()
644 String buStrLong = (flags & TJ.FLAG_BOTTOMUP) != 0 ? in compTest()
656 ps = TJ.getPixelSize(pf); in compTest()
710 String buStrLong = (flags & TJ.FLAG_BOTTOMUP) != 0 ? in decompTest()
769 (((flags & TJ.FLAG_BOTTOMUP) != 0) ? "BU" : "TD") + "_" + in decompTest()
778 scaledWidth * TJ.getPixelSize(pf), scaledHeight, pf, in decompTest()
792 TJScalingFactor[] sf = TJ.getScalingFactors(); in decompTest()
796 if (subsamp == TJ.SAMP_444 || subsamp == TJ.SAMP_GRAY || in decompTest()
797 (subsamp == TJ.SAMP_411 && num == 1 && in decompTest()
799 (subsamp != TJ.SAMP_411 && num == 1 && in decompTest()
813 dstBuf = new byte[TJ.bufSize(w, h, subsamp)]; in doTest()
823 if (subsamp == TJ.SAMP_422 || subsamp == TJ.SAMP_420 || in doTest()
824 subsamp == TJ.SAMP_440 || subsamp == TJ.SAMP_411) in doTest()
825 flags |= TJ.FLAG_FASTUPSAMPLE; in doTest()
827 flags |= TJ.FLAG_BOTTOMUP; in doTest()
831 if (pf >= TJ.PF_RGBX && pf <= TJ.PF_XRGB && !bi) { in doTest()
833 decompTest(tjd, dstBuf, size, w, h, pf + (TJ.PF_RGBA - TJ.PF_RGBX), in doTest()
859 for (subsamp = 0; subsamp < TJ.NUMSAMP; subsamp++) { in bufSizeTest()
869 dstBuf = new byte[TJ.bufSize(w, h, subsamp)]; in bufSizeTest()
873 tjc.setSourceImage(srcBuf, 0, 0, w, 0, h, TJ.PF_BGRX); in bufSizeTest()
885 dstBuf = new byte[TJ.bufSize(h, w, subsamp)]; in bufSizeTest()
889 tjc.setSourceImage(srcBuf, 0, 0, h, 0, w, TJ.PF_BGRX); in bufSizeTest()
926 doTest(35, 39, bi ? _3byteFormatsBI : _3byteFormats, TJ.SAMP_444, in main()
928 doTest(39, 41, bi ? _4byteFormatsBI : _4byteFormats, TJ.SAMP_444, in main()
930 doTest(41, 35, bi ? _3byteFormatsBI : _3byteFormats, TJ.SAMP_422, in main()
932 doTest(35, 39, bi ? _4byteFormatsBI : _4byteFormats, TJ.SAMP_422, in main()
934 doTest(39, 41, bi ? _3byteFormatsBI : _3byteFormats, TJ.SAMP_420, in main()
936 doTest(41, 35, bi ? _4byteFormatsBI : _4byteFormats, TJ.SAMP_420, in main()
938 doTest(35, 39, bi ? _3byteFormatsBI : _3byteFormats, TJ.SAMP_440, in main()
940 doTest(39, 41, bi ? _4byteFormatsBI : _4byteFormats, TJ.SAMP_440, in main()
942 doTest(41, 35, bi ? _3byteFormatsBI : _3byteFormats, TJ.SAMP_411, in main()
944 doTest(35, 39, bi ? _4byteFormatsBI : _4byteFormats, TJ.SAMP_411, in main()
946 doTest(39, 41, bi ? onlyGrayBI : onlyGray, TJ.SAMP_GRAY, testName); in main()
947 doTest(41, 35, bi ? _3byteFormatsBI : _3byteFormats, TJ.SAMP_GRAY, in main()
950 doTest(35, 39, bi ? _4byteFormatsBI : _4byteFormats, TJ.SAMP_GRAY, in main()
956 doTest(48, 48, onlyRGB, TJ.SAMP_444, "javatest_yuv0"); in main()
957 doTest(48, 48, onlyRGB, TJ.SAMP_422, "javatest_yuv0"); in main()
958 doTest(48, 48, onlyRGB, TJ.SAMP_420, "javatest_yuv0"); in main()
959 doTest(48, 48, onlyRGB, TJ.SAMP_440, "javatest_yuv0"); in main()
960 doTest(48, 48, onlyRGB, TJ.SAMP_411, "javatest_yuv0"); in main()
961 doTest(48, 48, onlyRGB, TJ.SAMP_GRAY, "javatest_yuv0"); in main()
962 doTest(48, 48, onlyGray, TJ.SAMP_GRAY, "javatest_yuv0"); in main()