[FFmpeg-devel] [PATCH] avcodec: use looking up crop table method when do clip

Michael Niedermayer michael at niedermayer.cc
Tue Aug 11 00:23:50 CEST 2015

On Fri, Aug 07, 2015 at 05:30:01PM +0800, 周晓勇 wrote:
> based on last h264qpel optimization patch i have pushed
> do i need separate this patch to double? cause one file to change loongson arch
> use looking up crop table method may boost up decode on loongson, and with this patch x86 pass fate too

> but i have not tested on other arch

as this also changes x86, benchmarks on x86 are required

> test on loongson-3b
> time ./ffmepg -i 1280x720.mp4 -f rawvideo -an -vframes 4096 -y /dev/null
> no patch:
> real 0m58.2s
> user 4m59.1s
> sys 0m5.8s
> with patch:
> real 0m53.9s
> user 4m33.2s
> sys 0m6.2s
> ---
> From 68e88b17d113875d829a9936284d3551fd499139 Mon Sep 17 00:00:00 2001
> From: ZhouXiaoyong <zhouxiaoyong at loongson.cn>
> Date: Fri, 7 Aug 2015 16:33:10 +0800
> Subject: [PATCH] avcodec: use looking up crop table method when do clip

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Awnsering whenever a program halts or runs forever is
On a turing machine, in general impossible (turings halting problem).
On any real computer, always possible as a real computer has a finite number
of states N, and will either halt in less than N cycles or never halt.
-------------- 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/20150811/365b1510/attachment.sig>

More information about the ffmpeg-devel mailing list