FFmpeg
 All Data Structures Namespaces 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  TheoraParams
 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 int theora_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 38 of file oggparsetheora.c.

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

Definition at line 145 of file oggparsetheora.c.

Referenced by theora_packet().

static int theora_packet ( AVFormatContext s,
int  idx 
)
static

Definition at line 171 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 207 of file oggparsetheora.c.