adx_parser.c File Reference

ADX audio parser. More...

#include "libavutil/intreadwrite.h"
#include "parser.h"
#include "adx.h"
Include dependency graph for adx_parser.c:

Go to the source code of this file.

Data Structures

struct  ADXParseContext
 

Typedefs

typedef struct ADXParseContext ADXParseContext
 

Functions

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

Variables

AVCodecParser ff_adx_parser
 

Detailed Description

ADX audio parser.

Splits packets into individual blocks.

Definition in file adx_parser.c.

Typedef Documentation

Function Documentation

static int adx_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 adx_parser.c.

Variable Documentation

AVCodecParser ff_adx_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_ADPCM_ADX },
.priv_data_size = sizeof(ADXParseContext),
.parser_parse = adx_parse,
.parser_close = ff_parse_close,
}
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:279
static int adx_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: adx_parser.c:39
struct ADXParseContext ADXParseContext

Definition at line 91 of file adx_parser.c.