Home
last modified time | relevance | path

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

/packages/apps/Camera2/src/com/android/camera/util/
DJpegUtilNative.java100 Object outBuf, int outBufCapacity, in compressJpegFromYUV420pNative() argument
144 ByteBuffer outBuf, int quality, in compressJpegFromYUV420p() argument
159 cbPStride, cbRStride, crBuf, crPStride, crRStride, outBuf, outBuf.capacity(), in compressJpegFromYUV420p()
173 public static int compressJpegFromYUV420Image(ImageProxy img, ByteBuffer outBuf, int quality) { in compressJpegFromYUV420Image() argument
174 return compressJpegFromYUV420Image(img, outBuf, quality, 0); in compressJpegFromYUV420Image()
188 public static int compressJpegFromYUV420Image(ImageProxy img, ByteBuffer outBuf, int quality, in compressJpegFromYUV420Image() argument
190 return compressJpegFromYUV420Image(img, outBuf, quality, new Rect(0, 0, img.getWidth(), in compressJpegFromYUV420Image()
210 public static int compressJpegFromYUV420Image(ImageProxy img, ByteBuffer outBuf, int quality, in compressJpegFromYUV420Image() argument
216 Preconditions.checkState(outBuf.isDirect(), "Output buffer must be direct"); in compressJpegFromYUV420Image()
241 outBuf.clear(); in compressJpegFromYUV420Image()
[all …]
/packages/apps/Camera2/jni/
Djpegutilnative.cpp80 jobject outBuf, jint outBufCapacity, in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative() argument
91 jbyte* out = (jbyte*)env->GetDirectBufferAddress(outBuf); in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
Djpegutil.cpp315 unsigned char* outBuf, size_t outBufCapacity, in Compress() argument
361 return Compress(finalWidth, finalHeight, yIter, cbIter, crIter, outBuf, in Compress()
Djpegutil.h163 unsigned char* outBuf, size_t outBufCapacity,
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskCompressImageToJpeg.java85 public int compressJpegFromYUV420Image(ImageProxy img, ByteBuffer outBuf, int quality, in compressJpegFromYUV420Image() argument
87 return JpegUtilNative.compressJpegFromYUV420Image(img, outBuf, quality, crop, degrees); in compressJpegFromYUV420Image()