Skip to content

Commit

Permalink
[Encode] Enable pyramid encode structure in av1 when bgopsize==3.
Browse files Browse the repository at this point in the history
Enable pyramid structure in av1 when bgopsize==3
  • Loading branch information
Legolasy authored and intel-mediadev committed Dec 23, 2024
1 parent abf7bd8 commit b57dcff
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -233,13 +233,11 @@ namespace encode
else
dmem->UPD_MaxBRCLevel = 0;

bool bAllowedPyramid = seqParams->GopRefDist != 3;

if (m_basicFeature->m_pictureCodingType == I_TYPE)
{
dmem->UPD_CurrFrameType = AV1_BRC_FRAME_TYPE_I;
}
else if (seqParams->SeqFlags.fields.HierarchicalFlag && bAllowedPyramid)
else if (seqParams->SeqFlags.fields.HierarchicalFlag)
{
if (picParams->HierarchLevelPlus1 > 0)
{
Expand Down

0 comments on commit b57dcff

Please sign in to comment.