Data Structure Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
214
12.11
RLAD::Frame Class Reference
#include <ut_class_rlad.h>
Data Structures
struct Pixel
Public Member Functions
Frame (unsigned _width, unsigned _height)
Pixel & Read ()
void ResetRead ()
void Write (const Pixel &pix)
void ResetWrite ()
Pixel GetPixel (unsigned x, unsigned y) const
12.11.1 Detailed Description
The class Frame is used to store the uncompressed image
12.11.2 Constructor & Destructor Documentation
12.11.2.1 Frame ( unsigned _width, unsigned _height ) [inline]
Constructor
Parameters
in
_width
Frame width
in
_height
Frame height
12.11.3 Member Function Documentation
12.11.3.1 Pixel GetPixel ( unsigned x, unsigned y ) const [inline]
Get Pixel at position x, y
Parameters
in
x
X position
in
y
Y position
Return values
Pixel
12.11.3.2 Pixel& Read ( ) [inline]
Return values
return
Read and return one pixel
12.11.3.3 void ResetRead ( ) [inline]
Reset read operation for frame start
12.11.3.4 void ResetWrite ( ) [inline]
Reset write operation for frame start