summaryrefslogtreecommitdiff
path: root/libavcodec/hevcdsp.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-02-03 22:39:03 -0300
committerJames Almer <jamrial@gmail.com>2015-02-04 17:53:04 -0300
commit7457afc64d5fcaddfaf07bfd5d436ebfb3675afe (patch)
treec08d3d88676e9e17119a25e6d8f10b5b98a49744 /libavcodec/hevcdsp.h
parent121ccc336551c3c1fbe438de421c977c86e6bbd3 (diff)
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/hevcdsp.h')
-rw-r--r--libavcodec/hevcdsp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/hevcdsp.h b/libavcodec/hevcdsp.h
index 53d7b1b7e7..1510f3992c 100644
--- a/libavcodec/hevcdsp.h
+++ b/libavcodec/hevcdsp.h
@@ -62,8 +62,8 @@ typedef struct HEVCDSPContext {
int16_t *sao_offset_val, int sao_left_class, int width, int height);
void (*sao_edge_filter)(uint8_t *_dst, uint8_t *_src, ptrdiff_t stride_dst,
- ptrdiff_t stride_src, SAOParams *sao, int width,
- int height, int c_idx);
+ ptrdiff_t stride_src, int16_t *sao_offset_val, int sao_eo_class,
+ int width, int height);
void (*sao_edge_restore[2])(uint8_t *_dst, uint8_t *_src, ptrdiff_t _stride_dst, ptrdiff_t _stride_src,
struct SAOParams *sao, int *borders, int _width, int _height, int c_idx,