[Ffmpeg-devel] H264 decoding problem

Michael Niedermayer michaelni
Fri Oct 13 15:35:38 CEST 2006


On Fri, Oct 13, 2006 at 05:21:43PM +0400, Evgeniy Stepanov wrote:
> On Friday 13 October 2006 11:33, Guillaume POIRIER wrote:
> > Well it compiles and produces a binary that decodes CABAC just fine
> > with and without that option.
> >
> > Thanks a lot Michael for the speed of the fix, and for the work on
> > optimizing CABAC.
> >
> > If you have time, I think it would be quite interesting if you could
> > write a blog entry on the approach you followed to optimize cabac.
> It might be an unrelated problem, but since several days ago h264.c does not 
> compile without -fomit-frame-pointer. Athlon-xp, gcc-4.1.2. Log attached.

1. add support for configure to set some #define/undef OMIT_FRAME_POINTER 
2. and then disable the asm in cabac.h if the frame pointer isnt omited
3. send us a patch :)
1. change the asm so it requires one register less
2. benchmark (then goto 1 if its slower)
3. send patch

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-devel mailing list