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

Go to the source code of this file.

Data Structures

struct  SBCParseContext
 

Functions

static int sbc_parse_header (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t *data, size_t len)
 
static int sbc_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
 

Variables

const AVCodecParser ff_sbc_parser
 

Function Documentation

◆ sbc_parse_header()

static int sbc_parse_header ( AVCodecParserContext s,
AVCodecContext avctx,
const uint8_t *  data,
size_t  len 
)
static

Definition at line 33 of file sbc_parser.c.

Referenced by sbc_parse().

◆ sbc_parse()

static int sbc_parse ( AVCodecParserContext s,
AVCodecContext avctx,
const uint8_t **  poutbuf,
int poutbuf_size,
const uint8_t *  buf,
int  buf_size 
)
static

Definition at line 78 of file sbc_parser.c.

Variable Documentation

◆ ff_sbc_parser

const AVCodecParser ff_sbc_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_SBC },
.priv_data_size = sizeof(SBCParseContext),
.parser_parse = sbc_parse,
.parser_close = ff_parse_close,
}

Definition at line 119 of file sbc_parser.c.

ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:289
AV_CODEC_ID_SBC
@ AV_CODEC_ID_SBC
Definition: codec_id.h:527
SBCParseContext
Definition: sbc_parser.c:26
sbc_parse
static int sbc_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: sbc_parser.c:78