#include "libavutil/avassert.h"
#include "avcodec.h"
+#include "bytestream.h"
#include "get_bits.h"
#include "vlc.h"
SubBand band[DWT_LEVELS][4];
} Plane;
+typedef struct Peak {
+ int level;
+ int offset;
+ GetByteContext base;
+} Peak;
+
typedef struct CFHDContext {
AVCodecContext *avctx;
int coded_height;
int cropped_height;
enum AVPixelFormat coded_format;
+ int progressive;
int a_width;
int a_height;
int pshift;
int codebook;
+ int difference_coding;
int subband_num;
int level;
int subband_num_actual;
uint8_t prescale_shift[3];
Plane plane[4];
+ Peak peak;
} CFHDContext;
int ff_cfhd_init_vlcs(CFHDContext *s);