mw::qrd::QRDecoder::GetDecodeBufferSize Member Function

Syntax

static u32 GetDecodeBufferSize(
    u16 width,
    u16 height
);

Arguments

Name Description
in width Width (in dots) of the image to decode.
in height Height (in dots) of the image to decode.

Return Values

Returns the size of buffer needed for decoding. If the image size is not supported, the process returns 0.

Description

Gets the required size for the work buffer that will be specified by the Initialize function.
For the arguments given to this function, specify values that are larger than the width and height of the image to be decoded by the ExecuteDecode function.

The maximum values that can be set for these two parameters are 640 for width and 480 for height (i.e., VGA size).

Revision History

2010/06/17
Corrected the text.
2010/05/31
Initial version.

CONFIDENTIAL