]> git.sesse.net Git - ffmpeg/commit
lavfi/lut: Add slice threading support
authorJun Zhao <barryjzhao@tencent.com>
Tue, 21 May 2019 15:39:09 +0000 (23:39 +0800)
committerJun Zhao <barryjzhao@tencent.com>
Mon, 3 Jun 2019 01:38:28 +0000 (09:38 +0800)
commitbbad0bc5ffcfd37df2df5aec6541fa766323d6bf
tree8998481a28f8ac2f9e3ae1c68d34ac6837af318a
parent360bee8ca49d94d5cc8b77106887d6d7250440fe
lavfi/lut: Add slice threading support

Used the command for 1080p h264 clip as follow:

a). ffmpeg -i input -vf lutyuv="u=128:v=128" -f null /dev/null
b). ffmpeg -i input -vf lutrgb="g=0:b=0" -f null /dev/null

after enabled the slice threading, the fps change from:

a). 144fps to 258fps (lutyuv)
b). 94fps  to 153fps (lutrgb)

in Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
libavfilter/vf_lut.c