Commit 9a6015d7 authored by Rupert Swarbrick's avatar Rupert Swarbrick Committed by Debargha Mukherjee

Fix typo in previous patch (av1_make_masked_inter_predictor)

With convolve round, tmp_buf32 should be set to tmp_buf rather than
tmp_dst because we want the actual pointer value rather than the funky
rescaled one when the frame is high bit depth.

Change-Id: I614ca1ebb4b6db8c4957fdced9dc2009a7ac107e
parent 57c36e18
......@@ -1012,7 +1012,7 @@ void av1_make_masked_inter_predictor(const uint8_t *pre, int pre_stride,
const int is_conv_no_round = conv_params->round == CONVOLVE_OPT_NO_ROUND;
CONV_BUF_TYPE *org_dst = conv_params->dst;
int org_dst_stride = conv_params->dst_stride;
CONV_BUF_TYPE *tmp_buf32 = (CONV_BUF_TYPE *)tmp_dst;
CONV_BUF_TYPE *tmp_buf32 = (CONV_BUF_TYPE *)tmp_buf;
if (is_conv_no_round) {
conv_params->dst = tmp_buf32;
conv_params->dst_stride = tmp_buf_stride;
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