FFmpeg/libavcodec
wm4 ae5046e492 avcodec: allow multiple hwaccels for the same codec/pixfmt
Currently, AVHWAccels are looked up using a (codec_id, pixfmt) tuple.
This means it's impossible to have 2 decoders for the same codec and
using the same opaque hardware pixel format.

This breaks merging Libav's CUVID hwaccel. FFmpeg has its own CUVID
support, but it's a full stream decoder, using NVIDIA's codec parser.
The Libav one is a true hwaccel, which is based on the builtin software
decoders.

Fix this by introducing another field to disambiguate AVHWAccels, and
use it for our CUVID decoders. FF_CODEC_CAP_HWACCEL_REQUIRE_CLASS makes
this mechanism backwards compatible and optional.
2017-11-10 22:48:34 +01:00
..
2017-07-16 16:53:02 +02:00
2017-10-03 19:47:37 -03:00
2017-07-07 15:23:58 -04:00
2017-10-24 23:07:58 +01:00
2017-11-09 19:49:32 +01:00
2017-07-07 15:29:57 -04:00
2017-11-03 00:26:26 -03:00
2017-10-03 19:47:37 -03:00
2017-10-03 19:47:37 -03:00
2017-08-30 12:13:01 +02:00
2017-09-16 19:55:03 +02:00
2017-08-30 12:13:01 +02:00
2017-10-03 19:47:37 -03:00
2017-07-12 20:36:13 +02:00
2017-07-12 20:36:13 +02:00
2017-10-03 19:47:37 -03:00
2017-10-03 19:47:37 -03:00
2017-09-07 12:08:32 +02:00
2017-09-28 22:41:08 +01:00
2017-08-18 17:18:32 +01:00
2017-07-20 08:24:46 +01:00
2017-07-07 15:26:35 -04:00
2017-08-07 13:09:41 +02:00
2017-07-26 06:13:05 +07:00
2017-07-11 13:22:02 +07:00
2017-10-11 02:15:21 +02:00
2017-09-10 19:08:23 +02:00
2017-09-22 01:33:22 +02:00
2017-10-14 23:23:25 +02:00
2017-11-03 13:33:14 +01:00
2017-10-23 16:52:24 -03:00
2017-10-04 23:14:37 +01:00
2017-07-14 02:30:37 +02:00
2017-07-14 02:30:37 +02:00
2017-10-23 11:56:15 +02:00
2017-07-05 03:19:27 +02:00
2017-09-22 01:33:22 +02:00
2017-10-03 19:47:37 -03:00
2017-07-24 17:52:42 +02:00
2017-08-17 16:30:06 +02:00