FFmpeg
|
#include <inttypes.h>
#include "avcodec.h"
#include "bswapdsp.h"
#include "bytestream.h"
#include "codec_internal.h"
#include "decode.h"
#include "get_bits.h"
Go to the source code of this file.
Data Structures | |
struct | TM2Context |
struct | TM2Codes |
Huffman codes for each of streams. More... | |
struct | TM2Huff |
structure for gathering Huffman codes information More... | |
Macros | |
#define | TM2_ESCAPE 0x80000000 |
#define | TM2_DELTAS 64 |
#define | TM2_OLD_HEADER_MAGIC 0x00000100 |
#define | TM2_NEW_HEADER_MAGIC 0x00000101 |
#define | TM2_INIT_POINTERS() |
#define | TM2_INIT_POINTERS_2() |
#define | TM2_RECALC_BLOCK(CHR, stride, last, CD) |
#define | TM2_HEADER_SIZE 40 |
Enumerations | |
enum | TM2_STREAMS { TM2_C_HI = 0, TM2_C_LO, TM2_L_HI, TM2_L_LO, TM2_UPD, TM2_MOT, TM2_TYPE, TM2_NUM_STREAMS } |
enum | TM2_BLOCKS { TM2_HI_RES = 0, TM2_MED_RES, TM2_LOW_RES, TM2_NULL_RES, TM2_UPDATE, TM2_STILL, TM2_MOTION } |
Variables | |
static const int | tm2_stream_order [TM2_NUM_STREAMS] |
const FFCodec | ff_truemotion2_decoder |
Duck TrueMotion2 decoder.
Definition in file truemotion2.c.
#define TM2_ESCAPE 0x80000000 |
Definition at line 36 of file truemotion2.c.
#define TM2_DELTAS 64 |
Definition at line 37 of file truemotion2.c.
#define TM2_OLD_HEADER_MAGIC 0x00000100 |
Definition at line 237 of file truemotion2.c.
#define TM2_NEW_HEADER_MAGIC 0x00000101 |
Definition at line 238 of file truemotion2.c.
#define TM2_INIT_POINTERS | ( | ) |
#define TM2_INIT_POINTERS_2 | ( | ) |
Definition at line 434 of file truemotion2.c.
#define TM2_RECALC_BLOCK | ( | CHR, | |
stride, | |||
last, | |||
CD | |||
) |
#define TM2_HEADER_SIZE 40 |
Definition at line 886 of file truemotion2.c.
enum TM2_STREAMS |
Enumerator | |
---|---|
TM2_C_HI | |
TM2_C_LO | |
TM2_L_HI | |
TM2_L_LO | |
TM2_UPD | |
TM2_MOT | |
TM2_TYPE | |
TM2_NUM_STREAMS |
Definition at line 40 of file truemotion2.c.
enum TM2_BLOCKS |
Enumerator | |
---|---|
TM2_HI_RES | |
TM2_MED_RES | |
TM2_LOW_RES | |
TM2_NULL_RES | |
TM2_UPDATE | |
TM2_STILL | |
TM2_MOTION |
Definition at line 52 of file truemotion2.c.
|
static |
Definition at line 119 of file truemotion2.c.
Referenced by tm2_build_huff_table().
|
static |
Definition at line 149 of file truemotion2.c.
Referenced by tm2_read_stream().
|
static |
Definition at line 222 of file truemotion2.c.
Referenced by tm2_read_stream().
|
inlinestatic |
Definition at line 228 of file truemotion2.c.
Referenced by tm2_read_stream().
|
inlinestatic |
Definition at line 240 of file truemotion2.c.
Referenced by decode_frame().
|
static |
Definition at line 257 of file truemotion2.c.
Referenced by tm2_read_stream().
|
static |
Definition at line 284 of file truemotion2.c.
Referenced by decode_frame().
|
inlinestatic |
Definition at line 400 of file truemotion2.c.
Referenced by tm2_decode_blocks(), tm2_hi_res_block(), tm2_low_res_block(), tm2_med_res_block(), tm2_motion_block(), and tm2_update_block().
|
inlinestatic |
Definition at line 454 of file truemotion2.c.
Referenced by tm2_hi_res_block(), tm2_low_res_block(), tm2_med_res_block(), and tm2_null_res_block().
|
inlinestatic |
Definition at line 472 of file truemotion2.c.
Referenced by tm2_hi_res_block(), and tm2_low_chroma().
|
inlinestatic |
Definition at line 485 of file truemotion2.c.
Referenced by tm2_low_res_block(), tm2_med_res_block(), and tm2_null_res_block().
|
inlinestatic |
Definition at line 504 of file truemotion2.c.
Referenced by tm2_decode_blocks().
|
inlinestatic |
Definition at line 525 of file truemotion2.c.
Referenced by tm2_decode_blocks().
|
inlinestatic |
Definition at line 547 of file truemotion2.c.
Referenced by tm2_decode_blocks().
|
inlinestatic |
Definition at line 588 of file truemotion2.c.
Referenced by tm2_decode_blocks().
|
inlinestatic |
Definition at line 635 of file truemotion2.c.
Referenced by tm2_decode_blocks().
|
inlinestatic |
Definition at line 670 of file truemotion2.c.
Referenced by tm2_decode_blocks().
|
inlinestatic |
Definition at line 710 of file truemotion2.c.
Referenced by tm2_decode_blocks().
|
static |
Definition at line 764 of file truemotion2.c.
Referenced by decode_frame().
|
static |
Definition at line 888 of file truemotion2.c.
|
static |
Definition at line 947 of file truemotion2.c.
|
static |
Definition at line 993 of file truemotion2.c.
|
static |
Definition at line 882 of file truemotion2.c.
Referenced by decode_frame().
const FFCodec ff_truemotion2_decoder |
Definition at line 1012 of file truemotion2.c.