aboutsummaryrefslogtreecommitdiffstats
path: root/COPYING.GPLv2
diff options
context:
space:
mode:
authorzhilizhao <zhilizhao@tencent.com>2021-04-27 13:09:56 +0800
committerSteven Liu <lq@chinaffmpeg.org>2021-06-10 19:54:03 +0800
commitcf1746d77989c2742c8c364f57a626942cccd8d1 (patch)
tree1a36bc79e148425168256a57092fbf682a64651e /COPYING.GPLv2
parent08d933bf6169a93631fd76354214f837c973c18f (diff)
downloadffmpeg-cf1746d77989c2742c8c364f57a626942cccd8d1.tar.gz
ffmpeg_videotoolbox: skip memory copy if hwaccel_output_format match
Simple test results: Command: ./ffmpeg -y -hwaccel videotoolbox -hwaccel_output_format videotoolbox_vld \ -i test.mp4 -an -c:v h264_videotoolbox -benchmark out.mp4 Before: frame= 1221 fps= 66 q=-0.0 Lsize= 3144kB time=00:00:20.33 bitrate=1266.6kbits/s dup=4 drop=0 speed= 1.1x bench: utime=2.714s stime=1.218s rtime=18.574s After: frame= 1221 fps=137 q=-0.0 Lsize= 3144kB time=00:00:20.33 bitrate=1266.4kbits/s dup=4 drop=0 speed=2.28x bench: utime=1.450s stime=1.440s rtime=8.924s It has limited usecase since there is no video filter support, so a log message is added to notify the user. Reviewed-by: Steven Liu <liuqi05@kuaishou.com>
Diffstat (limited to 'COPYING.GPLv2')
0 files changed, 0 insertions, 0 deletions