* RealVideo 4 decoder
* copyright (c) 2007 Konstantin Shishkov
*
- * This file is part of FFmpeg.
+ * This file is part of Libav.
*
- * FFmpeg is free software; you can redistribute it and/or
+ * Libav is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
- * FFmpeg is distributed in the hope that it will be useful,
+ * Libav is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
- * License along with FFmpeg; if not, write to the Free Software
+ * License along with Libav; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
/**
- * @file rv40vlc2.h
- * RV40 VLC tables used for macroblock information decoding.
+ * @file
+ * RV40 VLC tables used for macroblock information decoding
*/
-#ifndef FFMPEG_RV40VLC2_H
-#define FFMPEG_RV40VLC2_H
+#ifndef AVCODEC_RV40VLC2_H
+#define AVCODEC_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
0, 1, 0, 0, 2, 3, 0, 5, 0, 0, 4, 0
};
//@}
-#endif /* FFMPEG_RV40VLC2_H */
+#endif /* AVCODEC_RV40VLC2_H */