Home
last modified time | relevance | path

Searched refs:current_frame_ (Results 1 – 16 of 16) sorted by relevance

/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/
Doveruse_detector.cc25 current_frame_(), in OveruseDetector()
53 bool new_timestamp = (timestamp != current_frame_.timestamp); in Update()
55 if (prev_frame_.timestamp_ms == -1 && current_frame_.timestamp_ms == -1) { in Update()
58 new_timestamp = (timestamp_ms != current_frame_.timestamp_ms); in Update()
60 if (current_frame_.timestamp == -1) { in Update()
63 current_frame_.timestamp = timestamp; in Update()
64 current_frame_.timestamp_ms = timestamp_ms; in Update()
72 TimeDeltas(current_frame_, prev_frame_, &t_delta, &ts_delta); in Update()
73 UpdateKalman(t_delta, ts_delta, current_frame_.size, prev_frame_.size); in Update()
75 prev_frame_ = current_frame_; in Update()
[all …]
Doveruse_detector.h76 FrameSample current_frame_; variable
/external/chromium_org/cc/surfaces/
Dsurface.cc31 if (current_frame_) { in ~Surface()
34 current_frame_->delegated_frame_data->resource_list, in ~Surface()
50 scoped_ptr<CompositorFrame> previous_frame = current_frame_.Pass(); in QueueFrame()
51 current_frame_ = frame.Pass(); in QueueFrame()
53 current_frame_->delegated_frame_data->resource_list); in QueueFrame()
79 return current_frame_.get(); in GetEligibleFrame()
83 if (!current_frame_) in TakeLatencyInfo()
86 current_frame_->metadata.latency_info.swap(*latency_info); in TakeLatencyInfo()
89 std::copy(current_frame_->metadata.latency_info.begin(), in TakeLatencyInfo()
90 current_frame_->metadata.latency_info.end(), in TakeLatencyInfo()
[all …]
Dsurface.h60 scoped_ptr<CompositorFrame> current_frame_; variable
/external/chromium_org/content/browser/renderer_host/
Dsoftware_frame_manager.cc106 current_frame_.swap(next_frame); in SwapToNewFrame()
111 return current_frame_.get() ? true : false; in HasCurrentFrame()
117 current_frame_ = NULL; in DiscardCurrentFrame()
138 return current_frame_->output_surface_id_; in GetCurrentFrameOutputSurfaceId()
145 *mailbox = cc::TextureMailbox(current_frame_->shared_bitmap_->memory(), in GetCurrentFrameMailbox()
146 current_frame_->frame_size_pixels_); in GetCurrentFrameMailbox()
148 base::Bind(ReleaseMailbox, current_frame_)); in GetCurrentFrameMailbox()
153 DCHECK(current_frame_->shared_bitmap_); in GetCurrentFramePixels()
154 return current_frame_->shared_bitmap_->pixels(); in GetCurrentFramePixels()
159 return current_frame_->frame_device_scale_factor_; in GetCurrentFrameDeviceScaleFactor()
[all …]
Dsoftware_frame_manager.h72 scoped_refptr<SoftwareFrame> current_frame_; variable
/external/chromium_org/media/blink/
Dvideo_frame_compositor.cc53 return current_frame_; in GetCurrentFrame()
62 if (current_frame_.get() && in UpdateCurrentFrame()
63 current_frame_->natural_size() != frame->natural_size()) { in UpdateCurrentFrame()
67 if (!current_frame_.get() || IsOpaque(current_frame_) != IsOpaque(frame)) { in UpdateCurrentFrame()
71 current_frame_ = frame; in UpdateCurrentFrame()
Dvideo_frame_compositor.h61 scoped_refptr<VideoFrame> current_frame_; in NON_EXPORTED_BASE() local
/external/chromium_org/content/renderer/media/
Dwebmediaplayer_ms.cc213 if (!current_frame_.get()) in pause()
220 scoped_refptr<media::VideoFrame> new_frame = CopyFrameToYV12(current_frame_); in pause()
222 current_frame_ = new_frame; in pause()
264 if (current_frame_.get()) in naturalSize()
265 size = current_frame_->natural_size(); in naturalSize()
337 current_frame_, canvas, dest_rect, alpha, mode, media::VIDEO_ROTATION_0); in paint()
341 if (current_frame_.get()) in paint()
397 if (!current_frame_.get()) in GetCurrentFrame()
401 return current_frame_; in GetCurrentFrame()
421 current_frame_ = frame; in OnFrameAvailable()
[all …]
Dwebmediaplayer_ms.h169 scoped_refptr<media::VideoFrame> current_frame_; variable
/external/chromium_org/third_party/webrtc/modules/video_render/ios/
Dvideo_render_ios_channel.mm21 current_frame_(new I420VideoFrame()), function
24 VideoRenderIosChannel::~VideoRenderIosChannel() { delete current_frame_; }
30 current_frame_->CopyFrame(video_frame);
37 if (![view_ renderFrame:current_frame_]) {
Dvideo_render_ios_channel.h40 I420VideoFrame* current_frame_; variable
/external/chromium_org/chrome/browser/media/
Dnative_desktop_media_list.cc108 scoped_ptr<webrtc::DesktopFrame> current_frame_; member in NativeDesktopMediaList::Worker
200 if (current_frame_) { in Refresh()
201 uint32 frame_hash = GetFrameHash(current_frame_.get()); in Refresh()
208 ScaleDesktopFrame(current_frame_.Pass(), thumbnail_size); in Refresh()
231 current_frame_.reset(frame); in OnCaptureCompleted()
/external/chromium_org/remoting/test/
Dprotocol_perftest.cc439 if (frame_index_ % 60 == 0 || !current_frame_) { in GenerateFrame()
440 current_frame_.reset(webrtc::SharedDesktopFrame::Wrap( in GenerateFrame()
446 scoped_ptr<webrtc::DesktopFrame> result(current_frame_->Share()); in GenerateFrame()
460 scoped_ptr<webrtc::SharedDesktopFrame> current_frame_; member in remoting::IntermittentChangeFrameGenerator
/external/chromium_org/content/renderer/media/android/
Dwebmediaplayer_android.cc172 current_frame_ = VideoFrame::CreateBlackFrame(gfx::Size(1, 1)); in WebMediaPlayerAndroid()
206 current_frame_ = NULL; in ~WebMediaPlayerAndroid()
643 video_frame = current_frame_; in copyVideoTextureToPlatformTexture()
1260 current_frame_ = video_frame; in SetCurrentFrameInternal()
1267 video_frame = current_frame_; in GetCurrentFrame()
Dwebmediaplayer_android.h357 scoped_refptr<media::VideoFrame> current_frame_; variable