mpegvideo: split ff_draw_horiz_band().

Split out dependency on MpegEncContext.
This commit is contained in:
Anton Khirnov
2013-02-03 14:26:34 +01:00
parent 54974c6298
commit 1d0feb5d1a
12 changed files with 84 additions and 62 deletions

View File

@@ -145,7 +145,7 @@ void ff_xvmc_field_end(MpegEncContext *s)
assert(render);
if (render->filled_mv_blocks_num > 0)
ff_draw_horiz_band(s, 0, 0);
ff_mpeg_draw_horiz_band(s, 0, 0);
}
/**
@@ -328,5 +328,5 @@ void ff_xvmc_decode_mb(MpegEncContext *s)
if (render->filled_mv_blocks_num == render->allocated_mv_blocks)
ff_draw_horiz_band(s, 0, 0);
ff_mpeg_draw_horiz_band(s, 0, 0);
}