Carl Eugen Hoyos e9c8a9aaa6 swscale/utils: Fix color range of gray16
Improves rgb -> gray16 conversion

Fixes Ticket3422

The pam and png output files look visually similar, in both cases the
dynamics increase to 0x0 -> 0xfffb.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 37c07d45290cf9cdad061cd5c2af94a2783ba847)
2014-03-19 03:14:39 +01:00
..
bmp
2013-04-30 11:53:12 +02:00
flm
jpg
2013-04-30 11:53:12 +02:00
mkv
2013-09-21 14:33:01 +02:00
pam
2014-03-19 03:14:39 +01:00
pcx
2013-04-30 11:53:12 +02:00
png
2014-03-19 03:14:39 +01:00
ppm
2013-04-30 11:53:12 +02:00
sgi
2013-04-30 11:53:12 +02:00
swf
tga
2013-04-30 11:53:12 +02:00
wtv
2013-12-23 15:55:54 +01:00
xbm