Commit 0c346539 authored by Hui Su's avatar Hui Su
Browse files

Remove redundant code for intrabc RD calculation

Change-Id: I2405656d1151559420b101fc51ceae8a6ba5ca56
parent 9fa96234
......@@ -9282,7 +9282,6 @@ void av1_rd_pick_intra_mode_sb(const AV1_COMP *cpi, MACROBLOCK *x,
if (rd_pick_intrabc_mode_sb(cpi, x, rd_cost, bsize, best_rd) < best_rd) {
ctx->skip = x->skip; // FIXME where is the proper place to set this?!
assert(rd_cost->rate != INT_MAX);
rd_cost->rdcost = RDCOST(x->rdmult, rd_cost->rate, rd_cost->dist);
if (rd_cost->rate == INT_MAX) return;
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