FFmpeg
Data Structures | Functions | Variables
g723_1_parser.c File Reference
#include "parser.h"
#include "g723_1.h"

Go to the source code of this file.

Data Structures

struct  G723_1ParseContext
 

Functions

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

Variables

const AVCodecParser ff_g723_1_parser
 

Detailed Description

G723_1 audio parser

Definition in file g723_1_parser.c.

Function Documentation

◆ g723_1_parse()

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

Definition at line 31 of file g723_1_parser.c.

Variable Documentation

◆ ff_g723_1_parser

const AVCodecParser ff_g723_1_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_G723_1 },
.priv_data_size = sizeof(G723_1ParseContext),
.parser_parse = g723_1_parse,
.parser_close = ff_parse_close,
}

Definition at line 55 of file g723_1_parser.c.

ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:288
AV_CODEC_ID_G723_1
@ AV_CODEC_ID_G723_1
Definition: codec_id.h:494
g723_1_parse
static int g723_1_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: g723_1_parser.c:31
G723_1ParseContext
Definition: g723_1_parser.c:27