Uoti Urpala
a816810266
vo_gl: improve 10-bit YUV->RGB conversion accuracy slightly
...
Modify the YUV->RGB conversion matrix to take into account the
difference between the same color value being x/255 in a 8-bit texture
and x*256/65535 in a 16-bit texture (actually things are stored as
x*4/65535 for 10-bit color, but that can be ignored here). This 0.4 %
difference in the shader float value could make shades of gray in
10-bit (or generally more than 8 bit) YUV produce RGB values with
green slightly higher than red/blue.
2012-03-09 20:48:55 +02:00
..
2011-07-05 00:38:34 +03:00
2011-12-06 23:11:50 +01:00
2011-12-06 23:11:50 +01:00
2012-03-09 20:48:55 +02:00
2012-03-09 20:48:55 +02:00
2011-12-06 23:11:50 +01:00
2011-12-06 20:32:33 +01:00
2011-07-06 13:01:08 +03:00
2011-12-06 20:32:33 +01:00
2011-12-06 20:32:33 +01:00
2011-05-02 00:43:31 +03:00
2011-10-24 07:21:32 +03:00
2011-10-24 06:18:29 +03:00
2011-11-25 23:56:28 +02:00
2011-01-26 20:39:05 +02:00
2010-11-02 04:16:56 +02:00
2011-05-02 00:46:48 +03:00
2012-02-28 03:17:25 +02:00
2012-02-28 03:17:25 +02:00
2011-04-20 04:22:53 +03:00
2011-05-06 18:33:16 +03:00
2011-05-02 00:43:31 +03:00
2010-11-02 04:16:46 +02:00
2011-11-26 20:04:16 +02:00
2011-06-29 09:17:19 +03:00
2011-04-20 04:22:53 +03:00
2011-07-06 07:24:52 +03:00
2011-06-29 11:43:19 +03:00
2012-03-01 00:22:30 +02:00
2011-01-26 20:39:05 +02:00
2011-05-02 00:36:20 +03:00
2011-05-02 00:46:03 +03:00
2011-05-02 00:43:31 +03:00
2010-11-14 13:11:20 +02:00
2012-03-09 20:48:55 +02:00
2010-11-02 04:09:18 +02:00
2010-11-02 04:16:46 +02:00
2012-03-09 20:48:54 +02:00
2011-05-02 00:43:31 +03:00
2011-01-31 16:03:10 +02:00
2011-01-26 20:39:05 +02:00
2011-07-06 13:01:08 +03:00
2012-02-28 22:17:24 +02:00
2012-03-09 20:48:54 +02:00
2011-05-02 00:43:31 +03:00
2011-06-29 11:43:19 +03:00
2012-02-01 22:46:27 +02:00
2011-05-03 12:21:59 +03:00
2011-01-26 20:39:05 +02:00
2010-11-02 04:14:44 +02:00
2010-11-02 04:16:46 +02:00
2012-03-09 20:48:55 +02:00
2011-01-31 16:03:10 +02:00
2011-01-26 20:39:05 +02:00
2011-07-06 08:36:46 +03:00
2011-01-26 20:39:05 +02:00
2010-11-02 04:18:08 +02:00
2011-12-07 00:13:51 +02:00
2011-01-26 20:39:05 +02:00
2011-01-26 20:39:05 +02:00
2012-03-01 00:22:30 +02:00
2011-07-29 08:46:50 +03:00
2011-12-06 20:32:33 +01:00
2011-12-06 20:32:33 +01:00