FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

#define VP8_HEADER_SIZE   26

Definition at line 28 of file oggparsevp8.c.

Referenced by vp8_header().

Function Documentation

static int vp8_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 30 of file oggparsevp8.c.

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

static int vp8_packet ( AVFormatContext s,
int  idx 
)
static

Definition at line 97 of file oggparsevp8.c.

Variable Documentation

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,
}
static uint64_t vp8_gptopts(AVFormatContext *s, int idx, uint64_t granule, int64_t *dts)
Definition: oggparsevp8.c:79
static int vp8_packet(AVFormatContext *s, int idx)
Definition: oggparsevp8.c:97
static int vp8_header(AVFormatContext *s, int idx)
Definition: oggparsevp8.c:30

Definition at line 135 of file oggparsevp8.c.