zhilizhao
cf1746d779
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>
2021-06-10 19:54:03 +08:00
Anton Khirnov
f30a41a608
Stop hardcoding align=32 in av_frame_get_buffer() calls.
...
Use 0, which selects the alignment automatically.
2020-05-22 14:38:57 +02:00
Akemi
2a9d461abc
avcodec/videotoolbox: add support for full range pixel formats
...
Signed-off-by: Aman Gupta <aman@tmm1.net>
2019-09-04 10:51:20 -07:00
fumoboy007
036b4b0f85
avcodec/videotoolbox: add support for 10bit pixel format
...
this patch was originally posted on issue #7704 and was slightly
adjusted to check for the availability of the pixel format.
2019-04-16 03:43:06 +03:00
Clément Bœsch
2b32031827
lavc: drop VDA
...
Deprecated (aka removed) in OSX 10.11, and we have a replacement for it
(VideoToolbox).
2017-10-23 11:56:15 +02:00
James Almer
fd5f4ac081
Merge commit 'c95169f0ec68bdeeabc5fde8aa4076f406242524'
...
* commit 'c95169f0ec68bdeeabc5fde8aa4076f406242524':
build: Move cli tool sources to a separate subdirectory
Merged-by: James Almer <jamrial@gmail.com>
2017-10-01 18:26:36 -03:00