FFmpeg
Macros | Enumerations | Variables
opus.h File Reference
#include <stdint.h>

Go to the source code of this file.

Macros

#define OPUS_MAX_FRAME_SIZE   1275
 
#define OPUS_MAX_FRAMES   48
 
#define OPUS_MAX_PACKET_DUR   5760
 
#define OPUS_TS_HEADER   0x7FE0
 
#define OPUS_TS_MASK   0xFFE0
 

Enumerations

enum  OpusMode { OPUS_MODE_SILK, OPUS_MODE_HYBRID, OPUS_MODE_CELT, OPUS_MODE_NB }
 
enum  OpusBandwidth {
  OPUS_BANDWIDTH_NARROWBAND, OPUS_BANDWIDTH_MEDIUMBAND, OPUS_BANDWIDTH_WIDEBAND, OPUS_BANDWIDTH_SUPERWIDEBAND,
  OPUS_BANDWIDTH_FULLBAND, OPUS_BANDWITH_NB
}
 

Variables

static const uint8_t opus_default_extradata [30]
 

Macro Definition Documentation

◆ OPUS_MAX_FRAME_SIZE

#define OPUS_MAX_FRAME_SIZE   1275

Definition at line 28 of file opus.h.

◆ OPUS_MAX_FRAMES

#define OPUS_MAX_FRAMES   48

Definition at line 29 of file opus.h.

◆ OPUS_MAX_PACKET_DUR

#define OPUS_MAX_PACKET_DUR   5760

Definition at line 30 of file opus.h.

◆ OPUS_TS_HEADER

#define OPUS_TS_HEADER   0x7FE0

Definition at line 32 of file opus.h.

◆ OPUS_TS_MASK

#define OPUS_TS_MASK   0xFFE0

Definition at line 33 of file opus.h.

Enumeration Type Documentation

◆ OpusMode

enum OpusMode
Enumerator
OPUS_MODE_SILK 
OPUS_MODE_HYBRID 
OPUS_MODE_CELT 
OPUS_MODE_NB 

Definition at line 41 of file opus.h.

◆ OpusBandwidth

Enumerator
OPUS_BANDWIDTH_NARROWBAND 
OPUS_BANDWIDTH_MEDIUMBAND 
OPUS_BANDWIDTH_WIDEBAND 
OPUS_BANDWIDTH_SUPERWIDEBAND 
OPUS_BANDWIDTH_FULLBAND 
OPUS_BANDWITH_NB 

Definition at line 49 of file opus.h.

Variable Documentation

◆ opus_default_extradata

const uint8_t opus_default_extradata[30]
static
Initial value:
= {
'O', 'p', 'u', 's', 'H', 'e', 'a', 'd',
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
}

Definition at line 35 of file opus.h.

Referenced by ff_opus_parse_extradata(), and ff_parse_mpeg2_descriptor().