nn::jpeg::CTR::JpegMpDecoder::SetOption Member Function#include <nn/jpeg.h>
void SetOption(
u32 option
);
| Name | Description | |
|---|---|---|
| in | option | Specifies the options. Values that can be specified are logical bitwise sums of DecoderOption. Specify JPEG_DECODER_OPTION_NONE (0) to restore default behavior of the decoding function. |
Specifies options for JPEG decoding.
You can change the behavior of decoding functions (StartJpegDecoder 、StartJpegDecoderShrink 、StartMpDecoderLR) by specifying options.
The options are enabled for two primary images when decoding with StartMpDecoderLR.
Call this function before calling the decoding function. The value specified by this function is cleared after the decoding function completes, regardless of whether the decoding function succeeded or failed. When decoding multiple times, you must call this function before each decoding function call. The values specified by this function are cleared if you reinitialize the decoder object using the Initialize function.
If this function is repeatedly read before calling a decoding function, the last specification in enabled.
CONFIDENTIAL