diff --git a/src/gallium/frontends/mediafoundation/encoder_capabilities.cpp b/src/gallium/frontends/mediafoundation/encoder_capabilities.cpp index 5713faee23d..b8606400ce4 100644 --- a/src/gallium/frontends/mediafoundation/encoder_capabilities.cpp +++ b/src/gallium/frontends/mediafoundation/encoder_capabilities.cpp @@ -149,6 +149,7 @@ encoder_capabilities::initialize( pipe_screen *pScreen, pipe_video_profile video m_bHWSupportSliceModeMB = ( ( supportedSliceStructures & PIPE_VIDEO_CAP_SLICE_STRUCTURE_ARBITRARY_MACROBLOCKS ) != 0 ); m_bHWSupportSliceModeBits = ( ( supportedSliceStructures & PIPE_VIDEO_CAP_SLICE_STRUCTURE_MAX_SLICE_SIZE ) != 0 ); m_bHWSupportSliceModeMBRow = ( ( supportedSliceStructures & PIPE_VIDEO_CAP_SLICE_STRUCTURE_EQUAL_MULTI_ROWS ) != 0 ); + m_bHWSupportSliceModeAuto = ( ( supportedSliceStructures & PIPE_VIDEO_CAP_SLICE_STRUCTURE_AUTO ) != 0 ); m_TwoPassSupport.value = pScreen->get_video_param( pScreen, videoProfile, PIPE_VIDEO_ENTRYPOINT_ENCODE, PIPE_VIDEO_CAP_ENC_TWO_PASS ); diff --git a/src/gallium/frontends/mediafoundation/encoder_capabilities.h b/src/gallium/frontends/mediafoundation/encoder_capabilities.h index 842c91ee4eb..161be9abb11 100644 --- a/src/gallium/frontends/mediafoundation/encoder_capabilities.h +++ b/src/gallium/frontends/mediafoundation/encoder_capabilities.h @@ -128,6 +128,7 @@ class encoder_capabilities bool m_bHWSupportSliceModeMB = false; bool m_bHWSupportSliceModeBits = false; bool m_bHWSupportSliceModeMBRow = false; + bool m_bHWSupportSliceModeAuto = false; // Two pass encode union pipe_enc_cap_two_pass m_TwoPassSupport = {};