diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c index 611fae53d8..a2cf339858 100644 --- a/libavcodec/cfhd.c +++ b/libavcodec/cfhd.c @@ -95,8 +95,6 @@ static void init_frame_defaults(CFHDContext *s) s->channel_num = 0; s->lowpass_precision = 16; s->quantisation = 1; - s->wavelet_depth = 3; - s->pshift = 1; s->codebook = 0; s->difference_coding = 0; s->progressive = 0; diff --git a/libavcodec/cfhd.h b/libavcodec/cfhd.h index b889fe5fa2..52ce94f066 100644 --- a/libavcodec/cfhd.h +++ b/libavcodec/cfhd.h @@ -96,16 +96,11 @@ typedef struct CFHD_RL_VLC_ELEM { #define DWT_LEVELS 3 typedef struct SubBand { - int level; - int orientation; ptrdiff_t stride; int a_width; int width; int a_height; int height; - int pshift; - int quant; - uint8_t *ibuf; } SubBand; typedef struct Plane { @@ -158,8 +153,6 @@ typedef struct CFHDContext { int channel_num; uint8_t lowpass_precision; uint16_t quantisation; - int wavelet_depth; - int pshift; int codebook; int difference_coding;