FFmpeg
Loading...
Searching...
No Matches
sbc_parser.c File Reference
#include "sbc.h"
#include "parser.h"
#include "parser_internal.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 FFCodecParser 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 34 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 79 of file sbc_parser.c.

Variable Documentation

◆ ff_sbc_parser

const FFCodecParser ff_sbc_parser
Initial value:
= {
.priv_data_size = sizeof(SBCParseContext),
}
static int parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition apv_parser.c:92
static av_cold void close(AVCodecParserContext *s)
Definition apv_parser.c:197
@ AV_CODEC_ID_SBC
Definition codec_id.h:540
av_cold void ff_parse_close(AVCodecParserContext *s)
Definition parser.c:300
#define PARSER_CODEC_LIST(...)
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:79

Definition at line 120 of file sbc_parser.c.