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"
Include dependency graph for oggparsetheora.c:

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

const struct ogg_codec ff_theora_codec
 

Function Documentation

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_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 39 of file oggparsetheora.c.

static int theora_packet ( AVFormatContext s,
int  idx 
)
static

Definition at line 163 of file oggparsetheora.c.

Variable Documentation

const struct ogg_codec ff_theora_codec
Initial value:
= {
.magic = "\200theora",
.magicsize = 7,
.header = theora_header,
.packet = theora_packet,
.gptopts = theora_gptopts,
.nb_header = 3,
}
static uint64_t theora_gptopts(AVFormatContext *ctx, int idx, uint64_t gp, int64_t *dts)
static int theora_packet(AVFormatContext *s, int idx)
static int theora_header(AVFormatContext *s, int idx)

Definition at line 199 of file oggparsetheora.c.