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

Issue 760593003: Add PIXEL_FORMAT_NV12 into VideoPixelFormat (Closed)

Created:
6 years ago by zhaoze.zhou
Modified:
6 years ago
CC:
chromium-reviews, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add PIXEL_FORMAT_NV12 into VideoPixelFormat This cl add PIXEL_FORMAT_NV12 into video capture type and add calls in OnIncomingCapturedData() to call the new API. This cl also add unit-test to run OnIncomingCapturedData() with all supported formats. Committed: https://crrev.com/12ee8f52ccc7cfa8d95c6a0dc16b81fb2db86227 Cr-Commit-Position: refs/heads/master@{#307497}

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Patch Set 4 : #

Total comments: 7

Patch Set 5 : #

Total comments: 7

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Total comments: 3

Patch Set 8 : change test name #

Total comments: 1

Patch Set 9 : Remove un-needed mock framewok #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -0 lines) Patch
M content/browser/renderer_host/media/video_capture_controller.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/renderer_host/media/video_capture_controller_unittest.cc View 1 2 3 4 5 6 7 8 1 chunk +36 lines, -0 lines 0 comments Download
M media/video/capture/video_capture_types.h View 1 chunk +1 line, -0 lines 0 comments Download
M media/video/capture/video_capture_types.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (13 generated)
zhaoze.zhou
vrk@chromium.org: PTAL. thanks :)
6 years ago (2014-11-26 14:38:38 UTC) #3
mcasas
Drive-by: We add pixel formats on demand, so either link to a BUG where the ...
6 years ago (2014-11-26 19:01:23 UTC) #5
lgombos
On 2014/11/26 19:01:23, mcasas wrote: > Drive-by: We add pixel formats on demand We use ...
6 years ago (2014-12-02 23:36:10 UTC) #6
mcasas
On 2014/12/02 23:36:10, lgombos wrote: > On 2014/11/26 19:01:23, mcasas wrote: > > Drive-by: We ...
6 years ago (2014-12-03 00:01:33 UTC) #7
ostap
https://codereview.chromium.org/760593003/diff/20001/content/browser/renderer_host/media/video_capture_controller_unittest.cc File content/browser/renderer_host/media/video_capture_controller_unittest.cc (right): https://codereview.chromium.org/760593003/diff/20001/content/browser/renderer_host/media/video_capture_controller_unittest.cc#newcode585 content/browser/renderer_host/media/video_capture_controller_unittest.cc:585: device_->OnIncomingCapturedData( I think you have to add other test, ...
6 years ago (2014-12-03 18:45:44 UTC) #9
mcasas
On 2014/12/03 18:45:44, ostap wrote: > https://codereview.chromium.org/760593003/diff/20001/content/browser/renderer_host/media/video_capture_controller_unittest.cc > File content/browser/renderer_host/media/video_capture_controller_unittest.cc > (right): > > https://codereview.chromium.org/760593003/diff/20001/content/browser/renderer_host/media/video_capture_controller_unittest.cc#newcode585 ...
6 years ago (2014-12-03 19:22:18 UTC) #10
kbalazs
https://codereview.chromium.org/760593003/diff/100001/content/browser/renderer_host/media/video_capture_controller_unittest.cc File content/browser/renderer_host/media/video_capture_controller_unittest.cc (right): https://codereview.chromium.org/760593003/diff/100001/content/browser/renderer_host/media/video_capture_controller_unittest.cc#newcode635 content/browser/renderer_host/media/video_capture_controller_unittest.cc:635: // Exercise OnIncomingCapturedData() code path of VideoCaptureController Instead of ...
6 years ago (2014-12-04 17:00:30 UTC) #13
zhaoze.zhou
https://codereview.chromium.org/760593003/diff/100001/content/browser/renderer_host/media/video_capture_controller_unittest.cc File content/browser/renderer_host/media/video_capture_controller_unittest.cc (right): https://codereview.chromium.org/760593003/diff/100001/content/browser/renderer_host/media/video_capture_controller_unittest.cc#newcode635 content/browser/renderer_host/media/video_capture_controller_unittest.cc:635: // Exercise OnIncomingCapturedData() code path of VideoCaptureController On 2014/12/04 ...
6 years ago (2014-12-04 19:01:42 UTC) #15
mcasas
LGTM modulo my nits. Please update description and run some bots (f.i. linux_chromium_dbg). You'll still ...
6 years ago (2014-12-04 21:09:07 UTC) #16
zhaoze.zhou
https://codereview.chromium.org/760593003/diff/140001/content/browser/renderer_host/media/video_capture_controller_unittest.cc File content/browser/renderer_host/media/video_capture_controller_unittest.cc (right): https://codereview.chromium.org/760593003/diff/140001/content/browser/renderer_host/media/video_capture_controller_unittest.cc#newcode635 content/browser/renderer_host/media/video_capture_controller_unittest.cc:635: TEST_F(VideoCaptureControllerTest, CaptureAllVideoFormats) { On 2014/12/04 21:09:06, mcasas wrote: > ...
6 years ago (2014-12-04 21:54:16 UTC) #17
vrk (LEFT CHROMIUM)
lgtm https://codereview.chromium.org/760593003/diff/160001/content/browser/renderer_host/media/video_capture_controller_unittest.cc File content/browser/renderer_host/media/video_capture_controller_unittest.cc (right): https://codereview.chromium.org/760593003/diff/160001/content/browser/renderer_host/media/video_capture_controller_unittest.cc#newcode645 content/browser/renderer_host/media/video_capture_controller_unittest.cc:645: // add clients nit: Comments need to be ...
6 years ago (2014-12-04 22:07:22 UTC) #18
zhaoze.zhou
https://codereview.chromium.org/760593003/diff/160001/content/browser/renderer_host/media/video_capture_controller_unittest.cc File content/browser/renderer_host/media/video_capture_controller_unittest.cc (right): https://codereview.chromium.org/760593003/diff/160001/content/browser/renderer_host/media/video_capture_controller_unittest.cc#newcode645 content/browser/renderer_host/media/video_capture_controller_unittest.cc:645: // add clients On 2014/12/04 22:07:22, vrk wrote: > ...
6 years ago (2014-12-04 23:01:34 UTC) #19
mcasas
https://codereview.chromium.org/760593003/diff/140001/content/browser/renderer_host/media/video_capture_controller_unittest.cc File content/browser/renderer_host/media/video_capture_controller_unittest.cc (right): https://codereview.chromium.org/760593003/diff/140001/content/browser/renderer_host/media/video_capture_controller_unittest.cc#newcode636 content/browser/renderer_host/media/video_capture_controller_unittest.cc:636: for (int format = 0; format <= media::PIXEL_FORMAT_MAX; format++) ...
6 years ago (2014-12-04 23:11:54 UTC) #20
zhaoze.zhou
https://codereview.chromium.org/760593003/diff/180001/content/browser/renderer_host/media/video_capture_controller_unittest.cc File content/browser/renderer_host/media/video_capture_controller_unittest.cc (right): https://codereview.chromium.org/760593003/diff/180001/content/browser/renderer_host/media/video_capture_controller_unittest.cc#newcode636 content/browser/renderer_host/media/video_capture_controller_unittest.cc:636: for (int format = 0; format < media::PIXEL_FORMAT_TEXTURE; ++format) ...
6 years ago (2014-12-04 23:22:56 UTC) #21
zhaoze.zhou
https://codereview.chromium.org/760593003/diff/200001/content/browser/renderer_host/media/video_capture_controller_unittest.cc File content/browser/renderer_host/media/video_capture_controller_unittest.cc (right): https://codereview.chromium.org/760593003/diff/200001/content/browser/renderer_host/media/video_capture_controller_unittest.cc#newcode663 content/browser/renderer_host/media/video_capture_controller_unittest.cc:663: static_cast<unsigned char*>(buffer.get()->data()), on the OnIncomingCapturedData(), there's no mechanism checking ...
6 years ago (2014-12-05 17:05:11 UTC) #23
zhaoze.zhou
On 2014/12/05 17:05:11, zhaoze.zhou wrote: > https://codereview.chromium.org/760593003/diff/200001/content/browser/renderer_host/media/video_capture_controller_unittest.cc > File content/browser/renderer_host/media/video_capture_controller_unittest.cc > (right): > > https://codereview.chromium.org/760593003/diff/200001/content/browser/renderer_host/media/video_capture_controller_unittest.cc#newcode663 ...
6 years ago (2014-12-08 19:01:11 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/760593003/280001
6 years ago (2014-12-09 16:52:10 UTC) #30
commit-bot: I haz the power
Committed patchset #9 (id:280001)
6 years ago (2014-12-09 17:48:12 UTC) #31
commit-bot: I haz the power
6 years ago (2014-12-09 17:49:05 UTC) #32
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/12ee8f52ccc7cfa8d95c6a0dc16b81fb2db86227
Cr-Commit-Position: refs/heads/master@{#307497}

Powered by Google App Engine
This is Rietveld 408576698