[xiph-commits] r6835 - trunk/theora/doc/spec

silvia at dactyl.lonelymoon.com silvia
Fri Jun 25 13:43:25 PDT 2004


Author: silvia
Date: Fri Jun 25 13:43:25 2004
New Revision: 6835

Added:
trunk/theora/doc/spec/pixel420.eps
trunk/theora/doc/spec/pixel420.fig
trunk/theora/doc/spec/pixel422.eps
trunk/theora/doc/spec/pixel422.fig
trunk/theora/doc/spec/pixel444.eps
trunk/theora/doc/spec/pixel444.fig
Modified:
trunk/theora/doc/spec/Makefile
trunk/theora/doc/spec/spec.tex
Log:
Created figures for pixel formats.
Updated a typo.



Modified: trunk/theora/doc/spec/Makefile
===================================================================
--- trunk/theora/doc/spec/Makefile	2004-06-17 19:39:20 UTC (rev 6834)
+++ trunk/theora/doc/spec/Makefile	2004-06-19 06:10:21 UTC (rev 6835)
@@ -9,13 +9,15 @@
SPEC_SRCS = spec.tex spec.bib

FIG_SRCS = pic-frame.fig hilbert-mb.fig hilbert-block.fig xifish.fig \
-           superblock.fig macroblock.fig raster-block.fig reference-frames.fig
+           superblock.fig macroblock.fig raster-block.fig reference-frames.fig \
+           pixel444.fig pixel422.fig pixel420.fig

FIG_TEXS = $(FIG_SRCS:.fig=.tex)
FIG_AUXS = $(FIG_SRCS:.fig=.aux)

FIG_OBJS = pic-frame.tex hilbert-mb.tex hilbert-block.tex xifish.pdf \
-           superblock.tex macroblock.tex raster-block.tex reference-frames.tex
+           superblock.tex macroblock.tex raster-block.tex reference-frames.tex \
+           pixel444.tex pixel422.tex pixel420.tex

Theora_I_spec.pdf : spec.pdf
$(MV) $< $@

