JPEG Codec Middleware (TMCCJPEG) API Function List

Library Functions

JPEG encoding functions

TMCCJPEGEncEncode Takes texture image data as input, JPEG-encodes it, and outputs compressed data.
TMCCJPEGEncGetQFactor Gets the actual output size and the image quality factor that is used to compress the input texture image data to the specified target size.
TMCCJPEGEncGetOutputSize Gets the actual output size when the input texture image data was compressed by the specified image quality factor.

JPEG decoding functions

TMCCJPEGDecDecode Takes JPEG data as input, expands it, and outputs texture data.
TMCCJPEGDecDecodeEX Takes JPEG data as input, expands it, and outputs texture data. It is possible to specify the region of compressed image data.
TMCCJPEGDecGetSize Gets the number of valid pixels in the JPEG input data.
TMCCJPEGDecGetSizeEX Gets the number of valid pixels in the JPEG input data.
TMCCJPEGDecGetExif Gets the Exif information within the JPEG input data.


TMCCJPEGGetVer Gets the version of this middleware.

Variable Types and Structures

TMCCJPEGJpegSize JPEG size information parameters.
TMCCJPEGExifInfo Exif information parameters.
TMCCJPEGExifIFD0Info Information related to the Exif data main image.
TMCCJPEGExifIFD1Info Information about the Exif data thumbnail image.
Error Codes The error codes returned by this middleware.
Memory Size The memory size used by this middleware.













































CONFIDENTIAL