Revision a715af8f libavcodec/h264.h
libavcodec/h264.h | ||
---|---|---|
762 | 762 |
const int curr_mb_field_flag = IS_INTERLACED(mb_type); |
763 | 763 |
if(s->mb_y&1){ |
764 | 764 |
if (left_mb_field_flag != curr_mb_field_flag) { |
765 |
if(for_deblock){ |
|
766 |
left_xy[0] = mb_xy - s->mb_stride - 1; |
|
767 |
left_xy[1] = mb_xy - 1; |
|
768 |
}else{ |
|
765 | 769 |
left_xy[1] = left_xy[0] = mb_xy - s->mb_stride - 1; |
766 | 770 |
if (curr_mb_field_flag) { |
767 | 771 |
left_xy[1] += s->mb_stride; |
... | ... | |
772 | 776 |
topleft_partition = 0; |
773 | 777 |
left_block = left_block_options[1]; |
774 | 778 |
} |
779 |
} |
|
775 | 780 |
} |
776 | 781 |
}else{ |
777 | 782 |
if(curr_mb_field_flag){ |
... | ... | |
780 | 785 |
top_xy += s->mb_stride & (((s->current_picture.mb_type[top_xy ]>>7)&1)-1); |
781 | 786 |
} |
782 | 787 |
if (left_mb_field_flag != curr_mb_field_flag) { |
788 |
if(for_deblock){ |
|
789 |
left_xy[0] = mb_xy - 1; |
|
790 |
left_xy[1] = mb_xy + s->mb_stride - 1; |
|
791 |
}else{ |
|
783 | 792 |
left_xy[1] = left_xy[0] = mb_xy - 1; |
784 | 793 |
if (curr_mb_field_flag) { |
785 | 794 |
left_xy[1] += s->mb_stride; |
... | ... | |
787 | 796 |
} else { |
788 | 797 |
left_block = left_block_options[2]; |
789 | 798 |
} |
799 |
} |
|
790 | 800 |
} |
791 | 801 |
} |
792 | 802 |
} |
Also available in: Unified diff