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

fileogg.C File Reference

#include "clip.h"
#include "asset.h"
#include "bcsignals.h"
#include "byteorder.h"
#include "edit.h"
#include "file.h"
#include "fileogg.h"
#include "guicast.h"
#include "language.h"
#include "mwindow.inc"
#include "quicktime.h"
#include "vframe.h"
#include "videodevice.inc"
#include "cmodel_permutation.h"
#include "interlacemodes.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <errno.h>

Go to the source code of this file.

Defines

#define READ_SIZE   66000

Functions

int read_buffer (FILE *in, sync_window_t *sw, int buflen)
int read_buffer_at (FILE *in, sync_window_t *sw, int buflen, off_t filepos)
int take_page_out_autoadvance (FILE *in, sync_window_t *sw, ogg_page *og)
int sync_and_take_page_out (sync_window_t *sw, ogg_page *page)


Define Documentation

#define READ_SIZE   66000
 

Definition at line 25 of file fileogg.C.

Referenced by FileOGG::ogg_get_first_page(), FileOGG::ogg_get_last_page(), FileOGG::ogg_get_page_of_frame(), FileOGG::ogg_get_page_of_sample(), FileOGG::ogg_get_prev_page(), FileOGG::open_file(), and take_page_out_autoadvance().


Function Documentation

int read_buffer FILE *  in,
sync_window_t sw,
int  buflen
 

Definition at line 108 of file fileogg.C.

References sync_window_t::file_bufpos, fread(), sync_window_t::sync, and sync_window_t::wlen.

Referenced by read_buffer_at(), and take_page_out_autoadvance().

int read_buffer_at FILE *  in,
sync_window_t sw,
int  buflen,
off_t  filepos
 

Definition at line 120 of file fileogg.C.

References sync_window_t::file_bufpos, sync_window_t::file_pagepos, read_buffer(), and sync_window_t::sync.

Referenced by FileOGG::ogg_get_first_page(), FileOGG::ogg_get_last_page(), FileOGG::ogg_get_page_of_frame(), FileOGG::ogg_get_page_of_sample(), FileOGG::ogg_get_prev_page(), and FileOGG::open_file().

int sync_and_take_page_out sync_window_t sw,
ogg_page *  page
 

Definition at line 167 of file fileogg.C.

References sync_window_t::file_pagepos, and sync_window_t::sync.

Referenced by FileOGG::ogg_get_last_page(), FileOGG::ogg_get_prev_page(), and FileOGG::ogg_sync_and_get_next_page().

int take_page_out_autoadvance FILE *  in,
sync_window_t sw,
ogg_page *  og
 

Definition at line 134 of file fileogg.C.

References sync_window_t::file_pagepos, read_buffer(), READ_SIZE, and sync_window_t::sync.

Referenced by FileOGG::ogg_get_next_page(), and FileOGG::open_file().


Generated on Sun Jan 8 13:39:04 2006 for Cinelerra-svn by  doxygen 1.4.4