FFmpeg
Loading...
Searching...
No Matches
sipr_parser.c File Reference

Sipr audio parser. More...

#include "parser.h"
#include "parser_internal.h"

Go to the source code of this file.

Data Structures

struct  SiprParserContext
 

Functions

static int sipr_split (AVCodecContext *avctx, const uint8_t *buf, int buf_size)
 
static int sipr_parse (AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
 

Variables

const FFCodecParser ff_sipr_parser
 

Detailed Description

Sipr audio parser.

Definition in file sipr_parser.c.

Function Documentation

◆ sipr_split()

static int sipr_split ( AVCodecContext * avctx,
const uint8_t * buf,
int buf_size )
static

Definition at line 31 of file sipr_parser.c.

Referenced by sipr_parse().

◆ sipr_parse()

static int sipr_parse ( AVCodecParserContext * s1,
AVCodecContext * avctx,
const uint8_t ** poutbuf,
int * poutbuf_size,
const uint8_t * buf,
int buf_size )
static

Definition at line 50 of file sipr_parser.c.

Variable Documentation

◆ ff_sipr_parser

const FFCodecParser ff_sipr_parser
Initial value:
= {
.priv_data_size = sizeof(SiprParserContext),
}
static int parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition apv_parser.c:92
static av_cold void close(AVCodecParserContext *s)
Definition apv_parser.c:197
@ AV_CODEC_ID_SIPR
Definition codec_id.h:494
av_cold void ff_parse_close(AVCodecParserContext *s)
Definition parser.c:300
#define PARSER_CODEC_LIST(...)
static int sipr_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition sipr_parser.c:50

Definition at line 70 of file sipr_parser.c.