FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

#define BIT_DEPTH   8

Definition at line 39 of file hevcpred.c.

#define BIT_DEPTH   9

Definition at line 39 of file hevcpred.c.

#define BIT_DEPTH   10

Definition at line 39 of file hevcpred.c.

#define BIT_DEPTH   12

Definition at line 39 of file hevcpred.c.

#define FUNC (   a,
  depth 
)    a ## _ ## depth
#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);
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)
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)
int depth
Definition: v4l.c:62
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)
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)
#define FUNC(a, depth)
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)

Referenced by ff_hevc_pred_init().

Function Documentation

void ff_hevc_pred_init ( HEVCPredContext hpc,
int  bit_depth 
)

Definition at line 43 of file hevcpred.c.

Referenced by set_sps().