diff options
author | James Almer <jamrial@gmail.com> | 2015-02-03 22:39:03 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2015-02-04 17:53:04 -0300 |
commit | 7457afc64d5fcaddfaf07bfd5d436ebfb3675afe (patch) | |
tree | c08d3d88676e9e17119a25e6d8f10b5b98a49744 /libavcodec/hevc_filter.c | |
parent | 121ccc336551c3c1fbe438de421c977c86e6bbd3 (diff) | |
download | ffmpeg-7457afc64d5fcaddfaf07bfd5d436ebfb3675afe.tar.gz |
hevcdsp: replace the SAOParams struct parameter from sao_edge_filter
As with sao_band_filter, pass instead the two variables from the struct needed in the function.
This simplifies writing asm optimized versions.
Reviewed-by: Mickaƫl Raulet <mraulet@insa-rennes.fr>
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/hevc_filter.c')
-rw-r--r-- | libavcodec/hevc_filter.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/hevc_filter.c b/libavcodec/hevc_filter.c index b002d87fba..bf88b47cb3 100644 --- a/libavcodec/hevc_filter.c +++ b/libavcodec/hevc_filter.c @@ -427,7 +427,9 @@ static void sao_filter_CTB(HEVCContext *s, int x, int y) copy_CTB_to_hv(s, src, stride_src, x0, y0, width, height, c_idx, x_ctb, y_ctb); - s->hevcdsp.sao_edge_filter(src, dst, stride_src, stride_dst, sao, width, height, c_idx); + s->hevcdsp.sao_edge_filter(src, dst, stride_src, stride_dst, + sao->offset_val[c_idx], sao->eo_class[c_idx], + width, height); s->hevcdsp.sao_edge_restore[restore](src, dst, stride_src, stride_dst, sao, |