Guiliani  Version 2.5 revision 7293 (documentation build 13)
CGUIImageDecoderJPG Class Reference

Loads an image and returns a pointer to a GUIImageData object. More...

#include <GUIImageDecoderJPG.h>

Inheritance diagram for CGUIImageDecoderJPG:

Public Member Functions

 CGUIImageDecoderJPG ()
 Constructor.
 
virtual ~CGUIImageDecoderJPG ()
 Destructor.
 
virtual eC_Bool LoadImg (CGUIImageData &rkImageData, eC_File *pkImageFile)
 
- Public Member Functions inherited from CGUIImageDecoder
virtual ~CGUIImageDecoder ()
 
eC_TListDoubleLinked< eC_String > & GetSupportedFileExtensions ()
 
virtual eC_Bool LoadImg (CGUIImageData &rkImageData, eC_File *pkImageFile)=0
 

Static Public Attributes

static eC_Bool m_bStartOfFile
 true if beginning of file
 
static eC_File * m_pFile
 currently open file
 
static eC_UByte * m_pubBuffer
 processing buffer
 

Additional Inherited Members

- Protected Member Functions inherited from CGUIImageDecoder
 CGUIImageDecoder ()
 
void WriteConvertedColor (const eC_UInt &uiInputColor, const CGUICommonEnums::ImageType_t &eInputFormat, const CGUICommonEnums::ImageType_t &eOutputFormat, eC_UByte *pubData, eC_UInt &uiDataIndex, const eC_UByte &ubAdvance, const eC_UInt &uiCount=1)
 
- Protected Attributes inherited from CGUIImageDecoder
eC_TListDoubleLinked< eC_String > m_kSupportedFileExtensions
 list of supported file-extensions
 
SupportedImageTypes_t m_kSupportedImageTypes [cuiNumOfImageTypes]
 Array of supported image types.
 

Detailed Description

Loads an image and returns a pointer to a GUIImageData object.

Member Function Documentation

◆ LoadImg()

virtual eC_Bool CGUIImageDecoderJPG::LoadImg ( CGUIImageData rkImageData,
eC_File *  pkImageFile 
)
virtual

Attempts to load an image.

Parameters
rkImageData[out] Receives the decoded image data.
pkImageFileThe opened image file (should be a JPEG image).
Returns
true if successfull

Implements CGUIImageDecoder.


The documentation for this class was generated from the following file: