Base class for the video-decoders. More...
#include <GUIVideoDecoder.h>
Public Member Functions | |
virtual | ~CGUIVideoDecoder () |
virtual eC_Bool | Decode (CGUIVideoData &kImageData, eC_File *pTmpImgFile)=0 |
virtual void | DecodeFrame (const eC_UByte *const pkData, const eC_UInt &uiLength, eC_UByte *pkDestination)=0 |
virtual void | SetBPP (const eC_UByte &ubBPP)=0 |
virtual void | SetDestinationFormat (const CGUICommonEnums::ImageType_t &eDestinationFormat)=0 |
Protected Member Functions | |
CGUIVideoDecoder () | |
void | SwapEndianess16 (eC_UShort &ubData) |
void | SwapEndianess32 (eC_UInt &uiData) |
Base class for the video-decoders.
All decoder classes must be derived from this class.
|
inlinevirtual |
Virtual destructor.
|
inlineprotected |
Constructor of CGUIImageDecoder, which sets all supported image types to False.
|
pure virtual |
Must be implemented in each derived class to decode an image.
kImageData | The decoded image has to be stored here by each derived implementation. |
pTmpImgFile | Pointer to image file to load. |
Implemented in CGUIVideoDecoderMJPEG.
|
pure virtual |
Decode a single frame
pkData | pointer to data |
uiLength | length of frame |
pkDestination | destination-address |
Implemented in CGUIVideoDecoderMJPEG.
|
pure virtual |
|
pure virtual |
Set destination color-format. This will be used to convert the video data to the appropriate format.
eDestinationFormat |
Implemented in CGUIVideoDecoderMJPEG.
|
inlineprotected |
Swaps 16-bit endianess of the referenced value.
[in,out] | ubData | Given value. |
|
inlineprotected |
Swaps 32-bit endianess of the referenced value.
[in,out] | uiData | Given value. |