#include <twl/camera.h>
u32 CAMERA_GetBytesAtOnce(u16 width);
width | Width (in pixels) |
Returns the one-time transfer size to specify to a CAMERA_DmaRecv*
function for receiving data from the camera buffer.
This function is used to calculate the one-time transfer size to specify to a CAMERA_DmaRecv*
function for receiving data from the camera buffer. If the CAMERA_SetTrimmingParams
function is called to set the width, that width is specified as an argument. Otherwise, the width set by a CAMERA_I2CSize*
function is specified as an argument, as described in the function reference for CAMERA_DmaRecv*
. Although the transfer size may be calculated using the method described in the function reference for CAMERA_DmaRecv*
, we recommend using this function unless there is a particular reason to do otherwise.
CAMERA_DmaRecv*, CAMERA_SetTrimmingParams, CAMERA_I2CSize*
2008/01/15 Initial version.
CONFIDENTIAL