Skip to content

Commit

Permalink
[Decode] VVC incomplete status report handling
Browse files Browse the repository at this point in the history
Add handling for VVC incomplete status for event trigger
  • Loading branch information
jingyansc authored and intel-mediadev committed Sep 12, 2024
1 parent f31a212 commit 1ef53da
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,17 @@ MOS_STATUS MediaStatusReport::GetReport(uint16_t requireNum, void *status)
reportedCount++;
generatedReportCount++;
}

// update incomplete/unavailable status
uint32_t updatedCount = reportedCount;
if (generatedReportCount < requireNum)
{
for (auto i = generatedReportCount; i < requireNum; i++)
{
eStatus = SetStatus(((uint8_t *)status + m_sizeOfReport * i),
CounterToIndex(reportedCount),
CounterToIndex(updatedCount),
i >= availableCount);
updatedCount++;
}
}

Expand Down

0 comments on commit 1ef53da

Please sign in to comment.