From 750e37eb8313c1d00294c9b472b4ab15b4824811 Mon Sep 17 00:00:00 2001 From: Christophe Gisquet Date: Mon, 14 Jan 2008 06:10:02 +0000 Subject: Select scan tables for 8x4 and 4x8 blocks only once. Patch by Christophe GISQUET ([christophe][gisquet] free fr) Thread [PATCH] Determine once and for all zz scan tables to use in VC-1 VLD Originally committed as revision 11525 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vc1.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/vc1.h') diff --git a/libavcodec/vc1.h b/libavcodec/vc1.h index bc611b30ff..12f38160bf 100644 --- a/libavcodec/vc1.h +++ b/libavcodec/vc1.h @@ -216,6 +216,8 @@ typedef struct VC1Context{ int k_y; ///< Number of bits for MVs (depends on MV range) int range_x, range_y; ///< MV range uint8_t pq, altpq; ///< Current/alternate frame quantizer scale + const uint8_t* zz_8x4;///< Zigzag scan table for TT_8x4 coding mode + const uint8_t* zz_4x8;///< Zigzag scan table for TT_4x8 coding mode /** pquant parameters */ //@{ uint8_t dquantfrm; -- cgit v1.2.3