mw::qrd::QRDecoder::Initialize Member Function

Syntax

bool Initialize(
    void* ptr,
    u32 size
);

Arguments

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.

Return Values

Returns true if initialization has succeeded, or false if it has failed.

Description

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.

Revision History

2010/05/31
Initial version.

CONFIDENTIAL