diff options
author | Anton Khirnov <anton@khirnov.net> | 2014-05-17 20:41:22 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-05-19 07:10:03 +0200 |
commit | a1c2b48018b09d2613f075ec0748c95bd520ac00 (patch) | |
tree | 49de2ee15d4718ddcf9139a87d2be32230bb8f7e /libavcodec/hevcpred.c | |
parent | 04db5794cd97e4b33ec2f963ef7f967722a456eb (diff) | |
download | ffmpeg-a1c2b48018b09d2613f075ec0748c95bd520ac00.tar.gz |
hevc: templatize intra_pred
Diffstat (limited to 'libavcodec/hevcpred.c')
-rw-r--r-- | libavcodec/hevcpred.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/hevcpred.c b/libavcodec/hevcpred.c index 1121f3054f..1ba2487a62 100644 --- a/libavcodec/hevcpred.c +++ b/libavcodec/hevcpred.c @@ -40,7 +40,10 @@ void ff_hevc_pred_init(HEVCPredContext *hpc, int bit_depth) #define FUNC(a, depth) a ## _ ## depth #define HEVC_PRED(depth) \ - hpc->intra_pred = FUNC(intra_pred, depth); \ + 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); \ |