Class for handling JPEG memory buffers. More...
#include <mi32/jpegext.h>

Public Member Functions | |
| JPEGEXT_MEM () | |
| virtual | ~JPEGEXT_MEM () |
| ERRVALUE | Close () |
| UINT8 * | Detach () |
| const UINT8 * | GetBuffer () const |
| INT64 | GetBufferSize () const |
| ERRVALUE | Make (UINT8 *&buf, UINT32 bufsize, const MAKEPARMS &parms) |
| ERRVALUE | Make (const MAKEPARMS &parms) |
| ERRVALUE | Open (UINT8 *&buf, UINT32 bufsize) |
Class for handling JPEG memory buffers.
| JPEGEXT_MEM::JPEGEXT_MEM | ( | ) |
| virtual JPEGEXT_MEM::~JPEGEXT_MEM | ( | ) | [virtual] |
| ERRVALUE JPEGEXT_MEM::Close | ( | ) |
| UINT8* JPEGEXT_MEM::Detach | ( | ) |
Get the internal buffer and transfer ownership to caller (i.e. you must free it).
| const UINT8* JPEGEXT_MEM::GetBuffer | ( | ) | const |
Get the internal buffer.
| INT64 JPEGEXT_MEM::GetBufferSize | ( | ) | const |
Get the size of the internal buffer.
Warning - this is the internal buffer size, which is not necessarily the size of the JPEG-compressed data.
Create a JPEG buffer.
The caller does NOT retain ownership of the buffer passed. If the buffer is not sufficiently large to store the entire image, it will be resized.
| ERRVALUE JPEGEXT_MEM::Make | ( | const MAKEPARMS & | parms | ) |
Make a new in-memory JPEG buffer.
1.6.1