FFmpeg
|
#include "libavutil/mem_internal.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
#include "idctdsp.h"
#include "internal.h"
#include "mathops.h"
#include "clearvideodata.h"
Go to the source code of this file.
Data Structures | |
struct | LevelCodes |
struct | MV |
struct | MVInfo |
struct | TileInfo |
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, AVFrame *src, int plane, int x, int y, int dx, int dy, int size) |
static int | copyadd_block (AVCodecContext *avctx, AVFrame *dst, 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, 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 TileInfo * | decode_tile_info (GetBitContext *gb, const LevelCodes *lc, int level) |
static int | tile_do_block (AVCodecContext *avctx, AVFrame *dst, AVFrame *src, int plane, int x, int y, int dx, int dy, int size, int bias) |
static int | restore_tree (AVCodecContext *avctx, AVFrame *dst, AVFrame *src, int plane, int x, int y, int size, TileInfo *tile, MV root_mv) |
static void | extend_edges (AVFrame *buf, int tile_size) |
static int | clv_decode_frame (AVCodecContext *avctx, void *data, 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 VLC_TYPE | vlc_buf [16716][2] |
const AVCodec | ff_clearvideo_decoder |
ClearVideo decoder
Definition in file clearvideo.c.
#define CLV_VLC_BITS 9 |
Definition at line 38 of file clearvideo.c.
Definition at line 132 of file clearvideo.c.
#define ROP | ( | x | ) | x |
Definition at line 156 of file clearvideo.c.
#define COP | ( | x | ) | (((x) + 4) >> 3) |
Definition at line 157 of file clearvideo.c.
|
inlinestatic |
Definition at line 88 of file clearvideo.c.
Referenced by decode_mb().
|
static |
Definition at line 159 of file clearvideo.c.
Referenced by decode_mb().
|
static |
Definition at line 177 of file clearvideo.c.
Referenced by clv_decode_frame().
|
static |
Definition at line 224 of file clearvideo.c.
Referenced by clv_decode_frame(), and tile_do_block().
|
static |
Definition at line 260 of file clearvideo.c.
Referenced by tile_do_block().
Definition at line 298 of file clearvideo.c.
Referenced by clv_decode_frame().
Definition at line 344 of file clearvideo.c.
Referenced by clv_decode_frame().
|
static |
Definition at line 354 of file clearvideo.c.
Referenced by clv_decode_frame().
|
static |
Definition at line 364 of file clearvideo.c.
Referenced by clv_decode_frame().
|
static |
Definition at line 417 of file clearvideo.c.
Referenced by restore_tree().
|
static |
Definition at line 431 of file clearvideo.c.
Referenced by clv_decode_frame().
Definition at line 462 of file clearvideo.c.
Referenced by clv_decode_frame().
|
static |
Definition at line 501 of file clearvideo.c.
|
static |
Definition at line 653 of file clearvideo.c.
Referenced by clv_init_static().
|
static |
Definition at line 674 of file clearvideo.c.
Referenced by clv_decode_init().
|
static |
Definition at line 707 of file clearvideo.c.
|
static |
Definition at line 757 of file clearvideo.c.
|
static |
Definition at line 50 of file clearvideo.c.
Referenced by clv_decode_frame(), and mvi_predict().
|
static |
Definition at line 84 of file clearvideo.c.
Referenced by clv_init_static(), and decode_block().
|
static |
Definition at line 84 of file clearvideo.c.
Referenced by clv_init_static(), and decode_block().
|
static |
Definition at line 85 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(), tag_tree_update(), and truncpasses().
|
static |
Definition at line 86 of file clearvideo.c.
Referenced by aac_static_table_init(), atrac9_init_vlc(), build_vlc(), clv_init_static(), dv_init_static(), ff_msmpeg4_decode_init(), init_static(), mobiclip_init_static(), mpeg4_init_static(), mss4_init_vlc(), rv40_init_table(), tscc2_init_vlc(), and x8_init_vlc().
const AVCodec ff_clearvideo_decoder |
Definition at line 769 of file clearvideo.c.