"Fossies" - the Fresh Open Source Software Archive

Member "quicktime4linux-2.3/avi_odml.c" (9 Jan 2007, 862 Bytes) of package /linux/privat/old/quicktime4linux-2.3-src.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #include "funcprotos.h"
    2 #include "quicktime.h"
    3 
    4 
    5 
    6 void quicktime_read_odml(quicktime_t *file, quicktime_atom_t *parent_atom)
    7 {
    8 }
    9 
   10 
   11 void quicktime_init_odml(quicktime_t *file, quicktime_hdrl_t *hdrl)
   12 {
   13     quicktime_atom_t list_atom, dmlh_atom;
   14 
   15 
   16 // LIST 'odml'
   17     quicktime_atom_write_header(file, &list_atom, "LIST");
   18     quicktime_write_char32(file, "odml");
   19 // 'dmlh'
   20     quicktime_atom_write_header(file, &dmlh_atom, "dmlh");
   21 
   22 // Placeholder for total frames in all RIFF objects
   23     hdrl->total_frames_offset = quicktime_position(file);
   24     quicktime_write_int32_le(file, 0);
   25 
   26     quicktime_atom_write_footer(file, &dmlh_atom);
   27     quicktime_atom_write_footer(file, &list_atom);
   28 }
   29 
   30 void quicktime_finalize_odml(quicktime_t *file, quicktime_hdrl_t *hdrl)
   31 {
   32 // Get length in frames
   33     quicktime_set_position(file, hdrl->total_frames_offset);
   34 //  quicktime_write_int32_le(file, );
   35 }
   36 
   37 
   38 
   39