Home
last modified time | relevance | path

Searched refs:strides (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/graphics/java/android/graphics/
DYuvImage.java79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { in YuvImage() argument
96 if (strides == null) { in YuvImage()
99 mStrides = strides; in YuvImage()
200 int[] strides = null; in calculateStrides() local
202 strides = new int[] {width, width}; in calculateStrides()
203 return strides; in calculateStrides()
207 strides = new int[] {width * 2}; in calculateStrides()
208 return strides; in calculateStrides()
211 return strides; in calculateStrides()
238 int format, int width, int height, int[] offsets, int[] strides, in nativeCompressToJpeg() argument
/frameworks/base/libs/hwui/jni/
DYuvToJpegEncoder.cpp9 YuvToJpegEncoder* YuvToJpegEncoder::create(int format, int* strides) { in create() argument
13 return new Yuv420SpToJpegEncoder(strides); in create()
15 return new Yuv422IToJpegEncoder(strides); in create()
21 YuvToJpegEncoder::YuvToJpegEncoder(int* strides) : fStrides(strides) { in YuvToJpegEncoder() argument
81 Yuv420SpToJpegEncoder::Yuv420SpToJpegEncoder(int* strides) : in Yuv420SpToJpegEncoder() argument
82 YuvToJpegEncoder(strides) { in Yuv420SpToJpegEncoder()
157 Yuv422IToJpegEncoder::Yuv422IToJpegEncoder(int* strides) : in Yuv422IToJpegEncoder() argument
158 YuvToJpegEncoder(strides) { in Yuv422IToJpegEncoder()
236 jintArray strides, jint jpegQuality, jobject jstream, in YuvImage_compressToJpeg() argument
242 jint* imgStrides = env->GetIntArrayElements(strides, NULL); in YuvImage_compressToJpeg()
[all …]
DYuvToJpegEncoder.h19 static YuvToJpegEncoder* create(int pixelFormat, int* strides);
21 explicit YuvToJpegEncoder(int* strides);
50 explicit Yuv420SpToJpegEncoder(int* strides);
64 explicit Yuv422IToJpegEncoder(int* strides);
/frameworks/native/opengl/include/EGL/
Deglext.h1017 …ABUFIMAGEMESAPROC) (EGLDisplay dpy, EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets);
1020 …ortDMABUFImageMESA (EGLDisplay dpy, EGLImageKHR image, int *fds, EGLint *strides, EGLint *offsets);