FFmpeg
Data Structures | Functions | Variables
xma_parser.c File Reference
#include "parser.h"

Go to the source code of this file.

Data Structures

struct  XMAParserContext
 

Functions

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

Variables

AVCodecParser ff_xma_parser
 

Detailed Description

XMA2 audio parser

Definition in file xma_parser.c.

Function Documentation

◆ xma_parse()

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

Definition at line 30 of file xma_parser.c.

Variable Documentation

◆ ff_xma_parser

AVCodecParser ff_xma_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_XMA2 },
.priv_data_size = sizeof(XMAParserContext),
.parser_parse = xma_parse,
}

Definition at line 58 of file xma_parser.c.

xma_parse
static int xma_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: xma_parser.c:30
XMAParserContext
Definition: xma_parser.c:26
AV_CODEC_ID_XMA2
@ AV_CODEC_ID_XMA2
Definition: avcodec.h:645