mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-28 08:10:09 +01:00
mediafoundation: Fix width/height typo in alignment calculation
Reviewed-by: Pohsiang (John) Hsu <pohhsu@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38057>
This commit is contained in:
parent
a1f602e17f
commit
9b97a2ef93
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ CDX12EncHMFT::PrepareForEncode( IMFSample *pSample, LPDX12EncodeContext *ppDX12E
|
|||
UINT32 uiROIBlobOutSize = 0;
|
||||
// Get HW Support Surface Alignment to check against input sample
|
||||
const uint32_t surfaceWidthAlignment = 1 << m_EncoderCapabilities.m_HWSupportSurfaceAlignment.bits.log2_width_alignment;
|
||||
const uint32_t surfaceHeightAlignment = 1 << m_EncoderCapabilities.m_HWSupportSurfaceAlignment.bits.log2_width_alignment;
|
||||
const uint32_t surfaceHeightAlignment = 1 << m_EncoderCapabilities.m_HWSupportSurfaceAlignment.bits.log2_height_alignment;
|
||||
|
||||
// Check for Discontinuity
|
||||
(void) pSample->GetUINT32( MFSampleExtension_Discontinuity, &unDiscontinuity );
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue