[FFmpeg-devel] [PATCH 1/2] h261, h263 decoders: convert to RL_VLC.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Aug 31 14:54:48 CEST 2014


On Sun, Aug 31, 2014 at 08:37:56AM -0400, Ronald S. Bultje wrote:
> Hi,
> 
> On Sun, Aug 31, 2014 at 8:27 AM, Reimar Döffinger <Reimar.Doeffinger at gmx.de>
> wrote:
> 
> > On Sun, Aug 31, 2014 at 02:21:46PM +0200, Reimar Döffinger wrote:
> > > This has a few TODOs like adjusting the run tables instead
> > > of having a -1 in the decode loop.
> > > But please review the general idea.
> >
> > I forgot to say: this is the first time I use this API,
> > and I was quite confused.
> > And in particular I am not sure how much I can safely read
> > from the cache without updating...
> 
> 25, right? Anything less, we'd advance a byte in update.

Well, but then there is the question how many GET_VL_RLC
may end up using at most.
And that will depend on even more, for example, how much will
it have used at most when you get into the escape path?
I think this is quite tricky if you want to do it optimally,
so I just guessed so far...


More information about the ffmpeg-devel mailing list