Commit 65e6ab0c authored by James Almer's avatar James Almer

hevcdsp: remove unused parameter from sao_band_filter

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent 4b15bba2
...@@ -258,11 +258,8 @@ static void sao_filter_CTB(HEVCContext *s, int x, int y) ...@@ -258,11 +258,8 @@ static void sao_filter_CTB(HEVCContext *s, int x, int y)
switch (sao->type_idx[c_idx]) { switch (sao->type_idx[c_idx]) {
case SAO_BAND: case SAO_BAND:
copy_CTB(dst, src, width << s->sps->pixel_shift, height, stride_dst, stride_src); copy_CTB(dst, src, width << s->sps->pixel_shift, height, stride_dst, stride_src);
s->hevcdsp.sao_band_filter(src, dst, s->hevcdsp.sao_band_filter(src, dst, stride_src, stride_dst,
stride_src, stride_dst, sao, width, height, c_idx);
sao,
edges, width,
height, c_idx);
restore_tqb_pixels(s, x, y, width, height, c_idx); restore_tqb_pixels(s, x, y, width, height, c_idx);
sao->type_idx[c_idx] = SAO_APPLIED; sao->type_idx[c_idx] = SAO_APPLIED;
break; break;
......
...@@ -59,8 +59,7 @@ typedef struct HEVCDSPContext { ...@@ -59,8 +59,7 @@ typedef struct HEVCDSPContext {
void (*idct_dc[4])(int16_t *coeffs); 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, void (*sao_band_filter)(uint8_t *_dst, uint8_t *_src, ptrdiff_t _stride_dst, ptrdiff_t _stride_src,
struct SAOParams *sao, int *borders, struct SAOParams *sao, int width, int height, int c_idx);
int width, int height, int c_idx);
void (*sao_edge_filter[2])(uint8_t *_dst, uint8_t *_src, ptrdiff_t _stride_dst, ptrdiff_t _stride_src, 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, struct SAOParams *sao, int *borders, int _width,
......
...@@ -303,8 +303,7 @@ IDCT_DC(32) ...@@ -303,8 +303,7 @@ IDCT_DC(32)
static void FUNC(sao_band_filter_0)(uint8_t *_dst, uint8_t *_src, static void FUNC(sao_band_filter_0)(uint8_t *_dst, uint8_t *_src,
ptrdiff_t stride_dst, ptrdiff_t stride_src, SAOParams *sao, ptrdiff_t stride_dst, ptrdiff_t stride_src, SAOParams *sao,
int *borders, int width, int height, int width, int height, int c_idx)
int c_idx)
{ {
pixel *dst = (pixel *)_dst; pixel *dst = (pixel *)_dst;
pixel *src = (pixel *)_src; pixel *src = (pixel *)_src;
......
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