Added: trunk/theora/doc/spec/pixel420.eps
===================================================================
--- trunk/theora/doc/spec/pixel420.eps	2004-06-17 19:39:20 UTC (rev 6834)
+++ trunk/theora/doc/spec/pixel420.eps	2004-06-19 06:10:21 UTC (rev 6835)
@@ -0,0 +1,164 @@
+%!PS-Adobe-2.0 EPSF-2.0
+%%Title: pixel420.fig
+%%Creator: fig2dev Version 3.2 Patchlevel 4
+%%CreationDate: Sat Jun 19 16:01:05 2004
+%%For: silvia at silvia.local (Silvia Pfeiffer)
+%%BoundingBox: 0 0 335 265
+%%Magnification: 1.0000
+%%EndComments
+/$F2psDict 200 dict def
+$F2psDict begin
+$F2psDict /mtrx matrix put
+/col-1 {0 setgray} bind def
+/col0 {0.000 0.000 0.000 srgb} bind def
+/col1 {0.000 0.000 1.000 srgb} bind def
+/col2 {0.000 1.000 0.000 srgb} bind def
+/col3 {0.000 1.000 1.000 srgb} bind def
+/col4 {1.000 0.000 0.000 srgb} bind def
+/col5 {1.000 0.000 1.000 srgb} bind def
+/col6 {1.000 1.000 0.000 srgb} bind def
+/col7 {1.000 1.000 1.000 srgb} bind def
+/col8 {0.000 0.000 0.560 srgb} bind def
+/col9 {0.000 0.000 0.690 srgb} bind def
+/col10 {0.000 0.000 0.820 srgb} bind def
+/col11 {0.530 0.810 1.000 srgb} bind def
+/col12 {0.000 0.560 0.000 srgb} bind def
+/col13 {0.000 0.690 0.000 srgb} bind def
+/col14 {0.000 0.820 0.000 srgb} bind def
+/col15 {0.000 0.560 0.560 srgb} bind def
+/col16 {0.000 0.690 0.690 srgb} bind def
+/col17 {0.000 0.820 0.820 srgb} bind def
+/col18 {0.560 0.000 0.000 srgb} bind def
+/col19 {0.690 0.000 0.000 srgb} bind def
+/col20 {0.820 0.000 0.000 srgb} bind def
+/col21 {0.560 0.000 0.560 srgb} bind def
+/col22 {0.690 0.000 0.690 srgb} bind def
+/col23 {0.820 0.000 0.820 srgb} bind def
+/col24 {0.500 0.190 0.000 srgb} bind def
+/col25 {0.630 0.250 0.000 srgb} bind def
+/col26 {0.750 0.380 0.000 srgb} bind def
+/col27 {1.000 0.500 0.500 srgb} bind def
+/col28 {1.000 0.630 0.630 srgb} bind def
+/col29 {1.000 0.750 0.750 srgb} bind def
+/col30 {1.000 0.880 0.880 srgb} bind def
+/col31 {1.000 0.840 0.000 srgb} bind def
+
+end
+save
+newpath 0 265 moveto 0 0 lineto 335 0 lineto 335 265 lineto closepath clip newpath
+-34.0 313.1 translate
+1 -1 scale
+
+/cp {closepath} bind def
+/ef {eofill} bind def
+/gr {grestore} bind def
+/gs {gsave} bind def
+/sa {save} bind def
+/rs {restore} bind def
+/l {lineto} bind def
+/m {moveto} bind def
+/rm {rmoveto} bind def
+/n {newpath} bind def
+/s {stroke} bind def
+/sh {show} bind def
+/slc {setlinecap} bind def
+/slj {setlinejoin} bind def
+/slw {setlinewidth} bind def
+/srgb {setrgbcolor} bind def
+/rot {rotate} bind def
+/sc {scale} bind def
+/sd {setdash} bind def
+/ff {findfont} bind def
+/sf {setfont} bind def
+/scf {scalefont} bind def
+/sw {stringwidth} bind def
+/tr {translate} bind def
+/tnt {dup dup currentrgbcolor
+  4 -2 roll dup 1 exch sub 3 -1 roll mul add
+  4 -2 roll dup 1 exch sub 3 -1 roll mul add
+  4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb}
+  bind def
+/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul
+  4 -2 roll mul srgb} bind def
+/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def
+/$F2psEnd {$F2psEnteredState restore end} def
+
+$F2psBegin
+10 setmiterlimit
+0 slj 0 slc
+ 0.06299 0.06299 sc
+%
+% Fig objects follow
+%
+%
+% here starts figure with depth 50
+/Times-Roman ff 105.00 scf sf
+613 4943 m
+gs 1 -1 sc (\(0,0\)) col0 sh gr
+% Polyline
+7.500 slw
+n 710 4815 m 928 4815 l 928 4596 l 710 4596 l
+ cp gs col0 s gr
+% Polyline
+n 935 4590 m 1153 4590 l 1153 4371 l 935 4371 l
+ cp gs col0 s gr
+% Polyline
+n 935 4815 m 1153 4815 l 1153 4596 l 935 4596 l
+ cp gs col0 s gr
+% Polyline
+n 1163 4590 m 1401 4590 l 1401 4371 l 1163 4371 l
+ cp gs col0 s gr
+% Polyline
+n 1163 4815 m 1401 4815 l 1401 4596 l 1163 4596 l
+ cp gs col0 s gr
+% Polyline
+n 1409 4590 m 1646 4590 l 1646 4371 l 1409 4371 l
+ cp gs col0 s gr
+% Polyline
+n 1409 4815 m 1646 4815 l 1646 4596 l 1409 4596 l
+ cp gs col0 s gr
+% Polyline
+15.000 slw
+ [90] 0 sd
+n 1665 1350 m 4788 1350 l 4788 4153 l 1665 4153 l
+ cp gs col0 s gr  [] 0 sd
+% Polyline
+ [90] 0 sd
+n 2700 900 m 5823 900 l 5823 3703 l 2700 3703 l
+ cp gs col0 s gr  [] 0 sd
+% Polyline
+ [90] 0 sd
+n 702 2025 m 3825 2025 l 3825 4828 l 702 4828 l
+ cp gs col0 s gr  [] 0 sd
+% Polyline
+7.500 slw
+n 1800 4005 m 2018 4005 l 2018 3786 l 1800 3786 l
+ cp gs col0 s gr
+% Polyline
+n 2160 4005 m 2378 4005 l 2378 3786 l 2160 3786 l
+ cp gs col0 s gr
+% Polyline
+n 2835 3555 m 3053 3555 l 3053 3336 l 2835 3336 l
+ cp gs col0 s gr
+% Polyline
+n 3195 3555 m 3413 3555 l 3413 3336 l 3195 3336 l
+ cp gs col0 s gr
+/Times-Roman ff 120.00 scf sf
+1485 1305 m
+gs 1 -1 sc (Frame: chroma plane Cb) col0 sh gr
+/Times-Roman ff 120.00 scf sf
+2565 855 m
+gs 1 -1 sc (Frame: chroma plane Cr) col0 sh gr
+/Times-Roman ff 120.00 scf sf
+540 1980 m
+gs 1 -1 sc (Frame: luma planeY') col0 sh gr
+/Times-Roman ff 105.00 scf sf
+765 4320 m
+gs 1 -1 sc (Pixels) col0 sh gr
+% Polyline
+n 710 4590 m 928 4590 l 928 4371 l 710 4371 l
+ cp gs col0 s gr
+% here ends figure;
+$F2psEnd
+rs
+showpage

Added: trunk/theora/doc/spec/pixel420.fig
===================================================================
--- trunk/theora/doc/spec/pixel420.fig	2004-06-17 19:39:20 UTC (rev 6834)
+++ trunk/theora/doc/spec/pixel420.fig	2004-06-19 06:10:21 UTC (rev 6835)
@@ -0,0 +1,56 @@
+#FIG 3.2
+Landscape
+Center
+Metric
+A4
+100.00
+Single
+-2
+1200 2
+6 675 4365 1170 4815
+6 675 4365 945 4590
+6 675 4365 945 4590
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 710 4590 928 4590 928 4371 710 4371 710 4590
+-6
+-6
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 710 4815 928 4815 928 4596 710 4596 710 4815
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 935 4590 1153 4590 1153 4371 935 4371 935 4590
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 935 4815 1153 4815 1153 4596 935 4596 935 4815
+-6
+6 1125 4365 1646 4815
+6 1125 4365 1420 4590
+6 1125 4365 1420 4590
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 1163 4590 1401 4590 1401 4371 1163 4371 1163 4590
+-6
+-6
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 1163 4815 1401 4815 1401 4596 1163 4596 1163 4815
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 1409 4590 1646 4590 1646 4371 1409 4371 1409 4590
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 1409 4815 1646 4815 1646 4596 1409 4596 1409 4815
+-6
+2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5
+	 1665 1350 4788 1350 4788 4153 1665 4153 1665 1350
+2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5
+	 2700 900 5823 900 5823 3703 2700 3703 2700 900
+2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5
+	 702 2025 3825 2025 3825 4828 702 4828 702 2025
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 1800 4005 2018 4005 2018 3786 1800 3786 1800 4005
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 2160 4005 2378 4005 2378 3786 2160 3786 2160 4005
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 2835 3555 3053 3555 3053 3336 2835 3336 2835 3555
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 3195 3555 3413 3555 3413 3336 3195 3336 3195 3555
+4 0 0 50 -1 0 8 0.0000 4 105 1215 1485 1305 Frame: chroma plane Cb\001
+4 0 0 50 -1 0 8 0.0000 4 105 1200 2565 855 Frame: chroma plane Cr\001
+4 0 0 50 -1 0 8 0.0000 4 105 1035 540 1980 Frame: luma planeY'\001
+4 0 0 50 -1 0 7 0.0000 4 75 285 765 4320 Pixels\001
+4 0 0 50 -1 0 7 0.0000 4 90 210 613 4943 (0,0)\001

Added: trunk/theora/doc/spec/pixel422.eps
===================================================================
--- trunk/theora/doc/spec/pixel422.eps	2004-06-17 19:39:20 UTC (rev 6834)
+++ trunk/theora/doc/spec/pixel422.eps	2004-06-19 06:10:21 UTC (rev 6835)
@@ -0,0 +1,180 @@
+%!PS-Adobe-2.0 EPSF-2.0
+%%Title: pixel422.fig
+%%Creator: fig2dev Version 3.2 Patchlevel 4
+%%CreationDate: Sat Jun 19 15:48:28 2004
+%%For: silvia at silvia.local (Silvia Pfeiffer)
+%%BoundingBox: 0 0 335 265
+%%Magnification: 1.0000
+%%EndComments
+/$F2psDict 200 dict def
+$F2psDict begin
+$F2psDict /mtrx matrix put
+/col-1 {0 setgray} bind def
+/col0 {0.000 0.000 0.000 srgb} bind def
+/col1 {0.000 0.000 1.000 srgb} bind def
+/col2 {0.000 1.000 0.000 srgb} bind def
+/col3 {0.000 1.000 1.000 srgb} bind def
+/col4 {1.000 0.000 0.000 srgb} bind def
+/col5 {1.000 0.000 1.000 srgb} bind def
+/col6 {1.000 1.000 0.000 srgb} bind def
+/col7 {1.000 1.000 1.000 srgb} bind def
+/col8 {0.000 0.000 0.560 srgb} bind def
+/col9 {0.000 0.000 0.690 srgb} bind def
+/col10 {0.000 0.000 0.820 srgb} bind def
+/col11 {0.530 0.810 1.000 srgb} bind def
+/col12 {0.000 0.560 0.000 srgb} bind def
+/col13 {0.000 0.690 0.000 srgb} bind def
+/col14 {0.000 0.820 0.000 srgb} bind def
+/col15 {0.000 0.560 0.560 srgb} bind def
+/col16 {0.000 0.690 0.690 srgb} bind def
+/col17 {0.000 0.820 0.820 srgb} bind def
+/col18 {0.560 0.000 0.000 srgb} bind def
+/col19 {0.690 0.000 0.000 srgb} bind def
+/col20 {0.820 0.000 0.000 srgb} bind def
+/col21 {0.560 0.000 0.560 srgb} bind def
+/col22 {0.690 0.000 0.690 srgb} bind def
+/col23 {0.820 0.000 0.820 srgb} bind def
+/col24 {0.500 0.190 0.000 srgb} bind def
+/col25 {0.630 0.250 0.000 srgb} bind def
+/col26 {0.750 0.380 0.000 srgb} bind def
+/col27 {1.000 0.500 0.500 srgb} bind def
+/col28 {1.000 0.630 0.630 srgb} bind def
+/col29 {1.000 0.750 0.750 srgb} bind def
+/col30 {1.000 0.880 0.880 srgb} bind def
+/col31 {1.000 0.840 0.000 srgb} bind def
+
+end
+save
+newpath 0 265 moveto 0 0 lineto 335 0 lineto 335 265 lineto closepath clip newpath
+-34.0 313.1 translate
+1 -1 scale
+
+/cp {closepath} bind def
+/ef {eofill} bind def
+/gr {grestore} bind def
+/gs {gsave} bind def
+/sa {save} bind def
+/rs {restore} bind def
+/l {lineto} bind def
+/m {moveto} bind def
+/rm {rmoveto} bind def
+/n {newpath} bind def
+/s {stroke} bind def
+/sh {show} bind def
+/slc {setlinecap} bind def
+/slj {setlinejoin} bind def
+/slw {setlinewidth} bind def
+/srgb {setrgbcolor} bind def
+/rot {rotate} bind def
+/sc {scale} bind def
+/sd {setdash} bind def
+/ff {findfont} bind def
+/sf {setfont} bind def
+/scf {scalefont} bind def
+/sw {stringwidth} bind def
+/tr {translate} bind def
+/tnt {dup dup currentrgbcolor
+  4 -2 roll dup 1 exch sub 3 -1 roll mul add
+  4 -2 roll dup 1 exch sub 3 -1 roll mul add
+  4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb}
+  bind def
+/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul
+  4 -2 roll mul srgb} bind def
+/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def
+/$F2psEnd {$F2psEnteredState restore end} def
+
+$F2psBegin
+10 setmiterlimit
+0 slj 0 slc
+ 0.06299 0.06299 sc
+%
+% Fig objects follow
+%
+%
+% here starts figure with depth 50
+/Times-Roman ff 105.00 scf sf
+613 4943 m
+gs 1 -1 sc (\(0,0\)) col0 sh gr
+% Polyline
+7.500 slw
+n 710 4815 m 928 4815 l 928 4596 l 710 4596 l
+ cp gs col0 s gr
+% Polyline
+n 935 4590 m 1153 4590 l 1153 4371 l 935 4371 l
+ cp gs col0 s gr
+% Polyline
+n 935 4815 m 1153 4815 l 1153 4596 l 935 4596 l
+ cp gs col0 s gr
+% Polyline
+n 1163 4590 m 1401 4590 l 1401 4371 l 1163 4371 l
+ cp gs col0 s gr
+% Polyline
+n 1163 4815 m 1401 4815 l 1401 4596 l 1163 4596 l
+ cp gs col0 s gr
+% Polyline
+n 1409 4590 m 1646 4590 l 1646 4371 l 1409 4371 l
+ cp gs col0 s gr
+% Polyline
+n 1409 4815 m 1646 4815 l 1646 4596 l 1409 4596 l
+ cp gs col0 s gr
+% Polyline
+n 1807 3909 m 2025 3909 l 2025 3690 l 1807 3690 l
+ cp gs col0 s gr
+% Polyline
+n 1807 4140 m 2025 4140 l 2025 3921 l 1807 3921 l
+ cp gs col0 s gr
+% Polyline
+n 2167 3909 m 2385 3909 l 2385 3690 l 2167 3690 l
+ cp gs col0 s gr
+% Polyline
+n 2167 4140 m 2385 4140 l 2385 3921 l 2167 3921 l
+ cp gs col0 s gr
+% Polyline
+n 3202 3459 m 3420 3459 l 3420 3240 l 3202 3240 l
+ cp gs col0 s gr
+% Polyline
+n 3202 3690 m 3420 3690 l 3420 3471 l 3202 3471 l
+ cp gs col0 s gr
+% Polyline
+15.000 slw
+ [90] 0 sd
+n 1665 1350 m 4788 1350 l 4788 4153 l 1665 4153 l
+ cp gs col0 s gr  [] 0 sd
+% Polyline
+7.500 slw
+n 2842 3459 m 3060 3459 l 3060 3240 l 2842 3240 l
+ cp gs col0 s gr
+% Polyline
+15.000 slw
+ [90] 0 sd
+n 2700 900 m 5823 900 l 5823 3703 l 2700 3703 l
+ cp gs col0 s gr  [] 0 sd
+% Polyline
+7.500 slw
+n 2842 3690 m 3060 3690 l 3060 3471 l 2842 3471 l
+ cp gs col0 s gr
+% Polyline
+15.000 slw
+ [90] 0 sd
+n 702 2025 m 3825 2025 l 3825 4828 l 702 4828 l
+ cp gs col0 s gr  [] 0 sd
+/Times-Roman ff 120.00 scf sf
+1485 1305 m
+gs 1 -1 sc (Frame: chroma plane Cb) col0 sh gr
+/Times-Roman ff 120.00 scf sf
+2565 855 m
+gs 1 -1 sc (Frame: chroma plane Cr) col0 sh gr
+/Times-Roman ff 120.00 scf sf
+540 1980 m
+gs 1 -1 sc (Frame: luma planeY') col0 sh gr
+/Times-Roman ff 105.00 scf sf
+765 4320 m
+gs 1 -1 sc (Pixels) col0 sh gr
+% Polyline
+7.500 slw
+n 710 4590 m 928 4590 l 928 4371 l 710 4371 l
+ cp gs col0 s gr
+% here ends figure;
+$F2psEnd
+rs
+showpage

Added: trunk/theora/doc/spec/pixel422.fig
===================================================================
--- trunk/theora/doc/spec/pixel422.fig	2004-06-17 19:39:20 UTC (rev 6834)
+++ trunk/theora/doc/spec/pixel422.fig	2004-06-19 06:10:21 UTC (rev 6835)
@@ -0,0 +1,70 @@
+#FIG 3.2
+Landscape
+Center
+Metric
+A4
+100.00
+Single
+-2
+1200 2
+6 675 4365 1170 4815
+6 675 4365 945 4590
+6 675 4365 945 4590
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 710 4590 928 4590 928 4371 710 4371 710 4590
+-6
+-6
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 710 4815 928 4815 928 4596 710 4596 710 4815
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 935 4590 1153 4590 1153 4371 935 4371 935 4590
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 935 4815 1153 4815 1153 4596 935 4596 935 4815
+-6
+6 1125 4365 1646 4815
+6 1125 4365 1420 4590
+6 1125 4365 1420 4590
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 1163 4590 1401 4590 1401 4371 1163 4371 1163 4590
+-6
+-6
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 1163 4815 1401 4815 1401 4596 1163 4596 1163 4815
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 1409 4590 1646 4590 1646 4371 1409 4371 1409 4590
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 1409 4815 1646 4815 1646 4596 1409 4596 1409 4815
+-6
+6 1800 3690 2025 4140
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 1807 3909 2025 3909 2025 3690 1807 3690 1807 3909
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 1807 4140 2025 4140 2025 3921 1807 3921 1807 4140
+-6
+6 2160 3690 2385 4140
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 2167 3909 2385 3909 2385 3690 2167 3690 2167 3909
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 2167 4140 2385 4140 2385 3921 2167 3921 2167 4140
+-6
+6 3195 3240 3420 3690
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 3202 3459 3420 3459 3420 3240 3202 3240 3202 3459
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 3202 3690 3420 3690 3420 3471 3202 3471 3202 3690
+-6
+2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5
+	 1665 1350 4788 1350 4788 4153 1665 4153 1665 1350
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 2842 3459 3060 3459 3060 3240 2842 3240 2842 3459
+2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5
+	 2700 900 5823 900 5823 3703 2700 3703 2700 900
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 2842 3690 3060 3690 3060 3471 2842 3471 2842 3690
+2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5
+	 702 2025 3825 2025 3825 4828 702 4828 702 2025
+4 0 0 50 -1 0 8 0.0000 4 105 1215 1485 1305 Frame: chroma plane Cb\001
+4 0 0 50 -1 0 8 0.0000 4 105 1200 2565 855 Frame: chroma plane Cr\001
+4 0 0 50 -1 0 8 0.0000 4 105 1035 540 1980 Frame: luma planeY'\001
+4 0 0 50 -1 0 7 0.0000 4 75 285 765 4320 Pixels\001
+4 0 0 50 -1 0 7 0.0000 4 90 210 613 4943 (0,0)\001

Added: trunk/theora/doc/spec/pixel444.eps
===================================================================
--- trunk/theora/doc/spec/pixel444.eps	2004-06-17 19:39:20 UTC (rev 6834)
+++ trunk/theora/doc/spec/pixel444.eps	2004-06-19 06:10:21 UTC (rev 6835)
@@ -0,0 +1,164 @@
+%!PS-Adobe-2.0 EPSF-2.0
+%%Title: pixel444.fig
+%%Creator: fig2dev Version 3.2 Patchlevel 4
+%%CreationDate: Sat Jun 19 09:11:50 2004
+%%For: silvia at silvia.local (Silvia Pfeiffer)
+%%BoundingBox: 0 0 335 265
+%%Magnification: 1.0000
+%%EndComments
+/$F2psDict 200 dict def
+$F2psDict begin
+$F2psDict /mtrx matrix put
+/col-1 {0 setgray} bind def
+/col0 {0.000 0.000 0.000 srgb} bind def
+/col1 {0.000 0.000 1.000 srgb} bind def
+/col2 {0.000 1.000 0.000 srgb} bind def
+/col3 {0.000 1.000 1.000 srgb} bind def
+/col4 {1.000 0.000 0.000 srgb} bind def
+/col5 {1.000 0.000 1.000 srgb} bind def
+/col6 {1.000 1.000 0.000 srgb} bind def
+/col7 {1.000 1.000 1.000 srgb} bind def
+/col8 {0.000 0.000 0.560 srgb} bind def
+/col9 {0.000 0.000 0.690 srgb} bind def
+/col10 {0.000 0.000 0.820 srgb} bind def
+/col11 {0.530 0.810 1.000 srgb} bind def
+/col12 {0.000 0.560 0.000 srgb} bind def
+/col13 {0.000 0.690 0.000 srgb} bind def
+/col14 {0.000 0.820 0.000 srgb} bind def
+/col15 {0.000 0.560 0.560 srgb} bind def
+/col16 {0.000 0.690 0.690 srgb} bind def
+/col17 {0.000 0.820 0.820 srgb} bind def
+/col18 {0.560 0.000 0.000 srgb} bind def
+/col19 {0.690 0.000 0.000 srgb} bind def
+/col20 {0.820 0.000 0.000 srgb} bind def
+/col21 {0.560 0.000 0.560 srgb} bind def
+/col22 {0.690 0.000 0.690 srgb} bind def
+/col23 {0.820 0.000 0.820 srgb} bind def
+/col24 {0.500 0.190 0.000 srgb} bind def
+/col25 {0.630 0.250 0.000 srgb} bind def
+/col26 {0.750 0.380 0.000 srgb} bind def
+/col27 {1.000 0.500 0.500 srgb} bind def
+/col28 {1.000 0.630 0.630 srgb} bind def
+/col29 {1.000 0.750 0.750 srgb} bind def
+/col30 {1.000 0.880 0.880 srgb} bind def
+/col31 {1.000 0.840 0.000 srgb} bind def
+
+end
+save
+newpath 0 265 moveto 0 0 lineto 335 0 lineto 335 265 lineto closepath clip newpath
+-34.0 313.1 translate
+1 -1 scale
+
+/cp {closepath} bind def
+/ef {eofill} bind def
+/gr {grestore} bind def
+/gs {gsave} bind def
+/sa {save} bind def
+/rs {restore} bind def
+/l {lineto} bind def
+/m {moveto} bind def
+/rm {rmoveto} bind def
+/n {newpath} bind def
+/s {stroke} bind def
+/sh {show} bind def
+/slc {setlinecap} bind def
+/slj {setlinejoin} bind def
+/slw {setlinewidth} bind def
+/srgb {setrgbcolor} bind def
+/rot {rotate} bind def
+/sc {scale} bind def
+/sd {setdash} bind def
+/ff {findfont} bind def
+/sf {setfont} bind def
+/scf {scalefont} bind def
+/sw {stringwidth} bind def
+/tr {translate} bind def
+/tnt {dup dup currentrgbcolor
+  4 -2 roll dup 1 exch sub 3 -1 roll mul add
+  4 -2 roll dup 1 exch sub 3 -1 roll mul add
+  4 -2 roll dup 1 exch sub 3 -1 roll mul add srgb}
+  bind def
+/shd {dup dup currentrgbcolor 4 -2 roll mul 4 -2 roll mul
+  4 -2 roll mul srgb} bind def
+/$F2psBegin {$F2psDict begin /$F2psEnteredState save def} def
+/$F2psEnd {$F2psEnteredState restore end} def
+
+$F2psBegin
+10 setmiterlimit
+0 slj 0 slc
+ 0.06299 0.06299 sc
+%
+% Fig objects follow
+%
+%
+% here starts figure with depth 50
+/Times-Roman ff 105.00 scf sf
+613 4943 m
+gs 1 -1 sc (\(0,0\)) col0 sh gr
+% Polyline
+15.000 slw
+ [90] 0 sd
+n 1665 1350 m 4788 1350 l 4788 4153 l 1665 4153 l
+ cp gs col0 s gr  [] 0 sd
+% Polyline
+ [90] 0 sd
+n 2700 900 m 5823 900 l 5823 3703 l 2700 3703 l
+ cp gs col0 s gr  [] 0 sd
+% Polyline
+7.500 slw
+n 710 4590 m 928 4590 l 928 4371 l 710 4371 l
+ cp gs col0 s gr
+% Polyline
+n 935 4590 m 1153 4590 l 1153 4371 l 935 4371 l
+ cp gs col0 s gr
+% Polyline
+n 935 4815 m 1153 4815 l 1153 4596 l 935 4596 l
+ cp gs col0 s gr
+% Polyline
+n 710 4815 m 928 4815 l 928 4596 l 710 4596 l
+ cp gs col0 s gr
+% Polyline
+n 1700 3915 m 1918 3915 l 1918 3696 l 1700 3696 l
+ cp gs col0 s gr
+% Polyline
+n 1925 3915 m 2143 3915 l 2143 3696 l 1925 3696 l
+ cp gs col0 s gr
+% Polyline
+n 1925 4140 m 2143 4140 l 2143 3921 l 1925 3921 l
+ cp gs col0 s gr
+% Polyline
+n 1700 4140 m 1918 4140 l 1918 3921 l 1700 3921 l
+ cp gs col0 s gr
+% Polyline
+n 2735 3465 m 2953 3465 l 2953 3246 l 2735 3246 l
+ cp gs col0 s gr
+% Polyline
+n 2960 3465 m 3178 3465 l 3178 3246 l 2960 3246 l
+ cp gs col0 s gr
+% Polyline
+n 2960 3690 m 3178 3690 l 3178 3471 l 2960 3471 l
+ cp gs col0 s gr
+% Polyline
+n 2735 3690 m 2953 3690 l 2953 3471 l 2735 3471 l
+ cp gs col0 s gr
+/Times-Roman ff 120.00 scf sf
+1485 1305 m
+gs 1 -1 sc (Frame: chroma plane Cb) col0 sh gr
+/Times-Roman ff 120.00 scf sf
+2565 855 m
+gs 1 -1 sc (Frame: chroma plane Cr) col0 sh gr
+/Times-Roman ff 120.00 scf sf
+540 1980 m
+gs 1 -1 sc (Frame: luma planeY') col0 sh gr
+/Times-Roman ff 105.00 scf sf
+765 4320 m
+gs 1 -1 sc (Pixels) col0 sh gr
+% Polyline
+15.000 slw
+ [90] 0 sd
+n 702 2025 m 3825 2025 l 3825 4828 l 702 4828 l
+ cp gs col0 s gr  [] 0 sd
+% here ends figure;
+$F2psEnd
+rs
+showpage

Added: trunk/theora/doc/spec/pixel444.fig
===================================================================
--- trunk/theora/doc/spec/pixel444.fig	2004-06-17 19:39:20 UTC (rev 6834)
+++ trunk/theora/doc/spec/pixel444.fig	2004-06-19 06:10:21 UTC (rev 6835)
@@ -0,0 +1,44 @@
+#FIG 3.2
+Landscape
+Center
+Metric
+A4
+100.00
+Single
+-2
+1200 2
+2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5
+	 702 2025 3825 2025 3825 4828 702 4828 702 2025
+2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5
+	 1665 1350 4788 1350 4788 4153 1665 4153 1665 1350
+2 2 1 2 0 7 50 -1 -1 6.000 0 0 -1 0 0 5
+	 2700 900 5823 900 5823 3703 2700 3703 2700 900
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 710 4590 928 4590 928 4371 710 4371 710 4590
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 935 4590 1153 4590 1153 4371 935 4371 935 4590
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 935 4815 1153 4815 1153 4596 935 4596 935 4815
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 710 4815 928 4815 928 4596 710 4596 710 4815
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 1700 3915 1918 3915 1918 3696 1700 3696 1700 3915
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 1925 3915 2143 3915 2143 3696 1925 3696 1925 3915
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 1925 4140 2143 4140 2143 3921 1925 3921 1925 4140
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 1700 4140 1918 4140 1918 3921 1700 3921 1700 4140
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 2735 3465 2953 3465 2953 3246 2735 3246 2735 3465
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 2960 3465 3178 3465 3178 3246 2960 3246 2960 3465
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 2960 3690 3178 3690 3178 3471 2960 3471 2960 3690
+2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
+	 2735 3690 2953 3690 2953 3471 2735 3471 2735 3690
+4 0 0 50 -1 0 8 0.0000 4 105 1215 1485 1305 Frame: chroma plane Cb\001
+4 0 0 50 -1 0 8 0.0000 4 105 1200 2565 855 Frame: chroma plane Cr\001
+4 0 0 50 -1 0 8 0.0000 4 105 1035 540 1980 Frame: luma planeY'\001
+4 0 0 50 -1 0 7 0.0000 4 75 285 765 4320 Pixels\001
+4 0 0 50 -1 0 7 0.0000 4 90 210 613 4943 (0,0)\001

Modified: trunk/theora/doc/spec/spec.tex
===================================================================
--- trunk/theora/doc/spec/spec.tex	2004-06-17 19:39:20 UTC (rev 6834)
+++ trunk/theora/doc/spec/spec.tex	2004-06-19 06:10:21 UTC (rev 6835)
@@ -588,7 +588,7 @@
%TBT:  blocks, this is essentially true.
%TBT: So lets restrict the differences we emphasize to those of data
%TBT:  organization, which the sentence I just added above does.
-Macro bocks contain information about coding mode and motion vectors for the
+Macro blocks contain information about coding mode and motion vectors for the
corresponding blocks in all color planes.

\begin{figure}[htb]
@@ -706,7 +706,8 @@
\label{tab:zig-zag}
\end{figure}

-Note that the row and column indices refer to {\em frequency number} and not
+\begin{verse}
+{\bf Note:} the row and column indices refer to {\em frequency number} and not
pixel locations.
The frequency numbers are defined independently of the memory organization of
the pixels.
@@ -719,6 +720,7 @@
Due to the right-handed coordinate system used for pixel locations in Theora,
one must note carefully how both pixel values and DCT coefficients are
organized in memory in such a system.
+\end{verse}

DCT coefficient $(0,0)$ is called the \term{DC coefficient}.
All the other coefficients are called \term{AC coefficients}.
@@ -910,7 +912,8 @@
\item Perform loop filtering.
\end{itemize}

-Note that clever rearrangement of the steps in this process is possible.
+\begin{verse}
+{\bf Note:} clever rearrangement of the steps in this process is possible.
As an example, in a memory-constrained environment, one can make multiple
passes through the DCT coefficients to avoid buffering them all in memory.
On the first pass, the starting location of each coefficient is identified, and
@@ -920,6 +923,7 @@
legal.
It may even be a benefit in non-memory-constrained environments due to a
reduced cache footprint.
+\end{verse}

Theora makes equivalence easy to check by defining all decoding operations in
terms of exact integer operations.
@@ -1356,7 +1360,8 @@
This can be used directly by systems (B, B1, D, D1, G, H, I, K, N)/PAL and (B,
D, G, H, K, K1, L)/SECAM\@.

-Note that the Rec.~470BG chromaticity values are different from those
+\begin{verse}
+{\bf Note:} the Rec.~470BG chromaticity values are different from those
specified in Rec.~470M\@.
When PAL and SECAM systems were first designed, they were based upon the same
primaries as NTSC\@.
@@ -1366,6 +1371,7 @@
standard NTSC primaries.
Current PAL and SECAM systems have standardized on primaries in accord with
more recent technology.
+\end{verse}

Rec.~470 provisionally permits the use of the NTSC chromaticity values (given
in Section~\ref{sec:470m}) with legacy PAL and SECAM equipment.
@@ -1420,9 +1426,17 @@
\subsection{4:4:4 Subsampling}
\label{sec:444}

-All three color planes are stored at full resolution.
+All three color planes are stored at full resolution - each pixel has a $Y'$, a $C_b$ and a $C_r$ value (see Figure~\ref{fig:pixel444}).
The samples in the different planes are all at co-located sites.

+\begin{figure}[htb]
+\begin{center}
+\include{pixel444}
+\end{center}
+\caption{Pixels encoded 4:4:4}
+\label{fig:pixel444}
+\end{figure}
+
%TODO: Figure.
%YRB         YRB
%
@@ -1440,7 +1454,7 @@
The $C_b$ and $C_r$ planes are stored with half the horizontal resolution of
the $Y'$ plane.
Thus, each of these planes has half the number of horizontal blocks as the luma
- plane.
+ plane (see Figure~\ref{fig:pixel422}).
Similarly, they have half the number of horizontal super blocks, rounded up.
Macro blocks are defined across color planes, and so their number does not
change, but each macro block contains half as many chroma blocks.
@@ -1451,6 +1465,14 @@
A horizontal phase shift may be required to produce signals which use different
horizontal chroma sampling locations for compatibility with different systems.

+\begin{figure}[htb]
+\begin{center}
+\include{pixel422}
+\end{center}
+\caption{Pixels encoded 4:2:2}
+\label{fig:pixel422}
+\end{figure}
+
%TODO: Figure.
%Y     RB    Y           Y     RB    Y
%
@@ -1468,7 +1490,7 @@
vertical resolution of the $Y'$ plane.
Thus, each of these planes has half the number of horizontal blocks and half
the number of vertical blocks as the luma plane, for a total of one quarter
- the number of blocks.
+ the number of blocks (see Figure~\ref{fig:pixel420}).
Similarly, they have half the number of horizontal super blocks and half the
number of vertical super blocks, rounded up.
Macro blocks are defined across color planes, and so their number does not
@@ -1484,6 +1506,14 @@
use different chroma sampling locations for compatibility with different
systems.

+\begin{figure}[htb]
+\begin{center}
+\include{pixel420}
+\end{center}
+\caption{Pixels encoded 4:2:0}
+\label{fig:pixel420}
+\end{figure}
+
%TODO: Figure.
%Y           Y           Y           Y
%



More information about the commits mailing list