From 74d7faf4001e74c54f81000e521cef8e9965c80b Mon Sep 17 00:00:00 2001 From: Seppo Tomperi Date: Tue, 3 Feb 2015 22:34:52 -0300 Subject: hevcdsp: separated sao edge filter and pixel restore funcs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Reviewed-by: Michael Niedermayer Reviewed-by: Christophe Gisquet Reviewed-by: Mickaƫl Raulet --- libavcodec/hevc_filter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavcodec/hevc_filter.c') diff --git a/libavcodec/hevc_filter.c b/libavcodec/hevc_filter.c index e3bafa645d..bd00da55bf 100644 --- a/libavcodec/hevc_filter.c +++ b/libavcodec/hevc_filter.c @@ -427,7 +427,8 @@ 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[restore](src, dst, + s->hevcdsp.sao_edge_filter(src, dst, stride_src, stride_dst, sao, width, height, c_idx, 0, 0); + s->hevcdsp.sao_edge_restore[restore](src, dst, stride_src, stride_dst, sao, edges, width, -- cgit v1.2.3