int_altivec.c File Reference

integer misc ops. More...

Include dependency graph for int_altivec.c:

Go to the source code of this file.

Macros

#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)
 
static int32_t scalarproduct_and_madd_int16_altivec (int16_t *v1, const int16_t *v2, const int16_t *v3, int order, int mul)
 
av_cold void ff_int_init_altivec (DSPContext *c, AVCodecContext *avctx)
 

Detailed Description

integer misc ops.

Definition in file int_altivec.c.

Macro Definition Documentation

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

Function Documentation

av_cold void ff_int_init_altivec ( DSPContext c,
AVCodecContext avctx 
)

Definition at line 140 of file int_altivec.c.

Referenced by ff_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 105 of file int_altivec.c.

Referenced by ff_int_init_altivec().

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

Definition at line 82 of file int_altivec.c.

Referenced by ff_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 ff_int_init_altivec().