avcodec/cfhd: remove some unused or only write items
This commit is contained in:
		
							parent
							
								
									a96506f017
								
							
						
					
					
						commit
						1c6a010e3b
					
				@ -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;
 | 
			
		||||
 | 
			
		||||
@ -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;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user