1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

h264dsp: 12 and 14 bit support

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-07-05 01:34:12 +02:00
parent 5d05acba0e
commit 1465ecf059

View File

@ -42,6 +42,14 @@
#include "h264dsp_template.c"
#undef BIT_DEPTH
#define BIT_DEPTH 12
#include "h264dsp_template.c"
#undef BIT_DEPTH
#define BIT_DEPTH 14
#include "h264dsp_template.c"
#undef BIT_DEPTH
void ff_h264dsp_init(H264DSPContext *c, const int bit_depth, const int chroma_format_idc)
{
#undef FUNC
@ -107,6 +115,12 @@ void ff_h264dsp_init(H264DSPContext *c, const int bit_depth, const int chroma_fo
case 10:
H264_DSP(10);
break;
case 12:
H264_DSP(12);
break;
case 14:
H264_DSP(14);
break;
default:
av_assert0(bit_depth<=8);
H264_DSP(8);