[MPlayer-dev-eng] [RFC] defines for demux seek flags

Rich Felker dalias at aerifal.cx
Tue Jan 29 05:30:23 CET 2008


On Mon, Jan 28, 2008 at 01:00:44PM +0100, Reimar Döffinger wrote:
> > Agree. Can we have an absolute policy that bitfields are forbidden in
> > MPlayer? They're ugly and have no practical benefit. They're an
> > unnecessary abstraction from just defining bitwise constants yourself,
> > and one which offers no potential for optimization.
> 
> I think your opinion is a bit extreme, and what concerns optimization
> gcc seems to handle them well enough.

I'm not talking about how a particular compiler handles optimizing
them; rather I'm saying that there's no theoretical basis on which
they are "more optimizable" than simply doing the bit arithmetic
yourself. Thus it's an abstraction that serves no purpose for
optimizations.

Rich



More information about the MPlayer-dev-eng mailing list