mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-12 04:40:42 +01:00
mediafoundation: Query PIPE_VIDEO_CAP_SLICE_STRUCTURE_AUTO
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39830>
This commit is contained in:
parent
20aef6269b
commit
14c9ff5e1b
2 changed files with 2 additions and 0 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
|
|
@ -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 = {};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue