Panda3D

ffmpegVirtualFile.h

00001 // Filename: ffmpegVirtualFile.h
00002 // Created by: jyelon (01Aug2007)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 #ifndef FFMPEGVIRTUALFILE_H
00016 #define FFMPEGVIRTUALFILE_H
00017 #ifdef HAVE_FFMPEG
00018 
00019 #include "config_movies.h"
00020 
00021 ////////////////////////////////////////////////////////////////////
00022 //       Class : FfmpegVirtualFile
00023 // Description : Enables ffmpeg to access panda's VFS.
00024 //
00025 //               This class only has one public method,
00026 //               register_hooks.  Once the hooks are registered,
00027 //               ffmpeg will be able to open "URLs" that look
00028 //               like this:
00029 //               
00030 //               pandavfs:/c/mygame/foo.avi
00031 //
00032 ////////////////////////////////////////////////////////////////////
00033 class EXPCL_PANDA_MOVIES FfmpegVirtualFile {
00034  public:
00035   static void register_protocol();
00036 };
00037 
00038 #include "ffmpegVirtualFile.I"
00039 
00040 #endif // HAVE_FFMPEG
00041 #endif // FFMPEGVIRTUALFILE_H
00042 
 All Classes Functions Variables Enumerations