diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-05 01:35:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-10 02:17:53 +0200 |
commit | e162733dcd217baa9e478818727fdda5cca28d03 (patch) | |
tree | 5bc157a3b1cb439d719a8dd02a29f66ab7872537 /libavcodec/h264.h | |
parent | 1465ecf0598ee1d6218b19476994e1afd14287c3 (diff) | |
download | ffmpeg-e162733dcd217baa9e478818727fdda5cca28d03.tar.gz |
h264: 12 and 14 bit support
This works with I, P and B frames
CAVLC and CABAC
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 7605e97b57..23dcccf50f 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -104,7 +104,7 @@ */ #define DELAYED_PIC_REF 4 -#define QP_MAX_NUM (51 + 4*6) // The maximum supported qp +#define QP_MAX_NUM (51 + 6*6) // The maximum supported qp /* NAL unit types */ enum { @@ -598,7 +598,7 @@ typedef struct H264Context { int parse_last_mb; } H264Context; -extern const uint8_t ff_h264_chroma_qp[5][QP_MAX_NUM + 1]; ///< One chroma qp table for each possible bit depth (8-12). +extern const uint8_t ff_h264_chroma_qp[7][QP_MAX_NUM + 1]; ///< One chroma qp table for each possible bit depth (8-14). extern const uint16_t ff_h264_mb_sizes[4]; /** |