FFmpeg
|
#include "libavutil/mem_internal.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.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, 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 133 of file clearvideo.c.
#define ROP | ( | x | ) | x |
Definition at line 157 of file clearvideo.c.
#define COP | ( | x | ) | (((x) + 4) >> 3) |
Definition at line 158 of file clearvideo.c.
|
inlinestatic |
Definition at line 89 of file clearvideo.c.
Referenced by decode_mb().
|
static |
Definition at line 160 of file clearvideo.c.
Referenced by decode_mb().
|
static |
Definition at line 178 of file clearvideo.c.
Referenced by clv_decode_frame().
|
static |
Definition at line 225 of file clearvideo.c.
Referenced by clv_decode_frame(), and tile_do_block().
|
static |
Definition at line 261 of file clearvideo.c.
Referenced by tile_do_block().
Definition at line 299 of file clearvideo.c.
Referenced by clv_decode_frame().
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 clv_decode_frame().
|
static |
Definition at line 418 of file clearvideo.c.
Referenced by restore_tree().
|
static |
Definition at line 432 of file clearvideo.c.
Referenced by clv_decode_frame().
Definition at line 463 of file clearvideo.c.
Referenced by clv_decode_frame().
|
static |
Definition at line 502 of file clearvideo.c.
|
static |
Definition at line 654 of file clearvideo.c.
Referenced by clv_init_static().
|
static |
Definition at line 675 of file clearvideo.c.
Referenced by clv_decode_init().
|
static |
Definition at line 708 of file clearvideo.c.
|
static |
Definition at line 758 of file clearvideo.c.
|
static |
Definition at line 51 of file clearvideo.c.
Referenced by clv_decode_frame(), and mvi_predict().
|
static |
Definition at line 85 of file clearvideo.c.
Referenced by clv_init_static(), and decode_block().
|
static |
Definition at line 85 of file clearvideo.c.
Referenced by clv_init_static(), and decode_block().
|
static |
Definition at line 86 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 87 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(), mpeg4_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 770 of file clearvideo.c.