#include "avcodec.h"
#include "libavutil/internal.h"
+/** Additional profile info flags */
+#define DNXHD_INTERLACED (1<<0)
+#define DNXHD_MBAFF (1<<1)
+#define DNXHD_444 (1<<2)
+
+/** Indicate that a CIDEntry value must be read in the bitstream */
+#define DNXHD_VARIABLE 0
+
typedef struct CIDEntry {
int cid;
unsigned int width, height;
- int interlaced;
unsigned int frame_size;
unsigned int coding_unit_size;
+ uint16_t flags;
int index_bits;
int bit_depth;
int eob_index;
const uint8_t *luma_weight, *chroma_weight;
const uint8_t *dc_codes, *dc_bits;
const uint16_t *ac_codes;
- const uint8_t *ac_bits, *ac_level;
- const uint8_t *ac_flags;
+ const uint8_t *ac_bits, *ac_info;
const uint16_t *run_codes;
const uint8_t *run_bits, *run;
int bit_rates[5]; ///< Helper to choose variants, rounded to nearest 5Mb/s