rv10.c File Reference


Detailed Description

RV10 codec.

Definition in file rv10.c.

Go to the source code of this file.

Functions

int rv_decode_dc (MpegEncContext *s, int n)
void rv10_encode_picture_header (MpegEncContext *s, int picture_number)
void rv20_encode_picture_header (MpegEncContext *s, int picture_number)
static int get_num (GetBitContext *gb)
static int rv10_decode_picture_header (MpegEncContext *s)
static int rv20_decode_picture_header (MpegEncContext *s)
static int rv10_decode_init (AVCodecContext *avctx)
static int rv10_decode_end (AVCodecContext *avctx)
static int rv10_decode_packet (AVCodecContext *avctx, uint8_t *buf, int buf_size)
static int get_slice_offset (AVCodecContext *avctx, uint8_t *buf, int n)
static int rv10_decode_frame (AVCodecContext *avctx, void *data, int *data_size, 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


Function Documentation

int rv_decode_dc ( MpegEncContext s,
int  n 
)

Definition at line 182 of file rv10.c.

Referenced by h263_decode_block().

void rv10_encode_picture_header ( MpegEncContext s,
int  picture_number 
)

Definition at line 235 of file rv10.c.

Referenced by encode_picture().

void rv20_encode_picture_header ( MpegEncContext s,
int  picture_number 
)

Definition at line 263 of file rv10.c.

Referenced by encode_picture().

static int get_num ( GetBitContext gb  )  [static]

Definition at line 293 of file rv10.c.

Referenced by rm_assemble_video_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().

static int rv10_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 525 of file rv10.c.

static int rv10_decode_end ( AVCodecContext avctx  )  [static]

Definition at line 591 of file rv10.c.

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

Definition at line 599 of file rv10.c.

Referenced by rv10_decode_frame().

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

Definition at line 714 of file rv10.c.

Referenced by rv10_decode_frame().

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

Definition at line 720 of file rv10.c.


Variable Documentation

const uint16_t rv_lum_code[256] [static]

Definition at line 36 of file rv10.c.

Referenced by rv10_decode_init().

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_chrom_code[256] [static]

Definition at line 108 of file rv10.c.

Referenced by rv10_decode_init().

const uint8_t rv_chrom_bits[256] [static]

Definition at line 144 of file rv10.c.

Referenced by rv10_decode_init().

VLC rv_dc_lum [static]

Definition at line 180 of file rv10.c.

VLC rv_dc_chrom [static]

Definition at line 180 of file rv10.c.

Initial value:

Definition at line 778 of file rv10.c.

Initial value:

 {
    "rv20",
    CODEC_TYPE_VIDEO,
    CODEC_ID_RV20,
    sizeof(MpegEncContext),
    rv10_decode_init,
    NULL,
    rv10_decode_end,
    rv10_decode_frame,
    CODEC_CAP_DR1 | CODEC_CAP_DELAY,
    .flush= ff_mpeg_flush,
}

Definition at line 790 of file rv10.c.


Generated on Sat Dec 18 05:15:55 2010 for MythTV by  doxygen 1.5.5