mw::qrd::QRDecoder::ExecuteDecode
Member FunctionResult ExecuteDecode( DecodeData* result, const ImageInfo* img );
Name | Description | |
---|---|---|
out | result | The QR Code pattern's decoding result information. See DecodeData . |
in | img | The information for the image to be decoded. See ImageInfo . |
RESULT_SUCCESS
if successful. Returns an error if the process fails.
Decodes a QR Code. When calling this function, specify the pointer to the ImageInfo
structure that stores the information of the image to be decoded, and the pointer to the DecodeData
structure that you have allocated.
If the decoding process ends normally, the result will be stored in result
.
If you want to decode a succession of images, call the Initialize
function once and then call this function a number of times in succession. If the decoding process fails, the result
structure will be unchanged.
An error will occur if the image information specified by ImageInfo
is of a size that cannot be processed with the size of the work buffer specified by the Initialize
function.
CONFIDENTIAL