From 2929e560061312e564a33aed4727283cbb48b102 Mon Sep 17 00:00:00 2001 From: James Almer Date: Tue, 27 Jan 2015 16:46:57 -0300 Subject: 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 --- libavcodec/hevcdsp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/hevcdsp.h') diff --git a/libavcodec/hevcdsp.h b/libavcodec/hevcdsp.h index 353677abe0..a798fb1dc4 100644 --- a/libavcodec/hevcdsp.h +++ b/libavcodec/hevcdsp.h @@ -59,7 +59,7 @@ typedef struct HEVCDSPContext { void (*idct_dc[4])(int16_t *coeffs); void (*sao_band_filter)(uint8_t *_dst, uint8_t *_src, ptrdiff_t _stride_dst, ptrdiff_t _stride_src, - struct SAOParams *sao, int width, int height, int c_idx); + int16_t *sao_offset_val, int sao_left_class, int width, int height); void (*sao_edge_filter[2])(uint8_t *_dst, uint8_t *_src, ptrdiff_t _stride_dst, ptrdiff_t _stride_src, struct SAOParams *sao, int *borders, int _width, -- cgit v1.2.3