[vlc-devel] [PATCH] DXVA2: don't use the decoder if the profile is not supported (v2)

Steve Lhomme robux4 at videolabs.io
Wed Apr 22 17:49:03 CEST 2015


On Wed, Apr 22, 2015 at 5:45 PM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> On 22 Apr, Steve Lhomme wrote :
>> +    { "H.264 variable-length decoder, film grain technology",                         &DXVA2_ModeH264_F,                      AV_CODEC_ID_H264, PROF_H264_HIGH },
>> +    { "H.264 variable-length decoder, no film grain technology (Intel ClearVideo)",   &DXVADDI_Intel_ModeH264_E,              AV_CODEC_ID_H264, PROF_H264_HIGH },
>> +    { "H.264 variable-length decoder, no film grain technology",                      &DXVA2_ModeH264_E,                      AV_CODEC_ID_H264, PROF_H264_HIGH },
>> +    { "H.264 variable-length decoder, no film grain technology, FMO/ASO",             &DXVA_ModeH264_VLD_WithFMOASO_NoFGT,    AV_CODEC_ID_H264, PROF_H264_HIGH },
>> +    { "H.264 variable-length decoder, no film grain technology, Flash",               &DXVA_ModeH264_VLD_NoFGT_Flash,         AV_CODEC_ID_H264, PROF_H264_HIGH },
>> +
>> +    { "H.264 inverse discrete cosine transform, film grain technology",               &DXVA2_ModeH264_D,                      0, NULL },
>> +    { "H.264 inverse discrete cosine transform, no film grain technology",            &DXVA2_ModeH264_C,                      0, NULL },
>> +    { "H.264 inverse discrete cosine transform, no film grain technology (Intel)",    &DXVADDI_Intel_ModeH264_C,              0, NULL },
>> +
>> +    { "H.264 motion compensation, film grain technology",                             &DXVA2_ModeH264_B,                      0, NULL },
>> +    { "H.264 motion compensation, no film grain technology",                          &DXVA2_ModeH264_A,                      0, NULL },
>> +    { "H.264 motion compensation, no film grain technology (Intel)",                  &DXVADDI_Intel_ModeH264_A,              0, NULL },
>
> Didn't some Intel card not support all profiles or something?


I don't know. And I don't have an Intel card with this GUID to test
with. Since it's not mapped to a codec ID, it won't be used anyway. We
only support the GUID that are handled officially by libavcodec. The
rest is unexplored territory.



More information about the vlc-devel mailing list