Home
last modified time | relevance | path

Searched refs:MediaPlayer (Results 1 – 25 of 39) sorted by relevance

12

/external/webkit/WebCore/platform/graphics/
DMediaPlayer.cpp61 NullMediaPlayerPrivate(MediaPlayer*) { } in NullMediaPlayerPrivate() argument
91 virtual MediaPlayer::NetworkState networkState() const { return MediaPlayer::Empty; } in networkState()
92 virtual MediaPlayer::ReadyState readyState() const { return MediaPlayer::HaveNothing; } in readyState()
122 static MediaPlayerPrivateInterface* createNullMediaPlayer(MediaPlayer* player) in createNullMediaPlayer()
177 MediaPlayer::SupportsType supported = MediaPlayer::IsNotSupported; in chooseBestEngineForTypeAndCodecs()
181 MediaPlayer::SupportsType engineSupport = engines[ndx]->supportsTypeAndCodecs(type, codecs); in chooseBestEngineForTypeAndCodecs()
193 MediaPlayer::MediaPlayer(MediaPlayerClient* client) in MediaPlayer() function in WebCore::MediaPlayer
217 MediaPlayer::~MediaPlayer() in ~MediaPlayer()
221 void MediaPlayer::load(const String& url, const ContentType& contentType) in load()
263 bool MediaPlayer::canLoadPoster() const in canLoadPoster()
[all …]
DMediaPlayer.h48 class MediaPlayer; variable
61 virtual void mediaPlayerNetworkStateChanged(MediaPlayer*) { } in mediaPlayerNetworkStateChanged() argument
64 virtual void mediaPlayerReadyStateChanged(MediaPlayer*) { } in mediaPlayerReadyStateChanged() argument
67 virtual void mediaPlayerVolumeChanged(MediaPlayer*) { } in mediaPlayerVolumeChanged() argument
70 virtual void mediaPlayerTimeChanged(MediaPlayer*) { } in mediaPlayerTimeChanged() argument
73 virtual void mediaPlayerDurationChanged(MediaPlayer*) { } in mediaPlayerDurationChanged() argument
76 virtual void mediaPlayerRateChanged(MediaPlayer*) { } in mediaPlayerRateChanged() argument
81 virtual void mediaPlayerSawUnsupportedTracks(MediaPlayer*) { } in mediaPlayerSawUnsupportedTracks() argument
85 virtual void mediaPlayerRepaint(MediaPlayer*) { } in mediaPlayerRepaint() argument
88 virtual void mediaPlayerSizeChanged(MediaPlayer*) { } in mediaPlayerSizeChanged() argument
[all …]
DMediaPlayerPrivate.h75 virtual MediaPlayer::NetworkState networkState() const = 0;
76 virtual MediaPlayer::ReadyState readyState() const = 0;
116 virtual MediaPlayer::MovieLoadType movieLoadType() const { return MediaPlayer::Unknown; } in movieLoadType()
/external/webkit/WebCore/platform/graphics/win/
DMediaPlayerPrivateQuickTimeWin.cpp54 MediaPlayerPrivateInterface* MediaPlayerPrivate::create(MediaPlayer* player) in create()
65 MediaPlayerPrivate::MediaPlayerPrivate(MediaPlayer* player) in MediaPlayerPrivate()
70 , m_networkState(MediaPlayer::Empty) in MediaPlayerPrivate()
71 , m_readyState(MediaPlayer::HaveNothing) in MediaPlayerPrivate()
93 m_networkState = MediaPlayer::DecodeError; in load()
98 if (m_networkState != MediaPlayer::Loading) { in load()
99 m_networkState = MediaPlayer::Loading; in load()
102 if (m_readyState != MediaPlayer::HaveNothing) { in load()
103 m_readyState = MediaPlayer::HaveNothing; in load()
199 MediaPlayer::NetworkState state = networkState(); in seekTimerFired()
[all …]
DMediaPlayerPrivateQuickTimeWin.h76 MediaPlayer::NetworkState networkState() const { return m_networkState; } in networkState()
77 MediaPlayer::ReadyState readyState() const { return m_readyState; } in readyState()
96 MediaPlayerPrivate(MediaPlayer*);
111 static MediaPlayerPrivateInterface* create(MediaPlayer*);
113 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs);
116 MediaPlayer* m_player;
121 MediaPlayer::NetworkState m_networkState;
122 MediaPlayer::ReadyState m_readyState;
/external/webkit/WebCore/platform/graphics/gtk/
DMediaPlayerPrivateGStreamer.cpp104 MediaPlayerPrivateInterface* MediaPlayerPrivate::create(MediaPlayer* player) in create()
115 MediaPlayerPrivate::MediaPlayerPrivate(MediaPlayer* player) in MediaPlayerPrivate()
124 , m_networkState(MediaPlayer::Empty) in MediaPlayerPrivate()
125 , m_readyState(MediaPlayer::HaveNothing) in MediaPlayerPrivate()
157 if (m_networkState != MediaPlayer::Loading) { in load()
158 m_networkState = MediaPlayer::Loading; in load()
161 if (m_readyState != MediaPlayer::HaveNothing) { in load()
162 m_readyState = MediaPlayer::HaveNothing; in load()
373 MediaPlayer::NetworkState MediaPlayerPrivate::networkState() const in networkState()
378 MediaPlayer::ReadyState MediaPlayerPrivate::readyState() const in readyState()
[all …]
DMediaPlayerPrivateGStreamer.h80 MediaPlayer::NetworkState networkState() const;
81 MediaPlayer::ReadyState readyState() const;
104 MediaPlayerPrivate(MediaPlayer*);
105 static MediaPlayerPrivateInterface* create(MediaPlayer* player);
108 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs);
120 MediaPlayer* m_player;
128 MediaPlayer::NetworkState m_networkState;
129 MediaPlayer::ReadyState m_readyState;
/external/webkit/WebCore/platform/graphics/qt/
DMediaPlayerPrivatePhonon.cpp80 MediaPlayerPrivate::MediaPlayerPrivate(MediaPlayer* player) in MediaPlayerPrivate()
82 , m_networkState(MediaPlayer::Empty) in MediaPlayerPrivate()
83 , m_readyState(MediaPlayer::HaveNothing) in MediaPlayerPrivate()
116 MediaPlayerPrivateInterface* MediaPlayerPrivate::create(MediaPlayer* player) in create()
149 MediaPlayer::SupportsType MediaPlayerPrivate::supportsType(const String& type, const String& codecs) in supportsType()
153 return MediaPlayer::IsNotSupported; in supportsType()
168 if (m_networkState != MediaPlayer::Loading) { in load()
169 m_networkState = MediaPlayer::Loading; in load()
174 if (m_readyState != MediaPlayer::HaveNothing) { in load()
175 m_readyState = MediaPlayer::HaveNothing; in load()
[all …]
DMediaPlayerPrivatePhonon.h104 MediaPlayer::NetworkState networkState() const;
105 MediaPlayer::ReadyState readyState() const;
133 MediaPlayerPrivate(MediaPlayer*);
134 static MediaPlayerPrivateInterface* create(MediaPlayer* player);
137 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs);
142 MediaPlayer* m_player;
144 MediaPlayer::NetworkState m_networkState;
145 MediaPlayer::ReadyState m_readyState;
/external/webkit/WebCore/html/
DHTMLMediaElement.h64 MediaPlayer* player() const { return m_player.get(); } in player()
83 MediaPlayer::MovieLoadType movieLoadType() const;
165 void setReadyState(MediaPlayer::ReadyState);
166 void setNetworkState(MediaPlayer::NetworkState);
169 virtual void mediaPlayerNetworkStateChanged(MediaPlayer*);
170 virtual void mediaPlayerReadyStateChanged(MediaPlayer*);
171 virtual void mediaPlayerTimeChanged(MediaPlayer*);
172 virtual void mediaPlayerVolumeChanged(MediaPlayer*);
173 virtual void mediaPlayerDurationChanged(MediaPlayer*);
174 virtual void mediaPlayerRateChanged(MediaPlayer*);
[all …]
DHTMLMediaElement.cpp387 MediaPlayer::SupportsType support = MediaPlayer::supportsType(ContentType(mimeType)); in canPlayType()
393 case MediaPlayer::IsNotSupported: in canPlayType()
396 case MediaPlayer::MayBeSupported: in canPlayType()
399 case MediaPlayer::IsSupported: in canPlayType()
547 m_player.set(new MediaPlayer(this)); in loadResource()
550 m_player.set(new MediaPlayer(this)); in loadResource()
660 void HTMLMediaElement::mediaPlayerNetworkStateChanged(MediaPlayer*) in mediaPlayerNetworkStateChanged() argument
667 void HTMLMediaElement::setNetworkState(MediaPlayer::NetworkState state) in setNetworkState()
669 if (state == MediaPlayer::Empty) { in setNetworkState()
675 …if (state == MediaPlayer::FormatError || state == MediaPlayer::NetworkError || state == MediaPlaye… in setNetworkState()
[all …]
DHTMLVideoElement.cpp193 MediaPlayer* player = HTMLMediaElement::player(); in paint()
205 MediaPlayer* player = HTMLMediaElement::player(); in paintCurrentFrameInContext()
/external/webkit/WebCore/platform/graphics/mac/
DMediaPlayerPrivateQTKit.h72 MediaPlayerPrivate(MediaPlayer*);
75 static MediaPlayerPrivateInterface* create(MediaPlayer* player);
77 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs);
104 MediaPlayer::NetworkState networkState() const { return m_networkState; } in networkState()
105 MediaPlayer::ReadyState readyState() const { return m_readyState; } in readyState()
125 MediaPlayer::MovieLoadType movieLoadType() const;
159 … bool metaDataAvailable() const { return m_qtMovie && m_readyState >= MediaPlayer::HaveMetadata; } in metaDataAvailable()
163 MediaPlayer* m_player;
170 MediaPlayer::NetworkState m_networkState;
171 MediaPlayer::ReadyState m_readyState;
DMediaPlayerPrivateQTKit.mm186 MediaPlayerPrivateInterface* MediaPlayerPrivate::create(MediaPlayer* player)
197 MediaPlayerPrivate::MediaPlayerPrivate(MediaPlayer* player)
202 , m_networkState(MediaPlayer::Empty)
203 , m_readyState(MediaPlayer::HaveNothing)
547 if (m_networkState != MediaPlayer::Loading) {
548 m_networkState = MediaPlayer::Loading;
551 if (m_readyState != MediaPlayer::HaveNothing) {
552 m_readyState = MediaPlayer::HaveNothing;
672 MediaPlayer::NetworkState state = networkState();
673 if (state == MediaPlayer::Empty || state == MediaPlayer::Loaded) {
[all …]
/external/webkit/WebCore/platform/graphics/android/
DMediaPlayerPrivateAndroid.h68 virtual MediaPlayer::NetworkState networkState() const;
69 virtual MediaPlayer::ReadyState readyState() const;
93 static MediaPlayerPrivateInterface* create(MediaPlayer* player);
95 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs);
97 MediaPlayerPrivate(MediaPlayer *);
100 MediaPlayer* m_player;
109 MediaPlayer::ReadyState m_readyState;
110 MediaPlayer::NetworkState m_networkState;
/external/webkit/WebKit/android/WebCoreSupport/
DMediaPlayerPrivateAndroid.cpp170 MediaPlayer::NetworkState MediaPlayerPrivate::networkState() const in networkState()
175 MediaPlayer::ReadyState MediaPlayerPrivate::readyState() const in readyState()
227 m_networkState = MediaPlayer::Loaded; in prepareToPlay()
229 m_readyState = MediaPlayer::HaveEnoughData; in prepareToPlay()
258 MediaPlayerPrivateInterface* MediaPlayerPrivate::create(MediaPlayer* player) in create()
267 MediaPlayer::SupportsType MediaPlayerPrivate::supportsType(const String& type, const String& codecs) in supportsType()
269 return MediaPlayer::IsNotSupported; in supportsType()
272 MediaPlayerPrivate::MediaPlayerPrivate(MediaPlayer* player) in MediaPlayerPrivate()
278 m_readyState(MediaPlayer::HaveNothing), in MediaPlayerPrivate()
279 m_networkState(MediaPlayer::Empty), in MediaPlayerPrivate()
[all …]
/external/webkit/WebCore/rendering/
DRenderVideo.cpp71 if (MediaPlayer* p = player()) { in ~RenderVideo()
115 MediaPlayer* mediaPlayer = player(); in paintReplaced()
140 MediaPlayer* mediaPlayer = player(); in updatePlayer()
261 MediaPlayer* p = player(); in supportsAcceleratedRendering()
270 MediaPlayer* p = player(); in acceleratedRenderingStateChanged()
DRenderMedia.h49 class MediaPlayer; variable
61 MediaPlayer* player() const;
DMediaControlElements.cpp206 else if (m_mediaElement->movieLoadType() == MediaPlayer::LiveStream) in update()
451 …nputElement::rendererIsNeeded(style) && m_mediaElement->movieLoadType() != MediaPlayer::LiveStream; in rendererIsNeeded()
473 …nputElement::rendererIsNeeded(style) && m_mediaElement->movieLoadType() == MediaPlayer::LiveStream; in rendererIsNeeded()
DRenderMedia.cpp99 MediaPlayer* RenderMedia::player() const in player()
/external/webkit/WebCore/platform/chromium/
DMimeTypeRegistryChromium.cpp114 MediaPlayer::getSupportedTypes(supportedMediaMIMETypes); in isSupportedMediaMIMEType()
/external/webkit/WebCore/platform/
DMIMETypeRegistry.cpp349 MediaPlayer::getSupportedTypes(*supportedMediaMIMETypes); in initializeSupportedMediaMIMETypes()
/external/webkit/WebCore/dom/
DDOMImplementation.cpp354 if (MediaPlayer::supportsType(ContentType(type))) in createDocument()
/external/webkit/WebCore/bindings/js/
DJSDOMWindowCustom.cpp440 if (!MediaPlayer::isAvailable()) in audio()
/external/webkit/WebCore/platform/qt/
DRenderThemeQt.cpp916 if (MediaPlayer* player = mediaElement->player()) { in paintMediaSliderTrack()

12