FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
dsputil_init.c File Reference
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/x86/asm.h"
#include "libavcodec/dsputil.h"
#include "libavcodec/simple_idct.h"
#include "dsputil_x86.h"
#include "idct_xvid.h"

Go to the source code of this file.

Macros

#define ff_put_no_rnd_pixels16_mmxext   ff_put_pixels16_mmxext
 
#define ff_put_no_rnd_pixels8_mmxext   ff_put_pixels8_mmxext
 
#define SET_QPEL_FUNCS(PFX, IDX, SIZE, CPU, PREFIX)
 

Functions

void ff_put_pixels8_l2_mmxext (uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h)
 
void ff_put_no_rnd_pixels8_l2_mmxext (uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h)
 
void ff_avg_pixels8_l2_mmxext (uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h)
 
void ff_put_pixels16_l2_mmxext (uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h)
 
void ff_avg_pixels16_l2_mmxext (uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h)
 
void ff_put_no_rnd_pixels16_l2_mmxext (uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h)
 
void ff_put_mpeg4_qpel16_h_lowpass_mmxext (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h)
 
void ff_avg_mpeg4_qpel16_h_lowpass_mmxext (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h)
 
void ff_put_no_rnd_mpeg4_qpel16_h_lowpass_mmxext (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h)
 
void ff_put_mpeg4_qpel8_h_lowpass_mmxext (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h)
 
void ff_avg_mpeg4_qpel8_h_lowpass_mmxext (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h)
 
void ff_put_no_rnd_mpeg4_qpel8_h_lowpass_mmxext (uint8_t *dst, uint8_t *src, int dstStride, int srcStride, int h)
 
void ff_put_mpeg4_qpel16_v_lowpass_mmxext (uint8_t *dst, uint8_t *src, int dstStride, int srcStride)
 
void ff_avg_mpeg4_qpel16_v_lowpass_mmxext (uint8_t *dst, uint8_t *src, int dstStride, int srcStride)
 
void ff_put_no_rnd_mpeg4_qpel16_v_lowpass_mmxext (uint8_t *dst, uint8_t *src, int dstStride, int srcStride)
 
void ff_put_mpeg4_qpel8_v_lowpass_mmxext (uint8_t *dst, uint8_t *src, int dstStride, int srcStride)
 
void ff_avg_mpeg4_qpel8_v_lowpass_mmxext (uint8_t *dst, uint8_t *src, int dstStride, int srcStride)
 
void ff_put_no_rnd_mpeg4_qpel8_v_lowpass_mmxext (uint8_t *dst, uint8_t *src, int dstStride, int srcStride)
 
void ff_h263_v_loop_filter_mmx (uint8_t *src, int stride, int qscale)
 
void ff_h263_h_loop_filter_mmx (uint8_t *src, int stride, int qscale)
 
int32_t ff_scalarproduct_int16_mmxext (const int16_t *v1, const int16_t *v2, int order)
 
int32_t ff_scalarproduct_int16_sse2 (const int16_t *v1, const int16_t *v2, int order)
 
int32_t ff_scalarproduct_and_madd_int16_mmxext (int16_t *v1, const int16_t *v2, const int16_t *v3, int order, int mul)
 
int32_t ff_scalarproduct_and_madd_int16_sse2 (int16_t *v1, const int16_t *v2, const int16_t *v3, int order, int mul)
 
int32_t ff_scalarproduct_and_madd_int16_ssse3 (int16_t *v1, const int16_t *v2, const int16_t *v3, int order, int mul)
 
void ff_apply_window_int16_round_mmxext (int16_t *output, const int16_t *input, const int16_t *window, unsigned int len)
 
void ff_apply_window_int16_round_sse2 (int16_t *output, const int16_t *input, const int16_t *window, unsigned int len)
 
void ff_apply_window_int16_mmxext (int16_t *output, const int16_t *input, const int16_t *window, unsigned int len)
 
void ff_apply_window_int16_sse2 (int16_t *output, const int16_t *input, const int16_t *window, unsigned int len)
 
void ff_apply_window_int16_ssse3 (int16_t *output, const int16_t *input, const int16_t *window, unsigned int len)
 
void ff_apply_window_int16_ssse3_atom (int16_t *output, const int16_t *input, const int16_t *window, unsigned int len)
 
void ff_bswap32_buf_ssse3 (uint32_t *dst, const uint32_t *src, int w)
 
void ff_bswap32_buf_sse2 (uint32_t *dst, const uint32_t *src, int w)
 
void ff_add_hfyu_median_prediction_mmxext (uint8_t *dst, const uint8_t *top, const uint8_t *diff, int w, int *left, int *left_top)
 
int ff_add_hfyu_left_prediction_ssse3 (uint8_t *dst, const uint8_t *src, int w, int left)
 
int ff_add_hfyu_left_prediction_sse4 (uint8_t *dst, const uint8_t *src, int w, int left)
 
void ff_vector_clip_int32_mmx (int32_t *dst, const int32_t *src, int32_t min, int32_t max, unsigned int len)
 
void ff_vector_clip_int32_sse2 (int32_t *dst, const int32_t *src, int32_t min, int32_t max, unsigned int len)
 
void ff_vector_clip_int32_int_sse2 (int32_t *dst, const int32_t *src, int32_t min, int32_t max, unsigned int len)
 
void ff_vector_clip_int32_sse4 (int32_t *dst, const int32_t *src, int32_t min, int32_t max, unsigned int len)
 
static av_cold void dsputil_init_mmx (DSPContext *c, AVCodecContext *avctx, int mm_flags)
 
static av_cold void dsputil_init_mmxext (DSPContext *c, AVCodecContext *avctx, int mm_flags)
 
static av_cold void dsputil_init_sse (DSPContext *c, AVCodecContext *avctx, int mm_flags)
 
static av_cold void dsputil_init_sse2 (DSPContext *c, AVCodecContext *avctx, int mm_flags)
 
static av_cold void dsputil_init_ssse3 (DSPContext *c, AVCodecContext *avctx, int mm_flags)
 
static av_cold void dsputil_init_sse4 (DSPContext *c, AVCodecContext *avctx, int mm_flags)
 
av_cold void ff_dsputil_init_mmx (DSPContext *c, AVCodecContext *avctx)
 

Macro Definition Documentation

#define ff_put_no_rnd_pixels16_mmxext   ff_put_pixels16_mmxext

Definition at line 70 of file dsputil_init.c.

#define ff_put_no_rnd_pixels8_mmxext   ff_put_pixels8_mmxext

Definition at line 71 of file dsputil_init.c.

#define SET_QPEL_FUNCS (   PFX,
  IDX,
  SIZE,
  CPU,
  PREFIX 
)
Value:
do { \
c->PFX ## _pixels_tab[IDX][ 0] = PREFIX ## PFX ## SIZE ## _mc00_ ## CPU; \
c->PFX ## _pixels_tab[IDX][ 1] = PREFIX ## PFX ## SIZE ## _mc10_ ## CPU; \
c->PFX ## _pixels_tab[IDX][ 2] = PREFIX ## PFX ## SIZE ## _mc20_ ## CPU; \
c->PFX ## _pixels_tab[IDX][ 3] = PREFIX ## PFX ## SIZE ## _mc30_ ## CPU; \
c->PFX ## _pixels_tab[IDX][ 4] = PREFIX ## PFX ## SIZE ## _mc01_ ## CPU; \
c->PFX ## _pixels_tab[IDX][ 5] = PREFIX ## PFX ## SIZE ## _mc11_ ## CPU; \
c->PFX ## _pixels_tab[IDX][ 6] = PREFIX ## PFX ## SIZE ## _mc21_ ## CPU; \
c->PFX ## _pixels_tab[IDX][ 7] = PREFIX ## PFX ## SIZE ## _mc31_ ## CPU; \
c->PFX ## _pixels_tab[IDX][ 8] = PREFIX ## PFX ## SIZE ## _mc02_ ## CPU; \
c->PFX ## _pixels_tab[IDX][ 9] = PREFIX ## PFX ## SIZE ## _mc12_ ## CPU; \
c->PFX ## _pixels_tab[IDX][10] = PREFIX ## PFX ## SIZE ## _mc22_ ## CPU; \
c->PFX ## _pixels_tab[IDX][11] = PREFIX ## PFX ## SIZE ## _mc32_ ## CPU; \
c->PFX ## _pixels_tab[IDX][12] = PREFIX ## PFX ## SIZE ## _mc03_ ## CPU; \
c->PFX ## _pixels_tab[IDX][13] = PREFIX ## PFX ## SIZE ## _mc13_ ## CPU; \
c->PFX ## _pixels_tab[IDX][14] = PREFIX ## PFX ## SIZE ## _mc23_ ## CPU; \
c->PFX ## _pixels_tab[IDX][15] = PREFIX ## PFX ## SIZE ## _mc33_ ## CPU; \
} while (0)

Definition at line 514 of file dsputil_init.c.

Referenced by dsputil_init_mmxext().

Function Documentation

void ff_put_pixels8_l2_mmxext ( uint8_t dst,
uint8_t src1,
uint8_t src2,
int  dstStride,
int  src1Stride,
int  h 
)
void ff_put_no_rnd_pixels8_l2_mmxext ( uint8_t dst,
uint8_t src1,
uint8_t src2,
int  dstStride,
int  src1Stride,
int  h 
)
void ff_avg_pixels8_l2_mmxext ( uint8_t dst,
uint8_t src1,
uint8_t src2,
int  dstStride,
int  src1Stride,
int  h 
)
void ff_put_pixels16_l2_mmxext ( uint8_t dst,
uint8_t src1,
uint8_t src2,
int  dstStride,
int  src1Stride,
int  h 
)
void ff_avg_pixels16_l2_mmxext ( uint8_t dst,
uint8_t src1,
uint8_t src2,
int  dstStride,
int  src1Stride,
int  h 
)
void ff_put_no_rnd_pixels16_l2_mmxext ( uint8_t dst,
uint8_t src1,
uint8_t src2,
int  dstStride,
int  src1Stride,
int  h 
)
void ff_put_mpeg4_qpel16_h_lowpass_mmxext ( uint8_t dst,
uint8_t src,
int  dstStride,
int  srcStride,
int  h 
)
void ff_avg_mpeg4_qpel16_h_lowpass_mmxext ( uint8_t dst,
uint8_t src,
int  dstStride,
int  srcStride,
int  h 
)
void ff_put_no_rnd_mpeg4_qpel16_h_lowpass_mmxext ( uint8_t dst,
uint8_t src,
int  dstStride,
int  srcStride,
int  h 
)
void ff_put_mpeg4_qpel8_h_lowpass_mmxext ( uint8_t dst,
uint8_t src,
int  dstStride,
int  srcStride,
int  h 
)
void ff_avg_mpeg4_qpel8_h_lowpass_mmxext ( uint8_t dst,
uint8_t src,
int  dstStride,
int  srcStride,
int  h 
)
void ff_put_no_rnd_mpeg4_qpel8_h_lowpass_mmxext ( uint8_t dst,
uint8_t src,
int  dstStride,
int  srcStride,
int  h 
)
void ff_put_mpeg4_qpel16_v_lowpass_mmxext ( uint8_t dst,
uint8_t src,
int  dstStride,
int  srcStride 
)
void ff_avg_mpeg4_qpel16_v_lowpass_mmxext ( uint8_t dst,
uint8_t src,
int  dstStride,
int  srcStride 
)
void ff_put_no_rnd_mpeg4_qpel16_v_lowpass_mmxext ( uint8_t dst,
uint8_t src,
int  dstStride,
int  srcStride 
)
void ff_put_mpeg4_qpel8_v_lowpass_mmxext ( uint8_t dst,
uint8_t src,
int  dstStride,
int  srcStride 
)
void ff_avg_mpeg4_qpel8_v_lowpass_mmxext ( uint8_t dst,
uint8_t src,
int  dstStride,
int  srcStride 
)
void ff_put_no_rnd_mpeg4_qpel8_v_lowpass_mmxext ( uint8_t dst,
uint8_t src,
int  dstStride,
int  srcStride 
)
void ff_h263_v_loop_filter_mmx ( uint8_t src,
int  stride,
int  qscale 
)

Referenced by dsputil_init_mmx().

void ff_h263_h_loop_filter_mmx ( uint8_t src,
int  stride,
int  qscale 
)

Referenced by dsputil_init_mmx().

int32_t ff_scalarproduct_int16_mmxext ( const int16_t *  v1,
const int16_t *  v2,
int  order 
)

Referenced by dsputil_init_mmxext().

int32_t ff_scalarproduct_int16_sse2 ( const int16_t *  v1,
const int16_t *  v2,
int  order 
)

Referenced by dsputil_init_sse2().

int32_t ff_scalarproduct_and_madd_int16_mmxext ( int16_t *  v1,
const int16_t *  v2,
const int16_t *  v3,
int  order,
int  mul 
)

Referenced by dsputil_init_mmxext().

int32_t ff_scalarproduct_and_madd_int16_sse2 ( int16_t *  v1,
const int16_t *  v2,
const int16_t *  v3,
int  order,
int  mul 
)

Referenced by dsputil_init_sse2().

int32_t ff_scalarproduct_and_madd_int16_ssse3 ( int16_t *  v1,
const int16_t *  v2,
const int16_t *  v3,
int  order,
int  mul 
)

