nn::jpeg::CTR::JpegMpDecoder Class

Header file: nn/jpeg.h

Syntax

class JpegMpDecoder : private ADLFireWall::NonCopyable

Description

This class performs JPEG decoding.

Member Functions

Initialization/Termination
S GetWorkBufferSize Calculates the number of bytes in the work buffer for the decoder object.
JpegMpDecoder Constructs a decoder object.
Initialize Initializes the decoder object.
Finalize Finalizes the decoder object.
~JpegMpDecoder Destructor. Calls Finalize.
Settings Prior to Decoding
S GetDstBufferSize Calculates the number of bytes in the buffer where the decoded JPEG results (one image's worth) will be stored.
SetOutputBufferWidth Sets the width of the output image buffer.
SetOption Specifies options for JPEG decoding.
GetOption Gets the specified decoding options.
Decoding and EXIF Data Extraction
StartJpegDecoder Runs the JPEG decoder.
StartJpegDecoderShrink Decodes a JPEG image and outputs it after shrinking.
StartMpDecoderLR Runs the JPEG decoder on a pair of images stored in MP format.
StopDecoder Requests to stop decoding being performed by another thread.
ExtractExif Extracts EXIF information.
GetMpRegionsToBuildJpegData This function gets region information required to rebuild JPEG data from the individual image data stored in MP format.
GetLastError Gets the reason for failure of the previous decoding operation.
Getting Information
GetLastWidth Gets the width of the image that was either decoded or whose EXIF information was extracted immediately previous to this call.
GetLastHeight Gets the height of the image that was either decoded or whose EXIF information was extracted immediately previous to this call.
GetLastOutputBufferWidth Gets the width of the output image buffer where an image was decoded immediately previously.
GetLastOutputBufferHeight Gets the height of the output image buffer where an image was decoded immediately previously.
GetLastDateTime Gets the timestamp (the time of creation) of the image that was either decoded or whose EXIF information was extracted immediately previous to this call.
GetLastSoftwarePointer Gets a string pointer to the program name of the image that was either decoded or whose EXIF information was extracted immediately previous to this call.
GetLastSoftwareLength Gets the number of characters in the program name string of the image that was either decoded or whose EXIF information was extracted immediately previous to this call.
GetLastUserMakerNotePointer Gets a pointer to the CTR application MakerNote of the image that was either decoded or whose EXIF information was extracted immediately previous to this call.
GetLastUserMakerNoteSize Gets the size in bytes of the CTR application MakerNote of the image that was either decoded or whose EXIF information was extracted immediately previous to this call.
GetLastTwlPhotoMakerNote Gets the Nintendo DSi Camera MakerNote of the image that was either decoded or whose EXIF information was extracted immediately previous to this call. ("Nintendo DSi Camera" is the name of a Nintendo DSi built-in application.)
GetLastTwlUserMakerNotePointer Gets a pointer to the Nintendo DSi application MakerNote of the image that was either decoded or whose EXIF information was extracted immediately previous to this call.
GetLastTwlUserMakerNoteSize Gets the size in bytes of the Nintendo DSi application MakerNote of the image that was either decoded or whose EXIF information was extracted immediately previous to this call.
GetLastImageUid Gets the unique ID from the EXIF IFD of the image that was either decoded or whose EXIF information was extracted immediately previous to this call.
GetLastOrientation Gets the image orientation from the EXIF IFD of the image that was either decoded or whose EXIF information was extracted immediately prior to this call.
Getting MP Index IFD Information
S GetMpNumberOfImages Gets the number of saved images, which is included in the MP Index IFD.
S GetMpImageUidListSize Gets the size in bytes of the unique ID list for individual images. This size is included in the MP Index IFD.
S GetMpImageUidListOffset Gets the byte offset from the starting image to the unique ID list for individual images. This offset is included in the MP Index IFD.
S GetMpTotalFrames Gets the total number of frames taken. This number is included in the MP Index IFD.
GetMpIndex Gets the MP Index IFD included in the data stored in MP format.
Getting MP Entry Information
S GetMpEntry Gets an MP entry included in the data stored in MP format.
S GetMpImageType Gets the management data for the individual image type. This data is included in the MP entry.
S GetMpImageSize Gets the size in bytes of the individual image data. This size is included in the MP entry.
S GetMpImageOffset Gets the byte offset from the starting image to the individual image data. This offset is included in the MP entry.
S GetMpDependentImage1EntryNum Gets the entry number for dependent image 1. This number is included in the MP entry.
S GetMpDependentImage2EntryNum Gets the entry number for dependent image 2. This number is included in the MP entry.
Getting IFD Information by MP Attribute
S GetMpIndividualNum Gets the individual image number, which is included in the MP Attribute IFD.
S GetMpPanOrientation Gets the image placement, which is included in the MP Attribute IFD.
S GetMpPanOverlapH Gets the horizontal overlap, which is included in the MP Attribute IFD.
S GetMpPanOverlapV Gets the vertical overlap, which is included in the MP Attribute IFD.
S GetMpBaseViewpointNum Gets the base viewpoint number, which is included in the MP Attribute IFD.
S GetMpConvergenceAngle Gets the convergence angle, which is included in the MP Attribute IFD.
S GetMpBaselineLength Gets the baseline length, which is included in the MP Attribute IFD.
S GetMpVerticalDivergence Gets the vertical divergence, which is included in the MP Attribute IFD.
S GetMpAxisDistanceX Gets the horizontal (X-axis) distance, which is included in the MP Attribute IFD.
S GetMpAxisDistanceY Gets the vertical (Y-axis) distance, which is included in the MP Attribute IFD.
S GetMpAxisDistanceZ Gets the line-of-sight (Z-axis) distance, which is included in the MP Attribute IFD.
S GetMpYawAngle Gets the yaw angle, which is included in the MP Attribute IFD.
S GetMpPitchAngle Gets the pitch angle, which is included in the MP Attribute IFD.
S GetMpRollAngle Gets the roll angle, which is included in the MP Attribute IFD.
GetMpAttribute Gets the MP Attribute IFD, which is included in the individual image data stored in MP format.
Getting GPS IFD Information
S GetGpsVersionId Gets the GPS tag version included in GPS IFD.
S GetGpsLatitudeRef Gets the North (N) or South (S) latitude included in GPS IFD.
S GetGpsLatitude Gets the latitude (numeric value) included in GPS IFD.
S GetGpsLongitudeRef Gets the East (E) or West (W) longitude included in GPS IFD.
S GetGpsLongitude Gets the latitude (numeric value) included in GPS IFD.
S GetGpsAltitudeRef Gets the altitude reference included in GPS IFD.
S GetGpsAltitude Gets the altitude (numeric value) included in GPS IFD.
S GetGpsTimeStamp Gets the GPS time (atomic clock time) included in GPS IFD.
S GetGpsSatellites Gets the satellite signal used for position location in the GPS IFD.
S GetGpsStatus Gets the GPS receiver status included in GPS IFD.
S GetGpsMeasureMode Gets the GPS position location method included in GPS IFD.
S GetGpsDop Gets the reliability (dilution of precision) of the position included in GPS IFD.
S GetGpsSpeedRef Gets the units for speed included in GPS IFD.
S GetGpsSpeed Gets the speed (numeric value) included in GPS IFD.
S GetGpsTrackRef Gets the unit for the movement direction included in GPS IFD.
S GetGpsTrack Gets the movement direction (numeric value) included in GPS IFD.
S GetGpsImgDirectionRef Gets the orientation of the captured image included in GPS IFD.
S GetGpsImgDirection Gets the orientation of the captured image (numeric value) included in GPS IFD.
S GetGpsMapDatum Gets the map data used for positioning in the GPS IFD.
S GetGpsDestLatitudeRef Gets the North (N) or South (S) latitude of the destination included in GPS IFD.
S GetGpsDestLatitude Gets the latitude (numeric value) of the destination included in GPS IFD.
S GetGpsDestLongitudeRef Gets the East (E) or West (W) latitude of the destination included in GPS IFD.
S GetGpsDestLongitude Gets the longitude (numeric value) of the destination included in GPS IFD.
S GetGpsDestBearingRef Gets the units of the bearing to the destination included in GPS IFD.
S GetGpsDestBearing Gets the destination bearing (numeric value) included in GPS IFD.
S GetGpsDestDistanceRef Gets the units of distance to the destination included in GPS IFD.
S GetGpsDestDistance Gets the distance to the destination (numeric value) included in GPS IFD.
S GetGpsProcessingMethodPointer Gets the name of the position location method included in GPS IFD.
S GetGpsProcessingMethodSize Gets the number of bytes representing the name of the position location method included in GPS IFD.
S GetGpsAreaInformationPointer Gets the name of the located position included in GPS IFD.
S GetGpsAreaInformationSize Gets the number of bytes representing the name of the located position included in GPS IFD.
S GetGpsDateStamp Gets the GPS date stamp (numeric value) included in GPS IFD.
S GetGpsDifferential Gets the GPS differential included in GPS IFD.
GetLastGpsData Gets the GPS ID of the image that was either decoded or whose EXIF information was extracted immediately previous to this call.

Class Hierarchy

ADLFireWall::NonCopyable
  nn::jpeg::CTR::JpegMpDecoder

Revision History

2010/10/21
Added a description of functions used to get GPS information. Organized the descriptions of member functions into separate categories.
2010/04/14
Initial version.

CONFIDENTIAL