FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
oggparsetheora.c File Reference
#include <stdlib.h>
#include "libavutil/bswap.h"
#include "libavcodec/get_bits.h"
#include "avformat.h"
#include "internal.h"
#include "oggdec.h"

Go to the source code of this file.

Data Structures

struct  theora_params
 Copyright (C) 2005 Matthieu CASTET, Alex Beregszaszi. More...
 

Functions

static int theora_header (AVFormatContext *s, int idx)
 
static uint64_t theora_gptopts (AVFormatContext *ctx, int idx, uint64_t gp, int64_t *dts)
 
static int theora_packet (AVFormatContext *s, int idx)
 

Variables

struct ogg_codec ff_theora_codec
 

Function Documentation

static int theora_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 39 of file oggparsetheora.c.

static uint64_t theora_gptopts ( AVFormatContext ctx,
int  idx,
uint64_t  gp,
int64_t *  dts 
)
static

Definition at line 138 of file oggparsetheora.c.

Referenced by theora_packet().

static int theora_packet ( AVFormatContext s,
int  idx 
)
static

Definition at line 163 of file oggparsetheora.c.

Variable Documentation

struct ogg_codec ff_theora_codec
Initial value:
= {
.magic = "\200theora",
.magicsize = 7,
.header = theora_header,
.packet = theora_packet,
.gptopts = theora_gptopts,
.nb_header = 3,
}

Definition at line 199 of file oggparsetheora.c.