diff vc1.h @ 6145:ddf5d7fae101 libavcodec

Select scan tables for 8x4 and 4x8 blocks only once. Patch by Christophe GISQUET ([christophe][gisquet] <whirlpool sign> free <spot> fr) Thread [PATCH] Determine once and for all zz scan tables to use in VC-1 VLD
author kostya
date Mon, 14 Jan 2008 06:10:02 +0000
parents 83ac4620c6ed
children ff4fa36b555e
line wrap: on
line diff
--- a/vc1.h	Mon Jan 14 04:27:03 2008 +0000
+++ b/vc1.h	Mon Jan 14 06:10:02 2008 +0000
@@ -216,6 +216,8 @@
     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;