FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
h261_parser.c File Reference

H.261 parser. More...

#include "parser.h"

Go to the source code of this file.

Functions

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

Variables

AVCodecParser ff_h261_parser
 

Detailed Description

H.261 parser.

Definition in file h261_parser.c.

Function Documentation

static int h261_find_frame_end ( ParseContext pc,
AVCodecContext avctx,
const uint8_t buf,
int  buf_size 
)
static

Definition at line 30 of file h261_parser.c.

Referenced by h261_parse().

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

Definition at line 66 of file h261_parser.c.

Variable Documentation

AVCodecParser ff_h261_parser
Initial value:
= {
.codec_ids = { AV_CODEC_ID_H261 },
.priv_data_size = sizeof(ParseContext),
.parser_parse = h261_parse,
.parser_close = ff_parse_close,
}
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:321
static int h261_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: h261_parser.c:66

Definition at line 89 of file h261_parser.c.