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.
5 #ifndef MEDIA_BASE_EFL_MEDIA_PLAYER_UTIL_EFL_H_
6 #define MEDIA_BASE_EFL_MEDIA_PLAYER_UTIL_EFL_H_
8 #include "base/basictypes.h"
9 #include "media/base/media_export.h"
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
21 double ConvertNanoSecondsToSeconds(int64 time);
22 double ConvertMilliSecondsToSeconds(int time);
23 double ConvertSecondsToMilliSeconds(double time);
25 // Removes query string from URI.
26 MEDIA_EXPORT GURL GetCleanURL(std::string url);
28 #if defined(OS_TIZEN_MOBILE)
29 void WakeUpDisplayAndAcquireDisplayLock();
30 void ReleaseDisplayLock();
35 #endif // MEDIA_BASE_EFL_MEDIA_PLAYER_UTIL_EFL_H_