FFmpeg
Data Structures | Macros | Functions | Variables
oggparseopus.c File Reference
#include <string.h>
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "oggdec.h"

Go to the source code of this file.

Data Structures

struct  oggopus_private
 

Macros

#define OPUS_SEEK_PREROLL_MS   80
 
#define OPUS_HEAD_SIZE   19
 

Functions

static int opus_header (AVFormatContext *avf, int idx)
 
static int opus_duration (uint8_t *src, int size)
 
static int opus_packet (AVFormatContext *avf, int idx)
 

Variables

const struct ogg_codec ff_opus_codec
 

Macro Definition Documentation

#define OPUS_SEEK_PREROLL_MS   80

Definition at line 35 of file oggparseopus.c.

Referenced by mov_preroll_write_stbl_atoms(), mov_read_dops(), and opus_header().

#define OPUS_HEAD_SIZE   19

Definition at line 36 of file oggparseopus.c.

Referenced by opus_header().

Function Documentation

static int opus_header ( AVFormatContext avf,
int  idx 
)
static

Definition at line 38 of file oggparseopus.c.

static int opus_duration ( uint8_t src,
int  size 
)
static

Definition at line 90 of file oggparseopus.c.

Referenced by opus_packet().

static int opus_packet ( AVFormatContext avf,
int  idx 
)
static

Definition at line 110 of file oggparseopus.c.

Variable Documentation

const struct ogg_codec ff_opus_codec
Initial value:
= {
.name = "Opus",
.magic = "OpusHead",
.magicsize = 8,
.header = opus_header,
.packet = opus_packet,
.nb_header = 1,
}
static int opus_header(AVFormatContext *avf, int idx)
Definition: oggparseopus.c:38
static int opus_packet(AVFormatContext *avf, int idx)
Definition: oggparseopus.c:110

Definition at line 180 of file oggparseopus.c.