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

Issue 22875047: EVEA cleanup: use video utility functions in media::* (Closed)

Created:
7 years, 4 months ago by sheu
Modified:
7 years, 3 months ago
CC:
chromium-reviews, jam, apatrick_chromium, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@git-svn
Visibility:
Public.

Description

EVEA cleanup: use video utility functions in media::* * Use media::Copy{Y,U,V}Plane for copying planes * Calculate planar sizes with media::VideoFrame::AllocationSize() BUG=260210 TEST=local build, run on CrOS snow Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=219925

Patch Set 1 #

Total comments: 16

Patch Set 2 : c5ec92a8 Comments. #

Patch Set 3 : b2b1b2ee Last comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -52 lines) Patch
M content/browser/renderer_host/media/video_capture_buffer_pool.cc View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M content/browser/renderer_host/media/video_capture_buffer_pool_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller.cc View 1 chunk +5 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_host_unittest.cc View 3 chunks +5 lines, -2 lines 0 comments Download
M content/browser/renderer_host/media/web_contents_video_capture_device_unittest.cc View 1 chunk +4 lines, -2 lines 0 comments Download
M content/common/gpu/media/gpu_video_encode_accelerator.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/rtc_video_encoder.h View 1 chunk +2 lines, -2 lines 0 comments Download
M content/renderer/media/rtc_video_encoder.cc View 6 chunks +30 lines, -36 lines 0 comments Download
M media/base/video_frame.h View 1 2 chunks +5 lines, -0 lines 0 comments Download
M media/base/video_frame.cc View 1 2 chunks +37 lines, -0 lines 0 comments Download
M media/video/capture/fake_video_capture_device.cc View 1 3 chunks +9 lines, -5 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
sheu
fischman@: the meat is the modification to media::VideoFrame; the rest of the changes are just ...
7 years, 4 months ago (2013-08-23 01:13:30 UTC) #1
Cris Neckar
https://chromiumcodereview.appspot.com/22875047/diff/1/media/base/video_frame.cc File media/base/video_frame.cc (right): https://chromiumcodereview.appspot.com/22875047/diff/1/media/base/video_frame.cc#newcode131 media/base/video_frame.cc:131: if (data_size < AllocationSize(format, coded_size)) Allocation size will overflow ...
7 years, 4 months ago (2013-08-23 22:25:44 UTC) #2
sheu
cdn@: comment. https://chromiumcodereview.appspot.com/22875047/diff/1/media/base/video_frame.cc File media/base/video_frame.cc (right): https://chromiumcodereview.appspot.com/22875047/diff/1/media/base/video_frame.cc#newcode131 media/base/video_frame.cc:131: if (data_size < AllocationSize(format, coded_size)) On 2013/08/23 ...
7 years, 3 months ago (2013-08-26 21:07:06 UTC) #3
Ami GONE FROM CHROMIUM
https://chromiumcodereview.appspot.com/22875047/diff/1/content/browser/renderer_host/media/video_capture_buffer_pool.cc File content/browser/renderer_host/media/video_capture_buffer_pool.cc (right): https://chromiumcodereview.appspot.com/22875047/diff/1/content/browser/renderer_host/media/video_capture_buffer_pool.cc#newcode132 content/browser/renderer_host/media/video_capture_buffer_pool.cc:132: media::VideoFrame::AllocationSize(media::VideoFrame::I420, size)) { Is this a programming error and ...
7 years, 3 months ago (2013-08-26 22:00:23 UTC) #4
sheu
https://chromiumcodereview.appspot.com/22875047/diff/1/content/browser/renderer_host/media/video_capture_buffer_pool.cc File content/browser/renderer_host/media/video_capture_buffer_pool.cc (right): https://chromiumcodereview.appspot.com/22875047/diff/1/content/browser/renderer_host/media/video_capture_buffer_pool.cc#newcode132 content/browser/renderer_host/media/video_capture_buffer_pool.cc:132: media::VideoFrame::AllocationSize(media::VideoFrame::I420, size)) { On 2013/08/26 22:00:23, Ami Fischman wrote: ...
7 years, 3 months ago (2013-08-27 22:05:56 UTC) #5
Ami GONE FROM CHROMIUM
LGTM % comments. https://chromiumcodereview.appspot.com/22875047/diff/1/content/browser/renderer_host/media/video_capture_buffer_pool.cc File content/browser/renderer_host/media/video_capture_buffer_pool.cc (right): https://chromiumcodereview.appspot.com/22875047/diff/1/content/browser/renderer_host/media/video_capture_buffer_pool.cc#newcode132 content/browser/renderer_host/media/video_capture_buffer_pool.cc:132: media::VideoFrame::AllocationSize(media::VideoFrame::I420, size)) { On 2013/08/27 22:05:56, ...
7 years, 3 months ago (2013-08-27 23:57:08 UTC) #6
sheu
https://chromiumcodereview.appspot.com/22875047/diff/1/content/browser/renderer_host/media/video_capture_buffer_pool.cc File content/browser/renderer_host/media/video_capture_buffer_pool.cc (right): https://chromiumcodereview.appspot.com/22875047/diff/1/content/browser/renderer_host/media/video_capture_buffer_pool.cc#newcode132 content/browser/renderer_host/media/video_capture_buffer_pool.cc:132: media::VideoFrame::AllocationSize(media::VideoFrame::I420, size)) { On 2013/08/27 23:57:08, Ami Fischman wrote: ...
7 years, 3 months ago (2013-08-28 00:03:58 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/22875047/19001
7 years, 3 months ago (2013-08-28 00:05:27 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sheu@chromium.org/22875047/19001
7 years, 3 months ago (2013-08-28 00:41:17 UTC) #9
commit-bot: I haz the power
7 years, 3 months ago (2013-08-28 05:23:09 UTC) #10
Message was sent while issue was closed.
Change committed as 219925

Powered by Google App Engine
This is Rietveld 408576698