FFmpeg
|
#include "libavutil/mem_internal.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
#include "idctdsp.h"
#include "mathops.h"
#include "clearvideodata.h"
Go to the source code of this file.
Data Structures | |
struct | LevelCodes |
struct | MV |
struct | MVInfo |
struct | CLVContext |
Macros | |
#define | CLV_VLC_BITS 9 |
#define | DCT_TEMPLATE(blk, step, bias, shift, dshift, OP) |
#define | ROP(x) x |
#define | COP(x) (((x) + 4) >> 3) |
Functions | |
static int | decode_block (CLVContext *ctx, int16_t *blk, int has_ac, int ac_quant) |
static void | clv_dct (int16_t *block) |
static int | decode_mb (CLVContext *c, int x, int y) |
static int | copy_block (AVCodecContext *avctx, AVFrame *dst, const AVFrame *src, int plane, int x, int y, int dx, int dy, int size) |
static int | copyadd_block (AVCodecContext *avctx, AVFrame *dst, const AVFrame *src, int plane, int x, int y, int dx, int dy, int size, int bias) |
static MV * | mvi_predict (MVInfo *mvi, int mb_x, int mb_y) |
static void | mvi_update_prediction (MV *mv, MV diff) |
static void | mvi_reset (MVInfo *mvi, int mb_w, int mb_h, int mb_size) |
static void | mvi_update_row (MVInfo *mvi) |
static int | tile_do_block (AVCodecContext *avctx, AVFrame *dst, const AVFrame *src, int plane, int x, int y, int dx, int dy, int size, int bias) |
static int | decode_tile (AVCodecContext *avctx, GetBitContext *gb, const LevelCodes *lc, AVFrame *dst, const AVFrame *src, int plane, int x, int y, int size, MV root_mv, MV *pred) |
static void | extend_edges (AVFrame *buf, int tile_size) |
static int | clv_decode_frame (AVCodecContext *avctx, AVFrame *rframe, int *got_frame, AVPacket *avpkt) |
static av_cold void | build_vlc (VLC *vlc, const uint8_t counts[16], const uint16_t **syms, unsigned *offset) |
static av_cold void | clv_init_static (void) |
static av_cold int | clv_decode_init (AVCodecContext *avctx) |
static av_cold int | clv_decode_end (AVCodecContext *avctx) |
Variables | |
static const MV | zero_mv = { 0 } |
static VLC | dc_vlc |
static VLC | ac_vlc |
static LevelCodes | lev [4+3+3] |
static VLCElem | vlc_buf [16716] |
const FFCodec | ff_clearvideo_decoder |
ClearVideo decoder
Definition in file clearvideo.c.
#define CLV_VLC_BITS 9 |
Definition at line 39 of file clearvideo.c.
Definition at line 126 of file clearvideo.c.
#define ROP | ( | x | ) | x |
Definition at line 150 of file clearvideo.c.
#define COP | ( | x | ) | (((x) + 4) >> 3) |
Definition at line 151 of file clearvideo.c.
|
inlinestatic |
Definition at line 82 of file clearvideo.c.
Referenced by decode_mb().
|
static |
Definition at line 153 of file clearvideo.c.
Referenced by decode_mb().
|
static |
Definition at line 171 of file clearvideo.c.
Referenced by clv_decode_frame().
|
static |
Definition at line 218 of file clearvideo.c.
Referenced by clv_decode_frame(), and tile_do_block().
|
static |
Definition at line 255 of file clearvideo.c.
Referenced by tile_do_block().
Definition at line 293 of file clearvideo.c.
Referenced by clv_decode_frame().
Definition at line 339 of file clearvideo.c.
Referenced by decode_tile().
Definition at line 345 of file clearvideo.c.
Referenced by clv_decode_frame().
|
static |
Definition at line 355 of file clearvideo.c.
Referenced by clv_decode_frame().
|
static |
Definition at line 365 of file clearvideo.c.
Referenced by decode_tile().
|
static |
Definition at line 379 of file clearvideo.c.
Referenced by clv_decode_frame().
Definition at line 444 of file clearvideo.c.
Referenced by clv_decode_frame().
|
static |
Definition at line 483 of file clearvideo.c.
|
static |
Definition at line 625 of file clearvideo.c.
Referenced by clv_init_static().
|
static |
Definition at line 646 of file clearvideo.c.
Referenced by clv_decode_init().
|
static |
Definition at line 679 of file clearvideo.c.
|
static |
Definition at line 729 of file clearvideo.c.
|
static |
Definition at line 51 of file clearvideo.c.
Referenced by mvi_predict().
|
static |
Definition at line 78 of file clearvideo.c.
Referenced by clv_init_static(), and decode_block().
|
static |
Definition at line 78 of file clearvideo.c.
Referenced by clv_init_static(), and decode_block().
|
static |
Definition at line 79 of file clearvideo.c.
Referenced by clv_decode_frame(), clv_init_static(), decode_block(), dwt_decode53(), dwt_decode97_float(), dwt_decode97_int(), dwt_encode53(), dwt_encode97_float(), dwt_encode97_int(), ff_atrac_gain_compensation(), ff_jpeg2000_dwt_init(), hqx_get_ac(), init_quantization(), makelayers(), and truncpasses().
|
static |
Definition at line 80 of file clearvideo.c.
Referenced by aac_static_table_init(), atrac9_init_vlc(), build_vlc(), clv_init_static(), dv_init_static(), init_static(), mobiclip_init_static(), msmpeg4_decode_init_static(), mss4_init_vlc(), rv40_init_table(), tscc2_init_vlc(), and x8_init_vlc().
const FFCodec ff_clearvideo_decoder |
Definition at line 741 of file clearvideo.c.