On Tue, Aug 2, 2011 at 3:47 PM, Ronald S. Bultje <[email protected]> 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(-)
>

Verified this doesn't seem to suffer from the shortcomings of the
previous version.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to