Searched defs:strides (Results 1 - 2 of 2) sorted by path

/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp11 YuvToJpegEncoder* YuvToJpegEncoder::create(int format, int* strides) { argument
15 return new Yuv420SpToJpegEncoder(strides);
17 return new Yuv422IToJpegEncoder(strides);
23 YuvToJpegEncoder::YuvToJpegEncoder(int* strides) : fStrides(strides) { argument
68 Yuv420SpToJpegEncoder::Yuv420SpToJpegEncoder(int* strides) : argument
69 YuvToJpegEncoder(strides) {
144 Yuv422IToJpegEncoder::Yuv422IToJpegEncoder(int* strides) : argument
145 YuvToJpegEncoder(strides) {
223 jintArray strides, jin
221 YuvImage_compressToJpeg(JNIEnv* env, jobject, jbyteArray inYuv, jint format, jint width, jint height, jintArray offsets, jintArray strides, jint jpegQuality, jobject jstream, jbyteArray jstorage) argument
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DYuvImage.java73 * @param strides (Optional) Row bytes of each image plane. If yuv contains padding, the stride
74 * of each image must be provided. If strides is null, the method assumes no
79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { argument
96 if (strides == null) {
99 mStrides = strides;
200 int[] strides = null;
202 strides = new int[] {width, width};
203 return strides;
207 strides = new int[] {width * 2};
208 return strides;
237 nativeCompressToJpeg(byte[] oriYuv, int format, int width, int height, int[] offsets, int[] strides, int quality, OutputStream stream, byte[] tempStorage) argument
[all...]

Completed in 80 milliseconds