CAMERAPhotoMode

Definition

#include <twl/camera.h>


typedef enum
{
    CAMERA_PHOTO_MODE_NORMAL,
    CAMERA_PHOTO_MODE_PORTRAIT,
    CAMERA_PHOTO_MODE_LANDSCAPE,
    CAMERA_PHOTO_MODE_NIGHTVIEW,
    CAMERA_PHOTO_MODE_LETTER,

    CAMERA_PHOTO_MODE_MAX
}
CAMERAPhotoMode;

Elements

CAMERA_PHOTO_MODE_NORMAL Unadjusted camera setting mode.
CAMERA_PHOTO_MODE_PORTRAIT Portrait mode.
CAMERA_PHOTO_MODE_LANDSCAPE Landscape mode.
CAMERA_PHOTO_MODE_NIGHTVIEW Night view mode.
CAMERA_PHOTO_MODE_LETTER Text mode.

Description

This is an enumerated type that is used to specify the camera's photo mode. To use a night snap mode, which is not included in this list, set CAMERA_PHOTO_MODE_LANDSCAPE and then CAMERA_FRAME_RATE_15_TO_2.

Note: The photo mode adjusts the gamma correction and gain, but it also overwrites the sharpness, exposure, and white balance settings. The following values will be set.
NORMAL PORTRAIT LANDSCAPE NIGHTVIEW LETTER
Sharpness 0 -2 +1 -1 +2
Exposure 0 0 0 +2 +2
WhiteBalance NORMAL NORMAL DAYLIGHT NORMAL NORMAL

Revision History

2008/03/17 Changed CAMERA_PHOTO_MODE_PLAIN to CAMERA_PHOTO_MODE_NORMAL, removed CAMERA_PHOTO_MODE_FSE, and added descriptions.
2008/03/13 Added CAMERA_PHOTO_MODE_PLAIN.
2007/11/12 Initial version.


CONFIDENTIAL