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

Issue 2571163002: Add PIXEL_FORMAT_I422. (Closed)

Created:
4 years ago by jcliang
Modified:
4 years ago
CC:
chromium-reviews, chromoting-reviews_chromium.org, posciak+watch_chromium.org, feature-media-reviews_chromium.org, apacible+watch_chromium.org, cc-bugs_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org, Pawel Osciak
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add PIXEL_FORMAT_I422. The Mediatek JPEG decoder uses the multi-planar buffer format V4L2_PIX_FMT_YUV422M. (https://linuxtv.org/downloads/v4l-dvb-apis/uapi/v4l/pixfmt-yuv422m.html) Apart from how the buffer is allocated the format is basically idential to I422 (a.k.a YU16). BUG=chrome-os-partner:43703 TEST=Build chrome and test with jpeg decoder that uses I422 format. CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Committed: https://crrev.com/3837dbaf61fa08ae501d4bb7374c6930b8d9ff68 Cr-Commit-Position: refs/heads/master@{#439324}

Patch Set 1 #

Total comments: 4

Patch Set 2 : fix typo #

Patch Set 3 : fix compilation error in video_frame_unittest.cc #

Total comments: 4

Patch Set 4 : move switch cases to align with the enum value order #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -2 lines) Patch
M cc/resources/video_resource_updater.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M media/base/video_frame.cc View 1 2 3 5 chunks +5 lines, -1 line 0 comments Download
M media/base/video_frame_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M media/base/video_types.h View 1 1 chunk +4 lines, -1 line 0 comments Download
M media/base/video_types.cc View 1 2 3 3 chunks +4 lines, -0 lines 0 comments Download
M media/remoting/proto/remoting_rpc_message.proto View 1 chunk +1 line, -0 lines 0 comments Download
M media/remoting/rpc/proto_enum_utils.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M media/renderers/skcanvas_video_renderer.cc View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M media/video/gpu_memory_buffer_video_frame_pool.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 39 (24 generated)
wuchengli
- Explain what this format is and why we need this format in the change ...
4 years ago (2016-12-14 08:16:53 UTC) #6
jcliang
https://codereview.chromium.org/2571163002/diff/1/media/base/video_types.h File media/base/video_types.h (right): https://codereview.chromium.org/2571163002/diff/1/media/base/video_types.h#newcode64 media/base/video_types.h:64: PIXEL_FORMAT_I422 = On 2016/12/14 08:16:53, wuchengli wrote: > I ...
4 years ago (2016-12-14 08:25:41 UTC) #7
wuchengli
lgtm
4 years ago (2016-12-14 08:50:51 UTC) #10
liberato (no reviews please)
i prefer I422 also, since 'YU' and 'YV' are visually very similar. lgtm % a ...
4 years ago (2016-12-14 17:51:44 UTC) #15
brianderson
cc lgtm
4 years ago (2016-12-14 19:32:59 UTC) #16
erickung1
media/remoting lgtm https://codereview.chromium.org/2571163002/diff/40001/media/remoting/rpc/proto_enum_utils.cc File media/remoting/rpc/proto_enum_utils.cc (right): https://codereview.chromium.org/2571163002/diff/40001/media/remoting/rpc/proto_enum_utils.cc#newcode313 media/remoting/rpc/proto_enum_utils.cc:313: CASE_RETURN_OTHER(PIXEL_FORMAT_I422); any reason to add it here ...
4 years ago (2016-12-14 19:42:26 UTC) #17
jcliang
https://codereview.chromium.org/2571163002/diff/40001/media/remoting/rpc/proto_enum_utils.cc File media/remoting/rpc/proto_enum_utils.cc (right): https://codereview.chromium.org/2571163002/diff/40001/media/remoting/rpc/proto_enum_utils.cc#newcode313 media/remoting/rpc/proto_enum_utils.cc:313: CASE_RETURN_OTHER(PIXEL_FORMAT_I422); On 2016/12/14 19:42:26, erickung1 wrote: > any reason ...
4 years ago (2016-12-15 04:28:43 UTC) #18
miu
lgtm (took a quick look--I trust the other reviewers lgtm's)
4 years ago (2016-12-15 22:55:42 UTC) #23
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/2571163002/60001
4 years ago (2016-12-16 04:21:03 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/324959)
4 years ago (2016-12-16 04:55:14 UTC) #28
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/2571163002/60001
4 years ago (2016-12-16 06:03:52 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/355857)
4 years ago (2016-12-16 08:50:31 UTC) #32
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/2571163002/60001
4 years ago (2016-12-17 03:29:13 UTC) #34
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-12-17 04:46:21 UTC) #37
commit-bot: I haz the power
4 years ago (2016-12-17 04:48:21 UTC) #39
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/3837dbaf61fa08ae501d4bb7374c6930b8d9ff68
Cr-Commit-Position: refs/heads/master@{#439324}

Powered by Google App Engine
This is Rietveld 408576698