Mercurial > libavcodec.hg
diff h264.h @ 5226:65bffcc5571a libavcodec
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
author | gpoirier |
---|---|
date | Fri, 06 Jul 2007 07:58:08 +0000 |
parents | 2b72f9bc4f06 |
children | 07a97575d0c4 |
line wrap: on
line diff
--- a/h264.h Fri Jul 06 07:55:37 2007 +0000 +++ b/h264.h Fri Jul 06 07:58:08 2007 +0000 @@ -128,6 +128,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[256]; ///< pre-scaled (with chroma_qp_index_offset) version of qp_table }PPS; /**