# SSP_GetJpegEncoderFastBufferSize

## Syntax

    u32 SSP_GetJpegEncoderFastBufferSize(u32 option);

## Arguments

option | Encoding option (`SSP_JPEG_RGB555`, `SSP_JPEG_YUV422`, or `SSP_JPEG_THUMBNAIL`).

## Return Values

Returns the buffer size required to encode.

## Description

Gets the working buffer size required when encoding with the `SSP_StartJpegEncoderFast` function. Give this function the same arguments as the `SSP_StartJpegEncoderFast` function.

## See Also

`SSP_StartJpegEncoderFast`

## Revision History

2009/06/29 Initial version.

CONFIDENTIAL