CAMERASize

Definition

#include <twl/camera.h>


typedef enum
{
    CAMERA_SIZE_VGA,
    CAMERA_SIZE_QVGA,
    CAMERA_SIZE_QQVGA,
    CAMERA_SIZE_CIF,
    CAMERA_SIZE_QCIF,
    CAMERA_SIZE_DS_LCD,
    CAMERA_SIZE_DS_LCDx4,

    CAMERA_SIZE_MAX
}
CAMERASize;

Elements

CAMERA_SIZE_VGA Indicates a size of 640x480.
CAMERA_SIZE_QVGA Indicates a size of 320x240.
CAMERA_SIZE_QQVGA Indicates a size of 160x120.
CAMERA_SIZE_CIF Indicates a size of 352x288.
CAMERA_SIZE_QCIF Indicates a size of 176x144.
CAMERA_SIZE_DS_LCD Indicates a size of 256x192.
CAMERA_SIZE_DS_LCDx4 Indicates a size of 512x384.

Description

This is an enumerated type that is used to specify the camera's resolution.


Both CAMERA_SIZE_CIF and CAMERA_SIZE_QCIF have an aspect ratio of 11:9; other types have an aspect ratio of 4:3. When comparing CIF and QCIF images with images captured at a 4:3 aspect ratio, therefore, the right and left edges appear as if they are cut off.

Revision History

2008/09/12 Added an explanation about aspect ratio differences.
2007/11/12 Initial version.


CONFIDENTIAL