[Ffmpeg-devel] [PATCH] fix mpeg4 lowres chroma bug and increase h264/mpeg4 MC speed
Mon Feb 12 15:33:37 CET 2007
On Mon, Feb 12, 2007 at 12:49:30PM +0100, Michael Niedermayer wrote:
> > > > Why do you discard some times in your TIMER code? Is the goal just to
> > > > discard those times in which an interrupt occured?
> > >
> > > yes
> > That's not what's is doing, there are far too many skips for that to
> > be the case.
> indeed ill try to improve START/STOP_TIMER
the new code will never skip if the code needed <2000 cycles,
interrupts on the 2 systems i tested need >5000 cycles so thats
a slight improvment, all other things ive tried failed (that was
reading and comparing /proc/interrupts (reading this itself causes
interrupts (about 10000 per second ...))
comparing clock() or related functions only catch 10% of the intrrupts
comparing getrusage() still catches only 50% of the interrupts
if anyone has any ideas how we could detect if a interrupt/task switch
happened between START and STOP_TIMER please tell me ...
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
The educated differ from the uneducated as much as the living from the
dead. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
More information about the ffmpeg-devel