2 * To apply the Flora License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives.
4 * Copyright [2012] [JongDong Lee <jongdong.lee@samsung.com>, ChangSun Lee <cs78.lee@samsung.com>]
6 * Licensed under the Flora License, Version 1.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://www.tizenopensource.org/license
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 #ifndef _MP_VIDEO_CTRL_MGR_H_
21 #define _MP_VIDEO_CTRL_MGR_H_
24 bool MpVideoCtrlMgrMediaCreate(char *szMediaURI, void *pOverlayXid, void *pUserData);
25 void MpVideoCtrlMgrMediaDestroy(void* pUserData);
26 bool MpVideoCtrlMgrMediaPlay(void* pUserData);
27 void MpVideoCtrlMgrMediaStop(void* pUserData);
28 void MpVideoCtrlMgrMediaPause(void* pUserData);
29 void MpVideoCtrlMgrMediaResume(void* pUserData);
30 void MpVideoCtrlMgrSetPlayerCallback(void *PlayerCompletedCb, void *PlayerInterruptedCb, void *PlayerErrorCb, void *PlayerBufferingCb, void *pUserData);
31 void MpVideoCtrlMgrSetOverlayXid(void* pXid);
32 void MpVideoCtrlMgrSetPosition(int nSetPosition, void *pSeekCb, void *pUserData);
34 int MpVideoCtrlMgrGetPosition(void);
35 int MpVideoCtrlMgrGetDuration(void);
36 void MpVideoCtrlMgrResetPlaySpeed(void* pUserData);
37 void MpVideoCtrlMgrSetPlaySpeedUp(void* pUserData);
38 void MpVideoCtrlMgrSetPlaySpeedDown(void* pUserData);
39 int MpVideoCtrlMgrGetVideoWidthResolution(void);
40 int MpVideoCtrlMgrGetVideoHeightResolution(void);
41 void MpVideoCtrlMgrSetRatioVideoScreen(void* pUserData, int nRatioScreenSize);
42 void MpVideoCtrlMgrRotateVideoScreen(int nVideoRotateValue);
43 void MpVideoCtrlMgrSetMute(bool bMuteEnable);
44 bool MpVideoCtrlMgrGetMuteState(void);
45 int MpVideoCtrlMgrGetBufferingPosition(void);
46 bool MpVideoCtrlMgrIsExistPlayerHandle(void);
47 bool MpVideoCtrlMgrIsOnlyAudio(void);
48 bool MpVideoCtrlMgrSetScaling(bool bScale);
49 int MpVideoCtrlMgrGetErrorType(int nErrorVal);
50 void MpVideoCtrlMgrSetMute(bool bState);
51 bool MpVideoCtrlMgrMediaRealize(void);
52 bool MpVideoCtrlMgrMediaRealizeAsync(void *pReailzeCb, void *pUserData);