Browse Source

avcodec/hevcdsp: rename sao_band_filter c functions

Signed-off-by: James Almer <jamrial@gmail.com>
tags/n2.8
James Almer 10 years ago
parent
commit
7a806c68a6
2 changed files with 5 additions and 5 deletions
  1. +1
    -1
      libavcodec/hevcdsp.c
  2. +4
    -4
      libavcodec/hevcdsp_template.c

+ 1
- 1
libavcodec/hevcdsp.c View File

@@ -216,7 +216,7 @@ void ff_hevc_dsp_init(HEVCDSPContext *hevcdsp, int bit_depth)
hevcdsp->sao_band_filter[1] = \
hevcdsp->sao_band_filter[2] = \
hevcdsp->sao_band_filter[3] = \
hevcdsp->sao_band_filter[4] = FUNC(sao_band_filter_0, depth); \
hevcdsp->sao_band_filter[4] = FUNC(sao_band_filter, depth); \
hevcdsp->sao_edge_filter[0] = \
hevcdsp->sao_edge_filter[1] = \
hevcdsp->sao_edge_filter[2] = \


+ 4
- 4
libavcodec/hevcdsp_template.c View File

@@ -301,10 +301,10 @@ IDCT_DC(32)
#undef SCALE
#undef ADD_AND_SCALE

static void FUNC(sao_band_filter_0)(uint8_t *_dst, uint8_t *_src,
ptrdiff_t stride_dst, ptrdiff_t stride_src,
int16_t *sao_offset_val, int sao_left_class,
int width, int height)
static void FUNC(sao_band_filter)(uint8_t *_dst, uint8_t *_src,
ptrdiff_t stride_dst, ptrdiff_t stride_src,
int16_t *sao_offset_val, int sao_left_class,
int width, int height)
{
pixel *dst = (pixel *)_dst;
pixel *src = (pixel *)_src;


Loading…
Cancel
Save