aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegvideo.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-01-29 14:14:46 +0100
committerDiego Biurrun <diego@biurrun.de>2014-01-29 16:37:23 +0100
commit54b2ce7418c0e1467c9e67274e55e1bd86189e63 (patch)
tree39a4bdc6aecbbacfab1b8789cc0829feabe45389 /libavcodec/mpegvideo.c
parentb7d0d10a1d54073501b728dbe166a32e2b7b26f1 (diff)
downloadffmpeg-54b2ce7418c0e1467c9e67274e55e1bd86189e63.tar.gz
mpeg: Drop unused parameters from ff_draw_horiz_band()
Diffstat (limited to 'libavcodec/mpegvideo.c')
-rw-r--r--libavcodec/mpegvideo.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 3e86617a9c..73778f51b4 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -2313,10 +2313,9 @@ void ff_MPV_decode_mb(MpegEncContext *s, int16_t block[12][64]){
/**
* @param h is the normal height, this will be reduced automatically if needed for the last row
*/
-void ff_draw_horiz_band(AVCodecContext *avctx, DSPContext *dsp, Picture *cur,
+void ff_draw_horiz_band(AVCodecContext *avctx, Picture *cur,
Picture *last, int y, int h, int picture_structure,
- int first_field, int low_delay,
- int v_edge_pos, int h_edge_pos)
+ int first_field, int low_delay)
{
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(avctx->pix_fmt);
int vshift = desc->log2_chroma_h;
@@ -2365,10 +2364,9 @@ void ff_draw_horiz_band(AVCodecContext *avctx, DSPContext *dsp, Picture *cur,
void ff_mpeg_draw_horiz_band(MpegEncContext *s, int y, int h)
{
- ff_draw_horiz_band(s->avctx, &s->dsp, &s->current_picture,
+ ff_draw_horiz_band(s->avctx, &s->current_picture,
&s->last_picture, y, h, s->picture_structure,
- s->first_field, s->low_delay,
- s->v_edge_pos, s->h_edge_pos);
+ s->first_field, s->low_delay);
}
void ff_init_block_index(MpegEncContext *s){ //FIXME maybe rename