FFmpeg
Loading...
Searching...
No Matches
parse.h File Reference
#include <stdint.h>
#include "libavcodec/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.
 
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 85 of file parse.c.

Referenced by opus_decode_packet(), and set_frame_duration().

◆ ff_opus_parse_extradata()

int ff_opus_parse_extradata ( AVCodecContext * avctx,
OpusParseContext * s )

Definition at line 286 of file parse.c.

Referenced by opus_decode_init(), and opus_parse().