

u32 SSP_StartJpegEncoderFast(const void* src, u8 *dst, u32 limit, u8 *wrk, u32 width, u32 height, u32 quality, u32 sampling, u32 option);
| src | Image data to encode (RGB555 or YUV422). Must be 4-byte aligned. |
| dst | Buffer to store the encoding results. Must be 4-byte aligned. |
| limit | Size of dst. Encoding fails if this size is exceeded. |
| wrk | Working buffer. This must be 4-byte aligned. You can use the SSP_GetJpegEncoderFastBufferSize function to calculate the required size. |
| width | Width (in pixels) of the image to encode. |
| height | Height (in pixels) of the image to encode. |
| quality | Encoding quality. Values from 1 to 100 can be specified, where 100 represents the highest quality and the largest size. |
| sampling | Main image output format (SSP_JPEG_OUTPUT_YUV444, SSP_JPEG_OUTPUT_YUV420, or SSP_JPEG_OUTPUT_YUV422). |
| option | Encoding option (SSP_JPEG_RGB555, SSP_JPEG_YUV422, or SSP_JPEG_THUMBNAIL). |
Returns the size of the created JPEG file when successful.
Returns 0 when it fails.
Encodes image data as a JPEG file.
Basic operations are the same as the SSP_StartJpegEncoderLite function, but encoding is faster.
For an explanation of the parts that are in common, see the SSP_StartJpegEncoder page.
SSP_StartJpegEncoder
SSP_StartJpegEncoderLite
SSP_GetJpegEncoderFastBufferSize
2009/06/29 Initial version.
CONFIDENTIAL