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

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

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 91 of file adx_parser.c.

ADXParseContext
Definition: adx_parser.c:32
ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:315
AV_CODEC_ID_ADPCM_ADX
@ AV_CODEC_ID_ADPCM_ADX
Definition: avcodec.h:511
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