Commit 51733467 authored by Yushin Cho's avatar Yushin Cho

Inter skip mode block skips tx code earlier possible

parent f6d12c0a
......@@ -1432,6 +1432,8 @@ pub fn write_tx_tree<T: Pixel>(
bsize: BlockSize, tx_size: TxSize, tx_type: TxType, skip: bool,
luma_only: bool, rdo_type: RDOType, for_rdo_use: bool
) -> i64 {
if skip { return -1 }
let bw = bsize.width_mi() / tx_size.width_mi();
let bh = bsize.height_mi() / tx_size.height_mi();
let qidx = get_qidx(fi, ts, cw, tile_bo);
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