[0.3.76] Create display interface library for dlopen and packaging it
[platform/core/api/player.git] / disp / player_display.h
1 /*
2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17 #ifndef __TIZEN_MEDIA_PLAYER_WLCLIENT_H__
18 #define __TIZEN_MEDIA_PLAYER_WLCLIENT_H__
19 #include <tizen.h>
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25 unsigned int disp_set_wl_display(int wl_win_type, void *win);
26 void disp_get_evas_display_geometry_info(void *display, int *x, int *y, int *width, int *height);
27 int disp_evas_display_retrieve_all_packets(MMHandleType evas_handle, bool keep_screen);
28 int disp_get_evas_display_rotation(MMHandleType evas_handle, int *p_rotate);
29 int disp_set_evas_display_rotation(MMHandleType evas_handle, int rotate);
30 int disp_get_evas_display_disp_mode(MMHandleType evas_handle, int *p_mode);
31 int disp_set_evas_display_disp_mode(MMHandleType evas_handle, int mode);
32 int disp_get_evas_display_visible(MMHandleType evas_handle, bool *p_visible);
33 int disp_set_evas_display_visible(MMHandleType evas_handle, bool visible);
34 int disp_set_evas_display_roi_area(MMHandleType evas_handle, int x, int y, int width, int height);
35 int disp_set_evas_display_old_info(void *display, void *evas_handle, int mode, int rotation, int visible);
36 int disp_destroty_evas_display(MMHandleType *evas_handle);
37 int disp_create_evas_display(void *display, MMHandleType *evas_handle);
38 void disp_media_packet_video_decode_cb(media_packet_h packet, void *evas_handle);
39
40 #ifdef __cplusplus
41 }
42 #endif
43 #endif  /* __TIZEN_MEDIA_PLAYER_WLCLIENT_H__ */