FFmpeg
|
RV10/RV20 decoder. More...
#include <inttypes.h>
#include "libavutil/imgutils.h"
#include "avcodec.h"
#include "error_resilience.h"
#include "h263.h"
#include "h263data.h"
#include "internal.h"
#include "mpeg_er.h"
#include "mpegutils.h"
#include "mpegvideo.h"
#include "mpeg4video.h"
#include "mpegvideodata.h"
#include "rv10.h"
Go to the source code of this file.
Data Structures | |
struct | RVDecContext |
Macros | |
#define | RV_GET_MAJOR_VER(x) ((x) >> 28) |
#define | RV_GET_MINOR_VER(x) (((x) >> 20) & 0xFF) |
#define | RV_GET_MICRO_VER(x) (((x) >> 12) & 0xFF) |
#define | DC_VLC_BITS 14 |
#define | ERROR_SKIP_FRAME -123 |
Functions | |
int | ff_rv_decode_dc (MpegEncContext *s, int n) |
static int | rv10_decode_picture_header (MpegEncContext *s) |
static int | rv20_decode_picture_header (RVDecContext *rv) |
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, int buf_size2) |
static int | get_slice_offset (AVCodecContext *avctx, const uint8_t *buf, int n) |
static int | rv10_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
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 | ff_rv10_decoder |
AVCodec | ff_rv20_decoder |
RV10/RV20 decoder.
Definition in file rv10.c.
#define RV_GET_MAJOR_VER | ( | x | ) | ((x) >> 28) |
Definition at line 44 of file rv10.c.
Referenced by rv10_decode_init().
#define RV_GET_MINOR_VER | ( | x | ) | (((x) >> 20) & 0xFF) |
Definition at line 45 of file rv10.c.
Referenced by rv10_decode_init(), and rv20_decode_picture_header().
#define RV_GET_MICRO_VER | ( | x | ) | (((x) >> 12) & 0xFF) |
Definition at line 46 of file rv10.c.
Referenced by rv10_decode_init().
#define DC_VLC_BITS 14 |
Definition at line 48 of file rv10.c.
Referenced by ff_rv_decode_dc(), and rv10_decode_init().
#define ERROR_SKIP_FRAME -123 |
Referenced by rv10_decode_packet(), and rv20_decode_picture_header().
int ff_rv_decode_dc | ( | MpegEncContext * | s, |
int | n | ||
) |
Definition at line 198 of file rv10.c.
Referenced by h263_decode_block().
|
static |
Definition at line 249 of file rv10.c.
Referenced by rv10_decode_packet().
|
static |
Definition at line 308 of file rv10.c.
Referenced by rv10_decode_packet().
|
static |
|
static |
|
static |
Definition at line 552 of file rv10.c.
Referenced by rv10_decode_frame().
|
static |
Definition at line 694 of file rv10.c.
Referenced by rv10_decode_frame().
|
static |
|
static |
Definition at line 56 of file rv10.c.
Referenced by rv10_decode_init().
|
static |
Definition at line 91 of file rv10.c.
Referenced by rv10_decode_init().
|
static |
Definition at line 126 of file rv10.c.
Referenced by rv10_decode_init().
|
static |
Definition at line 161 of file rv10.c.
Referenced by rv10_decode_init().
AVCodec ff_rv10_decoder |
AVCodec ff_rv20_decoder |