[0.6.184] change mute type
[platform/core/multimedia/libmm-player.git] / src / include / mm_player_es.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>, heechul jeon <heechul.jeon@samsung.co>,
7  * YoungHwan An <younghwan_.an@samsung.com>, Eunhae Choi <eunhae1.choi@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_ES_H__
24 #define __MM_PLAYER_ES_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 {
35 #endif
36
37 /*=======================================================================================
38 | GLOBAL FUNCTION PROTOTYPES                                                            |
39 ========================================================================================*/
40 int _mmplayer_set_video_info(MMHandleType player, media_format_h format);
41
42 int _mmplayer_set_audio_info(MMHandleType player, media_format_h format);
43
44 int _mmplayer_set_subtitle_info(MMHandleType player, mmplayer_subtitle_stream_info_t *info);
45
46 int _mmplayer_submit_packet(MMHandleType player, media_packet_h packet);
47
48 int _mmplayer_set_media_stream_buffer_status_cb(MMHandleType player,
49                                                                                         mmplayer_stream_type_e type,
50                                                                                         mm_player_media_stream_buffer_status_callback callback,
51                                                                                         void *user_param);
52
53 int _mmplayer_set_media_stream_seek_data_cb(MMHandleType player,
54                                                                                         mmplayer_stream_type_e type,
55                                                                                         mm_player_media_stream_seek_data_callback callback,
56                                                                                         void *user_param);
57
58 int _mmplayer_set_media_stream_max_size(MMHandleType hplayer,
59                                                                                         mmplayer_stream_type_e type,
60                                                                                         guint64 max_size);
61
62 int _mmplayer_get_media_stream_max_size(MMHandleType hplayer,
63                                                                                         mmplayer_stream_type_e type,
64                                                                                         guint64 *max_size);
65
66 int _mmplayer_set_media_stream_min_percent(MMHandleType hplayer,
67                                                                                         mmplayer_stream_type_e type,
68                                                                                         guint min_percent);
69
70 int _mmplayer_get_media_stream_min_percent(MMHandleType hplayer,
71                                                                                         mmplayer_stream_type_e type,
72                                                                                         guint *min_percent);
73 int _mmplayer_set_media_stream_dynamic_resolution(MMHandleType hplayer, bool drc);
74
75 #ifdef __cplusplus
76 }
77 #endif
78
79 #endif