diff options
author | Torsten Jager <t.jager@gmx.de> | 2012-04-17 14:27:36 +0300 |
---|---|---|
committer | Torsten Jager <t.jager@gmx.de> | 2012-04-17 14:27:36 +0300 |
commit | 6f50ec4dfb4bc53ca1f9a6caaf703281edea86b8 (patch) | |
tree | af2f25b48a733426597d8efa7638727837fe64a4 /TODO | |
parent | 5a6586d1c506525cbcc17f557944094b3bb3bd28 (diff) | |
download | xine-lib-6f50ec4dfb4bc53ca1f9a6caaf703281edea86b8.tar.gz xine-lib-6f50ec4dfb4bc53ca1f9a6caaf703281edea86b8.tar.bz2 |
Improved mmx_yuv2rgb()
yuv2rgb_mmx.c scales YUV and rounds them down to 8 bits
individually before the addition. That causes red and
blue to be off by up to 2, green even off by 3.
This little patch does the stuff using 10 bits per
component, plus correct rounding.
There seems to be no noticable impact on performance,
but color gradients come out much smoother now.
Diffstat (limited to 'TODO')
0 files changed, 0 insertions, 0 deletions