diff options
author | metamuffin <metamuffin@disroot.org> | 2022-12-07 17:47:28 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-12-07 17:47:28 +0100 |
commit | a99674b911cb9b2fa398ccf61830d5933ccaf931 (patch) | |
tree | e2e5e568578ee07d581eb004bc22ff6605aea705 /evc/spec.md | |
parent | 85d20c4f4cf3656fbf7c27b6b8bbf9536e3ae04d (diff) | |
download | video-codec-experiments-a99674b911cb9b2fa398ccf61830d5933ccaf931.tar video-codec-experiments-a99674b911cb9b2fa398ccf61830d5933ccaf931.tar.bz2 video-codec-experiments-a99674b911cb9b2fa398ccf61830d5933ccaf931.tar.zst |
extend format to support abitrary transform
Diffstat (limited to 'evc/spec.md')
-rw-r--r-- | evc/spec.md | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/evc/spec.md b/evc/spec.md index da05da1..a6f0da7 100644 --- a/evc/spec.md +++ b/evc/spec.md @@ -14,7 +14,17 @@ - sub-blocks: _`[block; 2]` (see above)_ - **Reference-Block** (reuses previous frame in some way) - translation: _`i8, i8`_ - <!-- - factor: _`i8`_ (represents multiplication with $1.1^n$) --> + - **Advanced-Reference-Block** (reuses previous frame in some way) + - translation: _`s8, s8`_ (translation encoded as _floats_) + - transform: _`s8, s8, s8, s8`_ (2x2-matrix of _floats_ applied before + sampling) + - value_scale: _`s8`_ (represents multiplication of each color component + with $1.1^n$) + +### _`s8`_ + +8-bit scalar. When read as _`i8`_ represents a value of $\frac{x}{|x|} * +\sqrt{2}^{|{x}| - 4}$ for $x \neq 0$, otherwise 0. ### Todo |