hvirtual/quicktime/ffmpeg/libavcodec/ppc/dsputil_h264_altivec.c File Reference

#include "../dsputil.h"
#include "gcc_fixes.h"
#include "dsputil_altivec.h"
#include "dsputil_h264_template_altivec.c"

Include dependency graph for dsputil_h264_altivec.c:

Go to the source code of this file.

Defines

#define PUT_OP_U8_ALTIVEC(d, s, dst)   d = s
#define AVG_OP_U8_ALTIVEC(d, s, dst)   d = vec_avg(dst, s)
#define OP_U8_ALTIVEC   PUT_OP_U8_ALTIVEC
#define PREFIX_h264_chroma_mc8_altivec   put_h264_chroma_mc8_altivec
#define PREFIX_h264_chroma_mc8_num   altivec_put_h264_chroma_mc8_num
#define PREFIX_h264_qpel16_h_lowpass_altivec   put_h264_qpel16_h_lowpass_altivec
#define PREFIX_h264_qpel16_h_lowpass_num   altivec_put_h264_qpel16_h_lowpass_num
#define PREFIX_h264_qpel16_v_lowpass_altivec   put_h264_qpel16_v_lowpass_altivec
#define PREFIX_h264_qpel16_v_lowpass_num   altivec_put_h264_qpel16_v_lowpass_num
#define PREFIX_h264_qpel16_hv_lowpass_altivec   put_h264_qpel16_hv_lowpass_altivec
#define PREFIX_h264_qpel16_hv_lowpass_num   altivec_put_h264_qpel16_hv_lowpass_num
#define OP_U8_ALTIVEC   AVG_OP_U8_ALTIVEC
#define PREFIX_h264_chroma_mc8_altivec   avg_h264_chroma_mc8_altivec
#define PREFIX_h264_chroma_mc8_num   altivec_avg_h264_chroma_mc8_num
#define PREFIX_h264_qpel16_h_lowpass_altivec   avg_h264_qpel16_h_lowpass_altivec
#define PREFIX_h264_qpel16_h_lowpass_num   altivec_avg_h264_qpel16_h_lowpass_num
#define PREFIX_h264_qpel16_v_lowpass_altivec   avg_h264_qpel16_v_lowpass_altivec
#define PREFIX_h264_qpel16_v_lowpass_num   altivec_avg_h264_qpel16_v_lowpass_num
#define PREFIX_h264_qpel16_hv_lowpass_altivec   avg_h264_qpel16_hv_lowpass_altivec
#define PREFIX_h264_qpel16_hv_lowpass_num   altivec_avg_h264_qpel16_hv_lowpass_num
#define H264_MC(OPNAME, SIZE, CODETYPE)
#define put_pixels16_l2_altivec(d, s1, s2, ds, s1s, h)   put_pixels16_l2(d,s1,s2,ds,s1s,16,h)
#define avg_pixels16_l2_altivec(d, s1, s2, ds, s1s, h)   avg_pixels16_l2(d,s1,s2,ds,s1s,16,h)

Functions

static void put_pixels8_l2 (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2, int h)
static void avg_pixels8_l2 (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2, int h)
static void put_pixels16_l2 (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2, int h)
static void avg_pixels16_l2 (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dst_stride, int src_stride1, int src_stride2, int h)
void dsputil_h264_init_ppc (DSPContext *c, AVCodecContext *avctx)


Define Documentation

#define AVG_OP_U8_ALTIVEC ( d,
s,
dst   )     d = vec_avg(dst, s)

Definition at line 26 of file dsputil_h264_altivec.c.

#define avg_pixels16_l2_altivec ( d,
s1,
s2,
ds,
s1s,
 )     avg_pixels16_l2(d,s1,s2,ds,s1s,16,h)

Definition at line 225 of file dsputil_h264_altivec.c.

#define H264_MC ( OPNAME,
SIZE,
CODETYPE   ) 

Definition at line 68 of file dsputil_h264_altivec.c.

#define OP_U8_ALTIVEC   AVG_OP_U8_ALTIVEC

Definition at line 48 of file dsputil_h264_altivec.c.

#define OP_U8_ALTIVEC   PUT_OP_U8_ALTIVEC

#define PREFIX_h264_chroma_mc8_altivec   avg_h264_chroma_mc8_altivec

Definition at line 49 of file dsputil_h264_altivec.c.

#define PREFIX_h264_chroma_mc8_altivec   put_h264_chroma_mc8_altivec

Definition at line 49 of file dsputil_h264_altivec.c.

#define PREFIX_h264_chroma_mc8_num   altivec_avg_h264_chroma_mc8_num

Definition at line 50 of file dsputil_h264_altivec.c.

