Home
last modified time | relevance | path

Searched refs:rowStrides (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/java/android/media/
DMediaCodec.java5978 @NonNull ByteBuffer[] buffers, int[] rowStrides, int[] pixelStrides, in MediaImage() argument
5981 if (buffers.length != rowStrides.length || buffers.length != pixelStrides.length) { in MediaImage()
5995 mPlanes[i] = new MediaPlane(buffers[i], rowStrides[i], pixelStrides[i]); in MediaImage()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp2658 jint *rowStrides = env->GetIntArrayElements(rowStridesArray.get(), &isCopy); in android_media_MediaCodec_mapHardwareBuffer() local
2680 rowStrides[i] = plane.rowStride; in android_media_MediaCodec_mapHardwareBuffer()
2687 env->ReleaseIntArrayElements(rowStridesArray.get(), rowStrides, 0); in android_media_MediaCodec_mapHardwareBuffer()
2689 rowStrides = pixelStrides = nullptr; in android_media_MediaCodec_mapHardwareBuffer()