Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-05 03:35:02 +0400
committerMichael Niedermayer <michaelni@gmx.at>2012-07-10 04:17:53 +0400
commite162733dcd217baa9e478818727fdda5cca28d03 (patch)
tree5bc157a3b1cb439d719a8dd02a29f66ab7872537 /libavcodec/h264.h
parent1465ecf0598ee1d6218b19476994e1afd14287c3 (diff)
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.h4
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];
/**