Skip to content

Commit

Permalink
[Encode] Fix coding issue on loop restoration
Browse files Browse the repository at this point in the history
Set UseSameLoopRestorationSizeForChroma to 0 when loop restoration is disabled referring to spec.
  • Loading branch information
Bossonor authored and intel-mediadev committed Aug 3, 2023
1 parent 5621e3f commit 385f5cf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1010,7 +1010,8 @@ MHW_SETPAR_DECL_SRC(AVP_INLOOP_FILTER_STATE, Av1BasicFeature)
params.LoopRestorationType[1] == 0 &&
params.LoopRestorationType[2] == 0)
{
params.LoopRestorationSizeLuma = 0;
params.LoopRestorationSizeLuma = 0;
params.UseSameLoopRestorationSizeForChroma = false;
}
else
{
Expand Down

0 comments on commit 385f5cf

Please sign in to comment.