merge checked header file
[platform/framework/native/media.git] / inc / FMediaVideoRecorderTypes.h
1 //
2 // Open Service Platform
3 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
4 //
5 // Licensed under the Apache License, Version 2.0 (the License);
6 // you may not use this file except in compliance with the License.
7 // You may obtain a copy of the License at
8 //
9 //     http://www.apache.org/licenses/LICENSE-2.0
10 //
11 // Unless required by applicable law or agreed to in writing, software
12 // distributed under the License is distributed on an "AS IS" BASIS,
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 // See the License for the specific language governing permissions and
15 // limitations under the License.
16 //
17
18 /**
19  * @file                        FMediaVideoRecorderTypes.h
20  * @brief                       This is the header file for the video recording enumerations.
21  *
22  * This header file contains the declarations of the video recording enumerations.
23  */
24
25 #ifndef _FMEDIA_VIDEO_RECORDER_TYPES_H_
26 #define _FMEDIA_VIDEO_RECORDER_TYPES_H_
27
28 #include "FMediaRecorderTypes.h"
29
30 namespace Tizen { namespace Media
31 {
32
33 // 60 sec
34 #define DEFAULT_VIDEORECORDING_TIME 60000
35
36 // 1 Megabytes
37 #define DEFAULT_VIDEORECORDING_SIZE 1024 * 1024
38
39 /**
40  * @if OSPDEPREC
41  * @enum VideoRecordingFormat
42  *
43  * Defines the format of a video recorder.
44  *
45  * @brief <i> [Deprecated]  </i>
46  * @deprecated  This enum is deprecated because new methods do not use this enum. Instead of this enum, use
47  *                              ::MediaContainerType.
48  * @since               2.0
49  *
50  * @see         VideoRecorder::SetFormat()
51  * @see         VideoRecorder::GetFormat()
52  * @endif
53  */
54 enum VideoRecordingFormat
55 {
56         VIDEORECORDING_FORMAT_DEFAULT,                  /**< @if OSPDEPREC The default format @endif */
57         VIDEORECORDING_FORMAT_MP4,                      /**< @if OSPDEPREC The MP4 format @endif */
58         VIDEORECORDING_FORMAT_3GP,                      /**< @if OSPDEPREC The 3GP format @endif */
59 };
60
61 /**
62  * @if OSPDEPREC
63  * @enum VideoRecorderMode
64  *
65  * Defines the mode of a video recorder.
66  *
67  * @brief <i> [Deprecated]  </i>
68  * @deprecated  This enum is deprecated because new methods do not use this enum. For video only recording, instead of using this enum, use
69  *                              ::CODEC_NONE.
70  * @since               2.0
71  *
72  * @see         VideoRecorder::SetMode()
73  * @see         VideoRecorder::GetMode()
74  * @endif
75  */
76 enum VideoRecorderMode
77 {
78         VIDEORECORDER_MODE_VIDEO_WITH_AUDIO,                /**< The video with audio mode*/
79         VIDEORECORDER_MODE_VIDEO_ONLY,                      /**< The video only mode*/
80 };
81
82 }}
83
84 #endif