FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
hpeldsp_init.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/x86/asm.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/avcodec.h"
#include "libavcodec/hpeldsp.h"
#include "libavcodec/pixels.h"
#include "fpel.h"
#include "hpeldsp.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_EXT(PFX, IDX, SIZE, CPU)
 
#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_pixels16_x2_sse2 (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_avg_pixels16_x2_sse2 (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_put_pixels16_y2_sse2 (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_avg_pixels16_y2_sse2 (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_3dnow (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_avg_approx_pixels8_xy2_mmxext (uint8_t *block, const uint8_t *pixels, ptrdiff_t line_size, int h)
 
void ff_avg_approx_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)
 
static void hpeldsp_init_ssse3 (HpelDSPContext *c, int flags, int cpu_flags)
 
av_cold void ff_hpeldsp_init_x86 (HpelDSPContext *c, int flags)
 

Macro Definition Documentation

#define avg_pixels8_mmx   ff_avg_pixels8_mmx

Definition at line 92 of file hpeldsp_init.c.

#define avg_pixels8_x2_mmx   ff_avg_pixels8_x2_mmx

Definition at line 93 of file hpeldsp_init.c.

#define avg_pixels16_mmx   ff_avg_pixels16_mmx

Definition at line 94 of file hpeldsp_init.c.

#define avg_pixels8_xy2_mmx   ff_avg_pixels8_xy2_mmx

Definition at line 95 of file hpeldsp_init.c.

#define avg_pixels16_xy2_mmx   ff_avg_pixels16_xy2_mmx

Definition at line 96 of file hpeldsp_init.c.

#define put_pixels8_mmx   ff_put_pixels8_mmx

Definition at line 97 of file hpeldsp_init.c.

#define put_pixels16_mmx   ff_put_pixels16_mmx

Definition at line 98 of file hpeldsp_init.c.

#define put_pixels8_xy2_mmx   ff_put_pixels8_xy2_mmx

Definition at line 99 of file hpeldsp_init.c.

#define put_pixels16_xy2_mmx   ff_put_pixels16_xy2_mmx

Definition at line 100 of file hpeldsp_init.c.

#define avg_no_rnd_pixels16_mmx   ff_avg_pixels16_mmx

Definition at line 101 of file hpeldsp_init.c.

#define put_no_rnd_pixels8_mmx   ff_put_pixels8_mmx

Definition at line 102 of file hpeldsp_init.c.

#define put_no_rnd_pixels16_mmx   ff_put_pixels16_mmx

Definition at line 103 of file hpeldsp_init.c.

#define SET_HPEL_FUNCS_EXT (   PFX,
  IDX,
  SIZE,
  CPU 
)
Value:
if (HAVE_MMX_EXTERNAL) \
c->PFX ## _pixels_tab IDX [0] = PFX ## _pixels ## SIZE ## _ ## CPU;

Definition at line 177 of file hpeldsp_init.c.

#define SET_HPEL_FUNCS (   PFX,
  IDX,
  SIZE,
  CPU 
)
Value:
do { \
SET_HPEL_FUNCS_EXT(PFX, IDX, SIZE, CPU) \
} while (0)

Definition at line 190 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_pixels16_x2_sse2 ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_sse2().

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

Referenced by hpeldsp_init_sse2().

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

Referenced by hpeldsp_init_sse2().

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

Referenced by hpeldsp_init_sse2().

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_3dnow ( uint8_t block,
const uint8_t pixels,
ptrdiff_t  line_size,
int  h 
)

Referenced by hpeldsp_init_3dnow().

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

Referenced by hpeldsp_init_mmxext().

void ff_avg_approx_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 196 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 214 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 250 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 286 of file hpeldsp_init.c.

Referenced by ff_hpeldsp_init_x86().

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

Definition at line 304 of file hpeldsp_init.c.

Referenced by ff_hpeldsp_init_x86().

av_cold void ff_hpeldsp_init_x86 ( HpelDSPContext c,
int  flags 
)

Definition at line 314 of file hpeldsp_init.c.

Referenced by ff_hpeldsp_init().