Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Issue 101843005: Convert video capture pipline to base::TimeTicks (Closed)

Created:
6 years, 11 months ago by sheu
Modified:
6 years, 11 months ago
CC:
chromium-reviews, jbauman+watch_chromium.org, penghuang+watch_chromium.org, yusukes+watch_chromium.org, nona+watch_chromium.org, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, yukishiino+watch_chromium.org, sievers+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, wjia+watch_chromium.org, miu+watch_chromium.org
Visibility:
Public.

Description

Convert video capture pipline to base::TimeTicks base::TimeTicks is a monotonic clock, unlike base::Time, which may change if the system time is changed. Switch over the video capture pipeline to use this clock. BUG=249215 TEST=local build, run on CrOS snow, desktop Linux Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=243493

Patch Set 1 #

Total comments: 5

Patch Set 2 : b1855503 Comments. #

Patch Set 3 : ce1aac873 Other compositing paths #

Patch Set 4 : f069a91e1 Rebased. #

Patch Set 5 : 9890509b Rebase, Windows compile fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+184 lines, -169 lines) Patch
M content/browser/gpu/gpu_process_host.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/compositing_iosurface_mac.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/desktop_capture_device.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/desktop_capture_device_aura.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M content/browser/renderer_host/media/desktop_capture_device_aura_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/desktop_capture_device_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.h View 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller_event_handler.h View 1 chunk +4 lines, -5 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller_unittest.cc View 8 chunks +12 lines, -9 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_device_impl.h View 2 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_device_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_host.h View 2 chunks +5 lines, -6 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_host.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_host_unittest.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_manager_unittest.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_oracle.h View 6 chunks +7 lines, -9 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_oracle.cc View 5 chunks +10 lines, -5 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_oracle_unittest.cc View 11 chunks +28 lines, -19 lines 0 comments Download
M content/browser/renderer_host/media/web_contents_video_capture_device.cc View 16 chunks +24 lines, -25 lines 0 comments Download
M content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_browsertest.cc View 3 chunks +8 lines, -8 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/common/media/video_capture_messages.h View 1 chunk +1 line, -1 line 0 comments Download
M content/port/browser/render_widget_host_view_frame_subscriber.h View 2 chunks +5 lines, -7 lines 0 comments Download
M content/renderer/media/video_capture_impl.h View 1 3 chunks +10 lines, -8 lines 0 comments Download
M content/renderer/media/video_capture_impl.cc View 1 5 chunks +6 lines, -6 lines 0 comments Download
M content/renderer/media/video_capture_message_filter.h View 2 chunks +2 lines, -2 lines 0 comments Download
M content/renderer/media/video_capture_message_filter.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/video_capture_message_filter_unittest.cc View 2 chunks +5 lines, -4 lines 0 comments Download
M media/video/capture/android/video_capture_device_android.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/fake_video_capture_device.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/file_video_capture_device.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/linux/video_capture_device_linux.cc View 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/mac/video_capture_device_mac.mm View 1 chunk +1 line, -1 line 0 comments Download
M media/video/capture/video_capture_device.h View 2 chunks +2 lines, -2 lines 0 comments Download
M media/video/capture/video_capture_device_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/video/capture/win/video_capture_device_mf_win.h View 1 2 3 4 1 chunk +4 lines, -5 lines 0 comments Download
M media/video/capture/win/video_capture_device_mf_win.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M media/video/capture/win/video_capture_device_win.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (0 generated)
sheu
miu@: this bug was assigned to you, but I got to it first. PTAL :-)
6 years, 11 months ago (2014-01-06 21:37:42 UTC) #1
miu
Looks great! Thanks for taking care of all this. Just a couple of small things... ...
6 years, 11 months ago (2014-01-06 22:39:36 UTC) #2
sheu
Done! miu@: PTAL https://chromiumcodereview.appspot.com/101843005/diff/1/content/renderer/media/video_capture_impl.h File content/renderer/media/video_capture_impl.h (right): https://chromiumcodereview.appspot.com/101843005/diff/1/content/renderer/media/video_capture_impl.h#newcode144 content/renderer/media/video_capture_impl.h:144: base::TimeTicks last_frame_timestamp_; On 2014/01/06 22:39:37, miu ...
6 years, 11 months ago (2014-01-06 22:52:36 UTC) #3
miu
lgtm
6 years, 11 months ago (2014-01-06 22:55:58 UTC) #4
sheu
Adding more OWNERs now. wjia@: PTAL.
6 years, 11 months ago (2014-01-06 22:57:02 UTC) #5
wjia(left Chromium)
lgtm. Thanks for doing this!
6 years, 11 months ago (2014-01-07 00:11:14 UTC) #6
sheu
Two OWNERS bits left. cevans@: trivial IPC check on content/common/media/video_capture_messages.h jam@: fairly trivial in: content/browser/renderer_host/render_widget_host_view_aura.cc ...
6 years, 11 months ago (2014-01-07 00:17:46 UTC) #7
sheu
cevans@: PTAL at content/common/media/video_capture_messages.h
6 years, 11 months ago (2014-01-07 00:18:32 UTC) #8
jam
lgtm
6 years, 11 months ago (2014-01-07 21:09:05 UTC) #9
Chris Evans
On 2014/01/07 21:09:05, jam wrote: > lgtm LGTM
6 years, 11 months ago (2014-01-07 21:16:04 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/101843005/280001
6 years, 11 months ago (2014-01-07 21:18:40 UTC) #11
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) base_unittests, browser_tests, interactive_ui_tests, net_unittests, unit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=242697
6 years, 11 months ago (2014-01-07 21:58:31 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/101843005/630001
6 years, 11 months ago (2014-01-07 22:11:55 UTC) #13
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) nacl_integration http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=242846
6 years, 11 months ago (2014-01-08 01:07:20 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/101843005/630001
6 years, 11 months ago (2014-01-08 01:11:16 UTC) #15
commit-bot: I haz the power
6 years, 11 months ago (2014-01-08 06:15:48 UTC) #16
Message was sent while issue was closed.
Change committed as 243493

Powered by Google App Engine
This is Rietveld 408576698