I420ToNV12

open fun I420ToNV12(srcY: ByteBuffer, srcStrideY: Int, srcU: ByteBuffer, srcStrideU: Int, srcV: ByteBuffer, srcStrideV: Int, dst: ByteBuffer, dstWidth: Int, dstHeight: Int, dstStrideY: Int, dstSliceHeightY: Int)

Copy I420 Buffer to a contiguously allocated buffer.

Parameters

dstStrideY

the stride of output buffers' Y plane.

dstSliceHeightY

the slice-height of output buffer's Y plane.


open fun I420ToNV12(srcY: ByteBuffer, srcStrideY: Int, srcU: ByteBuffer, srcStrideU: Int, srcV: ByteBuffer, srcStrideV: Int, dst: ByteBuffer, dstWidth: Int, dstHeight: Int)

Helper method for copying I420 to tightly packed NV12 destination buffer.


open fun I420ToNV12(srcY: ByteBuffer, srcStrideY: Int, srcU: ByteBuffer, srcStrideU: Int, srcV: ByteBuffer, srcStrideV: Int, dstY: ByteBuffer, dstStrideY: Int, dstUV: ByteBuffer, dstStrideUV: Int, width: Int, height: Int)