FFmpeg
Data Structures | Functions | Variables
g729_parser.c File Reference
#include "libavutil/avassert.h"
#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

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 39 of file g729_parser.c.

Variable Documentation

◆ ff_g729_parser

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

Definition at line 88 of file g729_parser.c.

ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:319
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:39
AV_CODEC_ID_ACELP_KELVIN
@ AV_CODEC_ID_ACELP_KELVIN
Definition: codec_id.h:501
G729ParseContext
Definition: g729_parser.c:32
AV_CODEC_ID_G729
@ AV_CODEC_ID_G729
Definition: codec_id.h:463