Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

oxp_vob_frame_index.h

Go to the documentation of this file.
00001 #ifndef oxp_vob_frame_index_h_
00002 #define oxp_vob_frame_index_h_
00003 
00004 #include <vcl_vector.h>
00005 
00006 struct oxp_vob_frame_index_entry {
00007   int lba;
00008   int frame;
00009 };
00010  
00011 struct oxp_vob_frame_index
00012 {
00013   vcl_vector<oxp_vob_frame_index_entry> l;
00014 
00015   void add(int lba, int frame) { 
00016     oxp_vob_frame_index_entry t;
00017     t.lba = lba;
00018     t.frame = frame;
00019     l.push_back(t);
00020   }
00021   bool load(char const* filename);
00022   int frame_to_lba_of_prev_I_frame(int frame_number, int* f_actual = 0);
00023 };
00024 
00025 #endif // oxp_vob_frame_index_h_

Generated on Thu Jan 10 14:46:06 2008 for contrib/oxl/oxp by  doxygen 1.4.4