FFmpeg
Functions | Variables
h261_parser.c File Reference
#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

◆ h261_find_frame_end()

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().

◆ 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

◆ ff_h261_parser

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,
}

Definition at line 89 of file h261_parser.c.

ff_parse_close
void ff_parse_close(AVCodecParserContext *s)
Definition: parser.c:315
AV_CODEC_ID_H261
@ AV_CODEC_ID_H261
Definition: avcodec.h:221
ParseContext
Definition: parser.h:28
h261_parse
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