#include <twl/camera.h>
#define CAMERA_GET_LINE_BYTES(width) ((width) << 1)
Calculates the number of bytes to transfer with a single line. For both the RGB5:5:5 and YUV4:2:2 formats, each pixel of camera output data uses two bytes. As a result, the number of bytes per line is the width of the line multiplied by 2. The width of the camera size set by a CAMERA_I2CSize*
function is specified as the argument value.
CAMERA_SetTransferLines, CAMERA_I2CSize*
2007/10/12 Initial version.
CONFIDENTIAL