Skip to content

Commit

Permalink
simple fix - speed optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
rcanut committed May 31, 2024
1 parent 0249746 commit ca85a33
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions encoder/image_processing.c
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ void pre_processing(image_buffer *im)
{
res2 = - (((15*abs(res))+count)>>4);

if (abs(res)<=sharpn2 && res2== -sharpn2 && im->setup->quality_setting<=LOW4)
if (res2==-sharpn2 && im->setup->quality_setting<=LOW4)
{
if (t7<3)
{
Expand Down Expand Up @@ -2274,4 +2274,4 @@ void offsetUV_recons256(image_buffer *im, int m1, int comp)

}
}
}
}

0 comments on commit ca85a33

Please sign in to comment.