[FFmpeg-cvslog] avcodec/cfhd: remove some unused or only write items
Paul B Mahol
git at videolan.org
Sat Aug 8 13:12:59 EEST 2020
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Aug 4 11:45:37 2020 +0200| [1c6a010e3bc5bf4c08455d9323f3fdc3b0b3c255] | committer: Paul B Mahol
avcodec/cfhd: remove some unused or only write items
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1c6a010e3bc5bf4c08455d9323f3fdc3b0b3c255
---
libavcodec/cfhd.c | 2 --
libavcodec/cfhd.h | 7 -------
2 files changed, 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;
More information about the ffmpeg-cvslog
mailing list