photosgallery/viewframework/tvout/inc/glxactivedecoder.h
branchRCL_3
changeset 13 bcb43dc84c44
parent 0 4e91876724a2
equal deleted inserted replaced
12:ce1c7ad1f18b 13:bcb43dc84c44
    31     {
    31     {
    32 public:
    32 public:
    33     /*
    33     /*
    34      * NewL()
    34      * NewL()
    35      * @Param1 CGlxHdmiSurfaceUpdater
    35      * @Param1 CGlxHdmiSurfaceUpdater
    36      * @param2 framecount
       
    37      */
    36      */
    38     static CGlxHdmiDecoderAO* NewL(CGlxHdmiSurfaceUpdater* aHdmiSurfaceUpdater,
    37     static CGlxHdmiDecoderAO* NewL(CGlxHdmiSurfaceUpdater* aHdmiSurfaceUpdater);
    39             TInt aFrameCount);
       
    40     
    38     
    41     /*
    39     /*
    42      * Destructor
    40      * Destructor
    43      */
    41      */
    44     ~CGlxHdmiDecoderAO();
    42     ~CGlxHdmiDecoderAO();
    45     
    43     
    46     /*
    44     /*
    47      * ConvertImageL() 
    45      * ConvertImageL() 
    48      * This calls the asyncronous service request to ICL convert
    46      * This calls the asyncronous service request to ICL convert
    49      * @param1 - Destination Bitmap
    47      * @param1 - Destination Bitmap
    50      * @param2 - Framecount
    48      * @param2 - Image decoder 
    51      * @param3 - Image decoder 
       
    52      */
    49      */
    53     void ConvertImageL(CFbsBitmap& iBitmap, TInt aFrameNum,CImageDecoder* aDecoder);
    50     void ConvertImageL(CFbsBitmap& iBitmap,CImageDecoder* aDecoder);
    54     
       
    55 //    void SetActive() { CActive::SetActive();};
       
    56     
    51     
    57 protected:
    52 protected:
    58     // from CActive
    53     // from CActive
    59     void RunL();
    54     void RunL();
    60     void DoCancel();
    55     void DoCancel();
       
    56     
    61 private:
    57 private:
    62     /*
    58     /*
    63      * Constructor
    59      * Constructor
    64      */
    60      */
    65     CGlxHdmiDecoderAO(CGlxHdmiSurfaceUpdater* aHdmiSurfaceUpdater,TInt aFrameCount);
    61     CGlxHdmiDecoderAO(CGlxHdmiSurfaceUpdater* aHdmiSurfaceUpdater);
    66 
    62 
    67 private:
    63 private:
    68     CGlxHdmiSurfaceUpdater* iHdmiSurfaceUpdater; // not owned
    64     CGlxHdmiSurfaceUpdater* iHdmiSurfaceUpdater; // not owned
    69     CImageDecoder* iDecoder;
    65     CImageDecoder* iDecoder;
    70     TInt iFrameCount;
       
    71     TInt iDecodeCount;
       
    72     };
    66     };
    73 
    67 
    74 #endif /* GLXACTIVEDECODER_H_ */
    68 #endif /* GLXACTIVEDECODER_H_ */