FFmpeg
Macros | Functions
me_cmp_init.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/mem_internal.h"
#include "libavutil/x86/asm.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/me_cmp.h"
#include "libavcodec/mpegvideo.h"

Go to the source code of this file.

Macros

#define hadamard_func(cpu)
 

Functions

int ff_sum_abs_dctelem_sse2 (const int16_t *block)
 
int ff_sum_abs_dctelem_ssse3 (const int16_t *block)
 
int ff_sse8_mmx (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sse16_mmx (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sse16_sse2 (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_hf_noise8_mmx (const uint8_t *pix1, ptrdiff_t stride, int h)
 
int ff_hf_noise16_mmx (const uint8_t *pix1, ptrdiff_t stride, int h)
 
int ff_sad8_mmxext (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sad16_mmxext (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sad16_sse2 (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sad8_x2_mmxext (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sad16_x2_mmxext (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sad16_x2_sse2 (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sad8_y2_mmxext (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sad16_y2_mmxext (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sad16_y2_sse2 (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sad8_approx_xy2_mmxext (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sad16_approx_xy2_mmxext (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_sad16_approx_xy2_sse2 (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_vsad_intra8_mmxext (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_vsad_intra16_mmxext (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_vsad_intra16_sse2 (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_vsad8_approx_mmxext (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_vsad16_approx_mmxext (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
int ff_vsad16_approx_sse2 (MpegEncContext *v, const uint8_t *pix1, const uint8_t *pix2, ptrdiff_t stride, int h)
 
 hadamard_func (mmxext)
 

Macro Definition Documentation

◆ hadamard_func

#define hadamard_func (   cpu)
Value:
int ff_hadamard8_diff_ ## cpu(MpegEncContext *s, const uint8_t *src1, \
const uint8_t *src2, ptrdiff_t stride, int h); \
int ff_hadamard8_diff16_ ## cpu(MpegEncContext *s, const uint8_t *src1, \
const uint8_t *src2, ptrdiff_t stride, int h);

Definition at line 80 of file me_cmp_init.c.

Function Documentation

◆ ff_sum_abs_dctelem_sse2()

int ff_sum_abs_dctelem_sse2 ( const int16_t *  block)

◆ ff_sum_abs_dctelem_ssse3()

int ff_sum_abs_dctelem_ssse3 ( const int16_t *  block)

◆ ff_sse8_mmx()

int ff_sse8_mmx ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_sse16_mmx()

int ff_sse16_mmx ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

Referenced by hadamard_func().

◆ ff_sse16_sse2()

int ff_sse16_sse2 ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_hf_noise8_mmx()

int ff_hf_noise8_mmx ( const uint8_t *  pix1,
ptrdiff_t  stride,
int  h 
)

Referenced by hadamard_func().

◆ ff_hf_noise16_mmx()

int ff_hf_noise16_mmx ( const uint8_t *  pix1,
ptrdiff_t  stride,
int  h 
)

Referenced by hadamard_func().

◆ ff_sad8_mmxext()

int ff_sad8_mmxext ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_sad16_mmxext()

int ff_sad16_mmxext ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_sad16_sse2()

int ff_sad16_sse2 ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_sad8_x2_mmxext()

int ff_sad8_x2_mmxext ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_sad16_x2_mmxext()

int ff_sad16_x2_mmxext ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_sad16_x2_sse2()

int ff_sad16_x2_sse2 ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_sad8_y2_mmxext()

int ff_sad8_y2_mmxext ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_sad16_y2_mmxext()

int ff_sad16_y2_mmxext ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_sad16_y2_sse2()

int ff_sad16_y2_sse2 ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_sad8_approx_xy2_mmxext()

int ff_sad8_approx_xy2_mmxext ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_sad16_approx_xy2_mmxext()

int ff_sad16_approx_xy2_mmxext ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_sad16_approx_xy2_sse2()

int ff_sad16_approx_xy2_sse2 ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_vsad_intra8_mmxext()

int ff_vsad_intra8_mmxext ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_vsad_intra16_mmxext()

int ff_vsad_intra16_mmxext ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_vsad_intra16_sse2()

int ff_vsad_intra16_sse2 ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_vsad8_approx_mmxext()

int ff_vsad8_approx_mmxext ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_vsad16_approx_mmxext()

int ff_vsad16_approx_mmxext ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ ff_vsad16_approx_sse2()

int ff_vsad16_approx_sse2 ( MpegEncContext v,
const uint8_t *  pix1,
const uint8_t *  pix2,
ptrdiff_t  stride,
int  h 
)

◆ hadamard_func()

hadamard_func ( mmxext  )

Definition at line 86 of file me_cmp_init.c.

src1
const pixel * src1
Definition: h264pred_template.c:421
s
#define s(width, name)
Definition: cbs_vp9.c:198
src2
const pixel * src2
Definition: h264pred_template.c:422
stride
#define stride
Definition: h264pred_template.c:537
h
h
Definition: vp9dsp_template.c:2070
MpegEncContext
MpegEncContext.
Definition: mpegvideo.h:73