CAMERASelect

Definition

#include <twl/camera.h>


typedef enum
{
    CAMERA_SELECT_NONE = 0,
    CAMERA_SELECT_IN   = (1<<0),
    CAMERA_SELECT_OUT  = (1<<1),
    CAMERA_SELECT_BOTH = (CAMERA_SELECT_IN|CAMERA_SELECT_OUT)
} CAMERASelect;

Elements

CAMERA_SELECT_NONE Do not specify a camera.
CAMERA_SELECT_IN Specify the inner camera.
CAMERA_SELECT_OUT Specify the outer camera.
CAMERA_SELECT_BOTH Specify both the inner and outer cameras.

Description

Enumerated type that specifies the camera. Note that for some functions, you cannot specify CAMERA_SELECT_NONE or CAMERA_SELECT_BOTH.

The only functions that can specify CAMERA_SELECT_NONE are the CAMERA_I2CActivate* functions.
The functions that can specify CAMERA_SELECT_BOTH are the following functions: CAMERA_I2CSize*, CAMERA_I2CFrameRate*, CAMERA_I2CEffect*, CAMERA_I2CFlip*, CAMERA_I2CPhotoMode*, CAMERA_I2CWhiteBalance*, CAMERA_I2CExposure*, CAMERA_I2CSharpness*, CAMERA_I2CAutoExposure*, and CAMERA_I2CAutoWhiteBalance*.

Revision History

2008/10/30 Added mention of functions that can specify CAMERA_SELECT_NONE and CAMERA_SELECT_BOTH.
2007/11/09 Initial version.


CONFIDENTIAL