[Ffmpeg-devel] [PATCH] idct8 in Altivec for H.264 decoding

Luca Barbato lu_zero
Fri Dec 1 20:37:09 CET 2006


Guillaume POIRIER wrote:

> last call before I apply it.

check this one

> Note that it may break with gcc3.x: ffmpeg can't compile currently

now should build w/out problems

> with gcc 3.3 on PPC, so I don't know if this routine compiles with it
> or not. Probably not.

Changes:
- avoiding C++ style variable declaration
- vec_sra needs unsigned values for the shift amount
- the h264_idct8_add prototype doesn't have int16 dct[8][8] but DCTELEM
*block as second parameter.

Reproducing h264 videos seems to be ok, the regression test looks broken
for me even w/out patches...

lu

-- 

Luca Barbato

Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg_idct8_altivec.patch
Type: text/x-patch
Size: 7004 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061201/dc8253ac/attachment.bin>



More information about the ffmpeg-devel mailing list