Home
last modified time | relevance | path

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

12

/external/webkit/WebCore/platform/graphics/
DMediaPlayer.cpp62 NullMediaPlayerPrivate(MediaPlayer*) { } in NullMediaPlayerPrivate() argument
98 virtual MediaPlayer::NetworkState networkState() const { return MediaPlayer::Empty; } in networkState()
99 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
221 MediaPlayer::~MediaPlayer() in ~MediaPlayer()
225 void MediaPlayer::load(const String& url, const ContentType& contentType) in load()
267 bool MediaPlayer::hasAvailableVideoFrame() const in hasAvailableVideoFrame()
[all …]
DMediaPlayer.h65 class MediaPlayer; variable
79 virtual void mediaPlayerNetworkStateChanged(MediaPlayer*) { } in mediaPlayerNetworkStateChanged() argument
82 virtual void mediaPlayerReadyStateChanged(MediaPlayer*) { } in mediaPlayerReadyStateChanged() argument
85 virtual void mediaPlayerVolumeChanged(MediaPlayer*) { } in mediaPlayerVolumeChanged() argument
88 virtual void mediaPlayerMuteChanged(MediaPlayer*) { } in mediaPlayerMuteChanged() argument
91 virtual void mediaPlayerTimeChanged(MediaPlayer*) { } in mediaPlayerTimeChanged() argument
94 virtual void mediaPlayerDurationChanged(MediaPlayer*) { } in mediaPlayerDurationChanged() argument
97 virtual void mediaPlayerRateChanged(MediaPlayer*) { } in mediaPlayerRateChanged() argument
102 virtual void mediaPlayerSawUnsupportedTracks(MediaPlayer*) { } in mediaPlayerSawUnsupportedTracks() argument
106 virtual void mediaPlayerRepaint(MediaPlayer*) { } in mediaPlayerRepaint() argument
[all …]
DMediaPlayerPrivate.h83 virtual MediaPlayer::NetworkState networkState() const = 0;
84 virtual MediaPlayer::ReadyState readyState() const = 0;
99 …virtual bool hasAvailableVideoFrame() const { return readyState() >= MediaPlayer::HaveCurrentData;… in hasAvailableVideoFrame()
118 virtual MediaPlayer::MovieLoadType movieLoadType() const { return MediaPlayer::Unknown; } in movieLoadType()
/external/webkit/WebCore/platform/graphics/win/
DMediaPlayerPrivateQuickTimeWin.cpp62 MediaPlayerPrivateInterface* MediaPlayerPrivate::create(MediaPlayer* player) in create()
73 MediaPlayerPrivate::MediaPlayerPrivate(MediaPlayer* player) in MediaPlayerPrivate()
77 , m_networkState(MediaPlayer::Empty) in MediaPlayerPrivate()
78 , m_readyState(MediaPlayer::HaveNothing) in MediaPlayerPrivate()
159 m_networkState = MediaPlayer::DecodeError; in load()
167 if (m_networkState != MediaPlayer::Loading) { in load()
168 m_networkState = MediaPlayer::Loading; in load()
171 if (m_readyState != MediaPlayer::HaveNothing) { in load()
172 m_readyState = MediaPlayer::HaveNothing; in load()
268 MediaPlayer::NetworkState state = networkState(); in seekTimerFired()
[all …]
DMediaPlayerPrivateQuickTimeWin.h75 MediaPlayerPrivate(MediaPlayer*);
101 MediaPlayer::NetworkState networkState() const { return m_networkState; } in networkState()
102 MediaPlayer::ReadyState readyState() const { return m_readyState; } in readyState()
136 static MediaPlayerPrivateInterface* create(MediaPlayer*);
138 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs);
158 MediaPlayer* m_player;
166 MediaPlayer::NetworkState m_networkState;
167 MediaPlayer::ReadyState m_readyState;
/external/webkit/WebCore/html/
DHTMLMediaElement.h64 MediaPlayer* player() const { return m_player.get(); } in player()
86 MediaPlayer::MovieLoadType movieLoadType() const;
184 void setReadyState(MediaPlayer::ReadyState);
185 void setNetworkState(MediaPlayer::NetworkState);
191 virtual void mediaPlayerNetworkStateChanged(MediaPlayer*);
192 virtual void mediaPlayerReadyStateChanged(MediaPlayer*);
193 virtual void mediaPlayerTimeChanged(MediaPlayer*);
194 virtual void mediaPlayerVolumeChanged(MediaPlayer*);
195 virtual void mediaPlayerMuteChanged(MediaPlayer*);
196 virtual void mediaPlayerDurationChanged(MediaPlayer*);
[all …]
DHTMLMediaElement.cpp404 MediaPlayer::SupportsType support = MediaPlayer::supportsType(ContentType(mimeType)); in canPlayType()
410 case MediaPlayer::IsNotSupported: in canPlayType()
413 case MediaPlayer::MayBeSupported: in canPlayType()
416 case MediaPlayer::IsSupported: in canPlayType()
583 m_player = MediaPlayer::create(this); in loadResource()
586 m_player = MediaPlayer::create(this); in loadResource()
595 m_player->setMediaElementType(MediaPlayer::Video); in loadResource()
597 m_player->setMediaElementType(MediaPlayer::Audio); in loadResource()
715 void HTMLMediaElement::mediaPlayerNetworkStateChanged(MediaPlayer*) in mediaPlayerNetworkStateChanged() argument
722 void HTMLMediaElement::setNetworkState(MediaPlayer::NetworkState state) in setNetworkState()
[all …]
DHTMLVideoElement.cpp201 MediaPlayer* player = HTMLMediaElement::player(); in paint()
211 MediaPlayer* player = HTMLMediaElement::player(); in paintCurrentFrameInContext()
/external/webkit/WebCore/platform/graphics/qt/
DMediaPlayerPrivatePhonon.cpp84 MediaPlayerPrivate::MediaPlayerPrivate(MediaPlayer* player) in MediaPlayerPrivate()
86 , m_networkState(MediaPlayer::Empty) in MediaPlayerPrivate()
87 , m_readyState(MediaPlayer::HaveNothing) in MediaPlayerPrivate()
118 MediaPlayerPrivateInterface* MediaPlayerPrivate::create(MediaPlayer* player) in create()
151 MediaPlayer::SupportsType MediaPlayerPrivate::supportsType(const String&, const String&) in supportsType()
155 return MediaPlayer::IsNotSupported; in supportsType()
178 if (m_networkState != MediaPlayer::Loading) { in load()
179 m_networkState = MediaPlayer::Loading; in load()
184 if (m_readyState != MediaPlayer::HaveNothing) { in load()
185 m_readyState = MediaPlayer::HaveNothing; in load()
[all …]
DMediaPlayerPrivatePhonon.h102 MediaPlayer::NetworkState networkState() const;
103 MediaPlayer::ReadyState readyState() const;
130 MediaPlayerPrivate(MediaPlayer*);
131 static MediaPlayerPrivateInterface* create(MediaPlayer* player);
134 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs);
139 MediaPlayer* m_player;
141 MediaPlayer::NetworkState m_networkState;
142 MediaPlayer::ReadyState m_readyState;
/external/webkit/WebCore/platform/graphics/gtk/
DMediaPlayerPrivateGStreamer.cpp66 MediaPlayer::NetworkState error; in mediaPlayerPrivateMessageCallback()
90 error = MediaPlayer::Empty; in mediaPlayerPrivateMessageCallback()
96 error = MediaPlayer::FormatError; in mediaPlayerPrivateMessageCallback()
98 error = MediaPlayer::DecodeError; in mediaPlayerPrivateMessageCallback()
101 error = MediaPlayer::NetworkError; in mediaPlayerPrivateMessageCallback()
212 MediaPlayerPrivateInterface* MediaPlayerPrivate::create(MediaPlayer* player) in create()
258 MediaPlayerPrivate::MediaPlayerPrivate(MediaPlayer* player) in MediaPlayerPrivate()
267 , m_networkState(MediaPlayer::Empty) in MediaPlayerPrivate()
268 , m_readyState(MediaPlayer::HaveNothing) in MediaPlayerPrivate()
332 if (m_networkState != MediaPlayer::Loading) { in load()
[all …]
DMediaPlayerPrivateGStreamer.h89 MediaPlayer::NetworkState networkState() const;
90 MediaPlayer::ReadyState readyState() const;
106 void loadingFailed(MediaPlayer::NetworkState);
118 MediaPlayerPrivate(MediaPlayer*);
119 static MediaPlayerPrivateInterface* create(MediaPlayer* player);
122 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs);
135 MediaPlayer* m_player;
144 MediaPlayer::NetworkState m_networkState;
145 MediaPlayer::ReadyState m_readyState;
/external/webkit/WebKit/chromium/src/
DWebMediaPlayerClientImpl.cpp258 MediaPlayer::NetworkState WebMediaPlayerClientImpl::networkState() const in networkState()
261 return static_cast<MediaPlayer::NetworkState>(m_webMediaPlayer->networkState()); in networkState()
262 return MediaPlayer::Empty; in networkState()
265 MediaPlayer::ReadyState WebMediaPlayerClientImpl::readyState() const in readyState()
268 return static_cast<MediaPlayer::ReadyState>(m_webMediaPlayer->readyState()); in readyState()
269 return MediaPlayer::HaveNothing; in readyState()
356 MediaPlayer::MovieLoadType WebMediaPlayerClientImpl::movieLoadType() const in movieLoadType()
359 return static_cast<MediaPlayer::MovieLoadType>( in movieLoadType()
361 return MediaPlayer::Unknown; in movieLoadType()
364 MediaPlayerPrivateInterface* WebMediaPlayerClientImpl::create(MediaPlayer* player) in create()
[all …]
DAssertMatchingEnums.cpp268 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::Empty, MediaPlayer::Empty);
269 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::Idle, MediaPlayer::Idle);
270 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::Loading, MediaPlayer::Loading);
271 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::Loaded, MediaPlayer::Loaded);
272 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::FormatError, MediaPlayer::FormatError);
273 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::NetworkError, MediaPlayer::NetworkError);
274 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::DecodeError, MediaPlayer::DecodeError);
276 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::HaveNothing, MediaPlayer::HaveNothing);
277 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::HaveMetadata, MediaPlayer::HaveMetadata);
278 COMPILE_ASSERT_MATCHING_ENUM(WebMediaPlayer::HaveCurrentData, MediaPlayer::HaveCurrentData);
[all …]
DWebMediaPlayerClientImpl.h84 virtual WebCore::MediaPlayer::NetworkState networkState() const;
85 virtual WebCore::MediaPlayer::ReadyState readyState() const;
96 virtual WebCore::MediaPlayer::MovieLoadType movieLoadType() const;
101 static WebCore::MediaPlayerPrivateInterface* create(WebCore::MediaPlayer*);
103 static WebCore::MediaPlayer::SupportsType supportsType(
106 WebCore::MediaPlayer* m_mediaPlayer;
/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);
107 MediaPlayer::NetworkState networkState() const { return m_networkState; } in networkState()
108 MediaPlayer::ReadyState readyState() const { return m_readyState; } in readyState()
129 MediaPlayer::MovieLoadType movieLoadType() const;
163 … bool metaDataAvailable() const { return m_qtMovie && m_readyState >= MediaPlayer::HaveMetadata; } in metaDataAvailable()
167 MediaPlayer* m_player;
174 MediaPlayer::NetworkState m_networkState;
175 MediaPlayer::ReadyState m_readyState;
DMediaPlayerPrivateQTKit.mm189 MediaPlayerPrivateInterface* MediaPlayerPrivate::create(MediaPlayer* player)
200 MediaPlayerPrivate::MediaPlayerPrivate(MediaPlayer* player)
205 , m_networkState(MediaPlayer::Empty)
206 , m_readyState(MediaPlayer::HaveNothing)
554 if (m_networkState != MediaPlayer::Loading) {
555 m_networkState = MediaPlayer::Loading;
558 if (m_readyState != MediaPlayer::HaveNothing) {
559 m_readyState = MediaPlayer::HaveNothing;
686 MediaPlayer::NetworkState state = networkState();
687 if (state == MediaPlayer::Empty || state == MediaPlayer::Loaded) {
[all …]
/external/webkit/WebCore/platform/graphics/wince/
DMediaPlayerPrivateWince.h68 MediaPlayer::NetworkState networkState() const { return m_networkState; } in networkState()
69 MediaPlayer::ReadyState readyState() const { return m_readyState; } in readyState()
85 MediaPlayerPrivate(MediaPlayer*);
100 static MediaPlayerPrivateInterface* create(MediaPlayer*);
102 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs);
105 MediaPlayer* m_player;
109 MediaPlayer::NetworkState m_networkState;
110 MediaPlayer::ReadyState m_readyState;
DMediaPlayerProxy.h33 class MediaPlayer; variable
49 WebMediaPlayerProxy(MediaPlayer* player);
52 MediaPlayer* mediaPlayer() {return m_mediaPlayer;} in mediaPlayer()
60 MediaPlayer* m_mediaPlayer;
/external/webkit/WebCore/platform/graphics/android/
DMediaPlayerPrivateAndroid.h70 virtual MediaPlayer::NetworkState networkState() const { return m_networkState; } in networkState()
71 virtual MediaPlayer::ReadyState readyState() const { return m_readyState; } in readyState()
98 static MediaPlayerPrivateInterface* create(MediaPlayer* player);
100 static MediaPlayer::SupportsType supportsType(const String& type, const String& codecs);
102 MediaPlayerPrivate(MediaPlayer *);
105 MediaPlayer* m_player;
115 MediaPlayer::ReadyState m_readyState;
116 MediaPlayer::NetworkState m_networkState;
/external/webkit/WebKit/android/WebCoreSupport/
DMediaPlayerPrivateAndroid.cpp119 m_networkState = MediaPlayer::Loaded; in prepareToPlay()
121 m_readyState = MediaPlayer::HaveEnoughData; in prepareToPlay()
125 MediaPlayer::SupportsType MediaPlayerPrivate::supportsType(const String& type, const String& codecs) in supportsType()
128 return MediaPlayer::MayBeSupported; in supportsType()
129 return MediaPlayer::IsNotSupported; in supportsType()
132 MediaPlayerPrivate::MediaPlayerPrivate(MediaPlayer* player) in MediaPlayerPrivate()
139 m_readyState(MediaPlayer::HaveNothing), in MediaPlayerPrivate()
140 m_networkState(MediaPlayer::Empty), in MediaPlayerPrivate()
154 m_networkState = MediaPlayer::Idle; in onEnded()
155 m_readyState = MediaPlayer::HaveNothing; in onEnded()
[all …]
/external/webkit/WebCore/bindings/generic/
DRuntimeEnabledFeatures.cpp52 return MediaPlayer::isAvailable(); in audioEnabled()
57 return MediaPlayer::isAvailable(); in htmlMediaElementEnabled()
62 return MediaPlayer::isAvailable(); in htmlAudioElementEnabled()
67 return MediaPlayer::isAvailable(); in htmlVideoElementEnabled()
72 return MediaPlayer::isAvailable(); in mediaErrorEnabled()
/external/webkit/WebCore/rendering/
DRenderVideo.cpp79 if (MediaPlayer* p = player()) { in ~RenderVideo()
151 MediaPlayer* mediaPlayer = player(); in paintReplaced()
193 MediaPlayer* mediaPlayer = player(); in updatePlayer()
265 MediaPlayer* p = player(); in supportsAcceleratedRendering()
274 MediaPlayer* p = player(); in acceleratedRenderingStateChanged()
DRenderMedia.h52 class MediaPlayer; variable
64 MediaPlayer* player() const;
/external/webkit/WebCore/platform/chromium/
DMIMETypeRegistryChromium.cpp112 MediaPlayer::getSupportedTypes(supportedMediaMIMETypes); in isSupportedMediaMIMEType()

12