2 // Open Service Platform
\r
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
\r
5 // Licensed under the Apache License, Version 2.0 (the License);
\r
6 // you may not use this file except in compliance with the License.
\r
7 // You may obtain a copy of the License at
\r
9 // http://www.apache.org/licenses/LICENSE-2.0
\r
11 // Unless required by applicable law or agreed to in writing, software
\r
12 // distributed under the License is distributed on an "AS IS" BASIS,
\r
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 // See the License for the specific language governing permissions and
\r
15 // limitations under the License.
\r
19 * @file FMedia_CameraTypes.h
20 * @brief This header file contains the types of the camcorder.
24 #ifndef _FMEDIA_INTERNAL_CAMERA_TYPES_H_
25 #define _FMEDIA_INTERNAL_CAMERA_TYPES_H_
29 namespace Tizen { namespace Media
32 typedef camera_h _CameraHandle;
\r
34 #define MM_INVALID_HANDLE 0
35 #define MEDIA_INVALID_VALUE -1
38 // @enum _CameraSceneMode
\r
39 // Defines the camera scen mode
40 enum _CameraSceneMode
\r
44 CAMERA_SCENE_PORTRAIT,
45 CAMERA_SCENE_LANDSCAPE,
47 CAMERA_SCENE_PARTY_INDOOR,
48 CAMERA_SCENE_BEACH_SHOW,
50 CAMERA_SCENE_DUSK_DAWN,
51 CAMERA_SCENE_FALLCOLOR,
52 CAMERA_SCENE_NIGHTSHOT,
53 CAMERA_SCENE_FIREWORK,
55 CAMERA_SCENE_SHOW_WINDOW,
56 CAMERA_SCENE_CANDLELIGHT,
57 CAMERA_SCENE_BACKLIGHT
60 //@enum _CameraDisplayOrientationType
\r
61 //Defines the camera's display orientation type
62 enum _CameraDisplayOrientationType
\r
64 _CAMERA_DISPLAY_NONE,
\r
65 _CAMERA_DISPLAY_PORTRAIT,
\r
66 _CAMERA_DISPLAY_LANDSCAPE,
\r
67 _CAMERA_DISPLAY_REVERSE_PORTRAIT,
\r
68 _CAMERA_DISPLAY_REVERSE_LANDSCAPE,
\r
72 // @enum _CameraMode
\r
73 // Defines the camera's mode
83 // @enum _CameraDeviceType
\r
84 // Defines the camera's device type
86 enum _CameraDeviceType
\r
88 _CAMERA_DEVICE_NONE, /**< The device none */
\r
89 _CAMERA_DEVICE_PRIMARY, /**< The primary camera */
\r
90 _CAMERA_DEVICE_SECONDARY, /**< The secondary camera */
\r
91 _CAMERA_DEVICE_MAX /**< The max boundary */
\r
95 // @enum _ResolutionType
\r
96 // This represents the resolutoin type for the capability.
98 enum _ResolutionType
\r