summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-08-04 11:45:37 +0200
committerPaul B Mahol <onemda@gmail.com>2020-08-08 12:03:43 +0200
commit1c6a010e3bc5bf4c08455d9323f3fdc3b0b3c255 (patch)
tree3adc26df47d613768d71471405bced2ad156fd41
parenta96506f01748d746591e13d9e1fceb862efde922 (diff)
avcodec/cfhd: remove some unused or only write items
-rw-r--r--libavcodec/cfhd.c2
-rw-r--r--libavcodec/cfhd.h7
2 files changed, 0 insertions, 9 deletions
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;