FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
rv40dsp_init.c File Reference

RV40 decoder motion compensation functions x86-optimised 2,0 and 0,2 have h264 equivalents. More...

#include "libavcodec/rv34dsp.h"
#include "libavutil/attributes.h"
#include "libavutil/mem.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 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); \
}
uint8_t
ptrdiff_t size
Definition: opengl_enc.c:101
#define src
Definition: vp9dsp.c:530
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:78
GLint GLenum GLboolean GLsizei stride
Definition: opengl_enc.c:105

Definition at line 35 of file rv40dsp_init.c.

Function Documentation

av_cold void ff_rv40dsp_init_x86 ( RV34DSPContext c)

Definition at line 215 of file rv40dsp_init.c.

Referenced by ff_rv40dsp_init().