Chromium Code Reviews
Descriptionport ARGB to 565 dithering SSE2 code to GCC.
Previously the assembly code was only available to Windows.
This CL ports the SSE2 code to GCC syntax.
When running a profiler on all the unittests, this function
was the slowest of all functions that still ran in C code.
3.71% libyuv_unittest libyuv_unittest [.] ARGBToRGB565DitherRow_C
Was
ARGBToRGB565Dither_Opt (2894 ms)
Now
ARGBToRGB565Dither_Opt (432 ms)
TBR=harryjin@google.com
BUG=libyuv:492
Committed: https://chromium.googlesource.com/libyuv/libyuv/+/cc89e3a77be30a27f7c56ee32860e5bbc9a00cc2
Patch Set 1 #Patch Set 2 : remove comment about 8 pixels which is wrong #
Messages
Total messages: 2 (0 generated)
|
|||||||||||||||||||||||||||||||||||||