Commit fdaad4dc authored by Debargha Mukherjee's avatar Debargha Mukherjee

Add an alt FAST_SGR that subsamples horizontally

Adds a horizontally subsampled version of FAST_SGR
that would not require an extra line buffer.
This code is enabled by CONFIG_FAST_SGR=2

Change-Id: Icce07155eb085652cb298bae8d5f01d3136ce867
parent 2fae28b2
This diff is collapsed.
......@@ -367,7 +367,7 @@ static void sgr_filter_block(const sgr_params_type *params, const uint8_t *dat8,
int width, int height, int dat_stride,
int use_highbd, int bit_depth, int32_t *flt1,
int32_t *flt2, int flt_stride) {
#if CONFIG_FAST_SGR
#if CONFIG_FAST_SGR == 2
av1_selfguided_restoration_c(dat8, width, height, dat_stride, flt1, flt2,
flt_stride, params, bit_depth, use_highbd);
#else
......
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