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 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 39 of file clearvideo.c.
Definition at line 125 of file clearvideo.c.
#define ROP | ( | x | ) | x |
Definition at line 149 of file clearvideo.c.
#define COP | ( | x | ) | (((x) + 4) >> 3) |
Definition at line 150 of file clearvideo.c.
|
inlinestatic |
Definition at line 81 of file clearvideo.c.
Referenced by decode_mb().
|
static |
Definition at line 152 of file clearvideo.c.
Referenced by decode_mb().
|
static |
Definition at line 170 of file clearvideo.c.
Referenced by clv_decode_frame().
|
static |
Definition at line 217 of file clearvideo.c.
Referenced by clv_decode_frame(), and tile_do_block().
|
static |
Definition at line 254 of file clearvideo.c.
Referenced by tile_do_block().
Definition at line 292 of file clearvideo.c.
Referenced by clv_decode_frame().
Definition at line 338 of file clearvideo.c.
Referenced by decode_tile().
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 decode_tile().
|
static |
Definition at line 378 of file clearvideo.c.
Referenced by clv_decode_frame().
Definition at line 443 of file clearvideo.c.
Referenced by clv_decode_frame().
|
static |
Definition at line 482 of file clearvideo.c.
|
static |
Definition at line 624 of file clearvideo.c.
Referenced by clv_init_static().
|
static |
Definition at line 644 of file clearvideo.c.
Referenced by clv_decode_init().
|
static |
Definition at line 677 of file clearvideo.c.
|
static |
Definition at line 727 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(), decode_block(), and lead_decode_frame().
|
static |
Definition at line 78 of file clearvideo.c.
Referenced by clv_init_static(), decode_block(), and lead_decode_frame().
|
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().
const FFCodec ff_clearvideo_decoder |
Definition at line 739 of file clearvideo.c.