CopyCamFrameBufferToLcdFrameBuffer() function
Copy and convert Camera frame buffer (CameraResX, CameraResY) of format RGB565 to LCD frame buffer area of size (CameraResX, CameraResY) in ARGB8888.
Syntax
static uint8_t CopyCamFrameBufferToLcdFrameBuffer(void *pSrc,
void *pDst,
uint32_t xSize,
uint32_t ySize);
Arguments
pSrc
Pointer to source buffer : Camera frame buffer start here
pDst
Pointer to destination buffer LCD frame buffer area start here
xSize
Buffer width (CameraResX here)
ySize
Buffer height (CameraResY here)
Return value
LCD Status : LCD_OK or LCD_ERROR