diff options
Diffstat (limited to 'libavcodec/hevcpred.c')
-rw-r--r-- | libavcodec/hevcpred.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/hevcpred.c b/libavcodec/hevcpred.c index 4dfbfbfed0..4598229b36 100644 --- a/libavcodec/hevcpred.c +++ b/libavcodec/hevcpred.c @@ -36,6 +36,10 @@ #include "hevcpred_template.c" #undef BIT_DEPTH +#define BIT_DEPTH 12 +#include "hevcpred_template.c" +#undef BIT_DEPTH + void ff_hevc_pred_init(HEVCPredContext *hpc, int bit_depth) { #undef FUNC @@ -63,6 +67,9 @@ void ff_hevc_pred_init(HEVCPredContext *hpc, int bit_depth) case 10: HEVC_PRED(10); break; + case 12: + HEVC_PRED(12); + break; default: HEVC_PRED(8); break; |