[vlc-devel] porting the SDL+VLC example (and vaapi/dxva and h264 and...)
Vittorio G.
vitto.giova at yahoo.it
Wed Feb 16 14:14:11 CET 2011
On Tue, Feb 15, 2011 at 11:55 AM, Vittorio G. <vitto.giova at yahoo.it> wrote:
> I'm trying to port the sdl+vlc example
> (http://wiki.videolan.org/LibVLC_SampleCode_SDL) to SDL 1.3 apis
> I'm trying to use this code to decode some h264 videos and to do some
> compositing operation on it live.
[cut]
> Is it normal that (under windows) when i
> use vlc directly and hw acceleration i see that the cpu is completely
> offloaded, while with this test program and hw acceleration the cpu is
> loaded to a 10%?
Upon further inspection I found out that the remaining cpu time is
caused by the chroma conversion performed in swscale.
Is it possible to get the decoded raw frame, skip the (slow) swscale
Convert function and leave the chroma conversion to sdl?
thanks for any suggestion
Vittorio
More information about the vlc-devel
mailing list