Revision 3683b7e5 libavcodec/vc1dec.c

View differences:

libavcodec/vc1dec.c
2680 2680
                return;
2681 2681
            }
2682 2682
        }
2683
        ff_draw_horiz_band(s, s->mb_y * 16, 16);
2683
        if (!v->s.loop_filter)
2684
            ff_draw_horiz_band(s, s->mb_y * 16, 16);
2685
        else if (s->mb_y)
2686
            ff_draw_horiz_band(s, (s->mb_y-1) * 16, 16);
2687

  
2684 2688
        s->first_slice_line = 0;
2685 2689
    }
2690
    if (v->s.loop_filter)
2691
        ff_draw_horiz_band(s, (s->mb_height-1)*16, 16);
2686 2692
    ff_er_add_slice(s, 0, 0, s->mb_width - 1, s->mb_height - 1, (AC_END|DC_END|MV_END));
2687 2693
}
2688 2694

  
......
2812 2818
                return;
2813 2819
            }
2814 2820
        }
2815
        ff_draw_horiz_band(s, s->mb_y * 16, 16);
2821
        if (!v->s.loop_filter)
2822
            ff_draw_horiz_band(s, s->mb_y * 16, 16);
2823
        else if (s->mb_y)
2824
            ff_draw_horiz_band(s, (s->mb_y-1) * 16, 16);
2816 2825
        s->first_slice_line = 0;
2817 2826
    }
2827
    if (v->s.loop_filter)
2828
        ff_draw_horiz_band(s, (s->mb_height-1)*16, 16);
2818 2829
    ff_er_add_slice(s, 0, 0, s->mb_width - 1, s->mb_height - 1, (AC_END|DC_END|MV_END));
2819 2830
}
2820 2831

  
......
2913 2924
            }
2914 2925
            if(v->s.loop_filter) vc1_loop_filter_iblk(s, v->pq);
2915 2926
        }
2916
        ff_draw_horiz_band(s, s->mb_y * 16, 16);
2927
        if (!v->s.loop_filter)
2928
            ff_draw_horiz_band(s, s->mb_y * 16, 16);
2929
        else if (s->mb_y)
2930
            ff_draw_horiz_band(s, (s->mb_y-1) * 16, 16);
2917 2931
        s->first_slice_line = 0;
2918 2932
    }
2933
    if (v->s.loop_filter)
2934
        ff_draw_horiz_band(s, (s->mb_height-1)*16, 16);
2919 2935
    ff_er_add_slice(s, 0, 0, s->mb_width - 1, s->mb_height - 1, (AC_END|DC_END|MV_END));
2920 2936
}
2921 2937

  

Also available in: Unified diff