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

DSP utils. More...

#include "bit_depth_template.c"
#include "hpel_template.c"

Go to the source code of this file.

Macros

#define PIXOP2(OPNAME, OP)
 
#define op_avg(a, b)   a = rnd_avg_pixel4(a, b)
 
#define op_put(a, b)   a = b
 
#define put_no_rnd_pixels8_8_c   put_pixels8_8_c
 

Functions

static void FUNCC() draw_edges (uint8_t *p_buf, int p_wrap, int width, int height, int w, int h, int sides)
 
static void FUNCC() get_pixels (int16_t *av_restrict block, const uint8_t *_pixels, int line_size)
 
static void FUNCC() clear_block (int16_t *block)
 
static void FUNCC() clear_blocks (int16_t *blocks)
 

Detailed Description

DSP utils.

Definition in file dsputil_template.c.

Macro Definition Documentation

#define PIXOP2 (   OPNAME,
  OP 
)

Definition at line 100 of file dsputil_template.c.

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

Definition at line 249 of file dsputil_template.c.

#define op_put (   a,
  b 
)    a = b

Definition at line 250 of file dsputil_template.c.

#define put_no_rnd_pixels8_8_c   put_pixels8_8_c

Definition at line 252 of file dsputil_template.c.

Function Documentation

static void FUNCC() draw_edges ( uint8_t p_buf,
int  p_wrap,
int  width,
int  height,
int  w,
int  h,
int  sides 
)
static

Definition at line 35 of file dsputil_template.c.

Referenced by ff_dsputil_init(), and ff_mpeg_draw_horiz_band().

static void FUNCC() get_pixels ( int16_t *av_restrict  block,
const uint8_t _pixels,
int  line_size 
)
static

Definition at line 62 of file dsputil_template.c.

static void FUNCC() clear_block ( int16_t *  block)
static

Definition at line 85 of file dsputil_template.c.

Referenced by ff_dsputil_init().

static void FUNCC() clear_blocks ( int16_t *  blocks)
static

Definition at line 90 of file dsputil_template.c.

Referenced by ff_dsputil_init().