tvout/inc/glxactivedecoder.h
changeset 24 99ad1390cd33
parent 23 74c9f037fd5d
equal deleted inserted replaced
23:74c9f037fd5d 24:99ad1390cd33
    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);
       
    51     
    54 protected:
    52 protected:
    55     // from CActive
    53     // from CActive
    56     void RunL();
    54     void RunL();
    57     void DoCancel();
    55     void DoCancel();
       
    56     
    58 private:
    57 private:
    59     /*
    58     /*
    60      * Constructor
    59      * Constructor
    61      */
    60      */
    62     CGlxHdmiDecoderAO(CGlxHdmiSurfaceUpdater* aHdmiSurfaceUpdater,TInt aFrameCount);
    61     CGlxHdmiDecoderAO(CGlxHdmiSurfaceUpdater* aHdmiSurfaceUpdater);
    63 
    62 
    64 private:
    63 private:
    65     CGlxHdmiSurfaceUpdater* iHdmiSurfaceUpdater; // not owned
    64     CGlxHdmiSurfaceUpdater* iHdmiSurfaceUpdater; // not owned
    66     CImageDecoder* iDecoder;
    65     CImageDecoder* iDecoder;
    67     TInt iFrameCount;
       
    68     TInt iDecodeCount;
       
    69     };
    66     };
    70 
    67 
    71 #endif /* GLXACTIVEDECODER_H_ */
    68 #endif /* GLXACTIVEDECODER_H_ */