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

Half-pel DSP functions. More...

#include "libavutil/attributes.h"
#include "libavutil/intreadwrite.h"
#include "hpeldsp.h"
#include "hpel_template.c"
#include "pel_template.c"

Go to the source code of this file.

Macros

#define BIT_DEPTH   8
 
#define PIXOP2(OPNAME, OP)
 
#define op_avg(a, b)   a = rnd_avg32(a, b)
 
#define op_put(a, b)   a = b
 
#define put_no_rnd_pixels8_8_c   put_pixels8_8_c
 
#define hpel_funcs(prefix, idx, num)
 

Functions

av_cold void ff_hpeldsp_init (HpelDSPContext *c, int flags)
 

Detailed Description

Half-pel DSP functions.

Definition in file hpeldsp.c.

Macro Definition Documentation

#define BIT_DEPTH   8

Definition at line 34 of file hpeldsp.c.

#define PIXOP2 (   OPNAME,
  OP 
)

Definition at line 38 of file hpeldsp.c.

#define op_avg (   a,
  b 
)    a = rnd_avg32(a, b)

Definition at line 330 of file hpeldsp.c.

#define op_put (   a,
  b 
)    a = b

Definition at line 331 of file hpeldsp.c.

#define put_no_rnd_pixels8_8_c   put_pixels8_8_c

Definition at line 332 of file hpeldsp.c.

#define hpel_funcs (   prefix,
  idx,
  num 
)
Value:
c->prefix ## _pixels_tab idx [0] = prefix ## _pixels ## num ## _8_c; \
c->prefix ## _pixels_tab idx [1] = prefix ## _pixels ## num ## _x2_8_c; \
c->prefix ## _pixels_tab idx [2] = prefix ## _pixels ## num ## _y2_8_c; \
c->prefix ## _pixels_tab idx [3] = prefix ## _pixels ## num ## _xy2_8_c
static double c[64]

Referenced by ff_hpeldsp_init().

Function Documentation

av_cold void ff_hpeldsp_init ( HpelDSPContext c,
int  flags 
)