aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
authorAndreas Öman <andreas@olebyn.nu>2007-07-06 07:58:08 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2007-07-06 07:58:08 +0000
commit042ef4b720f5d3321d9b7eeeb2067c671d5aeefd (patch)
tree84b96080072cc0c2c59b3119e021d3e427f181c3 /libavcodec/h264.h
parent4bbdf13f9ed655b152677230a760aa2304c01957 (diff)
downloadffmpeg-042ef4b720f5d3321d9b7eeeb2067c671d5aeefd.tar.gz
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 Originally committed as revision 9498 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h1
1 files changed, 1 insertions, 0 deletions
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;
/**