FFmpeg
Macros | Functions
qpeldsp_init.c File Reference
#include <stddef.h>
#include <stdint.h>
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/pixels.h"
#include "libavcodec/qpeldsp.h"
#include "fpel.h"

Go to the source code of this file.

Macros

#define ff_put_no_rnd_pixels16_mmxext   ff_put_pixels16_mmx
 
#define ff_put_no_rnd_pixels8_mmxext   ff_put_pixels8_mmx
 
#define SET_QPEL_FUNCS(PFX, IDX, SIZE, CPU, PREFIX)
 

Functions

void ff_put_pixels8_l2_mmxext (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dstStride, int src1Stride, int h)
 
void ff_put_no_rnd_pixels8_l2_mmxext (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dstStride, int src1Stride, int h)
 
void ff_avg_pixels8_l2_mmxext (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dstStride, int src1Stride, int h)
 
void ff_put_pixels16_l2_mmxext (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dstStride, int src1Stride, int h)
 
void ff_avg_pixels16_l2_mmxext (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dstStride, int src1Stride, int h)
 
void ff_put_no_rnd_pixels16_l2_mmxext (uint8_t *dst, const uint8_t *src1, const uint8_t *src2, int dstStride, int src1Stride, int h)
 
void ff_put_mpeg4_qpel16_h_lowpass_mmxext (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
 
void ff_avg_mpeg4_qpel16_h_lowpass_mmxext (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
 
void ff_put_no_rnd_mpeg4_qpel16_h_lowpass_mmxext (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
 
void ff_put_mpeg4_qpel8_h_lowpass_mmxext (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
 
void ff_avg_mpeg4_qpel8_h_lowpass_mmxext (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
 
void ff_put_no_rnd_mpeg4_qpel8_h_lowpass_mmxext (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
 
void ff_put_mpeg4_qpel16_v_lowpass_mmxext (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride)
 
void ff_avg_mpeg4_qpel16_v_lowpass_mmxext (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride)
 
void ff_put_no_rnd_mpeg4_qpel16_v_lowpass_mmxext (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride)
 
void ff_put_mpeg4_qpel8_v_lowpass_mmxext (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride)
 
void ff_avg_mpeg4_qpel8_v_lowpass_mmxext (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride)
 
void ff_put_no_rnd_mpeg4_qpel8_v_lowpass_mmxext (uint8_t *dst, const uint8_t *src, int dstStride, int srcStride)
 
av_cold void ff_qpeldsp_init_x86 (QpelDSPContext *c)
 

Macro Definition Documentation

#define ff_put_no_rnd_pixels16_mmxext   ff_put_pixels16_mmx

Definition at line 82 of file qpeldsp_init.c.

#define ff_put_no_rnd_pixels8_mmxext   ff_put_pixels8_mmx

Definition at line 83 of file qpeldsp_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)
Undefined Behavior In the C some operations are like signed integer dereferencing freed accessing outside allocated Undefined Behavior must not occur in a C it is not safe even if the output of undefined operations is unused The unsafety may seem nit picking but Optimizing compilers have in fact optimized code on the assumption that no undefined Behavior occurs Optimizing code based on wrong assumptions can and has in some cases lead to effects beyond the output of computations The signed integer overflow problem in speed critical code Code which is highly optimized and works with signed integers sometimes has the problem that often the output of the computation does not c
Definition: undefined.txt:32
#define SIZE
Definition: cabac.c:23

Definition at line 509 of file qpeldsp_init.c.

Referenced by ff_qpeldsp_init_x86().

Function Documentation

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

Definition at line 529 of file qpeldsp_init.c.

Referenced by ff_qpeldsp_init().