From 042ef4b720f5d3321d9b7eeeb2067c671d5aeefd Mon Sep 17 00:00:00 2001 From: Andreas Öman Date: Fri, 6 Jul 2007 07:58:08 +0000 Subject: Precompute a chroma_qp table with index offset for each pps, this saves speed for the upcoming secondqp fix. Patch by Andreas Öman % andreas A olebyn P nu % Original thread: Date: Jun 26, 2007 8:48 PM subject: [FFmpeg-devel] Color corruption and seeking errors with H264 disc sources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 9498 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavcodec/h264.h') diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 237a222bec..8ab4604c5b 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -128,6 +128,7 @@ typedef struct PPS{ 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[256]; ///< pre-scaled (with chroma_qp_index_offset) version of qp_table }PPS; /** -- cgit v1.2.3