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/core/jni/android/graphics/
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
66 Yuv420SpToJpegEncoder::Yuv420SpToJpegEncoder(int* strides) : in Yuv420SpToJpegEncoder() argument
67 YuvToJpegEncoder(strides) { in Yuv420SpToJpegEncoder()
142 Yuv422IToJpegEncoder::Yuv422IToJpegEncoder(int* strides) : in Yuv422IToJpegEncoder() argument
143 YuvToJpegEncoder(strides) { in Yuv422IToJpegEncoder()
221 jintArray strides, jint jpegQuality, jobject jstream, in YuvImage_compressToJpeg() argument
227 jint* imgStrides = env->GetIntArrayElements(strides, NULL); in YuvImage_compressToJpeg()
[all …]
DYuvToJpegEncoder.h19 static YuvToJpegEncoder* create(int pixelFormat, int* strides);
21 YuvToJpegEncoder(int* strides);
50 Yuv420SpToJpegEncoder(int* strides);
64 Yuv422IToJpegEncoder(int* strides);
/frameworks/rs/cpu_ref/
DrsCpuCore.cpp562 StridePair &strides = mtls->fep.inStrides[index]; in launchThreads() local
565 (strides.yStride * offset) + in launchThreads()
566 (strides.eStride * mtls->xStart); in launchThreads()