FFmpeg
Macros | Functions
hevcpred.c File Reference
#include "hevcdec.h"
#include "hevcpred.h"
#include "hevcpred_template.c"

Go to the source code of this file.

Macros

#define BIT_DEPTH   8
 
#define BIT_DEPTH   9
 
#define BIT_DEPTH   10
 
#define BIT_DEPTH   12
 
#define FUNC(a, depth)   a ## _ ## depth
 
#define HEVC_PRED(depth)
 

Functions

void ff_hevc_pred_init (HEVCPredContext *hpc, int bit_depth)
 

Macro Definition Documentation

◆ BIT_DEPTH [1/4]

#define BIT_DEPTH   8

Definition at line 39 of file hevcpred.c.

◆ BIT_DEPTH [2/4]

#define BIT_DEPTH   9

Definition at line 39 of file hevcpred.c.

◆ BIT_DEPTH [3/4]

#define BIT_DEPTH   10

Definition at line 39 of file hevcpred.c.

◆ BIT_DEPTH [4/4]

#define BIT_DEPTH   12

Definition at line 39 of file hevcpred.c.

◆ FUNC

#define FUNC (   a,
  depth 
)    a ## _ ## depth

◆ HEVC_PRED

#define HEVC_PRED (   depth)
Value:
hpc->intra_pred[0] = FUNC(intra_pred_2, depth); \
hpc->intra_pred[1] = FUNC(intra_pred_3, depth); \
hpc->intra_pred[2] = FUNC(intra_pred_4, depth); \
hpc->intra_pred[3] = FUNC(intra_pred_5, depth); \
hpc->pred_planar[0] = FUNC(pred_planar_0, depth); \
hpc->pred_planar[1] = FUNC(pred_planar_1, depth); \
hpc->pred_planar[2] = FUNC(pred_planar_2, depth); \
hpc->pred_planar[3] = FUNC(pred_planar_3, depth); \
hpc->pred_dc = FUNC(pred_dc, depth); \
hpc->pred_angular[0] = FUNC(pred_angular_0, depth); \
hpc->pred_angular[1] = FUNC(pred_angular_1, depth); \
hpc->pred_angular[2] = FUNC(pred_angular_2, depth); \
hpc->pred_angular[3] = FUNC(pred_angular_3, depth);

Function Documentation

◆ ff_hevc_pred_init()

void ff_hevc_pred_init ( HEVCPredContext hpc,
int  bit_depth 
)

Definition at line 43 of file hevcpred.c.

Referenced by set_sps().

pred_angular_1
static void FUNC() pred_angular_1(uint8_t *src, const uint8_t *top, const uint8_t *left, ptrdiff_t stride, int c_idx, int mode)
Definition: hevcpred_template.c:521
pred_angular_0
static void FUNC() pred_angular_0(uint8_t *src, const uint8_t *top, const uint8_t *left, ptrdiff_t stride, int c_idx, int mode)
Definition: hevcpred_template.c:514
pred_angular_3
static void FUNC() pred_angular_3(uint8_t *src, const uint8_t *top, const uint8_t *left, ptrdiff_t stride, int c_idx, int mode)
Definition: hevcpred_template.c:535
pred_angular_2
static void FUNC() pred_angular_2(uint8_t *src, const uint8_t *top, const uint8_t *left, ptrdiff_t stride, int c_idx, int mode)
Definition: hevcpred_template.c:528
pred_dc
static void FUNC() pred_dc(uint8_t *_src, const uint8_t *_top, const uint8_t *_left, ptrdiff_t stride, int log2_size, int c_idx)
Definition: hevcpred_template.c:390
FUNC
#define FUNC(a, depth)