FFmpeg
Data Structures | Functions
opus_parse.h File Reference
#include <stdint.h>
#include "avcodec.h"
#include "opus.h"

Go to the source code of this file.

Data Structures

struct  OpusPacket
 
struct  ChannelMap
 
struct  OpusParseContext
 

Functions

int ff_opus_parse_packet (OpusPacket *pkt, const uint8_t *buf, int buf_size, int self_delimited)
 Parse Opus packet info from raw packet data. More...
 
int ff_opus_parse_extradata (AVCodecContext *avctx, OpusParseContext *s)
 

Function Documentation

◆ ff_opus_parse_packet()

int ff_opus_parse_packet ( OpusPacket pkt,
const uint8_t *  buf,
int  buf_size,
int  self_delimited 
)

Parse Opus packet info from raw packet data.

Definition at line 95 of file opus_parse.c.

Referenced by opus_decode_packet(), and opus_find_frame_end().

◆ ff_opus_parse_extradata()

int ff_opus_parse_extradata ( AVCodecContext avctx,
OpusParseContext s 
)

Definition at line 296 of file opus_parse.c.

Referenced by opus_decode_init(), and opus_find_frame_end().