Public Member Functions | Public Attributes

imgIEncoder Interface Reference

imgIEncoder interface More...

import "imgIEncoder.idl";

Inheritance diagram for imgIEncoder:
Collaboration diagram for imgIEncoder:

List of all members.

Public Member Functions

void initFromData ([array, size_is(length), const ] in PRUint8 data, in unsigned long length, in PRUint32 width, in PRUint32 height, in PRUint32 stride, in PRUint32 inputFormat, in AString outputOptions)
void startImageEncode (in PRUint32 width, in PRUint32 height, in PRUint32 inputFormat, in AString outputOptions)
void addImageFrame ([array, size_is(length), const ] in PRUint8 data, in unsigned long length, in PRUint32 width, in PRUint32 height, in PRUint32 stride, in PRUint32 frameFormat, in AString frameOptions)
void endImageEncode ()

Public Attributes

const PRUint32 INPUT_FORMAT_RGB = 0
const PRUint32 INPUT_FORMAT_RGBA = 1
const PRUint32 INPUT_FORMAT_HOSTARGB = 2

Detailed Description

imgIEncoder interface


Member Function Documentation

void imgIEncoder::addImageFrame ( [array, size_is(length), const ] in PRUint8  data,
in unsigned long  length,
in PRUint32  width,
in PRUint32  height,
in PRUint32  stride,
in PRUint32  frameFormat,
in AString  frameOptions 
)
void imgIEncoder::endImageEncode (  ) 
void imgIEncoder::initFromData ( [array, size_is(length), const ] in PRUint8  data,
in unsigned long  length,
in PRUint32  width,
in PRUint32  height,
in PRUint32  stride,
in PRUint32  inputFormat,
in AString  outputOptions 
)
void imgIEncoder::startImageEncode ( in PRUint32  width,
in PRUint32  height,
in PRUint32  inputFormat,
in AString  outputOptions 
)

Member Data Documentation

const PRUint32 imgIEncoder::INPUT_FORMAT_RGB = 0
const PRUint32 imgIEncoder::INPUT_FORMAT_RGBA = 1

The documentation for this interface was generated from the following file: