FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
int_altivec.c File Reference

integer misc ops. More...

#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/ppc/types_altivec.h"
#include "libavcodec/dsputil.h"
#include "dsputil_altivec.h"

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

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().

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 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 103 of file int_altivec.c.

Referenced by ff_int_init_altivec().

av_cold void ff_int_init_altivec ( DSPContext c,
AVCodecContext avctx 
)

Definition at line 138 of file int_altivec.c.

Referenced by ff_dsputil_init_ppc().