Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
tdaede committed Aug 26, 2019
1 parent d773464 commit fdef7f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1211,6 +1211,7 @@ pub fn encode_tx_block<T: Pixel>(
let tx_dist_scale_bits = 2 * (3 - get_log_tx_scale(tx_size));
let tx_dist_scale_rounding_offset = 1 << (tx_dist_scale_bits - 1);
tx_dist = (tx_dist + tx_dist_scale_rounding_offset) >> tx_dist_scale_bits;
tx_dist = (fi.dist_scale[p] * tx_dist as f64) as i64
}
if fi.config.train_rdo {
ts.rdo.add_rate(
Expand Down

0 comments on commit fdef7f0

Please sign in to comment.