summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2013-02-03 14:26:34 +0100
committerAnton Khirnov <anton@khirnov.net>2013-02-15 16:10:19 +0100
commit1d0feb5d1ac04d187b335f0e8d411c9f40b3a885 (patch)
tree2f79cfd6851b679b4d1d479355db3777a36b239c /libavcodec/vdpau.c
parent54974c62982ae827becdbdb9b620b7ba75d079a0 (diff)
mpegvideo: split ff_draw_horiz_band().
Split out dependency on MpegEncContext.
Diffstat (limited to 'libavcodec/vdpau.c')
-rw-r--r--libavcodec/vdpau.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c
index 851c7cb9f3..3b773868e9 100644
--- a/libavcodec/vdpau.c
+++ b/libavcodec/vdpau.c
@@ -59,7 +59,7 @@ int ff_vdpau_common_end_frame(AVCodecContext *avctx)
hwctx->render(hwctx->decoder, surf, (void *)&hwctx->info,
hwctx->bitstream_buffers_used, hwctx->bitstream_buffers);
- ff_draw_horiz_band(s, 0, s->avctx->height);
+ ff_mpeg_draw_horiz_band(s, 0, s->avctx->height);
hwctx->bitstream_buffers_used = 0;
}
return 0;
@@ -235,7 +235,7 @@ void ff_vdpau_h264_picture_complete(MpegEncContext *s)
memcpy(render->info.h264.scaling_lists_8x8[0], h->pps.scaling_matrix8[0], sizeof(render->info.h264.scaling_lists_8x8[0]));
memcpy(render->info.h264.scaling_lists_8x8[1], h->pps.scaling_matrix8[3], sizeof(render->info.h264.scaling_lists_8x8[0]));
- ff_draw_horiz_band(s, 0, s->avctx->height);
+ ff_mpeg_draw_horiz_band(s, 0, s->avctx->height);
render->bitstream_buffers_used = 0;
}
@@ -292,7 +292,7 @@ void ff_vdpau_mpeg_picture_complete(MpegEncContext *s, const uint8_t *buf,
render->info.mpeg.slice_count = slice_count;
if (slice_count)
- ff_draw_horiz_band(s, 0, s->avctx->height);
+ ff_mpeg_draw_horiz_band(s, 0, s->avctx->height);
render->bitstream_buffers_used = 0;
}
@@ -361,7 +361,7 @@ void ff_vdpau_vc1_decode_picture(MpegEncContext *s, const uint8_t *buf,
render->info.vc1.slice_count = 1;
- ff_draw_horiz_band(s, 0, s->avctx->height);
+ ff_mpeg_draw_horiz_band(s, 0, s->avctx->height);
render->bitstream_buffers_used = 0;
}
@@ -415,7 +415,7 @@ void ff_vdpau_mpeg4_decode_picture(MpegEncContext *s, const uint8_t *buf,
ff_vdpau_add_data_chunk(s, buf, buf_size);
- ff_draw_horiz_band(s, 0, s->avctx->height);
+ ff_mpeg_draw_horiz_band(s, 0, s->avctx->height);
render->bitstream_buffers_used = 0;
}