libavcodec/rv10.c File Reference
RV10/RV20 decoder.
More...
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "dsputil.h"
#include "mpegvideo.h"
#include "mpeg4video.h"
#include "h263.h"
Go to the source code of this file.
Detailed Description
RV10/RV20 decoder.
Definition in file rv10.c.
Define Documentation
#define RV_GET_MAJOR_VER |
( |
x |
|
) |
((x) >> 28) |
#define RV_GET_MICRO_VER |
( |
x |
|
) |
(((x) >> 12) & 0xFF) |
#define RV_GET_MINOR_VER |
( |
x |
|
) |
(((x) >> 20) & 0xFF) |
Function Documentation
static int get_slice_offset |
( |
AVCodecContext * |
avctx, |
|
|
const uint8_t * |
buf, |
|
|
int |
n | |
|
) |
| | [static] |
static av_cold int rv10_decode_end |
( |
AVCodecContext * |
avctx |
) |
[static] |
static int rv10_decode_frame |
( |
AVCodecContext * |
avctx, |
|
|
void * |
data, |
|
|
int * |
data_size, |
|
|
AVPacket * |
avpkt | |
|
) |
| | [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, |
|
|
int |
buf_size2 | |
|
) |
| | [static] |
Variable Documentation
Initial value:
{
.name = "rv10",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_RV10,
.priv_data_size = sizeof(MpegEncContext),
.init = rv10_decode_init,
.close = rv10_decode_end,
.decode = rv10_decode_frame,
.capabilities = CODEC_CAP_DR1,
.max_lowres = 3,
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 1.0"),
.pix_fmts= ff_pixfmt_list_420,
}
Definition at line 706 of file rv10.c.
Initial value:
{
.name = "rv20",
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_RV20,
.priv_data_size = sizeof(MpegEncContext),
.init = rv10_decode_init,
.close = rv10_decode_end,
.decode = rv10_decode_frame,
.capabilities = CODEC_CAP_DR1 | CODEC_CAP_DELAY,
.flush= ff_mpeg_flush,
.max_lowres = 3,
.long_name = NULL_IF_CONFIG_SMALL("RealVideo 2.0"),
.pix_fmts= ff_pixfmt_list_420,
}
Definition at line 720 of file rv10.c.