tizen 2.3.1 release
[framework/multimedia/libmm-player.git] / src / include / mm_player_capture.h
1 /*
2  * libmm-player
3  *
4  * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
5  *
6  * Contact: JongHyuk Choi <jhchoi.choi@samsung.com>, YeJin Cho <cho.yejin@samsung.com>,
7  * Seungbae Shin <seungbae.shin@samsung.com>, YoungHwan An <younghwan_.an@samsung.com>
8  *
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  *
13  * http://www.apache.org/licenses/LICENSE-2.0
14  *
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  *
21  */
22
23 #ifndef __MM_PLAYER_CAPTURE_H__
24 #define __MM_PLAYER_CAPTURE_H__
25
26 /*=======================================================================================
27 | INCLUDE FILES                                                                         |
28 ========================================================================================*/
29 #include <mm_types.h>
30 #include "mm_player_priv.h"
31
32 #ifdef __cplusplus
33         extern "C" {
34 #endif
35
36 /*=======================================================================================
37 | GLOBAL FUNCTION PROTOTYPES                                                            |
38 ========================================================================================*/
39 /**
40  * This function is to initialize video capture
41  *
42  * @param[in]   handle          Handle of player.
43  * @return      This function returns zero on success, or negative value with errors.
44  * @remarks
45  * @see
46  *
47  */
48 int _mmplayer_initialize_video_capture(mm_player_t* player);
49 /**
50  * This function is to release video capture
51  *
52  * @param[in]   handle          Handle of player.
53  * @return      This function returns zero on success, or negative value with errors.
54  * @remarks
55  * @see
56  *
57  */
58 int _mmplayer_release_video_capture(mm_player_t* player);
59 /**
60  * This function is to get video snapshot during playback.
61  *
62  * @param[in]   handle          Handle of player.
63  * @return      This function returns zero on success, or negative value with errors.
64  * @remarks
65  * @see
66  *
67  */
68 int _mmplayer_do_video_capture(MMHandleType hplayer);
69
70 #ifdef __cplusplus
71         }
72 #endif
73
74 #endif
75