FFmpeg  4.0
Macros | Functions
hpeldsp_init.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/cpu.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_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_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)
 
static void hpeldsp_init_mmxext (HpelDSPContext *c, int flags)
 
static void hpeldsp_init_3dnow (HpelDSPContext *c, int flags)
 
static void hpeldsp_init_sse2_fast (HpelDSPContext *c, int flags)
 
static void hpeldsp_init_ssse3 (HpelDSPContext *c, int flags)
 
av_cold void ff_hpeldsp_init_x86 (HpelDSPContext *c, int flags)
 

Macro Definition Documentation

◆ avg_pixels8_mmx

#define avg_pixels8_mmx   ff_avg_pixels8_mmx

Definition at line 79 of file hpeldsp_init.c.

◆ avg_pixels8_x2_mmx

#define avg_pixels8_x2_mmx   ff_avg_pixels8_x2_mmx

Definition at line 80 of file hpeldsp_init.c.

◆ avg_pixels16_mmx

#define avg_pixels16_mmx   ff_avg_pixels16_mmx

Definition at line 81 of file hpeldsp_init.c.

◆ avg_pixels8_xy2_mmx

#define avg_pixels8_xy2_mmx   ff_avg_pixels8_xy2_mmx

Definition at line 82 of file hpeldsp_init.c.

◆ avg_pixels16_xy2_mmx

#define avg_pixels16_xy2_mmx   ff_avg_pixels16_xy2_mmx

Definition at line 83 of file hpeldsp_init.c.

◆ put_pixels8_mmx

#define put_pixels8_mmx   ff_put_pixels8_mmx

Definition at line 84 of file hpeldsp_init.c.

◆ put_pixels16_mmx

#define put_pixels16_mmx   ff_put_pixels16_mmx

Definition at line 85 of file hpeldsp_init.c.

◆ put_pixels8_xy2_mmx

#define put_pixels8_xy2_mmx   ff_put_pixels8_xy2_mmx

Definition at line 86 of file hpeldsp_init.c.

◆ put_pixels16_xy2_mmx

#define put_pixels16_xy2_mmx   ff_put_pixels16_xy2_mmx

Definition at line 87 of file hpeldsp_init.c.

◆ avg_no_rnd_pixels16_mmx

#define avg_no_rnd_pixels16_mmx   ff_avg_pixels16_mmx

Definition at line 88 of file hpeldsp_init.c.

◆ put_no_rnd_pixels8_mmx

#define put_no_rnd_pixels8_mmx   ff_put_pixels8_mmx

Definition at line 89 of file hpeldsp_init.c.

◆ put_no_rnd_pixels16_mmx

#define put_no_rnd_pixels16_mmx   ff_put_pixels16_mmx

Definition at line 90 of file hpeldsp_init.c.

◆ SET_HPEL_FUNCS_EXT

#define SET_HPEL_FUNCS_EXT (   PFX,
  IDX,
  SIZE,
  CPU 
)
Value:
c->PFX ## _pixels_tab IDX [0] = PFX ## _pixels ## SIZE ## _ ## CPU;
#define SIZE
Definition: cabac.c:23
#define _
#define HAVE_MMX_EXTERNAL
Definition: config.h:108

Definition at line 168 of file hpeldsp_init.c.

◆ SET_HPEL_FUNCS

#define SET_HPEL_FUNCS (   PFX,
  IDX,
  SIZE,
  CPU 
)
Value:
do { \
SET_HPEL_FUNCS_EXT(PFX, IDX, SIZE, CPU) \
} while (0)
#define SIZE
Definition: cabac.c:23

Definition at line 181 of file hpeldsp_init.c.

Referenced by hpeldsp_init_mmx().

Function Documentation

◆ ff_put_pixels8_x2_mmxext()

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

Referenced by hpeldsp_init_mmxext().

◆ ff_put_pixels8_x2_3dnow()

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

Referenced by hpeldsp_init_3dnow().

◆ ff_put_pixels16_x2_mmxext()

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

Referenced by hpeldsp_init_mmxext().

◆ ff_put_pixels16_x2_3dnow()

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

Referenced by hpeldsp_init_3dnow().

◆ ff_put_pixels16_x2_sse2()

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

Referenced by hpeldsp_init_sse2_fast().

◆ ff_avg_pixels16_x2_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_fast().

◆ ff_put_pixels16_y2_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_fast().

◆ ff_avg_pixels16_y2_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_fast().

◆ ff_put_no_rnd_pixels8_x2_mmxext()

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

◆ ff_put_no_rnd_pixels8_x2_3dnow()

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

◆ ff_put_pixels8_y2_mmxext()

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

Referenced by hpeldsp_init_mmxext().

◆ ff_put_pixels8_y2_3dnow()

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

Referenced by hpeldsp_init_3dnow().

◆ ff_put_no_rnd_pixels8_y2_mmxext()

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

◆ ff_put_no_rnd_pixels8_y2_3dnow()

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

◆ ff_avg_pixels8_3dnow()

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

Referenced by hpeldsp_init_3dnow().

◆ ff_avg_pixels8_x2_mmxext()

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

Referenced by hpeldsp_init_mmxext().

◆ ff_avg_pixels8_x2_3dnow()

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

Referenced by hpeldsp_init_3dnow().

◆ ff_avg_pixels8_y2_mmxext()

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

Referenced by hpeldsp_init_mmxext().

◆ ff_avg_pixels8_y2_3dnow()

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

Referenced by hpeldsp_init_3dnow().

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

◆ ff_avg_approx_pixels8_xy2_mmxext()

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

◆ ff_avg_approx_pixels8_xy2_3dnow()

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

◆ hpeldsp_init_mmx()

static void hpeldsp_init_mmx ( HpelDSPContext c,
int  flags 
)
static

Definition at line 187 of file hpeldsp_init.c.

Referenced by ff_hpeldsp_init_x86().

◆ hpeldsp_init_mmxext()

static void hpeldsp_init_mmxext ( HpelDSPContext c,
int  flags 
)
static

Definition at line 205 of file hpeldsp_init.c.

Referenced by ff_hpeldsp_init_x86().

◆ hpeldsp_init_3dnow()

static void hpeldsp_init_3dnow ( HpelDSPContext c,
int  flags 
)
static

Definition at line 236 of file hpeldsp_init.c.

Referenced by ff_hpeldsp_init_x86().

◆ hpeldsp_init_sse2_fast()

static void hpeldsp_init_sse2_fast ( HpelDSPContext c,
int  flags 
)
static

Definition at line 267 of file hpeldsp_init.c.

Referenced by ff_hpeldsp_init_x86().

◆ hpeldsp_init_ssse3()

static void hpeldsp_init_ssse3 ( HpelDSPContext c,
int  flags 
)
static

Definition at line 282 of file hpeldsp_init.c.

Referenced by ff_hpeldsp_init_x86().

◆ ff_hpeldsp_init_x86()

av_cold void ff_hpeldsp_init_x86 ( HpelDSPContext c,
int  flags 
)

Definition at line 292 of file hpeldsp_init.c.

Referenced by ff_hpeldsp_init().