FFmpeg
Macros | Functions
rv40dsp_init.c File Reference
#include "libavcodec/rv34dsp.h"
#include "libavutil/attributes.h"
#include "libavutil/mem_internal.h"
#include "libavutil/x86/cpu.h"
#include "hpeldsp.h"

Go to the source code of this file.

Macros

#define DEFINE_FN(op, size, insn)
 

Functions

av_cold void ff_rv40dsp_init_x86 (RV34DSPContext *c)
 

Detailed Description

RV40 decoder motion compensation functions x86-optimised 2,0 and 0,2 have h264 equivalents. 3,3 is bugged in the rv40 format and maps to _xy2 version

Definition in file rv40dsp_init.c.

Macro Definition Documentation

◆ DEFINE_FN

#define DEFINE_FN (   op,
  size,
  insn 
)
Value:
static void op##_rv40_qpel##size##_mc33_##insn(uint8_t *dst, const uint8_t *src, \
ptrdiff_t stride) \
{ \
ff_##op##_pixels##size##_xy2_##insn(dst, src, stride, size); \
}

Definition at line 35 of file rv40dsp_init.c.

Function Documentation

◆ ff_rv40dsp_init_x86()

av_cold void ff_rv40dsp_init_x86 ( RV34DSPContext c)

Definition at line 188 of file rv40dsp_init.c.

Referenced by ff_rv40dsp_init().

op
static int op(uint8_t **dst, const uint8_t *dst_end, GetByteContext *gb, int pixel, int count, int *x, int width, int linesize)
Perform decode operation.
Definition: anm.c:76
dst
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
Definition: dsp.h:83
size
int size
Definition: twinvq_data.h:10344
stride
#define stride
Definition: h264pred_template.c:537
src
#define src
Definition: vp8dsp.c:248