Skip to content

Commit 6da71a8

Browse files
ychorzumer
authored andcommitted
Disable tx-split of intra blocks in inter frames
Because it slow down encoder too much, 30% ~ 300%, for the given 1% coding gain.
1 parent 31fb8c4 commit 6da71a8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/encoder.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -776,8 +776,7 @@ impl<T: Pixel> FrameInvariants<T> {
776776
fi.force_integer_mv = 0; // note: should be 1 if fi.intra_only is true
777777
fi.idx_in_group_output =
778778
inter_cfg.get_idx_in_group_output(output_frameno_in_gop);
779-
fi.tx_mode_select =
780-
fi.config.speed_settings.rdo_tx_decision || fi.enable_inter_txfm_split;
779+
fi.tx_mode_select = fi.enable_inter_txfm_split;
781780

782781
fi.order_hint =
783782
inter_cfg.get_order_hint(output_frameno_in_gop, fi.idx_in_group_output);

0 commit comments

Comments
 (0)