[Ffmpeg-devel] [PATCH] idct8 in Altivec for H.264 decoding
Guillaume POIRIER
poirierg
Sun Nov 19 23:52:59 CET 2006
Hi,
On 10/9/06, Guillaume Poirier <gpoirier at mplayerhq.hu> wrote:
> Hi,
>
> Luca Barbato wrote:
> > Guillaume POIRIER wrote:
> >
> >
> >>+
> >>+/***********************************************************************
> >>+ * Vector types
> >>+ **********************************************************************/
> >>+#define vec_u8_t vector unsigned char
> >>+#define vec_s8_t vector signed char
> >>+#define vec_u16_t vector unsigned short
> >>+#define vec_s16_t vector signed short
> >>+#define vec_u32_t vector unsigned int
> >>+#define vec_s32_t vector signed int
> >>+
> >>+/***********************************************************************
> >>+ * Null vector
> >>+ **********************************************************************/
> >>+#define LOAD_ZERO const vec_u8_t zerov = vec_splat_u8( 0 )
> >>+
> >>+#define zero_u8v (vec_u8_t) zerov
> >>+#define zero_s8v (vec_s8_t) zerov
> >>+#define zero_u16v (vec_u16_t) zerov
> >>+#define zero_s16v (vec_s16_t) zerov
> >>+#define zero_u32v (vec_u32_t) zerov
> >>+#define zero_s32v (vec_s32_t) zerov
> >
> >
> > move them in a types_altivec.h
>
> ok.
Done.
Now I need to work on the rest :-)
Guillaume
--
With DADVSI (http://en.wikipedia.org/wiki/DADVSI), France finally has
a lead on USA on selling out individuals right to corporations!
Vive la France!
More information about the ffmpeg-devel
mailing list