Guiliani  Version 2.6 revision 7293 (documentation build 12)
GUIImageDecoder.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 GUIIMAGEDECODER__H_
11#define GUIIMAGEDECODER__H_
12
13#include "eC_Types.h"
14#include "eC_File.h"
15#include "eC_TList_doubleLinked.h"
16#include "eC_String.h"
17#include "GUIImageData.h"
18
19
21
25{
26public:
29
38 virtual eC_Bool LoadImg(CGUIImageData& rkImageData, eC_File* pkImageFile) = 0;
39
44
45protected:
47
52 {
54 eC_Bool bSupported;
55 };
56
57protected:
60
72 const eC_UInt& uiInputColor,
73 const CGUICommonEnums::ImageType_t& eInputFormat,
74 const CGUICommonEnums::ImageType_t& eOutputFormat,
75 eC_UByte* pubData,
76 eC_UInt& uiDataIndex,
77 const eC_UByte& ubAdvance,
78 const eC_UInt& uiCount = 1);
79
80protected:
83};
84
85#endif
ImageType_t
Definition: GUICommonEnums.h:80
Contains information about an image loaded by CGUIImageLoader.
Definition: GUIImageData.h:29
Base class for the image decoders.
Definition: GUIImageDecoder.h:25
eC_TListDoubleLinked< eC_String > & GetSupportedFileExtensions()
virtual ~CGUIImageDecoder()
eC_TListDoubleLinked< eC_String > m_kSupportedFileExtensions
list of supported file-extensions
Definition: GUIImageDecoder.h:82
virtual eC_Bool LoadImg(CGUIImageData &rkImageData, eC_File *pkImageFile)=0
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)
SupportedImageTypes_t m_kSupportedImageTypes[cuiNumOfImageTypes]
Array of supported image types.
Definition: GUIImageDecoder.h:81
Struct which holds the information about the supported image formats of the decoder.
Definition: GUIImageDecoder.h:52
eC_Bool bSupported
True if supported.
Definition: GUIImageDecoder.h:54
CGUICommonEnums::ImageType_t eImgType
Image type.
Definition: GUIImageDecoder.h:53