FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
hpeldsp_init.c File Reference
#include "libavutil/cpu.h"
#include "libavutil/x86/asm.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/hpeldsp.h"
#include "dsputil_x86.h"

Go to the source code of this file.

Macros

#define avg_pixels8_mmx   ff_avg_pixels8_mmx
 
#define avg_pixels8_x2_mmx   ff_avg_pixels8_x2_mmx
 
#define avg_pixels16_mmx   ff_avg_pixels16_mmx
 
#define avg_pixels8_xy2_mmx   ff_avg_pixels8_xy2_mmx
 
#define avg_pixels16_xy2_mmx   ff_avg_pixels16_xy2_mmx
 
#define put_pixels8_mmx   ff_put_pixels8_mmx
 
#define put_pixels16_mmx   ff_put_pixels16_mmx
 
#define put_pixels8_xy2_mmx   ff_put_pixels8_xy2_mmx
 
#define put_pixels16_xy2_mmx   ff_put_pixels16_xy2_mmx
 
#define avg_no_rnd_pixels16_mmx   ff_avg_pixels16_mmx
 
#define put_no_rnd_pixels8_mmx   ff_put_pixels8_mmx
 
#define put_no_rnd_pixels16_mmx   ff_put_pixels16_mmx
 
#define SET_HPEL_FUNCS(PFX, IDX, SIZE, CPU)
 

Functions

