imgIEncoder
| IID: | ba3a854b-fb8d-4881-8af9-5849df10e5e5 |
| Inherits From: | nsIInputStream |
ImgIEncoder interface
This interface is implemented by the following components:
Constants
| PRUint32 | INPUT_FORMAT_RGB | = 0 |
| PRUint32 | INPUT_FORMAT_RGBA | = 1 |
| PRUint32 | INPUT_FORMAT_HOSTARGB | = 2 |
Methods
void addImageFrame ( arrayof PRUint8 data , PRUint32 length , PRUint32 width , PRUint32 height , PRUint32 stride , PRUint32 frameFormat , AString frameOptions )
void endImageEncode ( )
void initFromData ( arrayof PRUint8 data , PRUint32 length , PRUint32 width , PRUint32 height , PRUint32 stride , PRUint32 inputFormat , AString outputOptions )
void startImageEncode ( PRUint32 width , PRUint32 height , PRUint32 inputFormat , AString outputOptions )
void addImageFrame ( arrayof PRUint8 data , PRUint32 length , PRUint32 width , PRUint32 height , PRUint32 stride , PRUint32 frameFormat , AString frameOptions )
- Arguments:
- data
- length
- width
- height
- stride
- frameFormat
- frameOptions
void initFromData ( arrayof PRUint8 data , PRUint32 length , PRUint32 width , PRUint32 height , PRUint32 stride , PRUint32 inputFormat , AString outputOptions )
- Arguments:
- data
- length
- width
- height
- stride
- inputFormat
- outputOptions
void startImageEncode ( PRUint32 width , PRUint32 height , PRUint32 inputFormat , AString outputOptions )
- Arguments:
- width
- height
- inputFormat
- outputOptions
Reference documentation is generated from Mozilla's source.
