#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"

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 READ_SIZE 66000 |
Definition at line 30 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::ogg_seek_to_databegin(), FileOGG::open_file(), and take_page_out_autoadvance().
| 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().

| static int read_buffer_at | ( | FILE * | in, | |
| sync_window_t * | sw, | |||
| int | buflen, | |||
| off_t | filepos | |||
| ) | [static] |
Definition at line 130 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(), FileOGG::ogg_seek_to_databegin(), and FileOGG::open_file().

| static int sync_and_take_page_out | ( | sync_window_t * | sw, | |
| ogg_page * | page | |||
| ) | [static] |
Definition at line 179 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().
| 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().

1.5.5