mediafoundation: Add m_bHWSupportReadableReconstructedPicture

Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com>
Reviewed-by: Yubo Xie <yuboxie@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38144>
This commit is contained in:
Silvio Vilerino 2025-10-24 15:59:26 -04:00 committed by Marge Bot
parent 0aba51691b
commit 0953924dbe
2 changed files with 8 additions and 0 deletions

View file

@ -165,4 +165,9 @@ encoder_capabilities::initialize( pipe_screen *pScreen, pipe_video_profile video
videoProfile,
PIPE_VIDEO_ENTRYPOINT_ENCODE,
PIPE_VIDEO_CAP_ENC_SPATIAL_ADAPTIVE_QUANTIZATION );
m_bHWSupportReadableReconstructedPicture = pScreen->get_video_param( pScreen,
videoProfile,
PIPE_VIDEO_ENTRYPOINT_ENCODE,
PIPE_VIDEO_CAP_ENC_READABLE_RECONSTRUCTED_PICTURE ) != 0;
}

View file

@ -140,4 +140,7 @@ class encoder_capabilities
// Spatial Adaptive Quantization
union pipe_enc_cap_spatial_adaptive_quantization m_HWSupportSpatialAdaptiveQuantization = {};
// PIPE_VIDEO_CAP_ENC_READABLE_RECONSTRUCTED_PICTURE
bool m_bHWSupportReadableReconstructedPicture = false;
};