swscale_altivec.c File Reference
#include <inttypes.h>
#include "config.h"
#include "libswscale/swscale.h"
#include "libswscale/swscale_internal.h"
#include "libavutil/cpu.h"
#include "yuv2rgb_altivec.h"

Go to the source code of this file.

Macros

#define vzero   vec_splat_s32(0)

Functions

static void altivec_packIntArrayToCharArray (int *val, uint8_t *dest, int dstW)
static void yuv2planeX_altivec (const int16_t *filter, int filterSize, const int16_t **src, uint8_t *dest, int dstW, const uint8_t *dither, int offset)
static void hScale_altivec_real (SwsContext *c, int16_t *dst, int dstW, const uint8_t *src, const int16_t *filter, const int32_t *filterPos, int filterSize)
void ff_sws_init_swScale_altivec (SwsContext *c)

Macro Definition Documentation

#define vzero   vec_splat_s32(0)

Function Documentation

static void altivec_packIntArrayToCharArray ( int *  val,
uint8_t *  dest,
int  dstW 
)
inlinestatic

Definition at line 34 of file swscale_altivec.c.

Referenced by yuv2planeX_altivec().

void ff_sws_init_swScale_altivec ( SwsContext c)

Definition at line 327 of file swscale_altivec.c.

Referenced by ff_getSwsFunc().

static void hScale_altivec_real ( SwsContext c,
int16_t *  dst,
int  dstW,
const uint8_t *  src,
const int16_t *  filter,
const int32_t *  filterPos,
int  filterSize 
)
static

Definition at line 148 of file swscale_altivec.c.

Referenced by ff_sws_init_swScale_altivec().

static void yuv2planeX_altivec ( const int16_t *  filter,
int  filterSize,
const int16_t **  src,
uint8_t *  dest,
int  dstW,
const uint8_t *  dither,
int  offset 
)
static

Definition at line 97 of file swscale_altivec.c.

Referenced by ff_sws_init_swScale_altivec().