FFmpeg
Functions | Variables
rv30.c File Reference
#include "avcodec.h"
#include "codec_internal.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "mpegvideodec.h"
#include "golomb.h"
#include "rv34.h"
#include "rv30data.h"

Go to the source code of this file.

Functions

static int rv30_parse_slice_header (RV34DecContext *r, GetBitContext *gb, SliceInfo *si)
 
static int rv30_decode_intra_types (RV34DecContext *r, GetBitContext *gb, int8_t *dst)
 Decode 4x4 intra types array. More...
 
static int rv30_decode_mb_info (RV34DecContext *r)
 Decode macroblock information. More...
 
static void rv30_weak_loop_filter (uint8_t *src, const int step, const int stride, const int lim)
 
static void rv30_loop_filter (RV34DecContext *r, int row)
 
static av_cold int rv30_decode_init (AVCodecContext *avctx)
 Initialize decoder. More...
 

Variables

const FFCodec ff_rv30_decoder
 

Detailed Description

RV30 decoder

Definition in file rv30.c.

Function Documentation

◆ rv30_parse_slice_header()

static int rv30_parse_slice_header ( RV34DecContext r,
GetBitContext gb,
SliceInfo si 
)
static

Definition at line 38 of file rv30.c.

Referenced by rv30_decode_init().

◆ rv30_decode_intra_types()

static int rv30_decode_intra_types ( RV34DecContext r,
GetBitContext gb,
int8_t *  dst 
)
static

Decode 4x4 intra types array.

Definition at line 88 of file rv30.c.

Referenced by rv30_decode_init().

◆ rv30_decode_mb_info()

static int rv30_decode_mb_info ( RV34DecContext r)
static

Decode macroblock information.

Definition at line 116 of file rv30.c.

Referenced by rv30_decode_init().

◆ rv30_weak_loop_filter()

static void rv30_weak_loop_filter ( uint8_t *  src,
const int  step,
const int  stride,
const int  lim 
)
inlinestatic

Definition at line 138 of file rv30.c.

Referenced by rv30_loop_filter().

◆ rv30_loop_filter()

static void rv30_loop_filter ( RV34DecContext r,
int  row 
)
static

Definition at line 153 of file rv30.c.

Referenced by rv30_decode_init().

◆ rv30_decode_init()

static av_cold int rv30_decode_init ( AVCodecContext avctx)
static

Initialize decoder.

Definition at line 262 of file rv30.c.

Variable Documentation

◆ ff_rv30_decoder

const FFCodec ff_rv30_decoder
Initial value:

Definition at line 294 of file rv30.c.

RV34DecContext
decoder context
Definition: rv34.h:86
AVPixelFormat
AVPixelFormat
Pixel format.
Definition: pixfmt.h:64
ff_rv34_decode_end
av_cold int ff_rv34_decode_end(AVCodecContext *avctx)
Definition: rv34.c:1806
ff_rv34_decode_update_thread_context
int ff_rv34_decode_update_thread_context(AVCodecContext *dst, const AVCodecContext *src)
Definition: rv34.c:1517
FF_CODEC_DECODE_CB
#define FF_CODEC_DECODE_CB(func)
Definition: codec_internal.h:306
init
int(* init)(AVBSFContext *ctx)
Definition: dts2pts_bsf.c:365
AV_PIX_FMT_YUV420P
@ AV_PIX_FMT_YUV420P
planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)
Definition: pixfmt.h:66
CODEC_LONG_NAME
#define CODEC_LONG_NAME(str)
Definition: codec_internal.h:272
AV_CODEC_CAP_FRAME_THREADS
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
Definition: codec.h:107
UPDATE_THREAD_CONTEXT
#define UPDATE_THREAD_CONTEXT(func)
Definition: codec_internal.h:281
AV_CODEC_CAP_DR1
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
Definition: codec.h:52
ff_rv34_decode_frame
int ff_rv34_decode_frame(AVCodecContext *avctx, AVFrame *pict, int *got_picture_ptr, AVPacket *avpkt)
Definition: rv34.c:1598
FF_CODEC_CAP_ALLOCATE_PROGRESS
#define FF_CODEC_CAP_ALLOCATE_PROGRESS
Definition: codec_internal.h:69
ff_mpeg_flush
void ff_mpeg_flush(AVCodecContext *avctx)
Definition: mpegvideo_dec.c:544
AV_CODEC_ID_RV30
@ AV_CODEC_ID_RV30
Definition: codec_id.h:120
AV_PIX_FMT_NONE
@ AV_PIX_FMT_NONE
Definition: pixfmt.h:65
AV_CODEC_CAP_DELAY
#define AV_CODEC_CAP_DELAY
Encoder or decoder requires flushing with NULL input at the end in order to give the complete and cor...
Definition: codec.h:76
rv30_decode_init
static av_cold int rv30_decode_init(AVCodecContext *avctx)
Initialize decoder.
Definition: rv30.c:262
AVMEDIA_TYPE_VIDEO
@ AVMEDIA_TYPE_VIDEO
Definition: avutil.h:201