FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
g729_parser.c File Reference

G.729 audio parser. More...

#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

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

AVCodecParser ff_g729_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_G729 },
.priv_data_size = sizeof(G729ParseContext),
.parser_parse = g729_parse,
.parser_close = ff_parse_close,
}
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:326
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

Definition at line 77 of file g729_parser.c.