]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/cfhd: remove some unused or only write items
authorPaul B Mahol <onemda@gmail.com>
Tue, 4 Aug 2020 09:45:37 +0000 (11:45 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 8 Aug 2020 10:03:43 +0000 (12:03 +0200)
libavcodec/cfhd.c
libavcodec/cfhd.h

index 611fae53d85756a3e0e47f2b81df6bd73514fb94..a2cf33985870862bc914de66a6ffae80002101bd 100644 (file)
@@ -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;
index b889fe5fa276e0792fc4ca253e561bea707690a3..52ce94f066d88fc1de27acecde37630849b1bdc4 100644 (file)
@@ -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;