[FFmpeg-devel] [RFC]lavc/ffv1dec: Scale msb-packed output to full 16bit
Michael Niedermayer
michael at niedermayer.cc
Wed Nov 16 16:02:51 EET 2016
On Wed, Nov 16, 2016 at 12:15:28PM +0100, Carl Eugen Hoyos wrote:
> Hi!
>
> Attached patch improves output for some ffv1 files imo.
> Current slowdown for the existing decode-line timer is
> 2%, I wonder if this can be improved through refactoring.
>
> Please comment, Carl Eugen
> ffv1dec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> ab0f3ff58a18145efd66d627ecbf54c35b5c23e6 0001-lavc-ffv1dec-Scale-output-for-lsb-packed-compression.patch
> From e4e8277d4f0daeb9f61c2da9ebb167a084b1b93c Mon Sep 17 00:00:00 2001
> From: Carl Eugen Hoyos <cehoyos at ag.or.at>
> Date: Wed, 16 Nov 2016 12:03:17 +0100
> Subject: [PATCH] lavc/ffv1dec: Scale output for msb-packed compression to
> full 16bit.
>
> 2% slowdown for existing decode-line timer.
> ---
> libavcodec/ffv1dec.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
probably ok
also try if using a temporary variable is faster
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I have often repented speaking, but never of holding my tongue.
-- Xenocrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161116/b00130b6/attachment.sig>
More information about the ffmpeg-devel
mailing list