cook_parser.c File Reference

Cook audio parser. More...

#include <stdint.h>
#include "libavutil/intreadwrite.h"
#include "parser.h"
Include dependency graph for cook_parser.c:

Go to the source code of this file.

Data Structures

struct  CookParseContext
 

Typedefs

typedef struct CookParseContext CookParseContext
 

Functions

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

Variables

AVCodecParser ff_cook_parser
 

Detailed Description

Cook audio parser.

Determines subpacket duration from extradata.

Definition in file cook_parser.c.

Typedef Documentation

Function Documentation

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

Definition at line 37 of file cook_parser.c.

Variable Documentation

AVCodecParser ff_cook_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_COOK },
.priv_data_size = sizeof(CookParseContext),
.parser_parse = cook_parse,
}
struct CookParseContext CookParseContext
static int cook_parse(AVCodecParserContext *s1, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: cook_parser.c:37

Definition at line 55 of file cook_parser.c.