FFmpeg
Data Structures | Functions | Variables
g729_parser.c File Reference
#include "parser.h"
#include "g729.h"

Go to the source code of this file.

Data Structures

struct  G729ParseContext
 

Functions

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

Variables

const AVCodecParser ff_g729_parser
 

Detailed Description

G.729 audio parser

Splits packets into individual blocks.

Definition in file g729_parser.c.

Function Documentation

◆ g729_parse()

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

Definition at line 38 of file g729_parser.c.

Variable Documentation

◆ ff_g729_parser

const AVCodecParser ff_g729_parser
Initial value:
= {
.priv_data_size = sizeof(G729ParseContext),
.parser_parse = g729_parse,
.parser_close = ff_parse_close,
}

Definition at line 87 of file g729_parser.c.

ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:284
g729_parse
static int g729_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: g729_parser.c:38
AV_CODEC_ID_ACELP_KELVIN
@ AV_CODEC_ID_ACELP_KELVIN
Definition: codec_id.h:528
G729ParseContext
Definition: g729_parser.c:31
AV_CODEC_ID_G729
@ AV_CODEC_ID_G729
Definition: codec_id.h:491