libavcodec/rv10.c File Reference

RV10 codec. More...

#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"

Go to the source code of this file.

Defines

#define DC_VLC_BITS   14

Functions

int rv_decode_dc (MpegEncContext *s, int n)
static int rv10_decode_picture_header (MpegEncContext *s)
static int rv20_decode_picture_header (MpegEncContext *s)
static av_cold int rv10_decode_init (AVCodecContext *avctx)
static av_cold int rv10_decode_end (AVCodecContext *avctx)
static int rv10_decode_packet (AVCodecContext *avctx, const uint8_t *buf, int buf_size)
static int get_slice_offset (AVCodecContext *avctx, const uint8_t *buf, int n)
static int rv10_decode_frame (AVCodecContext *avctx, void *data, int *data_size, const uint8_t *buf, int buf_size)

Variables

static const uint16_t rv_lum_code [256]
static const uint8_t rv_lum_bits [256]
static const uint16_t rv_chrom_code [256]
static const uint8_t rv_chrom_bits [256]
static VLC rv_dc_lum
static VLC rv_dc_chrom
AVCodec rv10_decoder
AVCodec rv20_decoder


Detailed Description

RV10 codec.

Definition in file rv10.c.


Define Documentation

#define DC_VLC_BITS   14

Definition at line 34 of file rv10.c.


Function Documentation

static int get_slice_offset ( AVCodecContext avctx,
const uint8_t *  buf,
int  n 
) [static]

Definition at line 727 of file rv10.c.

Referenced by ff_rv34_decode_frame(), and rv10_decode_frame().

static av_cold int rv10_decode_end ( AVCodecContext avctx  )  [static]

Definition at line 599 of file rv10.c.

static int rv10_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
const uint8_t *  buf,
int  buf_size 
) [static]

Definition at line 733 of file rv10.c.

static av_cold int rv10_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 525 of file rv10.c.

static int rv10_decode_packet ( AVCodecContext avctx,
const uint8_t *  buf,
int  buf_size 
) [static]

Definition at line 607 of file rv10.c.

Referenced by rv10_decode_frame().

static int rv10_decode_picture_header ( MpegEncContext s  )  [static]

Definition at line 310 of file rv10.c.

Referenced by rv10_decode_packet().

static int rv20_decode_picture_header ( MpegEncContext s  )  [static]

Definition at line 375 of file rv10.c.

Referenced by rv10_decode_packet().

int rv_decode_dc ( MpegEncContext s,
int  n 
)

Definition at line 182 of file rv10.c.

Referenced by h263_decode_block().


Variable Documentation

Initial value:

Definition at line 791 of file rv10.c.

Initial value:

Definition at line 805 of file rv10.c.

const uint8_t rv_chrom_bits[256] [static]

Definition at line 144 of file rv10.c.

Referenced by rv10_decode_init().

const uint16_t rv_chrom_code[256] [static]

Definition at line 108 of file rv10.c.

Referenced by rv10_decode_init().

VLC rv_dc_chrom [static]

Definition at line 180 of file rv10.c.

VLC rv_dc_lum [static]

Definition at line 180 of file rv10.c.

const uint8_t rv_lum_bits[256] [static]

Definition at line 72 of file rv10.c.

Referenced by rv10_decode_init().

const uint16_t rv_lum_code[256] [static]

Definition at line 36 of file rv10.c.

Referenced by rv10_decode_init().


Generated on Fri Oct 26 02:35:44 2012 for FFmpeg by  doxygen 1.5.8