diff options
author | James Almer <jamrial@gmail.com> | 2015-01-27 22:46:57 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2015-02-01 21:45:20 +0300 |
commit | 2929e560061312e564a33aed4727283cbb48b102 (patch) | |
tree | 15a1cd48c527c7687e40902ebd09c4a3121b61c5 /libavcodec/hevc_filter.c | |
parent | 65e6ab0c5a9fbef06476ee302c97e0c95a073dd3 (diff) |
hevcdsp: replace the SAOParams struct parameter from sao_band_filter
Pass instead the two variables from the struct needed in the function.
This simplifies writing asm optimized versions of the function
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/hevc_filter.c')
-rw-r--r-- | libavcodec/hevc_filter.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/hevc_filter.c b/libavcodec/hevc_filter.c index 30ade745e9..fb1aa373df 100644 --- a/libavcodec/hevc_filter.c +++ b/libavcodec/hevc_filter.c @@ -259,7 +259,8 @@ static void sao_filter_CTB(HEVCContext *s, int x, int y) case SAO_BAND: copy_CTB(dst, src, width << s->sps->pixel_shift, height, stride_dst, stride_src); s->hevcdsp.sao_band_filter(src, dst, stride_src, stride_dst, - sao, width, height, c_idx); + sao->offset_val[c_idx], sao->band_position[c_idx], + width, height); restore_tqb_pixels(s, x, y, width, height, c_idx); sao->type_idx[c_idx] = SAO_APPLIED; break; |