Re: [libav-devel] [PATCH] vp3: Change type of stride parameters to ptrdiff_t

2016-08-25 Thread Martin Storsjö
On Thu, 25 Aug 2016, Diego Biurrun wrote: This avoids SIMD-optimized functions having to sign-extend their stride argument manually to be able to do pointer arithmetic. Also adjust parameter names to be "stride" everywhere. --- Log message updated. libavcodec/arm/vp3dsp_init_arm.c | 6

[libav-devel] [PATCH] vp3: Change type of stride parameters to ptrdiff_t

2016-08-25 Thread Diego Biurrun
This avoids SIMD-optimized functions having to sign-extend their stride argument manually to be able to do pointer arithmetic. Also adjust parameter names to be "stride" everywhere. --- Log message updated. libavcodec/arm/vp3dsp_init_arm.c | 6 +++--- libavcodec/ppc/vp3dsp_altivec.c | 4

Re: [libav-devel] [PATCH] vp3: Change type of stride parameters to ptrdiff_t

2016-08-24 Thread Martin Storsjö
On Wed, 24 Aug 2016, Diego Biurrun wrote: This avoids SIMD-optimized functions having to sign-extend their line size argument manually to be able to do pointer arithmetic. --- Possibly this needs some changes for ARM, which I know nothing about. No, no such changes are needed since we don't

[libav-devel] [PATCH] vp3: Change type of stride parameters to ptrdiff_t

2016-08-24 Thread Diego Biurrun
This avoids SIMD-optimized functions having to sign-extend their line size argument manually to be able to do pointer arithmetic. --- Possibly this needs some changes for ARM, which I know nothing about. libavcodec/arm/vp3dsp_init_arm.c | 6 +++--- libavcodec/ppc/vp3dsp_altivec.c | 4 ++--