mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
mediafoundation: Fill RefPicListL0/L1 sizes in pipe_h265_enc_picture_desc
Reviewed-by: Yubo Xie <yuboxie@microsoft.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35264>
This commit is contained in:
parent
5e44557686
commit
a81ffa7747
1 changed files with 2 additions and 0 deletions
|
|
@ -304,6 +304,8 @@ CDX12EncHMFT::PrepareForEncodeHelper( LPDX12EncodeContext pDX12EncodeContext, bo
|
|||
pDX12EncodeContext->longTermReferenceFrameInfo = cur_frame_desc->gop_info->long_term_reference_frame_info;
|
||||
|
||||
pPicInfo->num_ref_idx_l0_active_minus1 = 0;
|
||||
memset(&pPicInfo->ref_list0, PIPE_H2645_LIST_REF_INVALID_ENTRY, sizeof(pPicInfo->ref_list0));
|
||||
memset(&pPicInfo->ref_list1, PIPE_H2645_LIST_REF_INVALID_ENTRY, sizeof(pPicInfo->ref_list1));
|
||||
|
||||
if( ( pPicInfo->picture_type == PIPE_H2645_ENC_PICTURE_TYPE_P ) || ( pPicInfo->picture_type == PIPE_H2645_ENC_PICTURE_TYPE_B ) )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue