summaryrefslogtreecommitdiff
path: root/libavutil/hwcontext_videotoolbox.c
Commit message (Collapse)AuthorAge
* avutil/hwcontext_videotoolbox: create real buffer poolZhao Zhili2022-04-29
| | | | | | vt_get_buffer shouldn't do buffer pool's job. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
* lavu/videotoolbox: add support for memory mapping framesCameron Gutman2022-01-06
| | | | | Signed-off-by: Cameron Gutman <aicommander@gmail.com> Signed-off-by: Aman Karmani <aman@tmm1.net>
* lavu/hwcontext_videotoolbox: use OS-provided mapping routines when availablercombs2021-12-22
|
* lavu/videotoolbox: expose routine to set CVPixelBufferRef metadatarcombs2021-12-22
|
* lavu/videotoolbox: expose conversion routines for color parametersrcombs2021-12-22
| | | | | Also fixes symbol lookup errors on older macOS when built with a newer SDK, introduced in 6cab5206b0ad94990c435cb7c5cf3b29675e0231
* videotoolbox: add alpha supportrcombs2021-11-28
|
* lavu/videotoolbox: add 422 and 444 pixel format mappingsrcombs2021-11-28
|
* avutil/hwcontext_videotoolbox: fix use of unknown builtin '__builtin_available'Limin Wang2021-11-03
| | | | | | | | OSX version: 10.11.6 Apple LLVM version 8.0.0 (clang-800.0.42.1) Target: x86_64-apple-darwin15.6.0 Signed-off-by: Limin Wang <lance.lmwang@gmail.com>
* avutil/hwcontext_videotoolbox: implement hwupload to convert AVFrame to ↵Aman Karmani2021-07-18
| | | | | | | | | | | | 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>
* avcodec/videotoolbox: add support for full range pixel formatsAkemi2019-09-04
| | | | Signed-off-by: Aman Gupta <aman@tmm1.net>
* avcodec/videotoolbox: add support for 10bit pixel formatfumoboy0072019-04-16
| | | | | this patch was originally posted on issue #7704 and was slightly adjusted to check for the availability of the pixel format.
* videotoolbox: add hwcontext supportwm42017-05-15
This adds tons of code for no other benefit than making VideoToolbox support conform with the new hwaccel API (using hw_device_ctx and hw_frames_ctx). Since VideoToolbox decoding does not actually require the user to allocate frames, the new code does mostly nothing. One benefit is that ffmpeg_videotoolbox.c can be dropped once generic hwaccel support for ffmpeg.c is merged from Libav. Does not consider VDA or VideoToolbox encoding. Fun fact: the frame transfer functions are copied from vaapi, as the mapping makes copying generic boilerplate. Mapping itself is not exported by the VT code, because I don't know how to test.