#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 |
Definition in file rv10.c.
| 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] |
| static int rv10_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
| static av_cold int rv10_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
| static int rv10_decode_packet | ( | AVCodecContext * | avctx, | |
| const uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
| static int rv10_decode_picture_header | ( | MpegEncContext * | s | ) | [static] |
| static int rv20_decode_picture_header | ( | MpegEncContext * | s | ) | [static] |
| int rv_decode_dc | ( | MpegEncContext * | s, | |
| int | n | |||
| ) |
Initial value:
{
"rv10",
CODEC_TYPE_VIDEO,
CODEC_ID_RV10,
sizeof(MpegEncContext),
rv10_decode_init,
NULL,
rv10_decode_end,
rv10_decode_frame,
CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 1.0"),
.pix_fmts= ff_pixfmt_list_420,
}
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,
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 2.0"),
.pix_fmts= ff_pixfmt_list_420,
}
const uint8_t rv_chrom_bits[256] [static] |
const uint16_t rv_chrom_code[256] [static] |
VLC rv_dc_chrom [static] |
const uint8_t rv_lum_bits[256] [static] |
const uint16_t rv_lum_code[256] [static] |
1.5.8