Home
last modified time | relevance | path

Searched refs:player_id (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/content/renderer/media/android/
Drenderer_media_player_manager.cc66 int player_id, in Initialize() argument
74 media_player_params.player_id = player_id; in Initialize()
84 void RendererMediaPlayerManager::Start(int player_id) { in Start() argument
85 Send(new MediaPlayerHostMsg_Start(routing_id(), player_id)); in Start()
89 int player_id, in Pause() argument
92 routing_id(), player_id, is_media_related_action)); in Pause()
96 int player_id, in Seek() argument
98 Send(new MediaPlayerHostMsg_Seek(routing_id(), player_id, time)); in Seek()
101 void RendererMediaPlayerManager::SetVolume(int player_id, double volume) { in SetVolume() argument
102 Send(new MediaPlayerHostMsg_SetVolume(routing_id(), player_id, volume)); in SetVolume()
[all …]
Drenderer_media_player_manager.h44 int player_id,
52 void Start(int player_id);
59 void Pause(int player_id, bool is_media_related_action);
62 void Seek(int player_id, const base::TimeDelta& time);
65 void SetVolume(int player_id, double volume);
68 void SetPoster(int player_id, const GURL& poster);
71 void ReleaseResources(int player_id);
74 void DestroyPlayer(int player_id);
77 void EnterFullscreen(int player_id, blink::WebFrame* frame);
80 void ExitFullscreen(int player_id);
[all …]
Dstream_texture_factory_impl.cc133 void StreamTextureFactoryImpl::EstablishPeer(int32 stream_id, int player_id) { in EstablishPeer() argument
136 new GpuStreamTextureMsg_EstablishPeer(stream_id, frame_id_, player_id)); in EstablishPeer()
Dstream_texture_factory_synchronous_impl.cc177 int player_id) { in EstablishPeer() argument
186 player_id); in EstablishPeer()
Dstream_texture_factory.h63 virtual void EstablishPeer(int32 stream_id, int player_id) = 0;
Dstream_texture_factory_impl.h33 virtual void EstablishPeer(int32 stream_id, int player_id) OVERRIDE;
Dstream_texture_factory_synchronous_impl.h51 virtual void EstablishPeer(int32 stream_id, int player_id) OVERRIDE;
/external/chromium_org/content/browser/media/android/
Dbrowser_media_player_manager.cc78 media_player_params.player_id, in CreateMediaPlayer()
101 media_player_params.player_id, base::TimeDelta(), 0, 0, false); in CreateMediaPlayer()
111 media_player_params.player_id, in CreateMediaPlayer()
200 void BrowserMediaPlayerManager::OnTimeUpdate(int player_id, in OnTimeUpdate() argument
203 new MediaPlayerMsg_MediaTimeUpdate(RoutingID(), player_id, current_time)); in OnTimeUpdate()
217 Send(new MediaPlayerMsg_DidEnterFullscreen(RoutingID(), player->player_id())); in SetVideoSurface()
230 int player_id, base::TimeDelta duration, int width, int height, in OnMediaMetadataChanged() argument
233 RoutingID(), player_id, duration, width, height, success)); in OnMediaMetadataChanged()
234 if (fullscreen_player_id_ == player_id) in OnMediaMetadataChanged()
238 void BrowserMediaPlayerManager::OnPlaybackComplete(int player_id) { in OnPlaybackComplete() argument
[all …]
Dbrowser_media_player_manager.h68 void OnSeekRequest(int player_id, const base::TimeDelta& time_to_seek);
75 int player_id, base::TimeDelta current_time) OVERRIDE;
77 int player_id,
82 virtual void OnPlaybackComplete(int player_id) OVERRIDE;
83 virtual void OnMediaInterrupted(int player_id) OVERRIDE;
84 virtual void OnBufferingUpdate(int player_id, int percentage) OVERRIDE;
86 int player_id,
88 virtual void OnError(int player_id, int error) OVERRIDE;
90 int player_id, int width, int height) OVERRIDE;
94 virtual media::MediaPlayerAndroid* GetPlayer(int player_id) OVERRIDE;
[all …]
/external/chromium_org/media/base/android/
Dmedia_player_manager.h32 virtual void OnTimeUpdate(int player_id, base::TimeDelta current_time) = 0;
37 int player_id,
44 virtual void OnPlaybackComplete(int player_id) = 0;
47 virtual void OnMediaInterrupted(int player_id) = 0;
51 virtual void OnBufferingUpdate(int player_id, int percentage) = 0;
55 int player_id,
59 virtual void OnError(int player_id, int error) = 0;
62 virtual void OnVideoSizeChanged(int player_id, int width, int height) = 0;
68 virtual MediaPlayerAndroid* GetPlayer(int player_id) = 0;
71 virtual void RequestFullScreen(int player_id) = 0;
Dmedia_player_bridge.cc30 int player_id, in MediaPlayerBridge() argument
40 : MediaPlayerAndroid(player_id, in MediaPlayerBridge()
216 request_media_resources_cb_.Run(player_id()); in SetDataSource()
247 request_media_resources_cb_.Run(player_id()); in OnDidSetDataUriDataSource()
282 player_id(), duration_, width_, height_, success); in OnMediaMetadataExtracted()
377 release_media_resources_cb_.Run(player_id()); in Release()
396 manager()->OnVideoSizeChanged(player_id(), width, height); in OnVideoSizeChanged()
400 manager()->OnError(player_id(), error_type); in OnMediaError()
404 manager()->OnBufferingUpdate(player_id(), percent); in OnBufferingUpdate()
409 manager()->OnPlaybackComplete(player_id()); in OnPlaybackComplete()
[all …]
Dmedia_player_android.h38 typedef base::Callback<void(int player_id)> RequestMediaResourcesCB;
41 typedef base::Callback<void(int player_id)> ReleaseMediaResourcesCB;
82 int player_id() { return player_id_; } in player_id() function
87 MediaPlayerAndroid(int player_id,
Dmedia_source_player.cc27 int player_id, in MediaSourcePlayer() argument
33 : MediaPlayerAndroid(player_id, in MediaSourcePlayer()
60 base::Bind(request_media_resources_cb_, player_id), in MediaSourcePlayer()
61 base::Bind(release_media_resources_cb_, player_id), in MediaSourcePlayer()
133 manager()->RequestFullScreen(player_id()); in Start()
357 manager()->OnSeekComplete(player_id(), current_time); in OnDemuxerSeekDone()
366 manager()->OnTimeUpdate(player_id(), GetCurrentTime()); in UpdateTimestamps()
467 manager()->OnError(player_id(), MEDIA_ERROR_DECODE); in MediaDecoderCallback()
584 manager()->OnPlaybackComplete(player_id()); in PlaybackCompleted()
693 player_id(), duration_, GetVideoWidth(), GetVideoHeight(), true); in OnDemuxerConfigsChanged()
Dmedia_player_android.cc14 int player_id, in MediaPlayerAndroid() argument
21 player_id_(player_id), in MediaPlayerAndroid()
Dmedia_source_player_unittest.cc59 virtual void OnTimeUpdate(int player_id, in OnTimeUpdate() argument
64 int player_id, base::TimeDelta duration, int width, int height, in OnMediaMetadataChanged() argument
66 virtual void OnPlaybackComplete(int player_id) OVERRIDE { in OnPlaybackComplete() argument
71 virtual void OnMediaInterrupted(int player_id) OVERRIDE {} in OnMediaInterrupted() argument
72 virtual void OnBufferingUpdate(int player_id, int percentage) OVERRIDE {} in OnBufferingUpdate() argument
73 virtual void OnSeekComplete(int player_id, in OnSeekComplete() argument
75 virtual void OnError(int player_id, int error) OVERRIDE {} in OnError() argument
76 virtual void OnVideoSizeChanged(int player_id, int width, in OnVideoSizeChanged() argument
79 virtual MediaPlayerAndroid* GetPlayer(int player_id) OVERRIDE { return NULL; } in GetPlayer() argument
80 virtual void RequestFullScreen(int player_id) OVERRIDE {} in RequestFullScreen() argument
[all …]
/external/chromium_org/android_webview/native/
Dexternal_video_surface_container_impl.cc35 int player_id, in RequestExternalVideoSurface() argument
43 env, jobject_.obj(), static_cast<jint>(player_id)); in RequestExternalVideoSurface()
47 int player_id) { in ReleaseExternalVideoSurface() argument
50 env, jobject_.obj(), static_cast<jint>(player_id)); in ReleaseExternalVideoSurface()
62 int player_id, const gfx::RectF& rect) { in OnExternalVideoSurfacePositionChanged() argument
67 static_cast<jint>(player_id), in OnExternalVideoSurfacePositionChanged()
76 JNIEnv* env, jobject obj, jint player_id, jobject jsurface) { in SurfaceCreated() argument
78 surface_created_cb_.Run(static_cast<int>(player_id), jsurface); in SurfaceCreated()
82 JNIEnv* env, jobject obj, jint player_id) { in SurfaceDestroyed() argument
84 surface_destroyed_cb_.Run(static_cast<int>(player_id)); in SurfaceDestroyed()
Dexternal_video_surface_container_impl.h27 int player_id,
30 virtual void ReleaseExternalVideoSurface(int player_id) OVERRIDE;
33 int player_id, const gfx::RectF& rect) OVERRIDE;
37 JNIEnv* env, jobject obj, jint player_id, jobject jsurface);
38 void SurfaceDestroyed(JNIEnv* env, jobject obj, jint player_id);
/external/chromium_org/content/browser/android/
Dsurface_texture_peer_browser_impl.cc26 int player_id) { in SetSurfacePeer() argument
58 media::MediaPlayerAndroid* player = player_manager->GetPlayer(player_id); in SetSurfacePeer()
60 DVLOG(1) << "Cannot find media player for player_id " << player_id; in SetSurfacePeer()
82 int player_id) { in EstablishSurfaceTexturePeer() argument
88 render_frame_id, player_id)); in EstablishSurfaceTexturePeer()
Dchild_process_launcher_android.cc39 int player_id) { in SetSurfacePeer() argument
71 media::MediaPlayerAndroid* player = player_manager->GetPlayer(player_id); in SetSurfacePeer()
73 DVLOG(1) << "Cannot find media player for player_id " << player_id; in SetSurfacePeer()
Dsurface_texture_peer_browser_impl.h29 int player_id) OVERRIDE;
/external/chromium_org/content/public/browser/android/
Dexternal_video_surface_container.h31 int player_id,
36 virtual void ReleaseExternalVideoSurface(int player_id) = 0;
42 int player_id, const gfx::RectF& rect) = 0;
/external/chromium_org/content/browser/media/
Dmedia_web_contents_observer.cc155 int player_id, in OnSetCdm() argument
158 GetMediaPlayerManager(render_frame_host)->GetPlayer(player_id); in OnSetCdm()
160 NOTREACHED() << "OnSetCdm: MediaPlayer not found for " << player_id; in OnSetCdm()
Dmedia_web_contents_observer.h57 void OnSetCdm(RenderFrameHost* render_frame_host, int player_id, int cdm_id);
/external/chromium_org/content/browser/media/cdm/
Dbrowser_cdm_manager.h71 void OnSetCdm(int player_id, int cdm_id);
/external/chromium_org/content/common/media/
Dmedia_player_messages_android.h69 IPC_STRUCT_MEMBER(int, player_id)

12