FFmpeg  4.0
Data Fields
OpusPacket Struct Reference

#include <libavcodec/opus.h>

Data Fields

int packet_size
 packet size More...
 
int data_size
 size of the useful data – packet size - padding More...
 
int code
 packet code: specifies the frame layout More...
 
int stereo
 whether this packet is mono or stereo More...
 
int vbr
 vbr flag More...
 
int config
 configuration: tells the audio mode, bandwidth, and frame duration More...
 
int frame_count
 frame count More...
 
int frame_offset [MAX_FRAMES]
 frame offsets More...
 
int frame_size [MAX_FRAMES]
 frame sizes More...
 
int frame_duration
 frame duration, in samples @ 48kHz More...
 
enum OpusMode mode
 mode More...
 
enum OpusBandwidth bandwidth
 bandwidth More...
 

Detailed Description

Definition at line 84 of file opus.h.

Field Documentation

◆ packet_size

int OpusPacket::packet_size

packet size

Definition at line 85 of file opus.h.

Referenced by ff_opus_parse_packet(), and opus_decode_packet().

◆ data_size

int OpusPacket::data_size

size of the useful data – packet size - padding

Definition at line 86 of file opus.h.

Referenced by ff_opus_parse_packet(), and opus_decode_packet().

◆ code

int OpusPacket::code

packet code: specifies the frame layout

Definition at line 87 of file opus.h.

Referenced by ff_opus_parse_packet().

◆ stereo

int OpusPacket::stereo

whether this packet is mono or stereo

Definition at line 88 of file opus.h.

Referenced by ff_opus_parse_packet(), opus_decode_frame(), and opus_decode_redundancy().

◆ vbr

int OpusPacket::vbr

vbr flag

Definition at line 89 of file opus.h.

Referenced by ff_opus_parse_packet().

◆ config

int OpusPacket::config

configuration: tells the audio mode, bandwidth, and frame duration

Definition at line 90 of file opus.h.

Referenced by ff_opus_parse_packet(), opus_decode_frame(), and opus_decode_packet().

◆ frame_count

int OpusPacket::frame_count

frame count

Definition at line 92 of file opus.h.

Referenced by ff_opus_parse_packet(), opus_decode_packet(), opus_decode_subpacket(), and opus_find_frame_end().

◆ frame_offset

int OpusPacket::frame_offset[MAX_FRAMES]

frame offsets

Definition at line 93 of file opus.h.

Referenced by ff_opus_parse_packet(), and opus_decode_subpacket().

◆ frame_size

int OpusPacket::frame_size[MAX_FRAMES]

frame sizes

Definition at line 94 of file opus.h.

Referenced by ff_opus_parse_packet(), and opus_decode_subpacket().

◆ frame_duration

int OpusPacket::frame_duration

frame duration, in samples @ 48kHz

Definition at line 95 of file opus.h.

Referenced by ff_opus_parse_packet(), opus_decode_frame(), opus_decode_packet(), opus_decode_subpacket(), and opus_find_frame_end().

◆ mode

enum OpusMode OpusPacket::mode

mode

Definition at line 96 of file opus.h.

Referenced by ff_opus_parse_packet(), opus_decode_frame(), and opus_decode_subpacket().

◆ bandwidth

enum OpusBandwidth OpusPacket::bandwidth

bandwidth

Definition at line 97 of file opus.h.

Referenced by ff_opus_parse_packet(), opus_decode_frame(), opus_decode_redundancy(), and opus_init_resample().


The documentation for this struct was generated from the following file: