Mercurial > libavcodec.hg
comparison h264_loopfilter.c @ 11162:d9725977b699 libavcodec
h264: Remove unused variables.
author | astrange |
---|---|
date | Sat, 13 Feb 2010 21:09:38 +0000 |
parents | 1b8e11679883 |
children | d464f498e19f |
comparison
equal
deleted
inserted
replaced
11161:286497e7f7c5 | 11162:d9725977b699 |
---|---|
512 if ( (!IS_INTERLACED(mb_type|mbm_type)) | 512 if ( (!IS_INTERLACED(mb_type|mbm_type)) |
513 || ((FRAME_MBAFF || (s->picture_structure != PICT_FRAME)) && (dir == 0)) | 513 || ((FRAME_MBAFF || (s->picture_structure != PICT_FRAME)) && (dir == 0)) |
514 ) | 514 ) |
515 *(uint64_t*)bS= 0x0004000400040004ULL; | 515 *(uint64_t*)bS= 0x0004000400040004ULL; |
516 } else { | 516 } else { |
517 int i, l; | 517 int i; |
518 int mv_done; | 518 int mv_done; |
519 | 519 |
520 if( dir && FRAME_MBAFF && IS_INTERLACED(mb_type ^ mbm_type)) { | 520 if( dir && FRAME_MBAFF && IS_INTERLACED(mb_type ^ mbm_type)) { |
521 *(uint64_t*)bS= 0x0001000100010001ULL; | 521 *(uint64_t*)bS= 0x0001000100010001ULL; |
522 mv_done = 1; | 522 mv_done = 1; |
588 continue; | 588 continue; |
589 | 589 |
590 if( IS_INTRA(mb_type)) { | 590 if( IS_INTRA(mb_type)) { |
591 *(uint64_t*)bS= 0x0003000300030003ULL; | 591 *(uint64_t*)bS= 0x0003000300030003ULL; |
592 } else { | 592 } else { |
593 int i, l; | 593 int i; |
594 int mv_done; | 594 int mv_done; |
595 | 595 |
596 if( edge & mask_edge ) { | 596 if( edge & mask_edge ) { |
597 *(uint64_t*)bS= 0; | 597 *(uint64_t*)bS= 0; |
598 mv_done = 1; | 598 mv_done = 1; |
655 const int mb_xy= mb_x + mb_y*s->mb_stride; | 655 const int mb_xy= mb_x + mb_y*s->mb_stride; |
656 const int mb_type = s->current_picture.mb_type[mb_xy]; | 656 const int mb_type = s->current_picture.mb_type[mb_xy]; |
657 const int mvy_limit = IS_INTERLACED(mb_type) ? 2 : 4; | 657 const int mvy_limit = IS_INTERLACED(mb_type) ? 2 : 4; |
658 int first_vertical_edge_done = 0; | 658 int first_vertical_edge_done = 0; |
659 av_unused int dir; | 659 av_unused int dir; |
660 int list; | |
661 | 660 |
662 if (FRAME_MBAFF | 661 if (FRAME_MBAFF |
663 // and current and left pair do not have the same interlaced type | 662 // and current and left pair do not have the same interlaced type |
664 && IS_INTERLACED(mb_type^h->left_type[0]) | 663 && IS_INTERLACED(mb_type^h->left_type[0]) |
665 // and left mb is in available to us | 664 // and left mb is in available to us |