[MPlayer-dev-eng] [PATCH] syncing dvdread - part1

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Aug 19 14:31:36 CEST 2007


Hello,
On Sun, Aug 19, 2007 at 02:26:54PM +0200, Nico Sabbi wrote:
> Reimar Döffinger wrote:
> > On Sun, Aug 19, 2007 at 02:02:42PM +0200, Nico Sabbi wrote:
> >>Nico Sabbi wrote:
> >>
> >>>>Will it not be easier if we do the sync first?
> >>>>
> >>>>Diego
> >>>
> >>>yes, of course
> >>
> >>updated (although I like much more mp_getbits in libmpdemux/mpeg_hdr.c) :-)
> > 
> > 
> > Do you really need to be able to read up to 32 bits or would 25 be
> > enough?
> > If yes it should be possible to simplify this a lot, similar to how the
> > libavcodec ALT_BITSTREAM_READER does it just with less obfuscation (i.e.
> > read 32 bits with AV_RB32, shift left according to current bit position
> > within the byte and shift right again depending on number of bits to
> > read.
> 
> as I wrote previously: this patch is needed just to keep the codebae 
> in sync; optimizations are welcome but had better come later

Sorry, my fault for not reading the thread...

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list