Guiliani  Version 2.5 revision 7293 (documentation build 13)
GUIImageDecoderJPG.h
1/*
2* Copyright (C) TES Electronic Solutions GmbH,
3* All Rights Reserved.
4* Contact: info@guiliani.de
5*
6* This file is part of the Guiliani HMI framework
7* for the development of graphical user interfaces on embedded systems.
8*/
9
10#ifndef GUIIMAGEDECODERJPG__H_
11#define GUIIMAGEDECODERJPG__H_
12
13
14#include "eC_Types.h"
15#include "eC_String.h"
16#include "eC_File.h"
17
18#include "GUIImageDecoder.h"
19
20
21class CGUIImageData;
22struct jpeg_decompress_struct;
23struct jpeg_error_mgr;
24
25
27
29{
30public:
33
36
42 virtual eC_Bool LoadImg(CGUIImageData& rkImageData, eC_File* pkImageFile);
43
44 static eC_File* m_pFile;
45 static eC_UByte* m_pubBuffer;
46 static eC_Bool m_bStartOfFile;
47
48private:
49 jpeg_decompress_struct* m_psInfo;
50 jpeg_error_mgr* m_psJErr;
51};
52#endif
Contains information about an image loaded by CGUIImageLoader.
Definition: GUIImageData.h:29
Base class for the image decoders.
Definition: GUIImageDecoder.h:25
Loads an image and returns a pointer to a GUIImageData object.
Definition: GUIImageDecoderJPG.h:29
static eC_File * m_pFile
currently open file
Definition: GUIImageDecoderJPG.h:44
virtual eC_Bool LoadImg(CGUIImageData &rkImageData, eC_File *pkImageFile)
static eC_Bool m_bStartOfFile
true if beginning of file
Definition: GUIImageDecoderJPG.h:46
virtual ~CGUIImageDecoderJPG()
Destructor.
CGUIImageDecoderJPG()
Constructor.
static eC_UByte * m_pubBuffer
processing buffer
Definition: GUIImageDecoderJPG.h:45