#define PREFIX_h264_chroma_mc8_num   altivec_put_h264_chroma_mc8_num

Definition at line 50 of file dsputil_h264_altivec.c.

Referenced by PREFIX_h264_chroma_mc8_altivec().

#define PREFIX_h264_qpel16_h_lowpass_altivec   avg_h264_qpel16_h_lowpass_altivec

Definition at line 51 of file dsputil_h264_altivec.c.

#define PREFIX_h264_qpel16_h_lowpass_altivec   put_h264_qpel16_h_lowpass_altivec

Definition at line 51 of file dsputil_h264_altivec.c.

#define PREFIX_h264_qpel16_h_lowpass_num   altivec_avg_h264_qpel16_h_lowpass_num

Definition at line 52 of file dsputil_h264_altivec.c.

#define PREFIX_h264_qpel16_h_lowpass_num   altivec_put_h264_qpel16_h_lowpass_num

Definition at line 52 of file dsputil_h264_altivec.c.

Referenced by PREFIX_h264_qpel16_h_lowpass_altivec().

#define PREFIX_h264_qpel16_hv_lowpass_altivec   avg_h264_qpel16_hv_lowpass_altivec

Definition at line 55 of file dsputil_h264_altivec.c.

#define PREFIX_h264_qpel16_hv_lowpass_altivec   put_h264_qpel16_hv_lowpass_altivec

Definition at line 55 of file dsputil_h264_altivec.c.

#define PREFIX_h264_qpel16_hv_lowpass_num   altivec_avg_h264_qpel16_hv_lowpass_num

Definition at line 56 of file dsputil_h264_altivec.c.

#define PREFIX_h264_qpel16_hv_lowpass_num   altivec_put_h264_qpel16_hv_lowpass_num

Definition at line 56 of file dsputil_h264_altivec.c.

Referenced by PREFIX_h264_qpel16_hv_lowpass_altivec().

#define PREFIX_h264_qpel16_v_lowpass_altivec   avg_h264_qpel16_v_lowpass_altivec

Definition at line 53 of file dsputil_h264_altivec.c.

#define PREFIX_h264_qpel16_v_lowpass_altivec   put_h264_qpel16_v_lowpass_altivec

Definition at line 53 of file dsputil_h264_altivec.c.

#define PREFIX_h264_qpel16_v_lowpass_num   altivec_avg_h264_qpel16_v_lowpass_num

Definition at line 54 of file dsputil_h264_altivec.c.

#define PREFIX_h264_qpel16_v_lowpass_num   altivec_put_h264_qpel16_v_lowpass_num

Definition at line 54 of file dsputil_h264_altivec.c.

Referenced by PREFIX_h264_qpel16_v_lowpass_altivec().

#define PUT_OP_U8_ALTIVEC ( d,
s,
dst   )     d = s

Definition at line 25 of file dsputil_h264_altivec.c.

#define put_pixels16_l2_altivec ( d,
s1,
s2,
ds,
s1s,
 )     put_pixels16_l2(d,s1,s2,ds,s1s,16,h)

Definition at line 224 of file dsputil_h264_altivec.c.


Function Documentation

static void avg_pixels16_l2 ( uint8_t *  dst,
const uint8_t *  src1,
const uint8_t *  src2,
int  dst_stride,
int  src_stride1,
int  src_stride2,
int  h 
) [inline, static]

Definition at line 218 of file dsputil_h264_altivec.c.

static void avg_pixels8_l2 ( uint8_t *  dst,
const uint8_t *  src1,
const uint8_t *  src2,
int  dst_stride,
int  src_stride1,
int  src_stride2,
int  h 
) [inline, static]

Definition at line 204 of file dsputil_h264_altivec.c.

void dsputil_h264_init_ppc ( DSPContext c,
AVCodecContext avctx 
)

Definition at line 230 of file dsputil_h264_altivec.c.

References dspfunc, and has_altivec().

Referenced by dsputil_init_ppc().

Here is the call graph for this function:

static void put_pixels16_l2 ( uint8_t *  dst,
const uint8_t *  src1,
const uint8_t *  src2,
int  dst_stride,
int  src_stride1,
int  src_stride2,
int  h 
) [inline, static]

Definition at line 215 of file dsputil_h264_altivec.c.

static void put_pixels8_l2 ( uint8_t *  dst,
const uint8_t *  src1,
const uint8_t *  src2,
int  dst_stride,
int  src_stride1,
int  src_stride2,
int  h 
) [inline, static]

Definition at line 193 of file dsputil_h264_altivec.c.

References a, b, and rnd_avg32().

Here is the call graph for this function:


Generated on Mon Apr 28 14:05:43 2008 for Cinelerra by  doxygen 1.5.5