[FFmpeg-devel] [PATCH]Basic XSUB encoder (take 3)
Thu Feb 5 19:24:35 CET 2009
On Thu, Feb 05, 2009 at 03:48:52PM +0100, Reimar D?ffinger wrote:
> On Thu, Feb 05, 2009 at 03:19:48PM +0100, Michael Niedermayer wrote:
> > On Thu, Feb 05, 2009 at 09:33:48AM +0100, Reimar D?ffinger wrote:
> > [...]
> > > I was also wondering (in case anyone else is reading this), how about a
> > > put_bits_free function that returns how many bits still fit into the
> > > given context?
> > i am in favor of adding a size_in_bits field like in getbits
> > then pb->size_in_bits - put_bits_count(&pb) will give you the remaining
> > space
> The reason I don't like it too much is because the put_bits size is
> specified everywhere only in bytes, but it would still be better than
> the current situation I think.
added, we can change it in the future if it turns out not ideal
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel