FFmpeg
Functions
rv34.c File Reference

RV30/40 decoder common data. More...

#include "libavutil/imgutils.h"
#include "libavutil/internal.h"
#include "avcodec.h"
#include "error_resilience.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "golomb.h"
#include "internal.h"
#include "mathops.h"
#include "mpeg_er.h"
#include "qpeldsp.h"
#include "rectangle.h"
#include "thread.h"
#include "rv34vlc.h"
#include "rv34data.h"
#include "rv34.h"

Functions

av_cold int ff_rv34_decode_init (AVCodecContext *avctx)
 Initialize decoder.
 
int ff_rv34_decode_init_thread_copy (AVCodecContext *avctx)
 
int ff_rv34_decode_update_thread_context (AVCodecContext *dst, const AVCodecContext *src)
 
int ff_rv34_decode_frame (AVCodecContext *avctx, void *data, int *got_picture_ptr, AVPacket *avpkt)
 
av_cold int ff_rv34_decode_end (AVCodecContext *avctx)
 
RV30/40 4x4 block decoding functions
RV30/40 bitstream parsing
int ff_rv34_get_start_offset (GetBitContext *gb, int mb_size)
 Decode starting slice position. More...
 

motion vector related code (prediction, reconstruction, motion compensation)

#define GET_PTS_DIFF(a, b)   (((a) - (b) + 8192) & 0x1FFF)
 

Detailed Description

RV30/40 decoder common data.

Function Documentation

§ ff_rv34_get_start_offset()

int ff_rv34_get_start_offset ( GetBitContext gb,
int  mb_size 
)

Decode starting slice position.

common decoding functions

Todo:
Maybe replace with ff_h263_decode_mba() ?