contrib/brl/bbas/vidl2/vidl2_ffmpeg_ostream_stub.txx

Go to the documentation of this file.
00001 // This is brl/bbas/vidl2/vidl2_ffmpeg_ostream_stub.txx
00002 #ifndef vidl2_ffmpeg_ostream_stub_txx_
00003 #define vidl2_ffmpeg_ostream_stub_txx_
00004 #include "vidl2_ffmpeg_ostream.h"
00005 //:
00006 // \file
00007 // \brief A stub implementation when ffmpeg is not available.
00008 //
00009 // \author Amitha Perera
00010 // \date 26 Dec 2007
00011 
00012 #include <vcl_iostream.h>
00013 
00014 struct vidl2_ffmpeg_ostream::pimpl
00015 {
00016 };
00017 
00018 
00019 vidl2_ffmpeg_ostream
00020 ::vidl2_ffmpeg_ostream()
00021   : os_( 0 )
00022 {
00023 }
00024 
00025 vidl2_ffmpeg_ostream
00026 ::vidl2_ffmpeg_ostream(const vcl_string&,
00027                        const vidl2_ffmpeg_ostream_params&)
00028   : os_( 0 )
00029 {
00030   vcl_cerr << "vidl2_ffmpeg_ostream: warning: ffmpeg support is not compiled in\n";
00031 }
00032 
00033 
00034 vidl2_ffmpeg_ostream
00035 ::~vidl2_ffmpeg_ostream()
00036 {
00037 }
00038 
00039 
00040 bool
00041 vidl2_ffmpeg_ostream
00042 ::open()
00043 {
00044   vcl_cerr << "vidl2_ffmpeg_ostream: warning: ffmpeg support is not compiled in\n";
00045   return false;
00046 }
00047 
00048 
00049 void
00050 vidl2_ffmpeg_ostream
00051 ::close()
00052 {
00053 }
00054 
00055 
00056 bool
00057 vidl2_ffmpeg_ostream
00058 ::is_open() const
00059 {
00060   return false;
00061 }
00062 
00063 
00064 bool
00065 vidl2_ffmpeg_ostream
00066 ::write_frame(const vidl2_frame_sptr& )
00067 {
00068   return false;
00069 }
00070 
00071 #endif // vidl2_ffmpeg_ostream_stub_txx_

Generated on Fri Nov 21 05:20:57 2008 for contrib/brl/bbas/vidl2 by  doxygen 1.5.1