FFmpeg
Functions | Variables
h263_parser.c File Reference
#include "parser.h"
#include "h263_parser.h"

Go to the source code of this file.

Functions

int ff_h263_find_frame_end (ParseContext *pc, const uint8_t *buf, int buf_size)
 
static int h263_parse (AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
 

Variables

const AVCodecParser ff_h263_parser
 

Detailed Description

H.263 parser

Definition in file h263_parser.c.

Function Documentation

◆ ff_h263_find_frame_end()

int ff_h263_find_frame_end ( ParseContext pc,
const uint8_t *  buf,
int  buf_size 
)

Definition at line 32 of file h263_parser.c.

Referenced by ff_h263_decode_frame(), and h263_parse().

◆ h263_parse()

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

Definition at line 72 of file h263_parser.c.

Variable Documentation

◆ ff_h263_parser

const AVCodecParser ff_h263_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_H263 },
.priv_data_size = sizeof(ParseContext),
.parser_parse = h263_parse,
.parser_close = ff_parse_close,
}

Definition at line 101 of file h263_parser.c.

ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:286
ParseContext
Definition: parser.h:28
h263_parse
static int h263_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: h263_parser.c:72
AV_CODEC_ID_H263
@ AV_CODEC_ID_H263
Definition: codec_id.h:54