void ff_put_pixels8_x2_mmxext (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_pixels8_x2_3dnow (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_pixels16_x2_mmxext (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_pixels16_x2_3dnow (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_no_rnd_pixels8_x2_mmxext (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_no_rnd_pixels8_x2_3dnow (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_no_rnd_pixels8_x2_exact_mmxext (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_no_rnd_pixels8_x2_exact_3dnow (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_pixels8_y2_mmxext (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_pixels8_y2_3dnow (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_no_rnd_pixels8_y2_mmxext (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_no_rnd_pixels8_y2_3dnow (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_no_rnd_pixels8_y2_exact_mmxext (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_no_rnd_pixels8_y2_exact_3dnow (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_avg_pixels8_3dnow (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_avg_pixels8_x2_mmxext (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_avg_pixels8_x2_3dnow (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_avg_pixels8_y2_mmxext (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_avg_pixels8_y2_3dnow (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_avg_pixels8_xy2_mmxext (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_avg_pixels8_xy2_3dnow (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
static void hpeldsp_init_mmx (HpelDSPContext *c, int flags, int cpu_flags)
 
static void hpeldsp_init_mmxext (HpelDSPContext *c, int flags, int cpu_flags)
 
static void hpeldsp_init_3dnow (HpelDSPContext *c, int flags, int cpu_flags)
 
static void hpeldsp_init_sse2 (HpelDSPContext *c, int flags, int cpu_flags)
 
void ff_hpeldsp_init_x86 (HpelDSPContext *c, int flags)
 

Macro Definition Documentation

#define avg_pixels8_mmx   ff_avg_pixels8_mmx

Definition at line 78 of file hpeldsp_init.c.

#define avg_pixels8_x2_mmx   ff_avg_pixels8_x2_mmx

Definition at line 79 of file hpeldsp_init.c.

#define avg_pixels16_mmx   ff_avg_pixels16_mmx

Definition at line 80 of file hpeldsp_init.c.

#define avg_pixels8_xy2_mmx   ff_avg_pixels8_xy2_mmx

Definition at line 81 of file hpeldsp_init.c.

#define avg_pixels16_xy2_mmx   ff_avg_pixels16_xy2_mmx

Definition at line 82 of file hpeldsp_init.c.

#define put_pixels8_mmx   ff_put_pixels8_mmx

Definition at line 83 of file hpeldsp_init.c.

#define put_pixels16_mmx   ff_put_pixels16_mmx

Definition at line 84 of file hpeldsp_init.c.

#define put_pixels8_xy2_mmx   ff_put_pixels8_xy2_mmx

Definition at line 85 of file hpeldsp_init.c.

#define put_pixels16_xy2_mmx   ff_put_pixels16_xy2_mmx

Definition at line 86 of file hpeldsp_init.c.

#define avg_no_rnd_pixels16_mmx   ff_avg_pixels16_mmx

Definition at line 87 of file hpeldsp_init.c.

#define put_no_rnd_pixels8_mmx   ff_put_pixels8_mmx

Definition at line 88 of file hpeldsp_init.c.

#define put_no_rnd_pixels16_mmx   ff_put_pixels16_mmx

Definition at line 89 of file hpeldsp_init.c.

#define SET_HPEL_FUNCS (   PFX,
  IDX,
  SIZE,
  CPU 
)
Value:
do { \
c->PFX ## _pixels_tab IDX [0] = PFX ## _pixels ## SIZE ## _ ## CPU; \
c->PFX ## _pixels_tab IDX [1] = PFX ## _pixels ## SIZE ## _x2_ ## CPU; \
c->PFX ## _pixels_tab IDX [2] = PFX ## _pixels ## SIZE ## _y2_ ## CPU; \
c->PFX ## _pixels_tab IDX [3] = PFX ## _pixels ## SIZE ## _xy2_ ## CPU; \
} while (0)

Definition at line 153 of file hpeldsp_init.c.

Referenced by hpeldsp_init_mmx().

Function Documentation

void ff_put_pixels8_x2_mmxext ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_mmxext().

void ff_put_pixels8_x2_3dnow ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_3dnow().

void ff_put_pixels16_x2_mmxext ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_mmxext().

void ff_put_pixels16_x2_3dnow ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_3dnow().

void ff_put_no_rnd_pixels8_x2_mmxext ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_mmxext().

void ff_put_no_rnd_pixels8_x2_3dnow ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_3dnow().

void ff_put_no_rnd_pixels8_x2_exact_mmxext ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_mmxext().

void ff_put_no_rnd_pixels8_x2_exact_3dnow ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_3dnow().

void ff_put_pixels8_y2_mmxext ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_mmxext().

void ff_put_pixels8_y2_3dnow ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_3dnow().

void ff_put_no_rnd_pixels8_y2_mmxext ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_mmxext().

void ff_put_no_rnd_pixels8_y2_3dnow ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_3dnow().

void ff_put_no_rnd_pixels8_y2_exact_mmxext ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_mmxext().

void ff_put_no_rnd_pixels8_y2_exact_3dnow ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_3dnow().

void ff_avg_pixels8_3dnow ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_3dnow().

void ff_avg_pixels8_x2_mmxext ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_mmxext().

void ff_avg_pixels8_x2_3dnow ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_3dnow().

void ff_avg_pixels8_y2_mmxext ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_mmxext().

void ff_avg_pixels8_y2_3dnow ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_3dnow().

void ff_avg_pixels8_xy2_mmxext ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_mmxext().

void ff_avg_pixels8_xy2_3dnow ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_3dnow().

static void hpeldsp_init_mmx ( HpelDSPContext c,
int  flags,
int  cpu_flags 
)
static

Definition at line 161 of file hpeldsp_init.c.

Referenced by ff_hpeldsp_init_x86().

static void hpeldsp_init_mmxext ( HpelDSPContext c,
int  flags,
int  cpu_flags 
)
static

Definition at line 174 of file hpeldsp_init.c.

Referenced by ff_hpeldsp_init_x86().

static void hpeldsp_init_3dnow ( HpelDSPContext c,
int  flags,
int  cpu_flags 
)
static

Definition at line 208 of file hpeldsp_init.c.

Referenced by ff_hpeldsp_init_x86().

static void hpeldsp_init_sse2 ( HpelDSPContext c,
int  flags,
int  cpu_flags 
)
static

Definition at line 242 of file hpeldsp_init.c.

Referenced by ff_hpeldsp_init_x86().

void ff_hpeldsp_init_x86 ( HpelDSPContext c,
int  flags 
)

Definition at line 254 of file hpeldsp_init.c.

Referenced by ff_hpeldsp_init().