nn::jpeg::CTR NamespaceThe CTR JPEG namespace.
(This can also be written without the ::CTR portion.)
Decodable JPEG and MP Data Formats
The nn::jpeg::JpegMpDecoder class can only decode JPEG data in baseline JPEG compression format.
The same applies to MP data formats.
In particular, decoding the following JPEG and MP formats will fail.
Exif information. When the data contains multiple APP1 segments, all APP1segments are ignored, except for the first one.nn::jpeg::JpegMpEncoder class, even if it is in baseline JPEG compression format.
nn::jpeg::CTR::JpegMpDecoder
|
This class performs JPEG decoding. |
|---|---|
nn::jpeg::CTR::JpegMpEncoder
|
This class performs JPEG encoding. |
nn::jpeg::CTR::MpIndex
|
Structure holding the MP Index IFD in a format easily processed by the library. The MP Index IFD is included in the data stored in MP format. |
|---|---|
nn::jpeg::CTR::MpEntry
|
Structure holding an MP entry in a format easily processed by the library. MP entries are included in the data stored in MP format. |
nn::jpeg::CTR::Rational
|
RATIONAL (unsigned rational number) data type, used for members of the MP Attribute IFD and GPS IFD. |
nn::jpeg::CTR::Srational
|
SRATIONAL (signed rational number) data type, used for members of the MP Attribute IFD and GPS IFD. |
nn::jpeg::CTR::MpAttribute
|
Structure holding the MP Attribute IFD in a format easily processed by the library. The MP Attribute IFD is included in the data stored in MP format. |
nn::jpeg::CTR::MpRegionsToBuildJpegData
|
Structure holding the region information (pointer and byte count) for rebuilding the JPEG data. |
| nn::jpeg::CTR::GpsData | This structure maintains GPS IFD in a format easily processed by the library. |
PixelSampling
|
Enumerated type indicating the output format when encoding. | |
|---|---|---|
PixelFormat
|
Enumerated type indicating the pixel format. | |
MpTypeFlag
|
Flag(s) included in the MP type information. | |
MpTypeDataFormat
|
Data format included in the MP type information. | |
MpTypeCode
|
Type code included in the MP type information. | |
| EncoderErrorCode | Gives the reason why the encoding just performed failed. | |
| DecoderErrorCode | Gives the reason why the decoding or other operation just performed failed. | |
| EncoderOption | Options used when encoding. | |
| DecoderOption | Options used when decoding. |
DATE_TIME_SIZE
|
Number of bytes in the buffer that stores date and time information. This constant is a string with the format "YYYY:MM:DD HH:MM:DD" terminated with 0x00, for a total of 20 characters. |
|
|---|---|---|
IMAGE_UID_SIZE
|
Number of bytes in the JPEG's unique image ID. This also represents the number of bytes in one element of the MP format's unique ID list for individual images. | |
| MPF_VERSION_SIZE | The number of bytes of the MP format version. | |
MP_ENTRY_SIZE
|
This constant represents the number of bytes in one element of an MP-format MP entry. This is not the number of bytes in the MpEntry structure. |
|
| GPS_VERSION_ID_SIZE | The number of bytes of the GPS tag version. | |
| GPS_DATE_STAMP_SIZE | The number of bytes in the GPS date stamp. | |
MIN_DECODER_SHRINK_LEVEL
|
Minimum value that can be specified for the shrink level when shrink decoding. | |
MAX_DECODER_SHRINK_LEVEL
|
Maximum value that can be specified for the shrink level when shrink decoding. | |
TWL_PHOTO_MAKER_NOTE_SIZE
|
The number of bytes in a MakerNote for the Nintendo DSi Camera application. | |
MAX_DECODER_OUTPUT_BUFFER_WIDTH
|
Maximum value (number of pixels) that can be specified for the output image buffer width when decoding. | |
MAX_ENCODER_INPUT_BUFFER_WIDTH
|
Maximum value (number of pixels) that can be specified for the input image buffer width when encoding. | |
DEFAULT_THUMBNAIL_PIXEL_SAMPLING
|
Default thumbnail output format. | |
DEFAULT_THUMBNAIL_WIDTH
|
Default thumbnail image width, in pixels. | |
DEFAULT_THUMBNAIL_HEIGHT
|
Default thumbnail image height, in pixels. |
CONFIDENTIAL