lavfi: use ceil right shift for chroma width/height.
authorClément Bœsch <ubitux@gmail.com>
Thu, 9 May 2013 15:59:38 +0000 (17:59 +0200)
committerClément Bœsch <ubitux@gmail.com>
Fri, 10 May 2013 15:20:06 +0000 (17:20 +0200)
commit50e66726a237e07f6557eaca1da2e9eb18ee7fda
treeeb080502558818b6e623309776e254d4be88beed
parentd751a2526f9be0e8aa72cb2ebf9b8686c8888e89
lavfi: use ceil right shift for chroma width/height.

This should fix several issues with odd dimensions inputs.

lut, vflip, pad and crop video filters also need to be checked for such
issues. It's possible sws is also affected.
21 files changed:
libavfilter/vf_blend.c
libavfilter/vf_boxblur.c
libavfilter/vf_decimate.c
libavfilter/vf_delogo.c
libavfilter/vf_extractplanes.c
libavfilter/vf_fade.c
libavfilter/vf_fieldmatch.c
libavfilter/vf_geq.c
libavfilter/vf_hflip.c
libavfilter/vf_hqdn3d.c
libavfilter/vf_hue.c
libavfilter/vf_il.c
libavfilter/vf_interlace.c
libavfilter/vf_kerndeint.c
libavfilter/vf_mpdecimate.c
libavfilter/vf_noise.c
libavfilter/vf_showinfo.c
libavfilter/vf_smartblur.c
libavfilter/vf_telecine.c
libavfilter/vf_tinterlace.c
libavfilter/vf_transpose.c