YV12Utils

open class YV12Utils

Created by pedro on 31/10/18.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun preAllocateBuffers(length: Int)
Link copied to clipboard
open fun rotate180(data: Array<Byte>, imageWidth: Int, imageHeight: Int): Array<Byte>
Link copied to clipboard
open fun rotate270(data: Array<Byte>, imageWidth: Int, imageHeight: Int): Array<Byte>
Link copied to clipboard
open fun rotate90(data: Array<Byte>, imageWidth: Int, imageHeight: Int): Array<Byte>
Link copied to clipboard
open fun toI420(input: Array<Byte>, width: Int, height: Int): Array<Byte>
Link copied to clipboard
open fun toNV12(input: Array<Byte>, width: Int, height: Int): Array<Byte>
Link copied to clipboard
open fun toNV21(input: Array<Byte>, width: Int, height: Int): Array<Byte>