CAMERA_GET_MAX_LINES

# CAMERA_GET_LINE_BYTES

## Definition

  `#include <twl/camera.h>`
  `#define CAMERA_GET_LINE_BYTES(width) ((width) << 1)`

## Description

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.

## See Also

`CAMERA_SetTransferLines, CAMERA_I2CSize*`

## Revision History

2007/10/12 Initial version.

CONFIDENTIAL