mirror of https://git.ffmpeg.org/ffmpeg.git
Altivec can only load naturally aligned vectors. To handle possibly unaligned data a second vector is loaded from an offset of the original location and the data is recovered through a vector permutation. Overreads are minimal if the offset for second load points to the last element of data. This is 7 for loading eight 8-bit pixels and overreads are reduced from 16 bytes to 8 bytes if the pixels are 64-bit aligned. For unaligned pixels the overread is reduced from 23 bytes to 15 bytes in the worst case. |
||
---|---|---|
.. | ||
Makefile | ||
asm.S | ||
dsputil_altivec.c | ||
dsputil_altivec.h | ||
dsputil_ppc.c | ||
fdct_altivec.c | ||
fft_altivec.c | ||
fft_altivec_s.S | ||
fmtconvert_altivec.c | ||
gmc_altivec.c | ||
h264chroma_init.c | ||
h264chroma_template.c | ||
h264dsp.c | ||
h264qpel.c | ||
h264qpel_template.c | ||
hpeldsp_altivec.c | ||
idct_altivec.c | ||
int_altivec.c | ||
mathops.h | ||
mpegaudiodsp_altivec.c | ||
mpegvideo_altivec.c | ||
vc1dsp_altivec.c | ||
videodsp_ppc.c | ||
vorbisdsp_altivec.c | ||
vp3dsp_altivec.c | ||
vp8dsp_altivec.c |