FFmpeg
Macros | Functions | Variables
oggparsevp8.c File Reference
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "oggdec.h"

Go to the source code of this file.

Macros

#define VP8_HEADER_SIZE   26
 

Functions

static int vp8_header (AVFormatContext *s, int idx)
 
static uint64_t vp8_gptopts (AVFormatContext *s, int idx, uint64_t granule, int64_t *dts)
 
static int vp8_packet (AVFormatContext *s, int idx)
 

Variables

const struct ogg_codec ff_vp8_codec
 

Macro Definition Documentation

◆ VP8_HEADER_SIZE

#define VP8_HEADER_SIZE   26

Definition at line 28 of file oggparsevp8.c.

Function Documentation

◆ vp8_header()

static int vp8_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 30 of file oggparsevp8.c.

◆ vp8_gptopts()

static uint64_t vp8_gptopts ( AVFormatContext s,
int  idx,
uint64_t  granule,
int64_t *  dts 
)
static

Definition at line 79 of file oggparsevp8.c.

Referenced by vp8_packet().

◆ vp8_packet()

static int vp8_packet ( AVFormatContext s,
int  idx 
)
static

Definition at line 101 of file oggparsevp8.c.

Variable Documentation

◆ ff_vp8_codec

const struct ogg_codec ff_vp8_codec
Initial value:
= {
.magic = "OVP80",
.magicsize = 5,
.header = vp8_header,
.packet = vp8_packet,
.gptopts = vp8_gptopts,
.nb_header = 1,
}

Definition at line 139 of file oggparsevp8.c.

vp8_header
static int vp8_header(AVFormatContext *s, int idx)
Definition: oggparsevp8.c:30
vp8_gptopts
static uint64_t vp8_gptopts(AVFormatContext *s, int idx, uint64_t granule, int64_t *dts)
Definition: oggparsevp8.c:79
vp8_packet
static int vp8_packet(AVFormatContext *s, int idx)
Definition: oggparsevp8.c:101