4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
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>
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_ES_H__
24 #define __MM_PLAYER_ES_H__
26 /*=======================================================================================
28 ========================================================================================*/
30 #include "mm_player_priv.h"
37 /*=======================================================================================
38 | GLOBAL FUNCTION PROTOTYPES |
39 ========================================================================================*/
41 int _mmplayer_set_video_info (MMHandleType player, media_format_h format);
43 int _mmplayer_set_audio_info (MMHandleType player, media_format_h format);
45 int _mmplayer_set_subtitle_info (MMHandleType player, MMPlayerSubtitleStreamInfo * info);
47 int _mmplayer_submit_packet (MMHandleType player, media_packet_h packet);
49 int _mmplayer_set_media_stream_buffer_status_cb (MMHandleType player,
50 MMPlayerStreamType type,
51 mm_player_media_stream_buffer_status_callback callback,
54 int _mmplayer_set_media_stream_seek_data_cb (MMHandleType player,
55 MMPlayerStreamType type,
56 mm_player_media_stream_seek_data_callback callback,
59 int _mmplayer_set_media_stream_max_size (MMHandleType hplayer,
60 MMPlayerStreamType type,
63 int _mmplayer_get_media_stream_max_size(MMHandleType hplayer,
64 MMPlayerStreamType type,
67 int _mmplayer_set_media_stream_min_percent(MMHandleType hplayer,
68 MMPlayerStreamType type,
71 int _mmplayer_get_media_stream_min_percent(MMHandleType hplayer,
72 MMPlayerStreamType type,