[FFmpeg-cvslog] ppc/h264dsp: change loop filter stride argument to ptrdiff_t
James Almer
git at videolan.org
Thu Feb 21 00:41:58 EET 2019
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Wed Feb 20 19:40:09 2019 -0300| [72458b3f0828eb4a821b77fbf4cc92f069818f6b] | committer: James Almer
ppc/h264dsp: change loop filter stride argument to ptrdiff_t
This was missed in d5d699ab6e6f8a8290748d107416fd5c19757a1b
Signed-off-by: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=72458b3f0828eb4a821b77fbf4cc92f069818f6b
---
libavcodec/ppc/h264dsp.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/ppc/h264dsp.c b/libavcodec/ppc/h264dsp.c
index f510544dda..d8a3baa34d 100644
--- a/libavcodec/ppc/h264dsp.c
+++ b/libavcodec/ppc/h264dsp.c
@@ -625,7 +625,7 @@ static inline vec_u8 h264_deblock_q1(register vec_u8 p0,
q1 = newq1; \
}
-static void h264_v_loop_filter_luma_altivec(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0) {
+static void h264_v_loop_filter_luma_altivec(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0) {
if ((tc0[0] & tc0[1] & tc0[2] & tc0[3]) >= 0) {
register vec_u8 p2 = vec_ld(-3*stride, pix);
@@ -642,7 +642,7 @@ static void h264_v_loop_filter_luma_altivec(uint8_t *pix, int stride, int alpha,
}
}
-static void h264_h_loop_filter_luma_altivec(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0) {
+static void h264_h_loop_filter_luma_altivec(uint8_t *pix, ptrdiff_t stride, int alpha, int beta, int8_t *tc0) {
register vec_u8 line0, line1, line2, line3, line4, line5;
if ((tc0[0] & tc0[1] & tc0[2] & tc0[3]) < 0)
More information about the ffmpeg-cvslog
mailing list