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

Issue 113407: ScaleYV12 optimization.... (Closed)

Created:
11 years, 7 months ago by fbarchard
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

YUV with clipping. All functions do 2 pixels at a time. 90 and 270 rotations implemented. YV16 refactored. YV12 code accepts a YuvType that allows the same code to support YV16 as well. Special case for half size removed. Special case for doubling added. 3.62 ms versus 8.62 for general purpose code. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=16334

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 77

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Total comments: 13

Patch Set 17 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1324 lines, -1356 lines) Patch
M chrome/renderer/media/video_renderer_impl.cc View 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +10 lines, -9 lines 0 comments Download
M media/base/video_frame_impl_unittest.cc View 8 9 10 11 12 13 14 1 chunk +10 lines, -9 lines 0 comments Download
M media/base/yuv_convert.h View 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +47 lines, -21 lines 0 comments Download
M media/base/yuv_convert.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +123 lines, -45 lines 0 comments Download
M media/base/yuv_convert_unittest.cc View 8 9 10 11 12 13 14 4 chunks +135 lines, -53 lines 0 comments Download
M media/base/yuv_row.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +42 lines, -20 lines 0 comments Download
M media/base/yuv_row_linux.cc View 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +13 lines, -75 lines 0 comments Download
M media/base/yuv_row_mac.cc View 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +13 lines, -75 lines 0 comments Download
M media/base/yuv_row_win.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +251 lines, -76 lines 0 comments Download
D media/base/yuv_scale.h View 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -64 lines 0 comments Download
M media/base/yuv_scale.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -166 lines 0 comments Download
D media/base/yuv_scale_unittest.cc View 8 9 10 11 12 13 14 1 chunk +0 lines, -134 lines 0 comments Download
M media/media.gyp View 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +0 lines, -3 lines 0 comments Download
M media/player/mainfrm.h View 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +19 lines, -9 lines 0 comments Download
M media/player/player_wtl.rc View 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +509 lines, -478 lines 0 comments Download
M media/player/resource.h View 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +66 lines, -64 lines 0 comments Download
M media/player/view.h View 3 4 5 6 7 8 9 10 11 12 13 14 12 chunks +86 lines, -55 lines 0 comments Download
D media/test/data/bali.yv12.640_360.rgb View Binary file 0 comments Download
D media/test/data/bali.yv16.640_360.rgb View Binary file 0 comments Download

Messages

Total messages: 8 (0 generated)
fbarchard
Bit faster MMX code for scaling.
11 years, 7 months ago (2009-05-14 19:00:57 UTC) #1
fbarchard
I've removed YV16 entry point for convert... see what you think
11 years, 7 months ago (2009-05-15 19:58:32 UTC) #2
fbarchard
Take a look at the Chrome change http://codereview.chromium.org/113407/diff/1010/1015 I think the new function looks pretty, ...
11 years, 7 months ago (2009-05-15 21:42:45 UTC) #3
scherkus (not reviewing)
Mostly style nits. I'm wondering if we should switch to using a struct to pass ...
11 years, 7 months ago (2009-05-16 00:48:59 UTC) #4
fbarchard
Done. The Windows version now implements all assembler functions with 2 pixels at a time ...
11 years, 7 months ago (2009-05-16 04:44:22 UTC) #5
Alpha Left Google
a few nits, will be checked in soon! :) http://codereview.chromium.org/113407/diff/1259/1267 File media/base/yuv_convert.cc (right): http://codereview.chromium.org/113407/diff/1259/1267#newcode10 Line ...
11 years, 7 months ago (2009-05-18 20:50:28 UTC) #6
fbarchard
done http://codereview.chromium.org/113407/diff/1259/1267 File media/base/yuv_convert.cc (right): http://codereview.chromium.org/113407/diff/1259/1267#newcode76 Line 76: // Header for low level assembler functions ...
11 years, 7 months ago (2009-05-18 21:50:41 UTC) #7
Alpha Left Google
11 years, 7 months ago (2009-05-18 21:51:56 UTC) #8
LGTM.

Powered by Google App Engine
This is Rietveld 408576698