FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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 89 of file oggparseopus.c.

Referenced by opus_packet().

static int opus_packet ( AVFormatContext avf,
int  idx 
)
static

Definition at line 109 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:109

Definition at line 179 of file oggparseopus.c.