Skip to content

Commit

Permalink
feat: reduce the adjustment number of filtering frames for KF-TF to 2…
Browse files Browse the repository at this point in the history
… in all cases for testing
  • Loading branch information
NeutronPCXT committed Oct 30, 2024
1 parent 409eab0 commit b8f8497
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Lib/Codec/pd_process.c
Original file line number Diff line number Diff line change
Expand Up @@ -2837,10 +2837,10 @@ static int ref_pics_modulation(
// we will not change the number of frames for key frame filtering, which is
// to avoid visual quality drop.
if (noise_levels_log1p_fp16 < 26572 /*FLOAT2FP(log1p(0.5), 16, int32_t)*/) {
offset = 6;
offset = 2;
}
else if (noise_levels_log1p_fp16 < 45426 /*FLOAT2FP(log1p(1.0), 16, int32_t)*/) {
offset = 4;
offset = 2;
}
else if (noise_levels_log1p_fp16 < 71998 /*FLOAT2FP(log1p(2.0), 16, int32_t)*/) {
offset = 2;
Expand Down

0 comments on commit b8f8497

Please sign in to comment.