diff options
author | metamuffin <metamuffin@disroot.org> | 2022-12-05 14:25:33 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2022-12-05 14:25:33 +0100 |
commit | 75b87762196c461069fa087f8aa3c978d7407549 (patch) | |
tree | 58141280a656838cefa6e1286bf251088bf0443b | |
parent | 8101a0df569395811417f24795e3a329090c4f00 (diff) | |
download | video-codec-experiments-75b87762196c461069fa087f8aa3c978d7407549.tar video-codec-experiments-75b87762196c461069fa087f8aa3c978d7407549.tar.bz2 video-codec-experiments-75b87762196c461069fa087f8aa3c978d7407549.tar.zst |
new spec
-rw-r--r-- | evc/spec.md | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/evc/spec.md b/evc/spec.md new file mode 100644 index 0000000..14fe748 --- /dev/null +++ b/evc/spec.md @@ -0,0 +1,21 @@ +# File format + +- magic bytes: `5e b1 c3 08` +- resolution: _`u16, u16`_ +- frame count: _`u64`_ +- frames (repeated {frame count}-times) + - block type + - block + - **I-Block** (literal contents) + - pixels: _`[[u8; 3]]`_ + - **Split-Block** (delegated to 4 sub-blocks) + - sub-blocks: _`[block; 4]` (see above)_ + - **Reference-Block** + - translation: _`i8, i8`_ + +## Todo + +- JPEG compress I-Blocks +- Sub-pixel translation +- fade +- general compression (gzip oder so) |