/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJCompressor.java | 150 srcBuf = srcImage; in setSourceImage() 247 srcBuf = null; in setSourceImage() 256 srcBuf = db.getData(); in setSourceImage() 274 srcBuf = null; in setSourceImage() 332 if (srcBuf == null && srcBufInt == null && srcYUVImage == null) in compress() 347 else if (srcBuf != null) { in compress() 349 compressedSize = compress(srcBuf, srcX, srcY, srcWidth, srcPitch, in compress() 353 compressedSize = compress(srcBuf, srcWidth, srcPitch, srcHeight, in compress() 429 if (srcBuf == null && srcBufInt == null) in encodeYUV() 442 encodeYUV(srcBuf, srcX, srcY, srcWidth, srcPitch, srcHeight, in encodeYUV() [all …]
|
D | TJDecompressor.java | 881 private native void decompressHeader(byte[] srcBuf, int size) in decompressHeader() argument 885 private native void decompress(byte[] srcBuf, int size, byte[] dstBuf, in decompress() argument 889 private native void decompress(byte[] srcBuf, int size, byte[] dstBuf, int x, in decompress() argument 894 private native void decompress(byte[] srcBuf, int size, int[] dstBuf, in decompress() argument 898 private native void decompress(byte[] srcBuf, int size, int[] dstBuf, int x, in decompress() argument 903 private native void decompressToYUV(byte[] srcBuf, int size, byte[] dstBuf, in decompressToYUV() argument 906 private native void decompressToYUV(byte[] srcBuf, int size, in decompressToYUV() argument
|
D | TJTransformer.java | 155 private native int[] transform(byte[] srcBuf, int srcSize, byte[][] dstBufs, in transform() argument
|
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
D | ConverterPerformanceTest.java | 210 ByteBuffer srcBuf = ByteBuffer.wrap(encBuffer,0,encBuffer.length); 215 decoder.decode(srcBuf,outBuf,false); 217 srcBuf.rewind(); 239 CharBuffer srcBuf = CharBuffer.wrap(unicodeBuffer,0,unicodeBuffer.length); 244 encoder.encode(srcBuf,outBuf,false); 246 srcBuf.rewind(); 268 ByteBuffer srcBuf = ByteBuffer.wrap(encBuffer,0,encBuffer.length); 273 decoder.decode(srcBuf,outBuf,false); 275 srcBuf.rewind(); 297 CharBuffer srcBuf = CharBuffer.wrap(unicodeBuffer,0,unicodeBuffer.length); [all …]
|
/external/libjpeg-turbo/ |
D | tjbench.c | 138 int decomp(unsigned char *srcBuf, unsigned char **jpegBuf, in decomp() argument 266 if (srcBuf && sf.num == 1 && sf.denom == 1) { in decomp() 276 int y = (int)((double)srcBuf[rindex] * 0.299 + in decomp() 277 (double)srcBuf[gindex] * 0.587 + in decomp() 278 (double)srcBuf[bindex] * 0.114 + 0.5); in decomp() 291 abs(dstBuf[pitch * row + col] - srcBuf[pitch * row + col]); in decomp() 306 int fullTest(unsigned char *srcBuf, int w, int h, int subsamp, int jpegQual, in fullTest() argument 359 memcpy(&tmpBuf[pitch * i], &srcBuf[w * ps * i], w * ps); in fullTest() 378 for (row = 0, srcPtr = srcBuf; row < ntilesh; in fullTest() 472 if (decomp(srcBuf, jpegBuf, jpegSize, tmpBuf, w, h, subsamp, jpegQual, in fullTest() [all …]
|
D | turbojpeg.h | 743 DLLEXPORT int tjCompress2(tjhandle handle, const unsigned char *srcBuf, 809 DLLEXPORT int tjCompressFromYUV(tjhandle handle, const unsigned char *srcBuf, 1045 DLLEXPORT int tjEncodeYUV3(tjhandle handle, const unsigned char *srcBuf, 1105 DLLEXPORT int tjEncodeYUVPlanes(tjhandle handle, const unsigned char *srcBuf, 1380 DLLEXPORT int tjDecodeYUV(tjhandle handle, const unsigned char *srcBuf, 1703 DLLEXPORT int tjCompress(tjhandle handle, unsigned char *srcBuf, int width, 1708 DLLEXPORT int tjEncodeYUV(tjhandle handle, unsigned char *srcBuf, int width, 1712 DLLEXPORT int tjEncodeYUV2(tjhandle handle, unsigned char *srcBuf, int width,
|
D | tjunittest.c | 364 unsigned char *srcBuf = NULL, *yuvBuf = NULL; in compTest() local 370 if ((srcBuf = (unsigned char *)malloc(w * h * tjPixelSize[pf])) == NULL) in compTest() 372 initBuf(srcBuf, w, h, pf, flags); in compTest() 389 _tj(tjEncodeYUV3(handle2, srcBuf, w, 0, h, pf, yuvBuf, pad, subsamp, in compTest() 402 _tj(tjCompress2(handle, srcBuf, w, 0, h, pf, dstBuf, dstSize, subsamp, in compTest() 413 if (srcBuf) free(srcBuf); in compTest() 558 unsigned char *srcBuf = NULL, *dstBuf = NULL; in bufSizeTest() local 571 if ((srcBuf = (unsigned char *)malloc(w * h * 4)) == NULL) in bufSizeTest() 581 if (random() < RAND_MAX / 2) srcBuf[i] = 0; in bufSizeTest() 582 else srcBuf[i] = 255; in bufSizeTest() [all …]
|
D | turbojpeg.c | 625 DLLEXPORT int tjCompress2(tjhandle handle, const unsigned char *srcBuf, in tjCompress2() argument 638 if (srcBuf == NULL || width <= 0 || pitch < 0 || height <= 0 || in tjCompress2() 673 row_pointer[i] = (JSAMPROW)&srcBuf[(height - i - 1) * pitch]; in tjCompress2() 675 row_pointer[i] = (JSAMPROW)&srcBuf[i * pitch]; in tjCompress2() 690 DLLEXPORT int tjCompress(tjhandle handle, unsigned char *srcBuf, int width, in tjCompress() argument 700 retval = tjEncodeYUV2(handle, srcBuf, width, pitch, height, in tjCompress() 704 retval = tjCompress2(handle, srcBuf, width, pitch, height, in tjCompress() 713 DLLEXPORT int tjEncodeYUVPlanes(tjhandle handle, const unsigned char *srcBuf, in tjEncodeYUVPlanes() argument 737 if (srcBuf == NULL || width <= 0 || pitch < 0 || height <= 0 || in tjEncodeYUVPlanes() 784 row_pointer[i] = (JSAMPROW)&srcBuf[(height - i - 1) * pitch]; in tjEncodeYUVPlanes() [all …]
|
D | turbojpeg-jni.c | 220 unsigned char *srcBuf = NULL, *jpegBuf = NULL; in TJCompressor_compress() local 240 bailif0(srcBuf = (*env)->GetPrimitiveArrayCritical(env, src, 0)); in TJCompressor_compress() 243 if (tjCompress2(handle, &srcBuf[y * actualPitch + x * tjPixelSize[pf]], in TJCompressor_compress() 250 if (srcBuf) (*env)->ReleasePrimitiveArrayCritical(env, src, srcBuf, 0); in TJCompressor_compress() 397 unsigned char *srcBuf = NULL, *dstPlanes[3]; in TJCompressor_encodeYUV() local 445 bailif0(srcBuf = (*env)->GetPrimitiveArrayCritical(env, src, 0)); in TJCompressor_encodeYUV() 447 if (tjEncodeYUVPlanes(handle, &srcBuf[y * actualPitch + x * tjPixelSize[pf]], in TJCompressor_encodeYUV() 453 if (srcBuf) (*env)->ReleasePrimitiveArrayCritical(env, src, srcBuf, 0); in TJCompressor_encodeYUV() 500 unsigned char *srcBuf = NULL, *dstBuf = NULL; in TJCompressor_encodeYUV_12() local 517 bailif0(srcBuf = (*env)->GetPrimitiveArrayCritical(env, src, 0)); in TJCompressor_encodeYUV_12() [all …]
|
/external/libjpeg-turbo/java/ |
D | TJBench.java | 138 static void saveImage(String fileName, byte[] srcBuf, int w, int h, in saveImage() argument 149 int pixel = (srcBuf[srcPtr + rindex] & 0xff) << 16 | in saveImage() 150 (srcBuf[srcPtr + gindex] & 0xff) << 8 | in saveImage() 151 (srcBuf[srcPtr + bindex] & 0xff); in saveImage() 161 static void decomp(byte[] srcBuf, byte[][] jpegBuf, int[] jpegSize, in decomp() argument 289 if (srcBuf != null && sf.getNum() == 1 && sf.getDenom() == 1) { in decomp() 298 int lum = (int)((double)(srcBuf[rindex] & 0xff) * 0.299 + in decomp() 299 (double)(srcBuf[gindex] & 0xff) * 0.587 + in decomp() 300 (double)(srcBuf[bindex] & 0xff) * 0.114 + 0.5); in decomp() 314 (srcBuf[pitch * y + x] & 0xff)); in decomp() [all …]
|
D | TJUnitTest.java | 633 byte[] srcBuf = null; in compTest() 660 srcBuf = new byte[w * h * ps + 1]; in compTest() 661 initBuf(srcBuf, w, w * ps, h, pf, flags); in compTest() 662 tjc.setSourceImage(srcBuf, 0, 0, w, 0, h, pf); in compTest() 842 byte[] srcBuf, dstBuf = null; in bufSizeTest() 856 srcBuf = new byte[w * h * 4]; in bufSizeTest() 862 srcBuf[i] = (byte)(r.nextInt(2) * 255); in bufSizeTest() 864 tjc.setSourceImage(srcBuf, 0, 0, w, 0, h, TJ.PF_BGRX); in bufSizeTest() 872 srcBuf = new byte[h * w * 4]; in bufSizeTest() 878 srcBuf[i] = (byte)(r.nextInt(2) * 255); in bufSizeTest() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fBufferCopyTests.cpp | 84 deUint32 srcBuf = 0; in iterate() local 97 srcBuf = genBuffer(); in iterate() 98 glBindBuffer(m_srcTarget, srcBuf); in iterate() 109 isOk = verifier.verify(srcBuf, srcRef.getPtr(), 0, m_srcSize, m_srcTarget) && isOk; in iterate() 115 glBindBuffer(m_srcTarget, srcBuf); in iterate() 121 isOk = verifier.verify(srcBuf, srcRef.getPtr(), 0, m_srcSize, m_srcTarget) && isOk; in iterate()
|
/external/swiftshader/src/Device/ |
D | Surface.cpp | 3061 char *srcBuf = (char*)src->lockInternal(0, 0, 0, sw::LOCK_READONLY, sw::PRIVATE) + srcStart; in copyCubeEdge() local 3064 for(int i = 0; i < srcW; ++i, dstBuf += dstDelta, srcBuf += srcDelta) in copyCubeEdge() 3066 memcpy(dstBuf, srcBuf, srcBytes); in copyCubeEdge()
|
/external/swiftshader/src/Renderer/ |
D | Surface.cpp | 3660 char *srcBuf = (char*)src->lockInternal(0, 0, 0, sw::LOCK_READONLY, sw::PRIVATE) + srcStart; in copyCubeEdge() local 3663 for(int i = 0; i < srcW; ++i, dstBuf += dstDelta, srcBuf += srcDelta) in copyCubeEdge() 3665 memcpy(dstBuf, srcBuf, srcBytes); in copyCubeEdge()
|
/external/kotlinc/lib/ |
D | kotlin-compiler.jar | META-INF/MANIFEST.MF
org/jetbrains/kotlin/utils/JavaSdkUtil.class
JavaSdkUtil ... |