1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-08 22:39:44 +02:00
wm4 532b23f079 videotoolbox: add hwcontext support
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.
2017-05-15 11:30:36 +02:00
..
2017-05-15 11:30:36 +02:00
2016-10-21 23:58:47 +02:00
2017-05-10 14:00:20 +02:00
2017-03-28 00:13:47 +02:00
2017-03-28 00:13:47 +02:00
2016-12-08 18:25:30 +01:00
2017-02-03 15:03:44 +01:00
2017-01-30 11:04:31 +01:00