comparison h264.c @ 11162:d9725977b699 libavcodec

h264: Remove unused variables.
author astrange
date Sat, 13 Feb 2010 21:09:38 +0000
parents af73d215879d
children e251be458ac3
comparison
equal deleted inserted replaced
11161:286497e7f7c5 11162:d9725977b699
977 } 977 }
978 } 978 }
979 979
980 static inline void xchg_mb_border(H264Context *h, uint8_t *src_y, uint8_t *src_cb, uint8_t *src_cr, int linesize, int uvlinesize, int xchg, int simple){ 980 static inline void xchg_mb_border(H264Context *h, uint8_t *src_y, uint8_t *src_cb, uint8_t *src_cr, int linesize, int uvlinesize, int xchg, int simple){
981 MpegEncContext * const s = &h->s; 981 MpegEncContext * const s = &h->s;
982 int temp8, i;
983 uint64_t temp64;
984 int deblock_left; 982 int deblock_left;
985 int deblock_top; 983 int deblock_top;
986 int mb_xy; 984 int mb_xy;
987 int top_idx = 1; 985 int top_idx = 1;
988 uint8_t *top_border_m1; 986 uint8_t *top_border_m1;
2163 const int old_slice_type= h->slice_type; 2161 const int old_slice_type= h->slice_type;
2164 2162
2165 if(h->deblocking_filter) { 2163 if(h->deblocking_filter) {
2166 for(mb_x= 0; mb_x<s->mb_width; mb_x++){ 2164 for(mb_x= 0; mb_x<s->mb_width; mb_x++){
2167 for(mb_y=end_mb_y - FRAME_MBAFF; mb_y<= end_mb_y; mb_y++){ 2165 for(mb_y=end_mb_y - FRAME_MBAFF; mb_y<= end_mb_y; mb_y++){
2168 int list, mb_xy, mb_type; 2166 int mb_xy, mb_type;
2169 mb_xy = h->mb_xy = mb_x + mb_y*s->mb_stride; 2167 mb_xy = h->mb_xy = mb_x + mb_y*s->mb_stride;
2170 h->slice_num= h->slice_table[mb_xy]; 2168 h->slice_num= h->slice_table[mb_xy];
2171 mb_type= s->current_picture.mb_type[mb_xy]; 2169 mb_type= s->current_picture.mb_type[mb_xy];
2172 h->list_count= h->list_counts[mb_xy]; 2170 h->list_count= h->list_counts[mb_xy];
2173 2171