comparison snow.c @ 3920:3a151ccc6ed7 libavcodec

Remove unused variables and the corresponding warnings along with them.
author diego
date Tue, 03 Oct 2006 17:12:48 +0000
parents acf9ca729bd2
children c8c591fe26f8
comparison
equal deleted inserted replaced
3919:b0b88fc01b7c 3920:3a151ccc6ed7
2936 2936
2937 static int get_block_rd(SnowContext *s, int mb_x, int mb_y, int plane_index, const uint8_t *obmc_edged){ 2937 static int get_block_rd(SnowContext *s, int mb_x, int mb_y, int plane_index, const uint8_t *obmc_edged){
2938 Plane *p= &s->plane[plane_index]; 2938 Plane *p= &s->plane[plane_index];
2939 const int block_size = MB_SIZE >> s->block_max_depth; 2939 const int block_size = MB_SIZE >> s->block_max_depth;
2940 const int block_w = plane_index ? block_size/2 : block_size; 2940 const int block_w = plane_index ? block_size/2 : block_size;
2941 const uint8_t *obmc = plane_index ? obmc_tab[s->block_max_depth+1] : obmc_tab[s->block_max_depth];
2942 const int obmc_stride= plane_index ? block_size : 2*block_size; 2941 const int obmc_stride= plane_index ? block_size : 2*block_size;
2943 const int ref_stride= s->current_picture.linesize[plane_index]; 2942 const int ref_stride= s->current_picture.linesize[plane_index];
2944 uint8_t *dst= s->current_picture.data[plane_index]; 2943 uint8_t *dst= s->current_picture.data[plane_index];
2945 uint8_t *src= s-> input_picture.data[plane_index]; 2944 uint8_t *src= s-> input_picture.data[plane_index];
2946 DWTELEM *pred= (DWTELEM*)s->m.obmc_scratchpad + plane_index*block_size*block_size*4; 2945 DWTELEM *pred= (DWTELEM*)s->m.obmc_scratchpad + plane_index*block_size*block_size*4;
3039 const int ref_stride= s->current_picture.linesize[plane_index]; 3038 const int ref_stride= s->current_picture.linesize[plane_index];
3040 uint8_t *dst= s->current_picture.data[plane_index]; 3039 uint8_t *dst= s->current_picture.data[plane_index];
3041 uint8_t *src= s-> input_picture.data[plane_index]; 3040 uint8_t *src= s-> input_picture.data[plane_index];
3042 static const DWTELEM zero_dst[4096]; //FIXME 3041 static const DWTELEM zero_dst[4096]; //FIXME
3043 const int b_stride = s->b_width << s->block_max_depth; 3042 const int b_stride = s->b_width << s->block_max_depth;
3044 const int b_height = s->b_height<< s->block_max_depth;
3045 const int w= p->width; 3043 const int w= p->width;
3046 const int h= p->height; 3044 const int h= p->height;
3047 int distortion= 0; 3045 int distortion= 0;
3048 int rate= 0; 3046 int rate= 0;
3049 const int penalty_factor= get_penalty_factor(s->lambda, s->lambda2, s->avctx->me_cmp); 3047 const int penalty_factor= get_penalty_factor(s->lambda, s->lambda2, s->avctx->me_cmp);