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 _CameraDisplayOrientationType
\r
39 //Defines the camera's display orientation type
40 enum _CameraDisplayOrientationType
\r
42 _CAMERA_DISPLAY_NONE,
\r
43 _CAMERA_DISPLAY_PORTRAIT,
\r
44 _CAMERA_DISPLAY_LANDSCAPE,
\r
45 _CAMERA_DISPLAY_REVERSE_PORTRAIT,
\r
46 _CAMERA_DISPLAY_REVERSE_LANDSCAPE,
\r
50 // @enum _CameraMode
\r
51 // Defines the camera's mode
61 // @enum _CameraDeviceType
\r
62 // Defines the camera's device type
64 enum _CameraDeviceType
\r
66 _CAMERA_DEVICE_NONE, /**< The device none */
\r
67 _CAMERA_DEVICE_PRIMARY, /**< The primary camera */
\r
68 _CAMERA_DEVICE_SECONDARY, /**< The secondary camera */
\r
69 _CAMERA_DEVICE_MAX /**< The max boundary */
\r
73 // @enum _ResolutionType
\r
74 // This represents the resolutoin type for the capability.
76 enum _ResolutionType
\r