mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 16:08:04 +02:00
d3d12: initialize ReconstructedPicTexture
Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Reviewed by: Pohsiang (John) Hsu <pohhsu@microsoft.com> Reviewed-by: Jesse Natalie <None> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/33312>
This commit is contained in:
parent
0fcef5168b
commit
e8499f69a4
2 changed files with 2 additions and 0 deletions
|
|
@ -297,6 +297,7 @@ d3d12_video_encoder_references_manager_h264::begin_frame(D3D12_VIDEO_ENCODER_PIC
|
|||
m_CurrentFrameReferencesData.ReferenceTextures.pResources.resize(h264Pic->dpb_size);
|
||||
m_CurrentFrameReferencesData.ReferenceTextures.pSubresources.resize(h264Pic->dpb_size);
|
||||
m_CurrentFrameReferencesData.pReferenceFramesReconPictureDescriptors.resize(h264Pic->dpb_size);
|
||||
m_CurrentFrameReferencesData.ReconstructedPicTexture = { NULL, 0u };
|
||||
for (uint8_t i = 0; i < h264Pic->dpb_size; i++) {
|
||||
//
|
||||
// Set entry DPB members
|
||||
|
|
|
|||
|
|
@ -270,6 +270,7 @@ d3d12_video_encoder_references_manager_hevc::begin_frame(D3D12_VIDEO_ENCODER_PIC
|
|||
m_CurrentFrameReferencesData.ReferenceTextures.pResources.resize(hevcPic->dpb_size);
|
||||
m_CurrentFrameReferencesData.ReferenceTextures.pSubresources.resize(hevcPic->dpb_size);
|
||||
m_CurrentFrameReferencesData.pReferenceFramesReconPictureDescriptors.resize(hevcPic->dpb_size);
|
||||
m_CurrentFrameReferencesData.ReconstructedPicTexture = { NULL, 0u };
|
||||
for (uint8_t i = 0; i < hevcPic->dpb_size; i++) {
|
||||
//
|
||||
// Set entry DPB members
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue