aboutsummaryrefslogtreecommitdiffstats
path: root/doc/snow.txt
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-09-10 14:05:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-09-10 14:05:13 +0000
commit8f39b74d77110c0b8510c784177b73adf68da4d8 (patch)
tree87c5dc94d26198797da94643c0bc0657b7cf9886 /doc/snow.txt
parentaf74c95a0807832eed19f5450f82c40fc49494fe (diff)
downloadffmpeg-8f39b74d77110c0b8510c784177b73adf68da4d8.tar.gz
high level bitstream and decoding process in ascii art
Originally committed as revision 10470 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'doc/snow.txt')
-rw-r--r--doc/snow.txt62
1 files changed, 62 insertions, 0 deletions
diff --git a/doc/snow.txt b/doc/snow.txt
index 76e1e6501a..a734776e25 100644
--- a/doc/snow.txt
+++ b/doc/snow.txt
@@ -230,6 +230,68 @@ block_max_depth
quant_table
quantiztation table
+
+Highlevel bitstream structure:
+=============================
+ --------------------------------------------
+| Header |
+ --------------------------------------------
+| ------------------------------------ |
+| | Block0 | |
+| | split? | |
+| | yes no | |
+| | ......... intra? | |
+| | : Block01 : yes no | |
+| | : Block02 : ....... .......... | |
+| | : Block03 : : y DC : : ref index: | |
+| | : Block04 : : cb DC : : motion x : | |
+| | ......... : cr DC : : motion y : | |
+| | ....... .......... | |
+| ------------------------------------ |
+| ------------------------------------ |
+| | Block1 | |
+| ... |
+ --------------------------------------------
+| ------------ ------------ ------------ |
+|| Y subbands | | Cb subbands| | Cr subbands||
+|| --- --- | | --- --- | | --- --- ||
+|| |LL0||HL0| | | |LL0||HL0| | | |LL0||HL0| ||
+|| --- --- | | --- --- | | --- --- ||
+|| --- --- | | --- --- | | --- --- ||
+|| |LH0||HH0| | | |LH0||HH0| | | |LH0||HH0| ||
+|| --- --- | | --- --- | | --- --- ||
+|| --- --- | | --- --- | | --- --- ||
+|| |HL1||LH1| | | |HL1||LH1| | | |HL1||LH1| ||
+|| --- --- | | --- --- | | --- --- ||
+|| --- --- | | --- --- | | --- --- ||
+|| |HH1||HL2| | | |HH1||HL2| | | |HH1||HL2| ||
+|| ... | | ... | | ... ||
+| ------------ ------------ ------------ |
+ --------------------------------------------
+
+Decoding process:
+=================
+
+ ------------
+ | |
+ | Subbands |
+ ------------ | |
+ | | ------------
+ | Intra DC | |
+ | | LL0 subband prediction
+ ------------ |
+ \ Dequantizaton
+ ------------------- \ |
+| Reference frames | \ IDWT
+| ------- ------- | Motion \ |
+||Frame 0| |Frame 1|| Compensation . OBMC v -------
+| ------- ------- | --------------. \------> + --->|Frame n|-->output
+| ------- ------- | -------
+||Frame 2| |Frame 3||<----------------------------------/
+| ... |
+ -------------------
+
+
Range Coder:
============
FIXME