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 _VIDEO_TYPE_DEFINE_
21 #define _VIDEO_TYPE_DEFINE_
27 VIDEO_ROTATE_UNKNOWN = 0,
28 VIDEO_ROTATE_PORTRAIT_NORMAL,
29 VIDEO_ROTATE_PORTRAIT_REVERSE,
30 VIDEO_ROTATE_LANDSCAPE_NORMAL,
31 VIDEO_ROTATE_LANDSCAPE_REVERSE,
36 MP_HTTP_STREAMING = 0,
42 MP_DISPLAY_METHOD_LETTER_BOX = 0,
47 MP_SOUND_PATH_SPEAKER = 0,
48 MP_SOUND_PATH_EARJACK,
49 MP_SOUND_PATH_BLUETOOTH,
55 MP_PLAYER_ERROR_NONE = 0, // Successful
56 MP_PLAYER_ERROR_OUT_OF_MEMORY, // Out of memory
57 MP_PLAYER_ERROR_INVALID_PARAMETER, // Invalid parameter
58 MP_PLAYER_ERROR_NO_SUCH_FILE, // No such file or directory
59 MP_PLAYER_ERROR_INVALID_OPERATION, // Invalid operation
60 MP_PLAYER_ERROR_SEEK_FAILED, // Seek operation failure
61 MP_PLAYER_ERROR_INVALID_STATE, // Invalid state
62 MP_PLAYER_ERROR_NOT_SUPPORTED_FILE, // Not supported file format
63 MP_PLAYER_ERROR_INVALID_URI, // Invalid URI
64 MP_PLAYER_ERROR_SOUND_POLICY, // Sound policy error
65 MP_PLAYER_ERROR_CONNECTION_FAILED, // Streaming connection failed
66 MP_PLAYER_ERROR_UNKNOWN_ERROR, // unknown error.
71 MP_PLAYER_INTERRUPTED_COMPLETED = 0, // Interrupt completed
72 MP_PLAYER_INTERRUPTED_BY_OTHER_APP, // Interrupted by another application
73 MP_PLAYER_INTERRUPTED_BY_CALL, // Interrupted by incoming call
74 MP_PLAYER_INTERRUPTED_BY_EARJACK_UNPLUG, // Interrupted by unplugging headphone
75 MP_PLAYER_INTERRUPTED_BY_RESOURCE_CONFLICT, // Interrupted by resource conflict
76 MP_PLAYER_INTERRUPTED_BY_ALARM, // Interrupted by alarm
77 }MpPlayerInterrupteType;
82 MP_PLAYER_STATE_WAIT_FOR_RESUME = -3,
83 MP_PLAYER_STATE_WAIT_FOR_PLAY = -2,
84 MP_PLAYER_STATE_WAIT_FOR_RESPONSE = -1,
85 MP_PLAYER_STATE_CLEAR = 0,
87 MP_PLAYER_STATE_PAUSE,
88 MP_PLAYER_STATE_RESUME,
90 MP_PLAYER_STATE_PAUSE_BEFORE_PLAY,
97 MP_PLAYING_SPEED_NORMAL = 1,
98 MP_PLAYING_SPEED_2X = 2,
99 MP_PLAYING_SPEED_3X = 3,
100 MP_PLAYING_SPEED_4X = 4,
101 MP_PLAYING_SPEED_5X = 5,
102 MP_PLAYING_SPEED_MAX = MP_PLAYING_SPEED_5X,
103 }MpVideoPlayingSpeedType;
108 MP_NETWORK_CLOSE = 0,
116 MP_NETWORK_TYPE_OFF = 0,
117 MP_NETWORK_TYPE_CELLULAR,
118 MP_NETWORK_TYPE_WIFI,
125 MP_NETWORK_WIFI_OFF = 0,
126 MP_NETWORK_WIFI_NOT_CONNECTED,
127 MP_NETWORK_WIFI_CONNECTED,
134 MP_NETWORK_CELLULAR_ON = 0,
135 MP_NETWORK_CELLULAR_3G_OPTION_OFF,
136 MP_NETWORK_CELLULAR_ROAMING_OFF,
137 MP_NETWORK_CELLULAR_FLIGHT_MODE,
138 MP_NETWORK_CELLULAR_NO_SERVICE,
139 MP_NETWORK_CELLULAR_MAX,
140 }MpNetworkCellularState;
145 MP_FILE_STREAM_TYPE_NOTHING = 0,
146 MP_FILE_STREAM_TYPE_VIDEO_AUDIO,
147 MP_FILE_STREAM_TYPE_AUDIO,
148 MP_FILE_STREAM_TYPE_VIDEO,
149 MP_FILE_STREAM_TYPE_MAX,
150 }MpVideoFileStreamType;
155 MP_OPTION_TYPE_LOCAL = 0,
156 MP_OPTION_TYPE_MYFILE,
157 MP_OPTION_TYPE_EMAIL,
159 MP_OPTION_TYPE_MESSAGE,
160 MP_OPTION_TYPE_ALLSHARE,
165 #endif //_VIDEO_TYPE_DEFINE_