#include "avcodec.h"
#include "mpegvideo.h"
+#include "intrax8.h"
/** Markers used in VC-1 AP frame data */
//@{
};
//@}
-/** One more frame type */
-#define BI_TYPE 7
-
enum CodingSet {
CS_HIGH_MOT_INTRA = 0,
CS_HIGH_MOT_INTER,
/** The VC1 Context
- * @fixme Change size wherever another size is more efficient
+ * @todo Change size wherever another size is more efficient
* Many members are only used for Advanced Profile
*/
typedef struct VC1Context{
MpegEncContext s;
+ IntraX8Context x8;
int bits;
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;
int p_frame_skipped;
int bi_type;
+ int x8_type;
+
+ uint32_t *cbp_base, *cbp;
} VC1Context;
-#endif // AVCODEC_VC1_H
+#endif /* AVCODEC_VC1_H */