[libav-devel] [PATCH] swscale: for >8bit scaling, read in native bit-depth.
Kostya
kostya.shishkov at gmail.com
Fri Jul 1 07:18:21 CEST 2011
On Thu, Jun 30, 2011 at 05:35:13PM -0700, Ronald S. Bultje wrote:
> From: "Ronald S. Bultje" <rsbultje at gmail.com>
>
> For 9/10bit, it means we don't have to upscale to 16bit before
> actual scaling or pixel format conversion, and thus a performance
> gain.
> ---
> libswscale/ppc/swscale_altivec.c | 2 +-
> libswscale/swscale.c | 99 +++++++++----------------------------
> libswscale/swscale_internal.h | 2 +-
> libswscale/utils.c | 1 -
> libswscale/x86/swscale_template.c | 2 +-
> tests/ref/lavfi/pixfmts_scale | 8 ++--
> 6 files changed, 31 insertions(+), 83 deletions(-)
looks ok
More information about the libav-devel
mailing list