2 * Copyright 2000 - 2012 Samsung Electronics Co., Ltd All Rights Reserved
4 * This file is part of org.tizen.video-player
5 * Written by JongDong Lee <jongdong.lee@samsung.com>, ChangSun Lee <cs78.lee@samsung.com>
7 * PROPRIETARY/CONFIDENTIAL
9 * This software is the confidential and proprietary information of SAMSUNG ELECTRONICS ("Confidential Information").
10 * You shall not disclose such Confidential Information and shall
11 * use it only in accordance with the terms of the license agreement you entered into with SAMSUNG ELECTRONICS.
12 * SAMSUNG make no representations or warranties about the suitability
13 * of the software, either express or implied, including but not
14 * limited to the implied warranties of merchantability, fitness for a particular purpose, or non-infringement.
15 * SAMSUNG shall not be liable for any damages suffered by licensee as
16 * a result of using, modifying or distributing this software or its derivatives.
22 #ifndef _MP_VIDEO_CTRL_MGR_H_
23 #define _MP_VIDEO_CTRL_MGR_H_
26 bool MpVideoCtrlMgrMediaCreate(char *szMediaURI, void *pMmfPlayerCallback, void *pOverlayXid, char* szSubtitleUri, void *pUserData);
27 void MpVideoCtrlMgrMediaDestroy(void* pUserData);
28 bool MpVideoCtrlMgrMediaPlay(void* pUserData);
29 void MpVideoCtrlMgrMediaStop(void* pUserData);
30 void MpVideoCtrlMgrMediaPause(void* pUserData);
31 void MpVideoCtrlMgrMediaResume(void* pUserData);
32 void MpVideoCtrlMgrSetOverlayXid(void* pXid);
33 void MpVideoCtrlMgrSetPosition(int nSetPosition);
34 int MpVideoCtrlMgrGetPosition(void);
35 int MpVideoCtrlMgrGetDuration(void);
36 void MpVideoCtrlMgrSetROI(void* pUserData, int nOverlayX, int nOverlayY, int nOverlayWidth, int nOverlayHeight);
37 int MpVideoCtrlMgrGetVideoWidthResolution(void);
38 int MpVideoCtrlMgrGetVideoHeightResolution(void);
39 void MpVideoCtrlMgrSetRatioVideoScreen(void* pUserData, int nRatioScreenSize);
40 void MpVideoCtrlMgrSetVerticalOverlayPos(int nOverlayY);
41 void MpVideoCtrlMgrSetMute(bool bMuteEnable);
42 bool MpVideoCtrlMgrGetMuteState(void);
43 int MpVideoCtrlMgrGetBufferingPosition(void);
44 bool MpVideoCtrlMgrIsExistPlayerHandle(void);