[vlc-devel] porting the SDL+VLC example (and vaapi/dxva and h264 and...)

Rémi Denis-Courmont remi at remlab.net
Wed Feb 16 14:34:42 CET 2011


On Wed, 16 Feb 2011 14:14:11 +0100, "Vittorio G." <vitto.giova at yahoo.it>
wrote:
> 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

Yes, with the new libvlc_video_set_format_callbacks() function.

> and leave the chroma conversion to sdl?

I don't know. Depends if SDL supports I4:2:0.

-- 
Rémi Denis-Courmont
http://www.remlab.net
http://fi.linkedin.com/in/remidenis




More information about the vlc-devel mailing list