summaryrefslogtreecommitdiffstats
path: root/libavcodec/hevcdsp.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2015-02-04 20:19:36 -0300
committerJames Almer <jamrial@gmail.com>2015-02-05 15:02:22 -0300
commit1f1c7c8a57e81803a034b00077bd43e7a6e4ed82 (patch)
tree47f58f0f0ac02d85ca42ff0bcbaf1138ff6d9a17 /libavcodec/hevcdsp.h
parente09ad5bd0de40da9ac33d86f973a85beed85cc47 (diff)
downloadffmpeg-streaming-1f1c7c8a57e81803a034b00077bd43e7a6e4ed82.zip
ffmpeg-streaming-1f1c7c8a57e81803a034b00077bd43e7a6e4ed82.tar.gz
hevcdsp: remove compilation-time-fixed parameter from sao_edge_filter
The stride_src parameter is always 2 * MAX_PB_SIZE + FF_INPUT_BUFFER_PADDING_SIZE. Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/hevcdsp.h')
-rw-r--r--libavcodec/hevcdsp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/hevcdsp.h b/libavcodec/hevcdsp.h
index 1510f39..c0706fa 100644
--- a/libavcodec/hevcdsp.h
+++ b/libavcodec/hevcdsp.h
@@ -61,9 +61,9 @@ 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)(uint8_t *_dst, uint8_t *_src, ptrdiff_t stride_dst,
- ptrdiff_t stride_src, int16_t *sao_offset_val, int sao_eo_class,
- int width, int height);
+ /* implicit stride_src parameter has value of 2 * MAX_PB_SIZE + FF_INPUT_BUFFER_PADDING_SIZE */
+ void (*sao_edge_filter)(uint8_t *_dst, uint8_t *_src, ptrdiff_t stride_dst, 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,
OpenPOWER on IntegriCloud