diff h264.h @ 7347:612a78c3b128 libavcodec

qscale has a range of 0..51 we thus do not need a 256 entry table and neither need to and it with 0xFF.
author michael
date Tue, 22 Jul 2008 13:01:10 +0000
parents 9a4cb430d8ff
children 6288bc103b9f
line wrap: on
line diff
--- a/h264.h	Tue Jul 22 12:31:48 2008 +0000
+++ b/h264.h	Tue Jul 22 13:01:10 2008 +0000
@@ -138,7 +138,7 @@
     int transform_8x8_mode;     ///< transform_8x8_mode_flag
     uint8_t scaling_matrix4[6][16];
     uint8_t scaling_matrix8[2][64];
-    uint8_t chroma_qp_table[2][256];  ///< pre-scaled (with chroma_qp_index_offset) version of qp_table
+    uint8_t chroma_qp_table[2][64];  ///< pre-scaled (with chroma_qp_index_offset) version of qp_table
     int chroma_qp_diff;
 }PPS;