[FFmpeg-devel] [PATCH] lavfi/super2xsai: support slice threading

Michael Niedermayer michaelni at gmx.at
Tue Aug 13 20:12:28 CEST 2013


On Fri, Aug 02, 2013 at 05:00:06PM +0000, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/vf_super2xsai.c | 45 ++++++++++++++++++++++++++++++---------------
>  1 file changed, 30 insertions(+), 15 deletions(-)

using time ./ffmpeg -i matrixbench_mpeg2.mpg -vf super2xsai -f null -

Before this patch:
    38.316s
    38.338s
    38.311s

After this patch:
    10.052s
    10.011s
    10.040s

but frameccrc changes

--- new 2013-08-13 20:08:38.613671936 +0200
+++ ref 2013-08-13 20:06:39.357669423 +0200
@@ -1,12510 +1,12510 @@
 #tb 0: 1/25
 #tb 1: 1/48000
-0,          0,          0,        1,  4976640, 0xac38c9ea
+0,          0,          0,        1,  4976640, 0xf962f1a3
 1,          0,          0,     1152,     4608, 0x777ad4f4
 1,       1152,       1152,     1152,     4608, 0x669c9f38
-0,          1,          1,        1,  4976640, 0x2bd445db
+0,          1,          1,        1,  4976640, 0x38266787
 1,       2304,       2304,     1152,     4608, 0x00000000
 1,       3456,       3456,     1152,     4608, 0x8167817e
-0,          2,          2,        1,  4976640, 0xb3e4ca86
+0,          2,          2,        1,  4976640, 0x8309d2ea
 1,       4608,       4608,     1152,     4608, 0x34120042
-0,          3,          3,        1,  4976640, 0x5059d694
+0,          3,          3,        1,  4976640, 0xbc6bde89
 1,       5760,       5760,     1152,     4608, 0xa8baebb4
 1,       6912,       6912,     1152,     4608, 0x6c9b7b49
-0,          4,          4,        1,  4976640, 0xea43f52f
+0,          4,          4,        1,  4976640, 0x84dafd9f

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130813/561a3eef/attachment.asc>


More information about the ffmpeg-devel mailing list