FFmpeg
Data Structures | Functions | Variables
cook_parser.c File Reference
#include <stdint.h>
#include "libavutil/intreadwrite.h"
#include "parser.h"

Go to the source code of this file.

Data Structures

struct  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

const AVCodecParser ff_cook_parser
 

Detailed Description

Cook audio parser

Determines subpacket duration from extradata.

Definition in file cook_parser.c.

Function Documentation

◆ cook_parse()

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

◆ ff_cook_parser

const AVCodecParser ff_cook_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_COOK },
.priv_data_size = sizeof(CookParseContext),
.parser_parse = cook_parse,
}

Definition at line 56 of file cook_parser.c.

cook_parse
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
AV_CODEC_ID_COOK
@ AV_CODEC_ID_COOK
Definition: codec_id.h:461
CookParseContext
Definition: cook_parser.c:33