libavcodec/ppc/int_altivec.c File Reference

integer misc ops. More...

#include "config.h"
#include "libavcodec/dsputil.h"
#include "dsputil_altivec.h"
#include "types_altivec.h"

Go to the source code of this file.

Defines

#define vec_unaligned_load(b)   vec_perm(vec_ld(0,b),vec_ld(15,b),vec_lvsl(0, b));

Functions

static int ssd_int8_vs_int16_altivec (const int8_t *pix1, const int16_t *pix2, int size)
static int32_t scalarproduct_int16_altivec (const int16_t *v1, const int16_t *v2, int order, const int shift)
static int32_t scalarproduct_and_madd_int16_altivec (int16_t *v1, const int16_t *v2, const int16_t *v3, int order, int mul)
void int_init_altivec (DSPContext *c, AVCodecContext *avctx)


Detailed Description

integer misc ops.

Definition in file int_altivec.c.


Define Documentation

#define vec_unaligned_load (  )     vec_perm(vec_ld(0,b),vec_ld(15,b),vec_lvsl(0, b));


Function Documentation

void int_init_altivec ( DSPContext c,
AVCodecContext avctx 
)

Definition at line 147 of file int_altivec.c.

Referenced by dsputil_init_ppc().

static int32_t scalarproduct_and_madd_int16_altivec ( int16_t *  v1,
const int16_t *  v2,
const int16_t *  v3,
int  order,
int  mul 
) [static]

Definition at line 112 of file int_altivec.c.

Referenced by int_init_altivec().

static int32_t scalarproduct_int16_altivec ( const int16_t *  v1,
const int16_t *  v2,
int  order,
const int  shift 
) [static]

Definition at line 82 of file int_altivec.c.

Referenced by int_init_altivec().

static int ssd_int8_vs_int16_altivec ( const int8_t *  pix1,
const int16_t *  pix2,
int  size 
) [static]

Definition at line 37 of file int_altivec.c.

Referenced by int_init_altivec().


Generated on Fri Oct 26 02:38:17 2012 for FFmpeg by  doxygen 1.5.8