Referenced by dsputil_init_ssse3().

void ff_apply_window_int16_round_mmxext ( int16_t *  output,
const int16_t *  input,
const int16_t *  window,
unsigned int  len 
)

Referenced by dsputil_init_mmxext().

void ff_apply_window_int16_round_sse2 ( int16_t *  output,
const int16_t *  input,
const int16_t *  window,
unsigned int  len 
)

Referenced by dsputil_init_sse2().

void ff_apply_window_int16_mmxext ( int16_t *  output,
const int16_t *  input,
const int16_t *  window,
unsigned int  len 
)

Referenced by dsputil_init_mmxext().

void ff_apply_window_int16_sse2 ( int16_t *  output,
const int16_t *  input,
const int16_t *  window,
unsigned int  len 
)

Referenced by dsputil_init_sse2().

void ff_apply_window_int16_ssse3 ( int16_t *  output,
const int16_t *  input,
const int16_t *  window,
unsigned int  len 
)

Referenced by dsputil_init_ssse3().

void ff_apply_window_int16_ssse3_atom ( int16_t *  output,
const int16_t *  input,
const int16_t *  window,
unsigned int  len 
)

Referenced by dsputil_init_ssse3().

void ff_bswap32_buf_ssse3 ( uint32_t *  dst,
const uint32_t *  src,
int  w 
)

Referenced by dsputil_init_ssse3().

void ff_bswap32_buf_sse2 ( uint32_t *  dst,
const uint32_t *  src,
int  w 
)

Referenced by dsputil_init_sse2().

void ff_add_hfyu_median_prediction_mmxext ( uint8_t dst,
const uint8_t top,
const uint8_t diff,
int  w,
int *  left,
int *  left_top 
)

Referenced by dsputil_init_mmxext().

int ff_add_hfyu_left_prediction_ssse3 ( uint8_t dst,
const uint8_t src,
int  w,
int  left 
)

Referenced by dsputil_init_ssse3().

int ff_add_hfyu_left_prediction_sse4 ( uint8_t dst,
const uint8_t src,
int  w,
int  left 
)

Referenced by dsputil_init_ssse3().

void ff_vector_clip_int32_mmx ( int32_t dst,
const int32_t src,
int32_t  min,
int32_t  max,
unsigned int  len 
)

Referenced by dsputil_init_mmx().

void ff_vector_clip_int32_sse2 ( int32_t dst,
const int32_t src,
int32_t  min,
int32_t  max,
unsigned int  len 
)

Referenced by dsputil_init_sse2().

void ff_vector_clip_int32_int_sse2 ( int32_t dst,
const int32_t src,
int32_t  min,
int32_t  max,
unsigned int  len 
)

Referenced by dsputil_init_sse2().

void ff_vector_clip_int32_sse4 ( int32_t dst,
const int32_t src,
int32_t  min,
int32_t  max,
unsigned int  len 
)

Referenced by dsputil_init_sse4().

static av_cold void dsputil_init_mmx ( DSPContext c,
AVCodecContext avctx,
int  mm_flags 
)
static

Definition at line 534 of file dsputil_init.c.

Referenced by ff_dsputil_init_mmx().

static av_cold void dsputil_init_mmxext ( DSPContext c,
AVCodecContext avctx,
int  mm_flags 
)
static

Definition at line 567 of file dsputil_init.c.

Referenced by ff_dsputil_init_mmx().

static av_cold void dsputil_init_sse ( DSPContext c,
AVCodecContext avctx,
int  mm_flags 
)
static

Definition at line 594 of file dsputil_init.c.

Referenced by ff_dsputil_init_mmx().

static av_cold void dsputil_init_sse2 ( DSPContext c,
AVCodecContext avctx,
int  mm_flags 
)
static

Definition at line 618 of file dsputil_init.c.

Referenced by ff_dsputil_init_mmx().

static av_cold void dsputil_init_ssse3 ( DSPContext c,
AVCodecContext avctx,
int  mm_flags 
)
static

Definition at line 649 of file dsputil_init.c.

Referenced by ff_dsputil_init_mmx().

static av_cold void dsputil_init_sse4 ( DSPContext c,
AVCodecContext avctx,
int  mm_flags 
)
static

Definition at line 667 of file dsputil_init.c.

Referenced by ff_dsputil_init_mmx().

av_cold void ff_dsputil_init_mmx ( DSPContext c,
AVCodecContext avctx 
)

Definition at line 675 of file dsputil_init.c.

Referenced by ff_dsputil_init().