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

Issue 2113243003: media: Introduce Y8 and Y16 video pixel format (Closed)

Created:
4 years, 5 months ago by dshwang
Modified:
4 years, 2 months ago
CC:
chromium-reviews, posciak+watch_chromium.org, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

media: Introduce Y8 and Y16 video pixel format Depth and infrared camera uses these format. TODO: native support for depth camera. BUG=624436 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_precise_blink_rel Committed: https://crrev.com/ea1ddc4e14b1b51a8dcbc29cabcec6513127e0c9 Cr-Commit-Position: refs/heads/master@{#421804}

Patch Set 1 #

Patch Set 2 : build fix #

Total comments: 6

Patch Set 3 : error handling when bits_per_channel == 16 #

Total comments: 1

Patch Set 4 : rebase to ToT #

Total comments: 8

Patch Set 5 : improve comments #

Total comments: 2

Patch Set 6 : resolved reviewers' comments #

Patch Set 7 : rebase to land #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -3 lines) Patch
M cc/resources/video_resource_updater.cc View 1 2 3 4 5 6 3 chunks +9 lines, -0 lines 0 comments Download
M media/base/video_frame.cc View 1 2 3 4 5 6 5 chunks +7 lines, -1 line 0 comments Download
M media/base/video_types.h View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M media/base/video_types.cc View 1 2 3 4 5 6 3 chunks +8 lines, -0 lines 0 comments Download
M media/mojo/common/media_type_converters.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M media/mojo/interfaces/media_types.mojom View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
M media/renderers/skcanvas_video_renderer.cc View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M media/video/gpu_memory_buffer_video_frame_pool.cc View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 103 (62 generated)
dshwang
dnicoara@, could you review? It's initial patch for support 8bit and 16bit video stream. Y8 ...
4 years, 5 months ago (2016-07-01 12:19:51 UTC) #2
dnicoara
+ hubbe@ since he is an owner over some of these files. I think these ...
4 years, 5 months ago (2016-07-04 14:14:08 UTC) #7
dshwang
On 2016/07/04 14:14:08, dnicoara wrote: > + hubbe@ since he is an owner over some ...
4 years, 5 months ago (2016-07-04 14:55:05 UTC) #10
fbarchard1
lgtm
4 years, 5 months ago (2016-07-05 18:03:17 UTC) #13
dshwang
On 2016/07/05 18:03:17, fbarchard1 wrote: > lgtm Thank you for reviewing! hubbe@, kbr@, could you ...
4 years, 5 months ago (2016-07-06 10:30:36 UTC) #14
hubbe
https://codereview.chromium.org/2113243003/diff/80001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/2113243003/diff/80001/cc/resources/video_resource_updater.cc#newcode288 cc/resources/video_resource_updater.cc:288: case media::PIXEL_FORMAT_Y16: The code below doesn't support bits_per_channel higher ...
4 years, 5 months ago (2016-07-06 17:39:00 UTC) #15
dshwang
Thank you for reviewing. https://codereview.chromium.org/2113243003/diff/80001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/2113243003/diff/80001/cc/resources/video_resource_updater.cc#newcode288 cc/resources/video_resource_updater.cc:288: case media::PIXEL_FORMAT_Y16: On 2016/07/06 17:39:00, ...
4 years, 5 months ago (2016-07-06 17:45:18 UTC) #16
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2113243003/diff/80001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/2113243003/diff/80001/cc/resources/video_resource_updater.cc#newcode288 cc/resources/video_resource_updater.cc:288: case media::PIXEL_FORMAT_Y16: On 2016/07/06 17:45:18, dshwang wrote: > On ...
4 years, 5 months ago (2016-07-06 18:24:42 UTC) #17
dshwang
Thank you for reviewing! https://codereview.chromium.org/2113243003/diff/80001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/2113243003/diff/80001/cc/resources/video_resource_updater.cc#newcode288 cc/resources/video_resource_updater.cc:288: case media::PIXEL_FORMAT_Y16: On 2016/07/06 18:24:42, ...
4 years, 5 months ago (2016-07-07 12:41:08 UTC) #18
hubbe
https://codereview.chromium.org/2113243003/diff/80001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/2113243003/diff/80001/cc/resources/video_resource_updater.cc#newcode288 cc/resources/video_resource_updater.cc:288: case media::PIXEL_FORMAT_Y16: On 2016/07/07 12:41:08, dshwang wrote: > On ...
4 years, 5 months ago (2016-07-07 17:51:39 UTC) #19
dshwang
Could you review agian? Thank you. https://codereview.chromium.org/2113243003/diff/80001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/2113243003/diff/80001/cc/resources/video_resource_updater.cc#newcode288 cc/resources/video_resource_updater.cc:288: case media::PIXEL_FORMAT_Y16: On ...
4 years, 5 months ago (2016-07-07 18:11:38 UTC) #20
hubbe
non-owner LGTM
4 years, 3 months ago (2016-09-20 17:06:56 UTC) #29
fbarchard1
https://codereview.chromium.org/2113243003/diff/120001/media/base/video_types.h File media/base/video_types.h (right): https://codereview.chromium.org/2113243003/diff/120001/media/base/video_types.h#newcode56 media/base/video_types.h:56: PIXEL_FORMAT_Y8 = 22, // single 8bpp plane. // Single ...
4 years, 3 months ago (2016-09-20 21:52:24 UTC) #30
dshwang
Thank you for reviewing. resolved concerns. danakj@, could you review cc/ ? mkwst@, could you ...
4 years, 3 months ago (2016-09-21 09:00:00 UTC) #36
danakj
https://codereview.chromium.org/2113243003/diff/140001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/2113243003/diff/140001/cc/resources/video_resource_updater.cc#newcode347 cc/resources/video_resource_updater.cc:347: NOTREACHED(); Please don't both DCHECK and handle the case. ...
4 years, 3 months ago (2016-09-22 20:55:20 UTC) #37
fbarchard1
https://codereview.chromium.org/2113243003/diff/120001/media/renderers/skcanvas_video_renderer.cc File media/renderers/skcanvas_video_renderer.cc (right): https://codereview.chromium.org/2113243003/diff/120001/media/renderers/skcanvas_video_renderer.cc#newcode613 media/renderers/skcanvas_video_renderer.cc:613: case PIXEL_FORMAT_Y8: On 2016/09/21 09:00:00, dshwang wrote: > On ...
4 years, 3 months ago (2016-09-22 21:06:57 UTC) #38
dshwang
Thank you for reviewing. resolved concerns. danakj@, could you review cc/ ? mkwst@, could you ...
4 years, 2 months ago (2016-09-26 13:02:23 UTC) #42
Mike West
On 2016/09/26 at 13:02:23, dongseong.hwang wrote: > mkwst@, could you review tools/ ? Sorry, I'm ...
4 years, 2 months ago (2016-09-26 13:09:21 UTC) #46
dshwang
On 2016/09/26 13:09:21, Mike West (OOO until 26th) wrote: > On 2016/09/26 at 13:02:23, dongseong.hwang ...
4 years, 2 months ago (2016-09-26 17:46:45 UTC) #49
Alexei Svitkine (slow)
lgtm
4 years, 2 months ago (2016-09-26 18:08:28 UTC) #50
danakj
cc LGTM https://codereview.chromium.org/2113243003/diff/160001/cc/resources/video_resource_updater.cc File cc/resources/video_resource_updater.cc (right): https://codereview.chromium.org/2113243003/diff/160001/cc/resources/video_resource_updater.cc#newcode340 cc/resources/video_resource_updater.cc:340: NOTREACHED(); You can write this DCHECK_NE(bit_per_channel_, 16)
4 years, 2 months ago (2016-09-26 18:52:07 UTC) #51
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2113243003/180001
4 years, 2 months ago (2016-09-27 12:25:45 UTC) #59
commit-bot: I haz the power
Your CL was about to rely on recently removed CQ feature(s): * Specifying master names ...
4 years, 2 months ago (2016-09-27 12:25:47 UTC) #61
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2113243003/180001
4 years, 2 months ago (2016-09-27 12:41:54 UTC) #64
commit-bot: I haz the power
Your CL was about to rely on recently removed CQ feature(s): * Specifying master names ...
4 years, 2 months ago (2016-09-27 12:41:57 UTC) #66
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2113243003/180001
4 years, 2 months ago (2016-09-27 14:19:33 UTC) #68
commit-bot: I haz the power
Your CL was about to rely on recently removed CQ feature(s): * Specifying master names ...
4 years, 2 months ago (2016-09-27 14:19:36 UTC) #70
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2113243003/180001
4 years, 2 months ago (2016-09-27 14:22:56 UTC) #73
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/267664)
4 years, 2 months ago (2016-09-27 14:32:23 UTC) #75
dshwang
meacer@, could you review media/mojo/? asvitkine@ already called lgtm.
4 years, 2 months ago (2016-09-27 14:43:02 UTC) #77
cpu_(ooo_6.6-7.5)
sorry I am not familiar with media/mojo
4 years, 2 months ago (2016-09-27 15:41:41 UTC) #78
dshwang
On 2016/09/27 15:41:41, cpu wrote: > sorry I am not familiar with media/mojo Mustafa, could ...
4 years, 2 months ago (2016-09-28 18:00:07 UTC) #79
meacer
Sorry for the delay. media/mojo/ LGTM.
4 years, 2 months ago (2016-09-28 19:12:57 UTC) #81
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2113243003/180001
4 years, 2 months ago (2016-09-28 22:38:25 UTC) #83
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_clang_dbg_recipe/builds/136536) android_compile_dbg on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 2 months ago (2016-09-28 22:42:06 UTC) #85
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2113243003/200001
4 years, 2 months ago (2016-09-29 09:47:02 UTC) #89
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2113243003/220001
4 years, 2 months ago (2016-09-29 09:54:41 UTC) #94
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/288635)
4 years, 2 months ago (2016-09-29 10:49:03 UTC) #96
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2113243003/240001
4 years, 2 months ago (2016-09-29 11:16:26 UTC) #100
commit-bot: I haz the power
Committed patchset #7 (id:240001)
4 years, 2 months ago (2016-09-29 12:38:28 UTC) #101
commit-bot: I haz the power
4 years, 2 months ago (2016-09-29 12:40:10 UTC) #103
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/ea1ddc4e14b1b51a8dcbc29cabcec6513127e0c9
Cr-Commit-Position: refs/heads/master@{#421804}

Powered by Google App Engine
This is Rietveld 408576698