Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaCodec.java4859 @NonNull ByteBuffer[] buffers, int[] rowStrides, int[] pixelStrides, in MediaImage() argument
4862 if (buffers.length != rowStrides.length || buffers.length != pixelStrides.length) { in MediaImage()
4876 mPlanes[i] = new MediaPlane(buffers[i], rowStrides[i], pixelStrides[i]); in MediaImage()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp1944 jint *rowStrides = env->GetIntArrayElements(rowStridesArray.get(), &isCopy); in android_media_MediaCodec_mapHardwareBuffer() local
1966 rowStrides[i] = plane.rowStride; in android_media_MediaCodec_mapHardwareBuffer()
1973 env->ReleaseIntArrayElements(rowStridesArray.get(), rowStrides, 0); in android_media_MediaCodec_mapHardwareBuffer()
1975 rowStrides = pixelStrides = nullptr; in android_media_MediaCodec_mapHardwareBuffer()