NV21Utils

open class NV21Utils

Created by pedro on 31/10/18.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun mirror(input: Array<Byte>, width: Int, height: Int): Array<Byte>
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 rotatePixels(input: Array<Byte>, width: Int, height: Int, rotation: Int): Array<Byte>
Link copied to clipboard
open fun toARGB(yuv: Array<Byte>, width: Int, height: Int): Array<Int>
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 toYV12(input: Array<Byte>, width: Int, height: Int): Array<Byte>