I420Buffer
Functions
Link copied to clipboard
Representation of the underlying buffer.
Link copied to clipboard
Returns a direct ByteBuffer containing U-plane data.
Link copied to clipboard
Returns a direct ByteBuffer containing V-plane data.
Link copied to clipboard
Returns a direct ByteBuffer containing Y-plane data.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Inherited functions
Link copied to clipboard
abstract fun cropAndScale(cropX: Int, cropY: Int, cropWidth: Int, cropHeight: Int, scaleWidth: Int, scaleHeight: Int): VideoFrame.Buffer
Crops a region defined by `cropx`, `cropY`, `cropWidth` and `cropHeight`.
Link copied to clipboard
Returns a memory-backed frame in I420 format.