FFmpeg
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

◆ theora_header()

static int theora_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 38 of file oggparsetheora.c.

◆ theora_gptopts()

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().

◆ theora_packet()

static int theora_packet ( AVFormatContext s,
int  idx 
)
static

Definition at line 171 of file oggparsetheora.c.

Variable Documentation

◆ ff_theora_codec

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,
}

Definition at line 211 of file oggparsetheora.c.

theora_packet
static int theora_packet(AVFormatContext *s, int idx)
Definition: oggparsetheora.c:171
theora_header
static int theora_header(AVFormatContext *s, int idx)
Definition: oggparsetheora.c:38
theora_gptopts
static uint64_t theora_gptopts(AVFormatContext *ctx, int idx, uint64_t gp, int64_t *dts)
Definition: oggparsetheora.c:145