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
| void rv10_encode_picture_header |
( |
MpegEncContext * |
s, |
|
|
int |
picture_number | |
|
) |
| | |
| void rv20_encode_picture_header |
( |
MpegEncContext * |
s, |
|
|
int |
picture_number | |
|
) |
| | |
| static int rv10_decode_packet |
( |
AVCodecContext * |
avctx, |
|
|
uint8_t * |
buf, |
|
|
int |
buf_size | |
|
) |
| | [static] |
| static int get_slice_offset |
( |
AVCodecContext * |
avctx, |
|
|
uint8_t * |
buf, |
|
|
int |
n | |
|
) |
| | [static] |
| static int rv10_decode_frame |
( |
AVCodecContext * |
avctx, |
|
|
void * |
data, |
|
|
int * |
data_size, |
|
|
uint8_t * |
buf, |
|
|
int |
buf_size | |
|
) |
| | [static] |
Variable Documentation
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.