mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 07:20:10 +01:00
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:
parent
0aba51691b
commit
0953924dbe
2 changed files with 8 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue