gsm_parser.c File Reference

GSM audio parser. More...

#include "parser.h"
#include "gsm.h"
Include dependency graph for gsm_parser.c:

Go to the source code of this file.

Data Structures

struct  GSMParseContext
 

Typedefs

typedef struct GSMParseContext GSMParseContext
 

Functions

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

Variables

AVCodecParser ff_gsm_parser
 

Detailed Description

GSM audio parser.

Splits packets into individual blocks.

Definition in file gsm_parser.c.

Typedef Documentation

Function Documentation

static int gsm_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 gsm_parser.c.

Variable Documentation

AVCodecParser ff_gsm_parser
Initial value:
= {
.priv_data_size = sizeof(GSMParseContext),
.parser_parse = gsm_parse,
.parser_close = ff_parse_close,
}
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:279
static int gsm_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: gsm_parser.c:38
struct GSMParseContext GSMParseContext
as in Berlin toast format

Definition at line 87 of file gsm_parser.c.