CAMERA_WidthToSize

Syntax

#include <twl/camera.h>

CAMERASize CAMERA_WidthToSize( u16 width )

Arguments

width Width (in pixels)

Return Values

Returns the camera resolution that corresponds to the specified width. Returns CAMERA_SIZE_MAX if there is no corresponding resolution.

Description

Returns the CAMERASize type resolution that corresponds to the width specified as an argument.

Revision History

2007/11/13 Initial version.


CONFIDENTIAL