diff options
author | Mickaƫl Raulet <mraulet@insa-rennes.fr> | 2014-07-15 10:23:20 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-15 13:11:33 +0200 |
commit | 1241eb88704f75fe9e7d1de3663aa24d4318cdab (patch) | |
tree | 4e44e5bc5455b86b4fe3f8a586455a5d301550b2 /libavcodec/hevcdsp.h | |
parent | d59536159379a1b8c5f7631025edfc4a7d40b048 (diff) | |
download | ffmpeg-1241eb88704f75fe9e7d1de3663aa24d4318cdab.tar.gz |
hevc: simplify SAO computation, delay from one row its computation
(cherry picked from commit f2c5f647cec786df26f442a85e6d685a131a50c9)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/hevcdsp.h')
-rw-r--r-- | libavcodec/hevcdsp.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/libavcodec/hevcdsp.h b/libavcodec/hevcdsp.h index b16251604d..3a76fc4937 100644 --- a/libavcodec/hevcdsp.h +++ b/libavcodec/hevcdsp.h @@ -54,13 +54,14 @@ typedef struct HEVCDSPContext { void (*transform_dc_add[4])(uint8_t *dst, int16_t *coeffs, ptrdiff_t stride); - void (*sao_band_filter[4])(uint8_t *dst, uint8_t *src, ptrdiff_t stride, - struct SAOParams *sao, int *borders, - int width, int height, int c_idx); - void (*sao_edge_filter[4])(uint8_t *dst, uint8_t *src, ptrdiff_t stride, - 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_band_filter)(uint8_t *_dst, uint8_t *_src, ptrdiff_t _stride, + struct SAOParams *sao, int *borders, + int width, int height, int c_idx); + + void (*sao_edge_filter[2])(uint8_t *_dst, uint8_t *_src, ptrdiff_t _stride, + 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, ptrdiff_t dststride, uint8_t *src, ptrdiff_t srcstride, int height, intptr_t mx, intptr_t my, int width); |