# NV21Utils

open class NV21Utils

Created by pedro on 31/10/18.

## Constructors

NV21Utils
Link copied to clipboard
constructor()

## Functions

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