[MPlayer-dev-eng] [PATCH] support -dr with more than 2 reference frames
Reimar Döffinger
Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Feb 14 09:20:23 CET 2009
On Sat, Feb 14, 2009 at 02:42:58AM +0100, Michael Niedermayer wrote:
> On Fri, Feb 13, 2009 at 04:23:42PM +0100, Reimar Döffinger wrote:
> > I noticed this is really necessary for VDPAU and it is pure luck it
> > works mostly without.
> > It adds a new MPIMGTYPE_NUMBERED which allows requesting a specific MPI
> > or the next free one, where MP_IMGFLAG_IN_USE is used to determine
> > which ones are free.
> > VDPAU only needs the feature of getting the "next free one" and not that
> > they are numbered, but I think there currently is some code duplication
> > in that regard that could now be removed.
> > What is your opinion about this? It seems simple enough and I think it
> > can't be done that wrong, but you never know...
>
> my oppinion, someone should finish libavfilter, port all mplayer filters to
> it and then replace libmpcodecs by it
Well, that only helps here if you replace mp_image everywhere by
whatever libavfilter uses, which means in the codecs, filters and vos.
Especially the last part means this might help to make the switch much
smoother (of course that's all just a theory ;-) ), if I find time this
change should allow me to implement the functionality that allows H.264
direct-rendering into -vo gl buffers, which would also help libavfilter.
Greetings,
Reimar Döffinger
More information about the MPlayer-dev-eng
mailing list