
#include <twl/camera.h>CAMERASize CAMERA_WidthHeightToSize( u16 width, u16 height )
| width | Width (in pixels) |
| height | Height (in pixels) |
Returns the camera resolution that corresponds to the specified width and height. Returns CAMERA_SIZE_MAX if there is no corresponding resolution.
Returns the CAMERASize type resolution that corresponds to the width and height specified as arguments.
2007/11/13 Initial version.
CONFIDENTIAL