|
OpenGothic
Open source reimplementation of Gothic I and II
|
#include "video.h"#include <stdexcept>#include <iostream>#include <cmath>#include <cstring>#include <algorithm>#include <limits>Go to the source code of this file.
Classes | |
| struct | VLCcode |
| struct | VLC |
| struct | Bink::Video::BitStream |
Functions | |
| static uint32_t | AV_RL32 (const char *v) |
| static int | av_log2 (unsigned v) |
| template<class T > | |
| static void | idctTransform (T *dest, const int *src, int s0, int s1, int s2, int s3, int s4, int s5, int s6, int s7, int d0, int d1, int d2, int d3, int d4, int d5, int d6, int d7, T(*munge)(int)) |
| template<class T > | |
| static void | idctCol (T *dest, const int *src) |
| template<class T > | |
| static void | idctRow (T *dest, const int *src) |
| static void | bink_idct_col (int *dest, const int32_t *src) |
| template<class T > | |
| static void | BF (T &x, T &y, const T &a, const T &b) |
| template<class T > | |
| static void | CMUL (T &dre, T &dim, const T &are, const T &aim, const T &bre, const T &bim) |
| static void | BUTTERFLIES (Video::FFTComplex &a0, Video::FFTComplex &a1, Video::FFTComplex &a2, Video::FFTComplex &a3, float &t1, float &t2, float &t3, float &t4, float &t5, float &t6) |
| static void | transform (Video::FFTComplex &a0, Video::FFTComplex &a1, Video::FFTComplex &a2, Video::FFTComplex &a3, const float wre, const float wim, float &t1, float &t2, float &t3, float &t4, float &t5, float &t6) |
| static void | transformZero (Video::FFTComplex &a0, Video::FFTComplex &a1, Video::FFTComplex &a2, Video::FFTComplex &a3, float &t1, float &t2, float &t3, float &t4, float &t5, float &t6) |
| static void | fftPass (Video::FFTComplex *z, const float *wre, unsigned int n) |
| template<int n, int ord> | |
| static void | fft (Video::FFTComplex *z) |
| template<> | |
| void | fft< 4, 2 > (Video::FFTComplex *z) |
| template<> | |
| void | fft< 8, 3 > (Video::FFTComplex *z) |
| template<> | |
| void | fft< 16, 4 > (Video::FFTComplex *z) |
| static int | splitRadixPermutation (int i, int n, int inverse) |
| template<class T > | |
| static void | processFftPerm (T *revtab, int n, bool inverse) |
Variables | |
| static const float | sqrthalf = std::sqrt(0.5f) |
| static const uint16_t | ff_wma_critical_freqs [25] |
| static const uint8_t | bink_scan [64] |
| static const uint8_t | bink_rlelens [4] = { 4, 8, 12, 32 } |
| static const uint8_t | bink_tree_lens [16][16] |
| static const uint8_t | bink_patterns [16][64] |
| static const uint32_t | bink_intra_quant [16][64] |
| static const uint32_t | bink_inter_quant [16][64] |
| static const uint8_t | rle_length_tab [16] |
| static VLC | bink_trees [16] |
| static std::vector< float > | ffCosTabs [18] |
|
static |
|
static |
|
static |
|
static |
|
static |
| void fft< 16, 4 > | ( | Video::FFTComplex * | z | ) |
| void fft< 4, 2 > | ( | Video::FFTComplex * | z | ) |
| void fft< 8, 3 > | ( | Video::FFTComplex * | z | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |