aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/x86/simple_idct.h
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-03-21 14:29:52 -0300
committerJames Almer <jamrial@gmail.com>2017-03-21 14:29:52 -0300
commit5a49097b42cbc3eab888d15a91eeaf5520b5c381 (patch)
tree080300f20bca98deac895f2ca86a25b72a8428e8 /libavcodec/x86/simple_idct.h
parent2c8a3aa985acc906ecab37357f2798da7cb9822d (diff)
parent2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428 (diff)
downloadffmpeg-5a49097b42cbc3eab888d15a91eeaf5520b5c381.tar.gz
Merge commit '2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428'
* commit '2ec9fa5ec60dcd10e1cb10d8b4e4437e634ea428': idct: Change type of array stride parameters to ptrdiff_t Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/x86/simple_idct.h')
-rw-r--r--libavcodec/x86/simple_idct.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/libavcodec/x86/simple_idct.h b/libavcodec/x86/simple_idct.h
index 8eeb31e299..ad76bafd85 100644
--- a/libavcodec/x86/simple_idct.h
+++ b/libavcodec/x86/simple_idct.h
@@ -19,22 +19,23 @@
#ifndef AVCODEC_X86_SIMPLE_IDCT_H
#define AVCODEC_X86_SIMPLE_IDCT_H
+#include <stddef.h>
#include <stdint.h>
void ff_simple_idct_mmx(int16_t *block);
-void ff_simple_idct_add_mmx(uint8_t *dest, int line_size, int16_t *block);
-void ff_simple_idct_put_mmx(uint8_t *dest, int line_size, int16_t *block);
+void ff_simple_idct_add_mmx(uint8_t *dest, ptrdiff_t line_size, int16_t *block);
+void ff_simple_idct_put_mmx(uint8_t *dest, ptrdiff_t line_size, int16_t *block);
void ff_simple_idct10_sse2(int16_t *block);
void ff_simple_idct10_avx(int16_t *block);
-void ff_simple_idct10_put_sse2(uint8_t *dest, int line_size, int16_t *block);
-void ff_simple_idct10_put_avx(uint8_t *dest, int line_size, int16_t *block);
+void ff_simple_idct10_put_sse2(uint8_t *dest, ptrdiff_t line_size, int16_t *block);
+void ff_simple_idct10_put_avx(uint8_t *dest, ptrdiff_t line_size, int16_t *block);
void ff_simple_idct12_sse2(int16_t *block);
void ff_simple_idct12_avx(int16_t *block);
-void ff_simple_idct12_put_sse2(uint8_t *dest, int line_size, int16_t *block);
-void ff_simple_idct12_put_avx(uint8_t *dest, int line_size, int16_t *block);
+void ff_simple_idct12_put_sse2(uint8_t *dest, ptrdiff_t line_size, int16_t *block);
+void ff_simple_idct12_put_avx(uint8_t *dest, ptrdiff_t line_size, int16_t *block);
#endif /* AVCODEC_X86_SIMPLE_IDCT_H */