FFmpeg
Data Structures | Functions | Variables
rv34_parser.c File Reference
#include "avcodec.h"
#include "libavutil/intreadwrite.h"

Go to the source code of this file.

Data Structures

struct  RV34ParseContext
 

Functions

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

Variables

static const int rv_to_av_frame_type [4]
 
const AVCodecParser ff_rv34_parser
 

Detailed Description

RV30/40 parser

Definition in file rv34_parser.c.

Function Documentation

◆ rv34_parse()

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

Definition at line 39 of file rv34_parser.c.

Variable Documentation

◆ rv_to_av_frame_type

const int rv_to_av_frame_type[4]
static
Initial value:

Definition at line 35 of file rv34_parser.c.

Referenced by rv34_parse().

◆ ff_rv34_parser

const AVCodecParser ff_rv34_parser
Initial value:
= {
.priv_data_size = sizeof(RV34ParseContext),
.parser_parse = rv34_parse,
}

Definition at line 78 of file rv34_parser.c.

rv34_parse
static int rv34_parse(AVCodecParserContext *s, AVCodecContext *avctx, const uint8_t **poutbuf, int *poutbuf_size, const uint8_t *buf, int buf_size)
Definition: rv34_parser.c:39
AV_PICTURE_TYPE_I
@ AV_PICTURE_TYPE_I
Intra.
Definition: avutil.h:279
AV_CODEC_ID_RV30
@ AV_CODEC_ID_RV30
Definition: codec_id.h:120
AV_CODEC_ID_RV40
@ AV_CODEC_ID_RV40
Definition: codec_id.h:121
AV_PICTURE_TYPE_B
@ AV_PICTURE_TYPE_B
Bi-dir predicted.
Definition: avutil.h:281
AV_PICTURE_TYPE_P
@ AV_PICTURE_TYPE_P
Predicted.
Definition: avutil.h:280
RV34ParseContext
Definition: rv34_parser.c:30