FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
OpusPacket Struct Reference

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

int OpusPacket::packet_size

packet size

Definition at line 85 of file opus.h.

Referenced by ff_opus_parse_packet(), and opus_decode_packet().

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().

int OpusPacket::code

packet code: specifies the frame layout

Definition at line 87 of file opus.h.

Referenced by ff_opus_parse_packet().

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().

int OpusPacket::vbr

vbr flag

Definition at line 89 of file opus.h.

Referenced by ff_opus_parse_packet().

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().

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().

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().

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().

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().

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().

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: