FFmpeg
Data Structures | Functions | Variables
adx_parser.c File Reference
#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

const AVCodecParser ff_adx_parser
 

Detailed Description

ADX audio parser

Splits packets into individual blocks.

Definition in file adx_parser.c.

Function Documentation

◆ adx_parse()

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

◆ ff_adx_parser

const 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,
}

Definition at line 101 of file adx_parser.c.

ADXParseContext
Definition: adx_parser.c:32
ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:288
AV_CODEC_ID_ADPCM_ADX
@ AV_CODEC_ID_ADPCM_ADX
Definition: codec_id.h:378
adx_parse
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