
BOOL DSP_ConvertYuvToRgb(const void* src, void* dst, u32 size);
BOOL DSP_ConvertYuvToRgbAsync(const void* src, void* dst, u32 size, DSP_GraphicsCallback callback);
| src | Buffer that holds YUV422-formatted image data. |
| dst | Buffer that will store the converted data. |
| size | The data size of src. |
| callback | The callback function that will be invoked when processing is complete. |
Returns TRUE when conversion ends normally.
Returns FALSE when conversion did not end normally or the graphics component is already processing something.
Converts image data from the YUV422 format to the RGB555 format. YUV422-formatted image data can be obtained from the camera.
Data is transferred from main memory to the DSP (WRAM-C) using DMA.
When the asynchronous version of this function (*Async) is run, the callback function registered as an argument will be invoked to send a notification that conversion has finished.
DSP_LoadGraphics, DSP_UnloadGraphics, CAMERA_SetOutputFormat
2008/05/22 Initial version.
CONFIDENTIAL