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

ADX audio parser. More...

#include "libavutil/intreadwrite.h"
#include "parser.h"
#include "adx.h"

Go to the source code of this file.

Data Structures

struct  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.

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:321
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

Definition at line 91 of file adx_parser.c.