nn::jpeg::CTR::JpegMpDecoder::Initialize Member Function#include <nn/jpeg.h>
bool Initialize(
void * workBuffer,
size_t workBufferSize
);
| Name | Description | |
|---|---|---|
| out | workBuffer | Specifies the work buffer for the decoder object. Must be 4-byte aligned. The buffer size is calculated by GetWorkBufferSize. Each decoder object requires its own work buffer. |
| in | workBufferSize | Specifies the size of the buffer in bytes. Specify the return value of GetWorkBufferSize. |
true on success. Returns false on failure.Initializes the decoder object.
It also initializes the work buffer for the decoder object.
After initializing once, there is no need to initialize again until after finalization. Initializing again causes no problems.
CONFIDENTIAL