FFmpeg
|
#include <inttypes.h>
#include "libavutil/mem.h"
#include "libavutil/thread.h"
#include "avcodec.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
#include "mathops.h"
#include "tscc2data.h"
Go to the source code of this file.
Data Structures | |
struct | TSCC2Context |
Macros | |
#define | BITSTREAM_READER_LE |
#define | TSCC2_VLC_BITS 9 |
#define | DEQUANT(val, q) (((q) * (val) + 0x80) >> 8) |
#define | DCT1D(d0, d1, d2, d3, s0, s1, s2, s3, OP) |
#define | COL_OP(a, b) a = (b) |
#define | ROW_OP(a, b) a = ((b) + 0x20) >> 6 |
Functions | |
static av_cold void | tscc2_init_vlc (VLC *vlc, int *offset, int nb_codes, const uint8_t *lens, const void *syms, int sym_length) |
static av_cold void | tscc2_init_vlcs (void) |
static void | tscc2_idct4_put (int *in, int q[3], uint8_t *dst, int stride) |
static int | tscc2_decode_mb (TSCC2Context *c, int *q, int vlc_set, uint8_t *dst, int stride, int plane) |
static int | tscc2_decode_slice (TSCC2Context *c, int mb_y, const uint8_t *buf, int buf_size) |
static int | tscc2_decode_frame (AVCodecContext *avctx, AVFrame *rframe, int *got_frame, AVPacket *avpkt) |
static av_cold int | tscc2_decode_end (AVCodecContext *avctx) |
static av_cold int | tscc2_decode_init (AVCodecContext *avctx) |
Variables | |
static VLC | dc_vlc |
static VLC | nc_vlc [NUM_VLC_SETS] |
static VLC | ac_vlc [NUM_VLC_SETS] |
const FFCodec | ff_tscc2_decoder |
#define DCT1D | ( | d0, | |
d1, | |||
d2, | |||
d3, | |||
s0, | |||
s1, | |||
s2, | |||
s3, | |||
OP | |||
) |
|
static |
Definition at line 57 of file tscc2.c.
Referenced by tscc2_init_vlcs().
|
static |
Definition at line 71 of file tscc2.c.
Referenced by tscc2_decode_init().
|
static |
Definition at line 101 of file tscc2.c.
Referenced by tscc2_decode_mb().
|
static |
Definition at line 124 of file tscc2.c.
Referenced by tscc2_decode_slice().
|
static |
Definition at line 183 of file tscc2.c.
Referenced by tscc2_decode_frame().
|
static |
|
static |
|
static |
|
static |
Definition at line 55 of file tscc2.c.
Referenced by tscc2_decode_mb(), and tscc2_init_vlcs().
|
static |
Definition at line 55 of file tscc2.c.
Referenced by tscc2_decode_mb(), and tscc2_init_vlcs().
|
static |
Definition at line 55 of file tscc2.c.
Referenced by tscc2_decode_mb(), and tscc2_init_vlcs().
const FFCodec ff_tscc2_decoder |