Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DMediaCodec.java5302 @NonNull ByteBuffer[] buffers, int[] rowStrides, int[] pixelStrides, in MediaImage() argument
5305 if (buffers.length != rowStrides.length || buffers.length != pixelStrides.length) { in MediaImage()
5319 mPlanes[i] = new MediaPlane(buffers[i], rowStrides[i], pixelStrides[i]); in MediaImage()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp2097 jint *rowStrides = env->GetIntArrayElements(rowStridesArray.get(), &isCopy); in android_media_MediaCodec_mapHardwareBuffer() local
2119 rowStrides[i] = plane.rowStride; in android_media_MediaCodec_mapHardwareBuffer()
2126 env->ReleaseIntArrayElements(rowStridesArray.get(), rowStrides, 0); in android_media_MediaCodec_mapHardwareBuffer()
2128 rowStrides = pixelStrides = nullptr; in android_media_MediaCodec_mapHardwareBuffer()