4 * Copyright (c) 2000 - 2013 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: Hyuntae Kim <ht1211.kim@samsung.com>
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
22 #ifndef __MM_STREAMRECORDER_VIDEO_H__
23 #define __MM_STREAMRECORDER_VIDEO_H__
25 /*=======================================================================================
27 ========================================================================================*/
34 /*=======================================================================================
35 | STRUCTURE DEFINITIONS |
36 ========================================================================================*/
38 * StreamRecorder VideoInfo information for video mode
41 int iVideoEncoder; /**< Video Encoder */
42 gboolean b_commiting; /**< Is it commiting now? */
43 guint64 video_frame_count;
44 /**< current video frame */
45 guint64 filesize; /**< current file size */
46 guint64 max_size; /**< max recording size */
47 guint64 max_time; /**< max recording time */
48 } _MMStreamRecorderVideoInfo;
50 /*=======================================================================================
51 | GLOBAL FUNCTION PROTOTYPES |
52 ========================================================================================*/
54 int _mmstreamrecorder_check_videocodec_fileformat_compatibility(unsigned int video_codec, unsigned int file_format);
59 #endif /* __MM_STREAMRECORDER_VIDEO_H__ */