imgIEncoder

imgIEncoder interface

Methods

initFromData(data, length, width, height, stride, inputFormat, outputOptions)

startImageEncode(width, height, inputFormat, outputOptions)

addImageFrame(data, length, width, height, stride, frameFormat, frameOptions)

endImageEncode()

getImageBufferUsed()

getImageBuffer()

Constants

INPUT_FORMAT_RGB

INPUT_FORMAT_RGBA

INPUT_FORMAT_HOSTARGB