Skip to content

Commit

Permalink
[Encode] Enable AV1 Linux SCC CDEF Setting (#6315)
Browse files Browse the repository at this point in the history
Co-authored-by: Chen, Bohan <[email protected]>
  • Loading branch information
gfxVPLsdm and Bossonor authored Dec 21, 2023
1 parent 35cb1e4 commit f1ccee3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ mfxStatus DDI_VA::QueryCaps()

auto attribValEncAV1 = *(VAConfigAttribValEncAV1 *)(&attrs[idx_map[(VAConfigAttribType)VAConfigAttribEncAV1]].value);
m_caps.CDEFChannelStrengthSupport = attribValEncAV1.bits.support_cdef_channel_strength ? 1 : 0;
m_caps.AV1ToolSupportFlags.fields.PaletteMode = attribValEncAV1.bits.support_palette_mode ? 1 : 0;

auto attribValEncAV1Ext1 = *(VAConfigAttribValEncAV1Ext1 *)(&attrs[idx_map[(VAConfigAttribType)VAConfigAttribEncAV1Ext1]].value);
m_caps.SegmentFeatureSupport = attribValEncAV1Ext1.bits.segment_feature_support;
Expand Down

0 comments on commit f1ccee3

Please sign in to comment.