Author: sparky Date: Wed Dec 6 05:01:51 2006 GMT Module: SOURCES Tag: HEAD ---- Log message: - vec_mergeh(vector unsigned char, vector unsigned char) returns (vector unsigned char), cast it to (vector unsigned short), as gcc from AC hates initialization of (vector unsigned short) with (vector unsigned char)
---- Files affected: SOURCES: ffmpeg-altivec_fix.patch (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SOURCES/ffmpeg-altivec_fix.patch diff -u /dev/null SOURCES/ffmpeg-altivec_fix.patch:1.1 --- /dev/null Wed Dec 6 06:01:51 2006 +++ SOURCES/ffmpeg-altivec_fix.patch Wed Dec 6 06:01:46 2006 @@ -0,0 +1,11 @@ +--- ffmpeg-export-2006-12-04.orig/libavcodec/ppc/h264_altivec.c 2006-12-02 14:50:42.000000000 +0000 ++++ ffmpeg-export-2006-12-04.altivec_fix/libavcodec/ppc/h264_altivec.c 2006-12-06 04:58:41.000000000 +0000 +@@ -464,7 +464,7 @@ + vec_u8_t lv = vec_ld( 7, dest ); \ + vec_u8_t dstv = vec_perm( hv, lv, (vec_u8_t)perm_ldv ); \ + vec_s16_t idct_sh6 = vec_sra(idctv, sixv); \ +- vec_u16_t dst16 = vec_mergeh(zero_u8v, dstv); \ ++ vec_u16_t dst16 = (vec_u16_t)vec_mergeh(zero_u8v, dstv); \ + vec_s16_t idstsum = vec_adds(idct_sh6, (vec_s16_t)dst16); \ + vec_u8_t idstsum8 = vec_packsu(zero_s16v, idstsum); \ + vec_u8_t edgehv; \ ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
