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

Issue 8954003: Revised sub-rectangle scaling for use in Chromoting. (Closed)

Created:
9 years ago by Wez
Modified:
8 years, 11 months ago
CC:
chromium-reviews, jamiewalch+watch_chromium.org, hclam+watch_chromium.org, simonmorris+watch_chromium.org, ddorwin+watch_chromium.org, fischman+watch_chromium.org, amit, sanjeevr, acolwell+watch_chromium.org, annacc+watch_chromium.org, garykac+watch_chromium.org, wez+watch_chromium.org, lambroslambrou+watch_chromium.org, pam+watch_chromium.org, Paweł Hajdan Jr., vrk (LEFT CHROMIUM), sergeyu+watch_chromium.org, scherkus (not reviewing), ihf+watch_chromium.org
Visibility:
Public.

Description

Linear sub-rectangle scaler for use in Chromoting. This implementation re-uses the common row filter procedures, but is currently limited to a C horizontal interpolation procedure. There's also plenty of scope for optimizing the new sub-rectangle scaler routine. BUG=93451 TEST=media_unittests, remoting_unittests and manual verification of image quality of Chromoting sessions using fit-to-screen. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=117748

Patch Set 1 #

Patch Set 2 : Replace bounds-check on loop with a DCHECK. #

Total comments: 3

Patch Set 3 : Improve unit-test. #

Patch Set 4 : Fix bugs in YUV buffer allocation. #

Patch Set 5 : More fixes. #

Patch Set 6 : Fix last-line UV buffer overrun. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+346 lines, -72 lines) Patch
M media/base/simd/convert_yuv_to_rgb.h View 1 chunk +8 lines, -0 lines 0 comments Download
M media/base/simd/convert_yuv_to_rgb_c.cc View 1 2 6 chunks +32 lines, -17 lines 0 comments Download
M media/base/yuv_convert.h View 1 chunk +19 lines, -0 lines 0 comments Download
M media/base/yuv_convert.cc View 1 2 3 4 5 2 chunks +152 lines, -0 lines 0 comments Download
M media/base/yuv_convert_unittest.cc View 1 2 3 4 3 chunks +76 lines, -0 lines 0 comments Download
M media/tools/scaler_bench/scaler_bench.cc View 2 chunks +43 lines, -0 lines 0 comments Download
M remoting/base/decoder_vp8.cc View 1 2 1 chunk +16 lines, -10 lines 0 comments Download
M remoting/base/util.h View 1 2 1 chunk +0 lines, -10 lines 0 comments Download
M remoting/base/util.cc View 1 2 1 chunk +0 lines, -35 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Wez
scherkus: PTAL the changes under media/ This CL is based on Alpha's CL 7744002, and ...
9 years ago (2011-12-15 01:32:50 UTC) #1
Wez
fbarchard: FYI, this is our draft CL for sub-rectangle scaling for Chromoting. hbono: PTAL at ...
9 years ago (2011-12-15 21:34:07 UTC) #2
scherkus (not reviewing)
http://codereview.chromium.org/8954003/diff/1012/media/base/yuv_convert.h File media/base/yuv_convert.h (right): http://codereview.chromium.org/8954003/diff/1012/media/base/yuv_convert.h#newcode73 media/base/yuv_convert.h:73: void ScaleYUVToRGB32WithRect(const uint8* yplane, thinking out loud... I wonder ...
9 years ago (2011-12-15 21:52:34 UTC) #3
Wez
hclam: PTAL!
9 years ago (2011-12-19 20:56:41 UTC) #4
Alpha Left Google
LGTM. Thanks for picking this up!
9 years ago (2011-12-19 21:00:18 UTC) #5
Hironori Bono
LGTM2. (I'm not an owner, though.) Thanks for your change. Regards, Hironori Bono
9 years ago (2011-12-22 06:15:23 UTC) #6
Wez
scherkus: Could you take a look at this CL & make sure you're happy with ...
8 years, 11 months ago (2012-01-12 02:29:48 UTC) #7
scherkus (not reviewing)
LGTM http://codereview.chromium.org/8954003/diff/1012/media/base/yuv_convert.h File media/base/yuv_convert.h (right): http://codereview.chromium.org/8954003/diff/1012/media/base/yuv_convert.h#newcode73 media/base/yuv_convert.h:73: void ScaleYUVToRGB32WithRect(const uint8* yplane, On 2012/01/12 02:29:48, Wez ...
8 years, 11 months ago (2012-01-12 02:40:31 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wez@chromium.org/8954003/22001
8 years, 11 months ago (2012-01-14 00:10:31 UTC) #9
commit-bot: I haz the power
8 years, 11 months ago (2012-01-14 01:21:20 UTC) #10
Change committed as 117748

Powered by Google App Engine
This is Rietveld 408576698