FFmpeg
|
ClearVideo decoder. More...
#include "avcodec.h"
#include "idctdsp.h"
#include "internal.h"
#include "get_bits.h"
#include "bytestream.h"
Go to the source code of this file.
Data Structures | |
struct | CLVContext |
Macros | |
#define | NUM_DC_CODES 127 |
#define | NUM_AC_CODES 103 |
#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 | clv_decode_frame (AVCodecContext *avctx, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | clv_decode_init (AVCodecContext *avctx) |
static av_cold int | clv_decode_end (AVCodecContext *avctx) |
Variables | |
static const uint8_t | clv_dc_codes [NUM_DC_CODES] |
static const uint8_t | clv_dc_bits [NUM_DC_CODES] |
static const uint16_t | clv_ac_syms [NUM_AC_CODES] |
static const uint8_t | clv_ac_codes [NUM_AC_CODES] |
static const uint8_t | clv_ac_bits [NUM_AC_CODES] |
AVCodec | ff_clearvideo_decoder |
ClearVideo decoder.
Definition in file clearvideo.c.
#define NUM_DC_CODES 127 |
Definition at line 33 of file clearvideo.c.
Referenced by clv_decode_init().
#define NUM_AC_CODES 103 |
Definition at line 34 of file clearvideo.c.
Referenced by clv_decode_init().
#define ROP | ( | x | ) | x |
Definition at line 205 of file clearvideo.c.
Referenced by clv_dct().
#define COP | ( | x | ) | (((x) + 4) >> 3) |
Definition at line 206 of file clearvideo.c.
Referenced by clv_dct().
|
inlinestatic |
Definition at line 134 of file clearvideo.c.
Referenced by decode_mb().
|
static |
Definition at line 208 of file clearvideo.c.
Referenced by decode_mb().
|
static |
Definition at line 226 of file clearvideo.c.
Referenced by clv_decode_frame().
|
static |
Definition at line 274 of file clearvideo.c.
|
static |
Definition at line 338 of file clearvideo.c.
|
static |
Definition at line 374 of file clearvideo.c.
|
static |
Definition at line 36 of file clearvideo.c.
Referenced by clv_decode_init().
|
static |
Definition at line 55 of file clearvideo.c.
Referenced by clv_decode_init().
|
static |
Definition at line 74 of file clearvideo.c.
Referenced by clv_decode_init().
|
static |
Definition at line 90 of file clearvideo.c.
Referenced by clv_decode_init().
|
static |
Definition at line 106 of file clearvideo.c.
Referenced by clv_decode_init().
AVCodec ff_clearvideo_decoder |
Definition at line 386 of file clearvideo.c.