aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vp56dsp.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-03-19 14:54:25 -0300
committerJames Almer <jamrial@gmail.com>2017-03-19 14:54:25 -0300
commit4004d33fcbbb93eaf57b5a5f8b2412b7807f094f (patch)
treef32596facfa46be27ebdd99c4efe77e9b18df91d /libavcodec/vp56dsp.h
parent6a42a54b9de41d5eb1b246409e280c85194ed6ff (diff)
parentd9d26a3674f31f482f54e936fcb382160830877a (diff)
downloadffmpeg-4004d33fcbbb93eaf57b5a5f8b2412b7807f094f.tar.gz
Merge commit 'd9d26a3674f31f482f54e936fcb382160830877a'
* commit 'd9d26a3674f31f482f54e936fcb382160830877a': vp56: Change type of stride parameters to ptrdiff_t Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/vp56dsp.h')
-rw-r--r--libavcodec/vp56dsp.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/libavcodec/vp56dsp.h b/libavcodec/vp56dsp.h
index 7807baa4b1..9249c4732e 100644
--- a/libavcodec/vp56dsp.h
+++ b/libavcodec/vp56dsp.h
@@ -21,18 +21,20 @@
#ifndef AVCODEC_VP56DSP_H
#define AVCODEC_VP56DSP_H
+#include <stddef.h>
#include <stdint.h>
+
#include "avcodec.h"
typedef struct VP56DSPContext {
- void (*edge_filter_hor)(uint8_t *yuv, int stride, int t);
- void (*edge_filter_ver)(uint8_t *yuv, int stride, int t);
+ void (*edge_filter_hor)(uint8_t *yuv, ptrdiff_t stride, int t);
+ void (*edge_filter_ver)(uint8_t *yuv, ptrdiff_t stride, int t);
- void (*vp6_filter_diag4)(uint8_t *dst, uint8_t *src, int stride,
+ void (*vp6_filter_diag4)(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
const int16_t *h_weights,const int16_t *v_weights);
} VP56DSPContext;
-void ff_vp6_filter_diag4_c(uint8_t *dst, uint8_t *src, int stride,
+void ff_vp6_filter_diag4_c(uint8_t *dst, uint8_t *src, ptrdiff_t stride,
const int16_t *h_weights, const int16_t *v_weights);
void ff_vp56dsp_init(VP56DSPContext *s, enum AVCodecID codec);