[FFmpeg-devel] Interlaced video decoder help needed

Michael Niedermayer michaelni
Wed Jul 21 20:53:58 CEST 2010


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.

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100721/bbe6da23/attachment.pgp>



More information about the ffmpeg-devel mailing list