Commit aa94baa9 authored by Luc Trudeau's avatar Luc Trudeau Committed by David Michael Barr
Browse files

[CFL] Adds missing call to cfl_store in RDO

A call to cfl_store is now required in the RDO code.

Change-Id: Ieabaa579a5f7e5c52ae02d0550af832b6e417878
parent baeb3758
......@@ -1556,6 +1556,15 @@ static void block_rd_txfm(int plane, int block, int blk_row, int blk_col,
tx_size, &this_rd_stats.dist, &this_rd_stats.sse,
if (plane == AOM_PLANE_Y && x->cfl_store_y) {
struct macroblockd_plane *const pd = &xd->plane[plane];
const int dst_stride = pd->dst.stride;
uint8_t *dst =
&pd->dst.buf[(blk_row * dst_stride + blk_col) << tx_size_wide_log2[0]];
cfl_store(xd->cfl, dst, dst_stride, blk_row, blk_col, tx_size);
rd = RDCOST(x->rdmult, x->rddiv, 0, this_rd_stats.dist);
if (args->this_rd + rd > args->best_rd) {
args->exit_early = 1;
Supports Markdown
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