diff options
author | Mickaƫl Raulet <mraulet@insa-rennes.fr> | 2014-07-15 00:16:53 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-15 13:47:35 +0200 |
commit | 5a41999d81459297183c4e27618e38f8ba719853 (patch) | |
tree | 80b3f62d2ec5f25d9953346b4a958c7c709c5c94 /libavcodec/hevcpred.c | |
parent | 250430bf28118cf843df887e8c8b345f1c60c82d (diff) | |
download | ffmpeg-5a41999d81459297183c4e27618e38f8ba719853.tar.gz |
hevc/rext: basic infrastructure for supporting range extension
- support for 4:2:2 and 4:4:4 up to 12 bits
- add a new profile for range extension
(cherry picked from commit d3c067fa65bbc871758d28aa07f54123430ca346)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
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; |