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

Detailed Description

Definition at line 106 of file opus.h.

Field Documentation

int OpusPacket::packet_size

packet size

Definition at line 107 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 108 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 109 of file opus.h.

Referenced by ff_opus_parse_packet().

int OpusPacket::stereo

whether this packet is mono or stereo

Definition at line 110 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 111 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 112 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 114 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 115 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 116 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 117 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
enum OpusBandwidth OpusPacket::bandwidth

bandwidth

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