·¢ÐÅÈË: champaign (ÔÒ°), ÐÅÇø: ECE
±ê Ìâ: ÔÚTMS320C80ÉÏʵÏÖµÄÒ»Öֿɱ䳤½âÂëËã·¨
·¢ÐÅÕ¾: ×Ï ¶¡ Ïã (Sat Jan 8 19:34:03 2000), תÐÅ
·¢ÐÅÈË: fangf (·½·½), ÐÅÇø: DSP
±ê Ìâ: ÔÚTMS320C80ÉÏʵÏÖµÄÒ»Öֿɱ䳤½âÂëËã·¨
·¢ÐÅÕ¾: Òûˮ˼Դվ (Mon Aug 9 09:15:29 1999) , Õ¾ÄÚÐżþ
ÔÚTMS320C80ÉÏʵÏÖµÄÒ»Öֿɱ䳤½âÂëËã·¨
Ì·¾¶Î¢£¬ÖÜ诣¬·½ÇÚ£¬ÓàËÉìÏ
(ÉϺ£½»Í¨´óѧͼÏóͨÐÅÓëÐÅÏ¢´¦ÀíÑо¿Ëù)
Ëæ×ÅÊý×Ö¼¼ÊõµÄ¸ßËÙ·¢Õ¹£¬³öÏÖÁ˺ܶàÊÓƵ±àÂë±ê×¼£¬ÈçJPEG¡¢H.261¡¢MPEGª²1¡¢MPEG
ª²2¡¢H.263£Û1£ÝµÈ.Õ⼸ÖÖÊÓƵ±àÂë±ê×¼¶¼²ÉÓÃÁËÒÔÏ·½·¨£º¢Ù ÀëÉ¢ÓàÏұ任DCT£¬ÓÃÓÚ
¼õÉÙÖ¡ÄڵĿռäÈßÓà¶È£»¢Ú Ô˶¯²¹³¥MC(JPEG³ýÍâ)£¬ÓÃÓÚ¼õÉÙÖ¡¼äµÄÈßÓà¶È£»¢Û ¿É±ä³¤
±àÂëVLC£¬Ò²³Æ¹þ·òÂü±àÂ룬ÓÃÓÚÈ¥³ý¾¹ýDCTºÍÁ¿»¯ºóµÄͳ¼ÆÈßÓà.VLCÊÇÒ»¸ö²é±íµÄ¹ý³Ì
£¬Ëü¸ù¾ÝÊäÈëÊý¾Ýͳ¼ÆÌØÐÔ£¬¸øÊý¾Ý·ÖÅäÂë×Ö(codeword)£¬´Ó¶ø´ïµ½½øÒ»²½Ñ¹ËõµÄÄ¿µÄ.
Òò´Ë£¬±ØÐ뽨Á¢Ò»¸öÂë±í£¬½«Ã¿Ò»¸öÊäÈëµÄÊý¾ÝÓëÆäVLCÂë×Ö¶ÔÓ¦ÆðÀ´£¬ÒÔ±ã½âÂëʱ½øÐÐ
²éÕÒ.¿É±ä³¤½âÂë(VLD)ÊÇVLCµÄÄæ¹ý³Ì.Ëüͨ¹ý²éÕÒÂë±í£¬ÕÒµ½¶ÔÓ¦VLC±àÂëµÄÊý¾ÝÖµ£¬²¢
È·¶¨¸ÃÂë×ֵij¤¶È£¬È»ºó½«Êý¾ÝÖµÊä³ö£¬²¢½«Âë×Ö³¤¶È·µ»ØÖÁÊäÈë¶Ë£¬½«ÊäÈëÂëÁ÷Òƶ¯Âë
×Ö³¤¶Èλ£¬Ê¹ÊäÈëÂëÁ÷Ö¸ÕëÖ¸ÏòÏÂÒ»¸öÂë×ֵĿªÊ¼´¦.VLD±ØÐëÒÀÀµÂëÁ÷Ö¸Õ룬ËùÒÔÎÞ·¨Í¬
ʱ½øÐÐÁ½¸ö¿É±ä³¤Âë×ֵĽâÂ룬Õâ¾ÍÏÞÖÆÁ˽âÂëËÙ¶È.ÁíÍ⣬ÒÔH.263ÖÐDCTµÄϵÊý(run,
level,last)ΪÀý£¬ÆäVLCÂë±íÖÐÖ»ÓÐ102¸öÂë×Ö£¬µ«ÆäÂë×ֵij¤¶È·¶Î§È´ÊÇ2~12λ(²»°ü
À¨·ûºÅλ)£¬Èç¹û²»¶ÔÊäÈëÂëÁ÷½øÐÐÔ¤´¦Àí£¬¶øÖ±½Ó½«¸÷¸öÂë×Ö³¤¶ÈÀ©³äΪ12룬½«¶ÔÓ¦
µÄÊýÖµ×÷ΪÂë±íµÄϱ꣬¸ÃÂë±íµÄ³¤¶È½«ÊÇ4 096(212)¸ö´æ´¢µ¥Î».ͬʱ£¬ÒòΪÂë±íÄÚÓ¦
¸Ã°üº¬½âÂëÖµ¼°Âë×Ö³¤¶ÈÁ½²¿·ÖÐÅÏ¢£¬Èç¹ûÿ²¿·ÖÐÅÏ¢ÓÃ16λÀ´´æ´¢£¬ÔòÐèÒª16384 B.
ÔÚƬÄÚRAMÈÝÁ¿½ÏСµÄϵͳÖУ¬ÊÇÎÞ·¨´æ´¢µÄ£¬Îª´Ë£¬VLDÂë±íÓ¦Éè¼ÆµÃ½ÏС.¸ßËÙÐźŴ¦
ÀíÆ÷TMS320C80¾ßÓиßËÙ²¢Ðд¦ÀíµÄÄÜÁ¦£¬µ«Æ¬ÄÚ´æ´¢¿Õ¼äºÜС.±¾ÎÄʹÓÃC80¿ª·¢ÁË
H.263±à½âÂëϵͳ.ΪÁËÌá¸ßϵͳµÄ½âÂëËٶȣ¬Ìá³öÁËÒ»ÖָĽøµÄVLDËã·¨£¬Ëü¼õÉÙÁËVLD
Âë±í´æ´¢¿Õ¼ä£¬¿É´æ´¢ÔÚC80µÄƬÄÚRAMÖУ¬ÃâÈ¥ÁËƬÄÚÓëƬÍâÊý¾Ý½»»»µÄ¿ªÏú.
1¸ßËÙÐźŴ¦ÀíÆ÷TMS320C80
Ëæ×ÅÐòÁÐͼÏó´¦ÀíʵʱÐÔÒªÇóµÄÌá¸ß£¬µ¥Æ¬DSP´¦ÀíÆ÷µÄËÙ¶ÈÒ»°ã´ï²»µ½ÒªÇó.TMS320C80
£Û2£ÝÔÚһƬC80ÄÚ¼¯³ÉÁ˶à¸ö¹¦ÄÜÇ¿´ó¡¢¿É±à³ÌµÄ´¦ÀíÆ÷ºÍͼÐÎϵͳ¿ØÖÆÆ÷£¬°üÀ¨1¸ö
RISCÖ÷´¦ÀíÆ÷(MP)ºÍ4¸ö²¢Ðд¦ÀíÆ÷(PP).
PP¼ç¸º×Ŵ󲿷ֵÄÔËËãÈÎÎñ£¬PPµÄºËÐÄÊÇÒ»¸öÊý¾Ýµ¥ÔªºÍÁ½¸öµØÖ·µ¥Ôª£¬ÆäÖ¸Áî×ÖΪ64λ
£¬Ã¿¸öÖ¸Áî×ÖÄÚ·Ö±ðÓпØÖÆÊý¾Ýµ¥ÔªºÍ2¸öµØÖ·µ¥ÔªµÄ³¡£¬ÕâЩ³¡ÊǶÀÁ¢µÄ£¬Ã¿¸öÖ¸ÁîÓɶà
¸ö¶ÀÁ¢³¡¹¹³É£¬Ã¿¸ö³¡Ö¸¶¨Ò»¸ö¶ÀÁ¢µÄ²Ù×÷£¬Ò»¸öÖ¸Áî×ÖÄÚ±ã¿ÉÖ¸Ã÷¶à¸ö²Ù×÷.ÿ¸öPPÔÚÒ»
¸öʱÖÓÖÜÆÚÄÚ¿ÉÍê³É10¸öRISC¼¶µÄ²¢ÐвÙ×÷ .È«¾ÖºÍ¾Ö²¿2¸öµØÖ·µ¥Ôª(address unit)ÔÚ
Ò»¸öÖÜÆÚÄÚ¿ÉÒÔͬʱ½øÐд洢Æ÷²Ù×÷.ÓÉÓÚ´æÈ¡²Ù×÷ÊǶÀÁ¢ÓÚÊý¾Ýµ¥Ôª²Ù×÷µÄ£¬ËùÒÔÊý¾Ýµ¥
ÔªºÍ2¸öµØÖ·µ¥ÔªµÄ²Ù×÷¿ÉÒÔ²¢ÐÐÖ´ÐÐ.Èç¹ûÖ¸ÁîÄÚ²»ÐèÒªµØÖ·µ¥Ôª½øÐд洢Æ÷·ÃÎÊ£¬µØÖ·
µ¥Ôª±ã¿É¶Ô¼Ä´æÆ÷Êý¾Ý½øÐÐËãÊõ²Ù×÷£¬Ê¹C80µÄ´¦ÀíËٶȽÏÒ»°ãµÄDSP¿ì£¬ÌرðÊÊÓÃÓÚͼÐÎ/
ͼÏó´¦Àí.±¾ÎÄÌá³öµÄVLDËã·¨¾ÍÊÇÀûÓÃÁËPPµÄÊý¾Ýµ¥ÔªºÍµØÖ·µ¥ÔªµÄ²¢Ðд¦ÀíÄÜÁ¦£¬Ê¹¿´
ÉÏÈ¥Ôö¼ÓµÄ²Ù×÷£¬¶øÔÚʵ¼ÊʵÏÖÖÐÓëÆäËû²Ù×÷ÊDz¢ÐÐÖ´Ðеģ¬´Ó¶øÔڸĽøËã·¨µÄͬʱûÓÐ
Ôö¼Ó¶îÍâµÄ¿ªÏú.
±í1VLCÂë±í¸Å¿ö
Tab.1VLC table information
VLCÂë±í Âë×Ö³¤¶È/λ Âë×ÖÊýÄ¿ δ¾Ô¤´¦ÀíµÄÂë±í³¤¶È
Ö¡ÄÚMCBPC1~99512
Ö¡¼äMCBPC1~921512
MODB1~234
CBPY2~61664
MVD1~13648192
TCOEF2~121034096
µ«ÊÇ£¬C80Ò²ÓÐÆä¾ÖÏÞÐÔ£¬ÄǾÍÊÇÿ¸öPPµÄƬÄÚ´æ´¢¿Õ¼ä±È½ÏС.ËäÈ»C80µÄ´«Êä¿ØÖÆÆ÷TCÌá
¹©ÁËƬÄÚÓëƬÍâ´æ´¢Æ÷µÄÊý¾Ý´«Ê䣬²¢Ö§³Ö¿é´«Ê䣬µ«ÊÇ´ÓƬÍâ½øÐÐÊý¾ÝµÄ´æÈ¡²Ù×÷ËùÐèµÄ
ʱ¼äÊÇÔÚƬÄÚ½øÐÐÊý¾Ý´æÈ¡µÄ10±¶.ËùÒÔÖ»Óе±Ò»´Î´«ÊäÕû¿éµÄÊý¾Ý£¬¼´½«Êý¾Ý´ò"°ü"
½øÐд«Ê䣬²¢ÇÒÊý¾Ý´«Êä²Ù×÷¿ÉÒÔÓëÆäËû²Ù×÷²¢ÐÐʱ£¬TCµÄЧÂʲŵÃÒÔ³ä·ÖÀûÓÃ.VLDµÄ²Ù
×÷ÐèÒª¾³£²éÕÒÂë±í£¬Ã¿´Î²é±íÖ»ÊDzéÕÒÒ»¸öÊý¾Ý£¬¶øÇÒÂë±íµÄ²éÕÒ²Ù×÷ÒÀÀµÓÚÉÏÒ»´ÎµÄ²é
ÕÒ½á¹û£¬¹Ê²»ÄÜÓõ½"°ü"´«Êä.Èç¹û½«Âë±í·ÅÔÚƬÍ⣬´æÈ¡²Ù×÷»áÐèÒªºÜ¶àʱ¼ä.ΪÁËÌá
¸ßϵͳµÄ½âÂëËٶȣ¬Ó¦¸Ã½«Âë±í·ÅÔÚPPµÄƬÄÚRAMÖÐ.ËùÒÔ£¬Âë±í±ØÐëÉè¼ÆµÃ±È½ÏС£¬²ÅÄܹ»
´æ´¢ÔÚPPµÄÒ»¸öƬÄÚRAMÖÐ.±¾ÎĵÄVLDËã·¨¾ÍÊÇΪ¿Ë·þC80½ÏСƬÄÚ´æ´¢¿Õ¼äµÄÎÊÌâ¶øÉè¼Æ
¸Ä½øµÄ.
2¿É±ä³¤½âÂëËã·¨
ÔÚH.263ÖÐÓÐ6¸öVLCÂë±í£ºÖ¡ÄÚMCBPC(ºê¿éÀàÐͺͱàÂë¿éÉ«¶ÈÄ£¿é)¡¢Ö¡¼äMCBPC¡¢MODB(B¿é
µÄºê¿éģʽ)¡¢CBPY(ÁÁ¶È±àÂë¿éģʽ)¡¢MVD(Ô˶¯Ê¸Á¿)¡¢TCOEF(Ö¡ÄÚ¿éµÄDCϵÊý).ÆäÖÐMO
DBÓÉÓÚÂë±í¼òµ¥£¬Ö»ÓÐ3¸öÂë×Ö£¬²¢ÇÒÓÐÒ»¶¨µÄ¹æÂÉ£¬ËùÒÔ²»±Ø½øÐÐÂë±íµÄÉè¼Æ£¬¿Éͨ¹ýÈí
¼þµÄÅжÏÖ±½Ó»ñµÃ.VLCÂë±íÈç±í1Ëùʾ£¬ÆäÖÐÂë±í³¤¶ÈÊÇÖ¸½«½âÂëÖµ¼°ÆäÂë×Ö³¤¶È×÷Ϊһ¸ö
"µ¥Ôª×Ö"£¬Ã¿¸öÂë±íÖаüº¬ÕâÑùµÄ"µ¥Ôª×Ö"Êý.
´«Í³ÉÏ£¬ÈËÃÇÓÃÂëÊ÷À´±íʾVLCµÄÂë±í.ͼ1ËùʾÊÇCBPYµÄÂëÊ÷.Èç¹û½«´Ë¶þ²æÊ÷д³ÉÍêÈ«¶þ
²æÊ÷£¬ÄÇôÔÚ×îµÍ¶ËÓÐ26(=64)¸öÒ¶×Ó.Ò²¾ÍÊÇ˵£¬Èç¹û²»¾¹ýÔ¤´¦Àí£¬½«Æäд³ÉÂë±í£¬
Âë±íµÄ´óС½«ÊÇ64¸öµ¥Ôª×Ö.ÆäÖУ¬´Ó±í1¿ÉÒÔ¿´µ½£¬MVDÓëTCOEFµÄÂë±íºÜ´ó£¬ÐèÒª½øÐÐÔ¤
´¦Àí.ͬʱ£¬ÓÉͼ1¿É¿´³ö£¬Âë×ÖΪ"11"µÄ"Ò¶×Ó"Éî¶È½ÏС£¬¹ÊCBPYÂë±íÒ²¿Éͨ¹ýÔ¤´¦
Àí£¬À´½øÒ»²½½µµÍÆ䳤¶È.ÏÂÃ潫¾ßÌå¸ø³öÔÚC80É϶ÔVLDÂë±í½øÐÐÔ¤´¦ÀíµÄËã·¨²½Öè.
2.1Âë±íµÄ½¨Á¢
H.263µÄ5¸öVLDÂë±í(MODB³ýÍâ)ÖУ¬Ö¡ÄÚMCBPC¼°Ö¡¼äMCBPCÈÔ²ÉÓöþ²æÍêÈ«Ê÷£¬·Ö±ð
¶ÔCBPY¡¢MVD¼°TCOEF·ÖΪ×ÓÍêÈ«Ê÷.ÓÉÓÚCBPYÂë±í½Ï¼òµ¥£¬±¾ÎÄÒÔCBPYΪÀýÀ´ËµÃ÷
Ëã·¨.ÓÉ
±í2CBPYÂë±í
Tab.2CBPY table
0
1
2
3
4
5
01234567
-1/0-1/0a/6b/6c/5c/5d/5d/5
e/5e/5f/5f/5g/4g/4g/4g/4
h/4h/4h/4h/4l/4l/4l/4l/4
j/4j/4j/4j/4k/4k/4k/4k/4
l/4l/4l/4l/4m/4m/4m/4m/4
n/4n/4n/4n/4o/4o/4o/4o/4
CBPYµÄ¶þ
²æÊ÷¿ÉÒÔ¿´³ö£¬µ±ÆäÂë×Ö³¤¶ÈΪ2λʱ£¬Ö»ÓÐÒ»¸öÂë×Ö£º11£¬²¢ÇÒÓÉËü²úÉúµÄÍêÈ«Ê÷µÄÒ¶×Ó
ÓÐ24(=16)¸ö.²»·Á½«ÓÉÂë×Ö11²úÉúµÄ·ÖÖ§"¼ôµô"£¬Áí×÷´¦Àí£¬¿ÉÒÔ½«Ëü×÷ΪÁíÍâÒ»¿Ã
ÍêÈ«Ê÷£¬Õâ¿ÃÍêÈ«Ê÷µÄ¸ù¼´ÎªÒ¶×Ó£¬ÆäÉî¶ÈΪ1.µ±¶Á½øÀ´µÄ6λÂë×ÓµÄÖµ´óÓÚ48ʱ£¬¾ÍÈÏΪ
ÊÇ"11"Õâ¿ÃÊ÷£¬´Ó¶ø¿É½â³ö¸ÃÂë×ÖΪ"11"£¬³¤¶ÈΪ2£¬¼Ì¶øÈ·¶¨Æä¶ÔÓ¦µÄÊý¾ÝÖµ(ÉèÆäΪ
p).ÕâÑù£¬Âë±íCBPY¾Í¿É·ÖΪ2¸ö±í£¬µÚÒ»¸ö±íµÄ³¤¶ÈΪ48£¬µÚ¶þ¸ö"±í"µÄ³¤¶ÈΪ
1.Èç¹û½«Ã¿¸öÂë×Ö¶ÔÓ¦µÄÊý¾ÝÖµ(»ò³ÆÂë±íÖеķûºÅ)ÓÃÓ¢ÎÄ×ÖĸÀ´±íʾ£¬ÔòµÚÒ»¸öÂë±í
Èç±í2Ëùʾ.
MVD¼°TCOEFµÄÂë±íÉè¼Æ˼ÏëͬÉÏ£º¸ù¾ÝÂëÊ÷µÄÌص㣬·Ö±ð·Ö³É3¸ö×ÓÍêÈ«Ê÷.´Ó¶ø½µµÍÿ¸ö
×ÓÊ÷µÄÉî¶È£¬¼õÉÙÀ˷ѵĴ洢¿Õ¼ä.
2.2Âë±íµÄ²éÕÒ¹ý³Ì
ÒÔCBPYΪÀý£¬ÆäÂë±íµÄ²éÕÒ¹ý³ÌÊÇ£º(1) ´ÓÂëÁ÷ÄÚ¶ÁÊý.ÿ´Î´ÓÂëÁ÷ÖжÁÈëÂëÊ÷ÖÐ×µÄÂë
×ÖλÊý.ÓÉÓÚCBPYÖÐ×µÄÂë×ÖΪ6룬ËùÒÔ¶Á½ø6λÊý.(2) ÅжϸÃÂë×ÖÊôÓÚÄÄÒ»¸öÂëÊ÷.
¶ÔCBPY£¬µ±6λÊý²»Ð¡ÓÚ48ʱ£¬µÃ³ö¸ÃÂë×ÖÔÚ"11"Éú³ÉµÄ×ÓÊ÷ÖУ»·´Ö®£¬Ôò¸ÃÂë×ÖÔÚµÚÒ»
¸öÂë±íÖÐ.(3) ²é±í½â³öÂë×Ö¶ÔÓ¦µÄÊýÖµ¼°Âë×ֵij¤¶È.ÔÚCBPYÖУ¬Èç¹ûÓɲ½Öè(2)Öª¸ÃÂë
×ÖÔÚµÚÒ»¸öÂë±íÖУ¬ÔòÕâ6λÊý¼´´ú±í¸ÃÂë×ÖÔÚµÚÒ»¸öÂë±íÖеÄλÖÃ.´ÓÖжÁ³öÊýÖµ¼°Âë×Ö
³¤¶È¼´¿É.ÈôÔÚµÚ¶þ¸öÂë±íÖУ¬ÔòÖª¸ÃÂë×ÖΪ"11"£¬ÒòΪµÚ¶þ¸öÂë±íÖ»ÓÐÒ»¸öÂë×Ö£¬¿ÉÒÔ
ÈÏΪ¸ÃÂë×ÖµÄλÖÃÊÇÔÚµÚ¶þ¸öÂë±íµÄ0´¦£¬½«¶ÁÈëµÄ6λÊýÓÒÒÆ6λ¼´¿ÉµÃµ½"11"ËùÔÚµÄλ»
ÖÃÁË(ʵ¼ÊÉÏ£¬µÚ¶þ¸öÂë±í²¢²»ÐèÒª£¬ÔÚ³ÌÐòÖпÉÖ±½Ó¸ø³ö"11"Ëù¶ÔÓ¦µÄÊý¾ÝÖµºÍËüµÄ³¤
¶È£º2).MVD»òTCOEFÂë±íµÄÔÀíÏàͬ£¬¼´£ºÈôÂë×ÖÔÚÁíÒ»¸ö×ÓÂëÊ÷ÖУ¬½«¶ÁÈëµÄÊýÖµÓÒÒÆÒ»
¶¨µÄÊýÄ¿£¬¼´¿É»ñµÃ¸ÃÂë×ÖÔÚÂë±íÖеÄλÖÃ.¼Ì¶ø²é±í£¬»ñµÃÂë×Ö¶ÔÓ¦µÄÊýÖµ¼°Âë×ֵij¤¶È
.(4) ½«Âë×ֵij¤¶È·´À¡ÖÁÊäÈë¶Ë£¬½«Ö¸ÏòÊäÈëÂëÁ÷µÄÖ¸ÕëÒƶ¯ÖÁÏÂÒ»¸öÂë×ÖµÄÆðʼ´¦.
2.3Âë±íµÄ´æ·Å
ËäÈ»¶Ô¸÷¸öÂë±í½øÐÐÁËÔ¤´¦Àí£¬¼õÉÙÁ˲¿·Ö´æ´¢¿Õ¼äµÄÀË·Ñ.µ«ÊÇÂë±íÔÚÄÚ´æÖÐÈô´æ·ÅµÃµ±
£¬»á¸ü½øÒ»²½½µµÍ´æ´¢¿Õ¼ä.ÕâÊÇÔÚÐí¶à¹ØÓÚVLDËã·¨Öб»ºöÊÓµÄÎÊÌâ.×÷ÕßÔÚÓÃC80¿ª·¢H.
263½âÂëÈí¼þϵͳʱ£¬×¢Òâµ½ÁËÕâ¸öÎÊÌ⣬²¢½áºÏC80µÄÌص㣬Ìá³öÁËÔÚÄÚ´æÖд洢Âë±íµÄ·½
°¸£¬ÊÕµ½ÁËÂúÒâµÄЧ¹û.
ÿ¸öVLDÂë±íÖУ¬½âÂëÖµ°üÀ¨Á½²¿·Ö£ºVLC±àÂë¶ÔÓ¦µÄ½âÂëÖµ¼°VLCÂë×Ö³¤¶È.Ñо¿½âÂëÖµ·¢
ÏÖ£¬³ýÁËTCOEF½âÂë±íÖеĽâÂëÖµÐèÒªÓÃ16λ±íʾÍ⣬ÆäÓàµÄ½âÂëÖµÖ»ÐèÒ»¸ö×Ö½Ú(8λ)¼´¿É
´æ·Å.¶øËùÓÐÂë×Ö³¤¶È¾ùÖ»Ðè4λ±ã×ã¹»ÁË.C80µÄPPÔÚƬÄÚÖ»ÓÐ3¸ö2 KBµÄData RAM, Ò»¸ö2
KBµÄPRAM£¬Õû¸ö½âÂëϵͳµÄÔËÐл¹ÐèÒªÐí¶àÆäËûµÄ²ÎÊý£¬ËüÃDZØÐë´æ´¢ÔÚƬÄÚ.ΪÁËÌá¸ß
ϵͳµÄ´¦ÀíËٶȣ¬VLDÂë±íÒ²Ó¦¸Ã·ÅÔÚƬÄÚ.Èç¹û²»¿¼ÂǽâÂëÖµµÄ´óС£¬Ò»Âɽ«ËüÃÇ°´ÕÕ32λ
»ò16λÀ´·Ö±ð´æ·Å½âÂëÖµºÍÂë×Ö³¤¶È£¬ËùÐè´æ´¢¿Õ¼äÊǺܴóµÄ.ÓÃ32λ¼´C80ÖÐÒ»¸öwordÀ´
´æ·Å£¬Õû¸öH.263µÄ6¸öVLDÂë±íÐè1 796 word»ò7 184 B£»Èô°´16λ´æ·Å£¬ÔòÐè3 592 B.¾ù´ó
ÓÚÒ»¸öPPµÄƬÄÚRAM.ÏÔÈ»ÊDz»¿ÉÐеÄ.
Èç¹û²»Óô«Í³µÄ½âÂëÖµÓëÂë×Ö³¤¶ÈÒ»Æð´æ·Å£¬¶ø½«ËüÃÇ·Ö¿ª´æ·Å£¬×é³É½âÂëÖµ±íºÍÆäÂë×Ö³¤
¶È±í.½«Ã¿¸öÂë×Ö³¤¶ÈÖ»ÓÃ4λ¶þ½øÖÆÊý±íʾ.ÓÉÓÚC80ºÍÐí¶àDSPÒ»ÑùÊÇÒÔ×Ö½ÚΪ´æÈ¡µ¥Î»µÄ
£¬ËùÒÔ½«Á½¸öÂë×Ö³¤¶ÈºÏ²¢£¬´æ·ÅÔÚÒ»¸ö×Ö½ÚÖÐ(¼ûͼ2(c)).µ±È»£¬ÔÚ½âÂëʱÐè½øÐÐÒ»¸ö·Ö
½â²Ù×÷£¬²Å¿É´Ó8λÊýÖÐÌáÈ¡³öËùÐèµÄ4λÂë×Ö³¤¶È.¾¹ýÕâÑùµÄ´æ·Å£¬H.263µÄËùÓÐÂë±íÖ»
Ðè1 650 B.ÔÚÒ»¸öPPµÄƬÄÚRAMÖм´¿É´æ·Å.
ͼ2CBPY¿É±ä³¤Âë±íÄÚ´æ´æ·Å½á¹¹
Fig.2CBPY VLD table structure in the onª²chip memory
ÒÔCBPYΪÀý£¬Æä½âÂëÖµ±í¼°³¤¶ÈÂë±íÔÚÄÚ´æÖд洢½á¹¹Èçͼ2Ëùʾ.Èç¹û´Ó¼Ä´æÆ÷ÖжÁ³öµÄ6
λÂë×ÖΪ(100100)2=(36)10ʱ£¬ÔòÐè·Ö±ð²éÕÒCBPYµÄ½âÂëÖµ±íºÍ½âÂ볤¶È±í.²é
½âÂëÖµ±íʱ°´ÕÕϱê36À´²é£¬µÃµ½½âÂëÖµm£»²é³¤¶È±íʱ£¬Ðè°´ÒÔϲ½Öè½øÐУº(1) ½«
¶ÁÈëµÄ6λÂë×Ö(100100)2ÓÒÒÆһλµÃµ½(10010)2=18£»(2) °´ÕÕϱê18´Ó³¤¶ÈÂë±íÖжÁ
³öÒ»¸ö×Ö½ÚµÄֵΪ(4£¬4)(×Ö½Ú±íʾΪ£º01000100)£»(3) ÅжÏ×î³õ¶ÁÈëµÄ6λÊýΪÆæÊý»¹ÊÇ
żÊý£¬¼´¶Á(100100)2µÄĩλÊý£¬ÈôΪ0£¬ÔòÈ¡(01000100)2µÄ4~7룬¼´È¡µÚ¶þ¸ö4£»·´
Ö®£¬ÔòÈ¡(01000100)2µÄ0~3λÊý.´Ó¶øµÃµ½Âë×ֵij¤¶ÈΪ4λ.
3½áÂÛ
´«Í³µÄÖðλ·ÖÎö½âÂëÊ÷·½·¨ËٶȺÜÂý.±¾ÎÄÓÃMiss AmericaͼÏóÐòÁеÄÇ°70Ö¡½øÐнâÂë²âÊÔ
£¬ÊµÑé½á¹ûÊǸ÷½·¨µÄ½âÂëËٶȱȱ¾ÎIJÉÓõķ½·¨Âý1/2×óÓÒ.
Reza£Û3£ÝÌá³öÁËÒ»ÖָĽøµÄ½âÂëÊ÷·½·¨£¬ÆäÌصãÊÇVLDÂë±í´æ´¢¿Õ¼äС.¶Ô×Âë×Ö
Ϊ13λµÄÂë±í£¬Reza²ÉÓ÷Ö×é¶ÁÈëÂëÁ÷µÄ·½·¨.µÚÒ»´Î¶Á½ø4λÊý£¬¸ù¾ÝÕâ4λÊý²éÕÒÂë±í£¬
Èç¹û¸ÃÂë×Ö³¤¶È´óÓÚ4룬Ôò±íÃ÷Ðè¼ÌÐø¶ÁÈëÂëÁ÷£¬²¢¿É²é³öÐè¶ÁÈëµÄλÊý(СÓÚµÈÓÚ4λ)£¬
ÔÙ´ÓÊäÈëÂëÁ÷ÖжÁÈë4λÊý£¬Èç´ËÏÂÈ¥.·´Ö®£¬¼´ÕÒµ½¸ÃÂë×Ö¶ÔÓ¦µÄ½âÂëÖµ¼°Æ䳤¶È.
µ«ÕâÖÖ·½·¨Ó¦ÓÃÔÚC80¿ª·¢µÄ½âÂëϵͳÖÐʱ£¬Óë±¾ÎÄ·½·¨±È½Ï£¬¾Í»áÓкܶàÁÓÊÆ£¬ÕâÒ²ÊÇ×÷
Õß²»²ÉÓø÷½·¨µÄÔÒò£º
(1) Reza·½·¨½¨Á¢µÄÂë±íÐèÒª´æ´¢Èý·½ÃæµÄÐÅÏ¢£º¢Ù ÊÇ·ñÕÒµ½Âë×ֵıêʶÐÅÏ¢£»¢Ú Âë×Ö
³¤¶ÈÐÅÏ¢»òÏÂÒ»×éµÄÉî¶ÈÐÅÏ¢£»¢Û ½âÂëÖµ»òÏÂÒ»×éµÄÆðʼµØÖ·ÐÅÏ¢.±¾ÎÄ·½·¨Ö»ÐèÒª´æ´¢
½âÂëÖµ¼°Âë×Ö³¤¶È.ʹÓÃReza·½·¨½¨Á¢µÄÂë±íÕ¼ÓõÄÄÚ´æ¿Õ¼äÖ»±È±¾Îĵķ½·¨ÉÙ150 B£¬´æ
´¢¿Õ¼äÉϸ÷½·¨µÄÓÅÊƲ»Ã÷ÏÔ.
(2) Èκη½·¨ÔÚ´æ´¢ÉÏÕ¼ÓÐÓÅÊÆʱ£¬ÔÚÔËÐÐËÙ¶ÈÉϾÍÒªÓÐËùÎþÉü.Reza·½·¨Ò²ÊÇÒ»Ñù£¬ËüÔÚ
ÿ´Î²éÕÒÂë±íÖеÄÒ»¸ö×éʱ£¬Ðè½øÐÐÒ»´Î¼Ó·¨ÔËË㣬ÓÃÀ´¼ÆËãÂë×Ö³¤¶È»òÂë×ÖÔÚÏÂÒ»¸ö×éµÄ
λÖÃ.×î²îʱÐè²éÕÒÈý¸ö×飬²Å¿ÉÕÒµ½Âë×Ö£¬¼´Òª½øÐÐÈý´Î¼Ó·¨¼ÆËã.¶øÿ´Î¼ÆËãÒª
ÒÀÀµÓÚÉÏÒ»´ÎµÄ¼ÆËã½á¹û£¬ËùÒÔÎÞ·¨ÀûÓÃC80²¢Ðд¦ÀíµÄÓÅÊÆÀ´Ìá¸ßËÙ¶È.±¾ÎÄ·½·¨²»ÐèÒª
¼Ó·¨¼ÆËã.
(3) ±¾ÎÄ·½·¨ÔÚÿ´Î²éÂë±íʱ£¬Ö»ÐèÒ»´Î¶ÁÂëÁ÷²Ù×÷£¬¶øReza·½·¨²»¿É±ÜÃâµØ»á³öÏÖÁ½´Î»ò
Á½´ÎÒÔÉϵĶÁÊý²Ù×÷.ÔÚC80ÉÏÔËÐжÁÂëÁ÷²Ù×÷£¬Ã¿´ÎÐè9¸öϵͳʱÖÓÖÜÆÚ(cycle).Á½´Î¶Á
Êý²Ù×÷±ãÐè18¸öϵͳʱÖÓÖÜÆÚ.¹ÊReza·½·¨ÔÚ¶ÁÊý²Ù×÷ÉÏÓÃÈ¥Á˽϶àµÄʱ¼ä.±¾ÎÄ·½·¨²ÉÓÃ
Ò»´Î¶ÁÊýµÄ·½·¨£¬¼´Ã¿´Î¶Á½øµÄÂë×ÖÊýΪ¸ÃVLCÂë±íÖÐ×Âë×ֵij¤¶È.ËٶȽÏRezaµÄ·½·¨
¿ì.
(4) ΪÁ˼õÉÙ´æ´¢¿Õ¼ä£¬±¾ÎÄ·½·¨²ÉÓÃÁË"×ÝÏò¼ôÖ¦·¨"ºÍ½âÂëÖµÓëÂë×Ö³¤¶È·Ö±ð´æ·Å£¬½«
Á½¸öÂë×Ö³¤¶ÈºÏ·Å×é³ÉÒ»¸ö´æÈ¡µ¥Ôª(Ò»¸ö×Ö½Ú)µÄ·½·¨£¬ËùÒÔÔÚ¶ÁÂë×Ö³¤¶ÈʱÐè½øÐÐÒ»¸ö·Ö
ÀëÂë×Ö³¤¶ÈµÄ²Ù×÷.Õâ¸ö²Ù×÷¿´ÉÏÈ¥ºÃÏñÊǽÏReza·½·¨"¶à"³öÀ´µÄ²Ù×÷.µ«ÓÉÓÚC80Ìṩ
ÁËÊý¾Ýµ¥ÔªÓëµØÖ·µ¥Ôª²¢ÐÐÖ´ÐеĻúÖÆ£¬¼´ÔÚÒ»¸öʱÖÓÖÜÆÚÄÚ¿ÉͬʱʵÏÖÊý¾Ýµ¥Ôª¼ÆËã¡¢µØ
Ö·µ¥ÔªµÄ±¾µØµØÖ·µ¥ÔªºÍÈ«¾ÖµØÖ·µ¥ÔªµÄ´æÈ¡£¬×î¶àʱ¿ÉÔÚÒ»ÌõÖ¸ÁîÖÜÆÚÄÚ²¢Ðд¦Àí3ÌõÖ¸
Áî.ÕâÑù£¬±à³Ìʱ±ã¿É½«·ÖÀëÂë×ֵIJÙ×÷(ʵ¼ÊÉÏֻʹÓÃÁË3ÌõC80»ã±àÓï¾ä)ÓëÆäËûÓï¾ä²¢
ÐÐÖ´ÐУ¬ÔÚϵͳÖÜÆÚÉÏ£¬¿ÉÈÏΪÕâ¸ö²Ù×÷²»´æÔÚ.ËùÒÔ£¬C80Ó²¼þϵͳµÄÖ§³Ö£¬Ê¹±¾Ëã·¨¼È
´ïµ½Á˼õÉÙ´æ´¢¿Õ¼äµÄÄ¿µÄ£¬ÓÖûÓÐÈËΪµØ½µµÍËÙ¶È.
(5) ÓÃͼÏóÐòÁÐMiss AmericaµÄÇ°70Ö¡½øÐнâÂë²âÊÔ£¬±¾ÎÄ·½·¨½ÏReza·½·¨µÄ½âÂëËÙ¶ÈÌá¸ß
ÁË9.4%£¬ÇÒÄܹ»ÒÔ12.5Ö¡/sµÄËÙ¶ÈʵÏÖCIF¸ñʽµÄ½âÂë.ʵ¼ùÖ¤Ã÷£¬ÉÏÊö¸Ä½ø·½·¨¶ÔÀàËÆC80
ÕâÑùµÄ¾ßÓиßÔËÐÐËٶȵÄϵͳÊÇÊÊÓõģ¬Õû¸ö½âÂëϵͳ¿ÉµÃµ½ÂúÒâµÄЧ¹û.×÷ÕßÓ¦ÓÃ
TMS320C80¿ª·¢µÄÈ«Èí¼þH.263½âÂëϵͳÔÚC80µÄÒ»¸öPPÉÏʵÏÖÁËQCIFºÍCIFµÄ½âÂ룬ͬʱÕâ
¸öϵͳ»¹ÊµÏÖÁËH.263ÖгýËãÊõ±àÂëÒÔÍâµÄÆäËûÑ¡Ïî.
²Î¿¼ÎÄÏ×
1International Telecommunication Union. Draft ITUª²T Recommendation
H.263:video coding for low bitrate communication. ITUª²T, May£¬ 1996.
2Texas Instruments. TMS320C80 multimedia video processor(MVP)ª²parallel
processor. TI£¬ 1995.
3Reza H. Design and hardware implementation of a memory efficient huff
man decoding. IEEE Transaction on Consumer Electronics, 1994,40(3):345~352
·µ»ØÕªÒª
·µ»ØÄ¿´Î
--
¸ÐÇéÊÇÒ»¸öÄÑÒÔѱ·þµÄÒ°Âí
ÀíÖÇÈ´ÊÇÒ»¸öÑÏÀ÷µÄÂí·ò
¡ù À´Ô´:£®×Ï ¶¡ Ïã bbs.hit.edu.cn£®[FROM: 202.118.228.139]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º3.608ºÁÃë