[Ffmpeg-devel] patch: altivec optimizations for h264 decoder

Michael Niedermayer michaelni
Mon Feb 6 20:25:25 CET 2006


Hi

On Mon, Feb 06, 2006 at 07:56:58PM +0100, Mauricio Alvarez wrote:
[...]
> BTW I was trying to implement put_pixels16_l2_altivec and
> put_pixels8_l2_altivec using the vec_avg instruction, but always I found
> evident artifacts in the resulting videos. Has you any clue about that?
> I think that it is possible to achieve more speed-up by implementing
> those functions in altivec.

hmm,
1. check alignment
2. check that gcc generates valid code (gcc -S or gdb)
3. let the C and altivec code run in paralel and printf()/av_log() all
differences ...

[...]
-- 
Michael





More information about the ffmpeg-devel mailing list