Searched refs:rowStrides (Results 1 – 2 of 2) sorted by relevance
5302 @NonNull ByteBuffer[] buffers, int[] rowStrides, int[] pixelStrides, in MediaImage() argument5305 if (buffers.length != rowStrides.length || buffers.length != pixelStrides.length) { in MediaImage()5319 mPlanes[i] = new MediaPlane(buffers[i], rowStrides[i], pixelStrides[i]); in MediaImage()
2097 jint *rowStrides = env->GetIntArrayElements(rowStridesArray.get(), &isCopy); in android_media_MediaCodec_mapHardwareBuffer() local2119 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()