DescriptionRemove 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 #
Messages
Total messages: 15 (0 generated)
|