contrib/brl/bbas/vidl2/vidl2_ffmpeg_istream_stub.txx

Go to the documentation of this file.
00001 // This is brl/bbas/vidl2/vidl2_ffmpeg_istream_stub.txx
00002 #ifndef vidl2_ffmpeg_istream_stub_txx_
00003 #define vidl2_ffmpeg_istream_stub_txx_
00004 #include "vidl2_ffmpeg_istream.h"
00005 //:
00006 // \file
00007 // \brief A null implementation for the ffmpeg video reader
00008 //
00009 // \author Amitha Perera
00010 // \date 14 Jan 2008
00011 
00012 #include <vcl_string.h>
00013 
00014 struct vidl2_ffmpeg_istream::pimpl
00015 {
00016 };
00017 
00018 
00019 vidl2_ffmpeg_istream
00020 ::vidl2_ffmpeg_istream()
00021 {
00022 }
00023 
00024 vidl2_ffmpeg_istream
00025 ::vidl2_ffmpeg_istream(const vcl_string& filename)
00026 {
00027 }
00028 
00029 
00030 vidl2_ffmpeg_istream
00031 ::~vidl2_ffmpeg_istream()
00032 {
00033 }
00034 
00035 bool
00036 vidl2_ffmpeg_istream
00037 ::open(const vcl_string& filename)
00038 {
00039   return false;
00040 }
00041 
00042 
00043 void
00044 vidl2_ffmpeg_istream
00045 ::close()
00046 {
00047 }
00048 
00049 
00050 bool
00051 vidl2_ffmpeg_istream
00052 ::is_open() const
00053 {
00054   return false;
00055 }
00056 
00057 bool
00058 vidl2_ffmpeg_istream
00059 ::is_valid() const
00060 {
00061   return false;
00062 }
00063 
00064 
00065 bool
00066 vidl2_ffmpeg_istream
00067 ::is_seekable() const
00068 {
00069   return false;
00070 }
00071 
00072 int
00073 vidl2_ffmpeg_istream
00074 ::num_frames() const
00075 {
00076   return -1;
00077 }
00078 
00079 unsigned int
00080 vidl2_ffmpeg_istream
00081 ::frame_number() const
00082 {
00083   return 0;
00084 }
00085 
00086 
00087 //: Return the width of each frame
00088 unsigned int
00089 vidl2_ffmpeg_istream
00090 ::width() const
00091 {
00092   return 0;
00093 }
00094 
00095 
00096 //: Return the height of each frame
00097 unsigned int 
00098 vidl2_ffmpeg_istream
00099 ::height() const
00100 {
00101   return 0;
00102 }
00103 
00104 
00105 //: Return the pixel format
00106 vidl2_pixel_format 
00107 vidl2_ffmpeg_istream
00108 ::format() const
00109 {
00110   return VIDL2_PIXEL_FORMAT_UNKNOWN;
00111 }
00112 
00113 
00114 //: Return the frame rate (0.0 if unspecified)
00115 double 
00116 vidl2_ffmpeg_istream
00117 ::frame_rate() const
00118 {
00119   return 0.0;
00120 }
00121 
00122 
00123 
00124 bool
00125 vidl2_ffmpeg_istream
00126 ::advance()
00127 {
00128   return false;
00129 }
00130 
00131 
00132 vidl2_frame_sptr
00133 vidl2_ffmpeg_istream
00134 ::read_frame()
00135 {
00136   return vidl2_frame_sptr();
00137 }
00138 
00139 vidl2_frame_sptr
00140 vidl2_ffmpeg_istream
00141 ::current_frame()
00142 {
00143   return vidl2_frame_sptr();
00144 }
00145 
00146 
00147 bool
00148 vidl2_ffmpeg_istream
00149 ::seek_frame(unsigned int frame_number)
00150 {
00151   return false;
00152 }
00153 
00154 #endif // vidl2_ffmpeg_istream_stub_txx_

Generated on Wed Dec 3 05:21:03 2008 for contrib/brl/bbas/vidl2 by  doxygen 1.5.1