Originally committed as revision 9344 to svn://svn.ffmpeg.org/ffmpeg/trunk
@@ -23,6 +23,9 @@
#ifndef AAC_AC3_PARSER_H
#define AAC_AC3_PARSER_H
+#include <stdint.h>
+#include "avcodec.h"
+
typedef struct AACAC3ParseContext {
uint8_t *inbuf_ptr;
int frame_size;
@@ -25,6 +25,8 @@
* Atrac 3 AKA RealAudio 8 compatible decoder data
*/
/* VLC tables */
static const uint8_t huffcode1[9] = {
@@ -26,6 +26,11 @@
#ifndef BITSTREAM_H
#define BITSTREAM_H
+#include <stdlib.h>
+#include <assert.h>
+#include "common.h"
+#include "bswap.h"
#include "log.h"
#if defined(ALT_BITSTREAM_READER_LE) && !defined(ALT_BITSTREAM_READER)
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
typedef struct BMPContext {
AVFrame picture;
} BMPContext;
@@ -22,6 +22,8 @@
#ifndef FFMPEG_BYTESTREAM_H
#define FFMPEG_BYTESTREAM_H
#define DEF(name, bytes, read, write)\
static av_always_inline unsigned int bytestream_get_ ## name(uint8_t **b){\
(*b) += bytes;\
@@ -26,6 +26,8 @@
* Cook AKA RealAudio G2 compatible decoderdata
/* various data tables */
static const int expbits_tab[8] = {
@@ -24,6 +24,8 @@
* @file dcadata.c
/* Generic tables */
static const uint32_t dca_sample_rates[16] =
@@ -20,6 +20,9 @@
#define TMODE_COUNT 4
static const uint8_t tmode_vlc_bits[TMODE_COUNT] = { 3, 3, 3, 2 };
static const uint16_t tmode_codes[TMODE_COUNT][4] = {
static const uint8_t dnxhd_1238_luma_weigth[] = {
0, 32, 32, 33, 34, 33, 33, 33,
33, 33, 33, 33, 33, 35, 37, 37,
@@ -24,6 +24,9 @@
* Constants for DV codec.
+#include "rational.h"
/*
* DVprofile is used to express the differences between various
* DV flavors. For now it's primarily used for differentiating