| class CImageEncoderPlugin : public CBase |
The plugin API for Image Converter Library encoder plugins.
Intended for use by plugin writers only.
| Public Member Functions | |
|---|---|
| ~CImageEncoderPlugin() | |
| IMPORT_C void | GetExtensionL(TUid, MImageConvExtension *&) |
| Private Member Functions | |
|---|---|
| IMPORT_C void | ReservedVirtual1() |
| IMPORT_C void | ReservedVirtual2() |
| IMPORT_C void | ReservedVirtual3() |
| IMPORT_C void | SetThumbnail(TBool) |
| TBool | ValidProperties() |
| IMPORT_C void | WriteExifDataL(TRequestStatus *&) |
| IMPORT_C void | WriteThumbnailL() |
| Private Attributes | |
|---|---|
| CImageEncoderPriv * | iProperties |
| IMPORT_C const TSize & | FrameInfoOverallSizeInPixels | ( | ) | const [protected] |
| IMPORT_C void | GetExtensionL | ( | TUid | aExtUid, |
| MImageConvExtension *& | aExtPtr | |||
| ) | [virtual] | |||
Called by the framework to obtain a pointer to a codec implemented extension.
icl_uids.hrh .
| TUid aExtUid | Extension UID normally prefixed KUidImageConv. |
| MImageConvExtension *& aExtPtr |
| IMPORT_C void | HandleCustomSyncL | ( | TInt | aParam | ) | [protected, virtual] |
| TInt aParam |
| IMPORT_C void | HandleProcessFrameResult | ( | TInt | aErrCode, |
| TFrameState | aCodecState | |||
| ) | [protected] | |||
| TInt aErrCode | |
| TFrameState aCodecState |
| IMPORT_C void | InitCustomAsyncL | ( | TInt | aParam | ) | [protected, virtual] |
| TInt aParam |
| void | PrepareEncoderL | ( | const CFrameImageData * | aFrameImageData | ) | [protected, pure virtual] |
Allocates the specific codec used for the encoding and passes ownership to the plugin.
This is a pure virtual function that each individual plugin must implement.
An error code indicating if the function call was successful. KErrNone on success, otherwise another of the system-wide error codes.
| const CFrameImageData * aFrameImageData | The parameters which can be passed on to the encoding algorithm. This data might be used to determine the exact codec created. |
| IMPORT_C void | SetImageWriteCodec | ( | CImageWriteCodec * | aImageWriteCodec | ) | const [protected] |
| CImageWriteCodec * aImageWriteCodec |
| IMPORT_C void | SetThumbnail | ( | TBool | aDoGenerateThumbnail | ) | [private, virtual] |
| TBool aDoGenerateThumbnail |
| void | UpdateHeaderL | ( | ) | [protected, pure virtual] |
May be used to fill in additional fields at the end of the encoding process, which it may not have been possible to do earlier.
This is a pure virtual function that each individual plugin must implement.
| IMPORT_C void | WriteDataL | ( | TInt | aPosition, |
| const TDesC8 & | aDes | |||
| ) | [protected] | |||
| IMPORT_C void | WriteDataPositionIncL | ( | TInt | aPosition, |
| const TDesC8 & | aDes | |||
| ) | [protected] | |||
| IMPORT_C void | WriteExifDataL | ( | TRequestStatus *& | aScaleCompletionStatus | ) | [private, virtual] |
Originally only used by the jpeg codec, but now in use as a generic pre-convert async step
| TRequestStatus *& aScaleCompletionStatus |