[FFmpeg-devel] [PATCH] lavfi: use ceil right shift for chroma width/height.

Clément Bœsch ubitux at gmail.com
Thu May 9 18:25:32 CEST 2013


On Thu, May 09, 2013 at 06:14:34PM +0200, Clément Bœsch wrote:
> This should fix several issues with odd dimensions inputs.
> 
> ---
> Note: this is mostly untested
> ---
>  libavfilter/vf_blend.c         |  4 ++--
>  libavfilter/vf_boxblur.c       |  2 +-
>  libavfilter/vf_decimate.c      |  4 ++--
>  libavfilter/vf_delogo.c        |  6 ++++--
>  libavfilter/vf_extractplanes.c |  4 ++--
>  libavfilter/vf_fade.c          |  3 ++-
>  libavfilter/vf_fieldmatch.c    |  8 ++++----
>  libavfilter/vf_geq.c           |  8 ++++----
>  libavfilter/vf_hflip.c         | 20 ++++++++++----------
>  libavfilter/vf_hqdn3d.c        |  4 ++--
>  libavfilter/vf_hue.c           |  3 ++-
>  libavfilter/vf_il.c            |  2 +-
>  libavfilter/vf_interlace.c     |  2 +-
>  libavfilter/vf_kerndeint.c     |  2 +-
>  libavfilter/vf_mpdecimate.c    |  3 ++-
>  libavfilter/vf_noise.c         |  2 +-
>  libavfilter/vf_showinfo.c      |  2 +-
>  libavfilter/vf_smartblur.c     |  7 ++++---
>  libavfilter/vf_telecine.c      |  2 +-
>  libavfilter/vf_tinterlace.c    |  2 +-
>  libavfilter/vf_transpose.c     |  4 ++--
>  21 files changed, 50 insertions(+), 44 deletions(-)
> 

Note: vf lut and vf vflip seem to use a different way of sub-sampling, so
they're not changed in this patch. Also, pad is a bit tricky so left aside
for now (this patch is mostly a no-brainer).

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130509/da01ac70/attachment.asc>


More information about the ffmpeg-devel mailing list