FFmpeg
Macros | Functions
vp8dsp_init.c File Reference
#include "libavutil/attributes.h"
#include "libavutil/cpu.h"
#include "libavutil/mem_internal.h"
#include "libavutil/x86/cpu.h"
#include "libavcodec/vp8dsp.h"

Go to the source code of this file.

Macros

#define VP8_LUMA_MC_FUNC(IDX, SIZE, OPT)
 
#define VP8_MC_FUNC(IDX, SIZE, OPT)
 
#define VP8_BILINEAR_MC_FUNC(IDX, SIZE, OPT)
 

Functions

av_cold void ff_vp78dsp_init_x86 (VP8DSPContext *c)
 
av_cold void ff_vp8dsp_init_x86 (VP8DSPContext *c)
 

Macro Definition Documentation

◆ VP8_LUMA_MC_FUNC

#define VP8_LUMA_MC_FUNC (   IDX,
  SIZE,
  OPT 
)
Value:
c->put_vp8_epel_pixels_tab[IDX][0][2] = ff_put_vp8_epel ## SIZE ## _h6_ ## OPT; \
c->put_vp8_epel_pixels_tab[IDX][2][0] = ff_put_vp8_epel ## SIZE ## _v6_ ## OPT; \
c->put_vp8_epel_pixels_tab[IDX][2][2] = ff_put_vp8_epel ## SIZE ## _h6v6_ ## OPT

Definition at line 259 of file vp8dsp_init.c.

◆ VP8_MC_FUNC

#define VP8_MC_FUNC (   IDX,
  SIZE,
  OPT 
)
Value:
c->put_vp8_epel_pixels_tab[IDX][0][1] = ff_put_vp8_epel ## SIZE ## _h4_ ## OPT; \
c->put_vp8_epel_pixels_tab[IDX][1][0] = ff_put_vp8_epel ## SIZE ## _v4_ ## OPT; \
c->put_vp8_epel_pixels_tab[IDX][1][1] = ff_put_vp8_epel ## SIZE ## _h4v4_ ## OPT; \
c->put_vp8_epel_pixels_tab[IDX][1][2] = ff_put_vp8_epel ## SIZE ## _h6v4_ ## OPT; \
c->put_vp8_epel_pixels_tab[IDX][2][1] = ff_put_vp8_epel ## SIZE ## _h4v6_ ## OPT; \
VP8_LUMA_MC_FUNC(IDX, SIZE, OPT)

Definition at line 264 of file vp8dsp_init.c.

◆ VP8_BILINEAR_MC_FUNC

#define VP8_BILINEAR_MC_FUNC (   IDX,
  SIZE,
  OPT 
)
Value:
c->put_vp8_bilinear_pixels_tab[IDX][0][1] = ff_put_vp8_bilinear ## SIZE ## _h_ ## OPT; \
c->put_vp8_bilinear_pixels_tab[IDX][0][2] = ff_put_vp8_bilinear ## SIZE ## _h_ ## OPT; \
c->put_vp8_bilinear_pixels_tab[IDX][1][0] = ff_put_vp8_bilinear ## SIZE ## _v_ ## OPT; \
c->put_vp8_bilinear_pixels_tab[IDX][1][1] = ff_put_vp8_bilinear ## SIZE ## _hv_ ## OPT; \
c->put_vp8_bilinear_pixels_tab[IDX][1][2] = ff_put_vp8_bilinear ## SIZE ## _hv_ ## OPT; \
c->put_vp8_bilinear_pixels_tab[IDX][2][0] = ff_put_vp8_bilinear ## SIZE ## _v_ ## OPT; \
c->put_vp8_bilinear_pixels_tab[IDX][2][1] = ff_put_vp8_bilinear ## SIZE ## _hv_ ## OPT; \
c->put_vp8_bilinear_pixels_tab[IDX][2][2] = ff_put_vp8_bilinear ## SIZE ## _hv_ ## OPT

Definition at line 272 of file vp8dsp_init.c.

Function Documentation

◆ ff_vp78dsp_init_x86()

av_cold void ff_vp78dsp_init_x86 ( VP8DSPContext c)

Definition at line 283 of file vp8dsp_init.c.

Referenced by ff_vp78dsp_init().

◆ ff_vp8dsp_init_x86()

av_cold void ff_vp8dsp_init_x86 ( VP8DSPContext c)

Definition at line 323 of file vp8dsp_init.c.

c
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
SIZE
#define SIZE
Definition: bitstream_template.c:36