Mercurial > libavcodec.hg
comparison mpeg12.c @ 2261:bd09f4d1976f libavcodec
lowres slice fix
author | michael |
---|---|
date | Sun, 26 Sep 2004 13:03:43 +0000 |
parents | 7e0b2e86afa9 |
children | 514949de5d15 |
comparison
equal
deleted
inserted
replaced
2260:33835650f5b6 | 2261:bd09f4d1976f |
---|---|
2524 s->dest[2] += 16 >> (s->chroma_x_shift + lowres); | 2524 s->dest[2] += 16 >> (s->chroma_x_shift + lowres); |
2525 | 2525 |
2526 MPV_decode_mb(s, s->block); | 2526 MPV_decode_mb(s, s->block); |
2527 | 2527 |
2528 if (++s->mb_x >= s->mb_width) { | 2528 if (++s->mb_x >= s->mb_width) { |
2529 | 2529 const int mb_size= 16>>s->avctx->lowres; |
2530 ff_draw_horiz_band(s, 16*s->mb_y, 16); | 2530 |
2531 ff_draw_horiz_band(s, mb_size*s->mb_y, mb_size); | |
2531 | 2532 |
2532 s->mb_x = 0; | 2533 s->mb_x = 0; |
2533 s->mb_y++; | 2534 s->mb_y++; |
2534 | 2535 |
2535 if(s->mb_y<<field_pic >= s->mb_height){ | 2536 if(s->mb_y<<field_pic >= s->mb_height){ |