

u32 SSP_GetJpegEncoderBufferSize(u32 width, u32 height, u32 sampling, u32 option);
| width | Width (in pixels) of the image to encode. |
| height | Height (in pixels) of the image to encode. |
| sampling | Main image output formats (SSP_JPEG_OUTPUT_YUV444, SSP_JPEG_OUTPUT_YUV420, or SSP_JPEG_OUTPUT_YUV422). |
| option | Encoding options (SSP_JPEG_RGB555, SSP_JPEG_YUV422, or SSP_JPEG_THUMBNAIL). |
Returns the buffer size required to encode.
Gets the size of the work buffer required when encoding is performed by the SSP_StartJpegEncoder function.
Give this function the same arguments as the SSP_StartJpegEncoder function.
2008/09/15 Initial version.
CONFIDENTIAL