mw::qrd::QRDecoder::Initialize
Member Functionbool Initialize( void* ptr, u32 size );
Name | Description | |
---|---|---|
in | ptr | The work buffer to be used for QR Code decoding. This must be 4-byte aligned. You can calculate the required size using the GetDecodeBufferSize function. |
in | size | The size of the work buffer (ptr). Specify the size that the GetDecodeBufferSize function gets. |
true
if initialization has succeeded, or false
if it has failed.
This function is for initializing the library.
Have your application specify the the work buffer that will be used for QR Code decoding.
You can use the GetDecodeBufferSize
function to get the required size of the heap region that will be used, so allocate this ahead of time.
CONFIDENTIAL