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/hevcdsp.c | |
parent | 250430bf28118cf843df887e8c8b345f1c60c82d (diff) | |
download | ffmpeg-streaming-5a41999d81459297183c4e27618e38f8ba719853.zip ffmpeg-streaming-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/hevcdsp.c')
-rw-r--r-- | libavcodec/hevcdsp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/hevcdsp.c b/libavcodec/hevcdsp.c index eeea542..a22a3a5 100644 --- a/libavcodec/hevcdsp.c +++ b/libavcodec/hevcdsp.c @@ -119,6 +119,10 @@ DECLARE_ALIGNED(16, const int8_t, ff_hevc_qpel_filters[3][16]) = { #include "hevcdsp_template.c" #undef BIT_DEPTH +#define BIT_DEPTH 12 +#include "hevcdsp_template.c" +#undef BIT_DEPTH + void ff_hevc_dsp_init(HEVCDSPContext *hevcdsp, int bit_depth) { #undef FUNC @@ -235,6 +239,9 @@ int i = 0; case 10: HEVC_DSP(10); break; + case 12: + HEVC_DSP(12); + break; default: HEVC_DSP(8); break; |