4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
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>
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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.
23 #ifndef __MM_PLAYER_CAPTURE_H__
24 #define __MM_PLAYER_CAPTURE_H__
26 /*=======================================================================================
28 ========================================================================================*/
30 #include "mm_player_priv.h"
36 /*=======================================================================================
37 | GLOBAL FUNCTION PROTOTYPES |
38 ========================================================================================*/
40 * This function is to initialize video capture
42 * @param[in] handle Handle of player.
43 * @return This function returns zero on success, or negative value with errors.
48 int _mmplayer_initialize_video_capture(mm_player_t* player);
50 * This function is to release video capture
52 * @param[in] handle Handle of player.
53 * @return This function returns zero on success, or negative value with errors.
58 int _mmplayer_release_video_capture(mm_player_t* player);
60 * This function is to get video snapshot during playback.
62 * @param[in] handle Handle of player.
63 * @return This function returns zero on success, or negative value with errors.
68 int _mmplayer_do_video_capture(MMHandleType hplayer);