mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-02-04 14:30:55 +08:00
avcodec/hpel{dsp,_template}: Use ptrdiff_t for strides
Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@@ -29,9 +29,9 @@
|
||||
static inline void FUNC(OPNAME ## _pixels8_l2)(uint8_t *dst, \
|
||||
const uint8_t *src1, \
|
||||
const uint8_t *src2, \
|
||||
int dst_stride, \
|
||||
int src_stride1, \
|
||||
int src_stride2, \
|
||||
ptrdiff_t dst_stride, \
|
||||
ptrdiff_t src_stride1, \
|
||||
ptrdiff_t src_stride2, \
|
||||
int h) \
|
||||
{ \
|
||||
int i; \
|
||||
@@ -50,9 +50,9 @@ static inline void FUNC(OPNAME ## _pixels8_l2)(uint8_t *dst, \
|
||||
static inline void FUNC(OPNAME ## _pixels4_l2)(uint8_t *dst, \
|
||||
const uint8_t *src1, \
|
||||
const uint8_t *src2, \
|
||||
int dst_stride, \
|
||||
int src_stride1, \
|
||||
int src_stride2, \
|
||||
ptrdiff_t dst_stride, \
|
||||
ptrdiff_t src_stride1, \
|
||||
ptrdiff_t src_stride2, \
|
||||
int h) \
|
||||
{ \
|
||||
int i; \
|
||||
@@ -67,9 +67,9 @@ static inline void FUNC(OPNAME ## _pixels4_l2)(uint8_t *dst, \
|
||||
static inline void FUNC(OPNAME ## _pixels2_l2)(uint8_t *dst, \
|
||||
const uint8_t *src1, \
|
||||
const uint8_t *src2, \
|
||||
int dst_stride, \
|
||||
int src_stride1, \
|
||||
int src_stride2, \
|
||||
ptrdiff_t dst_stride, \
|
||||
ptrdiff_t src_stride1, \
|
||||
ptrdiff_t src_stride2, \
|
||||
int h) \
|
||||
{ \
|
||||
int i; \
|
||||
@@ -84,9 +84,9 @@ static inline void FUNC(OPNAME ## _pixels2_l2)(uint8_t *dst, \
|
||||
static inline void FUNC(OPNAME ## _pixels16_l2)(uint8_t *dst, \
|
||||
const uint8_t *src1, \
|
||||
const uint8_t *src2, \
|
||||
int dst_stride, \
|
||||
int src_stride1, \
|
||||
int src_stride2, \
|
||||
ptrdiff_t dst_stride, \
|
||||
ptrdiff_t src_stride1, \
|
||||
ptrdiff_t src_stride2, \
|
||||
int h) \
|
||||
{ \
|
||||
FUNC(OPNAME ## _pixels8_l2)(dst, src1, src2, dst_stride, \
|
||||
|
||||
@@ -39,9 +39,9 @@
|
||||
static inline void OPNAME ## _no_rnd_pixels8_l2_8(uint8_t *dst, \
|
||||
const uint8_t *src1, \
|
||||
const uint8_t *src2, \
|
||||
int dst_stride, \
|
||||
int src_stride1, \
|
||||
int src_stride2, \
|
||||
ptrdiff_t dst_stride, \
|
||||
ptrdiff_t src_stride1,\
|
||||
ptrdiff_t src_stride2,\
|
||||
int h) \
|
||||
{ \
|
||||
int i; \
|
||||
|
||||
Reference in New Issue
Block a user