I run totem and play an ogg video, and notice the following performance report using the Sun Studio compiler performance tool: This is running a 43.49 second test: - 8.666 seconds - resample_linear_argb_ref in liboil - 6.545 seconds - yuv420p_to_argb32 in gstffmpegcolorspace - 6.044 seconds - merge_linear_argb_ref in liboil So almost 40% of the time seems spent in the two liboil function that are 2 of the top 3 CPU consumers. It would be good to provide hardware accelerated versions of these two functions I think.
For reference, I ran the report viewing this video: http://ia310809.us.archive.org/3/items/whycopyrightdoc/whycopyrightdoc.ogg
I ran a 172.541 second test using sunstudio collect, my top 2 were: merge_linear_argb_ref (/usr/lib/liboil-0.3.so.0.3.0) with 56.039 seconds resample_linear_argb_ref (/usr/lib/liboil-0.3.so.0.3.0) with 39.708 seconds
Note I filed a bug with GStreamer about the performance issue in the gstffmpegcolorspace function. http://bugzilla.gnome.org/show_bug.cgi?id=564777
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.