FFmpeg
Data Structures | Macros | Typedefs | Functions
diracdsp.h File Reference
#include <stdint.h>
#include <stddef.h>

Go to the source code of this file.

Data Structures

struct  DiracDSPContext
 

Macros

#define DECL_DIRAC_PIXOP(PFX, EXT)
 

Typedefs

typedef void(* dirac_weight_func) (uint8_t *block, int stride, int log2_denom, int weight, int h)
 
typedef void(* dirac_biweight_func) (uint8_t *dst, const uint8_t *src, int stride, int log2_denom, int weightd, int weights, int h)
 

Functions

 DECL_DIRAC_PIXOP (put, c)
 
 DECL_DIRAC_PIXOP (avg, c)
 
 DECL_DIRAC_PIXOP (put, l2_c)
 
 DECL_DIRAC_PIXOP (avg, l2_c)
 
 DECL_DIRAC_PIXOP (put, l4_c)
 
 DECL_DIRAC_PIXOP (avg, l4_c)
 
void ff_diracdsp_init (DiracDSPContext *c)
 
void ff_diracdsp_init_x86 (DiracDSPContext *c)
 

Macro Definition Documentation

◆ DECL_DIRAC_PIXOP

#define DECL_DIRAC_PIXOP (   PFX,
  EXT 
)
Value:
void ff_ ## PFX ## _dirac_pixels8_ ## EXT(uint8_t *dst, const uint8_t *src[5], int stride, int h); \
void ff_ ## PFX ## _dirac_pixels16_ ## EXT(uint8_t *dst, const uint8_t *src[5], int stride, int h); \
void ff_ ## PFX ## _dirac_pixels32_ ## EXT(uint8_t *dst, const uint8_t *src[5], int stride, int h)

Definition at line 57 of file diracdsp.h.

Typedef Documentation

◆ dirac_weight_func

typedef void(* dirac_weight_func) (uint8_t *block, int stride, int log2_denom, int weight, int h)

Definition at line 27 of file diracdsp.h.

◆ dirac_biweight_func

typedef void(* dirac_biweight_func) (uint8_t *dst, const uint8_t *src, int stride, int log2_denom, int weightd, int weights, int h)

Definition at line 28 of file diracdsp.h.

Function Documentation

◆ DECL_DIRAC_PIXOP() [1/6]

DECL_DIRAC_PIXOP ( put  ,
c   
)

◆ DECL_DIRAC_PIXOP() [2/6]

DECL_DIRAC_PIXOP ( avg  ,
c   
)

◆ DECL_DIRAC_PIXOP() [3/6]

DECL_DIRAC_PIXOP ( put  ,
l2_c   
)

◆ DECL_DIRAC_PIXOP() [4/6]

DECL_DIRAC_PIXOP ( avg  ,
l2_c   
)

◆ DECL_DIRAC_PIXOP() [5/6]

DECL_DIRAC_PIXOP ( put  ,
l4_c   
)

◆ DECL_DIRAC_PIXOP() [6/6]

DECL_DIRAC_PIXOP ( avg  ,
l4_c   
)

◆ ff_diracdsp_init()

void ff_diracdsp_init ( DiracDSPContext c)

Definition at line 221 of file diracdsp.c.

Referenced by dirac_decode_init().

◆ ff_diracdsp_init_x86()

void ff_diracdsp_init_x86 ( DiracDSPContext c)

Definition at line 92 of file diracdsp_init.c.

Referenced by ff_diracdsp_init().

dst
uint8_t ptrdiff_t const uint8_t ptrdiff_t int intptr_t intptr_t int int16_t * dst
Definition: dsp.h:83
stride
#define stride
Definition: h264pred_template.c:537
h
h
Definition: vp9dsp_template.c:2070
src
#define src
Definition: vp8dsp.c:248