diff --git a/multimedia/camera_framework/camera.h b/multimedia/camera_framework/camera.h index 5e32272de8224dc06daee1d5598c4e975ee05f3c..8151505d68db53ee3355ccdaee71a2fdb639b86f 100644 --- a/multimedia/camera_framework/camera.h +++ b/multimedia/camera_framework/camera.h @@ -226,6 +226,34 @@ typedef enum Camera_Connection { CAMERA_CONNECTION_REMOTE = 2 } Camera_Connection; +/** + * @brief Enum for the image rotation angles. + * + * @since 11 + * @version 1.0 + */ +typedef enum Camera_Orientation { + /** + * The camera orientation 0 degrees. + */ + CAMERA_ORIENTATION_0 = 0, + + /** + * The camera orientation 90 degrees. + */ + CAMERA_ORIENTATION_90 = 90, + + /** + * The camera orientation 180 degrees. + */ + CAMERA_ORIENTATION_180 = 180, + + /** + * The camera orientation 270 degrees. + */ + CAMERA_ORIENTATION_270 = 270 +} Camera_Orientation; + /** * @brief Enum for camera format type. * @@ -599,6 +627,8 @@ typedef struct Camera_Device { * Camera connection type attribute. */ Camera_Connection connectionType; + + Camera_Orientation cameraOrientation; } Camera_Device; /**