[FFmpeg-devel] [PATCH] Optimize QTRLE encoding

Malcolm Bechard malcolm.bechard at gmail.com
Fri Feb 15 19:27:06 CET 2013


On Thu, Feb 14, 2013 at 2:24 PM, Alexis Ballier <alexis.ballier at gmail.com>wrote:

> Ah and one last comment:
>
> +        base_cost = 1 + pixel_size;
>
> you should set this outside of the loop (you only change its value on
> the very last iteration)
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

Here is an updated patch with the naming/comment changes, as well as the
s->pixel_size refactor removed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Improve-QTRLE-encoding-performance-no-change-to-outp.patch
Type: application/octet-stream
Size: 5670 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130215/7622db1f/attachment.obj>


More information about the ffmpeg-devel mailing list