FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
hevcpred.c File Reference
#include "hevc.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 FUNC(a, depth)   a ## _ ## depth
 
#define HEVC_PRED(depth)
 

Functions

void ff_hevc_pred_init (HEVCPredContext *hpc, int bit_depth)
 

Macro Definition Documentation

#define BIT_DEPTH   8

Definition at line 35 of file hevcpred.c.

#define BIT_DEPTH   9

Definition at line 35 of file hevcpred.c.

#define BIT_DEPTH   10

Definition at line 35 of file hevcpred.c.

#define FUNC (   a,
  depth 
)    a ## _ ## depth
#define HEVC_PRED (   depth)
Value:
hpc->intra_pred = FUNC(intra_pred, 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);

Referenced by ff_hevc_pred_init().

Function Documentation

void ff_hevc_pred_init ( HEVCPredContext hpc,
int  bit_depth 
)

Definition at line 39 of file hevcpred.c.

Referenced by set_sps().