Skip to content

Commit

Permalink
[Encode] Fix frequency boost not working issue when scalability is on
Browse files Browse the repository at this point in the history
Fix frequency boost not working issue when scalability is on.
  • Loading branch information
walter-bai authored and intel-mediadev committed Jul 3, 2023
1 parent 9b1b6a6 commit 6f21fd6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -484,6 +484,7 @@ MOS_STATUS EncodeScalabilityMultiPipe::ReturnCmdBuffer(PMOS_COMMAND_BUFFER cmdBu
uint32_t bufIdxPlus1 = m_currentPipe + 1; //Make CMD buffer one next to one.
m_secondaryCmdBuffer[bufIdxPlus1 - 1] = *cmdBuffer; //Need to record the iOffset, ptr and other data of CMD buffer, it's not maintain in the mos.
m_osInterface->pfnReturnCommandBuffer(m_osInterface, &m_secondaryCmdBuffer[bufIdxPlus1 - 1], bufIdxPlus1);
m_primaryCmdBuffer.Attributes.bFrequencyBoost |= cmdBuffer->Attributes.bFrequencyBoost;
m_osInterface->pfnReturnCommandBuffer(m_osInterface, &m_primaryCmdBuffer, 0);
return eStatus;
}
Expand Down

0 comments on commit 6f21fd6

Please sign in to comment.