Guiliani  Version 2.5 revision 7293 (documentation build 13)
GUIVideoData.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 GUIVIDEODATA__H_
11#define GUIVIDEODATA__H_
12
13#include "eC_Types.h"
14
16
23{
24public:
27
30
34 void SetWidth(const eC_UInt& uiWidth);
35
39 void SetHeight(const eC_UInt& uiHeight);
40
44 void SetBytesPerPixel(const eC_UByte& ubBPP);
45
50 void SetData(eC_UByte *pubData);
51
55 void SetDataLength(const eC_UInt& uiLength);
56
60 void SetNumberOfFrames(const eC_UInt& uiNumberOfFrames);
61
65 void SetMicroSecondsPerFrame(const eC_UInt& uiMicroSecondsPerFrame);
66
72 void SetFrameOffset(const eC_UInt& uiIndex, const eC_UInt& uiOffset, const eC_UInt& uiSize);
73
77 void SetCurrentFrame(const eC_UInt& uiFrame);
78
83 void SetDeleteDataOnDestruction(const eC_Bool bDeleteDataOnDestruction);
84
86 eC_UInt GetWidth() const;
87
89 eC_UInt GetHeight() const;
90
92 eC_UByte* GetData() const;
93
95 eC_UByte GetBytePerPixel() const;
96
99
104 eC_UInt GetFrameSize() const;
105
109 eC_UInt GetDataLength() const;
110
114 eC_UInt GetNumberOfFrames() const;
115
119 eC_UInt GetMicroSecondsPerFrame() const;
120
124 eC_UInt GetCurrentFrame() const;
125
130 void GetFrameData(eC_UInt& Offset, eC_UInt& Size) const;
131
134
141
142private:
143 struct Frames_t
144 {
145 eC_UInt Offset;
146 eC_UInt Size;
147 };
148
149private:
154 CGUIVideoData(const CGUIVideoData& kSource);
155
156 eC_UInt m_uiWidth;
157 eC_UInt m_uiHeight;
158 eC_UByte m_ubBPP;
159
160 eC_UInt m_uiDataLength;
161 eC_UInt m_uiNumberOfFrames;
162 eC_UInt m_uiMicroSecondsPerFrame;
163
164 eC_UInt m_uiCurrentFrame;
165 Frames_t* m_pkFrameOffsets;
166
167 eC_UByte* m_pubData;
168 eC_Bool m_bDeleteData;
169};
170
171#endif
Contains information about a video loaded by CGUIVideoDecoder.
Definition: GUIVideoData.h:23
void DeleteData()
eC_UInt GetFrameSize() const
void SetFrameOffset(const eC_UInt &uiIndex, const eC_UInt &uiOffset, const eC_UInt &uiSize)
eC_UByte * GetData() const
void GetFrameData(eC_UInt &Offset, eC_UInt &Size) const
eC_UInt GetHeight() const
void SetDataLength(const eC_UInt &uiLength)
void SetHeight(const eC_UInt &uiHeight)
void SetMicroSecondsPerFrame(const eC_UInt &uiMicroSecondsPerFrame)
void SetBytesPerPixel(const eC_UByte &ubBPP)
CGUIVideoData & operator=(const CGUIVideoData &kSource)
eC_UInt GetWidth() const
void SetWidth(const eC_UInt &uiWidth)
eC_UInt GetDataLength() const
eC_Bool GetDeleteDataOnDestruction() const
eC_UInt GetMicroSecondsPerFrame() const
void SetNumberOfFrames(const eC_UInt &uiNumberOfFrames)
eC_UInt GetNumberOfFrames() const
eC_UByte GetBytePerPixel() const
eC_UInt GetCurrentFrame() const
void SetCurrentFrame(const eC_UInt &uiFrame)
void SetData(eC_UByte *pubData)
void SetDeleteDataOnDestruction(const eC_Bool bDeleteDataOnDestruction)