Libav
Data Fields
OpusPacket Struct Reference

#include <opus.h>

Data Fields

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

Detailed Description

Definition at line 97 of file opus.h.

Field Documentation

§ packet_size

int OpusPacket::packet_size

Definition at line 98 of file opus.h.

Referenced by ff_opus_parse_packet(), and opus_decode_packet().

§ data_size

int OpusPacket::data_size

packet size

Definition at line 99 of file opus.h.

Referenced by ff_opus_parse_packet(), and opus_decode_packet().

§ code

int OpusPacket::code

size of the useful data – packet size - padding

Definition at line 100 of file opus.h.

Referenced by ff_opus_parse_packet().

§ stereo

int OpusPacket::stereo

packet code: specifies the frame layout

Definition at line 101 of file opus.h.

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

§ vbr

int OpusPacket::vbr

whether this packet is mono or stereo

Definition at line 102 of file opus.h.

Referenced by ff_opus_parse_packet().

§ config

int OpusPacket::config

vbr flag

Definition at line 103 of file opus.h.

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

§ frame_count

int OpusPacket::frame_count

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

Definition at line 105 of file opus.h.

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

§ frame_offset

int OpusPacket::frame_offset[MAX_FRAMES]

frame count

Definition at line 106 of file opus.h.

Referenced by ff_opus_parse_packet(), and opus_decode_subpacket().

§ frame_size

int OpusPacket::frame_size[MAX_FRAMES]

frame offsets

Definition at line 107 of file opus.h.

Referenced by ff_opus_parse_packet(), and opus_decode_subpacket().

§ frame_duration

int OpusPacket::frame_duration

frame sizes

Definition at line 108 of file opus.h.

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

§ mode

enum OpusMode OpusPacket::mode

frame duration, in samples @ 48kHz

Definition at line 109 of file opus.h.

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

§ bandwidth

enum OpusBandwidth OpusPacket::bandwidth

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