CAMERA_WidthHeightToSize

Syntax

#include <twl/camera.h>

CAMERASize CAMERA_WidthHeightToSize( u16 width, u16 height )

Arguments

width Width (in pixels)
height Height (in pixels)

Return Values

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

Description

Returns the CAMERASize type resolution that corresponds to the width and height specified as arguments.

Revision History

2007/11/13 Initial version.


CONFIDENTIAL