Data Structure Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
227
12.22.3.8 bool Decode ( BitStream & bs, Frame & f )
Decode image
Parameters
in
bs
BitStream class containing the compressed data
out
f
Store the uncompressed image
Return values
True
if successful otherwise false
12.22.3.9 bool Encode ( Frame & f, BitStream & bs )
Encode image
Parameters
in
f
Uncompressed image
out
bs
BitStream class storing the compressed data
Return values
True
if successful otherwise false
12.22.3.10 unsigned header_size ( ) const
calc header size
12.22.3.11 unsigned image_size ( ) const [inline]
return uncompressed image size
12.22.3.12 unsigned max_code ( unsigned i ) const [inline]
return max component value