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

Issue 2020193002: Treat YU12 as an alias for I420. Simplify setting of inv_crop_height. (Closed)

Created:
4 years, 6 months ago by nisse-chromium (ooo August 14)
Modified:
4 years, 6 months ago
Base URL:
https://chromium.googlesource.com/libyuv/libyuv@master
Target Ref:
refs/heads/master
Project:
libyuv
Visibility:
Public.

Description

Treat YU12 as an alias for I420. Simplify setting of inv_crop_height. BUG= R=fbarchard@google.com Committed: https://chromium.googlesource.com/libyuv/libyuv/+/365ed3851c427772580014382b0302bfdb405dd2

Patch Set 1 #

Total comments: 4

Patch Set 2 : Use const. #

Patch Set 3 : Update ConvertFromI420, ConvertToARGB and TestCanonicalFourCC for YU12 being an alias. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -10 lines) Patch
M source/convert_from.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M source/convert_to_argb.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M source/convert_to_i420.cc View 1 3 chunks +6 lines, -8 lines 0 comments Download
M source/video_common.cc View 1 chunk +1 line, -0 lines 0 comments Download
M unit_test/video_common_test.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 14 (5 generated)
nisse-chromium (ooo August 14)
Handle YU12 as an alias for I420 in CanonicalFourCC. Simplify initialization of inv_crop_height. BTW, I ...
4 years, 6 months ago (2016-05-31 09:37:30 UTC) #2
magjed_chromium
https://codereview.chromium.org/2020193002/diff/1/source/convert_to_i420.cc File source/convert_to_i420.cc (right): https://codereview.chromium.org/2020193002/diff/1/source/convert_to_i420.cc#newcode44 source/convert_to_i420.cc:44: int abs_crop_height = (crop_height < 0) ? -crop_height : ...
4 years, 6 months ago (2016-05-31 09:48:37 UTC) #5
nisse-chromium (ooo August 14)
https://codereview.chromium.org/2020193002/diff/1/source/convert_to_i420.cc File source/convert_to_i420.cc (right): https://codereview.chromium.org/2020193002/diff/1/source/convert_to_i420.cc#newcode44 source/convert_to_i420.cc:44: int abs_crop_height = (crop_height < 0) ? -crop_height : ...
4 years, 6 months ago (2016-05-31 12:47:31 UTC) #6
fbarchard1
On 2016/05/31 12:47:31, nisse-chromium wrote: > https://codereview.chromium.org/2020193002/diff/1/source/convert_to_i420.cc > File source/convert_to_i420.cc (right): > > https://codereview.chromium.org/2020193002/diff/1/source/convert_to_i420.cc#newcode44 > ...
4 years, 6 months ago (2016-05-31 18:26:39 UTC) #7
fbarchard1
lgtm with caveat that it will re-introduce the 'predator' bug for v4l.
4 years, 6 months ago (2016-05-31 18:28:11 UTC) #9
fbarchard1
update unittests in video_common_test? TestCanonicalFourCC tests aliases. TestFourCC tests non-aliases. Can simplify conversions that include ...
4 years, 6 months ago (2016-06-01 00:05:14 UTC) #10
magjed_chromium
We still use libv4l on Linux as far as I know. We should test this ...
4 years, 6 months ago (2016-06-01 13:32:44 UTC) #11
nisse-chromium (ooo August 14)
On 2016/06/01 13:32:44, magjed_chromium_ooo_june27 wrote: > We still use libv4l on Linux as far as ...
4 years, 6 months ago (2016-06-02 08:11:51 UTC) #12
nisse-chromium (ooo August 14)
4 years, 6 months ago (2016-06-16 10:49:24 UTC) #14
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
365ed3851c427772580014382b0302bfdb405dd2 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698