[PATCH 1/5] d3d9/tests: Clean up yuv_color_test.

Stefan Dösinger stefandoesinger at gmail.com
Sun Feb 16 09:46:03 CST 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 2014-02-14 20:24, schrieb Henri Verbeet:
> On 13 February 2014 23:10, Stefan Dösinger <stefan at codeweavers.com> wrote:
>> +             * Unfortunately different implementations(Windows-NV and Mac-AMD tested) interpret some colors vastly
>> +             * differently, so we need a max diff of 18. */
> And actually, is there any chance the "vastly differently" here is
> because of using BT.601 vs. BT.709 coefficients, or not including the
> headroom/footroom scaling + offsets?
Maybe, but I can't look into either driver. If I remember correctly I got the reference values from the GeForce 7 driver on Windows and our shader results match it pretty well (plus / minus 2 or something). Geforce 8+ cards on Windows are off pretty far, and the GL_APPLE_ycbcr_422 support on OSX deviated even more.

I think we're also doing some things wrong with the coefficients in our shader. I read about a common pitfall when handling 8 bit integer chroma that I thought we're falling into, but I don't remember the details.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJTAN07AAoJEN0/YqbEcdMw1XkQAJIVxUs2cbTwrS5mTQo+DVWA
THeFaWm10TbHKNqEZQZMdTjD3BgKsZ5PYNCpGirMlOeLZqMc71Z6IQ6AZLWJcI/o
iT8JIZ4KOi3e95ggyCkWkPCnkD2oSq+WorRakgIFoIjrd56KPvPB1vD8DHwz7DA0
ybE1CdHWVyEEDO2LRDnSVI9gqGsWGo+8y4T5hW929KyMOkm8GG//T0NMdoddaJol
W1mp2n8Qh3Xb1VP9rMSBHmqPAPC3a/ma/21oflOR/ywDgcofsBGA97tHOYPhWERo
mf2G5o1Isv+pgoFz5J8cvvnMaGn7uESWJXGpzTKkDV/zbzqdOVelCC3qHmhP4Pe1
4HVQ+NegBeVORljkTbebCnh5KyfJXBt+9yfiWKW62xjjK3So17eKIYCHLKZQ/uKg
pdK1KMseYuXKWAyYJi/4W+UsIBbhgS2yZKSQeuNVMmnTa7hdBG5fPzmL8XGx1jbB
13CzOVSZ7hASA1tZIcnjErUrl6rFkfunf8W3NZS8ExoD5sZ6noTt2kej4kpDyvy/
xt5qzovuN/HNets7D+P4F83hwtK9LgRVSpoxBFm1kR6/GVNQTNaGlXsNxsdlDzHY
DVyC1Zgj7fD5LyU4qJ+tlNmTQlUMLxGS6WqNjZzL7vW7bf3l2bWF/DjsatCkb2v3
T1dtcM4ttsR/iqIcfGOs
=el3W
-----END PGP SIGNATURE-----



More information about the wine-devel mailing list