| class CExtJpegDecoder : public CJPEGImageFrameDecoder |
| Private Member Functions | |
|---|---|
| CExtJpegDecoder () | |
| TUid | GetUidByVersionRangeL ( TInt , TInt ) |
| Public Member Enumerations | |
|---|---|
| enum |
TDecoderCapability
{
ECapNone = 0x0000, ECapCropping = 0x0001, ECapStreaming = 0x0002, ECapRotation = 0x0004, ECapFlipping = 0x0008, ECapMirroring = 0x0010, ECapDctDecoding = 0x0020, ECapExifData = 0x0040 } |
| enum |
TDecoderOperations
{
EEnd = 0x00010000, ESupportedFormats = 0x00020000, ECapabilities = 0x00040000, EReadyForAsync = 0x00080000, EConvert = 0x00100000, EContinueConvert = 0x00200000 } |
| enum | TDecoderType { ESwImplementation = 0, EHwImplementation } |
| Inherited Enumerations | |
|---|---|
| CImageDecoder:TImageType | |
| CImageDecoder:TOptions | |
| Private Attributes | |
|---|---|
| TBool | iIsExtConvert |
| IMPORT_C TInt | CapabilitiesL | ( | ) |
| IMPORT_C void | ContinueConvert | ( | TRequestStatus * | aRequestStatus | ) | [virtual] |
| TRequestStatus * aRequestStatus | The pointer to the status of the operation that is set by the decoder after it is completed. After a complete successful operation, the status is KErrNone. |
| IMPORT_C void | ContinueConvertL | ( | TRequestStatus * | aRequestStatus, |
| const CVisualFrame * | aDestinationFrame, | |||
| TInt & | aNoOfDecodedMBlocks, | |||
| TInt | aFrameNumber = 0 | |||
| ) | ||||
| TRequestStatus * aRequestStatus | The pointer to the status of the operation that is set by the decoder after it is completed. After a complete successful operation, the status is KErrNone. |
| const CVisualFrame * aDestinationFrame | Pointer to the visual frame structure that is keeping the destination image data. The client should do the proper allocation of the destination location. |
| TInt & aNoOfDecodedMBlocks | Reference to the number of decoded macroblocks that is set by the decoder after the decoding is completed. |
| TInt aFrameNumber = 0 | The frame index in the Jpeg image. |
| IMPORT_C void | Convert | ( | TRequestStatus * | aRequestStatus, |
| CFbsBitmap & | aDestination, | |||
| TInt | aFrameNumber = 0 | |||
| ) | [virtual] | |||
| TRequestStatus * aRequestStatus | The pointer to the status of the operation that is set by the decoder after it is completed. After a complete successful operation, the status is KErrNone. |
| CFbsBitmap & aDestination | |
| TInt aFrameNumber = 0 | The frame index in the Jpeg image. |
| IMPORT_C void | Convert | ( | TRequestStatus * | aRequestStatus, |
| CFbsBitmap & | aDestination, | |||
| CFbsBitmap & | aDestinationMask, | |||
| TInt | aFrameNumber = 0 | |||
| ) | [virtual] | |||
| TRequestStatus * aRequestStatus | The pointer to the status of the operation that is set by the decoder after it is completed. After a complete successful operation, the status is KErrNone. |
| CFbsBitmap & aDestination | Bitmap destination |
| CFbsBitmap & aDestinationMask | Bitmap destination mask |
| TInt aFrameNumber = 0 | The frame index in the Jpeg image. |
| IMPORT_C void | ConvertL | ( | TRequestStatus * | aRequestStatus, |
| const CVisualFrame * | aDestinationFrame, | |||
| TInt & | aNoOfDecodedMBlocks, | |||
| TInt | aFrameNumber = 0 | |||
| ) | ||||
| TRequestStatus * aRequestStatus | The pointer to the status of the operation that is set by the decoder after it is completed. After a complete successful operation, the status is KErrNone. |
| const CVisualFrame * aDestinationFrame | Pointer to the visual frame structure that is keeping the destination image data. The client should do the proper allocation of the destination location. |
| TInt & aNoOfDecodedMBlocks | Reference to the number of decoded macroblocks that is set by the decoder after the decoding is completed. |
| TInt aFrameNumber = 0 | The frame index in the Jpeg image. |
| IMPORT_C CExtJpegDecoder * | DataNewL | ( | RFs & | aFs, |
| const TDesC8 & | aSourceData, | |||
| const TDesC8 & | aMIMEType, | |||
| const TOptions | aOptions = EOptionNone | |||
| ) | [static] | |||
| IMPORT_C CExtJpegDecoder * | DataNewL | ( | RFs & | aFs, |
| const TDesC8 & | aSourceData, | |||
| const TOptions | aOptions = EOptionNone, | |||
| const TUid | aImageType = KNullUid, | |||
| const TUid | aImageSubType = KNullUid, | |||
| const TUid | aDecoderUid = KNullUid | |||
| ) | [static] | |||
| RFs & aFs | A reference to a file server session to use. |
| const TDesC8 & aSourceData | The descriptor reference for the Jpeg image data to decode. |
| const TOptions aOptions = EOptionNone | Decoder options defined in ICL. |
| const TUid aImageType = KNullUid | The Jpeg image type. |
| const TUid aImageSubType = KNullUid | The Jpeg image subtype (Null UID). |
| const TUid aDecoderUid = KNullUid | The decoder plugin UID. |
| IMPORT_C CExtJpegDecoder * | DataNewL | ( | RFs & | aFs, |
| const CVisualFrame * | aSourceData, | |||
| const TDesC8 & | aMIMEType, | |||
| const TOptions | aOptions = EOptionNone | |||
| ) | [static] | |||
| RFs & aFs | A reference to a file server session to use. |
| const CVisualFrame * aSourceData | Pointer to the visual frame structure keeping the Jpeg image data to decode. |
| const TDesC8 & aMIMEType | The Jpeg MIME type for matching the decoder plugin. |
| const TOptions aOptions = EOptionNone | Decoder options defined in ICL. |
| IMPORT_C CExtJpegDecoder * | DataNewL | ( | RFs & | aFs, |
| const CVisualFrame * | aSourceData, | |||
| const TOptions | aOptions = EOptionNone, | |||
| const TUid | aImageType = KNullUid, | |||
| const TUid | aImageSubType = KNullUid, | |||
| const TUid | aDecoderUid = KNullUid | |||
| ) | [static] | |||
| RFs & aFs | A reference to a file server session to use. |
| const CVisualFrame * aSourceData | Pointer to the visual frame structure keeping the Jpeg image data to decode. |
| const TOptions aOptions = EOptionNone | Decoder options defined in ICL. |
| const TUid aImageType = KNullUid | The Jpeg image type. |
| const TUid aImageSubType = KNullUid | The Jpeg image subtype (Null UID). |
| const TUid aDecoderUid = KNullUid | The decoder plugin UID. |
| IMPORT_C CExtJpegDecoder * | DataNewL | ( | const TDecoderType | aDecoderType, |
| RFs & | aFs, | |||
| const TDesC8 & | aSourceData, | |||
| const TOptions | aOptions = EOptionNone | |||
| ) | [static] | |||
| const TDecoderType aDecoderType | Decoder implementation type: HW or SW. |
| RFs & aFs | A reference to a file server session to use. |
| const TDesC8 & aSourceData | The descriptor reference for the Jpeg image data to decode. |
| const TOptions aOptions = EOptionNone | Decoder options defined in ICL. |
| IMPORT_C CExtJpegDecoder * | DataNewL | ( | const TDecoderType | aDecoderType, |
| RFs & | aFs, | |||
| const CVisualFrame * | aSourceData, | |||
| const TOptions | aOptions = EOptionNone | |||
| ) | [static] | |||
| const TDecoderType aDecoderType | Decoder implementation type: HW or SW. |
| RFs & aFs | A reference to a file server session to use. |
| const CVisualFrame * aSourceData | Pointer to the visual frame structure keeping the Jpeg image data to decode. |
| const TOptions aOptions = EOptionNone | Decoder options defined in ICL. |
| IMPORT_C CExtJpegDecoder * | FileNewL | ( | RFs & | aFs, |
| const TDesC & | aSourceFilename, | |||
| const TDesC8 & | aMIMEType, | |||
| const TOptions | aOptions = EOptionNone | |||
| ) | [static] | |||
| IMPORT_C CExtJpegDecoder * | FileNewL | ( | RFs & | aFs, |
| const TDesC & | aSourceFilename, | |||
| const TOptions | aOptions = EOptionNone, | |||
| const TUid | aImageType = KNullUid, | |||
| const TUid | aImageSubType = KNullUid, | |||
| const TUid | aDecoderUid = KNullUid | |||
| ) | [static] | |||
| RFs & aFs | A reference to a file server session to use. |
| const TDesC & aSourceFilename | The name of the Jpeg file to decode. |
| const TOptions aOptions = EOptionNone | Decoder options defined in ICL. |
| const TUid aImageType = KNullUid | The Jpeg image type. |
| const TUid aImageSubType = KNullUid | The Jpeg image subtype (Null UID). |
| const TUid aDecoderUid = KNullUid | The decoder plugin UID. |
| IMPORT_C CExtJpegDecoder * | FileNewL | ( | const TDecoderType | aDecoderType, |
| RFs & | aFs, | |||
| const TDesC & | aSourceFilename, | |||
| const TOptions | aOptions = EOptionNone | |||
| ) | [static] | |||
| const TDecoderType aDecoderType | Decoder implementation type: HW or SW. |
| RFs & aFs | A reference to a file server session to use. |
| const TDesC & aSourceFilename | The name of the Jpeg file to decode. |
| const TOptions aOptions = EOptionNone | Decoder options defined in ICL. |
| TUid | GetUidByVersionRangeL | ( | TInt | aMinVersion, |
| TInt | aMaxVersion | |||
| ) | [private, static] | |||
| IMPORT_C void | SetCroppingL | ( | TRect | aCropRect | ) |
| TRect aCropRect | The rectangular cropping region that will be decoded. |
| IMPORT_C void | SetDctDecodingL | ( | ) |
| IMPORT_C void | SetRotationL | ( | TInt | aDegree | ) |
| TInt aDegree | The rotation degree. Can take any values between 1 and 359. |
| IMPORT_C void | SetStreamingL | ( | TSize & | aMacroBlockSize | ) |
| TSize & aMacroBlockSize | The macroblock dimensions in the Jpeg image that is set by the decoder |
| IMPORT_C TInt | SupportedFormatsL | ( | ) |
| ECapNone = 0x0000 | |
| ECapCropping = 0x0001 | |
| ECapStreaming = 0x0002 | |
| ECapRotation = 0x0004 | |
| ECapFlipping = 0x0008 | |
| ECapMirroring = 0x0010 | |
| ECapDctDecoding = 0x0020 | |
| ECapExifData = 0x0040 |
| EEnd = 0x00010000 | |
| ESupportedFormats = 0x00020000 | |
| ECapabilities = 0x00040000 | |
| EReadyForAsync = 0x00080000 | |
| EConvert = 0x00100000 | |
| EContinueConvert = 0x00200000 |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.