FFmpeg
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_pixels16_mmx   ff_avg_pixels16_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 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_FUNCS03(PFX, IDX, SIZE, CPU)   SET_HPEL_FUNCS_EXT(PFX, IDX, SIZE, CPU)
 
#define SET_HPEL_FUNCS12(PFX, IDX, SIZE, CPU)   ((void)0)
 
#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_pixels16_x2_mmxext (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_exact_mmxext (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_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_exact_mmxext (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_y2_mmxext (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)
 
static void hpeldsp_init_mmx (HpelDSPContext *c, int flags)
 
static void hpeldsp_init_mmxext (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_pixels16_mmx

#define avg_pixels16_mmx   ff_avg_pixels16_mmx

Definition at line 65 of file hpeldsp_init.c.

◆ put_pixels8_mmx

#define put_pixels8_mmx   ff_put_pixels8_mmx

Definition at line 66 of file hpeldsp_init.c.

◆ put_pixels16_mmx

#define put_pixels16_mmx   ff_put_pixels16_mmx

Definition at line 67 of file hpeldsp_init.c.

◆ put_pixels8_xy2_mmx

#define put_pixels8_xy2_mmx   ff_put_pixels8_xy2_mmx

Definition at line 68 of file hpeldsp_init.c.

◆ avg_no_rnd_pixels16_mmx

#define avg_no_rnd_pixels16_mmx   ff_avg_pixels16_mmx

Definition at line 69 of file hpeldsp_init.c.

◆ put_no_rnd_pixels8_mmx

#define put_no_rnd_pixels8_mmx   ff_put_pixels8_mmx

Definition at line 70 of file hpeldsp_init.c.

◆ put_no_rnd_pixels16_mmx

#define put_no_rnd_pixels16_mmx   ff_put_pixels16_mmx

Definition at line 71 of file hpeldsp_init.c.

◆ SET_HPEL_FUNCS_EXT

#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 137 of file hpeldsp_init.c.

◆ SET_HPEL_FUNCS03

#define SET_HPEL_FUNCS03 (   PFX,
  IDX,
  SIZE,
  CPU 
)    SET_HPEL_FUNCS_EXT(PFX, IDX, SIZE, CPU)

Definition at line 153 of file hpeldsp_init.c.

◆ SET_HPEL_FUNCS12

#define SET_HPEL_FUNCS12 (   PFX,
  IDX,
  SIZE,
  CPU 
)    ((void)0)

Definition at line 154 of file hpeldsp_init.c.

◆ SET_HPEL_FUNCS

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

Definition at line 156 of file hpeldsp_init.c.

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_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_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_exact_mmxext()

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

◆ 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_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_exact_mmxext()

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

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

◆ hpeldsp_init_mmx()

static void hpeldsp_init_mmx ( HpelDSPContext c,
int  flags 
)
static

Definition at line 162 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 171 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 205 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 220 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 230 of file hpeldsp_init.c.

Referenced by ff_hpeldsp_init().

SIZE
#define SIZE
Definition: bitstream_template.c:36
_
#define _