swscale/utils: handle gray+alpha formats like gray for luma ranges
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 10 Sep 2015 12:30:21 +0000 (14:30 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 10 Sep 2015 13:00:19 +0000 (15:00 +0200)
commit319898bba254105aad2bd50233c3c2867f73695a
tree25825502e930d7591eca73d27af3232f91514310
parent816cf5181e35ebb595634762a45c7c94cd7b6760
swscale/utils: handle gray+alpha formats like gray for luma ranges

Its illogic to handle gray differently depending on the existence of an alpha channel

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
12 files changed:
libswscale/utils.c
tests/ref/fate/filter-pixdesc-ya8
tests/ref/fate/filter-pixfmts-copy
tests/ref/fate/filter-pixfmts-crop
tests/ref/fate/filter-pixfmts-field
tests/ref/fate/filter-pixfmts-fieldorder
tests/ref/fate/filter-pixfmts-hflip
tests/ref/fate/filter-pixfmts-il
tests/ref/fate/filter-pixfmts-null
tests/ref/fate/filter-pixfmts-pad
tests/ref/fate/filter-pixfmts-scale
tests/ref/fate/filter-pixfmts-vflip