hvirtual/cinelerra/fileogg.C File Reference

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

Include dependency graph for fileogg.C:

Go to the source code of this file.

Defines

#define READ_SIZE   66000

Functions

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


Define Documentation

#define READ_SIZE   66000


Function Documentation

static int read_buffer ( FILE *  in,
sync_window_t sw,
int  buflen 
) [static]

Definition at line 118 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().

Here is the call graph for this function:

static int read_buffer_at ( FILE *  in,
sync_window_t sw,
int  buflen,
off_t  filepos 
) [static]

static int sync_and_take_page_out ( sync_window_t sw,
ogg_page *  page 
) [static]

static int take_page_out_autoadvance ( FILE *  in,
sync_window_t sw,
ogg_page *  og 
) [static]

Definition at line 144 of file fileogg.C.

References eprintf, 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().

Here is the call graph for this function:


Generated on Mon Apr 28 13:54:21 2008 for Cinelerra by  doxygen 1.5.5