[vlc-devel] commit: New video output driver: "vmem", for direct memory access. ( Sam Hocevar )
git version control
git at videolan.org
Fri Mar 21 15:31:37 CET 2008
vlc | branch: master | Sam Hocevar <sam at zoy.org> | Fri Mar 21 14:26:30 2008 +0000| [c4b95b5063089cf126d2df572f4bbbc60ac07fef]
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 | 2 +-
modules/video_output/Modules.am | 2 +
modules/video_output/vmem.c | 290 +++++++++++++++++++++++++++++++++++++++
3 files changed, 293 insertions(+), 1 deletions(-)
More information about the vlc-devel