Mercurial > libavcodec.hg
comparison mpeg12.c @ 1098:b7f267d168b7 libavcodec
mpeg2 field pictures + sliced mode (doesnt work with mplayer though, dunno why)
author | michaelni |
---|---|
date | Wed, 05 Mar 2003 20:03:15 +0000 |
parents | 5e6e505d8997 |
children | 1e39f273ecd6 |
comparison
equal
deleted
inserted
replaced
1097:7104c8561512 | 1098:b7f267d168b7 |
---|---|
1873 s->current_picture.data[2] -= s->uvlinesize; | 1873 s->current_picture.data[2] -= s->uvlinesize; |
1874 } | 1874 } |
1875 } | 1875 } |
1876 | 1876 |
1877 if (++s->mb_x >= s->mb_width) { | 1877 if (++s->mb_x >= s->mb_width) { |
1878 ff_draw_horiz_band(s); | 1878 if(s->picture_structure==PICT_FRAME){ |
1879 ff_draw_horiz_band(s, 16*s->mb_y, 16); | |
1880 }else{ | |
1881 if(!s->first_field){ | |
1882 ff_draw_horiz_band(s, 32*s->mb_y, 32); | |
1883 } | |
1884 } | |
1879 | 1885 |
1880 s->mb_x = 0; | 1886 s->mb_x = 0; |
1881 s->mb_y++; | 1887 s->mb_y++; |
1882 PRINT_QP("%s", "\n"); | 1888 PRINT_QP("%s", "\n"); |
1883 } | 1889 } |