[Ffmpeg-devel] Interlaced decoding internals?

Michael Niedermayer michaelni
Tue Feb 6 11:15:14 CET 2007


Hi

On Tue, Feb 06, 2007 at 09:47:18AM +0200, Kostya wrote:
> On Tue, Feb 06, 2007 at 01:16:17AM +0100, Michael Niedermayer wrote:
> > Hi
> > 
> > On Mon, Feb 05, 2007 at 08:31:41PM +0200, Kostya wrote:
> > > I'm working on adding interlaced frame support for VC-1 and
> > > has some question regarding AVCodecContext internals:
> > > What do avctx->interlaced_frame, avctx->top_field_first
> > > and avctx->repeat_pict affect if set by decoder?
> > 
> > they are not in AVCodecContext but AVFrame
> > they affect display, top_field_first affects the order in which
> > fields are shown, interlaced_frame affects if the frame is shown
> > as frame or as 2 fields at 2 seperate times (assuming the player
> > applictaion cares about the at all of course ...)
> 
> So that is just hints for player and picture->interlaced_frame
> signals that just one field is decoded (top_field_first is
> also significant here). Right?

no, AVFrame always contains 2 (new) fields

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070206/998d27fc/attachment.pgp>



More information about the ffmpeg-devel mailing list