|
FFmpeg
|
#include "libavutil/mem.h"#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 const av_cold VLCElem * | build_vlc (VLCInitState *state, const uint8_t counts[16], const uint16_t **syms) |
| 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 VLCElem | dc_vlc [1104] |
| static VLCElem | ac_vlc [554] |
| static LevelCodes | lev [4+3+3] |
| const FFCodec | ff_clearvideo_decoder |
ClearVideo decoder
Definition in file clearvideo.c.
| #define CLV_VLC_BITS 9 |
Definition at line 40 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().
|
static |
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().
|
static |
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 645 of file clearvideo.c.
Referenced by clv_decode_init().
|
static |
Definition at line 678 of file clearvideo.c.
|
static |
Definition at line 728 of file clearvideo.c.
|
static |
Definition at line 52 of file clearvideo.c.
Referenced by mvi_predict().
|
static |
Definition at line 79 of file clearvideo.c.
Referenced by clv_init_static(), decode_block(), hqx_decode_frame(), and lead_decode_frame().
|
static |
Definition at line 79 of file clearvideo.c.
Referenced by clv_init_static(), decode_block(), and lead_decode_frame().
|
static |
Definition at line 80 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(), ff_sws_op_list_print(), hqx_get_ac(), init_quantization(), and truncpasses().
| const FFCodec ff_clearvideo_decoder |
Definition at line 740 of file clearvideo.c.
1.8.17