46 #define FUNC(a, depth) a ## _ ## depth
48 #define HEVC_PRED(depth) \
49 hpc->intra_pred[0] = FUNC(intra_pred_2, depth); \
50 hpc->intra_pred[1] = FUNC(intra_pred_3, depth); \
51 hpc->intra_pred[2] = FUNC(intra_pred_4, depth); \
52 hpc->intra_pred[3] = FUNC(intra_pred_5, depth); \
53 hpc->pred_planar[0] = FUNC(pred_planar_0, depth); \
54 hpc->pred_planar[1] = FUNC(pred_planar_1, depth); \
55 hpc->pred_planar[2] = FUNC(pred_planar_2, depth); \
56 hpc->pred_planar[3] = FUNC(pred_planar_3, depth); \
57 hpc->pred_dc = FUNC(pred_dc, depth); \
58 hpc->pred_angular[0] = FUNC(pred_angular_0, depth); \
59 hpc->pred_angular[1] = FUNC(pred_angular_1, depth); \
60 hpc->pred_angular[2] = FUNC(pred_angular_2, depth); \
61 hpc->pred_angular[3] = FUNC(pred_angular_3, depth);
void ff_hevc_pred_init(HEVCPredContext *hpc, int bit_depth)
void ff_hevc_pred_init_mips(HEVCPredContext *hpc, int bit_depth)
static unsigned bit_depth(uint64_t mask)