[FFmpeg-devel] [PATCH] h264 luma interpolation 8x8 for altivec
Tue Jun 26 14:36:54 CEST 2007
Mauricio Alvarez wrote:
> part1: cosmetics: replace all the variable definitions in h264_altivec.c
> h264_template_altivec.c with the data types defined in types_altivec.h
> including the use of the LOAD_ZERO and the corresponding zero_xxxxv
> part2: removes alignment correction of the destination pointers in
> interpolations. As I mentioned before I have made a test and these pointers
> are always aligned to 128-bit- The only source of misalignment (with
> to 128-bit) is the variable block size, but in the 16x16 case the
> destination is always aligned.
> part3. add luma_8x8 interpolation routines. I made a complete patch for
> this. This functions are very similar to the 16x16 ones, but taking into
> account the alignment of the 8x8 cases and other minor details.
Please add a comment just in case. It's unlikely that we'd have cpus
with VMX with larger vectors but better be safe.
part4 Seems ok, maybe make it fit 79cols
That's all from a quick read of the code, I'll test it soon.
More information about the ffmpeg-devel