FFmpeg
Data Structures | Functions | Variables
sipr_parser.c File Reference
#include "parser.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 AVCodecParser 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 30 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 49 of file sipr_parser.c.

Variable Documentation

◆ ff_sipr_parser

const AVCodecParser ff_sipr_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_SIPR },
.priv_data_size = sizeof(SiprParserContext),
.parser_parse = sipr_parse,
.parser_close = ff_parse_close,
}

Definition at line 69 of file sipr_parser.c.

SiprParserContext
Definition: sipr_parser.c:26
ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:286
AV_CODEC_ID_SIPR
@ AV_CODEC_ID_SIPR
Definition: codec_id.h:464
sipr_parse
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:49