Commit d8ef5a28 authored by Raphael Zumer's avatar Raphael Zumer Committed by Raphaël Zumer

Remove TxSize::smallest_height_log2()

parent 63dbdb71
......@@ -474,11 +474,7 @@ impl TxSize {
}
pub fn height_index(self) -> usize {
self.height_log2() - Self::smallest_height_log2()
}
pub fn smallest_height_log2() -> usize {
TX_4X4.height_log2()
self.height_log2() - TX_4X4.height_log2()
}
pub fn width_mi(self) -> usize {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment