New video output driver: "vmem", for direct memory access.
authorSam Hocevar <sam@zoy.org>
Fri, 21 Mar 2008 14:26:30 +0000 (14:26 +0000)
committerSam Hocevar <sam@zoy.org>
Fri, 21 Mar 2008 14:26:30 +0000 (14:26 +0000)
commitc4b95b5063089cf126d2df572f4bbbc60ac07fef
tree2224dbe9039dc471d10b6f87867f90358287cd0c
parent699dd7887738f8e1373a4cf3d8c03f010c70a29b
New video output driver: "vmem", for direct memory access.

Sometimes our list of video output modules is still not enough for an
external libvlc application with specific requirements. For instance, an
SDL application running in full screen cannot open a new window on Linux
(this is a known libSDL limitation). This vmem video output allows it to
asynchronously render the video into an SDL_Surface, with full locking.

Resolution or pitch changes are not supported yet. I'd advise against
them however, since they often require a full chroma unload/reload
operation, which is quite expensive.

I also believe this feature should be directly integrated into libvlc,
but I don't want to be too intrusive yet.
configure.ac
modules/video_output/Modules.am
modules/video_output/vmem.c [new file with mode: 0644]