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

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

struct ogg_codec ff_opus_codec
Initial value:
= {
.name = "Opus",
.magic = "OpusHead",
.magicsize = 8,
.header = opus_header,
.packet = opus_packet,
.nb_header = 1,
}

Definition at line 175 of file oggparseopus.c.