[MM] Remove unused gstreamer port.
[platform/framework/web/chromium-efl.git] / tizen_src / chromium_impl / media / base / efl / media_player_util_efl.h
1 // Copyright 2014 Samsung Electronics Inc. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef MEDIA_BASE_EFL_MEDIA_PLAYER_UTIL_EFL_H_
6 #define MEDIA_BASE_EFL_MEDIA_PLAYER_UTIL_EFL_H_
7
8 #include "base/basictypes.h"
9 #include "media/base/media_export.h"
10 #include "url/gurl.h"
11
12 namespace media {
13
14 typedef enum {
15   MEDIA_SEEK_NONE,  // No seek
16   MEDIA_SEEK_DEMUXER,  // Demuxer seeking
17   MEDIA_SEEK_DEMUXER_DONE,  // Demuxer seek done
18   MEDIA_SEEK_PLAYER,  // Player is seeking
19 } MediaSeekState;
20
21 double ConvertNanoSecondsToSeconds(int64 time);
22 double ConvertMilliSecondsToSeconds(int time);
23 double ConvertSecondsToMilliSeconds(double time);
24
25 // Removes query string from URI.
26 MEDIA_EXPORT GURL GetCleanURL(std::string url);
27
28 #if defined(OS_TIZEN_MOBILE)
29 void WakeUpDisplayAndAcquireDisplayLock();
30 void ReleaseDisplayLock();
31 #endif
32
33 }  // namespace media
34
35 #endif  // MEDIA_BASE_EFL_MEDIA_PLAYER_UTIL_EFL_H_