On Tue, Aug 02, 2011 at 03:47:56PM -0700, Ronald S. Bultje wrote:
> From: "Ronald S. Bultje" <[email protected]>
> 
> ---
> This fixes problems in my previous patch by choosing a scaling function
> based on both input and output BPC. This also allows to get rid of the
> scale19to15/scale8to16 functions, and thus give a performance boost.
> 
>  libswscale/ppc/swscale_altivec.c   |    2 +-
>  libswscale/swscale.c               |  237 
> ++++++++++++++++++++++--------------
>  libswscale/swscale_internal.h      |  108 ++++++++++-------
>  libswscale/utils.c                 |   20 ++-
>  libswscale/x86/swscale_template.c  |    2 +-
>  tests/ref/lavfi/pixdesc            |   20 ++--
>  tests/ref/lavfi/pixfmts_copy       |   20 ++--
>  tests/ref/lavfi/pixfmts_crop       |   16 ++--
>  tests/ref/lavfi/pixfmts_hflip      |   16 ++--
>  tests/ref/lavfi/pixfmts_null       |   20 ++--
>  tests/ref/lavfi/pixfmts_scale      |   28 ++--
>  tests/ref/lavfi/pixfmts_vflip      |   20 ++--
>  tests/ref/vsynth1/dnxhd_720p_10bit |    8 +-
>  tests/ref/vsynth2/dnxhd_720p_10bit |    8 +-
>  14 files changed, 302 insertions(+), 223 deletions(-)

OK if it runs fine under valgrind on PPC and x86[_64]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to