[FFmpeg-devel] [PATCH 1/2] vc1dec: support multiple slices in frame coded images with hwaccel
sw at jkqxz.net
Sun Nov 20 18:50:55 EET 2016
On 20/11/16 16:16, Carl Eugen Hoyos wrote:
> 2016-11-18 19:42 GMT+01:00 Hendrik Leppkes <h.leppkes at gmail.com>:
>> On Fri, Nov 18, 2016 at 6:40 PM, Michael Niedermayer
>> <michael at niedermayer.cc> wrote:
>>> On Fri, Nov 18, 2016 at 03:18:27PM +0100, Hendrik Leppkes wrote:
>>>> - This does fix decoding of these samples on Intel GPUs using VAAPI,
>>>> however it appears to break on AMD using VAAPI. Important to note here
>>>> however is that this change is matching up with the vaapi spec, and
>>>> the AMD implementation is more or less hacky.
>>>> - VDPAU seems to overall be unimpressed and keeps working as before.
>>>> I hope I summarized the non-DXVA2 cases properly, as I didn't test
>>>> those personally, but relied on data from Mark Thompson.
>>>> Despite the breakage of AMD VAAPI decoding, this change appears to be
>>>> correct in the sense that it matches the VAAPI and DXVA2 specs on how
>>>> to handle slices and fixes decoding on two different GPUs, using those
>>>> two APIs.
>>> can the amd case be detected and the implementation adapted so
>>> everything works ?
>> Not really.
> There is no API to read the version of the mesa driver?
The one useful call is vaQueryVendorString(), which indeed returns useful results for i965. Unfortunately, all mesa returns here is a fixed string:
More information about the ffmpeg-devel