[FFmpeg-devel] Interlaced video decoder help needed
Kostya
kostya.shishkov
Wed Jul 21 21:14:18 CEST 2010
On Wed, Jul 21, 2010 at 08:53:58PM +0200, Michael Niedermayer wrote:
> On Wed, Jul 21, 2010 at 09:14:11PM +0300, Kostya wrote:
> > I've decided to extend lavc VC-1 decoder to handle at least some of
> > interlaced video stuff. Looks like format with two fields is most
> > common so I'm going to implement it first.
> >
> > How can I make decoder handle field-interlaced video (modify strides for
> > it, handle macroblock/draw_slice() stuff etc)? Finding answers in
> > mpegvideo.c probably will double amount of work.
>
> the decoder outputs frames consisting of 2 interlaced fields
> you may or may not wish to double strides internally for decoding
> this depends on which way its more convenient
> SLICE_FLAG_ALLOW_FIELD switches between draw_slice returning field slices
> or frame slices.
thanks, probably I'll return with more questions later
> [...]
>
> --
> Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
More information about the ffmpeg-devel
mailing list