/**
* @file rv40vlc2.h
- * RV40 VLC tables used for macroblock information decoding.
+ * RV40 VLC tables used for macroblock information decoding
*/
#ifndef FFMPEG_RV40VLC2_H
#include <stdint.h>
/**
- * Codes used for the first four block types
+ * codes used for the first four block types
*/
//@{
#define AIC_TOP_BITS 8
//@}
/**
- * Codes used for determining pair of block types
+ * codes used for determining a pair of block types
*/
//@{
#define AIC_MODE2_NUM 20
#define PBTYPE_ESCAPE 0xFF
-/** Tables used for P-frame macroblock type decoding */
+/** tables used for P-frame macroblock type decoding */
//@{
#define NUM_PTYPE_VLCS 7
#define PTYPE_VLC_SIZE 8
/** reverse of ptype_vlc_syms */
static const uint8_t block_num_to_ptype_vlc_num[12] = {
- 0, 1, 2, 3, 0, 0, 0, 0, 4, 5, 0, 6
+ 0, 1, 2, 3, 0, 0, 2, 0, 4, 5, 0, 6
};
//@}
-/** Tables used for P-frame macroblock type decoding */
+/** tables used for P-frame macroblock type decoding */
//@{
#define NUM_BTYPE_VLCS 6
#define BTYPE_VLC_SIZE 7