nn::jpeg::CTR::JpegMpEncoder Class

Header file: nn/jpeg.h

Syntax

class JpegMpEncoder : private ADLFireWall::NonCopyable

Description

This class performs JPEG encoding.

Member Functions

S GetWorkBufferSize Calculates the number of bytes in the work buffer for the encoder object.
S GetDateTimeNow Gets the current date and time and creates a string that can be used as the argument value in a call to SetDateTime.
JpegMpEncoder Constructs an encoder object.
Initialize Initializes the encoder object.
SetThumbnailSize Specifies the thumbnail image size and output format.
SetInputBufferWidth Sets the width of the input image buffer.
SetDateTime Registers the date and time the photo was taken for embedding in the JPEG file.
SetSoftware Registers the software name to embed in the Exif IFD of a JPEG file.
SetUserMakerNote Registers various pieces of data to embed in the MakerNote part of a JPEG file.
SetImageUid Registers the unique image ID to embed in the Exif IFD of a JPEG file.
SetOrientation Registers the image orientation to embed in the Exif IFD of a JPEG file.
ClearOrientation Specifies not to embed the image orientation in the JPEG Exif IFD. (Default behavior.)
StartJpegEncoder Runs the JPEG encoder.
StartMpEncoderLR Runs the JPEG encoder on two images and stores the results in Extended MP format (for stereoscopic display).
SetMpTypeFlags Registers values to embed in the MP entry: the various flags for the individual image type management data and the dependent image entry number.
SetMpIndividualNum Registers the individual image number to embed in the MP Attribute IFD.
ClearMpIndividualNum Resets the individual image number to embed in the MP Attribute IFD to the default value.
SetMpPanOrientation Registers the image placement to embed in the MP Attribute IFD.
ClearMpPanOrientation Instructs not to embed image placement in the MP Attribute IFD. (Default behavior.)
SetMpPanOverlapH Registers the horizontal overlap to embed in the MP Attribute IFD.
ClearMpPanOverlapH Instructs not to embed horizontal overlap in the MP Attribute IFD. (Default behavior.)
SetMpPanOverlapV Registers the vertical overlap to embed in the MP Attribute IFD.
ClearMpPanOverlapV Instructs not to embed vertical overlap in the MP Attribute IFD. (Default behavior.)
SetMpBaseViewpointNum Registers the base viewpoint number to embed in the MP Attribute IFD.
ClearMpBaseViewpointNum Resets the base viewpoint number to embed in the MP Attribute IFD to the default value.
SetMpConvergenceAngle Registers the convergence angle to embed in the MP Attribute IFD.
ClearMpConvergenceAngle Resets the convergence angle to embed in the MP Attribute IFD to the default value.
SetMpBaselineLength Registers the baseline length to embed in the MP Attribute IFD.
ClearMpBaselineLength Resets the baseline length to embed in the MP Attribute IFD to the default value.
SetMpVerticalDivergence Registers the vertical divergence to embed in the MP Attribute IFD.
ClearMpVerticalDivergence Instructs not to embed divergence from the horizontal (vertical divergence) in the MP Attribute IFD. (Default behavior.)
SetMpAxisDistanceX Registers the horizontal (X-axis) distance to embed in the MP Attribute IFD.
ClearMpAxisDistanceX Instructs not to embed horizontal (X-axis) distance in the MP Attribute IFD. (Default behavior.)
SetMpAxisDistanceY Registers the vertical (Y-axis) distance to embed in the MP Attribute IFD.
ClearMpAxisDistanceY Instructs not to embed the vertical distance (Y) in the MP Attribute IFD. (Default behavior.)
SetMpAxisDistanceZ Registers the line-of-sight (Z-axis) distance to embed in the MP Attribute IFD.
ClearMpAxisDistanceZ Instructs not to embed the line-of-sight (Z-axis) distance in the MP Attribute IFD. (Default behavior.)
SetMpYawAngle Registers the yaw angle to embed in the MP Attribute IFD.
ClearMpYawAngle Instructs not to embed the yaw angle in the MP Attribute IFD. (Default behavior.)
SetMpPitchAngle Registers the pitch angle to embed in the MP Attribute IFD.
ClearMpPitchAngle Instructs not to embed the pitch angle in the MP Attribute IFD. (Default behavior.)
SetMpRollAngle Registers the roll angle to embed in the MP Attribute IFD.
ClearMpRollAngle Instructs not to embed the roll angle in the MP Attribute IFD. (Default behavior.)
StartMpEncoderFirst JPEG-encodes an image and stores it as the starting image in MP format.
StartMpEncoderNext JPEG-encodes an image and appends it to the encoded results from the immediately previous call to either StartMpEncoderFirst or this function.
GetMpRegionsToBuildJpegData Gets the memory region information for reconstructing JPEG data from the encoded results of the immediately previous call to the StartMpEncoderFirst, StartMpEncoderNext, or StartMpEncoderLR function.
GetLastError Gets the reason for failure of the previous call to the StartMpEncoderFirst, StartMpEncoderNext, or StartMpEncoderLR functions.
Finalize Finalizes the encoder object.
~JpegMpEncoder Destructor. Calls Finalize.

Class Hierarchy

ADLFireWall::NonCopyable
  nn::jpeg::CTR::JpegMpEncoder

Revision History

2010/04/14
Initial version.

CONFIDENTIAL