diff options
author | James Almer <jamrial@gmail.com> | 2017-03-21 15:20:45 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-03-21 15:20:45 -0300 |
commit | a8474df9447d6466c77d3ec8f414cda2662f057b (patch) | |
tree | 508b0b6cbb90c13e0a9ff44023f5df96b21420fd /libavcodec/ppc | |
parent | 5a49097b42cbc3eab888d15a91eeaf5520b5c381 (diff) | |
parent | e4a94d8b36c48d95a7d412c40d7b558422ff659c (diff) |
Merge commit 'e4a94d8b36c48d95a7d412c40d7b558422ff659c'
* commit 'e4a94d8b36c48d95a7d412c40d7b558422ff659c':
h264chroma: Change type of stride parameters to ptrdiff_t
Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/ppc')
-rw-r--r-- | libavcodec/ppc/h264chroma_template.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/libavcodec/ppc/h264chroma_template.c b/libavcodec/ppc/h264chroma_template.c index cb1e0957e1..d9b2a619e4 100644 --- a/libavcodec/ppc/h264chroma_template.c +++ b/libavcodec/ppc/h264chroma_template.c @@ -111,7 +111,9 @@ #ifdef PREFIX_h264_chroma_mc8_altivec static void PREFIX_h264_chroma_mc8_altivec(uint8_t * dst, uint8_t * src, - int stride, int h, int x, int y) { + ptrdiff_t stride, int h, + int x, int y) +{ DECLARE_ALIGNED(16, signed int, ABCD)[4] = {((8 - x) * (8 - y)), (( x) * (8 - y)), @@ -183,7 +185,10 @@ static void PREFIX_h264_chroma_mc8_altivec(uint8_t * dst, uint8_t * src, /* this code assume that stride % 16 == 0 */ #ifdef PREFIX_no_rnd_vc1_chroma_mc8_altivec -static void PREFIX_no_rnd_vc1_chroma_mc8_altivec(uint8_t * dst, uint8_t * src, int stride, int h, int x, int y) { +static void PREFIX_no_rnd_vc1_chroma_mc8_altivec(uint8_t *dst, uint8_t *src, + ptrdiff_t stride, int h, + int x, int y) +{ DECLARE_ALIGNED(16, signed int, ABCD)[4] = {((8 - x) * (8 - y)), (( x) * (8 - y)), |