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

Issue 245103003: Remove non-PIC specializations of media SIMD YUV conversion routines. (Closed)

Created:
6 years, 8 months ago by rileya (GONE FROM CHROMIUM)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@m
Visibility:
Public.

Description

Remove non-PIC specializations of media SIMD YUV conversion routines. This change is made with an eye towards supporting different color ranges in YUV conversion (namely, YUVJ420P). This will require passing in a pointer to a conversion table, so the non-PIC code which hardcodes the table address is problematic (it is likely possible to code around this and maintain some of the slight perf gain of the non-PIC code, but it would require even more ugly, difficult-to-maintain code). This will cause a small performance regression for platforms where PIC code is not required (32-bit Windows only afaik). The nearest-neighbor scaling routines take the biggest perf hit (up to 20%), but are currently not actually used anywhere. The rest (straight conversion, and bilinear scaling) didn't show an appreciable performance hit in my tests. BUG=172898 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267390

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -186 lines) Patch
M media/base/simd/convert_yuv_to_rgb_mmx.inc View 2 chunks +0 lines, -55 lines 0 comments Download
M media/base/simd/convert_yuva_to_argb_mmx.inc View 2 chunks +0 lines, -82 lines 0 comments Download
M media/base/simd/linear_scale_yuv_to_rgb_mmx.inc View 3 chunks +3 lines, -30 lines 0 comments Download
M media/base/simd/scale_yuv_to_rgb_mmx.inc View 3 chunks +0 lines, -19 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
rileya (GONE FROM CHROMIUM)
I'd originally done this in another CL that added YUVJ support, but it seemed like ...
6 years, 8 months ago (2014-04-21 21:15:36 UTC) #1
scherkus (not reviewing)
lgtm OOC can we remove the nearest neighbour code? I'm not a fan of leaving ...
6 years, 8 months ago (2014-04-22 18:13:50 UTC) #2
rileya (GONE FROM CHROMIUM)
It looks like it still is used as a fallback for very large frames (https://code.google.com/p/chromium/codesearch#chromium/src/media/base/yuv_convert.cc&l=222), ...
6 years, 8 months ago (2014-04-23 18:19:54 UTC) #3
scherkus (not reviewing)
On 2014/04/23 18:19:54, rileya wrote: > It looks like it still is used as a ...
6 years, 8 months ago (2014-04-23 18:23:37 UTC) #4
rileya (GONE FROM CHROMIUM)
The CQ bit was checked by rileya@chromium.org
6 years, 7 months ago (2014-04-29 15:11:06 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rileya@chromium.org/245103003/1
6 years, 7 months ago (2014-04-29 15:11:23 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-29 16:37:44 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel on tryserver.chromium
6 years, 7 months ago (2014-04-29 16:37:45 UTC) #8
rileya (GONE FROM CHROMIUM)
The CQ bit was checked by rileya@chromium.org
6 years, 7 months ago (2014-04-30 21:59:33 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rileya@chromium.org/245103003/1
6 years, 7 months ago (2014-04-30 21:59:52 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-04-30 22:53:40 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel on tryserver.chromium
6 years, 7 months ago (2014-04-30 22:53:40 UTC) #12
rileya1
The CQ bit was checked by rileya@google.com
6 years, 7 months ago (2014-04-30 22:54:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rileya@chromium.org/245103003/1
6 years, 7 months ago (2014-04-30 22:55:49 UTC) #14
commit-bot: I haz the power
6 years, 7 months ago (2014-05-01 00:28:18 UTC) #15
Message was sent while issue was closed.
Change committed as 267390

Powered by Google App Engine
This is Rietveld 408576698