diff options
author | Seppo Tomperi <seppo.tomperi@vtt.fi> | 2015-02-03 22:34:52 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2015-02-04 17:52:49 -0300 |
commit | 74d7faf4001e74c54f81000e521cef8e9965c80b (patch) | |
tree | 8ad56aac45e1ae7fc73c8eabbc2b05c220338754 /libavcodec/hevcdsp.h | |
parent | fabbfaa095660982cc0bc63242c459561fa37037 (diff) | |
download | ffmpeg-74d7faf4001e74c54f81000e521cef8e9965c80b.tar.gz |
hevcdsp: separated sao edge filter and pixel restore funcs
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Reviewed-by: Christophe Gisquet <christophe.gisquet@gmail.com>
Reviewed-by: Mickaƫl Raulet <mraulet@insa-rennes.fr>
Diffstat (limited to 'libavcodec/hevcdsp.h')
-rw-r--r-- | libavcodec/hevcdsp.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/libavcodec/hevcdsp.h b/libavcodec/hevcdsp.h index 6fb161b462..c71b34f5a3 100644 --- a/libavcodec/hevcdsp.h +++ b/libavcodec/hevcdsp.h @@ -61,10 +61,13 @@ typedef struct HEVCDSPContext { void (*sao_band_filter[5])(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); - 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, - int _height, int c_idx, uint8_t *vert_edge, - uint8_t *horiz_edge, uint8_t *diag_edge); + 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, int init_x, int init_y); + + 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, + uint8_t *vert_edge, uint8_t *horiz_edge, uint8_t *diag_edge); void (*put_hevc_qpel[10][2][2])(int16_t *dst, uint8_t *src, ptrdiff_t srcstride, int height, intptr_t mx, intptr_t my, int width); |