home *** CD-ROM | disk | FTP | other *** search
/ ftp.pasteur.org/FAQ/ / ftp-pasteur-org-FAQ.zip / FAQ / mpeg-faq / part3 < prev    next >
Mailbox/MIME Entity  |  1996-11-10  |  55.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: Mailbox/MIME Entity (archive/mbox).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Newsgroup Content (archive/news) magic Supported
99% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file news, Non-ISO extended-ASCII text default
100% TrID PrintFox/Pagefox bitmap (640x800) default (weak)
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/950 MIME Email (1.0) default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime message/news default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 73 65 | 6e 61 74 6f 72 2d 62 65 |Path: se|nator-be|
|00000010| 64 66 65 6c 6c 6f 77 2e | 6d 69 74 2e 65 64 75 21 |dfellow.|mit.edu!|
|00000020| 62 6c 6f 6f 6d 2d 62 65 | 61 63 6f 6e 2e 6d 69 74 |bloom-be|acon.mit|
|00000030| 2e 65 64 75 21 6e 65 77 | 73 2e 6d 61 74 68 77 6f |.edu!new|s.mathwo|
|00000040| 72 6b 73 2e 63 6f 6d 21 | 66 75 2d 62 65 72 6c 69 |rks.com!|fu-berli|
|00000050| 6e 2e 64 65 21 63 73 2e | 74 75 2d 62 65 72 6c 69 |n.de!cs.|tu-berli|
|00000060| 6e 2e 64 65 21 70 68 61 | 64 65 0a 46 72 6f 6d 3a |n.de!pha|de.From:|
|00000070| 20 70 68 61 64 65 40 63 | 73 2e 74 75 2d 62 65 72 | phade@c|s.tu-ber|
|00000080| 6c 69 6e 2e 64 65 20 28 | 46 72 61 6e 6b 20 47 61 |lin.de (|Frank Ga|
|00000090| 64 65 67 61 73 74 29 0a | 4e 65 77 73 67 72 6f 75 |degast).|Newsgrou|
|000000a0| 70 73 3a 20 61 6c 74 2e | 61 6e 73 77 65 72 73 2c |ps: alt.|answers,|
|000000b0| 63 6f 6d 70 2e 61 6e 73 | 77 65 72 73 2c 6e 65 77 |comp.ans|wers,new|
|000000c0| 73 2e 61 6e 73 77 65 72 | 73 0a 53 75 62 6a 65 63 |s.answer|s.Subjec|
|000000d0| 74 3a 20 4d 50 45 47 2d | 46 41 51 3a 20 6d 75 6c |t: MPEG-|FAQ: mul|
|000000e0| 74 69 6d 65 64 69 61 20 | 63 6f 6d 70 72 65 73 73 |timedia |compress|
|000000f0| 69 6f 6e 20 5b 33 2f 39 | 5d 0a 46 6f 6c 6c 6f 77 |ion [3/9|].Follow|
|00000100| 75 70 2d 54 6f 3a 20 61 | 6c 74 2e 62 69 6e 61 72 |up-To: a|lt.binar|
|00000110| 69 65 73 2e 6d 75 6c 74 | 69 6d 65 64 69 61 0a 44 |ies.mult|imedia.D|
|00000120| 61 74 65 3a 20 39 20 4e | 6f 76 20 31 39 39 36 20 |ate: 9 N|ov 1996 |
|00000130| 30 39 3a 33 32 3a 35 39 | 20 47 4d 54 0a 4f 72 67 |09:32:59| GMT.Org|
|00000140| 61 6e 69 7a 61 74 69 6f | 6e 3a 20 54 65 63 68 6e |anizatio|n: Techn|
|00000150| 69 63 61 6c 20 55 6e 69 | 76 65 72 73 69 74 79 20 |ical Uni|versity |
|00000160| 6f 66 20 42 65 72 6c 69 | 6e 2c 20 47 65 72 6d 61 |of Berli|n, Germa|
|00000170| 6e 79 0a 4c 69 6e 65 73 | 3a 20 31 33 30 35 0a 41 |ny.Lines|: 1305.A|
|00000180| 70 70 72 6f 76 65 64 3a | 20 6e 65 77 73 2d 61 6e |pproved:| news-an|
|00000190| 73 77 65 72 73 2d 72 65 | 71 75 65 73 74 40 4d 49 |swers-re|quest@MI|
|000001a0| 54 2e 45 44 55 0a 45 78 | 70 69 72 65 73 3a 20 33 |T.EDU.Ex|pires: 3|
|000001b0| 31 20 44 65 63 20 31 39 | 39 36 20 31 32 3a 30 30 |1 Dec 19|96 12:00|
|000001c0| 3a 30 30 20 47 4d 54 0a | 4d 65 73 73 61 67 65 2d |:00 GMT.|Message-|
|000001d0| 49 44 3a 20 3c 35 36 31 | 6a 34 62 24 6f 74 73 24 |ID: <561|j4b$ots$|
|000001e0| 31 40 6e 65 77 73 2e 63 | 73 2e 74 75 2d 62 65 72 |1@news.c|s.tu-ber|
|000001f0| 6c 69 6e 2e 64 65 3e 0a | 52 65 70 6c 79 2d 54 6f |lin.de>.|Reply-To|
|00000200| 3a 20 6d 70 65 67 66 61 | 71 40 70 6f 77 65 72 77 |: mpegfa|q@powerw|
|00000210| 65 62 2e 64 65 0a 4e 4e | 54 50 2d 50 6f 73 74 69 |eb.de.NN|TP-Posti|
|00000220| 6e 67 2d 48 6f 73 74 3a | 20 31 33 30 2e 31 34 39 |ng-Host:| 130.149|
|00000230| 2e 32 32 2e 32 30 0a 4d | 69 6d 65 2d 56 65 72 73 |.22.20.M|ime-Vers|
|00000240| 69 6f 6e 3a 20 31 2e 30 | 0a 43 6f 6e 74 65 6e 74 |ion: 1.0|.Content|
|00000250| 2d 54 79 70 65 3a 20 74 | 65 78 74 2f 70 6c 61 69 |-Type: t|ext/plai|
|00000260| 6e 3b 20 63 68 61 72 73 | 65 74 3d 69 73 6f 2d 38 |n; chars|et=iso-8|
|00000270| 38 35 39 2d 31 0a 43 6f | 6e 74 65 6e 74 2d 54 72 |859-1.Co|ntent-Tr|
|00000280| 61 6e 73 66 65 72 2d 45 | 6e 63 6f 64 69 6e 67 3a |ansfer-E|ncoding:|
|00000290| 20 38 62 69 74 0a 53 75 | 6d 6d 61 72 79 3a 20 54 | 8bit.Su|mmary: T|
|000002a0| 68 69 73 20 69 73 20 74 | 68 65 20 73 75 6d 6d 61 |his is t|he summa|
|000002b0| 72 79 20 61 62 6f 75 74 | 20 74 68 65 20 49 53 4f |ry about| the ISO|
|000002c0| 20 76 69 64 65 6f 20 61 | 6e 64 20 61 75 64 69 6f | video a|nd audio|
|000002d0| 66 6f 72 6d 61 74 73 20 | 4d 50 45 47 20 31 2c 20 |formats |MPEG 1, |
|000002e0| 32 20 61 6e 64 20 34 0a | 4b 65 79 77 6f 72 64 73 |2 and 4.|Keywords|
|000002f0| 3a 20 4d 50 45 47 2c 20 | 46 41 51 2c 20 43 6f 6d |: MPEG, |FAQ, Com|
|00000300| 70 72 65 73 73 69 6f 6e | 0a 58 72 65 66 3a 20 73 |pression|.Xref: s|
|00000310| 65 6e 61 74 6f 72 2d 62 | 65 64 66 65 6c 6c 6f 77 |enator-b|edfellow|
|00000320| 2e 6d 69 74 2e 65 64 75 | 20 61 6c 74 2e 61 6e 73 |.mit.edu| alt.ans|
|00000330| 77 65 72 73 3a 32 31 36 | 39 36 20 63 6f 6d 70 2e |wers:216|96 comp.|
|00000340| 61 6e 73 77 65 72 73 3a | 32 32 33 30 36 20 6e 65 |answers:|22306 ne|
|00000350| 77 73 2e 61 6e 73 77 65 | 72 73 3a 38 36 34 32 31 |ws.answe|rs:86421|
|00000360| 0a 0a 41 72 63 68 69 76 | 65 2d 6e 61 6d 65 3a 20 |..Archiv|e-name: |
|00000370| 6d 70 65 67 2d 66 61 71 | 2f 70 61 72 74 33 0a 4c |mpeg-faq|/part3.L|
|00000380| 61 73 74 2d 6d 6f 64 69 | 66 69 65 64 3a 20 31 39 |ast-modi|fied: 19|
|00000390| 39 36 2f 30 36 2f 30 32 | 0a 56 65 72 73 69 6f 6e |96/06/02|.Version|
|000003a0| 3a 20 76 20 34 2e 31 20 | 39 36 2f 30 36 2f 30 32 |: v 4.1 |96/06/02|
|000003b0| 0a 50 6f 73 74 69 6e 67 | 2d 46 72 65 71 75 65 6e |.Posting|-Frequen|
|000003c0| 63 79 3a 20 62 69 6d 6f | 6e 74 68 6c 79 0a 0a 66 |cy: bimo|nthly..f|
|000003d0| 72 61 6d 65 0a 46 69 65 | 6c 64 20 70 72 65 64 69 |rame.Fie|ld predi|
|000003e0| 63 74 65 64 0a 31 2e 20 | 61 20 6c 6f 77 2d 63 6f |cted.1. |a low-co|
|000003f0| 73 74 20 65 6e 63 6f 64 | 65 72 20 77 68 69 63 68 |st encod|er which|
|00000400| 20 6f 6e 6c 79 20 70 6f | 73 73 65 73 73 65 73 20 | only po|ssesses |
|00000410| 66 72 61 6d 65 20 0a 6d | 6f 74 69 6f 6e 20 65 73 |frame .m|otion es|
|00000420| 74 69 6d 61 74 69 6f 6e | 20 6d 61 79 20 75 73 65 |timation| may use|
|00000430| 20 64 63 74 5f 74 79 70 | 65 20 74 6f 20 64 65 63 | dct_typ|e to dec|
|00000440| 6f 72 72 65 6c 61 74 65 | 20 0a 74 68 65 20 70 72 |orrelate| .the pr|
|00000450| 65 64 69 63 74 69 6f 6e | 20 65 72 72 6f 72 20 6f |ediction| error o|
|00000460| 66 20 61 20 70 72 65 64 | 69 63 74 69 6f 6e 20 77 |f a pred|iction w|
|00000470| 68 69 63 68 20 69 73 20 | 0a 69 6e 68 65 72 65 6e |hich is |.inheren|
|00000480| 74 6c 79 20 66 69 65 6c | 64 20 62 79 20 63 68 61 |tly fiel|d by cha|
|00000490| 72 61 63 74 65 72 69 73 | 74 69 63 0a 0a 32 2e 20 |racteris|tic..2. |
|000004a0| 61 6e 20 69 6e 74 65 6c | 6c 69 67 65 6e 74 20 65 |an intel|ligent e|
|000004b0| 6e 63 6f 64 65 72 20 72 | 65 61 6c 69 7a 65 73 20 |ncoder r|ealizes |
|000004c0| 74 68 61 74 20 69 74 20 | 69 73 20 6d 6f 72 65 20 |that it |is more |
|000004d0| 62 69 74 20 0a 65 66 66 | 69 63 69 65 6e 74 20 74 |bit .eff|icient t|
|000004e0| 6f 20 73 69 67 6e 61 6c | 20 66 72 61 6d 65 20 70 |o signal| frame p|
|000004f0| 72 65 64 69 63 74 69 6f | 6e 20 77 69 74 68 20 66 |redictio|n with f|
|00000500| 69 65 6c 64 20 0a 64 63 | 74 5f 74 79 70 65 20 66 |ield .dc|t_type f|
|00000510| 6f 72 20 74 68 65 20 70 | 72 65 64 69 63 74 69 6f |or the p|redictio|
|00000520| 6e 20 65 72 72 6f 72 2c | 20 74 68 61 6e 20 69 74 |n error,| than it|
|00000530| 20 69 73 20 74 6f 20 73 | 69 67 6e 61 6c 20 0a 61 | is to s|ignal .a|
|00000540| 20 66 69 65 6c 64 20 70 | 72 65 64 69 63 74 69 6f | field p|redictio|
|00000550| 6e 2e 0a 0a 66 69 65 6c | 64 0a 46 69 65 6c 64 20 |n...fiel|d.Field |
|00000560| 70 72 65 64 69 63 74 65 | 64 0a 41 20 74 79 70 69 |predicte|d.A typi|
|00000570| 63 61 6c 20 73 63 65 6e | 61 72 69 6f 2e 20 20 41 |cal scen|ario. A|
|00000580| 20 66 69 65 6c 64 20 70 | 72 65 64 69 63 74 69 6f | field p|redictio|
|00000590| 6e 20 74 65 6e 64 73 20 | 74 6f 20 66 6f 72 6d 20 |n tends |to form |
|000005a0| 61 20 0a 66 69 65 6c 64 | 2d 63 6f 72 72 65 6c 61 |a .field|-correla|
|000005b0| 74 65 64 20 70 72 65 64 | 69 63 74 69 6f 6e 20 65 |ted pred|iction e|
|000005c0| 72 72 6f 72 2e 0a 0a 66 | 72 61 6d 65 0a 46 72 61 |rror...f|rame.Fra|
|000005d0| 6d 65 20 70 72 65 64 69 | 63 74 65 64 0a 41 20 74 |me predi|cted.A t|
|000005e0| 79 70 69 63 61 6c 20 73 | 63 65 6e 61 72 69 6f 2e |ypical s|cenario.|
|000005f0| 20 20 41 20 66 72 61 6d | 65 20 70 72 65 64 69 63 | A fram|e predic|
|00000600| 74 69 6f 6e 20 74 65 6e | 64 73 20 74 6f 20 66 6f |tion ten|ds to fo|
|00000610| 72 6d 20 61 20 0a 66 72 | 61 6d 65 2d 63 6f 72 72 |rm a .fr|ame-corr|
|00000620| 65 6c 61 74 65 64 20 70 | 72 65 64 69 63 74 69 6f |elated p|redictio|
|00000630| 6e 20 65 72 72 6f 72 2e | 0a 0a 66 69 65 6c 64 0a |n error.|..field.|
|00000640| 46 72 61 6d 65 20 70 72 | 65 64 69 63 74 65 64 0a |Frame pr|edicted.|
|00000650| 4d 61 6b 65 73 20 6c 69 | 74 74 6c 65 20 73 65 6e |Makes li|ttle sen|
|00000660| 73 65 2e 20 49 66 20 74 | 68 65 20 65 6e 63 6f 64 |se. If t|he encod|
|00000670| 65 72 20 77 65 6e 74 20 | 74 68 72 6f 75 67 68 20 |er went |through |
|00000680| 74 68 65 20 0a 74 72 6f | 75 62 6c 65 20 6f 66 20 |the .tro|uble of |
|00000690| 66 69 6e 64 69 6e 67 20 | 61 20 66 69 65 6c 64 20 |finding |a field |
|000006a0| 70 72 65 64 69 63 74 69 | 6f 6e 20 69 6e 20 74 68 |predicti|on in th|
|000006b0| 65 20 66 69 72 73 74 20 | 70 6c 61 63 65 2c 20 0a |e first |place, .|
|000006c0| 77 68 79 20 73 65 6c 65 | 63 74 20 66 72 61 6d 65 |why sele|ct frame|
|000006d0| 20 6f 72 67 61 6e 69 7a | 61 74 69 6f 6e 20 66 6f | organiz|ation fo|
|000006e0| 72 20 74 68 65 20 70 72 | 65 64 69 63 74 69 6f 6e |r the pr|ediction|
|000006f0| 20 65 72 72 6f 72 3f 0a | 0a 0a 70 72 65 64 69 63 | error?.|..predic|
|00000700| 74 69 6f 6e 20 6d 6f 64 | 65 73 20 6e 6f 77 20 69 |tion mod|es now i|
|00000710| 6e 63 6c 75 64 65 20 66 | 69 65 6c 64 2c 20 66 72 |nclude f|ield, fr|
|00000720| 61 6d 65 2c 20 44 75 61 | 6c 20 50 72 69 6d 65 2c |ame, Dua|l Prime,|
|00000730| 20 61 6e 64 20 31 36 78 | 38 20 4d 43 2e 0a 54 68 | and 16x|8 MC..Th|
|00000740| 65 20 63 6f 6d 62 69 6e | 61 74 69 6f 6e 73 20 66 |e combin|ations f|
|00000750| 6f 72 20 4d 61 69 6e 20 | 50 72 6f 66 69 6c 65 20 |or Main |Profile |
|00000760| 61 6e 64 20 20 53 69 6d | 70 6c 65 20 50 72 6f 66 |and Sim|ple Prof|
|00000770| 69 6c 65 20 61 72 65 20 | 73 68 6f 77 6e 20 62 65 |ile are |shown be|
|00000780| 6c 6f 77 2e 0a 0a 46 72 | 61 6d 65 20 70 69 63 74 |low...Fr|ame pict|
|00000790| 75 72 65 73 0a 6d 6f 74 | 69 6f 6e 5f 74 79 70 65 |ures.mot|ion_type|
|000007a0| 0a 6d 6f 74 69 6f 6e 20 | 0a 76 65 63 74 6f 72 73 |.motion |.vectors|
|000007b0| 20 0a 70 65 72 20 4d 42 | 0a 66 75 6e 64 61 6d 65 | .per MB|.fundame|
|000007c0| 6e 74 61 6c 20 0a 70 72 | 65 64 69 63 74 69 6f 6e |ntal .pr|ediction|
|000007d0| 20 62 6c 6f 63 6b 20 0a | 73 69 7a 65 20 28 61 66 | block .|size (af|
|000007e0| 74 65 72 20 68 61 6c 66 | 2d 0a 70 65 6c 29 0a 69 |ter half|-.pel).i|
|000007f0| 6e 74 65 72 70 72 65 74 | 61 74 69 6f 6e 0a 0a 46 |nterpret|ation..F|
|00000800| 72 61 6d 65 0a 31 0a 31 | 36 78 31 36 0a 73 61 6d |rame.1.1|6x16.sam|
|00000810| 65 20 61 73 20 4d 50 45 | 47 2d 31 2c 20 77 69 74 |e as MPE|G-1, wit|
|00000820| 68 20 70 6f 73 73 69 62 | 6c 79 20 64 69 66 66 65 |h possib|ly diffe|
|00000830| 72 65 6e 74 20 0a 74 72 | 65 61 74 6d 65 6e 74 20 |rent .tr|eatment |
|00000840| 6f 66 20 70 72 65 64 69 | 63 74 69 6f 6e 20 65 72 |of predi|ction er|
|00000850| 72 6f 72 20 76 69 61 20 | 64 63 74 5f 74 79 70 65 |ror via |dct_type|
|00000860| 0a 0a 46 69 65 6c 64 0a | 32 0a 31 36 78 38 0a 54 |..Field.|2.16x8.T|
|00000870| 77 6f 20 69 6e 64 65 70 | 65 6e 64 65 6e 74 6c 79 |wo indep|endently|
|00000880| 20 63 6f 64 65 64 20 70 | 72 65 64 69 63 74 69 6f | coded p|redictio|
|00000890| 6e 73 20 61 72 65 20 0a | 6d 61 64 65 3a 20 6f 6e |ns are .|made: on|
|000008a0| 65 20 66 6f 72 20 74 68 | 65 20 38 20 6c 69 6e 65 |e for th|e 8 line|
|000008b0| 73 20 77 68 69 63 68 20 | 63 6f 72 72 65 73 70 6f |s which |correspo|
|000008c0| 6e 64 20 0a 74 6f 20 74 | 68 65 20 74 6f 70 20 66 |nd .to t|he top f|
|000008d0| 69 65 6c 64 2c 20 61 6e | 6f 74 68 65 72 20 66 6f |ield, an|other fo|
|000008e0| 72 20 74 68 65 20 38 20 | 62 6f 74 74 6f 6d 20 0a |r the 8 |bottom .|
|000008f0| 66 69 65 6c 64 20 6c 69 | 6e 65 73 2e 0a 0a 44 75 |field li|nes...Du|
|00000900| 61 6c 20 50 72 69 6d 65 | 0a 31 0a 31 36 78 38 0a |al Prime|.1.16x8.|
|00000910| 54 77 6f 20 69 6e 64 65 | 70 65 6e 64 65 6e 74 6c |Two inde|pendentl|
|00000920| 79 20 63 6f 64 65 64 20 | 70 72 65 64 69 63 74 69 |y coded |predicti|
|00000930| 6f 6e 73 20 61 72 65 20 | 0a 6d 61 64 65 3a 20 6f |ons are |.made: o|
|00000940| 6e 65 20 66 6f 72 20 74 | 68 65 20 38 20 6c 69 6e |ne for t|he 8 lin|
|00000950| 65 73 20 77 68 69 63 68 | 20 63 6f 72 72 65 73 70 |es which| corresp|
|00000960| 6f 6e 64 20 0a 74 6f 20 | 74 68 65 20 74 6f 70 20 |ond .to |the top |
|00000970| 66 69 65 6c 64 2c 20 61 | 6e 6f 74 68 65 72 20 66 |field, a|nother f|
|00000980| 6f 72 20 74 68 65 20 38 | 20 62 6f 74 74 6f 6d 20 |or the 8| bottom |
|00000990| 0a 66 69 65 6c 64 20 6c | 69 6e 65 73 2e 20 20 55 |.field l|ines. U|
|000009a0| 73 65 73 20 61 76 65 72 | 61 67 69 6e 67 20 6f 66 |ses aver|aging of|
|000009b0| 20 74 77 6f 20 31 36 78 | 38 20 0a 70 72 65 64 69 | two 16x|8 .predi|
|000009c0| 63 74 69 6f 6e 20 62 6c | 6f 63 6b 73 20 66 72 6f |ction bl|ocks fro|
|000009d0| 6d 20 66 69 65 6c 64 73 | 20 6f 66 20 6f 70 70 6f |m fields| of oppo|
|000009e0| 73 69 74 65 20 0a 70 61 | 72 69 74 79 20 74 6f 20 |site .pa|rity to |
|000009f0| 66 6f 72 6d 20 61 20 70 | 72 65 64 69 63 74 69 6f |form a p|redictio|
|00000a00| 6e 20 66 6f 72 20 74 68 | 65 20 74 6f 70 20 61 6e |n for th|e top an|
|00000a10| 64 20 0a 62 6f 74 74 6f | 6d 20 38 20 6c 69 6e 65 |d .botto|m 8 line|
|00000a20| 73 2e 20 20 41 20 73 65 | 63 6f 6e 64 20 76 65 63 |s. A se|cond vec|
|00000a30| 74 6f 72 20 69 73 20 64 | 65 72 69 76 65 64 20 0a |tor is d|erived .|
|00000a40| 66 72 6f 6d 20 74 68 65 | 20 66 69 72 73 74 20 76 |from the| first v|
|00000a50| 65 63 74 6f 72 20 63 6f | 64 65 64 20 69 6e 20 74 |ector co|ded in t|
|00000a60| 68 65 20 62 69 74 73 74 | 72 65 61 6d 2e 0a 0a 0a |he bitst|ream....|
|00000a70| 0a 46 69 65 6c 64 20 70 | 69 63 74 75 72 65 73 0a |.Field p|ictures.|
|00000a80| 6d 6f 74 69 6f 6e 5f 74 | 79 70 65 0a 6d 6f 74 69 |motion_t|ype.moti|
|00000a90| 6f 6e 20 0a 76 65 63 74 | 6f 72 73 20 0a 70 65 72 |on .vect|ors .per|
|00000aa0| 20 4d 42 0a 66 75 6e 64 | 61 6d 65 6e 74 61 6c 20 | MB.fund|amental |
|00000ab0| 0a 70 72 65 64 69 63 74 | 69 6f 6e 20 62 6c 6f 63 |.predict|ion bloc|
|00000ac0| 6b 20 0a 73 69 7a 65 20 | 28 61 66 74 65 72 20 68 |k .size |(after h|
|00000ad0| 61 6c 66 2d 0a 70 65 6c | 29 0a 69 6e 74 65 72 70 |alf-.pel|).interp|
|00000ae0| 72 65 74 61 74 69 6f 6e | 0a 0a 46 69 65 6c 64 0a |retation|..Field.|
|00000af0| 31 0a 31 36 78 31 36 0a | 73 61 6d 65 20 61 73 20 |1.16x16.|same as |
|00000b00| 4d 50 45 47 2d 31 2c 20 | 77 69 74 68 20 70 6f 73 |MPEG-1, |with pos|
|00000b10| 73 69 62 6c 79 20 64 69 | 66 66 65 72 65 6e 74 20 |sibly di|fferent |
|00000b20| 0a 74 72 65 61 74 6d 65 | 6e 74 20 6f 66 20 70 72 |.treatme|nt of pr|
|00000b30| 65 64 69 63 74 69 6f 6e | 20 65 72 72 6f 72 20 76 |ediction| error v|
|00000b40| 69 61 20 64 63 74 5f 74 | 79 70 65 0a 0a 31 36 78 |ia dct_t|ype..16x|
|00000b50| 38 0a 32 0a 31 36 78 38 | 0a 54 77 6f 20 69 6e 64 |8.2.16x8|.Two ind|
|00000b60| 65 70 65 6e 64 65 6e 74 | 6c 79 20 63 6f 64 65 64 |ependent|ly coded|
|00000b70| 20 70 72 65 64 69 63 74 | 69 6f 6e 73 20 61 72 65 | predict|ions are|
|00000b80| 20 0a 6d 61 64 65 3a 20 | 6f 6e 65 20 66 6f 72 20 | .made: |one for |
|00000b90| 74 68 65 20 38 20 6c 69 | 6e 65 73 20 77 68 69 63 |the 8 li|nes whic|
|00000ba0| 68 20 63 6f 72 72 65 73 | 70 6f 6e 64 20 0a 74 6f |h corres|pond .to|
|00000bb0| 20 74 68 65 20 74 6f 70 | 20 66 69 65 6c 64 2c 20 | the top| field, |
|00000bc0| 61 6e 6f 74 68 65 72 20 | 66 6f 72 20 74 68 65 20 |another |for the |
|00000bd0| 38 20 62 6f 74 74 6f 6d | 20 0a 66 69 65 6c 64 20 |8 bottom| .field |
|00000be0| 6c 69 6e 65 73 2e 0a 0a | 44 75 61 6c 20 50 72 69 |lines...|Dual Pri|
|00000bf0| 6d 65 0a 31 0a 31 36 78 | 31 36 0a 41 20 73 69 6e |me.1.16x|16.A sin|
|00000c00| 67 6c 65 20 70 72 65 64 | 69 63 74 69 6f 6e 20 69 |gle pred|iction i|
|00000c10| 73 20 63 6f 6e 73 74 72 | 75 63 74 65 64 20 66 72 |s constr|ucted fr|
|00000c20| 6f 6d 20 74 68 65 20 0a | 61 76 65 72 61 67 65 20 |om the .|average |
|00000c30| 6f 66 20 74 77 6f 20 31 | 36 78 31 36 20 70 72 65 |of two 1|6x16 pre|
|00000c40| 64 69 63 74 69 6f 6e 73 | 20 74 61 6b 65 6e 20 66 |dictions| taken f|
|00000c50| 72 6f 6d 20 0a 66 69 65 | 6c 64 73 20 6f 66 20 6f |rom .fie|lds of o|
|00000c60| 70 70 6f 73 69 74 65 20 | 70 61 72 69 74 79 2e 0a |pposite |parity..|
|00000c70| 0a 0a 0a 63 6f 6e 63 65 | 61 6c 6d 65 6e 74 20 6d |...conce|alment m|
|00000c80| 6f 74 69 6f 6e 20 76 65 | 63 74 6f 72 73 20 63 61 |otion ve|ctors ca|
|00000c90| 6e 20 62 65 20 74 72 61 | 6e 73 6d 69 74 74 65 64 |n be tra|nsmitted|
|00000ca0| 20 69 6e 20 74 68 65 20 | 68 65 61 64 65 72 73 20 | in the |headers |
|00000cb0| 6f 66 20 69 6e 74 72 61 | 0a 6d 61 63 72 6f 62 6c |of intra|.macrobl|
|00000cc0| 6f 63 6b 73 20 74 6f 20 | 68 65 6c 70 20 65 72 72 |ocks to |help err|
|00000cd0| 6f 72 20 72 65 63 6f 76 | 65 72 79 2e 20 20 57 68 |or recov|ery. Wh|
|00000ce0| 65 6e 20 74 68 65 20 6d | 61 63 72 6f 62 6c 6f 63 |en the m|acrobloc|
|00000cf0| 6b 20 64 61 74 61 20 74 | 68 61 74 20 74 68 65 0a |k data t|hat the.|
|00000d00| 63 6f 6e 63 65 61 6c 6d | 65 6e 74 20 6d 6f 74 69 |concealm|ent moti|
|00000d10| 6f 6e 20 76 65 63 74 6f | 72 73 20 61 72 65 20 69 |on vecto|rs are i|
|00000d20| 6e 74 65 6e 64 65 64 20 | 66 6f 72 20 62 65 63 6f |ntended |for beco|
|00000d30| 6d 65 73 20 63 6f 72 72 | 75 70 74 2c 20 74 68 65 |mes corr|upt, the|
|00000d40| 73 65 0a 76 65 63 74 6f | 72 73 20 63 61 6e 20 62 |se.vecto|rs can b|
|00000d50| 65 20 75 73 65 64 20 74 | 6f 20 73 70 65 63 69 66 |e used t|o specif|
|00000d60| 79 20 61 20 63 6f 6e 63 | 65 61 6c 6d 65 6e 74 20 |y a conc|ealment |
|00000d70| 31 36 78 31 36 20 61 72 | 65 61 20 74 6f 20 62 65 |16x16 ar|ea to be|
|00000d80| 20 65 78 74 72 61 63 74 | 65 64 0a 66 72 6f 6d 20 | extract|ed.from |
|00000d90| 74 68 65 20 70 72 65 76 | 69 6f 75 73 20 70 69 63 |the prev|ious pic|
|00000da0| 74 75 72 65 2e 20 20 54 | 68 65 73 65 20 76 65 63 |ture. T|hese vec|
|00000db0| 74 6f 72 73 20 64 6f 20 | 6e 6f 74 20 61 66 66 65 |tors do |not affe|
|00000dc0| 63 74 20 74 68 65 20 6e | 6f 72 6d 61 6c 0a 64 65 |ct the n|ormal.de|
|00000dd0| 63 6f 64 69 6e 67 20 70 | 72 6f 63 65 73 73 2c 20 |coding p|rocess, |
|00000de0| 65 78 63 65 70 74 20 66 | 6f 72 20 6d 6f 74 69 6f |except f|or motio|
|00000df0| 6e 20 76 65 63 74 6f 72 | 20 70 72 65 64 69 63 74 |n vector| predict|
|00000e00| 69 6f 6e 73 2e 0a 0a 41 | 64 64 69 74 69 6f 6e 61 |ions...A|dditiona|
|00000e10| 6c 20 63 68 72 6f 6d 61 | 5f 66 6f 72 6d 61 74 20 |l chroma|_format |
|00000e20| 20 66 6f 72 20 34 3a 32 | 3a 32 20 61 6e 64 20 34 | for 4:2|:2 and 4|
|00000e30| 3a 34 3a 34 20 70 69 63 | 74 75 72 65 73 2e 20 20 |:4:4 pic|tures. |
|00000e40| 4c 69 6b 65 20 4d 50 45 | 47 2d 31 2c 0a 4d 61 69 |Like MPE|G-1,.Mai|
|00000e50| 6e 20 50 72 6f 66 69 6c | 65 20 73 79 6e 74 61 78 |n Profil|e syntax|
|00000e60| 20 69 73 20 73 74 72 69 | 63 74 6c 79 20 6c 69 6d | is stri|ctly lim|
|00000e70| 69 74 65 64 20 74 6f 20 | 34 3a 32 3a 30 20 66 6f |ited to |4:2:0 fo|
|00000e80| 72 6d 61 74 2c 20 68 6f | 77 65 76 65 72 2c 20 74 |rmat, ho|wever, t|
|00000e90| 68 65 0a 34 3a 32 3a 32 | 20 66 6f 72 6d 61 74 20 |he.4:2:2| format |
|00000ea0| 69 73 20 74 68 65 20 62 | 61 73 69 73 20 6f 66 20 |is the b|asis of |
|00000eb0| 74 68 65 20 34 3a 32 3a | 32 20 50 72 6f 66 69 6c |the 4:2:|2 Profil|
|00000ec0| 65 20 28 61 6b 61 20 53 | 74 75 64 69 6f 20 50 72 |e (aka S|tudio Pr|
|00000ed0| 6f 66 69 6c 65 29 2e 0a | 49 6e 20 34 3a 32 3a 32 |ofile)..|In 4:2:2|
|00000ee0| 20 6d 6f 64 65 2c 20 61 | 6c 6c 20 73 79 6e 74 61 | mode, a|ll synta|
|00000ef0| 78 20 65 73 73 65 6e 74 | 69 61 6c 6c 79 20 72 65 |x essent|ially re|
|00000f00| 6d 61 69 6e 73 20 74 68 | 65 20 73 61 6d 65 20 65 |mains th|e same e|
|00000f10| 78 63 65 70 74 20 77 68 | 65 72 65 0a 6d 61 74 74 |xcept wh|ere.matt|
|00000f20| 65 72 73 20 6f 66 20 62 | 6c 6f 63 6b 20 63 6f 75 |ers of b|lock cou|
|00000f30| 6e 74 20 61 72 65 20 63 | 6f 6e 63 65 72 6e 65 64 |nt are c|oncerned|
|00000f40| 2e 20 20 41 20 63 6f 64 | 65 64 5f 62 6c 6f 63 6b |. A cod|ed_block|
|00000f50| 5f 70 61 74 74 65 72 6e | 20 65 78 74 65 6e 73 69 |_pattern| extensi|
|00000f60| 6f 6e 0a 77 61 73 20 61 | 64 64 65 64 20 74 6f 20 |on.was a|dded to |
|00000f70| 68 61 6e 64 6c 65 20 73 | 69 67 6e 61 6c 69 6e 67 |handle s|ignaling|
|00000f80| 20 6f 66 20 74 68 65 20 | 65 78 74 72 61 20 74 77 | of the |extra tw|
|00000f90| 6f 20 70 72 65 64 69 63 | 74 69 6f 6e 20 65 72 72 |o predic|tion err|
|00000fa0| 6f 72 0a 62 6c 6f 63 6b | 73 2e 20 20 54 68 65 20 |or.block|s. The |
|00000fb0| 34 3a 34 3a 34 20 66 6f | 72 6d 61 74 20 69 73 20 |4:4:4 fo|rmat is |
|00000fc0| 63 75 72 72 65 6e 74 6c | 79 20 75 6e 64 65 66 69 |currentl|y undefi|
|00000fd0| 6e 65 64 20 69 6e 20 61 | 6e 79 20 50 72 6f 66 69 |ned in a|ny Profi|
|00000fe0| 6c 65 2e 0a 0a 63 68 72 | 6f 6d 61 5f 66 6f 72 6d |le...chr|oma_form|
|00000ff0| 61 74 0a 6d 75 6c 74 69 | 70 6c 65 78 20 6f 72 64 |at.multi|plex ord|
|00001000| 65 72 20 77 69 74 68 69 | 6e 20 4d 61 63 72 6f 62 |er withi|n Macrob|
|00001010| 6c 6f 63 6b 0a 41 70 70 | 6c 69 63 61 74 69 6f 6e |lock.App|lication|
|00001020| 0a 0a 34 3a 32 3a 30 20 | 20 28 36 20 62 6c 6f 63 |..4:2:0 | (6 bloc|
|00001030| 6b 73 29 0a 59 59 59 59 | 43 62 43 72 0a 6d 61 69 |ks).YYYY|CbCr.mai|
|00001040| 6e 20 73 74 72 65 61 6d | 20 74 65 6c 65 76 69 73 |n stream| televis|
|00001050| 69 6f 6e 2c 20 63 6f 6e | 73 75 6d 65 72 20 65 6e |ion, con|sumer en|
|00001060| 74 65 72 74 61 69 6e 6d | 65 6e 74 2e 0a 0a 34 3a |tertainm|ent...4:|
|00001070| 32 3a 32 20 20 28 38 20 | 62 6c 6f 63 6b 73 29 0a |2:2 (8 |blocks).|
|00001080| 59 59 59 59 43 62 43 72 | 43 62 43 72 0a 73 74 75 |YYYYCbCr|CbCr.stu|
|00001090| 64 69 6f 20 70 72 6f 64 | 75 63 74 69 6f 6e 20 65 |dio prod|uction e|
|000010a0| 6e 76 69 72 6f 6e 6d 65 | 6e 74 73 2c 20 70 72 6f |nvironme|nts, pro|
|000010b0| 66 65 73 73 69 6f 6e 61 | 6c 20 0a 65 64 69 74 69 |fessiona|l .editi|
|000010c0| 6e 67 20 65 71 75 69 70 | 6d 65 6e 74 2c 20 64 69 |ng equip|ment, di|
|000010d0| 73 74 72 69 62 75 74 69 | 6f 6e 20 61 6e 64 20 73 |stributi|on and s|
|000010e0| 65 72 76 65 72 73 0a 0a | 34 3a 34 3a 34 20 28 31 |ervers..|4:4:4 (1|
|000010f0| 32 20 62 6c 6f 63 6b 73 | 29 0a 59 59 59 59 43 62 |2 blocks|).YYYYCb|
|00001100| 43 72 43 62 43 72 43 62 | 43 72 43 62 43 72 0a 63 |CrCbCrCb|CrCbCr.c|
|00001110| 6f 6d 70 75 74 65 72 20 | 67 72 61 70 68 69 63 73 |omputer |graphics|
|00001120| 0a 0a 0a 0a 4e 6f 6e 2d | 6c 69 6e 65 61 72 20 6d |....Non-|linear m|
|00001130| 61 63 72 6f 62 6c 6f 63 | 6b 20 71 75 61 6e 74 69 |acrobloc|k quanti|
|00001140| 7a 61 74 69 6f 6e 20 77 | 61 73 20 69 6e 74 72 6f |zation w|as intro|
|00001150| 64 75 63 65 64 20 69 6e | 20 4d 50 45 47 2d 32 20 |duced in| MPEG-2 |
|00001160| 74 6f 20 69 6e 63 72 65 | 61 73 65 0a 74 68 65 20 |to incre|ase.the |
|00001170| 70 72 65 63 69 73 69 6f | 6e 20 6f 66 20 71 75 61 |precisio|n of qua|
|00001180| 6e 74 69 7a 61 74 69 6f | 6e 20 61 74 20 68 69 67 |ntizatio|n at hig|
|00001190| 68 20 62 69 74 20 72 61 | 74 65 73 2c 20 77 68 69 |h bit ra|tes, whi|
|000011a0| 6c 65 20 69 6e 63 72 65 | 61 73 69 6e 67 20 74 68 |le incre|asing th|
|000011b0| 65 0a 64 79 6e 61 6d 69 | 63 20 72 61 6e 67 65 20 |e.dynami|c range |
|000011c0| 66 6f 72 20 6c 6f 77 20 | 62 69 74 20 72 61 74 65 |for low |bit rate|
|000011d0| 20 75 73 65 20 77 68 65 | 72 65 20 20 6c 61 72 67 | use whe|re larg|
|000011e0| 65 72 20 73 74 65 70 20 | 73 69 7a 65 20 69 73 20 |er step |size is |
|000011f0| 6e 65 65 64 65 64 2e 0a | 54 68 65 20 71 75 61 6e |needed..|The quan|
|00001200| 74 69 7a 61 74 69 6f 6e | 5f 73 63 61 6c 65 5f 63 |tization|_scale_c|
|00001210| 6f 64 65 20 6d 61 79 20 | 62 65 20 73 65 6c 65 63 |ode may |be selec|
|00001220| 74 65 64 20 62 65 74 77 | 65 65 6e 20 61 20 6c 69 |ted betw|een a li|
|00001230| 6e 65 61 72 20 28 4d 50 | 45 47 2d 31 0a 73 74 79 |near (MP|EG-1.sty|
|00001240| 6c 65 29 20 6f 72 20 6e | 6f 6e 2d 6c 69 6e 65 61 |le) or n|on-linea|
|00001250| 72 20 73 63 61 6c 65 20 | 6f 6e 20 61 20 70 69 63 |r scale |on a pic|
|00001260| 74 75 72 65 20 28 66 72 | 61 6d 65 20 6f 72 20 66 |ture (fr|ame or f|
|00001270| 69 65 6c 64 29 20 62 61 | 73 69 73 2e 20 54 68 65 |ield) ba|sis. The|
|00001280| 20 6e 65 77 0a 6e 6f 6e | 2d 6c 69 6e 65 61 72 20 | new.non|-linear |
|00001290| 72 61 6e 67 65 20 63 6f | 72 72 65 73 70 6f 6e 64 |range co|rrespond|
|000012a0| 73 20 74 6f 20 61 20 64 | 79 6e 61 6d 69 63 20 72 |s to a d|ynamic r|
|000012b0| 61 6e 67 65 20 6f 66 20 | 30 2e 35 20 74 6f 20 35 |ange of |0.5 to 5|
|000012c0| 34 20 77 69 74 68 0a 72 | 65 73 70 65 63 74 20 74 |4 with.r|espect t|
|000012d0| 6f 20 74 68 65 20 6c 69 | 6e 65 61 72 20 28 4d 50 |o the li|near (MP|
|000012e0| 45 47 2d 31 20 73 74 79 | 6c 65 29 20 72 61 6e 67 |EG-1 sty|le) rang|
|000012f0| 65 20 6f 66 20 31 20 74 | 6f 20 33 31 2e 0a 0a 0a |e of 1 t|o 31....|
|00001300| 42 6c 6f 63 6b 3a 0a 0a | 61 6c 74 65 72 6e 61 74 |Block:..|alternat|
|00001310| 65 20 73 63 61 6e 20 20 | 69 6e 74 72 6f 64 75 63 |e scan |introduc|
|00001320| 65 64 20 61 20 6e 65 77 | 20 72 75 6e 2d 6c 65 6e |ed a new| run-len|
|00001330| 67 74 68 20 65 6e 74 72 | 6f 70 79 20 73 63 61 6e |gth entr|opy scan|
|00001340| 6e 69 6e 67 20 70 61 74 | 74 65 72 6e 0a 67 65 6e |ning pat|tern.gen|
|00001350| 65 72 61 6c 6c 79 20 6d | 6f 72 65 20 65 66 66 69 |erally m|ore effi|
|00001360| 63 69 65 6e 74 20 66 6f | 72 20 74 68 65 20 73 74 |cient fo|r the st|
|00001370| 61 74 69 73 74 69 63 73 | 20 6f 66 20 69 6e 74 65 |atistics| of inte|
|00001380| 72 6c 61 63 65 64 20 76 | 69 64 65 6f 0a 73 69 67 |rlaced v|ideo.sig|
|00001390| 6e 61 6c 73 2e 20 5a 69 | 67 2d 7a 61 67 20 73 63 |nals. Zi|g-zag sc|
|000013a0| 61 6e 20 69 73 20 74 68 | 65 20 61 70 70 72 6f 70 |an is th|e approp|
|000013b0| 72 69 61 74 65 20 63 68 | 6f 69 63 65 20 66 6f 72 |riate ch|oice for|
|000013c0| 20 70 72 6f 67 72 65 73 | 73 69 76 65 0a 70 69 63 | progres|sive.pic|
|000013d0| 74 75 72 65 73 2e 0a 0a | 69 6e 74 72 61 5f 64 63 |tures...|intra_dc|
|000013e0| 5f 70 72 65 63 69 73 69 | 6f 6e 3a 20 74 68 65 20 |_precisi|on: the |
|000013f0| 4d 50 45 47 2d 31 20 44 | 43 20 76 61 6c 75 65 20 |MPEG-1 D|C value |
|00001400| 69 73 20 6d 61 6e 64 61 | 74 6f 72 79 20 71 75 61 |is manda|tory qua|
|00001410| 6e 74 69 7a 65 64 20 74 | 6f 20 61 0a 70 72 65 63 |ntized t|o a.prec|
|00001420| 69 73 69 6f 6e 20 6f 66 | 20 38 20 62 69 74 73 2e |ision of| 8 bits.|
|00001430| 20 20 4d 50 45 47 2d 32 | 20 69 6e 74 72 6f 64 75 | MPEG-2| introdu|
|00001440| 63 65 64 20 39 2c 20 31 | 30 2c 20 61 6e 64 20 31 |ced 9, 1|0, and 1|
|00001450| 31 20 62 69 74 20 70 72 | 65 63 69 73 69 6f 6e 20 |1 bit pr|ecision |
|00001460| 73 65 74 0a 6f 6e 20 61 | 20 70 69 63 74 75 72 65 |set.on a| picture|
|00001470| 20 62 61 73 69 73 20 74 | 6f 20 69 6e 63 72 65 61 | basis t|o increa|
|00001480| 73 65 20 74 68 65 20 61 | 63 63 75 72 61 63 79 20 |se the a|ccuracy |
|00001490| 6f 66 20 74 68 65 20 44 | 43 20 63 6f 6d 70 6f 6e |of the D|C compon|
|000014a0| 65 6e 74 2c 20 77 68 69 | 63 68 0a 62 79 20 76 65 |ent, whi|ch.by ve|
|000014b0| 72 79 20 6e 61 74 75 72 | 65 2c 20 68 61 73 20 74 |ry natur|e, has t|
|000014c0| 68 65 20 6d 6f 73 74 20 | 73 69 67 6e 69 66 69 63 |he most |signific|
|000014d0| 61 6e 74 20 63 6f 6e 74 | 72 69 62 75 74 69 6f 6e |ant cont|ribution|
|000014e0| 20 74 6f 77 61 72 64 73 | 20 70 69 63 74 75 72 65 | towards| picture|
|000014f0| 0a 71 75 61 6c 69 74 79 | 2e 20 20 50 61 72 74 69 |.quality|. Parti|
|00001500| 63 75 6c 61 72 6c 79 20 | 75 73 65 66 75 6c 20 61 |cularly |useful a|
|00001510| 74 20 68 69 67 68 20 62 | 69 74 20 72 61 74 65 73 |t high b|it rates|
|00001520| 20 74 6f 20 72 65 64 75 | 63 65 0a 70 6f 73 74 65 | to redu|ce.poste|
|00001530| 72 69 7a 61 74 69 6f 6e | 2e 20 4d 61 69 6e 20 61 |rization|. Main a|
|00001540| 6e 64 20 53 69 6d 70 6c | 65 20 50 72 6f 66 69 6c |nd Simpl|e Profil|
|00001550| 65 73 20 61 72 65 20 6c | 69 6d 69 74 65 64 20 74 |es are l|imited t|
|00001560| 6f 20 38 2c 20 39 2c 20 | 6f 72 20 31 30 20 62 69 |o 8, 9, |or 10 bi|
|00001570| 74 73 0a 6f 66 20 70 72 | 65 63 69 73 69 6f 6e 2e |ts.of pr|ecision.|
|00001580| 20 20 54 68 65 20 34 3a | 32 3a 32 20 48 69 67 68 | The 4:|2:2 High|
|00001590| 20 50 72 6f 66 69 6c 65 | 2c 20 77 68 69 63 68 20 | Profile|, which |
|000015a0| 69 73 20 67 65 61 72 65 | 64 20 74 6f 77 61 72 64 |is geare|d toward|
|000015b0| 73 20 68 69 67 68 65 72 | 0a 62 69 74 72 61 74 65 |s higher|.bitrate|
|000015c0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 73 20 28 75 | applica|tions (u|
|000015d0| 70 20 74 6f 20 35 30 20 | 4d 62 69 74 73 2f 73 65 |p to 50 |Mbits/se|
|000015e0| 63 29 2c 20 70 65 72 6d | 69 74 73 20 61 6c 6c 20 |c), perm|its all |
|000015f0| 76 61 6c 75 65 73 20 28 | 75 70 20 74 6f 20 31 31 |values (|up to 11|
|00001600| 0a 62 69 74 73 29 2e 0a | 0a 73 65 70 61 72 61 74 |.bits)..|.separat|
|00001610| 65 20 71 75 61 6e 74 69 | 7a 61 74 69 6f 6e 20 6d |e quanti|zation m|
|00001620| 61 74 72 69 63 65 73 20 | 66 6f 72 20 59 20 61 6e |atrices |for Y an|
|00001630| 64 20 43 3a 20 6c 75 6d | 69 6e 61 6e 63 65 20 28 |d C: lum|inance (|
|00001640| 59 29 20 61 6e 64 0a 63 | 68 72 6f 6d 69 6e 61 6e |Y) and.c|hrominan|
|00001650| 63 65 20 28 43 62 2c 43 | 72 29 20 73 68 61 72 65 |ce (Cb,C|r) share|
|00001660| 20 61 20 63 6f 6d 6d 6f | 6e 20 69 6e 74 72 61 20 | a commo|n intra |
|00001670| 61 6e 64 20 6e 6f 6e 2d | 69 6e 74 72 61 20 44 43 |and non-|intra DC|
|00001680| 54 20 63 6f 65 66 66 69 | 63 69 65 6e 74 0a 71 75 |T coeffi|cient.qu|
|00001690| 61 6e 74 69 7a 61 74 69 | 6f 6e 20 38 78 38 20 6d |antizati|on 8x8 m|
|000016a0| 61 74 72 69 78 20 69 6e | 20 4d 50 45 47 2d 31 20 |atrix in| MPEG-1 |
|000016b0| 61 6e 64 20 4d 50 45 47 | 2d 32 20 4d 61 69 6e 20 |and MPEG|-2 Main |
|000016c0| 61 6e 64 20 53 69 6d 70 | 6c 65 20 50 72 6f 66 69 |and Simp|le Profi|
|000016d0| 6c 65 73 2e 0a 54 68 65 | 20 34 3a 32 3a 32 20 50 |les..The| 4:2:2 P|
|000016e0| 72 6f 66 69 6c 65 20 70 | 65 72 6d 69 74 73 20 73 |rofile p|ermits s|
|000016f0| 65 70 61 72 61 74 65 20 | 71 75 61 6e 74 69 7a 61 |eparate |quantiza|
|00001700| 74 69 6f 6e 20 6d 61 74 | 72 69 63 65 73 20 74 6f |tion mat|rices to|
|00001710| 20 62 65 0a 64 6f 77 6e | 6c 6f 61 64 65 64 20 66 | be.down|loaded f|
|00001720| 6f 72 20 74 68 65 20 6c | 75 6d 69 6e 61 6e 63 65 |or the l|uminance|
|00001730| 20 61 6e 64 20 63 68 72 | 6f 6d 69 6e 61 6e 63 65 | and chr|ominance|
|00001740| 20 62 6c 6f 63 6b 73 2e | 20 20 43 62 20 61 6e 64 | blocks.| Cb and|
|00001750| 20 43 72 20 73 74 69 6c | 6c 0a 73 68 61 72 65 20 | Cr stil|l.share |
|00001760| 61 20 63 6f 6d 6d 6f 6e | 20 6d 61 74 72 69 78 2e |a common| matrix.|
|00001770| 0a 0a 69 6e 74 72 61 5f | 76 6c 63 5f 66 6f 72 6d |..intra_|vlc_form|
|00001780| 61 74 3a 20 20 6f 6e 65 | 20 6f 66 20 74 77 6f 20 |at: one| of two |
|00001790| 74 61 62 6c 65 73 20 6d | 61 79 20 6e 6f 77 20 62 |tables m|ay now b|
|000017a0| 65 20 73 65 6c 65 63 74 | 65 64 20 61 74 20 74 68 |e select|ed at th|
|000017b0| 65 20 70 69 63 74 75 72 | 65 0a 6c 61 79 65 72 20 |e pictur|e.layer |
|000017c0| 66 6f 72 20 76 61 72 69 | 61 62 6c 65 20 6c 65 6e |for vari|able len|
|000017d0| 67 74 68 20 63 6f 64 65 | 73 20 28 56 4c 43 73 29 |gth code|s (VLCs)|
|000017e0| 20 6f 66 20 41 43 20 72 | 75 6e 2d 6c 65 6e 67 74 | of AC r|un-lengt|
|000017f0| 68 20 73 79 6d 62 6f 6c | 73 20 69 6e 0a 49 6e 74 |h symbol|s in.Int|
|00001800| 72 61 20 62 6c 6f 63 6b | 73 2e 20 20 54 68 65 20 |ra block|s. The |
|00001810| 66 69 72 73 74 20 74 61 | 62 6c 65 20 69 73 20 69 |first ta|ble is i|
|00001820| 64 65 6e 74 69 63 61 6c | 20 74 6f 20 74 68 61 74 |dentical| to that|
|00001830| 20 73 70 65 63 69 66 69 | 65 64 20 66 6f 72 0a 4d | specifi|ed for.M|
|00001840| 50 45 47 2d 31 20 28 64 | 63 5f 63 6f 65 66 5f 6e |PEG-1 (d|c_coef_n|
|00001850| 65 78 74 29 2e 20 54 68 | 65 20 6e 65 77 65 72 20 |ext). Th|e newer |
|00001860| 73 65 63 6f 6e 64 20 74 | 61 62 6c 65 20 69 73 20 |second t|able is |
|00001870| 6d 6f 72 65 20 73 75 69 | 74 65 64 20 74 6f 20 74 |more sui|ted to t|
|00001880| 68 65 0a 73 74 61 74 69 | 73 74 69 63 73 20 6f 66 |he.stati|stics of|
|00001890| 20 49 6e 74 72 61 20 63 | 6f 64 65 64 20 62 6c 6f | Intra c|oded blo|
|000018a0| 63 6b 73 2c 20 65 73 70 | 65 63 69 61 6c 6c 79 20 |cks, esp|ecially |
|000018b0| 69 6e 20 49 2d 20 66 72 | 61 6d 65 73 2e 20 20 54 |in I- fr|ames. T|
|000018c0| 68 65 20 62 65 73 74 0a | 69 6c 6c 75 73 74 72 61 |he best.|illustra|
|000018d0| 74 69 6f 6e 20 62 65 74 | 77 65 65 6e 20 54 61 62 |tion bet|ween Tab|
|000018e0| 6c 65 20 30 20 61 6e 64 | 20 54 61 62 6c 65 20 31 |le 0 and| Table 1|
|000018f0| 69 73 20 74 68 65 20 6c | 65 6e 67 74 68 20 6f 66 |is the l|ength of|
|00001900| 20 74 68 65 20 73 79 6d | 62 6f 6c 0a 77 68 69 63 | the sym|bol.whic|
|00001910| 68 20 72 65 70 72 65 73 | 65 6e 74 73 20 45 6e 64 |h repres|ents End|
|00001920| 20 6f 66 20 42 6c 6f 63 | 6b 20 28 45 4f 42 29 2e | of Bloc|k (EOB).|
|00001930| 20 20 49 6e 20 54 61 62 | 6c 65 20 7a 65 72 6f 2c | In Tab|le zero,|
|00001940| 20 45 4f 42 20 69 73 20 | 32 20 62 69 74 73 2e 20 | EOB is |2 bits. |
|00001950| 20 49 6e 0a 54 61 62 6c | 65 20 6f 6e 65 2c 20 69 | In.Tabl|e one, i|
|00001960| 74 20 69 73 20 34 20 62 | 69 74 73 2e 20 20 54 68 |t is 4 b|its. Th|
|00001970| 65 20 69 6d 70 6c 69 63 | 61 74 69 6f 6e 20 69 73 |e implic|ation is|
|00001980| 20 74 68 61 74 20 74 68 | 65 20 45 4f 42 20 73 79 | that th|e EOB sy|
|00001990| 6d 62 6f 6c 20 69 73 0a | 32 5e 2d 6e 20 70 72 6f |mbol is.|2^-n pro|
|000019a0| 62 61 62 6c 65 20 77 69 | 74 68 69 6e 20 74 68 65 |bable wi|thin the|
|000019b0| 20 62 6c 6f 63 6b 2c 20 | 6f 72 20 66 72 6f 6d 20 | block, |or from |
|000019c0| 61 6e 20 61 6c 74 65 72 | 6e 61 74 69 76 65 20 70 |an alter|native p|
|000019d0| 65 72 73 70 65 63 74 69 | 76 65 2c 0a 74 68 65 72 |erspecti|ve,.ther|
|000019e0| 65 20 61 72 65 20 61 6e | 20 61 76 65 72 61 67 65 |e are an| average|
|000019f0| 20 6f 66 20 33 20 74 6f | 20 34 20 6e 6f 6e 2d 7a | of 3 to| 4 non-z|
|00001a00| 65 72 6f 20 41 43 20 63 | 6f 65 66 66 69 63 69 65 |ero AC c|oefficie|
|00001a10| 6e 74 73 20 69 6e 20 4e | 6f 6e 2d 69 6e 74 72 61 |nts in N|on-intra|
|00001a20| 0a 62 6c 6f 63 6b 73 2c | 20 61 6e 64 20 39 20 74 |.blocks,| and 9 t|
|00001a30| 6f 20 31 36 20 63 6f 65 | 66 66 69 63 69 65 6e 74 |o 16 coe|fficient|
|00001a40| 73 20 69 6e 20 49 6e 74 | 72 61 20 62 6c 6f 63 6b |s in Int|ra block|
|00001a50| 73 2e 20 20 54 68 65 20 | 56 4c 43 20 74 72 65 65 |s. The |VLC tree|
|00001a60| 20 6f 66 0a 54 61 62 6c | 65 20 31 20 77 61 73 20 | of.Tabl|e 1 was |
|00001a70| 69 6e 74 65 6e 64 65 64 | 20 74 6f 20 62 65 20 61 |intended| to be a|
|00001a80| 20 73 75 62 73 65 74 20 | 6f 66 20 54 61 62 6c 65 | subset |of Table|
|00001a90| 20 30 2c 20 74 6f 20 61 | 69 64 20 68 61 72 64 77 | 0, to a|id hardw|
|00001aa0| 61 72 65 0a 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |are.impl|ementati|
|00001ab0| 6f 6e 73 2e 20 20 42 6f | 74 68 20 74 61 62 6c 65 |ons. Bo|th table|
|00001ac0| 73 20 68 61 76 65 20 31 | 31 33 20 56 4c 43 20 65 |s have 1|13 VLC e|
|00001ad0| 6e 74 72 69 65 73 20 28 | 6f 72 20 65 76 65 6e 74 |ntries (|or event|
|00001ae0| 73 29 2e 0a 0a 65 73 63 | 61 70 65 3a 20 57 68 65 |s)...esc|ape: Whe|
|00001af0| 6e 20 6e 6f 20 65 6e 74 | 72 79 20 69 6e 20 74 68 |n no ent|ry in th|
|00001b00| 65 20 56 4c 43 20 65 78 | 69 73 74 73 20 66 6f 72 |e VLC ex|ists for|
|00001b10| 20 61 20 41 43 20 52 75 | 6e 2d 4c 65 76 65 6c 20 | a AC Ru|n-Level |
|00001b20| 73 79 6d 62 6f 6c 2c 20 | 61 6e 0a 65 73 63 61 70 |symbol, |an.escap|
|00001b30| 65 20 63 6f 64 65 20 63 | 61 6e 20 62 65 20 75 73 |e code c|an be us|
|00001b40| 65 64 20 74 6f 20 72 65 | 70 72 65 73 65 6e 74 20 |ed to re|present |
|00001b50| 74 68 65 20 73 79 6d 62 | 6f 6c 2e 20 53 69 6e 63 |the symb|ol. Sinc|
|00001b60| 65 20 74 68 65 72 65 20 | 61 72 65 20 6f 6e 6c 79 |e there |are only|
|00001b70| 0a 36 33 20 70 6f 73 69 | 74 69 6f 6e 73 20 77 69 |.63 posi|tions wi|
|00001b80| 74 68 69 6e 20 61 6e 20 | 38 78 38 20 62 6c 6f 63 |thin an |8x8 bloc|
|00001b90| 6b 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 74 68 65 20 |k follow|ing the |
|00001ba0| 66 69 72 73 74 20 63 6f | 65 66 66 69 63 69 65 6e |first co|efficien|
|00001bb0| 74 2c 20 61 6e 64 0a 74 | 68 65 20 64 79 6e 61 6d |t, and.t|he dynam|
|00001bc0| 69 63 20 72 61 6e 67 65 | 20 6f 66 20 74 68 65 20 |ic range| of the |
|00001bd0| 71 75 61 6e 74 69 7a 65 | 64 20 44 43 54 20 63 6f |quantize|d DCT co|
|00001be0| 65 66 66 69 63 69 65 6e | 74 73 20 69 73 20 5b 2d |efficien|ts is [-|
|00001bf0| 32 30 34 37 2c 2b 32 30 | 34 38 5d 2c 0a 74 68 65 |2047,+20|48],.the|
|00001c00| 72 65 20 61 72 65 20 28 | 36 33 2a 32 30 34 37 29 |re are (|63*2047)|
|00001c10| 2c 20 6f 72 20 31 32 38 | 2c 39 36 31 20 70 6f 73 |, or 128|,961 pos|
|00001c20| 73 69 62 6c 65 20 63 6f | 6d 62 69 6e 61 74 69 6f |sible co|mbinatio|
|00001c30| 6e 73 20 6f 66 20 52 75 | 6e 20 61 6e 64 20 4c 65 |ns of Ru|n and Le|
|00001c40| 76 65 6c 0a 28 74 68 65 | 20 73 69 67 6e 20 62 69 |vel.(the| sign bi|
|00001c50| 74 20 6f 66 20 74 68 65 | 20 4c 65 76 65 6c 20 66 |t of the| Level f|
|00001c60| 6f 6c 6c 6f 77 73 20 74 | 68 65 20 56 4c 43 29 2e |ollows t|he VLC).|
|00001c70| 20 20 4f 6e 6c 79 20 74 | 68 65 20 31 31 33 20 6d | Only t|he 113 m|
|00001c80| 6f 73 74 20 63 6f 6d 6d | 6f 6e 0a 52 75 6e 2d 4c |ost comm|on.Run-L|
|00001c90| 65 76 65 6c 20 73 79 6d | 62 6f 6c 73 20 61 72 65 |evel sym|bols are|
|00001ca0| 20 72 65 70 72 65 73 65 | 6e 74 65 64 20 69 6e 20 | represe|nted in |
|00001cb0| 54 61 62 6c 65 20 30 20 | 6f 72 20 54 61 62 6c 65 |Table 0 |or Table|
|00001cc0| 20 31 2e 20 20 54 68 65 | 20 6c 65 6e 67 74 68 20 | 1. The| length |
|00001cd0| 6f 66 0a 74 68 65 20 65 | 73 63 61 70 65 20 73 79 |of.the e|scape sy|
|00001ce0| 6d 62 6f 6c 20 28 77 68 | 69 63 68 20 69 73 20 61 |mbol (wh|ich is a|
|00001cf0| 6c 77 61 79 73 20 36 20 | 62 69 74 73 29 20 70 6c |lways 6 |bits) pl|
|00001d00| 75 73 20 74 68 65 20 52 | 75 6e 20 61 6e 64 20 4c |us the R|un and L|
|00001d10| 65 76 65 6c 0a 76 61 6c | 75 65 73 20 69 6e 20 4d |evel.val|ues in M|
|00001d20| 50 45 47 2d 31 20 63 6f | 75 6c 64 20 62 65 20 32 |PEG-1 co|uld be 2|
|00001d30| 30 20 6f 72 20 32 38 20 | 62 69 74 73 20 69 6e 20 |0 or 28 |bits in |
|00001d40| 6c 65 6e 67 74 68 2e 20 | 20 54 68 65 20 32 30 20 |length. | The 20 |
|00001d50| 62 69 74 20 65 73 63 61 | 70 65 0a 64 65 73 63 72 |bit esca|pe.descr|
|00001d60| 69 62 65 73 20 6c 65 76 | 65 6c 73 20 69 6e 20 74 |ibes lev|els in t|
|00001d70| 68 65 20 72 61 6e 67 65 | 20 5b 2d 31 32 37 2c 2b |he range| [-127,+|
|00001d80| 31 32 37 5d 2e 20 20 54 | 68 65 20 32 38 20 62 69 |127]. T|he 28 bi|
|00001d90| 74 20 64 6f 75 62 6c 65 | 20 65 73 63 61 70 65 0a |t double| escape.|
|00001da0| 68 61 73 20 61 20 72 61 | 6e 67 65 20 6f 66 20 5b |has a ra|nge of [|
|00001db0| 2d 32 35 35 2c 20 2b 32 | 35 35 5d 2e 20 20 4d 50 |-255, +2|55]. MP|
|00001dc0| 45 47 2d 32 20 69 6e 63 | 72 65 61 73 65 64 20 74 |EG-2 inc|reased t|
|00001dd0| 68 65 20 73 70 61 6e 20 | 74 6f 20 74 68 65 20 66 |he span |to the f|
|00001de0| 75 6c 6c 0a 64 79 6e 61 | 6d 69 63 20 72 61 6e 67 |ull.dyna|mic rang|
|00001df0| 65 20 6f 66 20 71 75 61 | 6e 74 69 7a 65 64 20 49 |e of qua|ntized I|
|00001e00| 44 43 54 20 63 6f 65 66 | 66 69 63 69 65 6e 74 73 |DCT coef|ficients|
|00001e10| 2c 20 5b 2d 32 30 34 37 | 2c 20 2b 32 30 34 37 5d |, [-2047|, +2047]|
|00001e20| 20 61 6e 64 0a 73 69 6d | 70 6c 69 66 69 65 64 20 | and.sim|plified |
|00001e30| 74 68 65 20 65 73 63 61 | 70 65 20 6d 65 63 68 61 |the esca|pe mecha|
|00001e40| 6e 69 73 6d 20 77 69 74 | 68 20 61 20 73 69 6e 67 |nism wit|h a sing|
|00001e50| 6c 65 20 72 65 70 72 65 | 73 65 6e 74 61 74 69 6f |le repre|sentatio|
|00001e60| 6e 20 66 6f 72 20 74 68 | 69 73 0a 65 76 65 6e 74 |n for th|is.event|
|00001e70| 2e 20 20 20 54 68 65 20 | 74 6f 74 61 6c 20 6c 65 |. The |total le|
|00001e80| 6e 67 74 68 20 6f 66 20 | 74 68 65 20 4d 50 45 47 |ngth of |the MPEG|
|00001e90| 2d 32 20 65 73 63 61 70 | 65 20 63 6f 64 65 77 6f |-2 escap|e codewo|
|00001ea0| 72 64 20 69 73 20 32 34 | 20 62 69 74 73 20 28 36 |rd is 24| bits (6|
|00001eb0| 0a 62 69 74 20 56 4c 43 | 20 66 6f 6c 6c 6f 77 65 |.bit VLC| followe|
|00001ec0| 64 20 62 79 20 61 20 36 | 2d 62 69 74 20 52 75 6e |d by a 6|-bit Run|
|00001ed0| 20 76 61 6c 75 65 2c 20 | 61 6e 64 20 31 32 20 62 | value, |and 12 b|
|00001ee0| 69 74 20 4c 65 76 65 6c | 20 76 61 6c 75 65 29 2e |it Level| value).|
|00001ef0| 20 20 49 74 20 77 61 73 | 0a 61 6e 20 61 73 73 75 | It was|.an assu|
|00001f00| 6d 70 74 69 6f 6e 20 62 | 79 20 4d 50 45 47 2d 31 |mption b|y MPEG-1|
|00001f10| 20 64 65 73 69 67 6e 65 | 72 73 20 74 68 61 74 20 | designe|rs that |
|00001f20| 6e 6f 20 71 75 61 6e 74 | 69 7a 65 64 20 44 43 54 |no quant|ized DCT|
|00001f30| 20 63 6f 65 66 66 69 63 | 69 65 6e 74 0a 77 6f 75 | coeffic|ient.wou|
|00001f40| 6c 64 20 6e 65 65 64 20 | 67 72 65 61 74 65 72 20 |ld need |greater |
|00001f50| 72 65 70 72 65 73 65 6e | 74 61 74 69 6f 6e 20 74 |represen|tation t|
|00001f60| 68 61 6e 20 31 30 20 62 | 69 74 73 20 5b 2d 32 35 |han 10 b|its [-25|
|00001f70| 35 2c 2b 32 35 35 5d 2e | 20 20 4e 6f 74 65 3a 0a |5,+255].| Note:.|
|00001f80| 4d 50 45 47 2d 32 20 65 | 73 63 61 70 65 20 6d 65 |MPEG-2 e|scape me|
|00001f90| 63 68 61 6e 69 73 6d 20 | 64 6f 65 73 20 6e 6f 74 |chanism |does not|
|00001fa0| 20 70 65 72 6d 69 74 20 | 74 68 65 20 76 61 6c 75 | permit |the valu|
|00001fb0| 65 20 2d 32 30 34 38 20 | 74 6f 20 62 65 0a 72 65 |e -2048 |to be.re|
|00001fc0| 70 72 65 73 65 6e 74 65 | 64 2e 0a 0a 6d 69 73 6d |presente|d...mism|
|00001fd0| 61 74 63 68 20 63 6f 6e | 74 72 6f 6c 3a 20 20 54 |atch con|trol: T|
|00001fe0| 68 65 20 61 72 69 74 68 | 6d 65 74 69 63 20 72 65 |he arith|metic re|
|00001ff0| 73 75 6c 74 73 20 6f 66 | 20 61 6c 6c 20 73 74 61 |sults of| all sta|
|00002000| 67 65 73 20 61 72 65 20 | 64 65 66 69 6e 65 64 0a |ges are |defined.|
|00002010| 65 78 61 63 74 6c 79 20 | 62 79 20 74 68 65 20 6e |exactly |by the n|
|00002020| 6f 72 6d 61 74 69 76 65 | 20 4d 50 45 47 20 64 65 |ormative| MPEG de|
|00002030| 63 6f 64 69 6e 67 20 70 | 72 6f 63 65 73 73 2c 20 |coding p|rocess, |
|00002040| 77 69 74 68 20 74 68 65 | 20 73 69 6e 67 6c 65 0a |with the| single.|
|00002050| 65 78 63 65 70 74 69 6f | 6e 20 6f 66 20 74 68 65 |exceptio|n of the|
|00002060| 20 49 6e 76 65 72 73 65 | 20 44 69 73 63 72 65 74 | Inverse| Discret|
|00002070| 65 20 43 6f 73 69 6e 65 | 20 54 72 61 6e 73 66 6f |e Cosine| Transfo|
|00002080| 72 6d 20 28 49 44 43 54 | 29 2e 20 54 68 69 73 20 |rm (IDCT|). This |
|00002090| 73 74 61 67 65 0a 63 61 | 6e 20 62 65 20 69 6d 70 |stage.ca|n be imp|
|000020a0| 6c 65 6d 65 6e 74 65 64 | 20 77 69 74 68 20 61 20 |lemented| with a |
|000020b0| 77 69 64 65 20 76 61 72 | 69 65 74 79 20 6f 66 20 |wide var|iety of |
|000020c0| 49 44 43 54 20 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |IDCT imp|lementat|
|000020d0| 69 6f 6e 73 2e 20 20 53 | 6f 6d 65 0a 61 72 65 20 |ions. S|ome.are |
|000020e0| 6d 6f 72 65 20 73 75 69 | 74 65 64 20 66 6f 72 20 |more sui|ted for |
|000020f0| 73 6f 66 74 77 61 72 65 | 2c 20 6f 74 68 65 72 73 |software|, others|
|00002100| 20 66 6f 72 20 70 72 6f | 67 72 61 6d 6d 61 62 6c | for pro|grammabl|
|00002110| 65 20 68 61 72 64 77 61 | 72 65 2c 20 61 6e 64 0a |e hardwa|re, and.|
|00002120| 6f 74 68 65 72 73 20 73 | 74 69 6c 6c 20 66 6f 72 |others s|till for|
|00002130| 20 68 61 72 64 77 69 72 | 65 64 20 68 61 72 64 77 | hardwir|ed hardw|
|00002140| 61 72 65 20 64 65 73 69 | 67 6e 73 2e 20 54 68 65 |are desi|gns. The|
|00002150| 20 49 44 43 54 20 72 65 | 66 65 72 65 6e 63 65 20 | IDCT re|ference |
|00002160| 66 6f 72 6d 75 6c 61 0a | 69 6e 20 74 68 65 20 4d |formula.|in the M|
|00002170| 50 45 47 20 73 70 65 63 | 69 66 69 63 61 74 69 6f |PEG spec|ificatio|
|00002180| 6e 20 77 6f 75 6c 64 2c | 20 69 66 20 64 69 72 65 |n would,| if dire|
|00002190| 63 74 6c 79 20 69 6d 70 | 6c 65 6d 65 6e 74 65 64 |ctly imp|lemented|
|000021a0| 2c 20 63 6f 6e 73 75 6d | 65 20 61 74 0a 6c 65 61 |, consum|e at.lea|
|000021b0| 73 74 20 31 30 32 34 20 | 6d 75 6c 74 69 70 6c 79 |st 1024 |multiply|
|000021c0| 20 61 6e 64 20 31 30 32 | 34 20 61 64 64 69 74 69 | and 102|4 additi|
|000021d0| 6f 6e 20 6f 70 65 72 61 | 74 69 6f 6e 73 20 66 6f |on opera|tions fo|
|000021e0| 72 20 65 76 65 72 79 20 | 62 6c 6f 63 6b 2e 20 41 |r every |block. A|
|000021f0| 0a 77 69 64 65 20 76 61 | 72 69 65 74 79 20 6f 66 |.wide va|riety of|
|00002200| 20 66 61 73 74 20 61 6c | 67 6f 72 69 74 68 6d 73 | fast al|gorithms|
|00002210| 20 65 78 69 73 74 20 77 | 68 69 63 68 20 63 61 6e | exist w|hich can|
|00002220| 20 72 65 64 75 63 65 20 | 74 68 65 20 63 6f 75 6e | reduce |the coun|
|00002230| 74 20 74 6f 0a 6c 65 73 | 73 20 74 68 61 6e 20 32 |t to.les|s than 2|
|00002240| 30 30 20 6d 75 6c 74 69 | 70 6c 69 65 73 20 61 6e |00 multi|plies an|
|00002250| 64 20 35 30 30 20 61 64 | 64 73 20 70 65 72 20 62 |d 500 ad|ds per b|
|00002260| 6c 6f 63 6b 20 62 79 20 | 65 78 70 6c 6f 69 74 69 |lock by |exploiti|
|00002270| 6e 67 20 74 68 65 0a 69 | 6e 6e 61 74 65 20 73 79 |ng the.i|nnate sy|
|00002280| 6d 6d 65 74 72 79 20 6f | 66 20 74 68 65 20 63 6f |mmetry o|f the co|
|00002290| 73 69 6e 65 20 62 61 73 | 69 73 20 66 75 6e 63 74 |sine bas|is funct|
|000022a0| 69 6f 6e 73 2e 20 41 20 | 74 79 70 69 63 61 6c 20 |ions. A |typical |
|000022b0| 66 61 73 74 20 49 44 43 | 54 0a 61 6c 67 6f 72 69 |fast IDC|T.algori|
|000022c0| 74 68 6d 20 77 6f 75 6c | 64 20 62 65 20 64 77 61 |thm woul|d be dwa|
|000022d0| 72 66 65 64 20 62 79 20 | 74 68 65 20 63 6f 73 74 |rfed by |the cost|
|000022e0| 20 6f 66 20 74 68 65 20 | 6f 74 68 65 72 20 64 65 | of the |other de|
|000022f0| 63 6f 64 65 72 20 73 74 | 61 67 65 73 0a 63 6f 6d |coder st|ages.com|
|00002300| 62 69 6e 65 64 2e 20 45 | 61 63 68 20 66 61 73 74 |bined. E|ach fast|
|00002310| 20 49 44 43 54 20 61 6c | 67 6f 72 69 74 68 6d 20 | IDCT al|gorithm |
|00002320| 68 61 73 20 64 69 66 66 | 65 72 65 6e 74 20 71 75 |has diff|erent qu|
|00002330| 61 6e 74 69 7a 61 74 69 | 6f 6e 20 65 72 72 6f 72 |antizati|on error|
|00002340| 0a 73 74 61 74 69 73 74 | 69 63 73 20 28 66 69 6e |.statist|ics (fin|
|00002350| 67 65 72 70 72 69 6e 74 | 29 2c 20 61 6c 74 68 6f |gerprint|), altho|
|00002360| 75 67 68 20 73 75 62 74 | 6c 65 20 77 68 65 6e 20 |ugh subt|le when |
|00002370| 74 68 65 20 70 72 65 63 | 69 73 69 6f 6e 20 6f 66 |the prec|ision of|
|00002380| 20 74 68 65 0a 61 72 69 | 74 68 6d 65 74 69 63 20 | the.ari|thmetic |
|00002390| 69 73 2c 20 66 6f 72 20 | 65 78 61 6d 70 6c 65 2c |is, for |example,|
|000023a0| 20 61 74 20 6c 65 61 73 | 74 20 31 36 2d 62 69 74 | at leas|t 16-bit|
|000023b0| 73 20 66 6f 72 20 74 68 | 65 20 74 72 61 6e 73 66 |s for th|e transf|
|000023c0| 6f 72 6d 0a 63 6f 65 66 | 66 69 63 69 65 6e 74 73 |orm.coef|ficients|
|000023d0| 20 61 6e 64 20 32 34 2d | 62 69 74 73 20 66 6f 72 | and 24-|bits for|
|000023e0| 20 69 6e 74 65 72 6d 65 | 64 69 61 74 65 20 64 6f | interme|diate do|
|000023f0| 74 20 70 72 6f 64 75 63 | 74 20 76 61 6c 75 65 73 |t produc|t values|
|00002400| 2e 0a 54 68 65 72 65 66 | 6f 72 65 2c 20 4d 50 45 |..Theref|ore, MPE|
|00002410| 47 20 63 61 6e 6e 6f 74 | 20 73 74 61 6e 64 61 72 |G cannot| standar|
|00002420| 64 69 7a 65 20 61 20 73 | 69 6e 67 6c 65 20 66 61 |dize a s|ingle fa|
|00002430| 73 74 20 49 44 43 54 20 | 61 6c 67 6f 72 69 74 68 |st IDCT |algorith|
|00002440| 6d 2e 20 54 68 65 0a 61 | 63 63 75 72 61 63 79 20 |m. The.a|ccuracy |
|00002450| 63 61 6e 20 62 65 20 64 | 65 66 69 6e 65 64 20 6f |can be d|efined o|
|00002460| 6e 6c 79 20 73 74 61 74 | 69 73 74 69 63 61 6c 6c |nly stat|isticall|
|00002470| 79 2e 20 20 54 68 65 20 | 49 45 45 45 20 31 31 38 |y. The |IEEE 118|
|00002480| 30 0a 72 65 63 6f 6d 6d | 65 6e 64 61 74 69 6f 6e |0.recomm|endation|
|00002490| 20 28 44 65 63 65 6d 62 | 65 72 20 31 39 39 30 29 | (Decemb|er 1990)|
|000024a0| 20 64 65 66 69 6e 65 73 | 20 74 68 65 20 65 72 72 | defines| the err|
|000024b0| 6f 72 20 74 6f 6c 65 72 | 61 6e 63 65 20 62 65 74 |or toler|ance bet|
|000024c0| 77 65 65 6e 20 61 6e 0a | 69 64 65 61 6c 20 64 69 |ween an.|ideal di|
|000024d0| 72 65 63 74 2d 6d 61 74 | 72 69 78 20 66 6c 6f 61 |rect-mat|rix floa|
|000024e0| 74 69 6e 67 20 70 6f 69 | 6e 74 20 69 6d 70 6c 65 |ting poi|nt imple|
|000024f0| 6d 65 6e 74 61 74 69 6f | 6e 20 28 61 20 64 69 72 |mentatio|n (a dir|
|00002500| 65 63 74 0a 69 6d 70 6c | 65 6d 65 6e 74 61 74 69 |ect.impl|ementati|
|00002510| 6f 6e 20 6f 66 20 74 68 | 65 20 4d 50 45 47 20 72 |on of th|e MPEG r|
|00002520| 65 66 65 72 65 6e 63 65 | 20 66 6f 72 6d 75 6c 61 |eference| formula|
|00002530| 29 20 61 6e 64 20 74 68 | 65 20 74 65 73 74 20 49 |) and th|e test I|
|00002540| 44 43 54 2e 0a 0a 4d 69 | 73 6d 61 74 63 68 20 63 |DCT...Mi|smatch c|
|00002550| 6f 6e 74 72 6f 6c 20 61 | 74 74 65 6d 70 74 73 20 |ontrol a|ttempts |
|00002560| 74 6f 20 72 65 64 75 63 | 65 20 74 68 65 20 64 72 |to reduc|e the dr|
|00002570| 69 66 74 20 62 65 74 77 | 65 65 6e 20 64 69 66 66 |ift betw|een diff|
|00002580| 65 72 65 6e 74 20 49 44 | 43 54 0a 61 6c 67 6f 72 |erent ID|CT.algor|
|00002590| 69 74 68 6d 73 20 62 79 | 20 65 6c 69 6d 69 6e 61 |ithms by| elimina|
|000025a0| 74 69 6e 67 20 62 69 74 | 20 70 61 74 74 65 72 6e |ting bit| pattern|
|000025b0| 73 20 77 68 69 63 68 20 | 73 74 61 74 69 73 74 69 |s which |statisti|
|000025c0| 63 61 6c 6c 79 20 68 61 | 76 65 20 74 68 65 0a 67 |cally ha|ve the.g|
|000025d0| 72 65 61 74 65 73 74 20 | 63 6f 6e 74 72 69 62 75 |reatest |contribu|
|000025e0| 74 69 6f 6e 20 74 6f 77 | 61 72 64 73 20 6d 69 73 |tion tow|ards mis|
|000025f0| 6d 61 74 63 68 65 73 20 | 62 65 74 77 65 65 6e 20 |matches |between |
|00002600| 74 68 65 20 76 61 72 69 | 65 74 79 20 6f 66 0a 6d |the vari|ety of.m|
|00002610| 65 74 68 6f 64 73 2e 20 | 54 68 65 20 72 65 63 6f |ethods. |The reco|
|00002620| 6e 73 74 72 75 63 74 69 | 6f 6e 73 20 6f 66 20 74 |nstructi|ons of t|
|00002630| 77 6f 20 64 65 63 6f 64 | 65 72 73 20 77 69 6c 6c |wo decod|ers will|
|00002640| 20 62 65 67 69 6e 20 74 | 6f 20 64 69 76 65 72 67 | begin t|o diverg|
|00002650| 65 20 6f 76 65 72 0a 74 | 69 6d 65 20 73 69 6e 63 |e over.t|ime sinc|
|00002660| 65 20 74 68 65 69 72 20 | 72 65 73 70 65 63 74 69 |e their |respecti|
|00002670| 76 65 20 49 44 43 54 20 | 64 65 73 69 67 6e 73 20 |ve IDCT |designs |
|00002680| 77 69 6c 6c 20 72 65 63 | 6f 6e 73 74 72 75 63 74 |will rec|onstruct|
|00002690| 20 6f 63 63 61 73 69 6f | 6e 61 6c 2c 0a 73 6c 69 | occasio|nal,.sli|
|000026a0| 67 68 74 6c 79 20 64 69 | 66 66 65 72 65 6e 74 20 |ghtly di|fferent |
|000026b0| 38 78 38 20 62 6c 6f 63 | 6b 73 2e 0a 0a 4d 50 45 |8x8 bloc|ks...MPE|
|000026c0| 47 2d 31 73 20 6d 69 73 | 6d 61 74 63 68 20 63 6f |G-1s mis|match co|
|000026d0| 6e 74 72 6f 6c 20 6d 65 | 74 68 6f 64 20 69 73 20 |ntrol me|thod is |
|000026e0| 6b 6e 6f 77 6e 20 63 61 | 6e 6f 6e 69 63 69 61 6c |known ca|nonicial|
|000026f0| 6c 79 20 61 73 20 4f 64 | 64 69 66 69 63 61 74 69 |ly as Od|dificati|
|00002700| 6f 6e 2c 0a 73 69 6e 63 | 65 20 69 74 20 66 6f 72 |on,.sinc|e it for|
|00002710| 63 65 73 20 61 6c 6c 20 | 71 75 61 6e 74 69 7a 65 |ces all |quantize|
|00002720| 64 20 44 43 54 20 63 6f | 65 66 66 69 63 69 65 6e |d DCT co|efficien|
|00002730| 74 73 20 74 6f 20 6e 65 | 67 61 74 69 76 65 20 76 |ts to ne|gative v|
|00002740| 61 6c 75 65 73 2e 20 49 | 74 0a 69 73 20 61 20 73 |alues. I|t.is a s|
|00002750| 6c 69 67 68 74 20 69 6d | 70 72 6f 76 65 6d 65 6e |light im|provemen|
|00002760| 74 20 6f 76 65 72 20 69 | 74 73 20 70 72 65 64 65 |t over i|ts prede|
|00002770| 63 65 73 73 6f 72 20 69 | 6e 20 48 2e 32 36 31 2e |cessor i|n H.261.|
|00002780| 20 20 4d 50 45 47 2d 32 | 20 61 64 6f 70 74 65 64 | MPEG-2| adopted|
|00002790| 0a 61 20 64 69 66 66 65 | 72 65 6e 74 20 6d 65 74 |.a diffe|rent met|
|000027a0| 68 6f 64 20 63 61 6c 6c | 65 64 2c 20 61 67 61 69 |hod call|ed, agai|
|000027b0| 6e 20 63 61 6e 6f 6e 69 | 63 61 6c 6c 79 2c 20 4c |n canoni|cally, L|
|000027c0| 53 42 20 54 6f 67 67 6c | 69 6e 67 2c 20 66 75 72 |SB Toggl|ing, fur|
|000027d0| 74 68 65 72 0a 72 65 64 | 75 63 69 6e 67 20 74 68 |ther.red|ucing th|
|000027e0| 65 20 6c 69 6b 65 6c 69 | 68 6f 6f 64 20 6f 66 20 |e likeli|hood of |
|000027f0| 6d 69 73 6d 61 74 63 68 | 2e 20 54 6f 67 67 6c 69 |mismatch|. Toggli|
|00002800| 6e 67 20 61 66 66 65 63 | 74 73 20 6f 6e 6c 79 20 |ng affec|ts only |
|00002810| 74 68 65 20 4c 65 61 73 | 74 0a 53 69 67 6e 69 66 |the Leas|t.Signif|
|00002820| 69 63 61 6e 74 20 42 69 | 74 20 28 4c 53 42 29 20 |icant Bi|t (LSB) |
|00002830| 6f 66 20 74 68 65 20 36 | 33 72 64 20 41 43 20 44 |of the 6|3rd AC D|
|00002840| 43 54 20 63 6f 65 66 66 | 69 63 69 65 6e 74 20 28 |CT coeff|icient (|
|00002850| 74 68 65 20 68 69 67 68 | 65 73 74 0a 66 72 65 71 |the high|est.freq|
|00002860| 75 65 6e 63 79 20 69 6e | 20 74 68 65 20 44 43 54 |uency in| the DCT|
|00002870| 20 6d 61 74 72 69 78 29 | 2e 20 20 41 6e 6f 74 68 | matrix)|. Anoth|
|00002880| 65 72 20 73 69 67 6e 69 | 66 69 63 61 6e 74 20 64 |er signi|ficant d|
|00002890| 69 66 66 65 72 65 6e 63 | 65 20 62 65 74 77 65 65 |ifferenc|e betwee|
|000028a0| 6e 0a 4d 50 45 47 2d 31 | 20 61 6e 64 20 4d 50 45 |n.MPEG-1| and MPE|
|000028b0| 47 2d 32 20 6d 69 73 6d | 61 74 63 68 20 63 6f 6e |G-2 mism|atch con|
|000028c0| 74 72 6f 6c 20 69 73 2c | 20 69 6e 20 4d 50 45 47 |trol is,| in MPEG|
|000028d0| 2d 31 2c 20 6f 64 64 69 | 66 69 63 61 74 69 6f 6e |-1, oddi|fication|
|000028e0| 20 69 73 0a 70 65 72 66 | 6f 72 6d 65 64 20 6f 6e | is.perf|ormed on|
|000028f0| 20 74 68 65 20 71 75 61 | 6e 74 69 7a 65 64 20 44 | the qua|ntized D|
|00002900| 43 54 20 63 6f 65 66 66 | 69 63 69 65 6e 74 73 2c |CT coeff|icients,|
|00002910| 20 77 68 65 72 65 61 73 | 20 69 6e 20 4d 50 45 47 | whereas| in MPEG|
|00002920| 2d 32 2c 0a 74 6f 67 67 | 6c 69 6e 67 20 69 73 20 |-2,.togg|ling is |
|00002930| 70 65 72 66 6f 72 6d 65 | 64 20 6f 6e 20 74 68 65 |performe|d on the|
|00002940| 20 44 43 54 20 63 6f 65 | 66 66 69 63 69 65 6e 74 | DCT coe|fficient|
|00002950| 73 20 61 66 74 65 72 20 | 69 6e 76 65 72 73 65 0a |s after |inverse.|
|00002960| 71 75 61 6e 74 69 7a 61 | 74 69 6f 6e 2e 20 20 4d |quantiza|tion. M|
|00002970| 50 45 47 2d 31 73 20 6d | 69 73 6d 61 74 63 68 20 |PEG-1s m|ismatch |
|00002980| 63 6f 6e 74 72 6f 6c 20 | 6d 65 74 68 6f 64 20 66 |control |method f|
|00002990| 61 76 6f 72 73 20 70 72 | 6f 67 72 61 6d 6d 61 62 |avors pr|ogrammab|
|000029a0| 6c 65 0a 69 6d 70 6c 65 | 6d 65 6e 74 61 74 69 6f |le.imple|mentatio|
|000029b0| 6e 20 73 69 6e 63 65 20 | 61 20 62 6c 6f 63 6b 20 |n since |a block |
|000029c0| 6f 66 20 44 43 54 20 63 | 6f 65 66 66 69 63 69 65 |of DCT c|oefficie|
|000029d0| 6e 74 73 20 77 68 65 6e | 20 71 75 61 6e 74 69 7a |nts when| quantiz|
|000029e0| 65 64 2e 0a 0a 53 61 6d | 70 6c 65 3a 0a 54 68 65 |ed...Sam|ple:.The|
|000029f0| 20 74 77 6f 20 63 68 72 | 6f 6d 69 6e 61 63 65 20 | two chr|ominace |
|00002a00| 70 69 63 74 75 72 65 73 | 20 28 43 62 2c 20 43 72 |pictures| (Cb, Cr|
|00002a10| 29 20 70 6f 73 73 65 73 | 73 20 6f 6e 6c 79 20 68 |) posses|s only h|
|00002a20| 61 6c 66 20 74 68 65 20 | 72 65 73 6f 6c 75 74 69 |alf the |resoluti|
|00002a30| 6f 6e 0a 69 6e 20 62 6f | 74 68 20 74 68 65 20 68 |on.in bo|th the h|
|00002a40| 6f 72 69 7a 6f 6e 74 61 | 6c 20 61 6e 64 20 76 65 |orizonta|l and ve|
|00002a50| 72 74 69 63 61 6c 20 64 | 69 72 65 63 74 69 6f 6e |rtical d|irection|
|00002a60| 20 61 73 20 74 68 65 20 | 6c 75 6d 69 6e 61 6e 63 | as the |luminanc|
|00002a70| 65 20 70 69 63 74 75 72 | 65 0a 28 59 29 2e 20 20 |e pictur|e.(Y). |
|00002a80| 54 68 69 73 20 69 73 20 | 74 68 65 20 64 65 66 69 |This is |the defi|
|00002a90| 6e 69 74 69 6f 6e 20 6f | 66 20 74 68 65 20 34 3a |nition o|f the 4:|
|00002aa0| 32 3a 30 20 63 68 72 6f | 6d 61 20 66 6f 72 6d 61 |2:0 chro|ma forma|
|00002ab0| 74 2e 20 4d 6f 73 74 0a | 74 65 6c 65 76 69 73 69 |t. Most.|televisi|
|00002ac0| 6f 6e 20 64 69 73 70 6c | 61 79 73 20 72 65 71 75 |on displ|ays requ|
|00002ad0| 69 72 65 20 74 68 61 74 | 20 61 74 20 6c 65 61 73 |ire that| at leas|
|00002ae0| 74 20 74 68 65 20 76 65 | 72 74 69 63 61 6c 20 63 |t the ve|rtical c|
|00002af0| 68 72 6f 6d 69 6e 61 6e | 63 65 0a 72 65 73 6f 6c |hrominan|ce.resol|
|00002b00| 75 74 69 6f 6e 20 6d 61 | 74 63 68 65 73 20 74 68 |ution ma|tches th|
|00002b10| 65 20 6c 75 6d 69 6e 61 | 6e 63 65 20 28 34 3a 32 |e lumina|nce (4:2|
|00002b20| 3a 32 20 63 68 72 6f 6d | 61 20 66 6f 72 6d 61 74 |:2 chrom|a format|
|00002b30| 29 2e 20 43 6f 6d 70 75 | 74 65 72 0a 64 69 73 70 |). Compu|ter.disp|
|00002b40| 6c 61 79 73 20 6d 61 79 | 20 66 75 72 74 68 65 72 |lays may| further|
|00002b50| 20 73 74 69 6c 6c 20 64 | 65 6d 61 6e 64 20 74 68 | still d|emand th|
|00002b60| 61 74 20 74 68 65 20 68 | 6f 72 69 7a 6f 6e 74 61 |at the h|orizonta|
|00002b70| 6c 20 72 65 73 6f 6c 75 | 74 69 6f 6e 20 61 6c 73 |l resolu|tion als|
|00002b80| 6f 0a 62 65 20 65 71 75 | 69 76 61 6c 65 6e 74 20 |o.be equ|ivalent |
|00002b90| 28 34 3a 34 3a 34 20 63 | 68 72 6f 6d 61 20 66 6f |(4:4:4 c|hroma fo|
|00002ba0| 72 6d 61 74 29 2e 20 54 | 68 65 72 65 20 61 72 65 |rmat). T|here are|
|00002bb0| 20 61 20 76 61 72 69 65 | 74 79 20 6f 66 20 66 69 | a varie|ty of fi|
|00002bc0| 6c 74 65 72 69 6e 67 0a | 6d 65 74 68 6f 64 73 20 |ltering.|methods |
|00002bd0| 66 6f 72 20 69 6e 74 65 | 72 70 6f 6c 61 74 69 6e |for inte|rpolatin|
|00002be0| 67 20 74 68 65 20 63 68 | 72 6f 6d 69 6e 61 6e 63 |g the ch|rominanc|
|00002bf0| 65 20 73 61 6d 70 6c 65 | 73 20 74 6f 20 6d 61 74 |e sample|s to mat|
|00002c00| 63 68 20 74 68 65 20 73 | 61 6d 70 6c 65 0a 64 65 |ch the s|ample.de|
|00002c10| 6e 73 69 74 79 20 6f 66 | 20 6c 75 6d 69 6e 61 6e |nsity of| luminan|
|00002c20| 63 65 2e 20 48 6f 77 65 | 76 65 72 2c 20 74 68 65 |ce. Howe|ver, the|
|00002c30| 20 6f 66 66 69 63 69 61 | 6c 20 6c 6f 63 61 74 69 | officia|l locati|
|00002c40| 6f 6e 20 6f 72 20 63 65 | 6e 74 65 72 20 6f 66 20 |on or ce|nter of |
|00002c50| 74 68 65 0a 6c 6f 77 65 | 72 20 72 65 73 6f 6c 75 |the.lowe|r resolu|
|00002c60| 74 69 6f 6e 20 63 68 72 | 6f 6d 69 6e 61 6e 63 65 |tion chr|ominance|
|00002c70| 20 73 61 6d 70 6c 65 20 | 73 68 6f 75 6c 64 20 69 | sample |should i|
|00002c80| 6e 66 6c 75 65 6e 63 65 | 20 74 68 65 20 66 69 6c |nfluence| the fil|
|00002c90| 74 65 72 20 64 65 73 69 | 67 6e 0a 28 72 65 6c 61 |ter desi|gn.(rela|
|00002ca0| 74 69 76 65 20 74 61 70 | 73 20 77 65 69 67 68 74 |tive tap|s weight|
|00002cb0| 73 29 2c 20 6f 74 68 65 | 72 77 69 73 65 20 74 68 |s), othe|rwise th|
|00002cc0| 65 20 63 68 72 6f 6d 69 | 6e 61 6e 63 65 20 70 6c |e chromi|nance pl|
|00002cd0| 61 6e 65 20 63 61 6e 20 | 61 70 70 65 61 72 20 74 |ane can |appear t|
|00002ce0| 6f 0a 62 65 20 73 68 69 | 66 74 65 64 20 62 79 20 |o.be shi|fted by |
|00002cf0| 61 20 66 72 61 63 74 69 | 6f 6e 61 6c 20 73 61 6d |a fracti|onal sam|
|00002d00| 70 6c 65 20 69 6e 20 74 | 68 65 20 77 72 6f 6e 67 |ple in t|he wrong|
|00002d10| 20 64 69 72 65 63 74 69 | 6f 6e 2e 0a 0a 54 68 65 | directi|on...The|
|00002d20| 20 73 75 62 73 61 6d 70 | 6c 65 64 20 4d 50 45 47 | subsamp|led MPEG|
|00002d30| 2d 31 20 63 68 72 6f 6d | 61 20 70 6f 73 69 74 69 |-1 chrom|a positi|
|00002d40| 6f 6e 20 68 61 73 20 61 | 20 63 65 6e 74 65 72 20 |on has a| center |
|00002d50| 65 78 61 63 74 6c 79 20 | 68 61 6c 66 20 77 61 79 |exactly |half way|
|00002d60| 0a 62 65 74 77 65 65 6e | 20 74 68 65 20 66 6f 75 |.between| the fou|
|00002d70| 72 20 6e 65 61 72 65 73 | 74 20 6e 65 69 67 68 62 |r neares|t neighb|
|00002d80| 6f 72 69 6e 67 20 6c 75 | 6d 69 6e 61 6e 63 65 20 |oring lu|minance |
|00002d90| 73 61 6d 70 6c 65 73 2e | 20 20 54 6f 20 62 65 0a |samples.| To be.|
|00002da0| 63 6f 6e 73 69 73 74 65 | 6e 74 20 77 69 74 68 20 |consiste|nt with |
|00002db0| 74 68 65 20 73 75 62 73 | 61 6d 70 6c 65 64 20 63 |the subs|ampled c|
|00002dc0| 68 72 6f 6d 69 6e 61 6e | 63 65 20 70 6f 73 69 74 |hrominan|ce posit|
|00002dd0| 69 6f 6e 73 20 6f 66 20 | 34 3a 32 3a 32 0a 74 65 |ions of |4:2:2.te|
|00002de0| 6c 65 76 69 73 69 6f 6e | 20 73 69 67 6e 61 6c 73 |levision| signals|
|00002df0| 2c 20 4d 50 45 47 2d 32 | 20 6d 6f 76 65 64 20 74 |, MPEG-2| moved t|
|00002e00| 68 65 20 63 65 6e 74 65 | 72 20 6f 66 20 74 68 65 |he cente|r of the|
|00002e10| 20 63 68 72 6f 6d 69 6e | 61 6e 63 65 20 73 61 6d | chromin|ance sam|
|00002e20| 70 6c 65 73 0a 74 6f 20 | 62 65 20 63 6f 2d 6c 6f |ples.to |be co-lo|
|00002e30| 63 61 74 65 64 20 68 6f | 72 69 7a 6f 6e 74 61 6c |cated ho|rizontal|
|00002e40| 6c 79 20 77 69 74 68 20 | 74 68 65 20 6c 75 6d 69 |ly with |the lumi|
|00002e50| 6e 61 6e 63 65 20 73 61 | 6d 70 6c 65 73 2e 0a 0a |nance sa|mples...|
|00002e60| 0a 4d 69 73 63 2e 3a 0a | 0a 63 6f 70 79 72 69 67 |.Misc.:.|.copyrig|
|00002e70| 68 74 5f 69 64 20 65 78 | 74 65 6e 73 69 6f 6e 20 |ht_id ex|tension |
|00002e80| 63 61 6e 20 69 64 65 6e | 74 69 66 79 20 77 68 65 |can iden|tify whe|
|00002e90| 74 68 65 72 20 61 20 73 | 65 71 75 65 6e 63 65 20 |ther a s|equence |
|00002ea0| 6f 72 20 73 75 62 73 65 | 74 20 6f 66 0a 66 72 61 |or subse|t of.fra|
|00002eb0| 6d 65 73 20 77 69 74 68 | 69 6e 20 74 68 65 20 73 |mes with|in the s|
|00002ec0| 65 71 75 65 6e 63 65 20 | 69 73 20 63 6f 70 79 72 |equence |is copyr|
|00002ed0| 69 67 68 74 65 64 2c 20 | 61 6e 64 20 70 72 6f 76 |ighted, |and prov|
|00002ee0| 69 64 65 73 20 61 20 75 | 6e 69 71 75 65 20 36 34 |ides a u|nique 64|
|00002ef0| 2d 62 69 74 0a 63 6f 70 | 79 72 69 67 68 74 5f 69 |-bit.cop|yright_i|
|00002f00| 64 5f 6e 75 6d 62 65 72 | 20 72 65 67 69 73 74 65 |d_number| registe|
|00002f10| 72 65 64 20 77 69 74 68 | 20 74 68 65 20 49 53 4f |red with| the ISO|
|00002f20| 2f 49 45 43 2e 0a 0a 53 | 79 6e 74 61 78 20 63 61 |/IEC...S|yntax ca|
|00002f30| 6e 20 6e 6f 77 20 73 69 | 67 6e 61 6c 20 66 72 61 |n now si|gnal fra|
|00002f40| 6d 65 20 73 69 7a 65 73 | 20 61 73 20 6c 61 72 67 |me sizes| as larg|
|00002f50| 65 20 61 73 20 31 36 33 | 38 33 20 78 20 31 36 33 |e as 163|83 x 163|
|00002f60| 38 33 2e 20 53 69 6e 63 | 65 0a 4d 50 45 47 2d 31 |83. Sinc|e.MPEG-1|
|00002f70| 20 65 6d 70 6c 6f 79 65 | 64 20 61 20 6d 65 61 67 | employe|d a meag|
|00002f80| 65 72 20 31 32 2d 62 69 | 74 73 20 74 6f 20 64 65 |er 12-bi|ts to de|
|00002f90| 73 63 72 69 62 65 20 68 | 6f 72 69 7a 6f 6e 74 61 |scribe h|orizonta|
|00002fa0| 6c 5f 73 69 7a 65 20 61 | 6e 64 0a 76 65 72 74 69 |l_size a|nd.verti|
|00002fb0| 63 61 6c 5f 73 69 7a 65 | 20 2c 20 74 68 65 20 72 |cal_size| , the r|
|00002fc0| 61 6e 67 65 20 77 61 73 | 20 6c 69 6d 69 74 65 64 |ange was| limited|
|00002fd0| 20 74 6f 20 34 30 39 35 | 78 34 30 39 35 2e 20 20 | to 4095|x4095. |
|00002fe0| 48 6f 77 65 76 65 72 2c | 20 4d 50 45 47 73 0a 4c |However,| MPEGs.L|
|00002ff0| 65 76 65 6c 73 20 70 72 | 65 73 63 72 69 62 65 20 |evels pr|escribe |
|00003000| 69 6d 70 6f 72 74 61 6e | 74 20 69 6e 74 65 72 6f |importan|t intero|
|00003010| 70 65 72 61 62 69 6c 69 | 74 79 20 70 6f 69 6e 74 |perabili|ty point|
|00003020| 73 20 66 6f 72 20 70 72 | 61 63 74 69 63 61 6c 0a |s for pr|actical.|
|00003030| 64 65 63 6f 64 65 72 73 | 2e 20 43 6f 6e 73 74 72 |decoders|. Constr|
|00003040| 61 69 6e 65 64 20 50 61 | 72 61 6d 65 74 65 72 73 |ained Pa|rameters|
|00003050| 20 4d 50 45 47 2d 31 20 | 61 6e 64 20 4d 50 45 47 | MPEG-1 |and MPEG|
|00003060| 2d 32 20 4c 6f 77 20 4c | 65 76 65 6c 20 6c 69 6d |-2 Low L|evel lim|
|00003070| 69 74 20 74 68 65 0a 73 | 61 6d 70 6c 65 20 72 61 |it the.s|ample ra|
|00003080| 74 65 20 74 6f 20 33 35 | 32 78 32 34 30 78 33 30 |te to 35|2x240x30|
|00003090| 20 48 7a 2e 20 20 4d 50 | 45 47 2d 32 73 20 4d 61 | Hz. MP|EG-2s Ma|
|000030a0| 69 6e 20 4c 65 76 65 6c | 20 64 65 66 69 6e 65 73 |in Level| defines|
|000030b0| 20 74 68 65 20 6c 69 6d | 69 74 20 61 74 0a 37 32 | the lim|it at.72|
|000030c0| 30 78 34 38 30 78 33 30 | 20 48 7a 2e 20 4f 66 20 |0x480x30| Hz. Of |
|000030d0| 63 6f 75 72 73 65 2c 20 | 74 68 69 73 20 69 73 20 |course, |this is |
|000030e0| 73 69 6d 70 6c 79 20 74 | 68 65 20 72 65 73 74 72 |simply t|he restr|
|000030f0| 69 63 74 69 6f 6e 20 6f | 66 20 74 68 65 20 64 6f |iction o|f the do|
|00003100| 74 0a 70 72 6f 64 75 63 | 74 20 6f 66 20 68 6f 72 |t.produc|t of hor|
|00003110| 69 7a 6f 6e 74 61 6c 5f | 73 69 7a 65 2c 20 76 65 |izontal_|size, ve|
|00003120| 72 74 69 63 61 6c 5f 73 | 69 7a 65 2c 20 61 6e 64 |rtical_s|ize, and|
|00003130| 20 66 72 61 6d 65 5f 72 | 61 74 65 2e 20 54 68 65 | frame_r|ate. The|
|00003140| 20 4c 65 76 65 6c 0a 61 | 6c 73 6f 20 70 6c 61 63 | Level.a|lso plac|
|00003150| 65 73 20 73 65 70 61 72 | 61 74 65 20 72 65 73 74 |es separ|ate rest|
|00003160| 72 69 63 74 69 6f 6e 73 | 20 6f 6e 20 65 61 63 68 |rictions| on each|
|00003170| 20 6f 66 20 74 68 65 20 | 74 68 65 73 65 20 74 68 | of the |these th|
|00003180| 72 65 65 0a 76 61 72 69 | 61 62 6c 65 73 2e 0a 0a |ree.vari|ables...|
|00003190| 52 65 66 6c 65 63 74 69 | 6e 67 20 74 68 65 20 6d |Reflecti|ng the m|
|000031a0| 6f 72 65 20 74 65 6c 65 | 76 69 73 69 6f 6e 20 6f |ore tele|vision o|
|000031b0| 72 69 65 6e 74 65 64 20 | 6d 61 6e 6e 65 72 20 6f |riented |manner o|
|000031c0| 66 20 4d 50 45 47 2d 32 | 2c 20 74 68 65 20 6f 70 |f MPEG-2|, the op|
|000031d0| 74 69 6f 6e 61 6c 0a 73 | 65 71 75 65 6e 63 65 5f |tional.s|equence_|
|000031e0| 64 69 73 70 6c 61 79 5f | 65 78 74 65 6e 73 69 6f |display_|extensio|
|000031f0| 6e 28 29 20 68 65 61 64 | 65 72 20 63 61 6e 20 73 |n() head|er can s|
|00003200| 70 65 63 69 66 79 20 74 | 68 65 20 63 68 72 6f 6d |pecify t|he chrom|
|00003210| 61 74 69 63 79 20 6f 66 | 20 74 68 65 0a 73 6f 75 |aticy of| the.sou|
|00003220| 72 63 65 20 76 69 64 65 | 6f 20 73 69 67 6e 61 6c |rce vide|o signal|
|00003230| 20 61 73 20 69 74 20 77 | 61 73 20 70 72 69 6f 72 | as it w|as prior|
|00003240| 20 74 6f 20 72 65 70 72 | 65 73 65 6e 74 61 74 69 | to repr|esentati|
|00003250| 6f 6e 20 62 79 20 4d 50 | 45 47 20 73 79 6e 74 61 |on by MP|EG synta|
|00003260| 78 2e 0a 54 68 69 73 20 | 69 6e 66 6f 72 6d 61 74 |x..This |informat|
|00003270| 69 6f 6e 20 69 6e 63 6c | 75 64 65 73 3a 20 77 68 |ion incl|udes: wh|
|00003280| 65 74 68 65 72 20 74 68 | 65 20 6f 72 69 67 69 6e |ether th|e origin|
|00003290| 61 6c 20 76 69 64 65 6f | 5f 66 6f 72 6d 61 74 20 |al video|_format |
|000032a0| 77 61 73 0a 63 6f 6d 70 | 6f 73 69 74 65 20 6f 72 |was.comp|osite or|
|000032b0| 20 63 6f 6d 70 6f 6e 65 | 6e 74 2c 20 74 68 65 20 | compone|nt, the |
|000032c0| 6f 70 74 6f 2d 65 6c 65 | 63 74 72 6f 6e 69 63 20 |opto-ele|ctronic |
|000032d0| 74 72 61 6e 73 66 65 72 | 5f 63 68 61 72 61 63 74 |transfer|_charact|
|000032e0| 65 72 69 73 74 69 63 73 | 2c 0a 61 6e 64 20 52 47 |eristics|,.and RG|
|000032f0| 42 2d 3e 59 43 62 43 72 | 20 6d 61 74 72 69 78 5f |B->YCbCr| matrix_|
|00003300| 63 6f 65 66 66 69 63 69 | 65 6e 74 73 2e 20 54 68 |coeffici|ents. Th|
|00003310| 65 20 70 69 63 74 75 72 | 65 5f 64 69 73 70 6c 61 |e pictur|e_displa|
|00003320| 79 5f 65 78 74 65 6e 73 | 69 6f 6e 28 29 0a 70 72 |y_extens|ion().pr|
|00003330| 6f 76 69 64 65 73 20 6d | 6f 72 65 20 6c 6f 63 61 |ovides m|ore loca|
|00003340| 6c 69 7a 65 64 20 73 6f | 75 72 63 65 20 63 6f 6d |lized so|urce com|
|00003350| 70 6f 73 69 74 65 20 76 | 69 64 65 6f 20 63 68 61 |posite v|ideo cha|
|00003360| 72 61 63 74 65 72 69 73 | 74 69 63 73 20 6f 6e 20 |racteris|tics on |
|00003370| 61 0a 66 72 61 6d 65 20 | 62 79 20 66 72 61 6d 65 |a.frame |by frame|
|00003380| 20 62 61 73 69 73 20 28 | 6e 6f 74 20 66 69 65 6c | basis (|not fiel|
|00003390| 64 2d 62 79 2d 66 69 65 | 6c 64 29 2c 20 77 69 74 |d-by-fie|ld), wit|
|000033a0| 68 20 74 68 65 20 73 79 | 6e 74 61 78 20 65 6c 65 |h the sy|ntax ele|
|000033b0| 6d 65 6e 74 73 3a 0a 66 | 69 65 6c 64 5f 73 65 71 |ments:.f|ield_seq|
|000033c0| 75 65 6e 63 65 2c 20 73 | 75 62 5f 63 61 72 72 69 |uence, s|ub_carri|
|000033d0| 65 72 5f 70 68 61 73 65 | 2c 20 61 6e 64 20 62 75 |er_phase|, and bu|
|000033e0| 72 73 74 5f 61 6d 70 6c | 69 74 75 64 65 2e 20 20 |rst_ampl|itude. |
|000033f0| 54 68 69 73 0a 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |This.inf|ormation|
|00003400| 20 63 61 6e 20 62 65 20 | 75 73 65 64 20 62 79 20 | can be |used by |
|00003410| 74 68 65 20 64 69 73 70 | 6c 61 79 73 20 70 6f 73 |the disp|lays pos|
|00003420| 74 2d 70 72 6f 63 65 73 | 73 69 6e 67 20 73 74 61 |t-proces|sing sta|
|00003430| 67 65 20 74 6f 0a 72 65 | 70 72 6f 64 75 63 65 20 |ge to.re|produce |
|00003440| 61 20 6d 6f 72 65 20 72 | 65 66 69 6e 65 64 20 64 |a more r|efined d|
|00003450| 69 73 70 6c 61 79 20 73 | 65 71 75 65 6e 63 65 2e |isplay s|equence.|
|00003460| 0a 0a 4f 70 74 69 6f 6e | 61 6c 20 70 61 6e 20 26 |..Option|al pan &|
|00003470| 20 73 63 61 6e 20 73 79 | 6e 74 61 78 20 77 61 73 | scan sy|ntax was|
|00003480| 20 69 6e 74 72 6f 64 75 | 63 65 64 20 77 68 69 63 | introdu|ced whic|
|00003490| 68 20 74 65 6c 6c 73 20 | 61 20 64 65 63 6f 64 65 |h tells |a decode|
|000034a0| 72 20 6f 6e 20 61 0a 66 | 72 61 6d 65 2d 62 79 2d |r on a.f|rame-by-|
|000034b0| 66 72 61 6d 65 20 62 61 | 73 69 73 20 68 6f 77 20 |frame ba|sis how |
|000034c0| 74 6f 2c 20 66 6f 72 20 | 65 78 61 6d 70 6c 65 2c |to, for |example,|
|000034d0| 20 77 69 6e 64 6f 77 20 | 61 20 34 3a 33 20 69 6d | window |a 4:3 im|
|000034e0| 61 67 65 20 77 69 74 68 | 69 6e 20 74 68 65 0a 77 |age with|in the.w|
|000034f0| 69 64 65 72 20 31 36 3a | 39 20 61 73 70 65 63 74 |ider 16:|9 aspect|
|00003500| 20 72 61 74 69 6f 20 6f | 66 20 74 68 65 20 63 6f | ratio o|f the co|
|00003510| 64 65 64 20 66 72 61 6d | 65 2e 20 20 54 68 65 20 |ded fram|e. The |
|00003520| 76 65 72 74 69 63 61 6c | 20 70 61 6e 20 6f 66 66 |vertical| pan off|
|00003530| 73 65 74 0a 63 61 6e 20 | 62 65 20 73 70 65 63 69 |set.can |be speci|
|00003540| 66 69 65 64 20 74 6f 20 | 77 69 74 68 69 6e 20 31 |fied to |within 1|
|00003550| 2f 31 36 74 68 20 70 69 | 78 65 6c 20 61 63 63 75 |/16th pi|xel accu|
|00003560| 72 61 63 79 2e 0a 0a 3c | 49 4d 47 20 53 52 43 3d |racy...<|IMG SRC=|
|00003570| 22 6d 70 65 67 32 70 61 | 6e 2e 67 69 66 22 3e 0a |"mpeg2pa|n.gif">.|
|00003580| 0a 0a 48 6f 77 20 64 6f | 65 73 20 4d 50 45 47 20 |..How do|es MPEG |
|00003590| 73 79 6e 74 61 78 20 66 | 61 63 69 6c 69 74 61 74 |syntax f|acilitat|
|000035a0| 65 20 70 61 72 61 6c 6c | 65 6c 69 73 6d 20 3f 0a |e parall|elism ?.|
|000035b0| 0a 46 6f 72 20 4d 50 45 | 47 2d 31 2c 20 73 6c 69 |.For MPE|G-1, sli|
|000035c0| 63 65 73 20 6d 61 79 20 | 63 6f 6e 73 69 73 74 20 |ces may |consist |
|000035d0| 6f 66 20 61 6e 20 61 72 | 62 69 74 72 61 72 79 20 |of an ar|bitrary |
|000035e0| 6e 75 6d 62 65 72 20 6f | 66 20 6d 61 63 72 6f 62 |number o|f macrob|
|000035f0| 6c 6f 63 6b 73 2e 0a 54 | 68 65 79 20 63 61 6e 20 |locks..T|hey can |
|00003600| 62 65 20 69 6e 64 65 70 | 65 6e 64 65 6e 74 6c 79 |be indep|endently|
|00003610| 20 64 65 63 6f 64 65 64 | 20 6f 6e 63 65 20 74 68 | decoded| once th|
|00003620| 65 20 70 69 63 74 75 72 | 65 20 68 65 61 64 65 72 |e pictur|e header|
|00003630| 20 73 69 64 65 0a 69 6e | 66 6f 72 6d 61 74 69 6f | side.in|formatio|
|00003640| 6e 20 69 73 20 6b 6e 6f | 77 6e 2e 20 46 6f 72 20 |n is kno|wn. For |
|00003650| 70 61 72 61 6c 6c 65 6c | 69 73 6d 20 62 65 6c 6f |parallel|ism belo|
|00003660| 77 20 74 68 65 20 73 6c | 69 63 65 20 6c 65 76 65 |w the sl|ice leve|
|00003670| 6c 2c 20 74 68 65 20 63 | 6f 64 65 64 0a 62 69 74 |l, the c|oded.bit|
|00003680| 73 74 72 65 61 6d 20 6d | 75 73 74 20 66 69 72 73 |stream m|ust firs|
|00003690| 74 20 62 65 20 6d 61 70 | 70 65 64 20 69 6e 74 6f |t be map|ped into|
|000036a0| 20 66 69 78 65 64 2d 6c | 65 6e 67 74 68 20 65 6c | fixed-l|ength el|
|000036b0| 65 6d 65 6e 74 73 2e 20 | 20 46 75 72 74 68 65 72 |ements. | Further|
|000036c0| 2c 0a 73 69 6e 63 65 20 | 6d 61 63 72 6f 62 6c 6f |,.since |macroblo|
|000036d0| 63 6b 73 20 68 61 76 65 | 20 63 6f 64 69 6e 67 20 |cks have| coding |
|000036e0| 64 65 70 65 6e 64 65 6e | 63 69 65 73 20 6f 6e 20 |dependen|cies on |
|000036f0| 70 72 65 76 69 6f 75 73 | 20 6d 61 63 72 6f 62 6c |previous| macrobl|
|00003700| 6f 63 6b 73 0a 77 69 74 | 68 69 6e 20 74 68 65 20 |ocks.wit|hin the |
|00003710| 73 61 6d 65 20 73 6c 69 | 63 65 2c 20 74 68 65 20 |same sli|ce, the |
|00003720| 64 61 74 61 20 68 69 65 | 72 61 72 63 68 79 20 6d |data hie|rarchy m|
|00003730| 75 73 74 20 62 65 20 70 | 72 65 2d 70 72 6f 63 65 |ust be p|re-proce|
|00003740| 73 73 65 64 20 64 6f 77 | 6e 20 74 6f 0a 74 68 65 |ssed dow|n to.the|
|00003750| 20 6c 61 79 65 72 20 6f | 66 20 44 43 20 44 43 54 | layer o|f DC DCT|
|00003760| 20 63 6f 65 66 66 69 63 | 69 65 6e 74 73 2e 20 20 | coeffic|ients. |
|00003770| 41 66 74 65 72 20 74 68 | 69 73 2c 20 62 6c 6f 63 |After th|is, bloc|
|00003780| 6b 73 20 6d 61 79 20 62 | 65 0a 69 6e 64 65 70 65 |ks may b|e.indepe|
|00003790| 6e 64 65 6e 74 6c 79 20 | 69 6e 76 65 72 73 65 20 |ndently |inverse |
|000037a0| 74 72 61 6e 73 66 6f 72 | 6d 65 64 20 61 6e 64 20 |transfor|med and |
|000037b0| 71 75 61 6e 74 69 7a 65 | 64 2c 20 74 65 6d 70 6f |quantize|d, tempo|
|000037c0| 72 61 6c 6c 79 20 70 72 | 65 64 69 63 74 65 64 2c |rally pr|edicted,|
|000037d0| 0a 61 6e 64 20 72 65 63 | 6f 6e 73 74 72 75 63 74 |.and rec|onstruct|
|000037e0| 65 64 20 74 6f 20 62 75 | 66 66 65 72 20 6d 65 6d |ed to bu|ffer mem|
|000037f0| 6f 72 79 2e 20 20 50 61 | 72 61 6c 6c 65 6c 69 73 |ory. Pa|rallelis|
|00003800| 6d 20 69 73 20 75 73 75 | 61 6c 6c 79 20 6d 6f 72 |m is usu|ally mor|
|00003810| 65 20 6f 66 20 61 0a 63 | 6f 6e 63 65 72 6e 20 66 |e of a.c|oncern f|
|00003820| 6f 72 20 65 6e 63 6f 64 | 65 72 73 2e 20 20 49 6e |or encod|ers. In|
|00003830| 20 6d 61 6e 79 20 65 6e | 63 6f 64 65 72 73 20 74 | many en|coders t|
|00003840| 6f 64 61 79 2c 20 62 6c | 6f 63 6b 20 6d 61 74 63 |oday, bl|ock matc|
|00003850| 68 69 6e 67 20 28 6d 6f | 74 69 6f 6e 0a 65 73 74 |hing (mo|tion.est|
|00003860| 69 6d 61 74 69 6f 6e 29 | 20 61 6e 64 20 73 6f 6d |imation)| and som|
|00003870| 65 20 72 61 74 65 20 63 | 6f 6e 74 72 6f 6c 20 73 |e rate c|ontrol s|
|00003880| 74 61 67 65 73 20 28 73 | 75 63 68 20 61 73 20 61 |tages (s|uch as a|
|00003890| 63 74 69 76 69 74 79 20 | 61 6e 64 2f 6f 72 0a 63 |ctivity |and/or.c|
|000038a0| 6f 6d 70 6c 65 78 69 74 | 79 20 6d 65 61 73 75 72 |omplexit|y measur|
|000038b0| 65 73 29 20 61 72 65 20 | 70 72 6f 63 65 73 73 65 |es) are |processe|
|000038c0| 64 20 66 6f 72 20 6d 61 | 63 72 6f 62 6c 6f 63 6b |d for ma|croblock|
|000038d0| 73 20 69 6e 64 65 70 65 | 6e 64 65 6e 74 6c 79 2e |s indepe|ndently.|
|000038e0| 0a 46 69 6e 61 6c 6c 79 | 2c 20 77 69 74 68 20 74 |.Finally|, with t|
|000038f0| 68 65 20 65 78 63 65 70 | 74 69 6f 6e 20 74 68 61 |he excep|tion tha|
|00003900| 74 20 61 6c 6c 20 6d 61 | 63 72 6f 62 6c 6f 63 6b |t all ma|croblock|
|00003910| 20 72 6f 77 73 20 69 6e | 20 4d 61 69 6e 20 50 72 | rows in| Main Pr|
|00003920| 6f 66 69 6c 65 0a 4d 50 | 45 47 2d 32 20 62 69 74 |ofile.MP|EG-2 bit|
|00003930| 73 74 72 65 61 6d 73 20 | 6d 75 73 74 20 63 6f 6e |streams |must con|
|00003940| 74 61 69 6e 20 61 74 20 | 6c 65 61 73 74 20 6f 6e |tain at |least on|
|00003950| 65 20 73 6c 69 63 65 2c | 20 61 6e 20 65 6e 63 6f |e slice,| an enco|
|00003960| 64 65 72 20 68 61 73 20 | 74 68 65 0a 66 72 65 65 |der has |the.free|
|00003970| 64 6f 6d 20 74 6f 20 63 | 68 6f 6f 73 65 20 74 68 |dom to c|hoose th|
|00003980| 65 20 73 6c 69 63 65 20 | 73 74 72 75 63 74 75 72 |e slice |structur|
|00003990| 65 2e 0a 0a 57 68 61 74 | 20 69 73 20 74 68 65 20 |e...What| is the |
|000039a0| 4d 50 45 47 20 63 6f 6c | 6f 72 20 73 70 61 63 65 |MPEG col|or space|
|000039b0| 20 61 6e 64 20 73 61 6d | 70 6c 65 20 70 72 65 63 | and sam|ple prec|
|000039c0| 69 73 69 6f 6e 3f 0a 0a | 4d 50 45 47 20 73 74 72 |ision?..|MPEG str|
|000039d0| 69 63 74 6c 79 20 73 70 | 65 63 69 66 69 65 73 20 |ictly sp|ecifies |
|000039e0| 74 68 65 20 59 43 62 43 | 72 20 63 6f 6c 6f 72 20 |the YCbC|r color |
|000039f0| 73 70 61 63 65 2c 20 6e | 6f 74 20 59 55 56 20 6f |space, n|ot YUV o|
|00003a00| 72 20 59 49 51 20 6f 72 | 20 59 50 62 50 72 0a 6f |r YIQ or| YPbPr.o|
|00003a10| 72 20 59 44 72 44 62 20 | 6f 72 20 61 6e 79 20 6f |r YDrDb |or any o|
|00003a20| 74 68 65 72 20 6d 61 6e | 79 20 66 69 6e 65 20 76 |ther man|y fine v|
|00003a30| 61 72 69 65 74 69 65 73 | 20 6f 66 20 63 6f 6c 6f |arieties| of colo|
|00003a40| 72 20 64 69 66 66 65 72 | 65 6e 63 65 20 73 70 61 |r differ|ence spa|
|00003a50| 63 65 73 2e 0a 52 65 67 | 61 72 64 6c 65 73 73 20 |ces..Reg|ardless |
|00003a60| 6f 66 20 61 6e 79 20 62 | 69 74 73 74 72 65 61 6d |of any b|itstream|
|00003a70| 20 70 61 72 61 6d 65 74 | 65 72 73 2c 20 4d 50 45 | paramet|ers, MPE|
|00003a80| 47 2d 31 20 61 6e 64 20 | 4d 50 45 47 2d 32 20 56 |G-1 and |MPEG-2 V|
|00003a90| 69 64 65 6f 20 4d 61 69 | 6e 0a 50 72 6f 66 69 6c |ideo Mai|n.Profil|
|00003aa0| 65 20 73 70 65 63 69 66 | 79 20 74 68 65 20 34 3a |e specif|y the 4:|
|00003ab0| 32 3a 30 20 63 68 72 6f | 6d 61 5f 66 6f 72 6d 61 |2:0 chro|ma_forma|
|00003ac0| 74 2c 20 77 68 65 72 65 | 20 74 68 65 20 63 6f 6c |t, where| the col|
|00003ad0| 6f 72 20 64 69 66 66 65 | 72 65 6e 63 65 0a 63 68 |or diffe|rence.ch|
|00003ae0| 61 6e 6e 65 6c 73 20 28 | 43 62 2c 20 43 72 29 20 |annels (|Cb, Cr) |
|00003af0| 68 61 76 65 20 68 61 6c | 66 20 74 68 65 20 22 72 |have hal|f the "r|
|00003b00| 65 73 6f 6c 75 74 69 6f | 6e 22 20 6f 72 20 73 61 |esolutio|n" or sa|
|00003b10| 6d 70 6c 65 20 67 72 69 | 64 20 64 65 6e 73 69 74 |mple gri|d densit|
|00003b20| 79 20 69 6e 0a 62 6f 74 | 68 20 74 68 65 20 68 6f |y in.bot|h the ho|
|00003b30| 72 69 7a 6f 6e 74 61 6c | 20 61 6e 64 20 76 65 72 |rizontal| and ver|
|00003b40| 74 69 63 61 6c 20 64 69 | 72 65 63 74 69 6f 6e 20 |tical di|rection |
|00003b50| 77 69 74 68 20 72 65 73 | 70 65 63 74 20 74 6f 20 |with res|pect to |
|00003b60| 6c 75 6d 69 6e 61 6e 63 | 65 2e 0a 0a 4d 50 45 47 |luminanc|e...MPEG|
|00003b70| 2d 32 20 48 69 67 68 20 | 50 72 6f 66 69 6c 65 20 |-2 High |Profile |
|00003b80| 69 6e 63 6c 75 64 65 73 | 20 61 6e 20 6f 70 74 69 |includes| an opti|
|00003b90| 6f 6e 20 66 6f 72 20 34 | 3a 32 3a 32 20 63 68 72 |on for 4|:2:2 chr|
|00003ba0| 6f 6d 61 5f 66 6f 72 6d | 61 74 2c 20 61 73 20 64 |oma_form|at, as d|
|00003bb0| 6f 65 73 0a 74 68 65 20 | 4d 50 45 47 20 34 3a 32 |oes.the |MPEG 4:2|
|00003bc0| 3a 32 20 50 72 6f 66 69 | 6c 65 20 28 61 2e 6b 2e |:2 Profi|le (a.k.|
|00003bd0| 61 2e 20 20 53 74 75 64 | 69 6f 20 50 72 6f 66 69 |a. Stud|io Profi|
|00003be0| 6c 65 29 20 6e 61 74 75 | 72 61 6c 6c 79 2e 20 41 |le) natu|rally. A|
|00003bf0| 70 70 6c 69 63 61 74 69 | 6f 6e 73 0a 66 6f 72 20 |pplicati|ons.for |
|00003c00| 74 68 65 20 34 3a 32 3a | 32 20 66 6f 72 6d 61 74 |the 4:2:|2 format|
|00003c10| 20 63 61 6e 20 62 65 20 | 66 6f 75 6e 64 20 69 6e | can be |found in|
|00003c20| 20 70 72 6f 66 65 73 73 | 69 6f 6e 61 6c 20 62 72 | profess|ional br|
|00003c30| 6f 61 64 63 61 73 74 69 | 6e 67 2c 0a 65 64 69 74 |oadcasti|ng,.edit|
|00003c40| 69 6e 67 2c 20 20 61 6e | 64 20 63 6f 6e 74 72 69 |ing, an|d contri|
|00003c50| 62 75 74 69 6f 6e 2d 71 | 75 61 6c 69 74 79 20 64 |bution-q|uality d|
|00003c60| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 65 6e 76 69 |istribut|ion envi|
|00003c70| 72 6f 6e 6d 65 6e 74 73 | 2e 20 20 54 68 65 0a 64 |ronments|. The.d|
|00003c80| 72 61 77 62 61 63 6b 20 | 6f 66 20 74 68 65 20 34 |rawback |of the 4|
|00003c90| 3a 32 3a 32 20 66 6f 72 | 6d 61 74 20 69 73 20 73 |:2:2 for|mat is s|
|00003ca0| 69 6d 70 6c 79 20 74 68 | 61 74 20 69 74 20 69 6e |imply th|at it in|
|00003cb0| 63 72 65 61 73 65 73 20 | 74 68 65 20 73 69 7a 65 |creases |the size|
|00003cc0| 20 6f 66 0a 74 68 65 20 | 6d 61 63 72 6f 62 6c 6f | of.the |macroblo|
|00003cd0| 63 6b 20 66 72 6f 6d 20 | 73 69 78 20 38 78 38 20 |ck from |six 8x8 |
|00003ce0| 62 6c 6f 63 6b 73 20 28 | 34 3a 32 3a 30 29 20 74 |blocks (|4:2:0) t|
|00003cf0| 6f 20 65 69 67 68 74 2c | 20 77 68 69 6c 65 20 69 |o eight,| while i|
|00003d00| 6e 63 72 65 61 73 69 6e | 67 0a 74 68 65 20 66 72 |ncreasin|g.the fr|
|00003d10| 61 6d 65 20 62 75 66 66 | 65 72 20 73 69 7a 65 20 |ame buff|er size |
|00003d20| 61 6e 64 20 64 65 63 6f | 64 69 6e 67 20 62 61 6e |and deco|ding ban|
|00003d30| 64 77 69 64 74 68 20 62 | 79 20 74 68 65 20 73 61 |dwidth b|y the sa|
|00003d40| 6d 65 20 61 6d 6f 75 6e | 74 20 28 33 33 0a 25 29 |me amoun|t (33.%)|
|00003d50| 2e 20 20 54 68 69 73 20 | 69 6e 63 72 65 61 73 65 |. This |increase|
|00003d60| 20 70 6c 61 63 65 73 20 | 74 68 65 20 62 75 66 66 | places |the buff|
|00003d70| 65 72 69 6e 67 20 6d 65 | 6d 6f 72 69 65 73 20 77 |ering me|mories w|
|00003d80| 65 6c 6c 20 70 61 73 74 | 20 74 68 65 20 6d 61 67 |ell past| the mag|
|00003d90| 69 63 0a 31 36 2d 4d 62 | 69 74 20 6c 69 6d 69 74 |ic.16-Mb|it limit|
|00003da0| 20 66 6f 72 20 73 65 6d | 69 63 6f 6e 64 75 63 74 | for sem|iconduct|
|00003db0| 6f 72 20 44 52 41 4d 20 | 64 65 76 69 63 65 73 2c |or DRAM |devices,|
|00003dc0| 20 61 73 73 75 6d 69 6e | 67 20 74 68 65 20 70 69 | assumin|g the pi|
|00003dd0| 63 74 75 72 65 73 20 61 | 72 65 0a 73 74 6f 72 65 |ctures a|re.store|
|00003de0| 64 20 77 69 74 68 20 61 | 20 6d 61 78 69 6d 75 6d |d with a| maximum|
|00003df0| 20 6f 66 20 20 34 31 34 | 2c 37 32 30 20 70 69 78 | of 414|,720 pix|
|00003e00| 65 6c 73 20 28 37 32 30 | 20 70 69 78 65 6c 73 2f |els (720| pixels/|
|00003e10| 6c 69 6e 65 20 78 20 35 | 37 36 0a 6c 69 6e 65 73 |line x 5|76.lines|
|00003e20| 2f 66 72 61 6d 65 29 2e | 20 20 54 68 65 20 6d 61 |/frame).| The ma|
|00003e30| 78 69 6d 75 6d 20 61 6c | 6c 6f 77 61 62 6c 65 20 |ximum al|lowable |
|00003e40| 70 69 78 65 6c 20 72 65 | 73 6f 6c 75 74 69 6f 6e |pixel re|solution|
|00003e50| 20 63 6f 75 6c 64 20 62 | 65 20 72 65 64 75 63 65 | could b|e reduce|
|00003e60| 64 0a 62 79 20 31 2f 33 | 20 74 6f 20 63 6f 6d 70 |d.by 1/3| to comp|
|00003e70| 65 6e 73 61 74 65 20 28 | 65 2e 67 2e 20 35 34 34 |ensate (|e.g. 544|
|00003e80| 20 78 20 35 37 36 29 2e | 20 48 6f 77 65 76 65 72 | x 576).| However|
|00003e90| 2c 20 69 66 20 61 20 68 | 61 72 64 77 61 72 65 20 |, if a h|ardware |
|00003ea0| 64 65 63 6f 64 65 72 73 | 0a 6f 70 65 72 61 74 65 |decoders|.operate|
|00003eb0| 20 6f 6e 20 61 20 6d 61 | 63 72 6f 62 6c 6f 63 6b | on a ma|croblock|
|00003ec0| 20 62 61 73 69 73 20 69 | 6e 20 74 68 65 20 70 69 | basis i|n the pi|
|00003ed0| 70 65 6c 69 6e 65 2c 20 | 6f 6e 2d 63 68 69 70 20 |peline, |on-chip |
|00003ee0| 73 74 61 74 69 63 20 6d | 65 6d 6f 72 69 65 73 0a |static m|emories.|
|00003ef0| 28 53 52 41 4d 29 20 77 | 69 6c 6c 20 69 6e 63 72 |(SRAM) w|ill incr|
|00003f00| 65 61 73 65 20 62 79 20 | 31 2f 33 2e 20 20 54 68 |ease by |1/3. Th|
|00003f10| 65 20 62 65 6e 65 66 69 | 74 73 20 6f 66 66 65 72 |e benefi|ts offer|
|00003f20| 65 64 20 62 79 20 31 2f | 33 20 6d 6f 72 65 20 70 |ed by 1/|3 more p|
|00003f30| 69 78 65 6c 73 0a 67 65 | 6e 65 72 61 6c 6c 79 20 |ixels.ge|nerally |
|00003f40| 6f 75 74 77 65 69 67 68 | 73 20 66 75 6c 6c 20 76 |outweigh|s full v|
|00003f50| 65 72 74 69 63 61 6c 20 | 63 68 72 6f 6d 69 6e 61 |ertical |chromina|
|00003f60| 6e 63 65 20 72 65 73 6f | 6c 75 74 69 6f 6e 2e 20 |nce reso|lution. |
|00003f70| 4f 74 68 65 72 0a 61 72 | 67 75 6d 65 6e 74 73 20 |Other.ar|guments |
|00003f80| 66 61 76 6f 72 69 6e 67 | 20 34 3a 32 3a 30 20 6f |favoring| 4:2:0 o|
|00003f90| 76 65 72 20 34 3a 32 3a | 32 20 69 6e 63 6c 75 64 |ver 4:2:|2 includ|
|00003fa0| 65 3a 0a 0a 20 20 56 65 | 72 74 69 63 61 6c 20 64 |e:.. Ve|rtical d|
|00003fb0| 65 63 69 6d 61 74 69 6f | 6e 20 69 6e 63 72 65 61 |ecimatio|n increa|
|00003fc0| 73 65 73 20 63 6f 6d 70 | 72 65 73 73 69 6f 6e 20 |ses comp|ression |
|00003fd0| 65 66 66 69 63 69 65 6e | 63 79 20 62 79 20 72 65 |efficien|cy by re|
|00003fe0| 64 75 63 69 6e 67 0a 20 | 20 73 79 6e 74 61 78 20 |ducing. | syntax |
|00003ff0| 6f 76 65 72 68 65 61 64 | 20 70 6f 73 65 64 20 69 |overhead| posed i|
|00004000| 6e 20 61 6e 20 38 20 62 | 6c 6f 63 6b 20 28 34 3a |n an 8 b|lock (4:|
|00004010| 32 3a 32 29 20 6d 61 63 | 72 6f 62 6c 6f 63 6b 20 |2:2) mac|roblock |
|00004020| 73 74 72 75 63 74 75 72 | 65 2e 0a 0a 20 20 59 6f |structur|e... Yo|
|00004030| 75 27 72 65 20 63 6f 6d | 70 72 65 73 73 69 6e 67 |u're com|pressing|
|00004040| 20 74 68 65 20 68 65 6c | 6c 20 6f 75 74 20 6f 66 | the hel|l out of|
|00004050| 20 74 68 65 20 76 69 64 | 65 6f 20 73 69 67 6e 61 | the vid|eo signa|
|00004060| 6c 2c 20 73 6f 20 77 68 | 61 74 20 70 6f 73 73 69 |l, so wh|at possi|
|00004070| 62 6c 65 0a 20 20 64 69 | 66 66 65 72 65 6e 63 65 |ble. di|fference|
|00004080| 20 63 61 6e 20 74 68 65 | 20 30 3a 30 3a 32 20 63 | can the| 0:0:2 c|
|00004090| 68 72 6f 6d 69 61 6e 63 | 65 20 68 69 67 68 2d 70 |hromianc|e high-p|
|000040a0| 61 73 73 20 6d 61 6b 65 | 3f 0a 0a 49 73 20 34 3a |ass make|?..Is 4:|
|000040b0| 32 3a 30 20 74 68 65 20 | 73 61 6d 65 20 61 73 20 |2:0 the |same as |
|000040c0| 34 3a 31 3a 31 20 3f 0a | 0a 4e 6f 2c 20 6e 6f 2c |4:1:1 ?.|.No, no,|
|000040d0| 20 64 65 66 69 6e 69 74 | 65 6c 79 20 6e 6f 2e 20 | definit|ely no. |
|000040e0| 20 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 74 | The fol|lowing t|
|000040f0| 61 62 6c 65 20 69 6c 6c | 75 73 74 72 61 74 65 73 |able ill|ustrates|
|00004100| 20 74 68 65 20 6e 75 61 | 6e 63 65 73 0a 62 65 74 | the nua|nces.bet|
|00004110| 77 65 65 6e 20 74 68 65 | 20 64 69 66 66 65 72 65 |ween the| differe|
|00004120| 6e 74 20 63 68 72 6f 6d | 61 20 66 6f 72 6d 61 74 |nt chrom|a format|
|00004130| 73 20 66 6f 72 20 61 20 | 66 72 61 6d 65 20 77 69 |s for a |frame wi|
|00004140| 74 68 20 70 69 78 65 6c | 20 64 69 6d 65 6e 73 69 |th pixel| dimensi|
|00004150| 6f 6e 73 0a 6f 66 20 37 | 32 30 20 70 69 78 65 6c |ons.of 7|20 pixel|
|00004160| 73 2f 6c 69 6e 65 20 78 | 20 34 38 30 20 6c 69 6e |s/line x| 480 lin|
|00004170| 65 73 2f 66 72 61 6d 65 | 2e 0a 0a 43 43 49 52 20 |es/frame|...CCIR |
|00004180| 36 30 31 20 28 36 30 20 | 48 7a 29 20 69 6d 61 67 |601 (60 |Hz) imag|
|00004190| 65 20 20 20 20 20 20 20 | 20 20 20 43 68 72 6f 6d |e | Chrom|
|000041a0| 61 20 73 75 62 2d 73 61 | 6d 70 6c 69 6e 67 20 66 |a sub-sa|mpling f|
|000041b0| 61 63 74 6f 72 73 0a 66 | 6f 72 6d 61 74 20 20 59 |actors.f|ormat Y|
|000041c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 43 | | C|
|000041d0| 62 2c 20 43 72 20 20 56 | 65 72 74 69 63 61 6c 20 |b, Cr V|ertical |
|000041e0| 20 20 20 20 20 20 20 48 | 6f 72 69 7a 6f 6e 74 61 | H|orizonta|
|000041f0| 6c 0a 0a 0a 63 68 72 6f | 6d 61 20 0a 66 6f 72 6d |l...chro|ma .form|
|00004200| 61 74 0a 70 69 78 65 6c | 73 2f 0a 6c 69 6e 65 0a |at.pixel|s/.line.|
|00004210| 59 0a 6c 69 6e 65 73 2f | 0a 66 72 61 6d 65 0a 59 |Y.lines/|.frame.Y|
|00004220| 0a 70 69 78 65 6c 73 2f | 0a 6c 69 6e 65 0a 43 62 |.pixels/|.line.Cb|
|00004230| 2c 20 43 72 0a 6c 69 6e | 65 73 2f 0a 66 72 61 6d |, Cr.lin|es/.fram|
|00004240| 65 0a 43 62 2c 20 43 72 | 0a 68 6f 72 69 7a 6f 6e |e.Cb, Cr|.horizon|
|00004250| 74 61 6c 20 0a 73 75 62 | 73 61 6d 70 6c 69 6e 67 |tal .sub|sampling|
|00004260| 20 0a 66 61 63 74 6f 72 | 0a 76 65 72 74 69 63 61 | .factor|.vertica|
|00004270| 6c 20 0a 73 75 62 73 61 | 6d 70 6c 69 6e 67 20 0a |l .subsa|mpling .|
|00004280| 66 61 63 74 6f 72 0a 0a | 34 3a 34 3a 34 0a 37 32 |factor..|4:4:4.72|
|00004290| 30 0a 34 38 30 0a 37 32 | 30 0a 34 38 30 0a 6e 6f |0.480.72|0.480.no|
|000042a0| 6e 65 0a 6e 6f 6e 65 0a | 0a 34 3a 32 3a 32 0a 37 |ne.none.|.4:2:2.7|
|000042b0| 32 30 0a 34 38 30 0a 33 | 36 30 0a 34 38 30 0a 32 |20.480.3|60.480.2|
|000042c0| 3a 31 0a 6e 6f 6e 65 0a | 0a 34 3a 32 3a 30 0a 37 |:1.none.|.4:2:0.7|
|000042d0| 32 30 0a 34 38 30 0a 33 | 36 30 0a 32 34 30 0a 32 |20.480.3|60.240.2|
|000042e0| 3a 31 0a 32 3a 31 0a 0a | 34 3a 31 3a 31 0a 37 32 |:1.2:1..|4:1:1.72|
|000042f0| 30 0a 34 38 30 0a 31 38 | 30 0a 34 38 30 0a 34 3a |0.480.18|0.480.4:|
|00004300| 31 0a 6e 6f 6e 65 0a 0a | 34 3a 31 3a 30 0a 37 32 |1.none..|4:1:0.72|
|00004310| 30 0a 34 38 30 0a 31 38 | 30 0a 31 32 30 0a 34 3a |0.480.18|0.120.4:|
|00004320| 31 0a 34 3a 31 0a 0a 0a | 33 3a 32 3a 32 2c 20 33 |1.4:1...|3:2:2, 3|
|00004330| 3a 31 3a 31 2c 20 61 6e | 64 20 33 3a 31 3a 30 20 |:1:1, an|d 3:1:0 |
|00004340| 61 72 65 20 6c 65 73 73 | 20 63 6f 6d 6d 6f 6e 20 |are less| common |
|00004350| 76 61 72 69 61 74 69 6f | 6e 73 2c 20 62 75 74 20 |variatio|ns, but |
|00004360| 68 61 76 65 20 62 65 65 | 6e 0a 64 6f 63 75 6d 65 |have bee|n.docume|
|00004370| 6e 74 65 64 2e 20 20 41 | 73 20 73 68 6f 63 6b 69 |nted. A|s shocki|
|00004380| 6e 67 20 61 73 20 69 74 | 20 6d 61 79 20 73 65 65 |ng as it| may see|
|00004390| 6d 2c 20 74 68 65 20 34 | 3a 31 3a 30 20 72 61 74 |m, the 4|:1:0 rat|
|000043a0| 69 6f 20 77 61 73 20 75 | 73 65 64 20 62 79 0a 49 |io was u|sed by.I|
|000043b0| 6e 74 65 6c 73 20 44 56 | 49 20 66 6f 72 20 73 65 |ntels DV|I for se|
|000043c0| 76 65 72 61 6c 20 79 65 | 61 72 73 2e 0a 0a 54 68 |veral ye|ars...Th|
|000043d0| 65 20 31 33 30 20 6d 69 | 63 72 6f 73 65 63 6f 6e |e 130 mi|crosecon|
|000043e0| 64 20 67 61 70 20 62 65 | 74 77 65 65 6e 20 73 75 |d gap be|tween su|
|000043f0| 63 63 65 73 73 69 76 65 | 20 34 3a 32 3a 30 20 6c |ccessive| 4:2:0 l|
|00004400| 69 6e 65 73 20 69 6e 20 | 70 72 6f 67 72 65 73 73 |ines in |progress|
|00004410| 69 76 65 0a 66 72 61 6d | 65 73 2c 20 61 6e 64 20 |ive.fram|es, and |
|00004420| 32 36 30 20 6d 69 63 72 | 6f 73 65 63 6f 6e 64 20 |260 micr|osecond |
|00004430| 67 61 70 20 69 6e 20 69 | 6e 74 65 72 6c 61 63 65 |gap in i|nterlace|
|00004440| 64 20 66 72 61 6d 65 73 | 2c 20 63 61 6e 20 69 6e |d frames|, can in|
|00004450| 74 72 6f 64 75 63 65 0a | 73 6f 6d 65 20 64 69 66 |troduce.|some dif|
|00004460| 66 69 63 75 6c 74 20 76 | 65 72 74 69 63 61 6c 20 |ficult v|ertical |
|00004470| 66 72 65 71 75 65 6e 63 | 69 65 73 2c 20 62 75 74 |frequenc|ies, but|
|00004480| 20 6d 6f 73 74 20 63 61 | 6e 20 62 65 20 61 6c 6c | most ca|n be all|
|00004490| 65 76 69 61 74 65 64 20 | 74 68 72 6f 75 67 68 0a |eviated |through.|
|000044a0| 70 72 65 2d 20 70 72 6f | 63 65 73 73 69 6e 67 2e |pre- pro|cessing.|
|000044b0| 0a 0a 57 68 61 74 20 69 | 73 20 74 68 65 20 73 61 |..What i|s the sa|
|000044c0| 6d 70 6c 65 20 70 72 65 | 63 69 73 69 6f 6e 20 6f |mple pre|cision o|
|000044d0| 66 20 4d 50 45 47 20 3f | 20 20 48 6f 77 20 6d 61 |f MPEG ?| How ma|
|000044e0| 6e 79 20 63 6f 6c 6f 72 | 73 20 0a 63 61 6e 20 4d |ny color|s .can M|
|000044f0| 50 45 47 20 72 65 70 72 | 65 73 65 6e 74 20 3f 0a |PEG repr|esent ?.|
|00004500| 0a 42 79 20 64 65 66 69 | 6e 69 74 69 6f 6e 2c 20 |.By defi|nition, |
|00004510| 4d 50 45 47 20 73 61 6d | 70 6c 65 73 20 68 61 76 |MPEG sam|ples hav|
|00004520| 65 20 6e 6f 20 6d 6f 72 | 65 20 61 6e 64 20 6e 6f |e no mor|e and no|
|00004530| 20 6c 65 73 73 20 74 68 | 61 6e 20 38 2d 62 69 74 | less th|an 8-bit|
|00004540| 73 0a 75 6e 69 66 6f 72 | 6d 20 73 61 6d 70 6c 65 |s.unifor|m sample|
|00004550| 20 70 72 65 63 69 73 69 | 6f 6e 20 28 32 35 36 20 | precisi|on (256 |
|00004560| 71 75 61 6e 74 69 7a 61 | 74 69 6f 6e 20 6c 65 76 |quantiza|tion lev|
|00004570| 65 6c 73 29 2e 20 20 46 | 6f 72 20 6c 75 6d 69 6e |els). F|or lumin|
|00004580| 61 6e 63 65 0a 28 77 68 | 69 63 68 20 69 73 20 75 |ance.(wh|ich is u|
|00004590| 6e 73 69 67 6e 65 64 29 | 20 64 61 74 61 2c 20 62 |nsigned)| data, b|
|000045a0| 6c 61 63 6b 20 63 6f 72 | 72 65 73 70 6f 6e 64 73 |lack cor|responds|
|000045b0| 20 74 6f 20 6c 65 76 65 | 6c 20 30 2c 20 77 68 69 | to leve|l 0, whi|
|000045c0| 74 65 20 69 73 20 6c 65 | 76 65 6c 0a 32 35 35 2e |te is le|vel.255.|
|000045d0| 20 20 48 6f 77 65 76 65 | 72 2c 20 69 6e 20 43 43 | Howeve|r, in CC|
|000045e0| 49 52 20 72 65 63 6f 6d | 6d 65 6e 64 61 74 69 6f |IR recom|mendatio|
|000045f0| 6e 20 36 30 31 20 63 68 | 72 6f 6d 61 74 69 63 79 |n 601 ch|romaticy|
|00004600| 2c 20 6c 75 6d 69 6e 61 | 6e 63 65 20 28 59 29 0a |, lumina|nce (Y).|
|00004610| 6c 65 76 65 6c 73 20 30 | 20 74 68 72 6f 75 67 68 |levels 0| through|
|00004620| 20 31 34 20 61 6e 64 20 | 32 33 36 20 74 68 72 6f | 14 and |236 thro|
|00004630| 75 67 68 20 32 35 35 20 | 61 72 65 20 72 65 73 65 |ugh 255 |are rese|
|00004640| 72 76 65 64 20 66 6f 72 | 20 62 6c 61 6e 6b 69 6e |rved for| blankin|
|00004650| 67 0a 73 69 67 6e 61 6c | 20 65 78 63 75 72 73 69 |g.signal| excursi|
|00004660| 6f 6e 73 2e 20 4d 50 45 | 47 20 63 75 72 72 65 6e |ons. MPE|G curren|
|00004670| 74 6c 79 20 68 61 73 20 | 6e 6f 20 73 75 63 68 20 |tly has |no such |
|00004680| 63 6c 69 70 70 65 64 20 | 65 78 63 75 72 73 69 6f |clipped |excursio|
|00004690| 6e 0a 72 65 73 74 72 69 | 63 74 69 6f 6e 73 2c 20 |n.restri|ctions, |
|000046a0| 61 6c 74 68 6f 75 67 68 | 20 64 65 63 6f 64 65 72 |although| decoder|
|000046b0| 20 6d 69 67 68 74 20 74 | 61 6b 65 20 63 61 72 65 | might t|ake care|
|000046c0| 20 74 6f 20 69 6e 73 75 | 72 65 20 61 63 74 69 76 | to insu|re activ|
|000046d0| 65 20 73 61 6d 70 6c 65 | 73 0a 64 6f 20 6e 6f 74 |e sample|s.do not|
|000046e0| 20 65 78 63 65 65 64 20 | 74 68 65 73 65 20 6c 69 | exceed |these li|
|000046f0| 6d 69 74 73 2e 20 20 57 | 69 74 68 20 74 68 72 65 |mits. W|ith thre|
|00004700| 65 20 63 6f 6c 6f 72 20 | 63 6f 6d 70 6f 6e 65 6e |e color |componen|
|00004710| 74 73 20 70 65 72 20 70 | 69 78 65 6c 2c 20 74 68 |ts per p|ixel, th|
|00004720| 65 0a 74 6f 74 61 6c 20 | 63 6f 6d 62 69 6e 61 74 |e.total |combinat|
|00004730| 69 6f 6e 20 69 73 20 72 | 6f 75 67 68 6c 79 20 31 |ion is r|oughly 1|
|00004740| 36 2e 38 20 6d 69 6c 6c | 69 6f 6e 20 63 6f 6c 6f |6.8 mill|ion colo|
|00004750| 72 73 20 28 69 2e 65 2e | 20 32 34 2d 62 69 74 73 |rs (i.e.| 24-bits|
|00004760| 29 2e 0a 0a 0a 48 6f 77 | 20 61 72 65 20 74 68 65 |)....How| are the|
|00004770| 20 73 75 62 73 61 6d 70 | 6c 65 64 20 63 68 72 6f | subsamp|led chro|
|00004780| 6d 61 20 73 61 6d 70 6c | 65 73 20 63 69 74 65 64 |ma sampl|es cited|
|00004790| 20 3f 0a 0a 0a 49 74 20 | 69 73 20 6d 6f 64 65 72 | ?...It |is moder|
|000047a0| 61 74 65 6c 79 20 69 6d | 70 6f 72 74 61 6e 74 20 |ately im|portant |
|000047b0| 74 6f 20 70 72 6f 70 65 | 72 6c 79 20 63 6f 2d 73 |to prope|rly co-s|
|000047c0| 69 74 65 20 63 68 72 6f | 6d 61 20 73 61 6d 70 6c |ite chro|ma sampl|
|000047d0| 65 73 2c 0a 6f 74 68 65 | 72 77 69 73 65 20 61 20 |es,.othe|rwise a |
|000047e0| 73 6f 72 74 20 6f 66 20 | 63 68 72 6f 6d 61 20 73 |sort of |chroma s|
|000047f0| 68 69 66 74 69 6e 67 20 | 65 66 66 65 63 74 20 28 |hifting |effect (|
|00004800| 65 78 68 69 62 69 74 65 | 64 20 61 73 20 61 20 68 |exhibite|d as a h|
|00004810| 61 6c 6f 29 20 6d 61 79 | 0a 72 65 73 75 6c 74 20 |alo) may|.result |
|00004820| 77 68 65 6e 20 74 68 65 | 20 72 65 63 6f 6e 73 74 |when the| reconst|
|00004830| 72 75 63 74 65 64 20 76 | 69 64 65 6f 20 69 73 20 |ructed v|ideo is |
|00004840| 64 69 73 70 6c 61 79 65 | 64 2e 20 20 49 6e 20 4d |displaye|d. In M|
|00004850| 50 45 47 2d 31 20 76 69 | 64 65 6f 2c 20 74 68 65 |PEG-1 vi|deo, the|
|00004860| 0a 63 68 72 6f 6d 61 20 | 73 61 6d 70 6c 65 73 20 |.chroma |samples |
|00004870| 61 72 65 20 65 78 61 63 | 74 6c 79 20 63 65 6e 74 |are exac|tly cent|
|00004880| 65 72 65 64 20 62 65 74 | 77 65 65 6e 20 74 68 65 |ered bet|ween the|
|00004890| 20 34 20 6c 75 6d 69 6e | 61 6e 63 65 20 73 61 6d | 4 lumin|ance sam|
|000048a0| 70 6c 65 73 0a 28 46 69 | 67 20 31 2e 29 20 20 20 |ples.(Fi|g 1.) |
|000048b0| 54 6f 20 6d 61 69 6e 74 | 61 69 6e 20 63 6f 6d 70 |To maint|ain comp|
|000048c0| 61 74 69 62 69 6c 69 74 | 79 20 77 69 74 68 20 74 |atibilit|y with t|
|000048d0| 68 65 20 43 43 49 52 20 | 36 30 31 20 68 6f 72 69 |he CCIR |601 hori|
|000048e0| 7a 6f 6e 74 61 6c 0a 63 | 68 72 6f 6d 61 20 6c 6f |zontal.c|hroma lo|
|000048f0| 63 61 74 69 6f 6e 73 20 | 61 6e 64 20 73 69 6d 70 |cations |and simp|
|00004900| 6c 69 66 79 20 69 6d 70 | 6c 65 6d 65 6e 74 61 74 |lify imp|lementat|
|00004910| 69 6f 6e 20 28 65 6c 69 | 6d 69 6e 61 74 65 20 6e |ion (eli|minate n|
|00004920| 65 65 64 20 66 6f 72 20 | 70 68 61 73 65 0a 73 68 |eed for |phase.sh|
|00004930| 69 66 74 29 2c 20 4d 50 | 45 47 2d 32 20 63 68 72 |ift), MP|EG-2 chr|
|00004940| 6f 6d 61 20 73 61 6d 70 | 6c 65 73 20 61 72 65 20 |oma samp|les are |
|00004950| 61 72 72 61 6e 67 65 64 | 20 61 73 20 70 65 72 20 |arranged| as per |
|00004960| 46 69 67 2e 32 2e 0a 0a | 20 20 59 20 20 20 59 20 |Fig.2...| Y Y |
|00004970| 20 20 59 20 20 20 59 20 | 20 20 20 20 20 20 20 20 | Y Y | |
|00004980| 20 20 20 20 59 20 20 20 | 59 20 20 20 59 20 20 20 | Y |Y Y |
|00004990| 59 20 20 20 20 20 20 20 | 20 20 20 20 20 59 43 20 |Y | YC |
|000049a0| 20 59 20 20 20 59 43 20 | 20 59 0a 20 20 20 43 20 | Y YC | Y. C |
|000049b0| 20 20 20 20 20 20 43 20 | 20 20 20 20 20 20 20 20 | C | |
|000049c0| 20 20 20 20 20 20 20 43 | 20 20 20 20 20 20 20 20 | C| |
|000049d0| 20 43 0a 20 20 59 20 20 | 20 59 20 20 20 58 20 20 | C. Y | Y X |
|000049e0| 20 59 20 20 20 20 20 20 | 20 20 20 20 20 20 20 59 | Y | Y|
|000049f0| 20 20 20 59 20 20 20 59 | 20 20 20 59 20 20 20 20 | Y Y| Y |
|00004a00| 20 20 20 20 20 20 20 20 | 59 43 20 20 59 20 20 20 | |YC Y |
|00004a10| 59 43 20 20 59 0a 0a 20 | 20 59 20 20 20 59 20 20 |YC Y.. | Y Y |
|00004a20| 20 59 20 20 20 59 20 20 | 20 20 20 20 20 20 20 20 | Y Y | |
|00004a30| 20 20 20 59 20 20 20 59 | 20 20 20 59 20 20 20 59 | Y Y| Y Y|
|00004a40| 20 20 20 20 20 20 20 20 | 20 20 20 20 59 43 20 20 | | YC |
|00004a50| 59 20 20 20 59 43 20 20 | 59 0a 20 20 20 20 43 20 |Y YC |Y. C |
|00004a60| 20 20 20 20 20 20 43 20 | 20 20 20 20 20 20 20 20 | C | |
|00004a70| 20 20 20 20 20 20 43 20 | 20 20 20 20 20 20 20 20 | C | |
|00004a80| 43 0a 20 20 59 20 20 20 | 59 20 20 20 59 20 20 20 |C. Y |Y Y |
|00004a90| 59 20 20 20 20 20 20 20 | 20 20 20 20 20 20 59 20 |Y | Y |
|00004aa0| 20 20 59 20 20 20 59 20 | 20 20 59 20 20 20 20 20 | Y Y | Y |
|00004ab0| 20 20 20 20 20 20 20 59 | 43 20 20 59 20 20 20 59 | Y|C Y Y|
|00004ac0| 43 20 20 59 0a 0a 20 20 | 46 69 67 2e 31 20 4d 50 |C Y.. |Fig.1 MP|
|00004ad0| 45 47 2d 31 20 20 20 20 | 20 20 20 20 20 20 20 20 |EG-1 | |
|00004ae0| 20 20 20 46 69 67 2e 32 | 20 20 4d 50 45 47 2d 32 | Fig.2| MPEG-2|
|00004af0| 20 20 20 20 20 20 20 20 | 20 20 20 46 69 67 2e 33 | | Fig.3|
|00004b00| 20 4d 50 45 47 2d 32 20 | 61 6e 64 20 0a 20 34 3a | MPEG-2 |and . 4:|
|00004b10| 32 3a 30 20 6f 72 67 61 | 6e 69 7a 61 74 69 6f 6e |2:0 orga|nization|
|00004b20| 20 20 20 20 20 20 20 20 | 20 34 3a 32 3a 30 20 6f | | 4:2:0 o|
|00004b30| 72 67 61 6e 69 7a 61 74 | 69 6f 6e 20 20 20 20 20 |rganizat|ion |
|00004b40| 20 20 20 20 43 43 49 52 | 20 52 65 63 2e 20 36 30 | CCIR| Rec. 60|
|00004b50| 31 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |1. | |
|00004b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004b70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004b80| 20 20 20 20 20 20 20 34 | 3a 32 3a 32 20 6f 72 67 | 4|:2:2 org|
|00004b90| 61 6e 69 7a 61 74 69 6f | 6e 0a 0a 0a 48 6f 77 20 |anizatio|n...How |
|00004ba0| 64 6f 20 79 6f 75 20 74 | 65 6c 6c 20 61 6e 20 4d |do you t|ell an M|
|00004bb0| 50 45 47 2d 31 20 62 69 | 74 73 74 72 65 61 6d 20 |PEG-1 bi|tstream |
|00004bc0| 66 72 6f 6d 20 61 6e 20 | 4d 50 45 47 2d 32 20 0a |from an |MPEG-2 .|
|00004bd0| 62 69 74 73 74 72 65 61 | 6d 20 3f 0a 0a 41 2e 20 |bitstrea|m ?..A. |
|00004be0| 41 6c 6c 20 4d 50 45 47 | 2d 32 20 62 69 74 73 74 |All MPEG|-2 bitst|
|00004bf0| 72 65 61 6d 73 20 6d 75 | 73 74 20 63 6f 6e 74 61 |reams mu|st conta|
|00004c00| 69 6e 20 73 70 65 63 69 | 66 69 63 20 65 78 74 65 |in speci|fic exte|
|00004c10| 6e 73 69 6f 6e 20 68 65 | 61 64 65 72 73 20 74 68 |nsion he|aders th|
|00004c20| 61 74 0a 69 6d 6d 65 64 | 69 61 74 65 6c 79 20 66 |at.immed|iately f|
|00004c30| 6f 6c 6c 6f 77 20 4d 50 | 45 47 2d 31 20 68 65 61 |ollow MP|EG-1 hea|
|00004c40| 64 65 72 73 2e 20 20 41 | 74 20 74 68 65 20 68 69 |ders. A|t the hi|
|00004c50| 67 68 65 73 74 20 6c 61 | 79 65 72 2c 20 66 6f 72 |ghest la|yer, for|
|00004c60| 20 65 78 61 6d 70 6c 65 | 2c 0a 74 68 65 20 4d 50 | example|,.the MP|
|00004c70| 45 47 2d 31 20 73 74 79 | 6c 65 20 73 65 71 75 65 |EG-1 sty|le seque|
|00004c80| 6e 63 65 5f 68 65 61 64 | 65 72 28 29 20 69 73 20 |nce_head|er() is |
|00004c90| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 73 65 71 75 |followed| by sequ|
|00004ca0| 65 6e 63 65 5f 65 78 74 | 65 6e 73 69 6f 6e 28 29 |ence_ext|ension()|
|00004cb0| 2e 0a 53 6f 6d 65 20 65 | 78 74 65 6e 73 69 6f 6e |..Some e|xtension|
|00004cc0| 20 68 65 61 64 65 72 73 | 20 61 72 65 20 73 70 65 | headers| are spe|
|00004cd0| 63 69 66 69 63 20 74 6f | 20 4d 50 45 47 2d 32 20 |cific to| MPEG-2 |
|00004ce0| 70 72 6f 66 69 6c 65 73 | 2e 20 20 46 6f 72 20 65 |profiles|. For e|
|00004cf0| 78 61 6d 70 6c 65 2c 0a | 73 65 71 75 65 6e 63 65 |xample,.|sequence|
|00004d00| 5f 73 63 61 6c 61 62 6c | 65 5f 65 78 74 65 6e 73 |_scalabl|e_extens|
|00004d10| 69 6f 6e 28 29 20 20 69 | 73 20 6e 6f 74 20 61 6c |ion() i|s not al|
|00004d20| 6c 6f 77 65 64 20 69 6e | 20 4d 61 69 6e 20 50 72 |lowed in| Main Pr|
|00004d30| 6f 66 69 6c 65 0a 62 69 | 74 73 74 72 65 61 6d 73 |ofile.bi|tstreams|
|00004d40| 2e 0a 0a 41 20 73 69 6d | 70 6c 65 20 70 72 6f 67 |...A sim|ple prog|
|00004d50| 72 61 6d 20 6e 65 65 64 | 20 6f 6e 6c 79 20 73 63 |ram need| only sc|
|00004d60| 61 6e 20 74 68 65 20 63 | 6f 64 65 64 20 62 69 74 |an the c|oded bit|
|00004d70| 73 74 72 65 61 6d 20 66 | 6f 72 20 62 79 74 65 2d |stream f|or byte-|
|00004d80| 61 6c 69 67 6e 65 64 0a | 73 74 61 72 74 20 63 6f |aligned.|start co|
|00004d90| 64 65 73 20 74 6f 20 64 | 65 74 65 72 6d 69 6e 65 |des to d|etermine|
|00004da0| 20 77 68 65 74 68 65 72 | 20 74 68 65 20 73 74 72 | whether| the str|
|00004db0| 65 61 6d 20 69 73 20 4d | 50 45 47 2d 31 20 6f 72 |eam is M|PEG-1 or|
|00004dc0| 20 4d 50 45 47 2d 32 2e | 0a 0a 57 68 61 74 20 61 | MPEG-2.|..What a|
|00004dd0| 72 65 20 73 74 61 72 74 | 20 63 6f 64 65 73 3f 20 |re start| codes? |
|00004de0| 0a 0a 54 68 65 73 65 20 | 33 32 2d 62 69 74 20 62 |..These |32-bit b|
|00004df0| 79 74 65 2d 61 6c 69 67 | 6e 65 64 20 63 6f 64 65 |yte-alig|ned code|
|00004e00| 73 20 70 72 6f 76 69 64 | 65 20 61 20 6d 65 63 68 |s provid|e a mech|
|00004e10| 61 6e 69 73 6d 20 66 6f | 72 20 63 68 65 61 70 6c |anism fo|r cheapl|
|00004e20| 79 0a 73 65 61 72 63 68 | 69 6e 67 20 63 6f 64 65 |y.search|ing code|
|00004e30| 64 20 62 69 74 73 74 72 | 65 61 6d 73 20 66 6f 72 |d bitstr|eams for|
|00004e40| 20 63 6f 6d 6d 65 6e 63 | 65 6d 65 6e 74 20 6f 66 | commenc|ement of|
|00004e50| 20 76 61 72 69 6f 75 73 | 20 6c 61 79 65 72 73 20 | various| layers |
|00004e60| 6f 66 20 76 69 64 65 6f | 0a 77 69 74 68 6f 75 74 |of video|.without|
|00004e70| 20 68 61 76 69 6e 67 20 | 74 6f 20 61 63 74 75 61 | having |to actua|
|00004e80| 6c 6c 79 20 70 61 72 73 | 65 20 76 61 72 69 61 62 |lly pars|e variab|
|00004e90| 6c 65 2d 6c 65 6e 67 74 | 68 20 63 6f 64 65 73 20 |le-lengt|h codes |
|00004ea0| 6f 72 20 70 65 72 66 6f | 72 6d 20 61 6e 79 0a 64 |or perfo|rm any.d|
|00004eb0| 65 63 6f 64 65 72 20 61 | 72 69 74 68 6d 65 74 69 |ecoder a|rithmeti|
|00004ec0| 63 2e 20 20 53 74 61 72 | 74 20 63 6f 64 65 73 20 |c. Star|t codes |
|00004ed0| 61 6c 73 6f 20 70 72 6f | 76 69 64 65 20 61 20 6d |also pro|vide a m|
|00004ee0| 65 63 68 61 6e 69 73 6d | 20 66 6f 72 0a 72 65 73 |echanism| for.res|
|00004ef0| 79 6e 63 68 72 6f 6e 69 | 7a 61 74 69 6f 6e 20 69 |ynchroni|zation i|
|00004f00| 6e 20 74 68 65 20 70 72 | 65 73 65 6e 63 65 20 6f |n the pr|esence o|
|00004f10| 66 20 62 69 74 20 65 72 | 72 6f 72 73 2e 20 20 41 |f bit er|rors. A|
|00004f20| 20 73 74 61 72 74 20 63 | 6f 64 65 20 6d 61 79 20 | start c|ode may |
|00004f30| 62 65 0a 70 72 65 63 65 | 64 65 64 20 62 79 20 61 |be.prece|ded by a|
|00004f40| 6e 20 61 72 62 69 74 72 | 61 72 79 20 6e 75 6d 62 |n arbitr|ary numb|
|00004f50| 65 72 20 6f 66 20 7a 65 | 72 6f 20 62 79 74 65 73 |er of ze|ro bytes|
|00004f60| 2e 20 20 54 68 65 20 7a | 65 72 6f 20 62 79 74 65 |. The z|ero byte|
|00004f70| 73 20 63 61 6e 20 62 65 | 0a 75 73 65 20 74 6f 20 |s can be|.use to |
|00004f80| 67 75 61 72 61 6e 74 65 | 65 20 74 68 61 74 20 61 |guarante|e that a|
|00004f90| 20 73 74 61 72 74 20 63 | 6f 64 65 20 6f 63 63 75 | start c|ode occu|
|00004fa0| 72 73 20 77 69 74 68 69 | 6e 20 61 20 63 65 72 74 |rs withi|n a cert|
|00004fb0| 61 69 6e 20 6c 6f 63 61 | 74 69 6f 6e 2c 20 6f 72 |ain loca|tion, or|
|00004fc0| 0a 62 79 20 72 61 74 65 | 20 63 6f 6e 74 72 6f 6c |.by rate| control|
|00004fd0| 20 74 6f 20 69 6e 63 72 | 65 61 73 65 20 74 68 65 | to incr|ease the|
|00004fe0| 20 62 69 74 72 61 74 65 | 20 6f 66 20 61 20 63 6f | bitrate| of a co|
|00004ff0| 64 65 64 20 62 69 74 73 | 74 72 65 61 6d 2e 0a 0a |ded bits|tream...|
|00005000| 43 6f 64 65 64 20 62 6c | 6f 63 6b 20 70 61 74 74 |Coded bl|ock patt|
|00005010| 65 72 6e 20 0a 0a 20 43 | 6f 64 65 64 20 62 6c 6f |ern .. C|oded blo|
|00005020| 63 6b 20 70 61 74 74 65 | 72 6e 3a 0a 28 43 42 50 |ck patte|rn:.(CBP|
|00005030| 20 2d 2d 6e 6f 74 20 74 | 6f 20 62 65 20 63 6f 6e | --not t|o be con|
|00005040| 66 75 73 65 64 20 77 69 | 74 68 20 43 6f 6e 73 74 |fused wi|th Const|
|00005050| 72 61 69 6e 65 64 20 50 | 61 72 61 6d 65 74 65 72 |rained P|arameter|
|00005060| 73 21 29 20 20 57 68 65 | 6e 20 74 68 65 20 66 72 |s!) Whe|n the fr|
|00005070| 61 6d 65 0a 70 72 65 64 | 69 63 74 69 6f 6e 20 69 |ame.pred|iction i|
|00005080| 73 20 70 61 72 74 69 63 | 75 6c 61 72 6c 79 20 67 |s partic|ularly g|
|00005090| 6f 6f 64 2c 20 74 68 65 | 20 64 69 73 70 6c 61 63 |ood, the| displac|
|000050a0| 65 64 20 66 72 61 6d 65 | 20 64 69 66 66 65 72 65 |ed frame| differe|
|000050b0| 6e 63 65 28 44 46 44 2c | 20 6f 72 0a 74 65 6d 70 |nce(DFD,| or.temp|
|000050c0| 6f 72 61 6c 20 6d 61 63 | 72 6f 62 6c 6f 63 6b 20 |oral mac|roblock |
|000050d0| 70 72 65 64 69 63 74 69 | 6f 6e 20 65 72 72 6f 72 |predicti|on error|
|000050e0| 29 20 74 65 6e 64 73 20 | 74 6f 20 62 65 20 73 6d |) tends |to be sm|
|000050f0| 61 6c 6c 2c 20 6f 66 74 | 65 6e 20 77 69 74 68 0a |all, oft|en with.|
|00005100| 65 6e 74 69 72 65 20 62 | 6c 6f 63 6b 20 65 6e 65 |entire b|lock ene|
|00005110| 72 67 79 20 62 65 69 6e | 67 20 72 65 64 75 63 65 |rgy bein|g reduce|
|00005120| 64 20 74 6f 20 7a 65 72 | 6f 20 61 66 74 65 72 20 |d to zer|o after |
|00005130| 71 75 61 6e 74 69 7a 61 | 74 69 6f 6e 2e 20 20 54 |quantiza|tion. T|
|00005140| 68 69 73 0a 75 73 75 61 | 6c 6c 79 20 68 61 70 70 |his.usua|lly happ|
|00005150| 65 6e 73 20 6f 6e 6c 79 | 20 61 74 20 6c 6f 77 20 |ens only| at low |
|00005160| 62 69 74 20 72 61 74 65 | 73 2e 20 20 43 6f 64 65 |bit rate|s. Code|
|00005170| 64 20 62 6c 6f 63 6b 20 | 70 61 74 74 65 72 6e 73 |d block |patterns|
|00005180| 20 70 72 65 76 65 6e 74 | 0a 74 68 65 20 6e 65 65 | prevent|.the nee|
|00005190| 64 20 66 6f 72 20 74 72 | 61 6e 73 6d 69 74 74 69 |d for tr|ansmitti|
|000051a0| 6e 67 20 45 4f 42 20 73 | 79 6d 62 6f 6c 73 20 69 |ng EOB s|ymbols i|
|000051b0| 6e 20 74 68 6f 73 65 20 | 7a 65 72 6f 20 63 6f 64 |n those |zero cod|
|000051c0| 65 64 20 62 6c 6f 63 6b | 73 2e 0a 43 6f 64 65 64 |ed block|s..Coded|
|000051d0| 20 62 6c 6f 63 6b 20 70 | 61 74 74 65 72 6e 73 20 | block p|atterns |
|000051e0| 61 72 65 20 74 72 61 6e | 73 6d 69 74 74 65 64 20 |are tran|smitted |
|000051f0| 69 6e 20 74 68 65 20 6d | 61 63 72 6f 62 6c 6f 63 |in the m|acrobloc|
|00005200| 6b 20 68 65 61 64 65 72 | 20 6f 6e 6c 79 20 69 66 |k header| only if|
|00005210| 0a 74 68 65 20 6d 61 63 | 72 6f 62 6f 63 6b 5f 74 |.the mac|robock_t|
|00005220| 79 70 65 20 66 6c 61 67 | 20 69 6e 64 69 63 61 74 |ype flag| indicat|
|00005230| 65 73 20 73 6f 2e 0a 0a | 57 68 79 20 69 73 20 74 |es so...|Why is t|
|00005240| 68 65 20 44 43 20 76 61 | 6c 75 65 20 61 6c 77 61 |he DC va|lue alwa|
|00005250| 79 73 20 64 69 76 69 64 | 65 64 20 62 79 20 38 20 |ys divid|ed by 8 |
|00005260| 3f 0a 0a 43 6c 61 72 69 | 66 69 63 61 74 69 6f 6e |?..Clari|fication|
|00005270| 20 70 6f 69 6e 74 3a 20 | 54 68 65 20 44 43 20 76 | point: |The DC v|
|00005280| 61 6c 75 65 20 6f 66 20 | 49 6e 74 72 61 20 63 6f |alue of |Intra co|
|00005290| 64 65 64 20 62 6c 6f 63 | 6b 73 20 69 73 20 71 75 |ded bloc|ks is qu|
|000052a0| 61 6e 74 69 7a 65 64 20 | 62 79 0a 61 20 63 6f 6e |antized |by.a con|
|000052b0| 73 74 61 6e 74 20 73 74 | 65 70 73 69 7a 65 20 6f |stant st|epsize o|
|000052c0| 66 20 38 20 6f 6e 6c 79 | 20 69 6e 20 4d 50 45 47 |f 8 only| in MPEG|
|000052d0| 2d 31 2c 20 72 65 6e 64 | 65 72 69 6e 67 20 74 68 |-1, rend|ering th|
|000052e0| 65 20 31 31 2d 62 69 74 | 20 64 79 6e 61 6d 69 63 |e 11-bit| dynamic|
|000052f0| 0a 72 61 6e 67 65 20 6f | 66 20 74 68 65 20 49 44 |.range o|f the ID|
|00005300| 43 54 20 44 43 20 63 6f | 65 66 66 69 63 69 65 6e |CT DC co|efficien|
|00005310| 74 20 74 6f 20 38 2d 62 | 69 74 73 20 6f 66 20 61 |t to 8-b|its of a|
|00005320| 63 63 75 72 61 63 79 2e | 20 4d 50 45 47 2d 32 20 |ccuracy.| MPEG-2 |
|00005330| 61 6c 6c 6f 77 73 0a 66 | 6f 72 20 44 43 20 70 72 |allows.f|or DC pr|
|00005340| 65 63 69 73 69 6f 6e 20 | 6f 66 20 38 2c 20 39 2c |ecision |of 8, 9,|
|00005350| 20 31 30 2c 20 6f 72 20 | 31 31 20 62 69 74 73 2e | 10, or |11 bits.|
|00005360| 20 20 54 68 65 20 71 75 | 61 6e 74 69 7a 61 74 69 | The qu|antizati|
|00005370| 6f 6e 20 73 74 65 70 73 | 69 7a 65 20 69 73 0a 66 |on steps|ize is.f|
|00005380| 69 78 65 64 20 66 6f 72 | 20 74 68 65 20 64 75 72 |ixed for| the dur|
|00005390| 61 74 69 6f 6e 20 6f 66 | 20 74 68 65 20 70 69 63 |ation of| the pic|
|000053a0| 74 75 72 65 2c 20 73 65 | 74 20 62 79 20 74 68 65 |ture, se|t by the|
|000053b0| 20 69 6e 74 72 61 5f 64 | 63 5f 70 72 65 63 69 73 | intra_d|c_precis|
|000053c0| 69 6f 6e 0a 66 6c 61 67 | 20 69 6e 20 74 68 65 20 |ion.flag| in the |
|000053d0| 70 69 63 74 75 72 65 5f | 65 78 74 65 6e 73 69 6f |picture_|extensio|
|000053e0| 6e 5f 68 65 61 64 65 72 | 28 29 2e 0a 0a 57 68 79 |n_header|()...Why|
|000053f0| 20 69 73 20 74 68 65 72 | 65 20 61 20 73 70 65 63 | is ther|e a spec|
|00005400| 69 61 6c 20 56 4c 43 20 | 66 6f 72 20 20 44 43 54 |ial VLC |for DCT|
|00005410| 5f 63 6f 65 66 66 69 63 | 69 65 6e 74 5f 66 69 72 |_coeffic|ient_fir|
|00005420| 73 74 3a 3f 0a 0a 53 69 | 6e 63 65 20 74 68 65 20 |st:?..Si|nce the |
|00005430| 63 6f 64 65 64 5f 62 6c | 6f 63 6b 5f 70 61 74 74 |coded_bl|ock_patt|
|00005440| 65 72 6e 20 69 6e 20 4e | 4f 4e 2d 49 4e 54 52 41 |ern in N|ON-INTRA|
|00005450| 20 6d 61 63 72 6f 62 6c | 6f 63 6b 73 20 73 69 67 | macrobl|ocks sig|
|00005460| 6e 61 6c 73 20 65 76 65 | 72 79 0a 70 6f 73 73 69 |nals eve|ry.possi|
|00005470| 62 6c 65 20 63 6f 6d 62 | 69 6e 61 74 69 6f 6e 20 |ble comb|ination |
|00005480| 6f 66 20 61 6c 6c 2d 7a | 65 72 6f 20 76 61 6c 75 |of all-z|ero valu|
|00005490| 65 64 20 61 6e 64 20 6e | 6f 6e 2d 7a 65 72 6f 20 |ed and n|on-zero |
|000054a0| 62 6c 6f 63 6b 73 2c 20 | 74 68 65 0a 64 63 74 5f |blocks, |the.dct_|
|000054b0| 63 6f 65 66 5f 66 69 72 | 73 74 20 6d 65 63 68 61 |coef_fir|st mecha|
|000054c0| 6e 69 73 6d 20 61 73 73 | 69 67 6e 73 20 61 20 64 |nism ass|igns a d|
|000054d0| 69 66 66 65 72 65 6e 74 | 20 6d 65 61 6e 69 6e 67 |ifferent| meaning|
|000054e0| 20 74 6f 20 74 68 65 20 | 56 4c 43 0a 63 6f 64 65 | to the |VLC.code|
|000054f0| 77 6f 72 64 20 28 72 75 | 6e 20 3d 20 30 2c 20 6c |word (ru|n = 0, l|
|00005500| 65 76 65 6c 20 3d 2b 2f | 2d 20 31 29 20 74 68 61 |evel =+/|- 1) tha|
|00005510| 74 20 77 6f 75 6c 64 20 | 6f 74 68 65 72 77 69 73 |t would |otherwis|
|00005520| 65 20 72 65 70 72 65 73 | 65 6e 74 20 45 4f 42 0a |e repres|ent EOB.|
|00005530| 28 31 30 29 20 61 73 20 | 74 68 65 20 66 69 72 73 |(10) as |the firs|
|00005540| 74 20 63 6f 65 66 66 69 | 63 69 65 6e 74 20 69 6e |t coeffi|cient in|
|00005550| 20 74 68 65 20 7a 69 67 | 2d 7a 61 67 20 6f 72 64 | the zig|-zag ord|
|00005560| 65 72 65 64 20 52 75 6e | 2d 4c 65 76 65 6c 20 74 |ered Run|-Level t|
|00005570| 6f 6b 65 6e 0a 6c 69 73 | 74 2e 0a 0a 57 68 61 74 |oken.lis|t...What|
|00005580| 92 73 20 74 68 65 20 64 | 65 61 6c 20 77 69 74 68 |.s the d|eal with|
|00005590| 20 20 45 6e 64 20 6f 66 | 20 42 6c 6f 63 6b 20 3f | End of| Block ?|
|000055a0| 0a 0a 53 61 76 65 73 20 | 75 6e 6e 65 63 65 73 73 |..Saves |unnecess|
|000055b0| 61 72 79 20 72 75 6e 2d | 6c 65 6e 67 74 68 20 63 |ary run-|length c|
|000055c0| 6f 64 65 73 2e 20 20 41 | 74 20 6f 70 74 69 6d 61 |odes. A|t optima|
|000055d0| 6c 20 62 69 74 72 61 74 | 65 73 2c 20 74 68 65 72 |l bitrat|es, ther|
|000055e0| 65 20 74 65 6e 64 73 0a | 74 6f 20 62 65 20 66 65 |e tends.|to be fe|
|000055f0| 77 20 41 43 20 63 6f 65 | 66 66 69 63 69 65 6e 74 |w AC coe|fficient|
|00005600| 73 20 63 6f 6e 63 65 6e | 74 72 61 74 65 64 20 69 |s concen|trated i|
|00005610| 6e 20 74 68 65 20 65 61 | 72 6c 79 20 73 74 61 67 |n the ea|rly stag|
|00005620| 65 73 20 6f 66 20 74 68 | 65 0a 7a 69 67 2d 7a 61 |es of th|e.zig-za|
|00005630| 67 20 76 65 63 74 6f 72 | 2e 20 49 6e 20 4d 50 45 |g vector|. In MPE|
|00005640| 47 2d 31 2c 20 74 68 65 | 20 32 2d 62 69 74 20 6c |G-1, the| 2-bit l|
|00005650| 65 6e 67 74 68 20 6f 66 | 20 45 4f 42 20 69 6d 70 |ength of| EOB imp|
|00005660| 6c 69 65 73 20 74 68 61 | 74 20 74 68 65 72 65 0a |lies tha|t there.|
|00005670| 69 73 20 61 6e 20 61 76 | 65 72 61 67 65 20 6f 66 |is an av|erage of|
|00005680| 20 6f 6e 6c 79 20 33 20 | 6f 72 20 34 20 6e 6f 6e | only 3 |or 4 non|
|00005690| 2d 7a 65 72 6f 20 41 43 | 20 63 6f 65 66 66 69 63 |-zero AC| coeffic|
|000056a0| 69 65 6e 74 73 20 70 65 | 72 20 62 6c 6f 63 6b 2e |ients pe|r block.|
|000056b0| 20 20 49 6e 0a 4d 50 45 | 47 2d 32 20 49 6e 74 72 | In.MPE|G-2 Intr|
|000056c0| 61 20 28 49 29 20 70 69 | 63 74 75 72 65 73 2c 20 |a (I) pi|ctures, |
|000056d0| 77 69 74 68 20 61 20 34 | 2d 62 69 74 20 45 4f 42 |with a 4|-bit EOB|
|000056e0| 20 63 6f 64 65 20 69 6e | 20 54 61 62 6c 65 20 31 | code in| Table 1|
|000056f0| 2c 20 74 68 69 73 0a 65 | 73 74 69 6d 61 74 65 20 |, this.e|stimate |
|00005700| 69 73 20 62 65 74 77 65 | 65 6e 20 39 20 61 6e 64 |is betwe|en 9 and|
|00005710| 20 31 36 20 63 6f 65 66 | 66 69 63 69 65 6e 74 73 | 16 coef|ficients|
|00005720| 2e 20 53 69 6e 63 65 20 | 45 4f 42 20 69 73 20 72 |. Since |EOB is r|
|00005730| 65 71 75 69 72 65 64 20 | 66 6f 72 0a 61 6c 6c 20 |equired |for.all |
|00005740| 63 6f 64 65 64 20 62 6c | 6f 63 6b 73 2c 20 69 74 |coded bl|ocks, it|
|00005750| 73 20 61 62 73 65 6e 63 | 65 20 63 61 6e 20 73 69 |s absenc|e can si|
|00005760| 67 6e 61 6c 20 74 68 61 | 74 20 61 20 73 79 6e 74 |gnal tha|t a synt|
|00005770| 61 78 20 65 72 72 6f 72 | 20 68 61 73 0a 6f 63 63 |ax error| has.occ|
|00005780| 75 72 72 65 64 20 69 6e | 20 74 68 65 20 62 69 74 |urred in| the bit|
|00005790| 73 74 72 65 61 6d 2e 0a | 0a 57 68 61 74 92 73 20 |stream..|.What.s |
|000057a0| 20 74 68 69 73 20 93 4d | 61 63 72 6f 62 6c 6f 63 | this .M|acrobloc|
|000057b0| 6b 20 73 74 75 66 66 69 | 6e 67 2c 94 20 64 61 6d |k stuffi|ng,. dam|
|000057c0| 6d 69 74 20 3f 3a 0a 0a | 41 20 67 65 6e 75 69 6e |mit ?:..|A genuin|
|000057d0| 65 20 70 61 69 6e 20 66 | 6f 72 20 56 4c 53 49 20 |e pain f|or VLSI |
|000057e0| 69 6d 70 6c 65 6d 65 6e | 74 61 74 69 6f 6e 73 2c |implemen|tations,|
|000057f0| 20 6d 61 63 72 6f 62 6c | 6f 63 6b 20 73 74 75 66 | macrobl|ock stuf|
|00005800| 66 69 6e 67 20 77 61 73 | 0a 69 6e 63 6c 75 64 65 |fing was|.include|
|00005810| 64 20 69 6e 20 4d 50 45 | 47 2d 31 20 74 6f 20 6d |d in MPE|G-1 to m|
|00005820| 61 69 6e 74 61 69 6e 20 | 73 6d 6f 6f 74 68 65 72 |aintain |smoother|
|00005830| 2c 20 63 6f 6e 73 74 61 | 6e 74 20 62 69 74 72 61 |, consta|nt bitra|
|00005840| 74 65 20 63 6f 6e 74 72 | 6f 6c 20 66 6f 72 0a 65 |te contr|ol for.e|
|00005850| 6e 63 6f 64 65 72 73 2e | 20 20 48 6f 77 65 76 65 |ncoders.| Howeve|
|00005860| 72 2c 20 77 69 74 68 20 | 6e 6f 72 6d 61 6c 69 7a |r, with |normaliz|
|00005870| 65 64 20 63 6f 6d 70 6c | 65 78 69 74 79 2f 61 63 |ed compl|exity/ac|
|00005880| 74 69 76 69 74 79 20 6d | 65 61 73 75 72 65 73 20 |tivity m|easures |
|00005890| 61 6e 64 0a 62 75 66 66 | 65 72 20 6d 61 6e 61 67 |and.buff|er manag|
|000058a0| 65 6d 65 6e 74 20 70 65 | 72 66 6f 72 6d 65 64 20 |ement pe|rformed |
|000058b0| 61 20 70 72 69 6f 72 69 | 20 28 62 65 66 6f 72 65 |a priori| (before|
|000058c0| 20 63 6f 64 69 6e 67 20 | 6f 66 20 74 68 65 20 6d | coding |of the m|
|000058d0| 61 63 72 6f 62 6c 6f 63 | 6b 2c 0a 66 6f 72 20 65 |acrobloc|k,.for e|
|000058e0| 78 61 6d 70 6c 65 29 20 | 61 6e 64 20 6c 6f 63 61 |xample) |and loca|
|000058f0| 6c 20 6d 6f 6e 69 74 6f | 72 69 6e 67 20 6f 66 20 |l monito|ring of |
|00005900| 63 6f 64 65 64 20 64 61 | 74 61 20 62 75 66 66 65 |coded da|ta buffe|
|00005910| 72 20 6c 65 76 65 6c 73 | 20 6e 6f 77 20 61 0a 63 |r levels| now a.c|
|00005920| 6f 6d 6d 6f 6e 20 6f 70 | 65 72 61 74 69 6f 6e 20 |ommon op|eration |
|00005930| 69 6e 20 65 6e 63 6f 64 | 65 72 73 2c 20 28 65 2e |in encod|ers, (e.|
|00005940| 67 2e 20 4d 50 45 47 2d | 32 20 65 6e 63 6f 64 65 |g. MPEG-|2 encode|
|00005950| 72 20 54 65 73 74 20 4d | 6f 64 65 6c 29 2c 20 74 |r Test M|odel), t|
|00005960| 68 65 0a 6e 65 65 64 20 | 66 6f 72 20 73 75 63 68 |he.need |for such|
|00005970| 20 6c 6f 63 61 6c 69 7a | 65 64 20 62 69 74 72 61 | localiz|ed bitra|
|00005980| 74 65 20 73 6d 6f 6f 74 | 68 69 6e 67 20 65 76 61 |te smoot|hing eva|
|00005990| 70 6f 72 61 74 65 64 2e | 20 53 74 75 66 66 69 6e |porated.| Stuffin|
|000059a0| 67 20 63 61 6e 20 62 65 | 0a 61 63 68 69 65 76 65 |g can be|.achieve|
|000059b0| 64 20 74 68 72 6f 75 67 | 68 20 73 6c 69 63 65 20 |d throug|h slice |
|000059c0| 73 74 61 72 74 20 63 6f | 64 65 20 70 61 64 64 69 |start co|de paddi|
|000059d0| 6e 67 20 69 66 20 72 65 | 71 75 69 72 65 64 2e 20 |ng if re|quired. |
|000059e0| 41 20 67 6f 6f 64 20 72 | 75 6c 65 20 6f 66 0a 74 |A good r|ule of.t|
|000059f0| 68 75 6d 62 20 69 73 3a | 20 69 66 20 79 6f 75 20 |humb is:| if you |
|00005a00| 66 69 6e 64 20 6f 66 74 | 65 6e 20 79 6f 75 72 73 |find oft|en yours|
|00005a10| 65 6c 66 20 77 69 73 68 | 69 6e 67 20 66 6f 72 20 |elf wish|ing for |
|00005a20| 73 74 75 66 66 69 6e 67 | 20 6d 6f 72 65 20 74 68 |stuffing| more th|
|00005a30| 61 6e 0a 6f 6e 63 65 20 | 70 65 72 20 73 6c 69 63 |an.once |per slic|
|00005a40| 65 2c 20 79 6f 75 20 70 | 72 6f 62 61 62 6c 79 20 |e, you p|robably |
|00005a50| 64 6f 6e 27 74 20 68 61 | 76 65 20 61 20 76 65 72 |don't ha|ve a ver|
|00005a60| 79 20 67 6f 6f 64 20 72 | 61 74 65 20 63 6f 6e 74 |y good r|ate cont|
|00005a70| 72 6f 6c 0a 61 6c 67 6f | 72 69 74 68 6d 2e 20 20 |rol.algo|rithm. |
|00005a80| 4e 6f 6e 65 74 68 65 6c | 65 73 73 2c 20 74 6f 20 |Nonethel|ess, to |
|00005a90| 61 76 6f 69 64 20 61 6e | 79 20 74 65 6d 70 74 61 |avoid an|y tempta|
|00005aa0| 74 69 6f 6e 2c 20 6d 61 | 63 72 6f 62 6c 6f 63 6b |tion, ma|croblock|
|00005ab0| 20 73 74 75 66 66 69 6e | 67 0a 69 73 20 6e 6f 77 | stuffin|g.is now|
|00005ac0| 20 69 6c 6c 65 67 61 6c | 20 69 6e 20 4d 50 45 47 | illegal| in MPEG|
|00005ad0| 2d 32 20 20 28 41 20 67 | 65 6e 65 72 61 6c 20 73 |-2 (A g|eneral s|
|00005ae0| 79 6e 74 61 78 20 72 65 | 73 74 72 69 63 74 69 6f |yntax re|strictio|
|00005af0| 6e 20 62 72 6f 75 67 68 | 74 20 74 6f 20 79 6f 75 |n brough|t to you|
|00005b00| 0a 62 79 20 74 68 65 20 | 49 6d 70 6c 65 6d 65 6e |.by the |Implemen|
|00005b10| 74 61 74 69 6f 6e 20 53 | 74 75 64 69 65 73 20 53 |tation S|tudies S|
|00005b20| 75 62 67 72 6f 75 70 21 | 29 0a 0a 57 68 61 74 92 |ubgroup!|)..What.|
|00005b30| 73 20 74 68 65 20 64 65 | 61 6c 20 77 69 74 68 20 |s the de|al with |
|00005b40| 73 6c 69 63 65 5f 76 65 | 72 74 69 63 61 6c 5f 70 |slice_ve|rtical_p|
|00005b50| 6f 73 69 74 69 6f 6e 20 | 61 6e 64 20 0a 6d 61 63 |osition |and .mac|
|00005b60| 72 6f 62 6c 6f 63 6b 5f | 61 64 64 72 65 73 73 5f |roblock_|address_|
|00005b70| 69 6e 63 72 65 6d 65 6e | 74 3f 0a 0a 54 68 65 20 |incremen|t?..The |
|00005b80| 61 62 73 6f 6c 75 74 65 | 20 70 6f 73 69 74 69 6f |absolute| positio|
|00005b90| 6e 20 6f 66 20 74 68 65 | 20 66 69 72 73 74 20 6d |n of the| first m|
|00005ba0| 61 63 72 6f 62 6c 6f 63 | 6b 20 77 69 74 68 69 6e |acrobloc|k within|
|00005bb0| 20 61 20 73 6c 69 63 65 | 20 69 73 20 6b 6e 6f 77 | a slice| is know|
|00005bc0| 6e 0a 62 79 20 74 68 65 | 20 63 6f 6d 62 69 6e 61 |n.by the| combina|
|00005bd0| 74 69 6f 6e 20 6f 66 20 | 73 6c 69 63 65 5f 76 65 |tion of |slice_ve|
|00005be0| 72 74 69 63 61 6c 5f 70 | 6f 73 69 74 69 6f 6e 20 |rtical_p|osition |
|00005bf0| 61 6e 64 20 74 68 65 0a | 6d 61 63 72 6f 62 6c 6f |and the.|macroblo|
|00005c00| 63 6b 5f 61 64 64 72 65 | 73 73 5f 69 6e 63 72 65 |ck_addre|ss_incre|
|00005c10| 6d 65 6e 74 2e 20 20 54 | 68 65 72 65 66 6f 72 65 |ment. T|herefore|
|00005c20| 2c 20 74 68 65 20 70 72 | 6f 70 65 72 20 70 6c 61 |, the pr|oper pla|
|00005c30| 63 65 20 6f 66 20 61 20 | 6c 6f 73 74 0a 73 6c 69 |ce of a |lost.sli|
|00005c40| 63 65 20 66 6f 75 6e 64 | 20 69 6e 20 61 20 68 69 |ce found| in a hi|
|00005c50| 67 68 6c 79 20 63 6f 72 | 72 75 70 74 20 62 69 74 |ghly cor|rupt bit|
|00005c60| 73 74 72 65 61 6d 20 63 | 61 6e 20 62 65 20 6c 6f |stream c|an be lo|
|00005c70| 63 61 74 65 64 20 65 78 | 61 63 74 6c 79 20 77 69 |cated ex|actly wi|
|00005c80| 74 68 69 6e 0a 74 68 65 | 20 70 69 63 74 75 72 65 |thin.the| picture|
|00005c90| 2e 20 20 54 68 65 73 65 | 20 74 77 6f 20 73 79 6e |. These| two syn|
|00005ca0| 74 61 78 20 65 6c 65 6d | 65 6e 74 73 20 61 72 65 |tax elem|ents are|
|00005cb0| 20 61 6c 73 6f 20 74 68 | 65 20 6f 6e 6c 79 20 6b | also th|e only k|
|00005cc0| 6e 6f 77 6e 20 6d 65 61 | 6e 73 0a 6f 66 20 64 65 |nown mea|ns.of de|
|00005cd0| 74 65 63 74 69 6e 67 20 | 73 6c 69 63 65 20 67 61 |tecting |slice ga|
|00005ce0| 70 73 2d 2d 2d 2d 61 72 | 65 61 73 20 6f 66 20 74 |ps----ar|eas of t|
|00005cf0| 68 65 20 70 69 63 74 75 | 72 65 20 77 68 69 63 68 |he pictu|re which|
|00005d00| 20 61 72 65 20 6e 6f 74 | 0a 72 65 70 72 65 73 65 | are not|.represe|
|00005d10| 6e 74 65 64 20 77 69 74 | 68 20 61 6e 79 20 69 6e |nted wit|h any in|
|00005d20| 66 6f 72 6d 61 74 69 6f | 6e 20 28 69 6e 63 6c 75 |formatio|n (inclu|
|00005d30| 64 69 6e 67 20 73 6b 69 | 70 70 65 64 20 6d 61 63 |ding ski|pped mac|
|00005d40| 72 6f 62 6c 6f 63 6b 73 | 29 2e 20 20 41 0a 73 6c |roblocks|). A.sl|
|00005d50| 69 63 65 20 67 61 70 20 | 6f 63 63 75 72 73 20 77 |ice gap |occurs w|
|00005d60| 68 65 6e 20 74 68 65 20 | 63 75 72 72 65 6e 74 20 |hen the |current |
|00005d70| 6d 61 63 72 6f 62 6c 6f | 63 6b 20 61 64 64 72 65 |macroblo|ck addre|
|00005d80| 73 73 20 6f 66 20 74 68 | 65 20 66 69 72 73 74 0a |ss of th|e first.|
|00005d90| 6d 61 63 72 6f 62 6c 6f | 63 6b 20 69 6e 20 61 20 |macroblo|ck in a |
|00005da0| 73 6c 69 63 65 20 69 73 | 20 67 72 65 61 74 65 72 |slice is| greater|
|00005db0| 20 74 68 61 6e 20 74 68 | 65 20 70 72 65 76 69 6f | than th|e previo|
|00005dc0| 75 73 20 6d 61 63 72 6f | 62 6c 6f 63 6b 20 61 64 |us macro|block ad|
|00005dd0| 64 72 65 73 73 0a 62 79 | 20 6d 6f 72 65 20 74 68 |dress.by| more th|
|00005de0| 61 6e 20 31 20 6d 61 63 | 72 6f 62 6c 6f 63 6b 20 |an 1 mac|roblock |
|00005df0| 75 6e 69 74 2e 20 41 20 | 73 6c 69 63 65 20 6f 76 |unit. A |slice ov|
|00005e00| 65 72 6c 61 70 20 6f 63 | 63 75 72 73 20 77 68 65 |erlap oc|curs whe|
|00005e10| 6e 20 74 68 65 20 63 75 | 72 72 65 6e 74 0a 6d 61 |n the cu|rrent.ma|
|00005e20| 63 72 6f 62 6c 6f 63 6b | 20 61 64 64 72 65 73 73 |croblock| address|
|00005e30| 20 69 73 20 6c 65 73 73 | 20 74 68 61 6e 20 6f 72 | is less| than or|
|00005e40| 20 65 71 75 61 6c 20 74 | 6f 20 74 68 65 20 70 72 | equal t|o the pr|
|00005e50| 65 76 69 6f 75 73 20 6d | 61 63 72 6f 62 6c 6f 63 |evious m|acrobloc|
|00005e60| 6b 73 0a 61 64 64 72 65 | 73 73 2e 20 20 54 68 65 |ks.addre|ss. The|
|00005e70| 20 70 72 65 76 69 6f 75 | 73 20 6d 61 63 72 6f 62 | previou|s macrob|
|00005e80| 6c 6f 63 6b 20 69 6e 20 | 62 6f 74 68 20 69 6e 73 |lock in |both ins|
|00005e90| 74 61 6e 63 65 73 20 69 | 73 20 74 68 65 20 6c 61 |tances i|s the la|
|00005ea0| 73 74 20 6b 6e 6f 77 6e | 0a 6d 61 63 72 6f 62 6c |st known|.macrobl|
|00005eb0| 6f 63 6b 20 77 69 74 68 | 69 6e 20 74 68 65 20 70 |ock with|in the p|
|00005ec0| 72 65 76 69 6f 75 73 20 | 73 6c 69 63 65 2e 20 42 |revious |slice. B|
|00005ed0| 65 63 61 75 73 65 20 6f | 66 20 74 68 65 20 73 65 |ecause o|f the se|
|00005ee0| 6d 61 6e 74 69 63 0a 69 | 6e 74 65 72 70 72 65 74 |mantic.i|nterpret|
|00005ef0| 61 74 69 6f 6e 20 6f 66 | 20 73 6c 69 63 65 20 67 |ation of| slice g|
|00005f00| 61 70 73 20 61 6e 64 20 | 6f 76 65 72 6c 61 70 73 |aps and |overlaps|
|00005f10| 2c 20 61 6e 64 20 62 65 | 63 61 75 73 65 20 6f 66 |, and be|cause of|
|00005f20| 20 74 68 65 20 73 79 6e | 74 61 63 74 69 63 0a 72 | the syn|tactic.r|
|00005f30| 65 73 74 72 69 63 74 69 | 6f 6e 73 20 66 6f 72 20 |estricti|ons for |
|00005f40| 73 6c 69 63 65 5f 76 65 | 72 74 69 63 61 6c 5f 70 |slice_ve|rtical_p|
|00005f50| 6f 73 69 74 69 6f 6e 20 | 61 6e 64 0a 6d 61 63 72 |osition |and.macr|
|00005f60| 6f 62 6c 6f 63 6b 5f 61 | 64 64 72 65 73 73 5f 69 |oblock_a|ddress_i|
|00005f70| 6e 63 72 65 6d 65 6e 74 | 2c 20 69 74 20 69 73 20 |ncrement|, it is |
|00005f80| 6e 6f 74 20 73 79 6e 74 | 61 63 74 69 63 61 6c 6c |not synt|acticall|
|00005f90| 79 20 70 6f 73 73 69 62 | 6c 65 20 66 6f 72 20 61 |y possib|le for a|
|00005fa0| 0a 73 6b 69 70 70 65 64 | 20 6d 61 63 72 6f 62 6c |.skipped| macrobl|
|00005fb0| 6f 63 6b 20 74 6f 20 62 | 65 20 72 65 70 72 65 73 |ock to b|e repres|
|00005fc0| 65 6e 74 65 64 20 69 6e | 20 74 68 65 20 66 69 72 |ented in| the fir|
|00005fd0| 73 74 20 61 6e 64 20 6c | 61 73 74 20 70 6f 73 69 |st and l|ast posi|
|00005fe0| 74 69 6f 6e 73 20 6f 66 | 0a 61 20 73 6c 69 63 65 |tions of|.a slice|
|00005ff0| 2e 20 20 49 6e 20 74 68 | 65 20 70 61 73 74 2c 20 |. In th|e past, |
|00006000| 73 6f 6d 65 20 28 62 61 | 64 29 20 65 6e 63 6f 64 |some (ba|d) encod|
|00006010| 65 72 73 20 77 6f 75 6c | 64 20 61 74 74 65 6d 70 |ers woul|d attemp|
|00006020| 74 20 74 6f 20 73 69 67 | 6e 61 6c 20 61 0a 72 75 |t to sig|nal a.ru|
|00006030| 6e 20 6f 66 20 73 6b 69 | 70 70 65 64 20 6d 61 63 |n of ski|pped mac|
|00006040| 72 6f 62 6c 6f 63 6b 73 | 20 74 6f 20 74 68 65 20 |roblocks| to the |
|00006050| 65 6e 64 20 6f 66 20 74 | 68 65 20 73 6c 69 63 65 |end of t|he slice|
|00006060| 2e 20 54 68 65 73 65 20 | 65 76 69 6c 20 73 6b 69 |. These |evil ski|
|00006070| 70 70 65 64 0a 6d 61 63 | 72 6f 62 6c 6f 63 6b 73 |pped.mac|roblocks|
|00006080| 20 73 68 6f 75 6c 64 20 | 62 65 20 69 6e 74 65 72 | should |be inter|
|00006090| 70 72 65 74 65 64 20 62 | 79 20 61 20 63 6f 6d 70 |preted b|y a comp|
|000060a0| 6c 69 61 6e 74 20 64 65 | 63 6f 64 65 72 20 61 73 |liant de|coder as|
|000060b0| 20 61 20 67 61 70 2c 20 | 6e 6f 74 0a 61 73 20 61 | a gap, |not.as a|
|000060c0| 20 73 74 72 69 6e 67 20 | 6f 66 20 73 6b 69 70 70 | string |of skipp|
|000060d0| 65 64 20 6d 61 63 72 6f | 62 6c 6f 63 6b 73 2e 0a |ed macro|blocks..|
|000060e0| 0a 57 68 61 74 20 69 73 | 20 6d 65 61 6e 74 20 62 |.What is| meant b|
|000060f0| 79 20 6d 6f 64 69 66 69 | 65 64 20 48 75 66 66 6d |y modifi|ed Huffm|
|00006100| 61 6e 20 56 4c 43 20 74 | 61 62 6c 65 73 3a 0a 0a |an VLC t|ables:..|
|00006110| 54 68 65 20 56 4c 43 20 | 74 61 62 6c 65 73 20 69 |The VLC |tables i|
|00006120| 6e 20 4d 50 45 47 20 61 | 72 65 20 6e 6f 74 20 48 |n MPEG a|re not H|
|00006130| 75 66 66 6d 61 6e 20 74 | 61 62 6c 65 73 20 69 6e |uffman t|ables in|
|00006140| 20 74 68 65 20 74 72 75 | 65 20 73 65 6e 73 65 20 | the tru|e sense |
|00006150| 6f 66 0a 48 75 66 66 6d | 61 6e 20 63 6f 64 69 6e |of.Huffm|an codin|
|00006160| 67 2c 20 62 75 74 20 61 | 72 65 20 6d 6f 72 65 20 |g, but a|re more |
|00006170| 6c 69 6b 65 20 74 68 65 | 20 74 61 62 6c 65 73 20 |like the| tables |
|00006180| 75 73 65 64 20 69 6e 20 | 47 72 6f 75 70 20 33 20 |used in |Group 3 |
|00006190| 66 61 78 2e 20 54 68 65 | 79 0a 61 72 65 20 65 6e |fax. The|y.are en|
|000061a0| 74 72 6f 70 79 20 63 6f | 6e 73 74 72 61 69 6e 65 |tropy co|nstraine|
|000061b0| 64 2c 20 74 68 61 74 20 | 69 73 2c 20 6e 6f 6e 2d |d, that |is, non-|
|000061c0| 64 6f 77 6e 6c 6f 61 64 | 61 62 6c 65 20 61 6e 64 |download|able and|
|000061d0| 20 6f 70 74 69 6d 69 7a | 65 64 20 66 6f 72 20 61 | optimiz|ed for a|
|000061e0| 0a 6c 69 6d 69 74 65 64 | 20 72 61 6e 67 65 20 6f |.limited| range o|
|000061f0| 66 20 62 69 74 20 72 61 | 74 65 73 20 28 73 77 65 |f bit ra|tes (swe|
|00006200| 65 74 20 73 70 6f 74 73 | 29 2e 20 20 41 20 62 65 |et spots|). A be|
|00006210| 74 74 65 72 20 77 61 79 | 20 77 6f 75 6c 64 20 62 |tter way| would b|
|00006220| 65 20 74 6f 20 73 61 79 | 0a 74 68 61 74 20 74 68 |e to say|.that th|
|00006230| 65 20 74 61 62 6c 65 73 | 20 61 72 65 20 6f 70 74 |e tables| are opt|
|00006240| 69 6d 69 7a 65 64 20 66 | 6f 72 20 61 20 72 61 6e |imized f|or a ran|
|00006250| 67 65 20 6f 66 20 72 61 | 74 69 6f 73 20 6f 66 20 |ge of ra|tios of |
|00006260| 62 69 74 20 72 61 74 65 | 20 74 6f 0a 73 61 6d 70 |bit rate| to.samp|
|00006270| 6c 65 20 72 61 74 65 20 | 28 65 2e 67 2e 20 30 2e |le rate |(e.g. 0.|
|00006280| 32 35 20 62 69 74 73 2f | 70 69 78 65 6c 20 74 6f |25 bits/|pixel to|
|00006290| 20 31 2e 30 20 62 69 74 | 73 2f 70 69 78 65 6c 29 | 1.0 bit|s/pixel)|
|000062a0| 2e 20 57 69 74 68 20 74 | 68 65 0a 65 78 63 65 70 |. With t|he.excep|
|000062b0| 74 69 6f 6e 20 6f 66 20 | 61 20 66 65 77 20 63 6f |tion of |a few co|
|000062c0| 64 65 77 6f 72 64 73 2c | 20 74 68 65 20 6c 61 72 |dewords,| the lar|
|000062d0| 67 65 72 20 74 61 62 6c | 65 73 20 77 65 72 65 20 |ger tabl|es were |
|000062e0| 63 61 72 72 69 65 64 20 | 6f 76 65 72 20 66 72 6f |carried |over fro|
|000062f0| 6d 0a 74 68 65 20 48 2e | 32 36 31 20 73 74 61 6e |m.the H.|261 stan|
|00006300| 64 61 72 64 20 64 72 61 | 66 74 65 64 20 69 6e 20 |dard dra|fted in |
|00006310| 74 68 65 20 79 65 61 72 | 20 31 39 39 30 2e 20 54 |the year| 1990. T|
|00006320| 68 69 73 20 69 6e 63 6c | 75 64 65 73 20 74 68 65 |his incl|udes the|
|00006330| 20 41 43 0a 72 75 6e 2d | 6c 65 76 65 6c 20 73 79 | AC.run-|level sy|
|00006340| 6d 62 6f 6c 73 2c 20 63 | 6f 64 65 64 5f 62 6c 6f |mbols, c|oded_blo|
|00006350| 63 6b 5f 70 61 74 74 65 | 72 6e 2c 20 61 6e 64 20 |ck_patte|rn, and |
|00006360| 6d 61 63 72 6f 62 6c 6f | 63 6b 5f 61 64 64 72 65 |macroblo|ck_addre|
|00006370| 73 73 5f 69 6e 63 72 65 | 6d 65 6e 74 2e 20 20 0a |ss_incre|ment. .|
|00006380| 4d 50 45 47 2d 32 20 61 | 64 64 65 64 20 61 6e 20 |MPEG-2 a|dded an |
|00006390| 22 49 6e 74 72 61 20 74 | 61 62 6c 65 2c 22 20 61 |"Intra t|able," a|
|000063a0| 6c 73 6f 20 63 61 6c 6c | 65 64 20 22 54 61 62 6c |lso call|ed "Tabl|
|000063b0| 65 20 31 22 2e 20 20 4e | 6f 74 65 20 74 68 61 74 |e 1". N|ote that|
|000063c0| 20 74 68 65 0a 64 63 74 | 5f 63 6f 65 66 66 69 63 | the.dct|_coeffic|
|000063d0| 69 65 6e 74 20 74 61 62 | 6c 65 73 20 61 73 73 75 |ient tab|les assu|
|000063e0| 6d 65 20 70 6f 73 69 74 | 69 76 65 2f 6e 65 67 61 |me posit|ive/nega|
|000063f0| 74 69 76 65 20 63 6f 65 | 66 66 69 63 69 65 6e 74 |tive coe|fficient|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.