Mercurial > libavcodec.hg
comparison huffyuv.c @ 1370:45d761c387cd libavcodec
default for slices is display order again
optional support for field slices & slices in coded order
and single component slices for svq1 (unfinished)
author | michaelni |
---|---|
date | Sun, 20 Jul 2003 14:48:05 +0000 |
parents | 0fd38b711f06 |
children | 79dddc5cd990 |
comparison
equal
deleted
inserted
replaced
1369:8a150a66d2d9 | 1370:45d761c387cd |
---|---|
691 offset[1] = s->picture.linesize[1]*cy; | 691 offset[1] = s->picture.linesize[1]*cy; |
692 offset[2] = s->picture.linesize[2]*cy; | 692 offset[2] = s->picture.linesize[2]*cy; |
693 offset[3] = 0; | 693 offset[3] = 0; |
694 emms_c(); | 694 emms_c(); |
695 | 695 |
696 s->avctx->draw_horiz_band(s->avctx, &s->picture, offset, y, s->width, h); | 696 s->avctx->draw_horiz_band(s->avctx, &s->picture, offset, y, 3, h); |
697 | 697 |
698 s->last_slice_end= y + h; | 698 s->last_slice_end= y + h; |
699 } | 699 } |
700 | 700 |
701 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size){ | 701 static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size){ |