diff options
author | Aman Karmani <aman@tmm1.net> | 2021-06-29 14:43:16 -0700 |
---|---|---|
committer | Aman Karmani <aman@tmm1.net> | 2021-07-18 12:01:16 -0700 |
commit | 504c60660d3194758823ddd45ceddb86e35d806f (patch) | |
tree | a9db3e34e3712ff064c21e589f38c64017d4e4f1 /doc/ffmpeg-codecs.texi | |
parent | 997f9bdb99de18b27f8f213f381c5e90536a1be9 (diff) | |
download | ffmpeg-504c60660d3194758823ddd45ceddb86e35d806f.tar.gz |
avutil/hwcontext_videotoolbox: implement hwupload to convert AVFrame to CVPixelBuffer
Teach AV_HWDEVICE_TYPE_VIDEOTOOLBOX to be able to create AVFrames of type
AV_PIX_FMT_VIDEOTOOLBOX. This can be used to hwupload a regular AVFrame
into its CVPixelBuffer equivalent.
ffmpeg -init_hw_device videotoolbox -f lavfi -i color=black:640x480 -vf hwupload -c:v h264_videotoolbox -f null -y /dev/null
Signed-off-by: Aman Karmani <aman@tmm1.net>
Diffstat (limited to 'doc/ffmpeg-codecs.texi')
0 files changed, 0 insertions, 0 deletions