/external/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/ |
D | TJCompressor.java | 325 public void compress(byte[] dstBuf, int flags) throws Exception { in compress() argument 326 if (dstBuf == null || flags < 0) in compress() 342 dstBuf, jpegQuality, flags); in compress() 346 srcHeight, srcPixelFormat, dstBuf, subsamp, in compress() 350 srcPixelFormat, dstBuf, subsamp, jpegQuality, in compress() 355 srcHeight, srcPixelFormat, dstBuf, subsamp, in compress() 359 srcPixelFormat, dstBuf, subsamp, jpegQuality, in compress() 389 public void compress(BufferedImage srcImage, byte[] dstBuf, int flags) in compress() argument 392 compress(dstBuf, flags); in compress() 448 public void encodeYUV(byte[] dstBuf, int flags) throws Exception { in encodeYUV() argument [all …]
|
D | TJDecompressor.java | 370 public void decompress(byte[] dstBuf, int x, int y, int desiredWidth, in decompress() argument 375 if (dstBuf == null || x < 0 || y < 0 || pitch < 0 || in decompress() 381 yuvImage.getStrides(), yuvImage.getSubsamp(), dstBuf, x, y, in decompress() local 386 decompress(jpegBuf, jpegBufSize, dstBuf, x, y, desiredWidth, pitch, in decompress() 389 decompress(jpegBuf, jpegBufSize, dstBuf, desiredWidth, pitch, in decompress() 399 public void decompress(byte[] dstBuf, int desiredWidth, int pitch, in decompress() argument 402 decompress(dstBuf, 0, 0, desiredWidth, pitch, desiredHeight, pixelFormat, in decompress() 488 public void decompressToYUV(byte[] dstBuf, int flags) throws Exception { in decompressToYUV() argument 489 YUVImage dstImage = new YUVImage(dstBuf, jpegWidth, 4, jpegHeight, in decompressToYUV() 677 public void decompress(int[] dstBuf, int x, int y, int desiredWidth, in decompress() argument [all …]
|
/external/libjpeg-turbo/ |
D | tjunittest.c | 395 void compTest(tjhandle handle, unsigned char **dstBuf, in compTest() argument 408 if(*dstBuf && *dstSize>0) memset(*dstBuf, 0, *dstSize); in compTest() 432 _tj(tjCompressFromYUV(handle, yuvBuf, w, pad, h, subsamp, dstBuf, in compTest() 439 _tj(tjCompress2(handle, srcBuf, w, 0, h, pf, dstBuf, dstSize, subsamp, in compTest() 445 writeJPEG(*dstBuf, *dstSize, tempStr); in compTest() 458 unsigned char *dstBuf=NULL, *yuvBuf=NULL; in _decompTest() local 470 if((dstBuf=(unsigned char *)malloc(dstSize))==NULL) in _decompTest() 472 memset(dstBuf, 0, dstSize); in _decompTest() 497 _tj(tjDecodeYUV(handle2, yuvBuf, pad, subsamp, dstBuf, scaledWidth, 0, in _decompTest() 508 _tj(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0, in _decompTest() [all …]
|
D | turbojpeg.h | 970 unsigned char *dstBuf, int pad, int subsamp, int flags); 1135 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, 1186 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, 1295 int pad, int subsamp, unsigned char *dstBuf, int width, int pitch, 1352 unsigned char **srcPlanes, int *strides, int subsamp, unsigned char *dstBuf, 1507 int width, int pitch, int height, int pixelSize, unsigned char *dstBuf, 1512 unsigned char *dstBuf, int subsamp, int flags); 1516 unsigned char *dstBuf, int subsamp, int flags); 1526 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, 1530 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf,
|
D | turbojpeg.c | 992 int width, int pitch, int height, int pixelFormat, unsigned char *dstBuf, in tjEncodeYUV3() argument 998 if(width<=0 || height<=0 || dstBuf==NULL || pad<0 || !isPow2(pad) in tjEncodeYUV3() 1004 dstPlanes[0]=dstBuf; in tjEncodeYUV3() 1028 int width, int pitch, int height, int pixelFormat, unsigned char *dstBuf, in tjEncodeYUV2() argument 1032 dstBuf, 4, subsamp, flags); in tjEncodeYUV2() 1036 int width, int pitch, int height, int pixelSize, unsigned char *dstBuf, in tjEncodeYUV() argument 1040 getPixelFormat(pixelSize, flags), dstBuf, subsamp, flags); in tjEncodeYUV() 1336 unsigned long jpegSize, unsigned char *dstBuf, int width, int pitch, in tjDecompress2() argument 1350 if(jpegBuf==NULL || jpegSize<=0 || dstBuf==NULL || width<0 || pitch<0 in tjDecompress2() 1403 _dstBuf=dstBuf; dstBuf=rgbBuf; in tjDecompress2() [all …]
|
D | turbojpeg-jni.c | 470 unsigned char *srcBuf=NULL, *dstBuf=NULL; in TJCompressor_encodeYUV_12() local 488 bailif0(dstBuf=(*env)->GetPrimitiveArrayCritical(env, dst, 0)); in TJCompressor_encodeYUV_12() 490 if(tjEncodeYUV2(handle, srcBuf, width, pitch, height, pf, dstBuf, subsamp, in TJCompressor_encodeYUV_12() 495 if(dstBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, dstBuf, 0); in TJCompressor_encodeYUV_12() 632 unsigned char *jpegBuf=NULL, *dstBuf=NULL; in TJDecompressor_decompress() local 649 bailif0(dstBuf=(*env)->GetPrimitiveArrayCritical(env, dst, 0)); in TJDecompressor_decompress() 652 &dstBuf[y*actualPitch + x*tjPixelSize[pf]], width, pitch, height, pf, in TJDecompressor_decompress() 657 if(dstBuf) (*env)->ReleasePrimitiveArrayCritical(env, dst, dstBuf, 0); in TJDecompressor_decompress() 808 unsigned char *jpegBuf=NULL, *dstBuf=NULL; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI() local 826 bailif0(dstBuf=(*env)->GetPrimitiveArrayCritical(env, dst, 0)); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_decompressToYUV___3BI_3BI() [all …]
|
/external/libvncserver/test/ |
D | tjunittest.c | 238 void compTest(tjhandle handle, unsigned char **dstBuf, in compTest() argument 252 if(*dstBuf && *dstSize>0) memset(*dstBuf, 0, *dstSize); in compTest() 256 _tj(tjCompress2(handle, srcBuf, w, 0, h, pf, dstBuf, dstSize, subsamp, in compTest() 263 writeJPEG(*dstBuf, *dstSize, tempStr); in compTest() 276 unsigned char *dstBuf=NULL; in _decompTest() local 294 if((dstBuf=(unsigned char *)malloc(dstSize))==NULL) in _decompTest() 296 memset(dstBuf, 0, dstSize); in _decompTest() 299 _tj(tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, scaledWidth, 0, in _decompTest() 303 if(checkBuf(dstBuf, scaledWidth, scaledHeight, pf, subsamp, sf, flags)) in _decompTest() 309 if(dstBuf) free(dstBuf); in _decompTest() [all …]
|
/external/libjpeg-turbo/java/ |
D | TJBench.java | 99 byte[] dstBuf = new byte[w[0] * h[0] * ps]; in loadImage() 102 dstBuf[dstPtr + rindex] = (byte)((rgb[rgbPtr] >> 16) & 0xff); in loadImage() 103 dstBuf[dstPtr + gindex] = (byte)((rgb[rgbPtr] >> 8) & 0xff); in loadImage() 104 dstBuf[dstPtr + bindex] = (byte)(rgb[rgbPtr] & 0xff); in loadImage() 108 return dstBuf; in loadImage() 134 byte[] dstBuf, int w, int h, int subsamp, int jpegQual, in decomp() argument 150 if (dstBuf == null) in decomp() 151 dstBuf = new byte[pitch * scaledh]; in decomp() 155 Arrays.fill(dstBuf, (byte)127); in decomp() 180 tjd.decompress(dstBuf, x, y, width, pitch, height, pf, flags); in decomp() [all …]
|
D | TJUnitTest.java | 636 private static int compTest(TJCompressor tjc, byte[] dstBuf, int w, in compTest() argument 671 Arrays.fill(dstBuf, (byte)0); in compTest() 694 tjc.compress(dstBuf, flags); in compTest() 699 writeJPEG(dstBuf, size, tempStr); in compTest() 716 byte[] dstBuf = null; in decompTest() 765 dstBuf = tjd.decompress(scaledWidth, 0, scaledHeight, pf, flags); in decompTest() 777 (!bi && checkBuf(dstBuf, scaledWidth, in decompTest() 811 byte[] dstBuf; in doTest() 813 dstBuf = new byte[TJ.bufSize(w, h, subsamp)]; in doTest() 828 size = compTest(tjc, dstBuf, w, h, pf, baseName, subsamp, 100, in doTest() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fBufferCopyTests.cpp | 85 deUint32 dstBuf = 0; in iterate() local 103 dstBuf = genBuffer(); in iterate() 104 glBindBuffer(m_dstTarget, dstBuf); in iterate() 110 isOk = verifier.verify(dstBuf, dstRef.getPtr(), 0, m_dstSize, m_dstTarget) && isOk; in iterate() 116 glBindBuffer(m_dstTarget, dstBuf); in iterate() 122 isOk = verifier.verify(dstBuf, dstRef.getPtr(), 0, m_dstSize, m_dstTarget) && isOk; in iterate()
|
/external/libvncserver/common/ |
D | turbojpeg.h | 467 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf, 510 int width, int pitch, int height, int pixelSize, unsigned char *dstBuf, 517 unsigned char *jpegBuf, unsigned long jpegSize, unsigned char *dstBuf,
|
D | turbojpeg.c | 747 unsigned long jpegSize, unsigned char *dstBuf, int width, int pitch, in tjDecompress2() argument 761 if(jpegBuf==NULL || jpegSize<=0 || dstBuf==NULL || width<0 || pitch<0 in tjDecompress2() 815 _dstBuf=dstBuf; dstBuf=rgbBuf; in tjDecompress2() 825 row_pointer[i]=&dstBuf[(dinfo->output_height-i-1)*pitch]; in tjDecompress2() 826 else row_pointer[i]=&dstBuf[i*pitch]; in tjDecompress2() 849 unsigned long jpegSize, unsigned char *dstBuf, int width, int pitch, in tjDecompress() argument 852 return tjDecompress2(handle, jpegBuf, jpegSize, dstBuf, width, pitch, in tjDecompress()
|
/external/robolectric/v3/runtime/ |
D | android-all-4.4_r1-robolectric-1.jar | META-INF/
META-INF/MANIFEST.MF
com/
com/google/
com/ ... |