[vlc-devel] [PATCH] directxva: allow decoding FF_PROFILE_H264_BASELINE without constraint
Steve Lhomme
robux4 at gmail.com
Mon Jan 30 18:00:32 CET 2017
On Mon, Jan 30, 2017 at 5:58 PM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le maanantaina 30. tammikuuta 2017, 10.02.41 EET Steve Lhomme a écrit :
>> It works
>
> No, it does not. Unconstrained Baseline requires stuff that no GPU supports.
> That is to say basically anything that is in Baseline and not in Main.
So maybe the test files I have a lying about their profile, because
they do work.
>> ---
>> modules/codec/avcodec/directx_va.c | 3 ++-
>> 1 file changed, 2 insertions(+), 1 deletion(-)
>>
>> diff --git a/modules/codec/avcodec/directx_va.c
>> b/modules/codec/avcodec/directx_va.c index 1c26edc..d3073f7 100644
>> --- a/modules/codec/avcodec/directx_va.c
>> +++ b/modules/codec/avcodec/directx_va.c
>> @@ -45,7 +45,8 @@
>> static const int PROF_MPEG2_SIMPLE[] = { FF_PROFILE_MPEG2_SIMPLE, 0 };
>> static const int PROF_MPEG2_MAIN[] = { FF_PROFILE_MPEG2_SIMPLE,
>> FF_PROFILE_MPEG2_MAIN, 0 };
>> -static const int PROF_H264_HIGH[] = {
>> FF_PROFILE_H264_CONSTRAINED_BASELINE, +static const int PROF_H264_HIGH[]
>> = { FF_PROFILE_H264_BASELINE, +
>> FF_PROFILE_H264_CONSTRAINED_BASELINE, FF_PROFILE_H264_MAIN,
>> FF_PROFILE_H264_HIGH, 0 };
>> static const int PROF_HEVC_MAIN[] = { FF_PROFILE_HEVC_MAIN, 0 };
>
>
> --
> 雷米‧德尼-库尔蒙
> https://www.remlab.net/
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list