[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnash-dev] youtube profiling

From: Udo Giacomozzi
Subject: Re: [Gnash-dev] youtube profiling
Date: Thu, 3 May 2007 11:09:29 +0200

Hello strk,

Thursday, May 3, 2007, 10:54:50 AM, you wrote:
s> I've done some profiling playing youtube.
s> The bottleneck is still the rendering. In particular, video frame rendering.

With AGG? I'm using nearest neighbor scaling, which should be the
fastest method that can do scaling. Of course just copying the data to
the offscreen buffer when the video is scaled 1:1 would be faster, but
I'm a bit scared of implementing that.

s> Profile output shows that the drawVideoFrame routine is called 375.

375 times? More interesting would be the real time which is spend in
that routine.

s> This is the RMS singing video, which is 02 minutes and 01 second long.
s> The player2.swf file is at 25 FPS, which means 3025 calls to ::advance
s> during the playback. I assume most of the times a new frame
s> is not ready so we don't display anything...

Are you sure it really won't update in that case? This requires
correct usage of invalidated bounds (set_invalidated()) and as far as
I remember only minimal functionality for invalidated bounds were
implemented in the video class. This could have changed in the


reply via email to

[Prev in Thread] Current Thread [Next in Thread]