camerauis/cameraapp/generic/inc/cameracontroller/camimagedecoder.h
branchRCL_3
changeset 10 8c55c525d5d7
parent 0 1ddebce53859
child 13 38fb6f7eacd5
equal deleted inserted replaced
9:792dfc98fb3b 10:8c55c525d5d7
    46     * Notify observer that the image decoding has finished.
    46     * Notify observer that the image decoding has finished.
    47     * @param aStatus Status code describing the success of the operation.
    47     * @param aStatus Status code describing the success of the operation.
    48     *        KErrNone if all went as planned.
    48     *        KErrNone if all went as planned.
    49     * @param aBitmap Decoded bitmap. NULL if errors in decoding.
    49     * @param aBitmap Decoded bitmap. NULL if errors in decoding.
    50     */
    50     */
    51     virtual void ImageDecoded( TInt aStatus, const CFbsBitmap* aBitmap ) = 0;
    51     virtual void ImageDecoded( TInt aStatus, const CFbsBitmap* aBitmap, const CFbsBitmap* aMask ) = 0;
    52 
    52 
    53   };
    53   };
    54   
    54   
    55 
    55 
    56 /**
    56 /**
    98 
    98 
    99   // -------------------------------------------------------
    99   // -------------------------------------------------------
   100   public:
   100   public:
   101 
   101 
   102     void StartConversionL( CCamBufferShare* aBuffer );
   102     void StartConversionL( CCamBufferShare* aBuffer );
       
   103     
       
   104     void StartIconConversionL( TDesC* aFilePath );
   103 
   105 
   104   private:
   106   private:
   105 
   107 
   106     /**
   108     /**
   107     * Store the buffer and release any previous buffer.
   109     * Store the buffer and release any previous buffer.
   156 
   158 
   157     CCamBufferShare* iSharedImageData;
   159     CCamBufferShare* iSharedImageData;
   158     HBufC8*          iThumbnailData;
   160     HBufC8*          iThumbnailData;
   159 
   161 
   160     CFbsBitmap*    iDecodedBitmap;
   162     CFbsBitmap*    iDecodedBitmap;
       
   163     CFbsBitmap*    iDecodedMask;
   161     CImageDecoder* iDecoder;    
   164     CImageDecoder* iDecoder;    
   162     
   165     
   163     TInt           iRetryCounter;
   166     TInt           iRetryCounter;
   164 
   167 
   165   // =======================================================
   168   // =======================================================