FFmpeg
4.0
|
TechSmith Screen Codec 2 decoder. More...
#include <inttypes.h>
#include "avcodec.h"
#include "bytestream.h"
#include "get_bits.h"
#include "internal.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 | 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 | free_vlcs (TSCC2Context *c) |
static av_cold int | init_vlcs (TSCC2Context *c) |
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, void *data, int *got_frame, AVPacket *avpkt) |
static av_cold int | tscc2_decode_end (AVCodecContext *avctx) |
static av_cold int | tscc2_decode_init (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_tscc2_decoder |
Definition at line 94 of file tscc2.c.
Referenced by tscc2_idct4_put().
Definition at line 101 of file tscc2.c.
Referenced by tscc2_idct4_put().
Definition at line 102 of file tscc2.c.
Referenced by tscc2_idct4_put().
|
static |
Definition at line 50 of file tscc2.c.
Referenced by init_vlcs(), tscc2_decode_end(), and tscc2_decode_init().
|
static |
Definition at line 61 of file tscc2.c.
Referenced by tscc2_decode_init().
Definition at line 104 of file tscc2.c.
Referenced by tscc2_decode_mb().
|
static |
Definition at line 127 of file tscc2.c.
Referenced by tscc2_decode_slice().
|
static |
Definition at line 192 of file tscc2.c.
Referenced by tscc2_decode_frame().
|
static |
|
static |
Definition at line 333 of file tscc2.c.
Referenced by tscc2_decode_init().
|
static |
AVCodec ff_tscc2_decoder |