123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581285822858328584285852858628587285882858928590285912859228593285942859528596285972859828599286002860128602286032860428605286062860728608286092861028611286122861328614286152861628617286182861928620286212862228623286242862528626286272862828629286302863128632286332863428635286362863728638286392864028641286422864328644286452864628647286482864928650286512865228653286542865528656286572865828659286602866128662286632866428665286662866728668286692867028671286722867328674286752867628677286782867928680286812868228683286842868528686286872868828689286902869128692286932869428695286962869728698286992870028701287022870328704287052870628707287082870928710287112871228713287142871528716287172871828719287202872128722287232872428725287262872728728287292873028731287322873328734287352873628737287382873928740287412874228743287442874528746287472874828749287502875128752287532875428755287562875728758287592876028761287622876328764287652876628767287682876928770287712877228773287742877528776287772877828779287802878128782287832878428785287862878728788287892879028791287922879328794287952879628797287982879928800288012880228803288042880528806288072880828809288102881128812288132881428815288162881728818288192882028821288222882328824288252882628827288282882928830288312883228833288342883528836288372883828839288402884128842288432884428845288462884728848288492885028851288522885328854288552885628857288582885928860288612886228863288642886528866288672886828869288702887128872288732887428875288762887728878288792888028881288822888328884288852888628887288882888928890288912889228893288942889528896288972889828899289002890128902289032890428905289062890728908289092891028911289122891328914289152891628917289182891928920289212892228923289242892528926289272892828929289302893128932289332893428935289362893728938289392894028941289422894328944289452894628947289482894928950289512895228953289542895528956289572895828959289602896128962289632896428965289662896728968289692897028971289722897328974289752897628977289782897928980289812898228983289842898528986289872898828989289902899128992289932899428995289962899728998289992900029001290022900329004290052900629007290082900929010290112901229013290142901529016290172901829019290202902129022290232902429025290262902729028290292903029031290322903329034290352903629037290382903929040290412904229043290442904529046290472904829049290502905129052290532905429055290562905729058290592906029061290622906329064290652906629067290682906929070290712907229073290742907529076290772907829079290802908129082290832908429085290862908729088290892909029091290922909329094290952909629097290982909929100291012910229103291042910529106291072910829109291102911129112291132911429115291162911729118291192912029121291222912329124291252912629127291282912929130291312913229133291342913529136291372913829139291402914129142291432914429145291462914729148291492915029151291522915329154291552915629157291582915929160291612916229163291642916529166291672916829169291702917129172291732917429175291762917729178291792918029181291822918329184291852918629187291882918929190291912919229193291942919529196291972919829199292002920129202292032920429205292062920729208292092921029211292122921329214292152921629217292182921929220292212922229223292242922529226292272922829229292302923129232292332923429235292362923729238292392924029241292422924329244292452924629247292482924929250292512925229253292542925529256292572925829259292602926129262292632926429265292662926729268292692927029271292722927329274292752927629277292782927929280292812928229283292842928529286292872928829289292902929129292292932929429295292962929729298292992930029301293022930329304293052930629307293082930929310293112931229313293142931529316293172931829319293202932129322293232932429325293262932729328293292933029331293322933329334293352933629337293382933929340293412934229343293442934529346293472934829349293502935129352293532935429355293562935729358293592936029361293622936329364293652936629367293682936929370293712937229373293742937529376293772937829379293802938129382293832938429385293862938729388293892939029391293922939329394293952939629397293982939929400294012940229403294042940529406294072940829409294102941129412294132941429415294162941729418294192942029421294222942329424294252942629427294282942929430294312943229433294342943529436294372943829439294402944129442294432944429445294462944729448294492945029451294522945329454294552945629457294582945929460294612946229463294642946529466294672946829469294702947129472294732947429475294762947729478294792948029481294822948329484294852948629487294882948929490294912949229493294942949529496294972949829499295002950129502295032950429505295062950729508295092951029511295122951329514295152951629517295182951929520295212952229523295242952529526295272952829529295302953129532295332953429535295362953729538295392954029541295422954329544295452954629547295482954929550295512955229553295542955529556295572955829559295602956129562295632956429565295662956729568295692957029571295722957329574295752957629577295782957929580295812958229583295842958529586295872958829589295902959129592295932959429595295962959729598295992960029601296022960329604296052960629607296082960929610296112961229613296142961529616296172961829619296202962129622296232962429625296262962729628296292963029631296322963329634296352963629637296382963929640296412964229643296442964529646296472964829649296502965129652296532965429655296562965729658296592966029661296622966329664296652966629667296682966929670296712967229673296742967529676296772967829679296802968129682296832968429685296862968729688296892969029691296922969329694296952969629697296982969929700297012970229703297042970529706297072970829709297102971129712297132971429715297162971729718297192972029721297222972329724297252972629727297282972929730297312973229733297342973529736297372973829739297402974129742297432974429745297462974729748297492975029751297522975329754297552975629757297582975929760297612976229763297642976529766297672976829769297702977129772297732977429775297762977729778297792978029781297822978329784297852978629787297882978929790297912979229793297942979529796297972979829799298002980129802298032980429805298062980729808298092981029811298122981329814298152981629817298182981929820298212982229823298242982529826298272982829829298302983129832298332983429835298362983729838298392984029841298422984329844298452984629847298482984929850298512985229853298542985529856298572985829859298602986129862298632986429865298662986729868298692987029871298722987329874298752987629877298782987929880298812988229883298842988529886298872988829889298902989129892298932989429895298962989729898298992990029901299022990329904299052990629907299082990929910299112991229913299142991529916299172991829919299202992129922299232992429925299262992729928299292993029931299322993329934299352993629937299382993929940299412994229943299442994529946299472994829949299502995129952299532995429955299562995729958299592996029961299622996329964299652996629967299682996929970299712997229973299742997529976299772997829979299802998129982299832998429985299862998729988299892999029991299922999329994299952999629997299982999930000300013000230003300043000530006300073000830009300103001130012300133001430015300163001730018300193002030021300223002330024300253002630027300283002930030300313003230033300343003530036300373003830039300403004130042300433004430045300463004730048300493005030051300523005330054300553005630057300583005930060300613006230063300643006530066300673006830069300703007130072300733007430075300763007730078300793008030081300823008330084300853008630087300883008930090300913009230093300943009530096300973009830099301003010130102301033010430105301063010730108301093011030111301123011330114301153011630117301183011930120301213012230123301243012530126301273012830129301303013130132301333013430135301363013730138301393014030141301423014330144301453014630147301483014930150301513015230153301543015530156301573015830159301603016130162301633016430165301663016730168301693017030171301723017330174301753017630177301783017930180301813018230183301843018530186301873018830189301903019130192301933019430195301963019730198301993020030201302023020330204302053020630207302083020930210302113021230213302143021530216302173021830219302203022130222302233022430225302263022730228302293023030231302323023330234302353023630237302383023930240302413024230243302443024530246302473024830249302503025130252302533025430255302563025730258302593026030261302623026330264302653026630267302683026930270302713027230273302743027530276302773027830279302803028130282302833028430285302863028730288302893029030291302923029330294302953029630297302983029930300303013030230303303043030530306303073030830309303103031130312303133031430315303163031730318303193032030321303223032330324303253032630327303283032930330303313033230333303343033530336303373033830339303403034130342303433034430345303463034730348303493035030351303523035330354303553035630357303583035930360303613036230363303643036530366303673036830369303703037130372303733037430375303763037730378303793038030381303823038330384303853038630387303883038930390303913039230393303943039530396303973039830399304003040130402304033040430405304063040730408304093041030411304123041330414304153041630417304183041930420304213042230423304243042530426304273042830429304303043130432304333043430435304363043730438304393044030441304423044330444304453044630447304483044930450304513045230453304543045530456304573045830459304603046130462304633046430465304663046730468304693047030471304723047330474304753047630477304783047930480304813048230483304843048530486304873048830489304903049130492304933049430495304963049730498304993050030501305023050330504305053050630507305083050930510305113051230513305143051530516305173051830519305203052130522305233052430525305263052730528305293053030531305323053330534305353053630537305383053930540305413054230543305443054530546305473054830549305503055130552305533055430555305563055730558305593056030561305623056330564305653056630567305683056930570305713057230573305743057530576305773057830579305803058130582305833058430585305863058730588305893059030591305923059330594305953059630597305983059930600306013060230603306043060530606306073060830609306103061130612306133061430615306163061730618306193062030621306223062330624306253062630627306283062930630306313063230633306343063530636306373063830639306403064130642306433064430645306463064730648306493065030651306523065330654306553065630657306583065930660306613066230663306643066530666306673066830669306703067130672306733067430675306763067730678306793068030681306823068330684306853068630687306883068930690306913069230693306943069530696306973069830699307003070130702307033070430705307063070730708307093071030711307123071330714307153071630717307183071930720307213072230723307243072530726307273072830729307303073130732307333073430735307363073730738307393074030741307423074330744307453074630747307483074930750307513075230753307543075530756307573075830759307603076130762307633076430765307663076730768307693077030771307723077330774307753077630777307783077930780307813078230783307843078530786307873078830789307903079130792307933079430795307963079730798307993080030801308023080330804308053080630807308083080930810308113081230813308143081530816308173081830819308203082130822308233082430825308263082730828308293083030831308323083330834308353083630837308383083930840308413084230843308443084530846308473084830849308503085130852308533085430855308563085730858308593086030861308623086330864308653086630867308683086930870308713087230873308743087530876308773087830879308803088130882308833088430885308863088730888308893089030891308923089330894308953089630897308983089930900309013090230903309043090530906309073090830909309103091130912309133091430915309163091730918309193092030921309223092330924309253092630927309283092930930309313093230933309343093530936309373093830939309403094130942309433094430945309463094730948309493095030951309523095330954309553095630957309583095930960309613096230963309643096530966309673096830969309703097130972309733097430975309763097730978309793098030981309823098330984309853098630987309883098930990309913099230993309943099530996309973099830999310003100131002310033100431005310063100731008310093101031011310123101331014310153101631017310183101931020310213102231023310243102531026310273102831029310303103131032310333103431035310363103731038310393104031041310423104331044310453104631047310483104931050310513105231053310543105531056310573105831059310603106131062310633106431065310663106731068310693107031071310723107331074310753107631077310783107931080310813108231083310843108531086310873108831089310903109131092310933109431095310963109731098310993110031101311023110331104311053110631107311083110931110311113111231113311143111531116311173111831119311203112131122311233112431125311263112731128311293113031131311323113331134311353113631137311383113931140311413114231143311443114531146311473114831149311503115131152311533115431155311563115731158311593116031161311623116331164311653116631167311683116931170311713117231173311743117531176311773117831179311803118131182311833118431185311863118731188311893119031191311923119331194311953119631197311983119931200312013120231203312043120531206312073120831209312103121131212312133121431215312163121731218312193122031221312223122331224312253122631227312283122931230312313123231233312343123531236312373123831239312403124131242312433124431245312463124731248312493125031251312523125331254312553125631257312583125931260312613126231263312643126531266312673126831269312703127131272312733127431275312763127731278312793128031281312823128331284312853128631287312883128931290312913129231293312943129531296312973129831299313003130131302313033130431305313063130731308313093131031311313123131331314313153131631317313183131931320313213132231323313243132531326313273132831329313303133131332313333133431335313363133731338313393134031341313423134331344313453134631347313483134931350313513135231353313543135531356313573135831359313603136131362313633136431365313663136731368313693137031371313723137331374313753137631377313783137931380313813138231383313843138531386313873138831389313903139131392313933139431395313963139731398313993140031401314023140331404314053140631407314083140931410314113141231413314143141531416314173141831419314203142131422314233142431425314263142731428314293143031431314323143331434314353143631437314383143931440314413144231443314443144531446314473144831449314503145131452314533145431455314563145731458314593146031461314623146331464314653146631467314683146931470314713147231473314743147531476314773147831479314803148131482314833148431485314863148731488314893149031491314923149331494314953149631497314983149931500315013150231503315043150531506315073150831509315103151131512315133151431515315163151731518315193152031521315223152331524315253152631527315283152931530315313153231533315343153531536315373153831539315403154131542315433154431545315463154731548315493155031551315523155331554315553155631557315583155931560315613156231563315643156531566315673156831569315703157131572315733157431575315763157731578315793158031581315823158331584315853158631587315883158931590315913159231593315943159531596315973159831599316003160131602316033160431605316063160731608316093161031611316123161331614316153161631617316183161931620316213162231623316243162531626316273162831629316303163131632316333163431635316363163731638316393164031641316423164331644316453164631647316483164931650316513165231653316543165531656316573165831659316603166131662316633166431665316663166731668316693167031671316723167331674316753167631677316783167931680316813168231683316843168531686316873168831689316903169131692316933169431695316963169731698316993170031701317023170331704317053170631707317083170931710317113171231713317143171531716317173171831719317203172131722317233172431725317263172731728317293173031731317323173331734317353173631737317383173931740317413174231743317443174531746317473174831749317503175131752317533175431755317563175731758317593176031761317623176331764317653176631767317683176931770317713177231773317743177531776317773177831779317803178131782317833178431785317863178731788317893179031791317923179331794317953179631797317983179931800318013180231803318043180531806318073180831809318103181131812318133181431815318163181731818318193182031821318223182331824318253182631827318283182931830318313183231833318343183531836318373183831839318403184131842318433184431845318463184731848318493185031851318523185331854318553185631857318583185931860318613186231863318643186531866318673186831869318703187131872318733187431875318763187731878318793188031881318823188331884318853188631887318883188931890318913189231893318943189531896318973189831899319003190131902319033190431905319063190731908319093191031911319123191331914319153191631917319183191931920319213192231923319243192531926319273192831929319303193131932319333193431935319363193731938319393194031941319423194331944319453194631947319483194931950319513195231953319543195531956319573195831959319603196131962319633196431965319663196731968319693197031971319723197331974319753197631977319783197931980319813198231983319843198531986319873198831989319903199131992319933199431995319963199731998319993200032001320023200332004320053200632007320083200932010320113201232013320143201532016320173201832019320203202132022320233202432025320263202732028320293203032031320323203332034320353203632037320383203932040320413204232043320443204532046320473204832049320503205132052320533205432055320563205732058320593206032061320623206332064320653206632067320683206932070320713207232073320743207532076320773207832079320803208132082320833208432085320863208732088320893209032091320923209332094320953209632097320983209932100321013210232103321043210532106321073210832109321103211132112321133211432115321163211732118321193212032121321223212332124321253212632127321283212932130321313213232133321343213532136321373213832139321403214132142321433214432145321463214732148321493215032151321523215332154321553215632157321583215932160321613216232163321643216532166321673216832169321703217132172321733217432175321763217732178321793218032181321823218332184321853218632187321883218932190321913219232193321943219532196321973219832199322003220132202322033220432205322063220732208322093221032211322123221332214322153221632217322183221932220322213222232223322243222532226322273222832229322303223132232322333223432235322363223732238322393224032241322423224332244322453224632247322483224932250322513225232253322543225532256322573225832259322603226132262322633226432265322663226732268322693227032271322723227332274322753227632277322783227932280322813228232283322843228532286322873228832289322903229132292322933229432295322963229732298322993230032301323023230332304323053230632307323083230932310323113231232313323143231532316323173231832319323203232132322323233232432325323263232732328323293233032331323323233332334323353233632337323383233932340323413234232343323443234532346323473234832349323503235132352323533235432355323563235732358323593236032361323623236332364323653236632367323683236932370323713237232373323743237532376323773237832379323803238132382323833238432385323863238732388323893239032391323923239332394323953239632397323983239932400324013240232403324043240532406324073240832409324103241132412324133241432415324163241732418324193242032421324223242332424324253242632427324283242932430324313243232433324343243532436324373243832439324403244132442324433244432445324463244732448324493245032451324523245332454324553245632457324583245932460324613246232463324643246532466324673246832469324703247132472324733247432475324763247732478324793248032481324823248332484324853248632487324883248932490324913249232493324943249532496324973249832499325003250132502325033250432505325063250732508325093251032511325123251332514325153251632517325183251932520325213252232523325243252532526325273252832529325303253132532325333253432535325363253732538325393254032541325423254332544325453254632547325483254932550325513255232553325543255532556325573255832559325603256132562325633256432565325663256732568325693257032571325723257332574325753257632577325783257932580325813258232583325843258532586325873258832589325903259132592325933259432595325963259732598325993260032601326023260332604326053260632607326083260932610326113261232613326143261532616326173261832619326203262132622326233262432625326263262732628326293263032631326323263332634326353263632637326383263932640326413264232643326443264532646326473264832649326503265132652326533265432655326563265732658326593266032661326623266332664326653266632667326683266932670326713267232673326743267532676326773267832679326803268132682326833268432685326863268732688326893269032691326923269332694326953269632697326983269932700327013270232703327043270532706327073270832709327103271132712327133271432715327163271732718327193272032721327223272332724327253272632727327283272932730327313273232733327343273532736327373273832739327403274132742327433274432745327463274732748327493275032751327523275332754327553275632757327583275932760327613276232763327643276532766327673276832769327703277132772327733277432775327763277732778327793278032781327823278332784327853278632787327883278932790327913279232793327943279532796327973279832799328003280132802328033280432805328063280732808328093281032811328123281332814328153281632817328183281932820328213282232823328243282532826328273282832829328303283132832328333283432835328363283732838328393284032841328423284332844328453284632847328483284932850328513285232853328543285532856328573285832859328603286132862328633286432865328663286732868328693287032871328723287332874328753287632877328783287932880328813288232883328843288532886328873288832889328903289132892328933289432895328963289732898328993290032901329023290332904329053290632907329083290932910329113291232913329143291532916329173291832919329203292132922329233292432925329263292732928329293293032931329323293332934329353293632937329383293932940329413294232943329443294532946329473294832949329503295132952329533295432955329563295732958329593296032961329623296332964329653296632967329683296932970329713297232973329743297532976329773297832979329803298132982329833298432985329863298732988329893299032991329923299332994329953299632997329983299933000330013300233003330043300533006330073300833009330103301133012330133301433015330163301733018330193302033021330223302333024330253302633027330283302933030330313303233033330343303533036330373303833039330403304133042330433304433045330463304733048330493305033051330523305333054330553305633057330583305933060330613306233063330643306533066330673306833069330703307133072330733307433075330763307733078330793308033081330823308333084330853308633087330883308933090330913309233093330943309533096330973309833099331003310133102331033310433105331063310733108331093311033111331123311333114331153311633117331183311933120331213312233123331243312533126331273312833129331303313133132331333313433135331363313733138331393314033141331423314333144331453314633147331483314933150331513315233153331543315533156331573315833159331603316133162331633316433165331663316733168331693317033171331723317333174331753317633177331783317933180331813318233183331843318533186331873318833189331903319133192331933319433195331963319733198331993320033201332023320333204332053320633207332083320933210332113321233213332143321533216332173321833219332203322133222332233322433225332263322733228332293323033231332323323333234332353323633237332383323933240332413324233243332443324533246332473324833249332503325133252332533325433255332563325733258332593326033261332623326333264332653326633267332683326933270332713327233273332743327533276332773327833279332803328133282332833328433285332863328733288332893329033291332923329333294332953329633297332983329933300333013330233303333043330533306333073330833309333103331133312333133331433315333163331733318333193332033321333223332333324333253332633327333283332933330333313333233333333343333533336333373333833339333403334133342333433334433345333463334733348333493335033351333523335333354333553335633357333583335933360333613336233363333643336533366333673336833369333703337133372333733337433375333763337733378333793338033381333823338333384333853338633387333883338933390333913339233393333943339533396333973339833399334003340133402334033340433405334063340733408334093341033411334123341333414334153341633417334183341933420334213342233423334243342533426334273342833429334303343133432334333343433435334363343733438334393344033441334423344333444334453344633447334483344933450334513345233453334543345533456334573345833459334603346133462334633346433465334663346733468334693347033471334723347333474334753347633477334783347933480334813348233483334843348533486334873348833489334903349133492334933349433495334963349733498334993350033501335023350333504335053350633507335083350933510335113351233513335143351533516335173351833519335203352133522335233352433525335263352733528335293353033531335323353333534335353353633537335383353933540335413354233543335443354533546335473354833549335503355133552335533355433555335563355733558335593356033561335623356333564335653356633567335683356933570335713357233573335743357533576335773357833579335803358133582335833358433585335863358733588335893359033591335923359333594335953359633597335983359933600336013360233603336043360533606336073360833609336103361133612336133361433615336163361733618336193362033621336223362333624336253362633627336283362933630336313363233633336343363533636336373363833639336403364133642336433364433645336463364733648336493365033651336523365333654336553365633657336583365933660336613366233663336643366533666336673366833669336703367133672336733367433675336763367733678336793368033681336823368333684336853368633687336883368933690336913369233693336943369533696336973369833699337003370133702337033370433705337063370733708337093371033711337123371333714337153371633717337183371933720337213372233723337243372533726337273372833729337303373133732337333373433735337363373733738337393374033741337423374333744337453374633747337483374933750337513375233753337543375533756337573375833759337603376133762337633376433765337663376733768337693377033771337723377333774337753377633777337783377933780337813378233783337843378533786337873378833789337903379133792337933379433795337963379733798337993380033801338023380333804338053380633807338083380933810338113381233813338143381533816338173381833819338203382133822338233382433825338263382733828338293383033831338323383333834338353383633837338383383933840338413384233843338443384533846338473384833849338503385133852338533385433855338563385733858338593386033861338623386333864338653386633867338683386933870338713387233873338743387533876338773387833879338803388133882338833388433885338863388733888338893389033891338923389333894338953389633897338983389933900339013390233903339043390533906339073390833909339103391133912339133391433915339163391733918339193392033921339223392333924339253392633927339283392933930339313393233933339343393533936339373393833939339403394133942339433394433945339463394733948339493395033951339523395333954339553395633957339583395933960339613396233963339643396533966339673396833969339703397133972339733397433975339763397733978339793398033981339823398333984339853398633987339883398933990339913399233993339943399533996339973399833999340003400134002340033400434005340063400734008340093401034011340123401334014340153401634017340183401934020340213402234023340243402534026340273402834029340303403134032340333403434035340363403734038340393404034041340423404334044340453404634047340483404934050340513405234053340543405534056340573405834059340603406134062340633406434065340663406734068340693407034071340723407334074340753407634077340783407934080340813408234083340843408534086340873408834089340903409134092340933409434095340963409734098340993410034101341023410334104341053410634107341083410934110341113411234113341143411534116341173411834119341203412134122341233412434125341263412734128341293413034131341323413334134341353413634137341383413934140341413414234143341443414534146341473414834149341503415134152341533415434155341563415734158341593416034161341623416334164341653416634167341683416934170341713417234173341743417534176341773417834179341803418134182341833418434185341863418734188341893419034191341923419334194341953419634197341983419934200342013420234203342043420534206342073420834209342103421134212342133421434215342163421734218342193422034221342223422334224342253422634227342283422934230342313423234233342343423534236342373423834239342403424134242342433424434245342463424734248342493425034251342523425334254342553425634257342583425934260342613426234263342643426534266342673426834269342703427134272342733427434275342763427734278342793428034281342823428334284342853428634287342883428934290342913429234293342943429534296342973429834299343003430134302343033430434305343063430734308343093431034311343123431334314343153431634317343183431934320343213432234323343243432534326343273432834329343303433134332343333433434335343363433734338343393434034341343423434334344343453434634347343483434934350343513435234353343543435534356343573435834359343603436134362343633436434365343663436734368343693437034371343723437334374343753437634377343783437934380343813438234383343843438534386343873438834389343903439134392343933439434395343963439734398343993440034401344023440334404344053440634407344083440934410344113441234413344143441534416344173441834419344203442134422344233442434425344263442734428344293443034431344323443334434344353443634437344383443934440344413444234443344443444534446344473444834449344503445134452344533445434455344563445734458344593446034461344623446334464344653446634467344683446934470344713447234473344743447534476344773447834479344803448134482344833448434485344863448734488344893449034491344923449334494344953449634497344983449934500345013450234503345043450534506345073450834509345103451134512345133451434515345163451734518345193452034521345223452334524345253452634527345283452934530345313453234533345343453534536345373453834539345403454134542345433454434545345463454734548345493455034551345523455334554345553455634557345583455934560345613456234563345643456534566345673456834569345703457134572345733457434575345763457734578345793458034581345823458334584345853458634587345883458934590345913459234593345943459534596345973459834599346003460134602346033460434605346063460734608346093461034611346123461334614346153461634617346183461934620346213462234623346243462534626346273462834629346303463134632346333463434635346363463734638346393464034641346423464334644346453464634647346483464934650346513465234653346543465534656346573465834659346603466134662346633466434665346663466734668346693467034671346723467334674346753467634677346783467934680346813468234683346843468534686346873468834689346903469134692346933469434695346963469734698346993470034701347023470334704347053470634707347083470934710347113471234713347143471534716347173471834719347203472134722347233472434725347263472734728347293473034731347323473334734347353473634737347383473934740347413474234743347443474534746347473474834749347503475134752347533475434755347563475734758347593476034761347623476334764347653476634767347683476934770347713477234773347743477534776347773477834779347803478134782347833478434785347863478734788347893479034791347923479334794347953479634797347983479934800348013480234803348043480534806348073480834809348103481134812348133481434815348163481734818348193482034821348223482334824348253482634827348283482934830348313483234833348343483534836348373483834839348403484134842348433484434845348463484734848348493485034851348523485334854348553485634857348583485934860348613486234863348643486534866348673486834869348703487134872348733487434875348763487734878348793488034881348823488334884348853488634887348883488934890348913489234893348943489534896348973489834899349003490134902349033490434905349063490734908349093491034911349123491334914349153491634917349183491934920349213492234923349243492534926349273492834929349303493134932349333493434935349363493734938349393494034941349423494334944349453494634947349483494934950349513495234953349543495534956349573495834959349603496134962349633496434965349663496734968349693497034971349723497334974349753497634977349783497934980349813498234983349843498534986349873498834989349903499134992349933499434995349963499734998349993500035001350023500335004350053500635007350083500935010350113501235013350143501535016350173501835019350203502135022350233502435025350263502735028350293503035031350323503335034350353503635037350383503935040350413504235043350443504535046350473504835049350503505135052350533505435055350563505735058350593506035061350623506335064350653506635067350683506935070350713507235073350743507535076350773507835079350803508135082350833508435085350863508735088350893509035091350923509335094350953509635097350983509935100351013510235103351043510535106351073510835109351103511135112351133511435115351163511735118351193512035121351223512335124351253512635127351283512935130351313513235133351343513535136351373513835139351403514135142351433514435145351463514735148351493515035151351523515335154351553515635157351583515935160351613516235163351643516535166351673516835169351703517135172351733517435175351763517735178351793518035181351823518335184351853518635187351883518935190351913519235193351943519535196351973519835199352003520135202352033520435205352063520735208352093521035211352123521335214352153521635217352183521935220352213522235223352243522535226352273522835229352303523135232352333523435235352363523735238352393524035241352423524335244352453524635247352483524935250352513525235253352543525535256352573525835259352603526135262352633526435265352663526735268352693527035271352723527335274352753527635277352783527935280352813528235283352843528535286352873528835289352903529135292352933529435295352963529735298352993530035301353023530335304353053530635307353083530935310353113531235313353143531535316353173531835319353203532135322353233532435325353263532735328353293533035331353323533335334353353533635337353383533935340353413534235343353443534535346353473534835349353503535135352353533535435355353563535735358353593536035361353623536335364353653536635367353683536935370353713537235373353743537535376353773537835379353803538135382353833538435385353863538735388353893539035391353923539335394353953539635397353983539935400354013540235403354043540535406354073540835409354103541135412354133541435415354163541735418354193542035421354223542335424354253542635427354283542935430354313543235433354343543535436354373543835439354403544135442354433544435445354463544735448354493545035451354523545335454354553545635457354583545935460354613546235463354643546535466354673546835469354703547135472354733547435475354763547735478354793548035481354823548335484354853548635487354883548935490354913549235493354943549535496354973549835499355003550135502355033550435505355063550735508355093551035511355123551335514355153551635517355183551935520355213552235523355243552535526355273552835529355303553135532355333553435535355363553735538355393554035541355423554335544355453554635547355483554935550355513555235553355543555535556355573555835559355603556135562355633556435565355663556735568355693557035571355723557335574355753557635577355783557935580355813558235583355843558535586355873558835589355903559135592355933559435595355963559735598355993560035601356023560335604356053560635607356083560935610356113561235613356143561535616356173561835619356203562135622356233562435625356263562735628356293563035631356323563335634356353563635637356383563935640356413564235643356443564535646356473564835649356503565135652356533565435655356563565735658356593566035661356623566335664356653566635667356683566935670356713567235673356743567535676356773567835679356803568135682356833568435685356863568735688356893569035691356923569335694356953569635697356983569935700357013570235703357043570535706357073570835709357103571135712357133571435715357163571735718357193572035721357223572335724357253572635727357283572935730357313573235733357343573535736357373573835739357403574135742357433574435745357463574735748357493575035751357523575335754357553575635757357583575935760357613576235763357643576535766357673576835769357703577135772357733577435775357763577735778357793578035781357823578335784357853578635787357883578935790357913579235793357943579535796357973579835799358003580135802358033580435805358063580735808358093581035811358123581335814358153581635817358183581935820358213582235823358243582535826358273582835829358303583135832358333583435835358363583735838358393584035841358423584335844358453584635847358483584935850358513585235853358543585535856358573585835859358603586135862358633586435865358663586735868358693587035871358723587335874358753587635877358783587935880358813588235883358843588535886358873588835889358903589135892358933589435895358963589735898358993590035901359023590335904359053590635907359083590935910359113591235913359143591535916359173591835919359203592135922359233592435925359263592735928359293593035931359323593335934359353593635937359383593935940359413594235943359443594535946359473594835949359503595135952359533595435955359563595735958359593596035961359623596335964359653596635967359683596935970359713597235973359743597535976359773597835979359803598135982359833598435985359863598735988359893599035991359923599335994359953599635997359983599936000360013600236003360043600536006360073600836009360103601136012360133601436015360163601736018360193602036021360223602336024360253602636027360283602936030360313603236033360343603536036360373603836039360403604136042360433604436045360463604736048360493605036051360523605336054360553605636057360583605936060360613606236063360643606536066360673606836069360703607136072360733607436075360763607736078360793608036081360823608336084360853608636087360883608936090360913609236093360943609536096360973609836099361003610136102361033610436105361063610736108361093611036111361123611336114361153611636117361183611936120361213612236123361243612536126361273612836129361303613136132361333613436135361363613736138361393614036141361423614336144361453614636147361483614936150361513615236153361543615536156361573615836159361603616136162361633616436165361663616736168361693617036171361723617336174361753617636177361783617936180361813618236183361843618536186361873618836189361903619136192361933619436195361963619736198361993620036201362023620336204362053620636207362083620936210362113621236213362143621536216362173621836219362203622136222362233622436225362263622736228362293623036231362323623336234362353623636237362383623936240362413624236243362443624536246362473624836249362503625136252362533625436255362563625736258362593626036261362623626336264362653626636267362683626936270362713627236273362743627536276362773627836279362803628136282362833628436285362863628736288362893629036291362923629336294362953629636297362983629936300363013630236303363043630536306363073630836309363103631136312363133631436315363163631736318363193632036321363223632336324363253632636327363283632936330363313633236333363343633536336363373633836339363403634136342363433634436345363463634736348363493635036351363523635336354363553635636357363583635936360363613636236363363643636536366363673636836369363703637136372363733637436375363763637736378363793638036381363823638336384363853638636387363883638936390363913639236393363943639536396363973639836399364003640136402364033640436405364063640736408364093641036411364123641336414364153641636417364183641936420364213642236423364243642536426364273642836429364303643136432364333643436435364363643736438364393644036441364423644336444364453644636447364483644936450364513645236453364543645536456364573645836459364603646136462364633646436465364663646736468364693647036471364723647336474364753647636477364783647936480364813648236483364843648536486364873648836489364903649136492364933649436495364963649736498364993650036501365023650336504365053650636507365083650936510365113651236513365143651536516365173651836519365203652136522365233652436525365263652736528365293653036531365323653336534365353653636537365383653936540365413654236543365443654536546365473654836549365503655136552365533655436555365563655736558365593656036561365623656336564365653656636567365683656936570365713657236573365743657536576365773657836579365803658136582365833658436585365863658736588365893659036591365923659336594365953659636597365983659936600366013660236603366043660536606366073660836609366103661136612366133661436615366163661736618366193662036621366223662336624366253662636627366283662936630366313663236633366343663536636366373663836639366403664136642366433664436645366463664736648366493665036651366523665336654366553665636657366583665936660366613666236663366643666536666366673666836669366703667136672366733667436675366763667736678366793668036681366823668336684366853668636687366883668936690366913669236693366943669536696366973669836699367003670136702367033670436705367063670736708367093671036711367123671336714367153671636717367183671936720367213672236723367243672536726367273672836729367303673136732367333673436735367363673736738367393674036741367423674336744367453674636747367483674936750367513675236753367543675536756367573675836759367603676136762367633676436765367663676736768367693677036771367723677336774367753677636777367783677936780367813678236783367843678536786367873678836789367903679136792367933679436795367963679736798367993680036801368023680336804368053680636807368083680936810368113681236813368143681536816368173681836819368203682136822368233682436825368263682736828368293683036831368323683336834368353683636837368383683936840368413684236843368443684536846368473684836849368503685136852368533685436855368563685736858368593686036861368623686336864368653686636867368683686936870368713687236873368743687536876368773687836879368803688136882368833688436885368863688736888368893689036891368923689336894368953689636897368983689936900369013690236903369043690536906369073690836909369103691136912369133691436915369163691736918369193692036921369223692336924369253692636927369283692936930369313693236933369343693536936369373693836939369403694136942369433694436945369463694736948369493695036951369523695336954369553695636957369583695936960369613696236963369643696536966369673696836969369703697136972369733697436975369763697736978369793698036981369823698336984369853698636987369883698936990369913699236993369943699536996369973699836999370003700137002370033700437005370063700737008370093701037011370123701337014370153701637017370183701937020370213702237023370243702537026370273702837029370303703137032370333703437035370363703737038370393704037041370423704337044370453704637047370483704937050370513705237053370543705537056370573705837059370603706137062370633706437065370663706737068370693707037071370723707337074370753707637077370783707937080370813708237083370843708537086370873708837089370903709137092370933709437095370963709737098370993710037101371023710337104371053710637107371083710937110371113711237113371143711537116371173711837119371203712137122371233712437125371263712737128371293713037131371323713337134371353713637137371383713937140371413714237143371443714537146371473714837149371503715137152371533715437155371563715737158371593716037161371623716337164371653716637167371683716937170371713717237173371743717537176371773717837179371803718137182371833718437185371863718737188371893719037191371923719337194371953719637197371983719937200372013720237203372043720537206372073720837209372103721137212372133721437215372163721737218372193722037221372223722337224372253722637227372283722937230372313723237233372343723537236372373723837239372403724137242372433724437245372463724737248372493725037251372523725337254372553725637257372583725937260372613726237263372643726537266372673726837269372703727137272372733727437275372763727737278372793728037281372823728337284372853728637287372883728937290372913729237293372943729537296372973729837299373003730137302373033730437305373063730737308373093731037311373123731337314373153731637317373183731937320373213732237323373243732537326373273732837329373303733137332373333733437335373363733737338373393734037341373423734337344373453734637347373483734937350373513735237353373543735537356373573735837359373603736137362373633736437365373663736737368373693737037371373723737337374373753737637377373783737937380373813738237383373843738537386373873738837389373903739137392373933739437395373963739737398373993740037401374023740337404374053740637407374083740937410374113741237413374143741537416374173741837419374203742137422374233742437425374263742737428374293743037431374323743337434374353743637437374383743937440374413744237443374443744537446374473744837449374503745137452374533745437455374563745737458374593746037461374623746337464374653746637467374683746937470374713747237473374743747537476374773747837479374803748137482374833748437485374863748737488374893749037491374923749337494374953749637497374983749937500375013750237503375043750537506375073750837509375103751137512375133751437515375163751737518375193752037521375223752337524375253752637527375283752937530375313753237533375343753537536375373753837539375403754137542375433754437545375463754737548375493755037551375523755337554375553755637557375583755937560375613756237563375643756537566375673756837569375703757137572375733757437575375763757737578375793758037581375823758337584375853758637587375883758937590375913759237593375943759537596375973759837599376003760137602376033760437605376063760737608376093761037611376123761337614376153761637617376183761937620376213762237623376243762537626376273762837629376303763137632376333763437635376363763737638376393764037641376423764337644376453764637647376483764937650376513765237653376543765537656376573765837659376603766137662376633766437665376663766737668376693767037671376723767337674376753767637677376783767937680376813768237683376843768537686376873768837689376903769137692376933769437695376963769737698376993770037701377023770337704377053770637707377083770937710377113771237713377143771537716377173771837719377203772137722377233772437725377263772737728377293773037731377323773337734377353773637737377383773937740377413774237743377443774537746377473774837749377503775137752377533775437755377563775737758377593776037761377623776337764377653776637767377683776937770377713777237773377743777537776377773777837779377803778137782377833778437785377863778737788377893779037791377923779337794377953779637797377983779937800378013780237803378043780537806378073780837809378103781137812378133781437815378163781737818378193782037821378223782337824378253782637827378283782937830378313783237833378343783537836378373783837839378403784137842378433784437845378463784737848378493785037851378523785337854378553785637857378583785937860378613786237863378643786537866378673786837869378703787137872378733787437875378763787737878378793788037881378823788337884378853788637887378883788937890378913789237893378943789537896378973789837899379003790137902379033790437905379063790737908379093791037911379123791337914379153791637917379183791937920379213792237923379243792537926379273792837929379303793137932379333793437935379363793737938379393794037941379423794337944379453794637947379483794937950379513795237953379543795537956379573795837959379603796137962379633796437965379663796737968379693797037971379723797337974379753797637977379783797937980379813798237983379843798537986379873798837989379903799137992379933799437995379963799737998379993800038001380023800338004380053800638007380083800938010380113801238013380143801538016380173801838019380203802138022380233802438025380263802738028380293803038031380323803338034380353803638037380383803938040380413804238043380443804538046380473804838049380503805138052380533805438055380563805738058380593806038061380623806338064380653806638067380683806938070380713807238073380743807538076380773807838079380803808138082380833808438085380863808738088380893809038091380923809338094380953809638097380983809938100381013810238103381043810538106381073810838109381103811138112381133811438115381163811738118381193812038121381223812338124381253812638127381283812938130381313813238133381343813538136381373813838139381403814138142381433814438145381463814738148381493815038151381523815338154381553815638157381583815938160381613816238163381643816538166381673816838169381703817138172381733817438175381763817738178381793818038181381823818338184381853818638187381883818938190381913819238193381943819538196381973819838199382003820138202382033820438205382063820738208382093821038211382123821338214382153821638217382183821938220382213822238223382243822538226382273822838229382303823138232382333823438235382363823738238382393824038241382423824338244382453824638247382483824938250382513825238253382543825538256382573825838259382603826138262382633826438265382663826738268382693827038271382723827338274382753827638277382783827938280382813828238283382843828538286382873828838289382903829138292382933829438295382963829738298382993830038301383023830338304383053830638307383083830938310383113831238313383143831538316383173831838319383203832138322383233832438325383263832738328383293833038331383323833338334383353833638337383383833938340383413834238343383443834538346383473834838349383503835138352383533835438355383563835738358383593836038361383623836338364383653836638367383683836938370383713837238373383743837538376383773837838379383803838138382383833838438385383863838738388383893839038391383923839338394383953839638397383983839938400384013840238403384043840538406384073840838409384103841138412384133841438415384163841738418384193842038421384223842338424384253842638427384283842938430384313843238433384343843538436384373843838439384403844138442384433844438445384463844738448384493845038451384523845338454384553845638457384583845938460384613846238463384643846538466384673846838469384703847138472384733847438475384763847738478384793848038481384823848338484384853848638487384883848938490384913849238493384943849538496384973849838499385003850138502385033850438505385063850738508385093851038511385123851338514385153851638517385183851938520385213852238523385243852538526385273852838529385303853138532385333853438535385363853738538385393854038541385423854338544385453854638547385483854938550385513855238553385543855538556385573855838559385603856138562385633856438565385663856738568385693857038571385723857338574385753857638577385783857938580385813858238583385843858538586385873858838589385903859138592385933859438595385963859738598385993860038601386023860338604386053860638607386083860938610386113861238613386143861538616386173861838619386203862138622386233862438625386263862738628386293863038631386323863338634386353863638637386383863938640386413864238643386443864538646386473864838649386503865138652386533865438655386563865738658386593866038661386623866338664386653866638667386683866938670386713867238673386743867538676386773867838679386803868138682386833868438685386863868738688386893869038691386923869338694386953869638697386983869938700387013870238703387043870538706387073870838709387103871138712387133871438715387163871738718387193872038721387223872338724387253872638727387283872938730387313873238733387343873538736387373873838739387403874138742387433874438745387463874738748387493875038751387523875338754387553875638757387583875938760387613876238763387643876538766387673876838769387703877138772387733877438775387763877738778387793878038781387823878338784387853878638787387883878938790387913879238793387943879538796387973879838799388003880138802388033880438805388063880738808388093881038811388123881338814388153881638817388183881938820388213882238823388243882538826388273882838829388303883138832388333883438835388363883738838388393884038841388423884338844388453884638847388483884938850388513885238853388543885538856388573885838859388603886138862388633886438865388663886738868388693887038871388723887338874388753887638877388783887938880388813888238883388843888538886388873888838889388903889138892388933889438895388963889738898388993890038901389023890338904389053890638907389083890938910389113891238913389143891538916389173891838919389203892138922389233892438925389263892738928389293893038931389323893338934389353893638937389383893938940389413894238943389443894538946389473894838949389503895138952389533895438955389563895738958389593896038961389623896338964389653896638967389683896938970389713897238973389743897538976389773897838979389803898138982389833898438985389863898738988389893899038991389923899338994389953899638997389983899939000390013900239003390043900539006390073900839009390103901139012390133901439015390163901739018390193902039021390223902339024390253902639027390283902939030390313903239033390343903539036390373903839039390403904139042390433904439045390463904739048390493905039051390523905339054390553905639057390583905939060390613906239063390643906539066390673906839069390703907139072390733907439075390763907739078390793908039081390823908339084390853908639087390883908939090390913909239093390943909539096390973909839099391003910139102391033910439105391063910739108391093911039111391123911339114391153911639117391183911939120391213912239123391243912539126391273912839129391303913139132391333913439135391363913739138391393914039141391423914339144391453914639147391483914939150391513915239153391543915539156391573915839159391603916139162391633916439165391663916739168391693917039171391723917339174391753917639177391783917939180391813918239183391843918539186391873918839189391903919139192391933919439195391963919739198391993920039201392023920339204392053920639207392083920939210392113921239213392143921539216392173921839219392203922139222392233922439225392263922739228392293923039231392323923339234392353923639237392383923939240392413924239243392443924539246392473924839249392503925139252392533925439255392563925739258392593926039261392623926339264392653926639267392683926939270392713927239273392743927539276392773927839279392803928139282392833928439285392863928739288392893929039291392923929339294392953929639297392983929939300393013930239303393043930539306393073930839309393103931139312393133931439315393163931739318393193932039321393223932339324393253932639327393283932939330393313933239333393343933539336393373933839339393403934139342393433934439345393463934739348393493935039351393523935339354393553935639357393583935939360393613936239363393643936539366393673936839369393703937139372393733937439375393763937739378393793938039381393823938339384393853938639387393883938939390393913939239393393943939539396393973939839399394003940139402394033940439405394063940739408394093941039411394123941339414394153941639417394183941939420394213942239423394243942539426394273942839429394303943139432394333943439435394363943739438394393944039441394423944339444394453944639447394483944939450394513945239453394543945539456394573945839459394603946139462394633946439465394663946739468394693947039471394723947339474394753947639477394783947939480394813948239483394843948539486394873948839489394903949139492394933949439495394963949739498394993950039501395023950339504395053950639507395083950939510395113951239513395143951539516395173951839519395203952139522395233952439525395263952739528395293953039531395323953339534395353953639537395383953939540395413954239543395443954539546395473954839549395503955139552395533955439555395563955739558395593956039561395623956339564395653956639567395683956939570395713957239573395743957539576395773957839579395803958139582395833958439585395863958739588395893959039591395923959339594395953959639597395983959939600396013960239603396043960539606396073960839609396103961139612396133961439615396163961739618396193962039621396223962339624396253962639627396283962939630396313963239633396343963539636396373963839639396403964139642396433964439645396463964739648396493965039651396523965339654396553965639657396583965939660396613966239663396643966539666396673966839669396703967139672396733967439675396763967739678396793968039681396823968339684396853968639687396883968939690396913969239693396943969539696396973969839699397003970139702397033970439705397063970739708397093971039711397123971339714397153971639717397183971939720397213972239723397243972539726397273972839729397303973139732397333973439735397363973739738397393974039741397423974339744397453974639747397483974939750397513975239753397543975539756397573975839759397603976139762397633976439765397663976739768397693977039771397723977339774397753977639777397783977939780397813978239783397843978539786397873978839789397903979139792397933979439795397963979739798397993980039801398023980339804398053980639807398083980939810398113981239813398143981539816398173981839819398203982139822398233982439825398263982739828398293983039831398323983339834398353983639837398383983939840398413984239843398443984539846398473984839849398503985139852398533985439855398563985739858398593986039861398623986339864398653986639867398683986939870398713987239873398743987539876398773987839879398803988139882398833988439885398863988739888398893989039891398923989339894398953989639897398983989939900399013990239903399043990539906399073990839909399103991139912399133991439915399163991739918399193992039921399223992339924399253992639927399283992939930399313993239933399343993539936399373993839939399403994139942399433994439945399463994739948399493995039951399523995339954399553995639957399583995939960399613996239963399643996539966399673996839969399703997139972399733997439975399763997739978399793998039981399823998339984399853998639987399883998939990399913999239993399943999539996399973999839999400004000140002400034000440005400064000740008400094001040011400124001340014400154001640017400184001940020400214002240023400244002540026400274002840029400304003140032400334003440035400364003740038400394004040041400424004340044400454004640047400484004940050400514005240053400544005540056400574005840059400604006140062400634006440065400664006740068400694007040071400724007340074400754007640077400784007940080400814008240083400844008540086400874008840089400904009140092400934009440095400964009740098400994010040101401024010340104401054010640107401084010940110401114011240113401144011540116401174011840119401204012140122401234012440125401264012740128401294013040131401324013340134401354013640137401384013940140401414014240143401444014540146401474014840149401504015140152401534015440155401564015740158401594016040161401624016340164401654016640167401684016940170401714017240173401744017540176401774017840179401804018140182401834018440185401864018740188401894019040191401924019340194401954019640197401984019940200402014020240203402044020540206402074020840209402104021140212402134021440215402164021740218402194022040221402224022340224402254022640227402284022940230402314023240233402344023540236402374023840239402404024140242402434024440245402464024740248402494025040251402524025340254402554025640257402584025940260402614026240263402644026540266402674026840269402704027140272402734027440275402764027740278402794028040281402824028340284402854028640287402884028940290402914029240293402944029540296402974029840299403004030140302403034030440305403064030740308403094031040311403124031340314403154031640317403184031940320403214032240323403244032540326403274032840329403304033140332403334033440335403364033740338403394034040341403424034340344403454034640347403484034940350403514035240353403544035540356403574035840359403604036140362403634036440365403664036740368403694037040371403724037340374403754037640377403784037940380403814038240383403844038540386403874038840389403904039140392403934039440395403964039740398403994040040401404024040340404404054040640407404084040940410404114041240413404144041540416404174041840419404204042140422404234042440425404264042740428404294043040431404324043340434404354043640437404384043940440404414044240443404444044540446404474044840449404504045140452404534045440455404564045740458404594046040461404624046340464404654046640467404684046940470404714047240473404744047540476404774047840479404804048140482404834048440485404864048740488404894049040491404924049340494404954049640497404984049940500405014050240503405044050540506405074050840509405104051140512405134051440515405164051740518405194052040521405224052340524405254052640527405284052940530405314053240533405344053540536405374053840539405404054140542405434054440545405464054740548405494055040551405524055340554405554055640557405584055940560405614056240563405644056540566405674056840569405704057140572405734057440575405764057740578405794058040581405824058340584405854058640587405884058940590405914059240593405944059540596405974059840599406004060140602406034060440605406064060740608406094061040611406124061340614406154061640617406184061940620406214062240623406244062540626406274062840629406304063140632406334063440635406364063740638406394064040641406424064340644406454064640647406484064940650406514065240653406544065540656406574065840659406604066140662406634066440665406664066740668406694067040671406724067340674406754067640677406784067940680406814068240683406844068540686406874068840689406904069140692406934069440695406964069740698406994070040701407024070340704407054070640707407084070940710407114071240713407144071540716407174071840719407204072140722407234072440725407264072740728407294073040731407324073340734407354073640737407384073940740407414074240743407444074540746407474074840749407504075140752407534075440755407564075740758407594076040761407624076340764407654076640767407684076940770407714077240773407744077540776407774077840779407804078140782407834078440785407864078740788407894079040791407924079340794407954079640797407984079940800408014080240803408044080540806408074080840809408104081140812408134081440815408164081740818408194082040821408224082340824408254082640827408284082940830408314083240833408344083540836408374083840839408404084140842408434084440845408464084740848408494085040851408524085340854408554085640857408584085940860408614086240863408644086540866408674086840869408704087140872408734087440875408764087740878408794088040881408824088340884408854088640887408884088940890408914089240893408944089540896408974089840899409004090140902409034090440905409064090740908409094091040911409124091340914409154091640917409184091940920409214092240923409244092540926409274092840929409304093140932409334093440935409364093740938409394094040941409424094340944409454094640947409484094940950409514095240953409544095540956409574095840959409604096140962409634096440965409664096740968409694097040971409724097340974409754097640977409784097940980409814098240983409844098540986409874098840989409904099140992409934099440995409964099740998409994100041001410024100341004410054100641007410084100941010410114101241013410144101541016410174101841019410204102141022410234102441025410264102741028410294103041031410324103341034410354103641037410384103941040410414104241043410444104541046410474104841049410504105141052410534105441055410564105741058410594106041061410624106341064410654106641067410684106941070410714107241073410744107541076410774107841079410804108141082410834108441085410864108741088410894109041091410924109341094410954109641097410984109941100411014110241103411044110541106411074110841109411104111141112411134111441115411164111741118411194112041121411224112341124411254112641127411284112941130411314113241133411344113541136411374113841139411404114141142411434114441145411464114741148411494115041151411524115341154411554115641157411584115941160411614116241163411644116541166411674116841169411704117141172411734117441175411764117741178411794118041181411824118341184411854118641187411884118941190411914119241193411944119541196411974119841199412004120141202412034120441205412064120741208412094121041211412124121341214412154121641217412184121941220412214122241223412244122541226412274122841229412304123141232412334123441235412364123741238412394124041241412424124341244412454124641247412484124941250412514125241253412544125541256412574125841259412604126141262412634126441265412664126741268412694127041271412724127341274412754127641277412784127941280412814128241283412844128541286412874128841289412904129141292412934129441295412964129741298412994130041301413024130341304413054130641307413084130941310413114131241313413144131541316413174131841319413204132141322413234132441325413264132741328413294133041331413324133341334413354133641337413384133941340413414134241343413444134541346413474134841349413504135141352413534135441355413564135741358413594136041361413624136341364413654136641367413684136941370413714137241373413744137541376413774137841379413804138141382413834138441385413864138741388413894139041391413924139341394413954139641397413984139941400414014140241403414044140541406414074140841409414104141141412414134141441415414164141741418414194142041421414224142341424414254142641427414284142941430414314143241433414344143541436414374143841439414404144141442414434144441445414464144741448414494145041451414524145341454414554145641457414584145941460414614146241463414644146541466414674146841469414704147141472414734147441475414764147741478414794148041481414824148341484414854148641487414884148941490414914149241493414944149541496414974149841499415004150141502415034150441505415064150741508415094151041511415124151341514415154151641517415184151941520415214152241523415244152541526415274152841529415304153141532415334153441535415364153741538415394154041541415424154341544415454154641547415484154941550415514155241553415544155541556415574155841559415604156141562415634156441565415664156741568415694157041571415724157341574415754157641577415784157941580415814158241583415844158541586415874158841589415904159141592415934159441595415964159741598415994160041601416024160341604416054160641607416084160941610416114161241613416144161541616416174161841619416204162141622416234162441625416264162741628416294163041631416324163341634416354163641637416384163941640416414164241643416444164541646416474164841649416504165141652416534165441655416564165741658416594166041661416624166341664416654166641667416684166941670416714167241673416744167541676416774167841679416804168141682416834168441685416864168741688416894169041691416924169341694416954169641697416984169941700417014170241703417044170541706417074170841709417104171141712417134171441715417164171741718417194172041721417224172341724417254172641727417284172941730417314173241733417344173541736417374173841739417404174141742417434174441745417464174741748417494175041751417524175341754417554175641757417584175941760417614176241763417644176541766417674176841769417704177141772417734177441775417764177741778417794178041781417824178341784417854178641787417884178941790417914179241793417944179541796417974179841799418004180141802418034180441805418064180741808418094181041811418124181341814418154181641817418184181941820418214182241823418244182541826418274182841829418304183141832418334183441835418364183741838418394184041841418424184341844418454184641847418484184941850418514185241853418544185541856418574185841859418604186141862418634186441865418664186741868418694187041871418724187341874418754187641877418784187941880418814188241883418844188541886418874188841889418904189141892418934189441895418964189741898418994190041901419024190341904419054190641907419084190941910419114191241913419144191541916419174191841919419204192141922419234192441925419264192741928419294193041931419324193341934419354193641937419384193941940419414194241943419444194541946419474194841949419504195141952419534195441955419564195741958419594196041961419624196341964419654196641967419684196941970419714197241973419744197541976419774197841979419804198141982419834198441985419864198741988419894199041991419924199341994419954199641997419984199942000420014200242003420044200542006420074200842009420104201142012420134201442015420164201742018420194202042021420224202342024420254202642027420284202942030420314203242033420344203542036420374203842039420404204142042420434204442045420464204742048420494205042051420524205342054420554205642057420584205942060420614206242063420644206542066420674206842069420704207142072420734207442075420764207742078420794208042081420824208342084420854208642087420884208942090420914209242093420944209542096420974209842099421004210142102421034210442105421064210742108421094211042111421124211342114421154211642117421184211942120421214212242123421244212542126421274212842129421304213142132421334213442135421364213742138421394214042141421424214342144421454214642147421484214942150421514215242153421544215542156421574215842159421604216142162421634216442165421664216742168421694217042171421724217342174421754217642177421784217942180421814218242183421844218542186421874218842189421904219142192421934219442195421964219742198421994220042201422024220342204422054220642207422084220942210422114221242213422144221542216422174221842219422204222142222422234222442225422264222742228422294223042231422324223342234422354223642237422384223942240422414224242243422444224542246422474224842249422504225142252422534225442255422564225742258422594226042261422624226342264422654226642267422684226942270422714227242273422744227542276422774227842279422804228142282422834228442285422864228742288422894229042291422924229342294422954229642297422984229942300423014230242303423044230542306423074230842309423104231142312423134231442315423164231742318423194232042321423224232342324423254232642327423284232942330423314233242333423344233542336423374233842339423404234142342423434234442345423464234742348423494235042351423524235342354423554235642357423584235942360423614236242363423644236542366423674236842369423704237142372423734237442375423764237742378423794238042381423824238342384423854238642387423884238942390423914239242393423944239542396423974239842399424004240142402424034240442405424064240742408424094241042411424124241342414424154241642417424184241942420424214242242423424244242542426424274242842429424304243142432424334243442435424364243742438424394244042441424424244342444424454244642447424484244942450424514245242453424544245542456424574245842459424604246142462424634246442465424664246742468424694247042471424724247342474424754247642477424784247942480424814248242483424844248542486424874248842489424904249142492424934249442495424964249742498424994250042501425024250342504425054250642507425084250942510425114251242513425144251542516425174251842519425204252142522425234252442525425264252742528425294253042531425324253342534425354253642537425384253942540425414254242543425444254542546425474254842549425504255142552425534255442555425564255742558425594256042561425624256342564425654256642567425684256942570425714257242573425744257542576425774257842579425804258142582425834258442585425864258742588425894259042591425924259342594425954259642597425984259942600426014260242603426044260542606426074260842609426104261142612426134261442615426164261742618426194262042621426224262342624426254262642627426284262942630426314263242633426344263542636426374263842639426404264142642426434264442645426464264742648426494265042651426524265342654426554265642657426584265942660426614266242663426644266542666426674266842669426704267142672426734267442675426764267742678426794268042681426824268342684426854268642687426884268942690426914269242693426944269542696426974269842699427004270142702427034270442705427064270742708427094271042711427124271342714427154271642717427184271942720427214272242723427244272542726427274272842729427304273142732427334273442735427364273742738427394274042741427424274342744427454274642747427484274942750427514275242753427544275542756427574275842759427604276142762427634276442765427664276742768427694277042771427724277342774427754277642777427784277942780427814278242783427844278542786427874278842789427904279142792427934279442795427964279742798427994280042801428024280342804428054280642807428084280942810428114281242813428144281542816428174281842819428204282142822428234282442825428264282742828428294283042831428324283342834428354283642837428384283942840428414284242843428444284542846428474284842849428504285142852428534285442855428564285742858428594286042861428624286342864428654286642867428684286942870428714287242873428744287542876428774287842879428804288142882428834288442885428864288742888428894289042891428924289342894428954289642897428984289942900429014290242903429044290542906429074290842909429104291142912429134291442915429164291742918429194292042921429224292342924429254292642927429284292942930429314293242933429344293542936429374293842939429404294142942429434294442945429464294742948429494295042951429524295342954429554295642957429584295942960429614296242963429644296542966429674296842969429704297142972429734297442975429764297742978429794298042981429824298342984429854298642987429884298942990429914299242993429944299542996429974299842999430004300143002430034300443005430064300743008430094301043011430124301343014430154301643017430184301943020430214302243023430244302543026430274302843029430304303143032430334303443035430364303743038430394304043041430424304343044430454304643047430484304943050430514305243053430544305543056430574305843059430604306143062430634306443065430664306743068430694307043071430724307343074430754307643077430784307943080430814308243083430844308543086430874308843089430904309143092430934309443095430964309743098430994310043101431024310343104431054310643107431084310943110431114311243113431144311543116431174311843119431204312143122431234312443125431264312743128431294313043131431324313343134431354313643137431384313943140431414314243143431444314543146431474314843149431504315143152431534315443155431564315743158431594316043161431624316343164431654316643167431684316943170431714317243173431744317543176431774317843179431804318143182431834318443185431864318743188431894319043191431924319343194431954319643197431984319943200432014320243203432044320543206432074320843209432104321143212432134321443215432164321743218432194322043221432224322343224432254322643227432284322943230432314323243233432344323543236432374323843239432404324143242432434324443245432464324743248432494325043251432524325343254432554325643257432584325943260432614326243263432644326543266432674326843269432704327143272432734327443275432764327743278432794328043281432824328343284432854328643287432884328943290432914329243293432944329543296432974329843299433004330143302433034330443305433064330743308433094331043311433124331343314433154331643317433184331943320433214332243323433244332543326433274332843329433304333143332433334333443335433364333743338433394334043341433424334343344433454334643347433484334943350433514335243353433544335543356433574335843359433604336143362433634336443365433664336743368433694337043371433724337343374433754337643377433784337943380433814338243383433844338543386433874338843389433904339143392433934339443395433964339743398433994340043401434024340343404434054340643407434084340943410434114341243413434144341543416434174341843419434204342143422434234342443425434264342743428434294343043431434324343343434434354343643437434384343943440434414344243443434444344543446434474344843449434504345143452434534345443455434564345743458434594346043461434624346343464434654346643467434684346943470434714347243473434744347543476434774347843479434804348143482434834348443485434864348743488434894349043491434924349343494434954349643497434984349943500435014350243503435044350543506435074350843509435104351143512435134351443515435164351743518435194352043521435224352343524435254352643527435284352943530435314353243533435344353543536435374353843539435404354143542435434354443545435464354743548435494355043551435524355343554435554355643557435584355943560435614356243563435644356543566435674356843569435704357143572435734357443575435764357743578435794358043581435824358343584435854358643587435884358943590435914359243593435944359543596435974359843599436004360143602436034360443605436064360743608436094361043611436124361343614436154361643617436184361943620436214362243623436244362543626436274362843629436304363143632436334363443635436364363743638436394364043641436424364343644436454364643647436484364943650436514365243653436544365543656436574365843659436604366143662436634366443665436664366743668436694367043671436724367343674436754367643677436784367943680436814368243683436844368543686436874368843689436904369143692436934369443695436964369743698436994370043701437024370343704437054370643707437084370943710437114371243713437144371543716437174371843719437204372143722437234372443725437264372743728437294373043731437324373343734437354373643737437384373943740437414374243743437444374543746437474374843749437504375143752437534375443755437564375743758437594376043761437624376343764437654376643767437684376943770437714377243773437744377543776437774377843779437804378143782437834378443785437864378743788437894379043791437924379343794437954379643797437984379943800438014380243803438044380543806438074380843809438104381143812438134381443815438164381743818438194382043821438224382343824438254382643827438284382943830438314383243833438344383543836438374383843839438404384143842438434384443845438464384743848438494385043851438524385343854438554385643857438584385943860438614386243863438644386543866438674386843869438704387143872438734387443875438764387743878438794388043881438824388343884438854388643887438884388943890438914389243893438944389543896438974389843899439004390143902439034390443905439064390743908439094391043911439124391343914439154391643917439184391943920439214392243923439244392543926439274392843929439304393143932439334393443935439364393743938439394394043941439424394343944439454394643947439484394943950439514395243953439544395543956439574395843959439604396143962439634396443965439664396743968439694397043971439724397343974439754397643977439784397943980439814398243983439844398543986439874398843989439904399143992439934399443995439964399743998439994400044001440024400344004440054400644007440084400944010440114401244013440144401544016440174401844019440204402144022440234402444025440264402744028440294403044031440324403344034440354403644037440384403944040440414404244043440444404544046440474404844049440504405144052440534405444055440564405744058440594406044061440624406344064440654406644067440684406944070440714407244073440744407544076440774407844079440804408144082440834408444085440864408744088440894409044091440924409344094440954409644097440984409944100441014410244103441044410544106441074410844109441104411144112441134411444115441164411744118441194412044121441224412344124441254412644127441284412944130441314413244133441344413544136441374413844139441404414144142441434414444145441464414744148441494415044151441524415344154441554415644157441584415944160441614416244163441644416544166441674416844169441704417144172441734417444175441764417744178441794418044181441824418344184441854418644187441884418944190441914419244193441944419544196441974419844199442004420144202442034420444205442064420744208442094421044211442124421344214442154421644217442184421944220442214422244223442244422544226442274422844229442304423144232442334423444235442364423744238442394424044241442424424344244442454424644247442484424944250442514425244253442544425544256442574425844259442604426144262442634426444265442664426744268442694427044271442724427344274442754427644277442784427944280442814428244283442844428544286442874428844289442904429144292442934429444295442964429744298442994430044301443024430344304443054430644307443084430944310443114431244313443144431544316443174431844319443204432144322443234432444325443264432744328443294433044331443324433344334443354433644337443384433944340443414434244343443444434544346443474434844349443504435144352443534435444355443564435744358443594436044361443624436344364443654436644367443684436944370443714437244373443744437544376443774437844379443804438144382443834438444385443864438744388443894439044391443924439344394443954439644397443984439944400444014440244403444044440544406444074440844409444104441144412444134441444415444164441744418444194442044421444224442344424444254442644427444284442944430444314443244433444344443544436444374443844439444404444144442444434444444445444464444744448444494445044451444524445344454444554445644457444584445944460444614446244463444644446544466444674446844469444704447144472444734447444475444764447744478444794448044481444824448344484444854448644487444884448944490444914449244493444944449544496444974449844499445004450144502445034450444505445064450744508445094451044511445124451344514445154451644517445184451944520445214452244523445244452544526445274452844529445304453144532445334453444535445364453744538445394454044541445424454344544445454454644547445484454944550445514455244553445544455544556445574455844559445604456144562445634456444565445664456744568445694457044571445724457344574445754457644577445784457944580445814458244583445844458544586445874458844589445904459144592445934459444595445964459744598445994460044601446024460344604446054460644607446084460944610446114461244613446144461544616446174461844619446204462144622446234462444625446264462744628446294463044631446324463344634446354463644637446384463944640446414464244643446444464544646446474464844649446504465144652446534465444655446564465744658446594466044661446624466344664446654466644667446684466944670446714467244673446744467544676446774467844679446804468144682446834468444685446864468744688446894469044691446924469344694446954469644697446984469944700447014470244703447044470544706447074470844709447104471144712447134471444715447164471744718447194472044721447224472344724447254472644727447284472944730447314473244733447344473544736447374473844739447404474144742447434474444745447464474744748447494475044751447524475344754447554475644757447584475944760447614476244763447644476544766447674476844769447704477144772447734477444775447764477744778447794478044781447824478344784447854478644787447884478944790447914479244793447944479544796447974479844799448004480144802448034480444805448064480744808448094481044811448124481344814448154481644817448184481944820448214482244823448244482544826448274482844829448304483144832448334483444835448364483744838448394484044841448424484344844448454484644847448484484944850448514485244853448544485544856448574485844859448604486144862448634486444865448664486744868448694487044871448724487344874448754487644877448784487944880448814488244883448844488544886448874488844889448904489144892448934489444895448964489744898448994490044901449024490344904449054490644907449084490944910449114491244913449144491544916449174491844919449204492144922449234492444925449264492744928449294493044931449324493344934449354493644937449384493944940449414494244943449444494544946449474494844949449504495144952449534495444955449564495744958449594496044961449624496344964449654496644967449684496944970449714497244973449744497544976449774497844979449804498144982449834498444985449864498744988449894499044991449924499344994449954499644997449984499945000450014500245003450044500545006450074500845009450104501145012450134501445015450164501745018450194502045021450224502345024450254502645027450284502945030450314503245033450344503545036450374503845039450404504145042450434504445045450464504745048450494505045051450524505345054450554505645057450584505945060450614506245063450644506545066450674506845069450704507145072450734507445075450764507745078450794508045081450824508345084450854508645087450884508945090450914509245093450944509545096450974509845099451004510145102451034510445105451064510745108451094511045111451124511345114451154511645117451184511945120451214512245123451244512545126451274512845129451304513145132451334513445135451364513745138451394514045141451424514345144451454514645147451484514945150451514515245153451544515545156451574515845159451604516145162451634516445165451664516745168451694517045171451724517345174451754517645177451784517945180451814518245183451844518545186451874518845189451904519145192451934519445195451964519745198451994520045201452024520345204452054520645207452084520945210452114521245213452144521545216452174521845219452204522145222452234522445225452264522745228452294523045231452324523345234452354523645237452384523945240452414524245243452444524545246452474524845249452504525145252452534525445255452564525745258452594526045261452624526345264452654526645267452684526945270452714527245273452744527545276452774527845279452804528145282452834528445285452864528745288452894529045291452924529345294452954529645297452984529945300453014530245303453044530545306453074530845309453104531145312453134531445315453164531745318453194532045321453224532345324453254532645327453284532945330453314533245333453344533545336453374533845339453404534145342453434534445345453464534745348453494535045351453524535345354453554535645357453584535945360453614536245363453644536545366453674536845369453704537145372453734537445375453764537745378453794538045381453824538345384453854538645387453884538945390453914539245393453944539545396453974539845399454004540145402454034540445405454064540745408454094541045411454124541345414454154541645417454184541945420454214542245423454244542545426454274542845429454304543145432454334543445435454364543745438454394544045441454424544345444454454544645447454484544945450454514545245453454544545545456454574545845459454604546145462454634546445465454664546745468454694547045471454724547345474454754547645477454784547945480454814548245483454844548545486454874548845489454904549145492454934549445495454964549745498454994550045501455024550345504455054550645507455084550945510455114551245513455144551545516455174551845519455204552145522455234552445525455264552745528455294553045531455324553345534455354553645537455384553945540455414554245543455444554545546455474554845549455504555145552455534555445555455564555745558455594556045561455624556345564455654556645567455684556945570455714557245573455744557545576455774557845579455804558145582455834558445585455864558745588455894559045591455924559345594455954559645597455984559945600456014560245603456044560545606456074560845609456104561145612456134561445615456164561745618456194562045621456224562345624456254562645627456284562945630456314563245633456344563545636456374563845639456404564145642456434564445645456464564745648456494565045651456524565345654456554565645657456584565945660456614566245663456644566545666456674566845669456704567145672456734567445675456764567745678456794568045681456824568345684456854568645687456884568945690456914569245693456944569545696456974569845699457004570145702457034570445705457064570745708457094571045711457124571345714457154571645717457184571945720457214572245723457244572545726457274572845729457304573145732457334573445735457364573745738457394574045741457424574345744457454574645747457484574945750457514575245753457544575545756457574575845759457604576145762457634576445765457664576745768457694577045771457724577345774457754577645777457784577945780457814578245783457844578545786457874578845789457904579145792457934579445795457964579745798457994580045801458024580345804458054580645807458084580945810458114581245813458144581545816458174581845819458204582145822458234582445825458264582745828458294583045831458324583345834458354583645837458384583945840458414584245843458444584545846458474584845849458504585145852458534585445855458564585745858458594586045861458624586345864458654586645867458684586945870458714587245873458744587545876458774587845879458804588145882458834588445885458864588745888458894589045891458924589345894458954589645897458984589945900459014590245903459044590545906459074590845909459104591145912459134591445915459164591745918459194592045921459224592345924459254592645927459284592945930459314593245933459344593545936459374593845939459404594145942459434594445945459464594745948459494595045951459524595345954459554595645957459584595945960459614596245963459644596545966459674596845969459704597145972459734597445975459764597745978459794598045981459824598345984459854598645987459884598945990459914599245993459944599545996459974599845999460004600146002460034600446005460064600746008460094601046011460124601346014460154601646017460184601946020460214602246023460244602546026460274602846029460304603146032460334603446035460364603746038460394604046041460424604346044460454604646047460484604946050460514605246053460544605546056460574605846059460604606146062460634606446065460664606746068460694607046071460724607346074460754607646077460784607946080460814608246083460844608546086460874608846089460904609146092460934609446095460964609746098460994610046101461024610346104461054610646107461084610946110461114611246113461144611546116461174611846119461204612146122461234612446125461264612746128461294613046131461324613346134461354613646137461384613946140461414614246143461444614546146461474614846149461504615146152461534615446155461564615746158461594616046161461624616346164461654616646167461684616946170461714617246173461744617546176461774617846179461804618146182461834618446185461864618746188461894619046191461924619346194461954619646197461984619946200462014620246203462044620546206462074620846209462104621146212462134621446215462164621746218462194622046221462224622346224462254622646227462284622946230462314623246233462344623546236462374623846239462404624146242462434624446245462464624746248462494625046251462524625346254462554625646257462584625946260462614626246263462644626546266462674626846269462704627146272462734627446275462764627746278462794628046281462824628346284462854628646287462884628946290462914629246293462944629546296462974629846299463004630146302463034630446305463064630746308463094631046311463124631346314463154631646317463184631946320463214632246323463244632546326463274632846329463304633146332463334633446335463364633746338463394634046341463424634346344463454634646347463484634946350463514635246353463544635546356463574635846359463604636146362463634636446365463664636746368463694637046371463724637346374463754637646377463784637946380463814638246383463844638546386463874638846389463904639146392463934639446395463964639746398463994640046401464024640346404464054640646407464084640946410464114641246413464144641546416464174641846419464204642146422464234642446425464264642746428464294643046431464324643346434464354643646437464384643946440464414644246443464444644546446464474644846449464504645146452464534645446455464564645746458464594646046461464624646346464464654646646467464684646946470464714647246473464744647546476464774647846479464804648146482464834648446485464864648746488464894649046491464924649346494464954649646497464984649946500465014650246503465044650546506465074650846509465104651146512465134651446515465164651746518465194652046521465224652346524465254652646527465284652946530465314653246533465344653546536465374653846539465404654146542465434654446545465464654746548465494655046551465524655346554465554655646557465584655946560465614656246563465644656546566465674656846569465704657146572465734657446575465764657746578465794658046581465824658346584465854658646587465884658946590465914659246593465944659546596465974659846599466004660146602466034660446605466064660746608466094661046611466124661346614466154661646617466184661946620466214662246623466244662546626466274662846629466304663146632466334663446635466364663746638466394664046641466424664346644466454664646647466484664946650466514665246653466544665546656466574665846659466604666146662466634666446665466664666746668466694667046671466724667346674466754667646677466784667946680466814668246683466844668546686466874668846689466904669146692466934669446695466964669746698466994670046701467024670346704467054670646707467084670946710467114671246713467144671546716467174671846719467204672146722467234672446725467264672746728467294673046731467324673346734467354673646737467384673946740467414674246743467444674546746467474674846749467504675146752467534675446755467564675746758467594676046761467624676346764467654676646767467684676946770467714677246773467744677546776467774677846779467804678146782467834678446785467864678746788467894679046791467924679346794467954679646797467984679946800468014680246803468044680546806468074680846809468104681146812468134681446815468164681746818468194682046821468224682346824468254682646827468284682946830468314683246833468344683546836468374683846839468404684146842468434684446845468464684746848468494685046851468524685346854468554685646857468584685946860468614686246863468644686546866468674686846869468704687146872468734687446875468764687746878468794688046881468824688346884468854688646887468884688946890468914689246893468944689546896468974689846899469004690146902469034690446905469064690746908469094691046911469124691346914469154691646917469184691946920469214692246923469244692546926469274692846929469304693146932469334693446935469364693746938469394694046941469424694346944469454694646947469484694946950469514695246953469544695546956469574695846959469604696146962469634696446965469664696746968469694697046971469724697346974469754697646977469784697946980469814698246983469844698546986469874698846989469904699146992469934699446995469964699746998469994700047001470024700347004470054700647007470084700947010470114701247013470144701547016470174701847019470204702147022470234702447025470264702747028470294703047031470324703347034470354703647037470384703947040470414704247043470444704547046470474704847049470504705147052470534705447055470564705747058470594706047061470624706347064470654706647067470684706947070470714707247073470744707547076470774707847079470804708147082470834708447085470864708747088470894709047091470924709347094470954709647097470984709947100471014710247103471044710547106471074710847109471104711147112471134711447115471164711747118471194712047121471224712347124471254712647127471284712947130471314713247133471344713547136471374713847139471404714147142471434714447145471464714747148471494715047151471524715347154471554715647157471584715947160471614716247163471644716547166471674716847169471704717147172471734717447175471764717747178471794718047181471824718347184471854718647187471884718947190471914719247193471944719547196471974719847199472004720147202472034720447205472064720747208472094721047211472124721347214472154721647217472184721947220472214722247223472244722547226472274722847229472304723147232472334723447235472364723747238472394724047241472424724347244472454724647247472484724947250472514725247253472544725547256472574725847259472604726147262472634726447265472664726747268472694727047271472724727347274472754727647277472784727947280472814728247283472844728547286472874728847289472904729147292472934729447295472964729747298472994730047301473024730347304473054730647307473084730947310473114731247313473144731547316473174731847319473204732147322473234732447325473264732747328473294733047331473324733347334473354733647337473384733947340473414734247343473444734547346473474734847349473504735147352473534735447355473564735747358473594736047361473624736347364473654736647367473684736947370473714737247373473744737547376473774737847379473804738147382473834738447385473864738747388473894739047391473924739347394473954739647397473984739947400474014740247403474044740547406474074740847409474104741147412474134741447415474164741747418474194742047421474224742347424474254742647427474284742947430474314743247433474344743547436474374743847439474404744147442474434744447445474464744747448474494745047451474524745347454474554745647457474584745947460474614746247463474644746547466474674746847469474704747147472474734747447475474764747747478474794748047481474824748347484474854748647487474884748947490474914749247493474944749547496474974749847499475004750147502475034750447505475064750747508475094751047511475124751347514475154751647517475184751947520475214752247523475244752547526475274752847529475304753147532475334753447535475364753747538475394754047541475424754347544475454754647547475484754947550475514755247553475544755547556475574755847559475604756147562475634756447565475664756747568475694757047571475724757347574475754757647577475784757947580475814758247583475844758547586475874758847589475904759147592475934759447595475964759747598475994760047601476024760347604476054760647607476084760947610476114761247613476144761547616476174761847619476204762147622476234762447625476264762747628476294763047631476324763347634476354763647637476384763947640476414764247643476444764547646476474764847649476504765147652476534765447655476564765747658476594766047661476624766347664476654766647667476684766947670476714767247673476744767547676476774767847679476804768147682476834768447685476864768747688476894769047691476924769347694476954769647697476984769947700477014770247703477044770547706477074770847709477104771147712477134771447715477164771747718477194772047721477224772347724477254772647727477284772947730477314773247733477344773547736477374773847739477404774147742477434774447745477464774747748477494775047751477524775347754477554775647757477584775947760477614776247763477644776547766477674776847769477704777147772477734777447775477764777747778477794778047781477824778347784477854778647787477884778947790477914779247793477944779547796477974779847799478004780147802478034780447805478064780747808478094781047811478124781347814478154781647817478184781947820478214782247823478244782547826478274782847829478304783147832478334783447835478364783747838478394784047841478424784347844478454784647847478484784947850478514785247853478544785547856478574785847859478604786147862478634786447865478664786747868478694787047871478724787347874478754787647877478784787947880478814788247883478844788547886478874788847889478904789147892478934789447895478964789747898478994790047901479024790347904479054790647907479084790947910479114791247913479144791547916479174791847919479204792147922479234792447925479264792747928479294793047931479324793347934479354793647937479384793947940479414794247943479444794547946479474794847949479504795147952479534795447955479564795747958479594796047961479624796347964479654796647967479684796947970479714797247973479744797547976479774797847979479804798147982479834798447985479864798747988479894799047991479924799347994479954799647997479984799948000480014800248003480044800548006480074800848009480104801148012480134801448015480164801748018480194802048021480224802348024480254802648027480284802948030480314803248033480344803548036480374803848039480404804148042480434804448045480464804748048480494805048051480524805348054480554805648057480584805948060480614806248063480644806548066480674806848069480704807148072480734807448075480764807748078480794808048081480824808348084480854808648087480884808948090480914809248093480944809548096480974809848099481004810148102481034810448105481064810748108481094811048111481124811348114481154811648117481184811948120481214812248123481244812548126481274812848129481304813148132481334813448135481364813748138481394814048141481424814348144481454814648147481484814948150481514815248153481544815548156481574815848159481604816148162481634816448165481664816748168481694817048171481724817348174481754817648177481784817948180481814818248183481844818548186481874818848189481904819148192481934819448195481964819748198481994820048201482024820348204482054820648207482084820948210482114821248213482144821548216482174821848219482204822148222482234822448225482264822748228482294823048231482324823348234482354823648237482384823948240482414824248243482444824548246482474824848249482504825148252482534825448255482564825748258482594826048261482624826348264482654826648267482684826948270482714827248273482744827548276482774827848279482804828148282482834828448285482864828748288482894829048291482924829348294482954829648297482984829948300483014830248303483044830548306483074830848309483104831148312483134831448315483164831748318483194832048321483224832348324483254832648327483284832948330483314833248333483344833548336483374833848339483404834148342483434834448345483464834748348483494835048351483524835348354483554835648357483584835948360483614836248363483644836548366483674836848369483704837148372483734837448375483764837748378483794838048381483824838348384483854838648387483884838948390483914839248393483944839548396483974839848399484004840148402484034840448405484064840748408484094841048411484124841348414484154841648417484184841948420484214842248423484244842548426484274842848429484304843148432484334843448435484364843748438484394844048441484424844348444484454844648447484484844948450484514845248453484544845548456484574845848459484604846148462484634846448465484664846748468484694847048471484724847348474484754847648477484784847948480484814848248483484844848548486484874848848489484904849148492484934849448495484964849748498484994850048501485024850348504485054850648507485084850948510485114851248513485144851548516485174851848519485204852148522485234852448525485264852748528485294853048531485324853348534485354853648537485384853948540485414854248543485444854548546485474854848549485504855148552485534855448555485564855748558485594856048561485624856348564485654856648567485684856948570485714857248573485744857548576485774857848579485804858148582485834858448585485864858748588485894859048591485924859348594485954859648597485984859948600486014860248603486044860548606486074860848609486104861148612486134861448615486164861748618486194862048621486224862348624486254862648627486284862948630486314863248633486344863548636486374863848639486404864148642486434864448645486464864748648486494865048651486524865348654486554865648657486584865948660486614866248663486644866548666486674866848669486704867148672486734867448675486764867748678486794868048681486824868348684486854868648687486884868948690486914869248693486944869548696486974869848699487004870148702487034870448705487064870748708487094871048711487124871348714487154871648717487184871948720487214872248723487244872548726487274872848729487304873148732487334873448735487364873748738487394874048741487424874348744487454874648747487484874948750487514875248753487544875548756487574875848759487604876148762487634876448765487664876748768487694877048771487724877348774487754877648777487784877948780487814878248783487844878548786487874878848789487904879148792487934879448795487964879748798487994880048801488024880348804488054880648807488084880948810488114881248813488144881548816488174881848819488204882148822488234882448825488264882748828488294883048831488324883348834488354883648837488384883948840488414884248843488444884548846488474884848849488504885148852488534885448855488564885748858488594886048861488624886348864488654886648867488684886948870488714887248873488744887548876488774887848879488804888148882488834888448885488864888748888488894889048891488924889348894488954889648897488984889948900489014890248903489044890548906489074890848909489104891148912489134891448915489164891748918489194892048921489224892348924489254892648927489284892948930489314893248933489344893548936489374893848939489404894148942489434894448945489464894748948489494895048951489524895348954489554895648957489584895948960489614896248963489644896548966489674896848969489704897148972489734897448975489764897748978489794898048981489824898348984489854898648987489884898948990489914899248993489944899548996489974899848999490004900149002490034900449005490064900749008490094901049011490124901349014490154901649017490184901949020490214902249023490244902549026490274902849029490304903149032490334903449035490364903749038490394904049041490424904349044490454904649047490484904949050490514905249053490544905549056490574905849059490604906149062490634906449065490664906749068490694907049071490724907349074490754907649077490784907949080490814908249083490844908549086490874908849089490904909149092490934909449095490964909749098490994910049101491024910349104491054910649107491084910949110491114911249113491144911549116491174911849119491204912149122491234912449125491264912749128491294913049131491324913349134491354913649137491384913949140491414914249143491444914549146491474914849149491504915149152491534915449155491564915749158491594916049161491624916349164491654916649167491684916949170491714917249173491744917549176491774917849179491804918149182491834918449185491864918749188491894919049191491924919349194491954919649197491984919949200492014920249203492044920549206492074920849209492104921149212492134921449215492164921749218492194922049221492224922349224492254922649227492284922949230492314923249233492344923549236492374923849239492404924149242492434924449245492464924749248492494925049251492524925349254492554925649257492584925949260492614926249263492644926549266492674926849269492704927149272492734927449275492764927749278492794928049281492824928349284492854928649287492884928949290492914929249293492944929549296492974929849299493004930149302493034930449305493064930749308493094931049311493124931349314493154931649317493184931949320493214932249323493244932549326493274932849329493304933149332493334933449335493364933749338493394934049341493424934349344493454934649347493484934949350493514935249353493544935549356493574935849359493604936149362493634936449365493664936749368493694937049371493724937349374493754937649377493784937949380493814938249383493844938549386493874938849389493904939149392493934939449395493964939749398493994940049401494024940349404494054940649407494084940949410494114941249413494144941549416494174941849419494204942149422494234942449425494264942749428494294943049431494324943349434494354943649437494384943949440494414944249443494444944549446494474944849449494504945149452494534945449455494564945749458494594946049461494624946349464494654946649467494684946949470494714947249473494744947549476494774947849479494804948149482494834948449485494864948749488494894949049491494924949349494494954949649497494984949949500495014950249503495044950549506495074950849509495104951149512495134951449515495164951749518495194952049521495224952349524495254952649527495284952949530495314953249533495344953549536495374953849539495404954149542495434954449545495464954749548495494955049551495524955349554495554955649557495584955949560495614956249563495644956549566495674956849569495704957149572495734957449575495764957749578495794958049581495824958349584495854958649587495884958949590495914959249593495944959549596495974959849599496004960149602496034960449605496064960749608496094961049611496124961349614496154961649617496184961949620496214962249623496244962549626496274962849629496304963149632496334963449635496364963749638496394964049641496424964349644496454964649647496484964949650496514965249653496544965549656496574965849659496604966149662496634966449665496664966749668496694967049671496724967349674496754967649677496784967949680496814968249683496844968549686496874968849689496904969149692496934969449695496964969749698496994970049701497024970349704497054970649707497084970949710497114971249713497144971549716497174971849719497204972149722497234972449725497264972749728497294973049731497324973349734497354973649737497384973949740497414974249743497444974549746497474974849749497504975149752497534975449755497564975749758497594976049761497624976349764497654976649767497684976949770497714977249773497744977549776497774977849779497804978149782497834978449785497864978749788497894979049791497924979349794497954979649797497984979949800498014980249803498044980549806498074980849809498104981149812498134981449815498164981749818498194982049821498224982349824498254982649827498284982949830498314983249833498344983549836498374983849839498404984149842498434984449845498464984749848498494985049851498524985349854498554985649857498584985949860498614986249863498644986549866498674986849869498704987149872498734987449875498764987749878498794988049881498824988349884498854988649887498884988949890498914989249893498944989549896498974989849899499004990149902499034990449905499064990749908499094991049911499124991349914499154991649917499184991949920499214992249923499244992549926499274992849929499304993149932499334993449935499364993749938499394994049941499424994349944499454994649947499484994949950499514995249953499544995549956499574995849959499604996149962499634996449965499664996749968499694997049971499724997349974499754997649977499784997949980499814998249983499844998549986499874998849989499904999149992499934999449995499964999749998499995000050001500025000350004500055000650007500085000950010500115001250013500145001550016500175001850019500205002150022500235002450025500265002750028500295003050031500325003350034500355003650037500385003950040500415004250043500445004550046500475004850049500505005150052500535005450055500565005750058500595006050061500625006350064500655006650067500685006950070500715007250073500745007550076500775007850079500805008150082500835008450085500865008750088500895009050091500925009350094500955009650097500985009950100501015010250103501045010550106501075010850109501105011150112501135011450115501165011750118501195012050121501225012350124501255012650127501285012950130501315013250133501345013550136501375013850139501405014150142501435014450145501465014750148501495015050151501525015350154501555015650157501585015950160501615016250163501645016550166501675016850169501705017150172501735017450175501765017750178501795018050181501825018350184501855018650187501885018950190501915019250193501945019550196501975019850199502005020150202502035020450205502065020750208502095021050211502125021350214502155021650217502185021950220502215022250223502245022550226502275022850229502305023150232502335023450235502365023750238502395024050241502425024350244502455024650247502485024950250502515025250253502545025550256502575025850259502605026150262502635026450265502665026750268502695027050271502725027350274502755027650277502785027950280502815028250283502845028550286502875028850289502905029150292502935029450295502965029750298502995030050301503025030350304503055030650307503085030950310503115031250313503145031550316503175031850319503205032150322503235032450325503265032750328503295033050331503325033350334503355033650337503385033950340503415034250343503445034550346503475034850349503505035150352503535035450355503565035750358503595036050361503625036350364503655036650367503685036950370503715037250373503745037550376503775037850379503805038150382503835038450385503865038750388503895039050391503925039350394503955039650397503985039950400504015040250403504045040550406504075040850409504105041150412504135041450415504165041750418504195042050421504225042350424504255042650427504285042950430504315043250433504345043550436504375043850439504405044150442504435044450445504465044750448504495045050451504525045350454504555045650457504585045950460504615046250463504645046550466504675046850469504705047150472504735047450475504765047750478504795048050481504825048350484504855048650487504885048950490504915049250493504945049550496504975049850499505005050150502505035050450505505065050750508505095051050511505125051350514505155051650517505185051950520505215052250523505245052550526505275052850529505305053150532505335053450535505365053750538505395054050541505425054350544505455054650547505485054950550505515055250553505545055550556505575055850559505605056150562505635056450565505665056750568505695057050571505725057350574505755057650577505785057950580505815058250583505845058550586505875058850589505905059150592505935059450595505965059750598505995060050601506025060350604506055060650607506085060950610506115061250613506145061550616506175061850619506205062150622506235062450625506265062750628506295063050631506325063350634506355063650637506385063950640506415064250643506445064550646506475064850649506505065150652506535065450655506565065750658506595066050661506625066350664506655066650667506685066950670506715067250673506745067550676506775067850679506805068150682506835068450685506865068750688506895069050691506925069350694506955069650697506985069950700507015070250703507045070550706507075070850709507105071150712507135071450715507165071750718507195072050721507225072350724507255072650727507285072950730507315073250733507345073550736507375073850739507405074150742507435074450745507465074750748507495075050751507525075350754507555075650757507585075950760507615076250763507645076550766507675076850769507705077150772507735077450775507765077750778507795078050781507825078350784507855078650787507885078950790507915079250793507945079550796507975079850799508005080150802508035080450805508065080750808508095081050811508125081350814508155081650817508185081950820508215082250823508245082550826508275082850829508305083150832508335083450835508365083750838508395084050841508425084350844508455084650847508485084950850508515085250853508545085550856508575085850859508605086150862508635086450865508665086750868508695087050871508725087350874508755087650877508785087950880508815088250883508845088550886508875088850889508905089150892508935089450895508965089750898508995090050901509025090350904509055090650907509085090950910509115091250913509145091550916509175091850919509205092150922509235092450925509265092750928509295093050931509325093350934509355093650937509385093950940509415094250943509445094550946509475094850949509505095150952509535095450955509565095750958509595096050961509625096350964509655096650967509685096950970509715097250973509745097550976509775097850979509805098150982509835098450985509865098750988509895099050991509925099350994509955099650997509985099951000510015100251003510045100551006510075100851009510105101151012510135101451015510165101751018510195102051021510225102351024510255102651027510285102951030510315103251033510345103551036510375103851039510405104151042510435104451045510465104751048510495105051051510525105351054510555105651057510585105951060510615106251063510645106551066510675106851069510705107151072510735107451075510765107751078510795108051081510825108351084510855108651087510885108951090510915109251093510945109551096510975109851099511005110151102511035110451105511065110751108511095111051111511125111351114511155111651117511185111951120511215112251123511245112551126511275112851129511305113151132511335113451135511365113751138511395114051141511425114351144511455114651147511485114951150511515115251153511545115551156511575115851159511605116151162511635116451165511665116751168511695117051171511725117351174511755117651177511785117951180511815118251183511845118551186511875118851189511905119151192511935119451195511965119751198511995120051201512025120351204512055120651207512085120951210512115121251213512145121551216512175121851219512205122151222512235122451225512265122751228512295123051231512325123351234512355123651237512385123951240512415124251243512445124551246512475124851249512505125151252512535125451255512565125751258512595126051261512625126351264512655126651267512685126951270512715127251273512745127551276512775127851279512805128151282512835128451285512865128751288512895129051291512925129351294512955129651297512985129951300513015130251303513045130551306513075130851309513105131151312513135131451315513165131751318513195132051321513225132351324513255132651327513285132951330513315133251333513345133551336513375133851339513405134151342513435134451345513465134751348513495135051351513525135351354513555135651357513585135951360513615136251363513645136551366513675136851369513705137151372513735137451375513765137751378513795138051381513825138351384513855138651387513885138951390513915139251393513945139551396513975139851399514005140151402514035140451405514065140751408514095141051411514125141351414514155141651417514185141951420514215142251423514245142551426514275142851429514305143151432514335143451435514365143751438514395144051441514425144351444514455144651447514485144951450514515145251453514545145551456514575145851459514605146151462514635146451465514665146751468514695147051471514725147351474514755147651477514785147951480514815148251483514845148551486514875148851489514905149151492514935149451495514965149751498514995150051501515025150351504515055150651507515085150951510515115151251513515145151551516515175151851519515205152151522515235152451525515265152751528515295153051531515325153351534515355153651537515385153951540515415154251543515445154551546515475154851549515505155151552515535155451555515565155751558515595156051561515625156351564515655156651567515685156951570515715157251573515745157551576515775157851579515805158151582515835158451585515865158751588515895159051591515925159351594515955159651597515985159951600516015160251603516045160551606516075160851609516105161151612516135161451615516165161751618516195162051621516225162351624516255162651627516285162951630516315163251633516345163551636516375163851639516405164151642516435164451645516465164751648516495165051651516525165351654516555165651657516585165951660516615166251663516645166551666516675166851669516705167151672516735167451675516765167751678516795168051681516825168351684516855168651687516885168951690516915169251693516945169551696516975169851699517005170151702517035170451705517065170751708517095171051711517125171351714517155171651717517185171951720517215172251723517245172551726517275172851729517305173151732517335173451735517365173751738517395174051741517425174351744517455174651747517485174951750517515175251753517545175551756517575175851759517605176151762517635176451765517665176751768517695177051771517725177351774517755177651777517785177951780517815178251783517845178551786517875178851789517905179151792517935179451795517965179751798517995180051801518025180351804518055180651807518085180951810518115181251813518145181551816518175181851819518205182151822518235182451825518265182751828518295183051831518325183351834518355183651837518385183951840518415184251843518445184551846518475184851849518505185151852518535185451855518565185751858518595186051861518625186351864518655186651867518685186951870518715187251873518745187551876518775187851879518805188151882518835188451885518865188751888518895189051891518925189351894518955189651897518985189951900519015190251903519045190551906519075190851909519105191151912519135191451915519165191751918519195192051921519225192351924519255192651927519285192951930519315193251933519345193551936519375193851939519405194151942519435194451945519465194751948519495195051951519525195351954519555195651957519585195951960519615196251963519645196551966519675196851969519705197151972519735197451975519765197751978519795198051981519825198351984519855198651987519885198951990519915199251993519945199551996519975199851999520005200152002520035200452005520065200752008520095201052011520125201352014520155201652017520185201952020520215202252023520245202552026520275202852029520305203152032520335203452035520365203752038520395204052041520425204352044520455204652047520485204952050520515205252053520545205552056520575205852059520605206152062520635206452065520665206752068520695207052071520725207352074520755207652077520785207952080520815208252083520845208552086520875208852089520905209152092520935209452095520965209752098520995210052101521025210352104521055210652107521085210952110521115211252113521145211552116521175211852119521205212152122521235212452125521265212752128521295213052131521325213352134521355213652137521385213952140521415214252143521445214552146521475214852149521505215152152521535215452155521565215752158521595216052161521625216352164521655216652167521685216952170521715217252173521745217552176521775217852179521805218152182521835218452185521865218752188521895219052191521925219352194521955219652197521985219952200522015220252203522045220552206522075220852209522105221152212522135221452215522165221752218522195222052221522225222352224522255222652227522285222952230522315223252233522345223552236522375223852239522405224152242522435224452245522465224752248522495225052251522525225352254522555225652257522585225952260522615226252263522645226552266522675226852269522705227152272522735227452275522765227752278522795228052281522825228352284522855228652287522885228952290522915229252293522945229552296522975229852299523005230152302523035230452305523065230752308523095231052311523125231352314523155231652317523185231952320523215232252323523245232552326523275232852329523305233152332523335233452335523365233752338523395234052341523425234352344523455234652347523485234952350523515235252353523545235552356523575235852359523605236152362523635236452365523665236752368523695237052371523725237352374523755237652377523785237952380523815238252383523845238552386523875238852389523905239152392523935239452395523965239752398523995240052401524025240352404524055240652407524085240952410524115241252413524145241552416524175241852419524205242152422524235242452425524265242752428524295243052431524325243352434524355243652437524385243952440524415244252443524445244552446524475244852449524505245152452524535245452455524565245752458524595246052461524625246352464524655246652467524685246952470524715247252473524745247552476524775247852479524805248152482524835248452485524865248752488524895249052491524925249352494524955249652497524985249952500525015250252503525045250552506525075250852509525105251152512525135251452515525165251752518525195252052521525225252352524525255252652527525285252952530525315253252533525345253552536525375253852539525405254152542525435254452545525465254752548525495255052551525525255352554525555255652557525585255952560525615256252563525645256552566525675256852569525705257152572525735257452575525765257752578525795258052581525825258352584525855258652587525885258952590525915259252593525945259552596525975259852599526005260152602526035260452605526065260752608526095261052611526125261352614526155261652617526185261952620526215262252623526245262552626526275262852629526305263152632526335263452635526365263752638526395264052641526425264352644526455264652647526485264952650526515265252653526545265552656526575265852659526605266152662526635266452665526665266752668526695267052671526725267352674526755267652677526785267952680526815268252683526845268552686526875268852689526905269152692526935269452695526965269752698526995270052701527025270352704527055270652707527085270952710527115271252713527145271552716527175271852719527205272152722527235272452725527265272752728527295273052731527325273352734527355273652737527385273952740527415274252743527445274552746527475274852749527505275152752527535275452755527565275752758527595276052761527625276352764527655276652767527685276952770527715277252773527745277552776527775277852779527805278152782527835278452785527865278752788527895279052791527925279352794527955279652797527985279952800528015280252803528045280552806528075280852809528105281152812528135281452815528165281752818528195282052821528225282352824528255282652827528285282952830528315283252833528345283552836528375283852839528405284152842528435284452845528465284752848528495285052851528525285352854528555285652857528585285952860528615286252863528645286552866528675286852869528705287152872528735287452875528765287752878528795288052881528825288352884528855288652887528885288952890528915289252893528945289552896528975289852899529005290152902529035290452905529065290752908529095291052911529125291352914529155291652917529185291952920529215292252923529245292552926529275292852929529305293152932529335293452935529365293752938529395294052941529425294352944529455294652947529485294952950529515295252953529545295552956529575295852959529605296152962529635296452965529665296752968529695297052971529725297352974529755297652977529785297952980529815298252983529845298552986529875298852989529905299152992529935299452995529965299752998529995300053001530025300353004530055300653007530085300953010530115301253013530145301553016530175301853019530205302153022530235302453025530265302753028530295303053031530325303353034530355303653037530385303953040530415304253043530445304553046530475304853049530505305153052530535305453055530565305753058530595306053061530625306353064530655306653067530685306953070530715307253073530745307553076530775307853079530805308153082530835308453085530865308753088530895309053091530925309353094530955309653097530985309953100531015310253103531045310553106531075310853109531105311153112531135311453115531165311753118531195312053121531225312353124531255312653127531285312953130531315313253133531345313553136531375313853139531405314153142531435314453145531465314753148531495315053151531525315353154531555315653157531585315953160531615316253163531645316553166531675316853169531705317153172531735317453175531765317753178531795318053181531825318353184531855318653187531885318953190531915319253193531945319553196531975319853199532005320153202532035320453205532065320753208532095321053211532125321353214532155321653217532185321953220532215322253223532245322553226532275322853229532305323153232532335323453235532365323753238532395324053241532425324353244532455324653247532485324953250532515325253253532545325553256532575325853259532605326153262532635326453265532665326753268532695327053271532725327353274532755327653277532785327953280532815328253283532845328553286532875328853289532905329153292532935329453295532965329753298532995330053301533025330353304533055330653307533085330953310533115331253313533145331553316533175331853319533205332153322533235332453325533265332753328533295333053331533325333353334533355333653337533385333953340533415334253343533445334553346533475334853349533505335153352533535335453355533565335753358533595336053361533625336353364533655336653367533685336953370533715337253373533745337553376533775337853379533805338153382533835338453385533865338753388533895339053391533925339353394533955339653397533985339953400534015340253403534045340553406534075340853409534105341153412534135341453415534165341753418534195342053421534225342353424534255342653427534285342953430534315343253433534345343553436534375343853439534405344153442534435344453445534465344753448534495345053451534525345353454534555345653457534585345953460534615346253463534645346553466534675346853469534705347153472534735347453475534765347753478534795348053481534825348353484534855348653487534885348953490534915349253493534945349553496534975349853499535005350153502535035350453505535065350753508535095351053511535125351353514535155351653517535185351953520535215352253523535245352553526535275352853529535305353153532535335353453535535365353753538535395354053541535425354353544535455354653547535485354953550535515355253553535545355553556535575355853559535605356153562535635356453565535665356753568535695357053571535725357353574535755357653577535785357953580535815358253583535845358553586535875358853589535905359153592535935359453595535965359753598535995360053601536025360353604536055360653607536085360953610536115361253613536145361553616536175361853619536205362153622536235362453625536265362753628536295363053631536325363353634536355363653637536385363953640536415364253643536445364553646536475364853649536505365153652536535365453655536565365753658536595366053661536625366353664536655366653667536685366953670536715367253673536745367553676536775367853679536805368153682536835368453685536865368753688536895369053691536925369353694536955369653697536985369953700537015370253703537045370553706537075370853709537105371153712537135371453715537165371753718537195372053721537225372353724537255372653727537285372953730537315373253733537345373553736537375373853739537405374153742537435374453745537465374753748537495375053751537525375353754537555375653757537585375953760537615376253763537645376553766537675376853769537705377153772537735377453775537765377753778537795378053781537825378353784537855378653787537885378953790537915379253793537945379553796537975379853799538005380153802538035380453805538065380753808538095381053811538125381353814538155381653817538185381953820538215382253823538245382553826538275382853829538305383153832538335383453835538365383753838538395384053841538425384353844538455384653847538485384953850538515385253853538545385553856538575385853859538605386153862538635386453865538665386753868538695387053871538725387353874538755387653877538785387953880538815388253883538845388553886538875388853889538905389153892538935389453895538965389753898538995390053901539025390353904539055390653907539085390953910539115391253913539145391553916539175391853919539205392153922539235392453925539265392753928539295393053931539325393353934539355393653937539385393953940539415394253943539445394553946539475394853949539505395153952539535395453955539565395753958539595396053961539625396353964539655396653967539685396953970539715397253973539745397553976539775397853979539805398153982539835398453985539865398753988539895399053991539925399353994539955399653997539985399954000540015400254003540045400554006540075400854009540105401154012540135401454015540165401754018540195402054021540225402354024540255402654027540285402954030540315403254033540345403554036540375403854039540405404154042540435404454045540465404754048540495405054051540525405354054540555405654057540585405954060540615406254063540645406554066540675406854069540705407154072540735407454075540765407754078540795408054081540825408354084540855408654087540885408954090540915409254093540945409554096540975409854099541005410154102541035410454105541065410754108541095411054111541125411354114541155411654117541185411954120541215412254123541245412554126541275412854129541305413154132541335413454135541365413754138541395414054141541425414354144541455414654147541485414954150541515415254153541545415554156541575415854159541605416154162541635416454165541665416754168541695417054171541725417354174541755417654177541785417954180541815418254183541845418554186541875418854189541905419154192541935419454195541965419754198541995420054201542025420354204542055420654207542085420954210542115421254213542145421554216542175421854219542205422154222542235422454225542265422754228542295423054231542325423354234542355423654237542385423954240542415424254243542445424554246542475424854249542505425154252542535425454255542565425754258542595426054261542625426354264542655426654267542685426954270542715427254273542745427554276542775427854279542805428154282542835428454285542865428754288542895429054291542925429354294542955429654297542985429954300543015430254303543045430554306543075430854309543105431154312543135431454315543165431754318543195432054321543225432354324543255432654327543285432954330543315433254333543345433554336543375433854339543405434154342543435434454345543465434754348543495435054351543525435354354543555435654357543585435954360543615436254363543645436554366543675436854369543705437154372543735437454375543765437754378543795438054381543825438354384543855438654387543885438954390543915439254393543945439554396543975439854399544005440154402544035440454405544065440754408544095441054411544125441354414544155441654417544185441954420544215442254423544245442554426544275442854429544305443154432544335443454435544365443754438544395444054441544425444354444544455444654447544485444954450544515445254453544545445554456544575445854459544605446154462544635446454465544665446754468544695447054471544725447354474544755447654477544785447954480544815448254483544845448554486544875448854489544905449154492544935449454495544965449754498544995450054501545025450354504545055450654507545085450954510545115451254513545145451554516545175451854519545205452154522545235452454525545265452754528545295453054531545325453354534545355453654537545385453954540545415454254543545445454554546545475454854549545505455154552545535455454555545565455754558545595456054561545625456354564545655456654567545685456954570545715457254573545745457554576545775457854579545805458154582545835458454585545865458754588545895459054591545925459354594545955459654597545985459954600546015460254603546045460554606546075460854609546105461154612546135461454615546165461754618546195462054621546225462354624546255462654627546285462954630546315463254633546345463554636546375463854639546405464154642546435464454645546465464754648546495465054651546525465354654546555465654657546585465954660546615466254663546645466554666546675466854669546705467154672546735467454675546765467754678546795468054681546825468354684546855468654687546885468954690546915469254693546945469554696546975469854699547005470154702547035470454705547065470754708547095471054711547125471354714547155471654717547185471954720547215472254723547245472554726547275472854729547305473154732547335473454735547365473754738547395474054741547425474354744547455474654747547485474954750547515475254753547545475554756547575475854759547605476154762547635476454765547665476754768547695477054771547725477354774547755477654777547785477954780547815478254783547845478554786547875478854789547905479154792547935479454795547965479754798547995480054801548025480354804548055480654807548085480954810548115481254813548145481554816548175481854819548205482154822548235482454825548265482754828548295483054831548325483354834548355483654837548385483954840548415484254843548445484554846548475484854849548505485154852548535485454855548565485754858548595486054861548625486354864548655486654867548685486954870548715487254873548745487554876548775487854879548805488154882548835488454885548865488754888548895489054891548925489354894548955489654897548985489954900549015490254903549045490554906549075490854909549105491154912549135491454915549165491754918549195492054921549225492354924549255492654927549285492954930549315493254933549345493554936549375493854939549405494154942549435494454945549465494754948549495495054951549525495354954549555495654957549585495954960549615496254963549645496554966549675496854969549705497154972549735497454975549765497754978549795498054981549825498354984549855498654987549885498954990549915499254993549945499554996549975499854999550005500155002550035500455005550065500755008550095501055011550125501355014550155501655017550185501955020550215502255023550245502555026550275502855029550305503155032550335503455035550365503755038550395504055041550425504355044550455504655047550485504955050550515505255053550545505555056550575505855059550605506155062550635506455065550665506755068550695507055071550725507355074550755507655077550785507955080550815508255083550845508555086550875508855089550905509155092550935509455095550965509755098550995510055101551025510355104551055510655107551085510955110551115511255113551145511555116551175511855119551205512155122551235512455125551265512755128551295513055131551325513355134551355513655137551385513955140551415514255143551445514555146551475514855149551505515155152551535515455155551565515755158551595516055161551625516355164551655516655167551685516955170551715517255173551745517555176551775517855179551805518155182551835518455185551865518755188551895519055191551925519355194551955519655197551985519955200552015520255203552045520555206552075520855209552105521155212552135521455215552165521755218552195522055221552225522355224552255522655227552285522955230552315523255233552345523555236552375523855239552405524155242552435524455245552465524755248552495525055251552525525355254552555525655257552585525955260552615526255263552645526555266552675526855269552705527155272552735527455275552765527755278552795528055281552825528355284552855528655287552885528955290552915529255293552945529555296552975529855299553005530155302553035530455305553065530755308553095531055311553125531355314553155531655317553185531955320553215532255323553245532555326553275532855329553305533155332553335533455335553365533755338553395534055341553425534355344553455534655347553485534955350553515535255353553545535555356553575535855359553605536155362553635536455365553665536755368553695537055371553725537355374553755537655377553785537955380553815538255383553845538555386553875538855389553905539155392553935539455395553965539755398553995540055401554025540355404554055540655407554085540955410554115541255413554145541555416554175541855419554205542155422554235542455425554265542755428554295543055431554325543355434554355543655437554385543955440554415544255443554445544555446554475544855449554505545155452554535545455455554565545755458554595546055461554625546355464554655546655467554685546955470554715547255473554745547555476554775547855479554805548155482554835548455485554865548755488554895549055491554925549355494554955549655497554985549955500555015550255503555045550555506555075550855509555105551155512555135551455515555165551755518555195552055521555225552355524555255552655527555285552955530555315553255533555345553555536555375553855539555405554155542555435554455545555465554755548555495555055551555525555355554555555555655557555585555955560555615556255563555645556555566555675556855569555705557155572555735557455575555765557755578555795558055581555825558355584555855558655587555885558955590555915559255593555945559555596555975559855599556005560155602556035560455605556065560755608556095561055611556125561355614556155561655617556185561955620556215562255623556245562555626556275562855629556305563155632556335563455635556365563755638556395564055641556425564355644556455564655647556485564955650556515565255653556545565555656556575565855659556605566155662556635566455665556665566755668556695567055671556725567355674556755567655677556785567955680556815568255683556845568555686556875568855689556905569155692556935569455695556965569755698556995570055701557025570355704557055570655707557085570955710557115571255713557145571555716557175571855719557205572155722557235572455725557265572755728557295573055731557325573355734557355573655737557385573955740557415574255743557445574555746557475574855749557505575155752557535575455755557565575755758557595576055761557625576355764557655576655767557685576955770557715577255773557745577555776557775577855779557805578155782557835578455785557865578755788557895579055791557925579355794557955579655797557985579955800558015580255803558045580555806558075580855809558105581155812558135581455815558165581755818558195582055821558225582355824558255582655827558285582955830558315583255833558345583555836558375583855839558405584155842558435584455845558465584755848558495585055851558525585355854558555585655857558585585955860558615586255863558645586555866558675586855869558705587155872558735587455875558765587755878558795588055881558825588355884558855588655887558885588955890558915589255893558945589555896558975589855899559005590155902559035590455905559065590755908559095591055911559125591355914559155591655917559185591955920559215592255923559245592555926559275592855929559305593155932559335593455935559365593755938559395594055941559425594355944559455594655947559485594955950559515595255953559545595555956559575595855959559605596155962559635596455965559665596755968559695597055971559725597355974559755597655977559785597955980559815598255983559845598555986559875598855989559905599155992559935599455995559965599755998559995600056001560025600356004560055600656007560085600956010560115601256013560145601556016560175601856019560205602156022560235602456025560265602756028560295603056031560325603356034560355603656037560385603956040560415604256043560445604556046560475604856049560505605156052560535605456055560565605756058560595606056061560625606356064560655606656067560685606956070560715607256073560745607556076560775607856079560805608156082560835608456085560865608756088560895609056091560925609356094560955609656097560985609956100561015610256103561045610556106561075610856109561105611156112561135611456115561165611756118561195612056121561225612356124561255612656127561285612956130561315613256133561345613556136561375613856139561405614156142561435614456145561465614756148561495615056151561525615356154561555615656157561585615956160561615616256163561645616556166561675616856169561705617156172561735617456175561765617756178561795618056181561825618356184561855618656187561885618956190561915619256193561945619556196561975619856199562005620156202562035620456205562065620756208562095621056211562125621356214562155621656217562185621956220562215622256223562245622556226562275622856229562305623156232562335623456235562365623756238562395624056241562425624356244562455624656247562485624956250562515625256253562545625556256562575625856259562605626156262562635626456265562665626756268562695627056271562725627356274562755627656277562785627956280562815628256283562845628556286562875628856289562905629156292562935629456295562965629756298562995630056301563025630356304563055630656307563085630956310563115631256313563145631556316563175631856319563205632156322563235632456325563265632756328563295633056331563325633356334563355633656337563385633956340563415634256343563445634556346563475634856349563505635156352563535635456355563565635756358563595636056361563625636356364563655636656367563685636956370563715637256373563745637556376563775637856379563805638156382563835638456385563865638756388563895639056391563925639356394563955639656397563985639956400564015640256403564045640556406564075640856409564105641156412564135641456415564165641756418564195642056421564225642356424564255642656427564285642956430564315643256433564345643556436564375643856439564405644156442564435644456445564465644756448564495645056451564525645356454564555645656457564585645956460564615646256463564645646556466564675646856469564705647156472564735647456475564765647756478564795648056481564825648356484564855648656487564885648956490564915649256493564945649556496564975649856499565005650156502565035650456505565065650756508565095651056511565125651356514565155651656517565185651956520565215652256523565245652556526565275652856529565305653156532565335653456535565365653756538565395654056541565425654356544565455654656547565485654956550565515655256553565545655556556565575655856559565605656156562565635656456565565665656756568565695657056571565725657356574565755657656577565785657956580565815658256583565845658556586565875658856589565905659156592565935659456595565965659756598565995660056601566025660356604566055660656607566085660956610566115661256613566145661556616566175661856619566205662156622566235662456625566265662756628566295663056631566325663356634566355663656637566385663956640566415664256643566445664556646566475664856649566505665156652566535665456655566565665756658566595666056661566625666356664566655666656667566685666956670566715667256673566745667556676566775667856679566805668156682566835668456685566865668756688566895669056691566925669356694566955669656697566985669956700567015670256703567045670556706567075670856709567105671156712567135671456715567165671756718567195672056721567225672356724567255672656727567285672956730567315673256733567345673556736567375673856739567405674156742567435674456745567465674756748567495675056751567525675356754567555675656757567585675956760567615676256763567645676556766567675676856769567705677156772567735677456775567765677756778567795678056781567825678356784567855678656787567885678956790567915679256793567945679556796567975679856799568005680156802568035680456805568065680756808568095681056811568125681356814568155681656817568185681956820568215682256823568245682556826568275682856829568305683156832568335683456835568365683756838568395684056841568425684356844568455684656847568485684956850568515685256853568545685556856568575685856859568605686156862568635686456865568665686756868568695687056871568725687356874568755687656877568785687956880568815688256883568845688556886568875688856889568905689156892568935689456895568965689756898568995690056901569025690356904569055690656907569085690956910569115691256913569145691556916569175691856919569205692156922569235692456925569265692756928569295693056931569325693356934569355693656937569385693956940569415694256943569445694556946569475694856949569505695156952569535695456955569565695756958569595696056961569625696356964569655696656967569685696956970569715697256973569745697556976569775697856979569805698156982569835698456985569865698756988569895699056991569925699356994569955699656997569985699957000570015700257003570045700557006570075700857009570105701157012570135701457015570165701757018570195702057021570225702357024570255702657027570285702957030570315703257033570345703557036570375703857039570405704157042570435704457045570465704757048570495705057051570525705357054570555705657057570585705957060570615706257063570645706557066570675706857069570705707157072570735707457075570765707757078570795708057081570825708357084570855708657087570885708957090570915709257093570945709557096570975709857099571005710157102571035710457105571065710757108571095711057111571125711357114571155711657117571185711957120571215712257123571245712557126571275712857129571305713157132571335713457135571365713757138571395714057141571425714357144571455714657147571485714957150571515715257153571545715557156571575715857159571605716157162571635716457165571665716757168571695717057171571725717357174571755717657177571785717957180571815718257183571845718557186571875718857189571905719157192571935719457195571965719757198571995720057201572025720357204572055720657207572085720957210572115721257213572145721557216572175721857219572205722157222572235722457225572265722757228572295723057231572325723357234572355723657237572385723957240572415724257243572445724557246572475724857249572505725157252572535725457255572565725757258572595726057261572625726357264572655726657267572685726957270572715727257273572745727557276572775727857279572805728157282572835728457285572865728757288572895729057291572925729357294572955729657297572985729957300573015730257303573045730557306573075730857309573105731157312573135731457315573165731757318573195732057321573225732357324573255732657327573285732957330573315733257333573345733557336573375733857339573405734157342573435734457345573465734757348573495735057351573525735357354573555735657357573585735957360573615736257363573645736557366573675736857369573705737157372573735737457375573765737757378573795738057381573825738357384573855738657387573885738957390573915739257393573945739557396573975739857399574005740157402574035740457405574065740757408574095741057411574125741357414574155741657417574185741957420574215742257423574245742557426574275742857429574305743157432574335743457435574365743757438574395744057441574425744357444574455744657447574485744957450574515745257453574545745557456574575745857459574605746157462574635746457465574665746757468574695747057471574725747357474574755747657477574785747957480574815748257483574845748557486574875748857489574905749157492574935749457495574965749757498574995750057501575025750357504575055750657507575085750957510575115751257513575145751557516575175751857519575205752157522575235752457525575265752757528575295753057531575325753357534575355753657537575385753957540575415754257543575445754557546575475754857549575505755157552575535755457555575565755757558575595756057561575625756357564575655756657567575685756957570575715757257573575745757557576575775757857579575805758157582575835758457585575865758757588575895759057591575925759357594575955759657597575985759957600576015760257603576045760557606576075760857609576105761157612576135761457615576165761757618576195762057621576225762357624576255762657627576285762957630576315763257633576345763557636576375763857639576405764157642576435764457645576465764757648576495765057651576525765357654576555765657657576585765957660576615766257663576645766557666576675766857669576705767157672576735767457675576765767757678576795768057681576825768357684576855768657687576885768957690576915769257693576945769557696576975769857699577005770157702577035770457705577065770757708577095771057711577125771357714577155771657717577185771957720577215772257723577245772557726577275772857729577305773157732577335773457735577365773757738577395774057741577425774357744577455774657747577485774957750577515775257753577545775557756577575775857759577605776157762577635776457765577665776757768577695777057771577725777357774577755777657777577785777957780577815778257783577845778557786577875778857789577905779157792577935779457795577965779757798577995780057801578025780357804578055780657807578085780957810578115781257813578145781557816578175781857819578205782157822578235782457825578265782757828578295783057831578325783357834578355783657837578385783957840578415784257843578445784557846578475784857849578505785157852578535785457855578565785757858578595786057861578625786357864578655786657867578685786957870578715787257873578745787557876578775787857879578805788157882578835788457885578865788757888578895789057891578925789357894578955789657897578985789957900579015790257903579045790557906579075790857909579105791157912579135791457915579165791757918579195792057921579225792357924579255792657927579285792957930579315793257933579345793557936579375793857939579405794157942579435794457945579465794757948579495795057951579525795357954579555795657957579585795957960579615796257963579645796557966579675796857969579705797157972579735797457975579765797757978579795798057981579825798357984579855798657987579885798957990579915799257993579945799557996579975799857999580005800158002580035800458005580065800758008580095801058011580125801358014580155801658017580185801958020580215802258023580245802558026580275802858029580305803158032580335803458035580365803758038580395804058041580425804358044580455804658047580485804958050580515805258053580545805558056580575805858059580605806158062580635806458065580665806758068580695807058071580725807358074580755807658077580785807958080580815808258083580845808558086580875808858089580905809158092580935809458095580965809758098580995810058101581025810358104581055810658107581085810958110581115811258113581145811558116581175811858119581205812158122581235812458125581265812758128581295813058131581325813358134581355813658137581385813958140581415814258143581445814558146581475814858149581505815158152581535815458155581565815758158581595816058161581625816358164581655816658167581685816958170581715817258173581745817558176581775817858179581805818158182581835818458185581865818758188581895819058191581925819358194581955819658197581985819958200582015820258203582045820558206582075820858209582105821158212582135821458215582165821758218582195822058221582225822358224582255822658227582285822958230582315823258233582345823558236582375823858239582405824158242582435824458245582465824758248582495825058251582525825358254582555825658257582585825958260582615826258263582645826558266582675826858269582705827158272582735827458275582765827758278582795828058281582825828358284582855828658287582885828958290582915829258293582945829558296582975829858299583005830158302583035830458305583065830758308583095831058311583125831358314583155831658317583185831958320583215832258323583245832558326583275832858329583305833158332583335833458335583365833758338583395834058341583425834358344583455834658347583485834958350583515835258353583545835558356583575835858359583605836158362583635836458365583665836758368583695837058371583725837358374583755837658377583785837958380583815838258383583845838558386583875838858389583905839158392583935839458395583965839758398583995840058401584025840358404584055840658407584085840958410584115841258413 |
- /* OggEnc
- *
- * This program is distributed under the GNU General Public License, version 2.
- * A copy of this license is included with this source.
- *
- * Copyright 2000-2002, Michael Smith <msmith@xiph.org>
- *
- * Portions from Vorbize, (c) Kenneth Arnold <kcarnold@yahoo.com>
- * and libvorbis examples, (c) Monty <monty@xiph.org>
- */
- #include <alloca.h>
- #include <assert.h>
- #include <ctype.h>
- #include <errno.h>
- #include <fcntl.h>
- #include <locale.h>
- #include <math.h>
- #include <stdarg.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
- #include <sys/stat.h>
- #include <sys/time.h>
- #include <sys/types.h>
- #include <time.h>
- #include <unistd.h>
- struct option
- {
- # if (defined __STDC__ && __STDC__) || defined __cplusplus
- const char *name;
- # else
- char *name;
- # endif
- /* has_arg can't be an enum because some compilers complain about
- type mismatches in all the code that assumes it is an int. */
- int has_arg;
- int *flag;
- int val;
- };
- # define no_argument 0
- # define required_argument 1
- # define optional_argument 2
- extern int getopt (int ___argc, char *const *___argv, const char *__shortopts);
- extern int getopt_long (int ___argc, char *const *___argv,
- const char *__shortopts,
- const struct option *__longopts, int *__longind);
- extern int getopt_long_only (int ___argc, char *const *___argv,
- const char *__shortopts,
- const struct option *__longopts, int *__longind);
- extern int _getopt_internal (int ___argc, char *const *___argv,
- const char *__shortopts,
- const struct option *__longopts, int *__longind,
- int __long_only);
- #define setbinmode(x) {}
- #define DEFAULT_NAMEFMT_REMOVE "/"
- #define DEFAULT_NAMEFMT_REPLACE NULL
- #define __ENCODE_H
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- ********************************************************************
- function: libvorbis codec headers
- last mod: $Id: codec.h,v 1.45 2003/09/05 22:34:46 giles Exp $
- ********************************************************************/
- #define _vorbis_codec_h_
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the Xiph.Org Foundation http://www.xiph.org/ *
- * *
- ********************************************************************
- function: toplevel libogg include
- last mod: $Id: ogg.h,v 1.19 2002/09/15 23:48:02 xiphmont Exp $
- ********************************************************************/
- #define _OGG_H
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the Xiph.Org Foundation http://www.xiph.org/ *
- * *
- ********************************************************************
- function: #ifdef jail to whip a few platforms into the UNIX ideal.
- last mod: $Id: os_types.h,v 1.14 2003/09/02 05:09:14 xiphmont Exp $
- ********************************************************************/
- #define _OS_TYPES_H
- /* make it easy on the folks that want to compile the libs with a
- different malloc than stdlib */
- #define _ogg_malloc malloc
- #define _ogg_calloc calloc
- #define _ogg_realloc realloc
- #define _ogg_free free
- #define __CONFIG_TYPES_H__
- /* these are filled in by configure */
- typedef int16_t ogg_int16_t;
- typedef u_int16_t ogg_uint16_t;
- typedef int32_t ogg_int32_t;
- typedef u_int32_t ogg_uint32_t;
- typedef int64_t ogg_int64_t;
- typedef struct {
- long endbyte;
- int endbit;
- unsigned char *buffer;
- unsigned char *ptr;
- long storage;
- } oggpack_buffer;
- /* ogg_page is used to encapsulate the data in one Ogg bitstream page *****/
- typedef struct {
- unsigned char *header;
- long header_len;
- unsigned char *body;
- long body_len;
- } ogg_page;
- /* ogg_stream_state contains the current encode/decode state of a logical
- Ogg bitstream **********************************************************/
- typedef struct {
- unsigned char *body_data; /* bytes from packet bodies */
- long body_storage; /* storage elements allocated */
- long body_fill; /* elements stored; fill mark */
- long body_returned; /* elements of fill returned */
- int *lacing_vals; /* The values that will go to the segment table */
- ogg_int64_t *granule_vals; /* granulepos values for headers. Not compact
- this way, but it is simple coupled to the
- lacing fifo */
- long lacing_storage;
- long lacing_fill;
- long lacing_packet;
- long lacing_returned;
- unsigned char header[282]; /* working space for header encode */
- int header_fill;
- int e_o_s; /* set when we have buffered the last packet in the
- logical bitstream */
- int b_o_s; /* set after we've written the initial page
- of a logical bitstream */
- long serialno;
- long pageno;
- ogg_int64_t packetno; /* sequence number for decode; the framing
- knows where there's a hole in the data,
- but we need coupling so that the codec
- (which is in a seperate abstraction
- layer) also knows about the gap */
- ogg_int64_t granulepos;
- } ogg_stream_state;
- /* ogg_packet is used to encapsulate the data and metadata belonging
- to a single raw Ogg/Vorbis packet *************************************/
- typedef struct {
- unsigned char *packet;
- long bytes;
- long b_o_s;
- long e_o_s;
- ogg_int64_t granulepos;
-
- ogg_int64_t packetno; /* sequence number for decode; the framing
- knows where there's a hole in the data,
- but we need coupling so that the codec
- (which is in a seperate abstraction
- layer) also knows about the gap */
- } ogg_packet;
- typedef struct {
- unsigned char *data;
- int storage;
- int fill;
- int returned;
- int unsynced;
- int headerbytes;
- int bodybytes;
- } ogg_sync_state;
- /* Ogg BITSTREAM PRIMITIVES: bitstream ************************/
- extern void oggpack_writeinit(oggpack_buffer *b);
- extern void oggpack_writetrunc(oggpack_buffer *b,long bits);
- extern void oggpack_writealign(oggpack_buffer *b);
- extern void oggpack_writecopy(oggpack_buffer *b,void *source,long bits);
- extern void oggpack_reset(oggpack_buffer *b);
- extern void oggpack_writeclear(oggpack_buffer *b);
- extern void oggpack_readinit(oggpack_buffer *b,unsigned char *buf,int bytes);
- extern void oggpack_write(oggpack_buffer *b,unsigned long value,int bits);
- extern long oggpack_look(oggpack_buffer *b,int bits);
- extern long oggpack_look1(oggpack_buffer *b);
- extern void oggpack_adv(oggpack_buffer *b,int bits);
- extern void oggpack_adv1(oggpack_buffer *b);
- extern long oggpack_read(oggpack_buffer *b,int bits);
- extern long oggpack_read1(oggpack_buffer *b);
- extern long oggpack_bytes(oggpack_buffer *b);
- extern long oggpack_bits(oggpack_buffer *b);
- extern unsigned char *oggpack_get_buffer(oggpack_buffer *b);
- extern void oggpackB_writeinit(oggpack_buffer *b);
- extern void oggpackB_writetrunc(oggpack_buffer *b,long bits);
- extern void oggpackB_writealign(oggpack_buffer *b);
- extern void oggpackB_writecopy(oggpack_buffer *b,void *source,long bits);
- extern void oggpackB_reset(oggpack_buffer *b);
- extern void oggpackB_writeclear(oggpack_buffer *b);
- extern void oggpackB_readinit(oggpack_buffer *b,unsigned char *buf,int bytes);
- extern void oggpackB_write(oggpack_buffer *b,unsigned long value,int bits);
- extern long oggpackB_look(oggpack_buffer *b,int bits);
- extern long oggpackB_look1(oggpack_buffer *b);
- extern void oggpackB_adv(oggpack_buffer *b,int bits);
- extern void oggpackB_adv1(oggpack_buffer *b);
- extern long oggpackB_read(oggpack_buffer *b,int bits);
- extern long oggpackB_read1(oggpack_buffer *b);
- extern long oggpackB_bytes(oggpack_buffer *b);
- extern long oggpackB_bits(oggpack_buffer *b);
- extern unsigned char *oggpackB_get_buffer(oggpack_buffer *b);
- /* Ogg BITSTREAM PRIMITIVES: encoding **************************/
- extern int ogg_stream_packetin(ogg_stream_state *os, ogg_packet *op);
- extern int ogg_stream_pageout(ogg_stream_state *os, ogg_page *og);
- extern int ogg_stream_flush(ogg_stream_state *os, ogg_page *og);
- /* Ogg BITSTREAM PRIMITIVES: decoding **************************/
- extern int ogg_sync_init(ogg_sync_state *oy);
- extern int ogg_sync_clear(ogg_sync_state *oy);
- extern int ogg_sync_reset(ogg_sync_state *oy);
- extern int ogg_sync_destroy(ogg_sync_state *oy);
- extern char *ogg_sync_buffer(ogg_sync_state *oy, long size);
- extern int ogg_sync_wrote(ogg_sync_state *oy, long bytes);
- extern long ogg_sync_pageseek(ogg_sync_state *oy,ogg_page *og);
- extern int ogg_sync_pageout(ogg_sync_state *oy, ogg_page *og);
- extern int ogg_stream_pagein(ogg_stream_state *os, ogg_page *og);
- extern int ogg_stream_packetout(ogg_stream_state *os,ogg_packet *op);
- extern int ogg_stream_packetpeek(ogg_stream_state *os,ogg_packet *op);
- /* Ogg BITSTREAM PRIMITIVES: general ***************************/
- extern int ogg_stream_init(ogg_stream_state *os,int serialno);
- extern int ogg_stream_clear(ogg_stream_state *os);
- extern int ogg_stream_reset(ogg_stream_state *os);
- extern int ogg_stream_reset_serialno(ogg_stream_state *os,int serialno);
- extern int ogg_stream_destroy(ogg_stream_state *os);
- extern int ogg_stream_eos(ogg_stream_state *os);
- extern void ogg_page_checksum_set(ogg_page *og);
- extern int ogg_page_version(ogg_page *og);
- extern int ogg_page_continued(ogg_page *og);
- extern int ogg_page_bos(ogg_page *og);
- extern int ogg_page_eos(ogg_page *og);
- extern ogg_int64_t ogg_page_granulepos(ogg_page *og);
- extern int ogg_page_serialno(ogg_page *og);
- extern long ogg_page_pageno(ogg_page *og);
- extern int ogg_page_packets(ogg_page *og);
- extern void ogg_packet_clear(ogg_packet *op);
- typedef struct vorbis_info{
- int version;
- int channels;
- long rate;
- /* The below bitrate declarations are *hints*.
- Combinations of the three values carry the following implications:
-
- all three set to the same value:
- implies a fixed rate bitstream
- only nominal set:
- implies a VBR stream that averages the nominal bitrate. No hard
- upper/lower limit
- upper and or lower set:
- implies a VBR bitstream that obeys the bitrate limits. nominal
- may also be set to give a nominal rate.
- none set:
- the coder does not care to speculate.
- */
- long bitrate_upper;
- long bitrate_nominal;
- long bitrate_lower;
- long bitrate_window;
- void *codec_setup;
- } vorbis_info;
- /* vorbis_dsp_state buffers the current vorbis audio
- analysis/synthesis state. The DSP state belongs to a specific
- logical bitstream ****************************************************/
- typedef struct vorbis_dsp_state{
- int analysisp;
- vorbis_info *vi;
- float **pcm;
- float **pcmret;
- int pcm_storage;
- int pcm_current;
- int pcm_returned;
- int preextrapolate;
- int eofflag;
- long lW;
- long W;
- long nW;
- long centerW;
- ogg_int64_t granulepos;
- ogg_int64_t sequence;
- ogg_int64_t glue_bits;
- ogg_int64_t time_bits;
- ogg_int64_t floor_bits;
- ogg_int64_t res_bits;
- void *backend_state;
- } vorbis_dsp_state;
- typedef struct vorbis_block{
- /* necessary stream state for linking to the framing abstraction */
- float **pcm; /* this is a pointer into local storage */
- oggpack_buffer opb;
-
- long lW;
- long W;
- long nW;
- int pcmend;
- int mode;
- int eofflag;
- ogg_int64_t granulepos;
- ogg_int64_t sequence;
- vorbis_dsp_state *vd; /* For read-only access of configuration */
- /* local storage to avoid remallocing; it's up to the mapping to
- structure it */
- void *localstore;
- long localtop;
- long localalloc;
- long totaluse;
- struct alloc_chain *reap;
- /* bitmetrics for the frame */
- long glue_bits;
- long time_bits;
- long floor_bits;
- long res_bits;
- void *internal;
- } vorbis_block;
- /* vorbis_block is a single block of data to be processed as part of
- the analysis/synthesis stream; it belongs to a specific logical
- bitstream, but is independant from other vorbis_blocks belonging to
- that logical bitstream. *************************************************/
- struct alloc_chain{
- void *ptr;
- struct alloc_chain *next;
- };
- /* vorbis_info contains all the setup information specific to the
- specific compression/decompression mode in progress (eg,
- psychoacoustic settings, channel setup, options, codebook
- etc). vorbis_info and substructures are in backends.h.
- *********************************************************************/
- /* the comments are not part of vorbis_info so that vorbis_info can be
- static storage */
- typedef struct vorbis_comment{
- /* unlimited user comment fields. libvorbis writes 'libvorbis'
- whatever vendor is set to in encode */
- char **user_comments;
- int *comment_lengths;
- int comments;
- char *vendor;
- } vorbis_comment;
- /* libvorbis encodes in two abstraction layers; first we perform DSP
- and produce a packet (see docs/analysis.txt). The packet is then
- coded into a framed OggSquish bitstream by the second layer (see
- docs/framing.txt). Decode is the reverse process; we sync/frame
- the bitstream and extract individual packets, then decode the
- packet back into PCM audio.
- The extra framing/packetizing is used in streaming formats, such as
- files. Over the net (such as with UDP), the framing and
- packetization aren't necessary as they're provided by the transport
- and the streaming layer is not used */
- /* Vorbis PRIMITIVES: general ***************************************/
- extern void vorbis_info_init(vorbis_info *vi);
- extern void vorbis_info_clear(vorbis_info *vi);
- extern int vorbis_info_blocksize(vorbis_info *vi,int zo);
- extern void vorbis_comment_init(vorbis_comment *vc);
- extern void vorbis_comment_add(vorbis_comment *vc, char *comment);
- extern void vorbis_comment_add_tag(vorbis_comment *vc,
- char *tag, char *contents);
- extern char *vorbis_comment_query(vorbis_comment *vc, char *tag, int count);
- extern int vorbis_comment_query_count(vorbis_comment *vc, char *tag);
- extern void vorbis_comment_clear(vorbis_comment *vc);
- extern int vorbis_block_init(vorbis_dsp_state *v, vorbis_block *vb);
- extern int vorbis_block_clear(vorbis_block *vb);
- extern void vorbis_dsp_clear(vorbis_dsp_state *v);
- extern double vorbis_granule_time(vorbis_dsp_state *v,
- ogg_int64_t granulepos);
- /* Vorbis PRIMITIVES: analysis/DSP layer ****************************/
- extern int vorbis_analysis_init(vorbis_dsp_state *v,vorbis_info *vi);
- extern int vorbis_commentheader_out(vorbis_comment *vc, ogg_packet *op);
- extern int vorbis_analysis_headerout(vorbis_dsp_state *v,
- vorbis_comment *vc,
- ogg_packet *op,
- ogg_packet *op_comm,
- ogg_packet *op_code);
- extern float **vorbis_analysis_buffer(vorbis_dsp_state *v,int vals);
- extern int vorbis_analysis_wrote(vorbis_dsp_state *v,int vals);
- extern int vorbis_analysis_blockout(vorbis_dsp_state *v,vorbis_block *vb);
- extern int vorbis_analysis(vorbis_block *vb,ogg_packet *op);
- extern int vorbis_bitrate_addblock(vorbis_block *vb);
- extern int vorbis_bitrate_flushpacket(vorbis_dsp_state *vd,
- ogg_packet *op);
- /* Vorbis PRIMITIVES: synthesis layer *******************************/
- extern int vorbis_synthesis_headerin(vorbis_info *vi,vorbis_comment *vc,
- ogg_packet *op);
- extern int vorbis_synthesis_init(vorbis_dsp_state *v,vorbis_info *vi);
- extern int vorbis_synthesis_restart(vorbis_dsp_state *v);
- extern int vorbis_synthesis(vorbis_block *vb,ogg_packet *op);
- extern int vorbis_synthesis_trackonly(vorbis_block *vb,ogg_packet *op);
- extern int vorbis_synthesis_blockin(vorbis_dsp_state *v,vorbis_block *vb);
- extern int vorbis_synthesis_pcmout(vorbis_dsp_state *v,float ***pcm);
- extern int vorbis_synthesis_lapout(vorbis_dsp_state *v,float ***pcm);
- extern int vorbis_synthesis_read(vorbis_dsp_state *v,int samples);
- extern long vorbis_packet_blocksize(vorbis_info *vi,ogg_packet *op);
- extern int vorbis_synthesis_halfrate(vorbis_info *v,int flag);
- extern int vorbis_synthesis_halfrate_p(vorbis_info *v);
- /* Vorbis ERRORS and return codes ***********************************/
- #define OV_FALSE -1
- #define OV_EOF -2
- #define OV_HOLE -3
- #define OV_EREAD -128
- #define OV_EFAULT -129
- #define OV_EIMPL -130
- #define OV_EINVAL -131
- #define OV_ENOTVORBIS -132
- #define OV_EBADHEADER -133
- #define OV_EVERSION -134
- #define OV_ENOTAUDIO -135
- #define OV_EBADPACKET -136
- #define OV_EBADLINK -137
- #define OV_ENOSEEK -138
- typedef void TIMER;
- typedef long (*audio_read_func)(void *src, float **buffer, int samples);
- typedef void (*progress_func)(char *fn, long totalsamples,
- long samples, double time);
- typedef void (*enc_end_func)(char *fn, double time, int rate,
- long samples, long bytes);
- typedef void (*enc_start_func)(char *fn, char *outfn, int bitrate,
- float quality, int qset, int managed, int min_br, int max_br);
- typedef void (*error_func)(char *errormessage);
- void *timer_start(void);
- double timer_time(void *);
- void timer_clear(void *);
- int create_directories(char *);
- void update_statistics_full(char *fn, long total, long done, double time);
- void update_statistics_notime(char *fn, long total, long done, double time);
- void update_statistics_null(char *fn, long total, long done, double time);
- void start_encode_full(char *fn, char *outfn, int bitrate, float quality, int qset,
- int managed, int min, int max);
- void start_encode_null(char *fn, char *outfn, int bitrate, float quality, int qset,
- int managed, int min, int max);
- void final_statistics(char *fn, double time, int rate, long total_samples,
- long bytes);
- void final_statistics_null(char *fn, double time, int rate, long total_samples,
- long bytes);
- void encode_error(char *errmsg);
- typedef struct {
- char *arg;
- char *val;
- } adv_opt;
- typedef struct
- {
- char **title;
- int title_count;
- char **artist;
- int artist_count;
- char **album;
- int album_count;
- char **comments;
- int comment_count;
- char **tracknum;
- int track_count;
- char **dates;
- int date_count;
- char **genre;
- int genre_count;
- adv_opt *advopt;
- int advopt_count;
- int copy_comments;
- int quiet;
- int rawmode;
- int raw_samplesize;
- int raw_samplerate;
- int raw_channels;
- int raw_endianness;
- char *namefmt;
- char *namefmt_remove;
- char *namefmt_replace;
- char *outfile;
- /* All 3 in kbps */
- int managed;
- int min_bitrate;
- int nominal_bitrate;
- int max_bitrate;
- /* Float from 0 to 1 (low->high) */
- float quality;
- int quality_set;
- int resamplefreq;
- int downmix;
- float scale;
- unsigned int serial;
- } oe_options;
- typedef struct
- {
- vorbis_comment *comments;
- unsigned int serialno;
- audio_read_func read_samples;
- progress_func progress_update;
- enc_end_func end_encode;
- enc_start_func start_encode;
- error_func error;
-
- void *readdata;
- long total_samples_per_channel;
- int channels;
- long rate;
- int samplesize;
- int endianness;
- int resamplefreq;
- int copy_comments;
- /* Various bitrate/quality options */
- int managed;
- int bitrate;
- int min_bitrate;
- int max_bitrate;
- float quality;
- int quality_set;
- adv_opt *advopt;
- int advopt_count;
- FILE *out;
- char *filename;
- char *infilename;
- } oe_enc_opt;
- int oe_encode(oe_enc_opt *opt);
- #define __AUDIO_H
- int setup_resample(oe_enc_opt *opt);
- void clear_resample(oe_enc_opt *opt);
- void setup_downmix(oe_enc_opt *opt);
- void clear_downmix(oe_enc_opt *opt);
- void setup_scaler(oe_enc_opt *opt, float scale);
- void clear_scaler(oe_enc_opt *opt);
- typedef struct
- {
- int (*id_func)(unsigned char *buf, int len); /* Returns true if can load file */
- int id_data_len; /* Amount of data needed to id whether this can load the file */
- int (*open_func)(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen);
- void (*close_func)(void *);
- char *format;
- char *description;
- } input_format;
- typedef struct {
- short format;
- short channels;
- int samplerate;
- int bytespersec;
- short align;
- short samplesize;
- } wav_fmt;
- typedef struct {
- short channels;
- short samplesize;
- long totalsamples;
- long samplesread;
- FILE *f;
- short bigendian;
- } wavfile;
- typedef struct {
- short channels;
- int totalframes;
- short samplesize;
- int rate;
- int offset;
- int blocksize;
- } aiff_fmt;
- typedef wavfile aifffile; /* They're the same */
- input_format *open_audio_file(FILE *in, oe_enc_opt *opt);
- int raw_open(FILE *in, oe_enc_opt *opt);
- int wav_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen);
- int aiff_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen);
- int wav_id(unsigned char *buf, int len);
- int aiff_id(unsigned char *buf, int len);
- void wav_close(void *);
- void raw_close(void *);
- long wav_read(void *, float **buffer, int samples);
- long wav_ieee_read(void *, float **buffer, int samples);
- long raw_read_stereo(void *, float **buffer, int samples);
- #define _(X) (X)
- #define textdomain(X)
- #define bindtextdomain(X, Y)
- #define N_(X) (X)
- #define VERSION_STRING "OggEnc v1.0.1 (libvorbis 1.0.1)\n"
- #define COPYRIGHT "(c) 2000-2003 Michael Smith <msmith@xiph.org>\n"
- #define CHUNK 4096 /* We do reads, etc. in multiples of this */
- struct option long_options[] = {
- {"quiet",0,0,'Q'},
- {"help",0,0,'h'},
- {"comment",1,0,'c'},
- {"artist",1,0,'a'},
- {"album",1,0,'l'},
- {"title",1,0,'t'},
- {"genre",1,0,'G'},
- {"names",1,0,'n'},
- {"name-remove",1,0,'X'},
- {"name-replace",1,0,'P'},
- {"output",1,0,'o'},
- {"version",0,0,'v'},
- {"raw",0,0,'r'},
- {"raw-bits",1,0,'B'},
- {"raw-chan",1,0,'C'},
- {"raw-rate",1,0,'R'},
- {"raw-endianness",1,0, 0},
- {"bitrate",1,0,'b'},
- {"min-bitrate",1,0,'m'},
- {"max-bitrate",1,0,'M'},
- {"quality",1,0,'q'},
- {"date",1,0,'d'},
- {"tracknum",1,0,'N'},
- {"serial",1,0,'s'},
- {"managed", 0, 0, 0},
- {"resample",1,0,0},
- {"downmix", 0,0,0},
- {"scale", 1, 0, 0},
- {"advanced-encode-option", 1, 0, 0},
- {"discard-comments", 0, 0, 0},
- {NULL,0,0,0}
- };
-
- static char *generate_name_string(char *format, char *remove_list,
- char *replace_list, char *artist, char *title, char *album,
- char *track, char *date, char *genre);
- static void parse_options(int argc, char **argv, oe_options *opt);
- static void build_comments(vorbis_comment *vc, oe_options *opt, int filenum,
- char **artist,char **album, char **title, char **tracknum, char **date,
- char **genre);
- static void usage(void);
- int main(int argc, char **argv)
- {
- /* Default values */
- oe_options opt = {NULL, 0, NULL, 0, NULL, 0, NULL, 0, NULL,
- 0, NULL, 0, NULL, 0, NULL, 0, 1, 0, 0,16,44100,2, 0, NULL,
- DEFAULT_NAMEFMT_REMOVE, DEFAULT_NAMEFMT_REPLACE,
- NULL, 0, -1,-1,-1,.3,-1,0, 0,0.f, 0};
- int i;
- char **infiles;
- int numfiles;
- int errors=0;
- parse_options(argc, argv, &opt);
- if(optind >= argc)
- {
- fprintf(stderr, _("%s%s\nERROR: No input files specified. Use -h for help.\n"), VERSION_STRING, COPYRIGHT);
- return 1;
- }
- else
- {
- infiles = argv + optind;
- numfiles = argc - optind;
- }
- /* Now, do some checking for illegal argument combinations */
- for(i = 0; i < numfiles; i++)
- {
- if(!strcmp(infiles[i], "-") && numfiles > 1)
- {
- fprintf(stderr, _("ERROR: Multiple files specified when using stdin\n"));
- exit(1);
- }
- }
- if(numfiles > 1 && opt.outfile)
- {
- fprintf(stderr, _("ERROR: Multiple input files with specified output filename: suggest using -n\n"));
- exit(1);
- }
- if(opt.serial == 0)
- {
- /* We randomly pick a serial number. This is then incremented for each file */
- srand(time(NULL));
- opt.serial = rand();
- }
- for(i = 0; i < numfiles; i++)
- {
- /* Once through the loop for each file */
- oe_enc_opt enc_opts;
- vorbis_comment vc;
- char *out_fn = NULL;
- FILE *in, *out = NULL;
- int foundformat = 0;
- int closeout = 0, closein = 0;
- char *artist=NULL, *album=NULL, *title=NULL, *track=NULL;
- char *date=NULL, *genre=NULL;
- input_format *format;
- /* Set various encoding defaults */
- enc_opts.serialno = opt.serial++;
- enc_opts.progress_update = update_statistics_full;
- enc_opts.start_encode = start_encode_full;
- enc_opts.end_encode = final_statistics;
- enc_opts.error = encode_error;
- enc_opts.comments = &vc;
- enc_opts.copy_comments = opt.copy_comments;
- /* OK, let's build the vorbis_comments structure */
- build_comments(&vc, &opt, i, &artist, &album, &title, &track,
- &date, &genre);
- if(!strcmp(infiles[i], "-"))
- {
- setbinmode(stdin);
- in = stdin;
- infiles[i] = NULL;
- if(!opt.outfile)
- {
- setbinmode(stdout);
- out = stdout;
- }
- }
- else
- {
- in = fopen(infiles[i], "rb");
- if(in == NULL)
- {
- fprintf(stderr, _("ERROR: Cannot open input file \"%s\": %s\n"), infiles[i], strerror(errno));
- free(out_fn);
- errors++;
- continue;
- }
- closein = 1;
- }
- /* Now, we need to select an input audio format - we do this before opening
- the output file so that we don't end up with a 0-byte file if the input
- file can't be read */
- if(opt.rawmode)
- {
- enc_opts.rate=opt.raw_samplerate;
- enc_opts.channels=opt.raw_channels;
- enc_opts.samplesize=opt.raw_samplesize;
- enc_opts.endianness=opt.raw_endianness;
- raw_open(in, &enc_opts);
- foundformat=1;
- }
- else
- {
- format = open_audio_file(in, &enc_opts);
- if(format)
- {
- if(!opt.quiet)
- fprintf(stderr, _("Opening with %s module: %s\n"),
- format->format, format->description);
- foundformat=1;
- }
- }
- if(!foundformat)
- {
- fprintf(stderr, _("ERROR: Input file \"%s\" is not a supported format\n"), infiles[i]?infiles[i]:"(stdin)");
- if(closein)
- fclose(in);
- errors++;
- continue;
- }
- /* Ok. We can read the file - so now open the output file */
- if(opt.outfile && !strcmp(opt.outfile, "-"))
- {
- setbinmode(stdout);
- out = stdout;
- }
- else if(out == NULL)
- {
- if(opt.outfile)
- {
- out_fn = strdup(opt.outfile);
- }
- else if(opt.namefmt)
- {
- out_fn = generate_name_string(opt.namefmt, opt.namefmt_remove,
- opt.namefmt_replace, artist, title, album, track,date,
- genre);
- }
- /* This bit was widely derided in mid-2002, so it's been removed */
- /*
- else if(opt.title)
- {
- out_fn = malloc(strlen(title) + 5);
- strcpy(out_fn, title);
- strcat(out_fn, ".ogg");
- }
- */
- else if(infiles[i])
- {
- /* Create a filename from existing filename, replacing extension with .ogg */
- char *start, *end;
- start = infiles[i];
- end = strrchr(infiles[i], '.');
- end = end?end:(start + strlen(infiles[i])+1);
-
- out_fn = malloc(end - start + 5);
- strncpy(out_fn, start, end-start);
- out_fn[end-start] = 0;
- strcat(out_fn, ".ogg");
- }
- else {
- fprintf(stderr, _("WARNING: No filename, defaulting to \"default.ogg\"\n"));
- out_fn = strdup("default.ogg");
- }
- /* Create any missing subdirectories, if possible */
- if(create_directories(out_fn)) {
- if(closein)
- fclose(in);
- fprintf(stderr, _("ERROR: Could not create required subdirectories for output filename \"%s\"\n"), out_fn);
- errors++;
- free(out_fn);
- continue;
- }
- out = fopen(out_fn, "wb");
- if(out == NULL)
- {
- if(closein)
- fclose(in);
- fprintf(stderr, _("ERROR: Cannot open output file \"%s\": %s\n"), out_fn, strerror(errno));
- errors++;
- free(out_fn);
- continue;
- }
- closeout = 1;
- }
- /* Now, set the rest of the options */
- enc_opts.out = out;
- enc_opts.comments = &vc;
- enc_opts.filename = out_fn;
- enc_opts.infilename = infiles[i];
- enc_opts.managed = opt.managed;
- enc_opts.bitrate = opt.nominal_bitrate;
- enc_opts.min_bitrate = opt.min_bitrate;
- enc_opts.max_bitrate = opt.max_bitrate;
- enc_opts.quality = opt.quality;
- enc_opts.quality_set = opt.quality_set;
- enc_opts.advopt = opt.advopt;
- enc_opts.advopt_count = opt.advopt_count;
- if(opt.resamplefreq && opt.resamplefreq != enc_opts.rate) {
- int fromrate = enc_opts.rate;
- enc_opts.resamplefreq = opt.resamplefreq;
- if(setup_resample(&enc_opts)) {
- errors++;
- goto clear_all;
- }
- else if(!opt.quiet)
- fprintf(stderr, _("Resampling input from %d Hz to %d Hz\n"), fromrate, opt.resamplefreq);
- }
- if(opt.downmix) {
- if(enc_opts.channels == 2) {
- setup_downmix(&enc_opts);
- if(!opt.quiet)
- fprintf(stderr, _("Downmixing stereo to mono\n"));
- }
- else {
- fprintf(stderr, _("ERROR: Can't downmix except from stereo to mono\n"));
- errors++;
- if(opt.resamplefreq && opt.resamplefreq != enc_opts.rate)
- clear_resample(&enc_opts);
- goto clear_all;
- }
- }
- if(opt.scale > 0.f) {
- setup_scaler(&enc_opts, opt.scale);
- if(!opt.quiet)
- fprintf(stderr, _("Scaling input to %f\n"), opt.scale);
- }
- if(!enc_opts.total_samples_per_channel)
- enc_opts.progress_update = update_statistics_notime;
- if(opt.quiet)
- {
- enc_opts.start_encode = start_encode_null;
- enc_opts.progress_update = update_statistics_null;
- enc_opts.end_encode = final_statistics_null;
- }
- if(oe_encode(&enc_opts))
- errors++;
- if(opt.scale > 0)
- clear_scaler(&enc_opts);
- if(opt.downmix)
- clear_downmix(&enc_opts);
- if(opt.resamplefreq && opt.resamplefreq != enc_opts.rate)
- clear_resample(&enc_opts);
- clear_all:
- if(out_fn) free(out_fn);
- if(opt.outfile) free(opt.outfile);
- vorbis_comment_clear(&vc);
- if(!opt.rawmode)
- format->close_func(enc_opts.readdata);
- if(closein)
- fclose(in);
- if(closeout)
- fclose(out);
- }/* Finished this file, loop around to next... */
- return errors?1:0;
- }
- static void usage(void)
- {
- fprintf(stdout,
- _("%s%s\n"
- "Usage: oggenc [options] input.wav [...]\n"
- "\n"
- "OPTIONS:\n"
- " General:\n"
- " -Q, --quiet Produce no output to stderr\n"
- " -h, --help Print this help text\n"
- " -r, --raw Raw mode. Input files are read directly as PCM data\n"
- " -B, --raw-bits=n Set bits/sample for raw input. Default is 16\n"
- " -C, --raw-chan=n Set number of channels for raw input. Default is 2\n"
- " -R, --raw-rate=n Set samples/sec for raw input. Default is 44100\n"
- " --raw-endianness 1 for bigendian, 0 for little (defaults to 0)\n"
- " -b, --bitrate Choose a nominal bitrate to encode at. Attempt\n"
- " to encode at a bitrate averaging this. Takes an\n"
- " argument in kbps. This uses the bitrate management\n"
- " engine, and is not recommended for most users.\n"
- " See -q, --quality for a better alternative.\n"
- " -m, --min-bitrate Specify a minimum bitrate (in kbps). Useful for\n"
- " encoding for a fixed-size channel.\n"
- " -M, --max-bitrate Specify a maximum bitrate in kbps. Useful for\n"
- " streaming applications.\n"
- " -q, --quality Specify quality between 0 (low) and 10 (high),\n"
- " instead of specifying a particular bitrate.\n"
- " This is the normal mode of operation.\n"
- " Fractional qualities (e.g. 2.75) are permitted\n"
- " Quality -1 is also possible, but may not be of\n"
- " acceptable quality.\n"
- " --resample n Resample input data to sampling rate n (Hz)\n"
- " --downmix Downmix stereo to mono. Only allowed on stereo\n"
- " input.\n"
- " -s, --serial Specify a serial number for the stream. If encoding\n"
- " multiple files, this will be incremented for each\n"
- " stream after the first.\n"
- " --discard-comments Prevents comments in FLAC and Ogg FLAC files from\n"
- " being copied to the output Ogg Vorbis file.\n"
- "\n"
- " Naming:\n"
- " -o, --output=fn Write file to fn (only valid in single-file mode)\n"
- " -n, --names=string Produce filenames as this string, with %%a, %%t, %%l,\n"
- " %%n, %%d replaced by artist, title, album, track number,\n"
- " and date, respectively (see below for specifying these).\n"
- " %%%% gives a literal %%.\n"
- " -X, --name-remove=s Remove the specified characters from parameters to the\n"
- " -n format string. Useful to ensure legal filenames.\n"
- " -P, --name-replace=s Replace characters removed by --name-remove with the\n"
- " characters specified. If this string is shorter than the\n"
- " --name-remove list or is not specified, the extra\n"
- " characters are just removed.\n"
- " Default settings for the above two arguments are platform\n"
- " specific.\n"
- " -c, --comment=c Add the given string as an extra comment. This may be\n"
- " used multiple times. The argument should be in the\n"
- " format \"tag=value\".\n"
- " -d, --date Date for track (usually date of performance)\n"
- " -N, --tracknum Track number for this track\n"
- " -t, --title Title for this track\n"
- " -l, --album Name of album\n"
- " -a, --artist Name of artist\n"
- " -G, --genre Genre of track\n"
- " If multiple input files are given, then multiple\n"
- " instances of the previous five arguments will be used,\n"
- " in the order they are given. If fewer titles are\n"
- " specified than files, OggEnc will print a warning, and\n"
- " reuse the final one for the remaining files. If fewer\n"
- " track numbers are given, the remaining files will be\n"
- " unnumbered. For the others, the final tag will be reused\n"
- " for all others without warning (so you can specify a date\n"
- " once, for example, and have it used for all the files)\n"
- "\n"
- "INPUT FILES:\n"
- " OggEnc input files must currently be 24, 16, or 8 bit PCM WAV, AIFF, or AIFF/C\n"
- " files, 32 bit IEEE floating point WAV, and optionally FLAC or Ogg FLAC. Files\n"
- " may be mono or stereo (or more channels) and any sample rate.\n"
- " Alternatively, the --raw option may be used to use a raw PCM data file, which\n"
- " must be 16 bit stereo little-endian PCM ('headerless wav'), unless additional\n"
- " parameters for raw mode are specified.\n"
- " You can specify taking the file from stdin by using - as the input filename.\n"
- " In this mode, output is to stdout unless an output filename is specified\n"
- " with -o\n"
- "\n"), VERSION_STRING, COPYRIGHT);
- }
- static int strncpy_filtered(char *dst, char *src, int len, char *remove_list,
- char *replace_list)
- {
- char *hit, *drop_margin;
- int used=0;
- if(remove_list == NULL || *remove_list == 0)
- {
- strncpy(dst, src, len-1);
- dst[len-1] = 0;
- return strlen(dst);
- }
- drop_margin = remove_list + (replace_list == NULL?0:strlen(replace_list));
- while(*src && used < len-1)
- {
- if((hit = strchr(remove_list, *src)) != NULL)
- {
- if(hit < drop_margin)
- {
- *dst++ = replace_list[hit - remove_list];
- used++;
- }
- }
- else
- {
- *dst++ = *src;
- used++;
- }
- src++;
- }
- *dst = 0;
- return used;
- }
- static char *generate_name_string(char *format, char *remove_list,
- char *replace_list, char *artist, char *title, char *album,
- char *track, char *date, char *genre)
- {
- char *buffer;
- char next;
- char *string;
- int used=0;
- int buflen;
- buffer = calloc(CHUNK+1,1);
- buflen = CHUNK;
- while(*format && used < buflen)
- {
- next = *format++;
- if(next == '%')
- {
- switch(*format++)
- {
- case '%':
- *(buffer+(used++)) = '%';
- break;
- case 'a':
- string = artist?artist:_("(none)");
- used += strncpy_filtered(buffer+used, string, buflen-used,
- remove_list, replace_list);
- break;
- case 'd':
- string = date?date:_("(none)");
- used += strncpy_filtered(buffer+used, string, buflen-used,
- remove_list, replace_list);
- break;
- case 'g':
- string = genre?genre:_("(none)");
- used += strncpy_filtered(buffer+used, string, buflen-used,
- remove_list, replace_list);
- break;
- case 't':
- string = title?title:_("(none)");
- used += strncpy_filtered(buffer+used, string, buflen-used,
- remove_list, replace_list);
- break;
- case 'l':
- string = album?album:_("(none)");
- used += strncpy_filtered(buffer+used, string, buflen-used,
- remove_list, replace_list);
- break;
- case 'n':
- string = track?track:_("(none)");
- used += strncpy_filtered(buffer+used, string, buflen-used,
- remove_list, replace_list);
- break;
- default:
- fprintf(stderr, _("WARNING: Ignoring illegal escape character '%c' in name format\n"), *(format - 1));
- break;
- }
- }
- else
- *(buffer + (used++)) = next;
- }
- return buffer;
- }
- static void parse_options(int argc, char **argv, oe_options *opt)
- {
- int ret;
- int option_index = 1;
- while((ret = getopt_long(argc, argv, "A:a:b:B:c:C:d:G:hl:m:M:n:N:o:P:q:QrR:s:t:vX:",
- long_options, &option_index)) != -1)
- {
- switch(ret)
- {
- case 0:
- if(!strcmp(long_options[option_index].name, "managed")) {
- if(!opt->managed){
- if(!opt->quiet)
- fprintf(stderr,
- _("Enabling bitrate management engine\n"));
- opt->managed = 1;
- }
- }
- else if(!strcmp(long_options[option_index].name,
- "raw-endianness")) {
- if (opt->rawmode != 1)
- {
- opt->rawmode = 1;
- fprintf(stderr, _("WARNING: Raw endianness specified for non-raw data. Assuming input is raw.\n"));
- }
- if(sscanf(optarg, "%d", &opt->raw_endianness) != 1) {
- fprintf(stderr, _("WARNING: Couldn't read endianness argument \"%s\"\n"), optarg);
- opt->raw_endianness = 0;
- }
- }
- else if(!strcmp(long_options[option_index].name,
- "resample")) {
- if(sscanf(optarg, "%d", &opt->resamplefreq) != 1) {
- fprintf(stderr, _("WARNING: Couldn't read resampling frequency \"%s\"\n"), optarg);
- opt->resamplefreq = 0;
- }
- if(opt->resamplefreq < 100) /* User probably specified it
- in kHz accidently */
- fprintf(stderr,
- _("Warning: Resample rate specified as %d Hz. Did you mean %d Hz?\n"),
- opt->resamplefreq, opt->resamplefreq*1000);
- }
- else if(!strcmp(long_options[option_index].name, "downmix")) {
- opt->downmix = 1;
- }
- else if(!strcmp(long_options[option_index].name, "scale")) {
- opt->scale = atof(optarg);
- if(sscanf(optarg, "%f", &opt->scale) != 1) {
- opt->scale = 0;
- fprintf(stderr, _("Warning: Couldn't parse scaling factor \"%s\"\n"),
- optarg);
- }
- }
- else if(!strcmp(long_options[option_index].name, "advanced-encode-option")) {
- char *arg = strdup(optarg);
- char *val;
- val = strchr(arg, '=');
- if(val == NULL) {
- fprintf(stderr, _("No value for advanced encoder option found\n"));
- continue;
- }
- else
- *val++=0;
- opt->advopt = realloc(opt->advopt, (++opt->advopt_count)*sizeof(adv_opt));
- opt->advopt[opt->advopt_count - 1].arg = arg;
- opt->advopt[opt->advopt_count - 1].val = val;
- }
- else if(!strcmp(long_options[option_index].name, "discard-comments")) {
- opt->copy_comments = 0;
- }
- else {
- fprintf(stderr, _("Internal error parsing command line options\n"));
- exit(1);
- }
- break;
- case 'a':
- opt->artist = realloc(opt->artist, (++opt->artist_count)*sizeof(char *));
- opt->artist[opt->artist_count - 1] = strdup(optarg);
- break;
- case 'c':
- if(strchr(optarg, '=') == NULL) {
- fprintf(stderr, _("Warning: Illegal comment used (\"%s\"), ignoring.\n"), optarg);
- break;
- }
- opt->comments = realloc(opt->comments, (++opt->comment_count)*sizeof(char *));
- opt->comments[opt->comment_count - 1] = strdup(optarg);
- break;
- case 'd':
- opt->dates = realloc(opt->dates, (++opt->date_count)*sizeof(char *));
- opt->dates[opt->date_count - 1] = strdup(optarg);
- break;
- case 'G':
- opt->genre = realloc(opt->genre, (++opt->genre_count)*sizeof(char *));
- opt->genre[opt->genre_count - 1] = strdup(optarg);
- break;
- case 'h':
- usage();
- exit(0);
- break;
- case 'l':
- opt->album = realloc(opt->album, (++opt->album_count)*sizeof(char *));
- opt->album[opt->album_count - 1] = strdup(optarg);
- break;
- case 's':
- /* Would just use atoi(), but that doesn't deal with unsigned
- * ints. Damn */
- if(sscanf(optarg, "%u", &opt->serial) != 1)
- opt->serial = 0; /* Failed, so just set to zero */
- break;
- case 't':
- opt->title = realloc(opt->title, (++opt->title_count)*sizeof(char *));
- opt->title[opt->title_count - 1] = strdup(optarg);
- break;
- case 'b':
- if(sscanf(optarg, "%d", &opt->nominal_bitrate)
- != 1) {
- fprintf(stderr, _("Warning: nominal bitrate \"%s\" not recognised\n"), optarg);
- opt->nominal_bitrate = -1;
- }
- break;
- case 'm':
- if(sscanf(optarg, "%d", &opt->min_bitrate)
- != 1) {
- fprintf(stderr, _("Warning: minimum bitrate \"%s\" not recognised\n"), optarg);
- opt->min_bitrate = -1;
- }
- if(!opt->managed){
- if(!opt->quiet)
- fprintf(stderr,
- _("Enabling bitrate management engine\n"));
- opt->managed = 1;
- }
- break;
- case 'M':
- if(sscanf(optarg, "%d", &opt->max_bitrate)
- != 1) {
- fprintf(stderr, _("Warning: maximum bitrate \"%s\" not recognised\n"), optarg);
- opt->max_bitrate = -1;
- }
- if(!opt->managed){
- if(!opt->quiet)
- fprintf(stderr,
- _("Enabling bitrate management engine\n"));
- opt->managed = 1;
- }
- break;
- case 'q':
- if(sscanf(optarg, "%f", &opt->quality) != 1) {
- fprintf(stderr, _("Quality option \"%s\" not recognised, ignoring\n"), optarg);
- break;
- }
- opt->quality_set=1;
- opt->quality *= 0.1;
- if(opt->quality > 1.0f)
- {
- opt->quality = 1.0f;
- fprintf(stderr, _("WARNING: quality setting too high, setting to maximum quality.\n"));
- }
- break;
- case 'n':
- if(opt->namefmt)
- {
- fprintf(stderr, _("WARNING: Multiple name formats specified, using final\n"));
- free(opt->namefmt);
- }
- opt->namefmt = strdup(optarg);
- break;
- case 'X':
- if(opt->namefmt_remove && opt->namefmt_remove !=
- DEFAULT_NAMEFMT_REMOVE)
- {
- fprintf(stderr, _("WARNING: Multiple name format filters specified, using final\n"));
- free(opt->namefmt_remove);
- }
- opt->namefmt_remove = strdup(optarg);
- break;
- case 'P':
- if(opt->namefmt_replace && opt->namefmt_replace !=
- DEFAULT_NAMEFMT_REPLACE)
- {
- fprintf(stderr, _("WARNING: Multiple name format filter replacements specified, using final\n"));
- free(opt->namefmt_replace);
- }
- opt->namefmt_replace = strdup(optarg);
- break;
- case 'o':
- if(opt->outfile)
- {
- fprintf(stderr, _("WARNING: Multiple output files specified, suggest using -n\n"));
- free(opt->outfile);
- }
- opt->outfile = strdup(optarg);
- break;
- case 'Q':
- opt->quiet = 1;
- break;
- case 'r':
- opt->rawmode = 1;
- break;
- case 'v':
- fprintf(stdout, VERSION_STRING);
- exit(0);
- break;
- case 'B':
- if (opt->rawmode != 1)
- {
- opt->rawmode = 1;
- fprintf(stderr, _("WARNING: Raw bits/sample specified for non-raw data. Assuming input is raw.\n"));
- }
- if(sscanf(optarg, "%u", &opt->raw_samplesize) != 1)
- {
- opt->raw_samplesize = 16; /* Failed, so just set to 16 */
- fprintf(stderr, _("WARNING: Invalid bits/sample specified, assuming 16.\n"));
- }
- if((opt->raw_samplesize != 8) && (opt->raw_samplesize != 16))
- {
- fprintf(stderr, _("WARNING: Invalid bits/sample specified, assuming 16.\n"));
- }
- break;
- case 'C':
- if (opt->rawmode != 1)
- {
- opt->rawmode = 1;
- fprintf(stderr, _("WARNING: Raw channel count specified for non-raw data. Assuming input is raw.\n"));
- }
- if(sscanf(optarg, "%u", &opt->raw_channels) != 1)
- {
- opt->raw_channels = 2; /* Failed, so just set to 2 */
- fprintf(stderr, _("WARNING: Invalid channel count specified, assuming 2.\n"));
- }
- break;
- case 'N':
- opt->tracknum = realloc(opt->tracknum, (++opt->track_count)*sizeof(char *));
- opt->tracknum[opt->track_count - 1] = strdup(optarg);
- break;
- case 'R':
- if (opt->rawmode != 1)
- {
- opt->rawmode = 1;
- fprintf(stderr, _("WARNING: Raw sample rate specified for non-raw data. Assuming input is raw.\n"));
- }
- if(sscanf(optarg, "%u", &opt->raw_samplerate) != 1)
- {
- opt->raw_samplerate = 44100; /* Failed, so just set to 44100 */
- fprintf(stderr, _("WARNING: Invalid sample rate specified, assuming 44100.\n"));
- }
- break;
- case '?':
- fprintf(stderr, _("WARNING: Unknown option specified, ignoring->\n"));
- break;
- default:
- usage();
- exit(0);
- }
- }
- }
- static void add_tag(vorbis_comment *vc, oe_options *opt,char *name, char *value)
- {
- if(name == NULL)
- vorbis_comment_add(vc, value);
- else
- vorbis_comment_add_tag(vc, name, value);
- }
- static void build_comments(vorbis_comment *vc, oe_options *opt, int filenum,
- char **artist, char **album, char **title, char **tracknum,
- char **date, char **genre)
- {
- int i;
- vorbis_comment_init(vc);
- for(i = 0; i < opt->comment_count; i++)
- add_tag(vc, opt, NULL, opt->comments[i]);
- if(opt->title_count)
- {
- if(filenum >= opt->title_count)
- {
- if(!opt->quiet)
- fprintf(stderr, _("WARNING: Insufficient titles specified, defaulting to final title.\n"));
- i = opt->title_count-1;
- }
- else
- i = filenum;
- *title = opt->title[i];
- add_tag(vc, opt, "title", opt->title[i]);
- }
- if(opt->artist_count)
- {
- if(filenum >= opt->artist_count)
- i = opt->artist_count-1;
- else
- i = filenum;
-
- *artist = opt->artist[i];
- add_tag(vc, opt, "artist", opt->artist[i]);
- }
- if(opt->genre_count)
- {
- if(filenum >= opt->genre_count)
- i = opt->genre_count-1;
- else
- i = filenum;
- *genre = opt->genre[i];
- add_tag(vc, opt, "genre", opt->genre[i]);
- }
- if(opt->date_count)
- {
- if(filenum >= opt->date_count)
- i = opt->date_count-1;
- else
- i = filenum;
-
- *date = opt->dates[i];
- add_tag(vc, opt, "date", opt->dates[i]);
- }
-
- if(opt->album_count)
- {
- if(filenum >= opt->album_count)
- {
- i = opt->album_count-1;
- }
- else
- i = filenum;
- *album = opt->album[i];
- add_tag(vc, opt, "album", opt->album[i]);
- }
- if(filenum < opt->track_count)
- {
- i = filenum;
- *tracknum = opt->tracknum[i];
- add_tag(vc, opt, "tracknumber", opt->tracknum[i]);
- }
- }
- /* OggEnc
- **
- ** This program is distributed under the GNU General Public License, version 2.
- ** A copy of this license is included with this source.
- **
- ** Copyright 2000-2002, Michael Smith <msmith@xiph.org>
- **
- ** AIFF/AIFC support from OggSquish, (c) 1994-1996 Monty <xiphmont@xiph.org>
- **/
- /* This program is licensed under the GNU Library General Public License,
- * version 2, a copy of which is included with this program (LICENCE.LGPL).
- *
- * (c) 2002 Simon Hosie <gumboot@clear.net.nz>
- *
- *
- * A resampler
- *
- * reference:
- * 'Digital Filters', third edition, by R. W. Hamming ISBN 0-486-65088-X
- *
- * history:
- * 2002-05-31 ready for the world (or some small section thereof)
- *
- *
- * TOOD:
- * zero-crossing clipping in coefficient table
- */
- #define _RESAMPLE_H_INCLUDED
- typedef float SAMPLE;
- typedef struct
- {
- unsigned int channels, infreq, outfreq, taps;
- float *table;
- SAMPLE *pool;
- /* dynamic bits */
- int poolfill;
- int offset;
- } res_state;
- typedef enum
- {
- RES_END,
- RES_GAIN, /* (double)1.0 */
- RES_CUTOFF, /* (double)0.80 */
- RES_TAPS, /* (int)45 */
- RES_BETA /* (double)16.0 */
- } res_parameter;
- int res_init(res_state *state, int channels, int outfreq, int infreq, res_parameter op1, ...);
- /*
- * Configure *state to manage a data stream with the specified parameters. The
- * string 'params' is currently unspecified, but will configure the parameters
- * of the filter.
- *
- * This function allocates memory, and requires that res_clear() be called when
- * the buffer is no longer needed.
- *
- *
- * All counts/lengths used in the following functions consider only the data in
- * a single channel, and in numbers of samples rather than bytes, even though
- * functionality will be mirrored across as many channels as specified here.
- */
- int res_push_max_input(res_state const *state, size_t maxoutput);
- /*
- * Returns the maximum number of input elements that may be provided without
- * risk of flooding an output buffer of size maxoutput. maxoutput is
- * specified in counts of elements, NOT in bytes.
- */
- int res_push_check(res_state const *state, size_t srclen);
- /*
- * Returns the number of elements that will be returned if the given srclen
- * is used in the next call to res_push().
- */
- int res_push(res_state *state, SAMPLE **dstlist, SAMPLE const **srclist, size_t srclen);
- int res_push_interleaved(res_state *state, SAMPLE *dest, SAMPLE const *source, size_t srclen);
- /*
- * Pushes srclen samples into the front end of the filter, and returns the
- * number of resulting samples.
- *
- * res_push(): srclist and dstlist point to lists of pointers, each of which
- * indicates the beginning of a list of samples.
- *
- * res_push_interleaved(): source and dest point to the beginning of a list of
- * interleaved samples.
- */
- int res_drain(res_state *state, SAMPLE **dstlist);
- int res_drain_interleaved(res_state *state, SAMPLE *dest);
- /*
- * Recover the remaining elements by flushing the internal pool with 0 values,
- * and storing the resulting samples.
- *
- * After either of these functions are called, *state should only re-used in a
- * final call to res_clear().
- */
- void res_clear(res_state *state);
- /*
- * Free allocated buffers, etc.
- */
- #define WAV_HEADER_SIZE 44
- /* Macros to read header data */
- #define READ_U32_LE(buf) \
- (((buf)[3]<<24)|((buf)[2]<<16)|((buf)[1]<<8)|((buf)[0]&0xff))
- #define READ_U16_LE(buf) \
- (((buf)[1]<<8)|((buf)[0]&0xff))
- #define READ_U32_BE(buf) \
- (((buf)[0]<<24)|((buf)[1]<<16)|((buf)[2]<<8)|((buf)[3]&0xff))
- #define READ_U16_BE(buf) \
- (((buf)[0]<<8)|((buf)[1]&0xff))
- /* Define the supported formats here */
- input_format formats[] = {
- {wav_id, 12, wav_open, wav_close, "wav", N_("WAV file reader")},
- {aiff_id, 12, aiff_open, wav_close, "aiff", N_("AIFF/AIFC file reader")},
- #ifdef HAVE_LIBFLAC
- {flac_id, 4, flac_open, flac_close, "flac", N_("FLAC file reader")},
- {oggflac_id, 32, flac_open, flac_close, "ogg", N_("Ogg FLAC file reader")},
- #endif
- {NULL, 0, NULL, NULL, NULL, NULL}
- };
- input_format *open_audio_file(FILE *in, oe_enc_opt *opt)
- {
- int j=0;
- unsigned char *buf=NULL;
- int buf_size=0, buf_filled=0;
- int size,ret;
- while(formats[j].id_func)
- {
- size = formats[j].id_data_len;
- if(size >= buf_size)
- {
- buf = realloc(buf, size);
- buf_size = size;
- }
- if(size > buf_filled)
- {
- ret = fread(buf+buf_filled, 1, buf_size-buf_filled, in);
- buf_filled += ret;
- if(buf_filled < size)
- { /* File truncated */
- j++;
- continue;
- }
- }
- if(formats[j].id_func(buf, buf_filled))
- {
- /* ok, we now have something that can handle the file */
- if(formats[j].open_func(in, opt, buf, buf_filled)) {
- free(buf);
- return &formats[j];
- }
- }
- j++;
- }
- free(buf);
- return NULL;
- }
- static int seek_forward(FILE *in, int length)
- {
- if(fseek(in, length, SEEK_CUR))
- {
- /* Failed. Do it the hard way. */
- unsigned char buf[1024];
- int seek_needed = length, seeked;
- while(seek_needed > 0)
- {
- seeked = fread(buf, 1, seek_needed>1024?1024:seek_needed, in);
- if(!seeked)
- return 0; /* Couldn't read more, can't read file */
- else
- seek_needed -= seeked;
- }
- }
- return 1;
- }
- static int find_wav_chunk(FILE *in, char *type, unsigned int *len)
- {
- unsigned char buf[8];
- while(1)
- {
- if(fread(buf,1,8,in) < 8) /* Suck down a chunk specifier */
- {
- fprintf(stderr, _("Warning: Unexpected EOF in reading WAV header\n"));
- return 0; /* EOF before reaching the appropriate chunk */
- }
- if(memcmp(buf, type, 4))
- {
- *len = READ_U32_LE(buf+4);
- if(!seek_forward(in, *len))
- return 0;
- buf[4] = 0;
- fprintf(stderr, _("Skipping chunk of type \"%s\", length %d\n"), buf, *len);
- }
- else
- {
- *len = READ_U32_LE(buf+4);
- return 1;
- }
- }
- }
- static int find_aiff_chunk(FILE *in, char *type, unsigned int *len)
- {
- unsigned char buf[8];
- while(1)
- {
- if(fread(buf,1,8,in) <8)
- {
- fprintf(stderr, _("Warning: Unexpected EOF in AIFF chunk\n"));
- return 0;
- }
- *len = READ_U32_BE(buf+4);
- if(memcmp(buf,type,4))
- {
- if((*len) & 0x1)
- (*len)++;
- if(!seek_forward(in, *len))
- return 0;
- }
- else
- return 1;
- }
- }
- double read_IEEE80(unsigned char *buf)
- {
- int s=buf[0]&0xff;
- int e=((buf[0]&0x7f)<<8)|(buf[1]&0xff);
- double f=((unsigned long)(buf[2]&0xff)<<24)|
- ((buf[3]&0xff)<<16)|
- ((buf[4]&0xff)<<8) |
- (buf[5]&0xff);
- if(e==32767)
- {
- if(buf[2]&0x80)
- return HUGE_VAL; /* Really NaN, but this won't happen in reality */
- else
- {
- if(s)
- return -HUGE_VAL;
- else
- return HUGE_VAL;
- }
- }
- f=ldexp(f,32);
- f+= ((buf[6]&0xff)<<24)|
- ((buf[7]&0xff)<<16)|
- ((buf[8]&0xff)<<8) |
- (buf[9]&0xff);
- return ldexp(f, e-16446);
- }
- /* AIFF/AIFC support adapted from the old OggSQUISH application */
- int aiff_id(unsigned char *buf, int len)
- {
- if(len<12) return 0; /* Truncated file, probably */
- if(memcmp(buf, "FORM", 4))
- return 0;
- if(memcmp(buf+8, "AIF",3))
- return 0;
- if(buf[11]!='C' && buf[11]!='F')
- return 0;
- return 1;
- }
- int aiff_open(FILE *in, oe_enc_opt *opt, unsigned char *buf, int buflen)
- {
- int aifc; /* AIFC or AIFF? */
- unsigned int len;
- unsigned char *buffer;
- unsigned char buf2[8];
- aiff_fmt format;
- aifffile *aiff = malloc(sizeof(aifffile));
- if(buf[11]=='C')
- aifc=1;
- else
- aifc=0;
- if(!find_aiff_chunk(in, "COMM", &len))
- {
- fprintf(stderr, _("Warning: No common chunk found in AIFF file\n"));
- return 0; /* EOF before COMM chunk */
- }
- if(len < 18)
- {
- fprintf(stderr, _("Warning: Truncated common chunk in AIFF header\n"));
- return 0; /* Weird common chunk */
- }
- buffer = alloca(len);
- if(fread(buffer,1,len,in) < len)
- {
- fprintf(stderr, _("Warning: Unexpected EOF in reading AIFF header\n"));
- return 0;
- }
- format.channels = READ_U16_BE(buffer);
- format.totalframes = READ_U32_BE(buffer+2);
- format.samplesize = READ_U16_BE(buffer+6);
- format.rate = (int)read_IEEE80(buffer+8);
- aiff->bigendian = 1;
- if(aifc)
- {
- if(len < 22)
- {
- fprintf(stderr, _("Warning: AIFF-C header truncated.\n"));
- return 0;
- }
- if(!memcmp(buffer+18, "NONE", 4))
- {
- aiff->bigendian = 1;
- }
- else if(!memcmp(buffer+18, "sowt", 4))
- {
- aiff->bigendian = 0;
- }
- else
- {
- fprintf(stderr, _("Warning: Can't handle compressed AIFF-C (%c%c%c%c)\n"), *(buffer+18), *(buffer+19), *(buffer+20), *(buffer+21));
- return 0; /* Compressed. Can't handle */
- }
- }
- if(!find_aiff_chunk(in, "SSND", &len))
- {
- fprintf(stderr, _("Warning: No SSND chunk found in AIFF file\n"));
- return 0; /* No SSND chunk -> no actual audio */
- }
- if(len < 8)
- {
- fprintf(stderr, _("Warning: Corrupted SSND chunk in AIFF header\n"));
- return 0;
- }
- if(fread(buf2,1,8, in) < 8)
- {
- fprintf(stderr, _("Warning: Unexpected EOF reading AIFF header\n"));
- return 0;
- }
- format.offset = READ_U32_BE(buf2);
- format.blocksize = READ_U32_BE(buf2+4);
- if( format.blocksize == 0 &&
- (format.samplesize == 16 || format.samplesize == 8))
- {
- /* From here on, this is very similar to the wav code. Oh well. */
-
- opt->rate = format.rate;
- opt->channels = format.channels;
- opt->read_samples = wav_read; /* Similar enough, so we use the same */
- opt->total_samples_per_channel = format.totalframes;
- aiff->f = in;
- aiff->samplesread = 0;
- aiff->channels = format.channels;
- aiff->samplesize = format.samplesize;
- aiff->totalsamples = format.totalframes;
- opt->readdata = (void *)aiff;
- seek_forward(in, format.offset); /* Swallow some data */
- return 1;
- }
- else
- {
- fprintf(stderr,
- _("Warning: OggEnc does not support this type of AIFF/AIFC file\n"
- " Must be 8, 16, or 24 bit PCM.\n"));
- return 0;
- }
- }
- int wav_id(unsigned char *buf, int len)
- {
- unsigned int flen;
-
- if(len<12) return 0; /* Something screwed up */
- if(memcmp(buf, "RIFF", 4))
- return 0; /* Not wave */
- flen = READ_U32_LE(buf+4); /* We don't use this */
- if(memcmp(buf+8, "WAVE",4))
- return 0; /* RIFF, but not wave */
- return 1;
- }
- int wav_open(FILE *in, oe_enc_opt *opt, unsigned char *oldbuf, int buflen)
- {
- unsigned char buf[16];
- unsigned int len;
- int samplesize;
- wav_fmt format;
- wavfile *wav = malloc(sizeof(wavfile));
- /* Ok. At this point, we know we have a WAV file. Now we have to detect
- * whether we support the subtype, and we have to find the actual data
- * We don't (for the wav reader) need to use the buffer we used to id this
- * as a wav file (oldbuf)
- */
- if(!find_wav_chunk(in, "fmt ", &len))
- return 0; /* EOF */
- if(len < 16)
- {
- fprintf(stderr, _("Warning: Unrecognised format chunk in WAV header\n"));
- return 0; /* Weird format chunk */
- }
- /* A common error is to have a format chunk that is not 16 or 18 bytes
- * in size. This is incorrect, but not fatal, so we only warn about
- * it instead of refusing to work with the file. Please, if you
- * have a program that's creating format chunks of sizes other than
- * 16 or 18 bytes in size, report a bug to the author.
- */
- if(len!=16 && len!=18)
- fprintf(stderr,
- _("Warning: INVALID format chunk in wav header.\n"
- " Trying to read anyway (may not work)...\n"));
- if(fread(buf,1,16,in) < 16)
- {
- fprintf(stderr, _("Warning: Unexpected EOF in reading WAV header\n"));
- return 0;
- }
- /* Deal with stupid broken apps. Don't use these programs.
- */
- if(len - 16 > 0 && !seek_forward(in, len-16))
- return 0;
- format.format = READ_U16_LE(buf);
- format.channels = READ_U16_LE(buf+2);
- format.samplerate = READ_U32_LE(buf+4);
- format.bytespersec = READ_U32_LE(buf+8);
- format.align = READ_U16_LE(buf+12);
- format.samplesize = READ_U16_LE(buf+14);
- if(!find_wav_chunk(in, "data", &len))
- return 0; /* EOF */
- if(format.format == 1)
- {
- samplesize = format.samplesize/8;
- opt->read_samples = wav_read;
- }
- else if(format.format == 3)
- {
- samplesize = 4;
- opt->read_samples = wav_ieee_read;
- }
- else
- {
- fprintf(stderr,
- _("ERROR: Wav file is unsupported type (must be standard PCM\n"
- " or type 3 floating point PCM\n"));
- return 0;
- }
- if( format.align == format.channels*samplesize &&
- format.samplesize == samplesize*8 &&
- (format.samplesize == 24 || format.samplesize == 16 ||
- format.samplesize == 8 ||
- (format.samplesize == 32 && format.format == 3)))
- {
- /* OK, good - we have the one supported format,
- now we want to find the size of the file */
- opt->rate = format.samplerate;
- opt->channels = format.channels;
- wav->f = in;
- wav->samplesread = 0;
- wav->bigendian = 0;
- wav->channels = format.channels; /* This is in several places. The price
- of trying to abstract stuff. */
- wav->samplesize = format.samplesize;
- if(len)
- {
- opt->total_samples_per_channel = len/(format.channels*samplesize);
- }
- else
- {
- long pos;
- pos = ftell(in);
- if(fseek(in, 0, SEEK_END) == -1)
- {
- opt->total_samples_per_channel = 0; /* Give up */
- }
- else
- {
- opt->total_samples_per_channel = (ftell(in) - pos)/
- (format.channels*samplesize);
- fseek(in,pos, SEEK_SET);
- }
- }
- wav->totalsamples = opt->total_samples_per_channel;
- opt->readdata = (void *)wav;
- return 1;
- }
- else
- {
- fprintf(stderr,
- _("ERROR: Wav file is unsupported subformat (must be 8,16, or 24 bit PCM\n"
- "or floating point PCM\n"));
- return 0;
- }
- }
- long wav_read(void *in, float **buffer, int samples)
- {
- wavfile *f = (wavfile *)in;
- int sampbyte = f->samplesize / 8;
- signed char *buf = alloca(samples*sampbyte*f->channels);
- long bytes_read = fread(buf, 1, samples*sampbyte*f->channels, f->f);
- int i,j;
- long realsamples;
- if(f->totalsamples && f->samplesread +
- bytes_read/(sampbyte*f->channels) > f->totalsamples) {
- bytes_read = sampbyte*f->channels*(f->totalsamples - f->samplesread);
- }
- realsamples = bytes_read/(sampbyte*f->channels);
- f->samplesread += realsamples;
-
- if(f->samplesize==8)
- {
- unsigned char *bufu = (unsigned char *)buf;
- for(i = 0; i < realsamples; i++)
- {
- for(j=0; j < f->channels; j++)
- {
- buffer[j][i]=((int)(bufu[i*f->channels + j])-128)/128.0f;
- }
- }
- }
- else if(f->samplesize==16)
- {
- if(!f->bigendian)
- {
- for(i = 0; i < realsamples; i++)
- {
- for(j=0; j < f->channels; j++)
- {
- buffer[j][i] = ((buf[i*2*f->channels + 2*j + 1]<<8) |
- (buf[i*2*f->channels + 2*j] & 0xff))/32768.0f;
- }
- }
- }
- else
- {
- for(i = 0; i < realsamples; i++)
- {
- for(j=0; j < f->channels; j++)
- {
- buffer[j][i]=((buf[i*2*f->channels + 2*j]<<8) |
- (buf[i*2*f->channels + 2*j + 1] & 0xff))/32768.0f;
- }
- }
- }
- }
- else if(f->samplesize==24)
- {
- if(!f->bigendian) {
- for(i = 0; i < realsamples; i++)
- {
- for(j=0; j < f->channels; j++)
- {
- buffer[j][i] = ((buf[i*3*f->channels + 3*j + 2] << 16) |
- (((unsigned char *)buf)[i*3*f->channels + 3*j + 1] << 8) |
- (((unsigned char *)buf)[i*3*f->channels + 3*j] & 0xff))
- / 8388608.0f;
- }
- }
- }
- else {
- fprintf(stderr, _("Big endian 24 bit PCM data is not currently "
- "supported, aborting.\n"));
- return 0;
- }
- }
- else {
- fprintf(stderr, _("Internal error: attempt to read unsupported "
- "bitdepth %d\n"), f->samplesize);
- return 0;
- }
- return realsamples;
- }
- long wav_ieee_read(void *in, float **buffer, int samples)
- {
- wavfile *f = (wavfile *)in;
- float *buf = alloca(samples*4*f->channels); /* de-interleave buffer */
- long bytes_read = fread(buf,1,samples*4*f->channels, f->f);
- int i,j;
- long realsamples;
- if(f->totalsamples && f->samplesread +
- bytes_read/(4*f->channels) > f->totalsamples)
- bytes_read = 4*f->channels*(f->totalsamples - f->samplesread);
- realsamples = bytes_read/(4*f->channels);
- f->samplesread += realsamples;
- for(i=0; i < realsamples; i++)
- for(j=0; j < f->channels; j++)
- buffer[j][i] = buf[i*f->channels + j];
- return realsamples;
- }
- void wav_close(void *info)
- {
- wavfile *f = (wavfile *)info;
- free(f);
- }
- int raw_open(FILE *in, oe_enc_opt *opt)
- {
- wav_fmt format; /* fake wave header ;) */
- wavfile *wav = malloc(sizeof(wavfile));
- /* construct fake wav header ;) */
- format.format = 2;
- format.channels = opt->channels;
- format.samplerate = opt->rate;
- format.samplesize = opt->samplesize;
- format.bytespersec = opt->channels * opt->rate * opt->samplesize / 8;
- format.align = format.bytespersec;
- wav->f = in;
- wav->samplesread = 0;
- wav->bigendian = opt->endianness;
- wav->channels = format.channels;
- wav->samplesize = opt->samplesize;
- wav->totalsamples = 0;
- opt->read_samples = wav_read;
- opt->readdata = (void *)wav;
- opt->total_samples_per_channel = 0; /* raw mode, don't bother */
- return 1;
- }
- typedef struct {
- res_state resampler;
- audio_read_func real_reader;
- void *real_readdata;
- float **bufs;
- int channels;
- int bufsize;
- int done;
- } resampler;
- static long read_resampled(void *d, float **buffer, int samples)
- {
- resampler *rs = d;
- long in_samples;
- int out_samples;
- in_samples = res_push_max_input(&rs->resampler, samples);
- if(in_samples > rs->bufsize)
- in_samples = rs->bufsize;
- in_samples = rs->real_reader(rs->real_readdata, rs->bufs, in_samples);
- if(in_samples <= 0) {
- if(!rs->done) {
- rs->done = 1;
- out_samples = res_drain(&rs->resampler, buffer);
- return out_samples;
- }
- return 0;
- }
- out_samples = res_push(&rs->resampler, buffer, (float const **)rs->bufs, in_samples);
- if(out_samples <= 0) {
- fprintf(stderr, _("BUG: Got zero samples from resampler: your file will be truncated. Please report this.\n"));
- }
- return out_samples;
- }
- int setup_resample(oe_enc_opt *opt) {
- resampler *rs = calloc(1, sizeof(resampler));
- int c;
- rs->bufsize = 4096; /* Shrug */
- rs->real_reader = opt->read_samples;
- rs->real_readdata = opt->readdata;
- rs->bufs = malloc(sizeof(float *) * opt->channels);
- rs->channels = opt->channels;
- rs->done = 0;
- if(res_init(&rs->resampler, rs->channels, opt->resamplefreq, opt->rate, RES_END))
- {
- fprintf(stderr, _("Couldn't initialise resampler\n"));
- return -1;
- }
- for(c=0; c < opt->channels; c++)
- rs->bufs[c] = malloc(sizeof(float) * rs->bufsize);
- opt->read_samples = read_resampled;
- opt->readdata = rs;
- if(opt->total_samples_per_channel)
- opt->total_samples_per_channel = (int)((float)opt->total_samples_per_channel *
- ((float)opt->resamplefreq/(float)opt->rate));
- opt->rate = opt->resamplefreq;
- return 0;
- }
- void clear_resample(oe_enc_opt *opt) {
- resampler *rs = opt->readdata;
- int i;
- opt->read_samples = rs->real_reader;
- opt->readdata = rs->real_readdata;
- res_clear(&rs->resampler);
- for(i = 0; i < rs->channels; i++)
- free(rs->bufs[i]);
- free(rs->bufs);
- free(rs);
- }
- typedef struct {
- audio_read_func real_reader;
- void *real_readdata;
- int channels;
- float scale_factor;
- } scaler;
- static long read_scaler(void *data, float **buffer, int samples) {
- scaler *d = data;
- long in_samples = d->real_reader(d->real_readdata, buffer, samples);
- int i,j;
- for(i=0; i < d->channels; i++) {
- for(j=0; j < in_samples; j++) {
- buffer[i][j] *= d->scale_factor;
- }
- }
- return in_samples;
- }
- void setup_scaler(oe_enc_opt *opt, float scale) {
- scaler *d = calloc(1, sizeof(scaler));
- d->real_reader = opt->read_samples;
- d->real_readdata = opt->readdata;
- opt->read_samples = read_scaler;
- opt->readdata = d;
- d->channels = opt->channels;
- d->scale_factor = scale;
- }
- void clear_scaler(oe_enc_opt *opt) {
- scaler *d = opt->readdata;
- opt->read_samples = d->real_reader;
- opt->readdata = d->real_readdata;
- free(d);
- }
- typedef struct {
- audio_read_func real_reader;
- void *real_readdata;
- float **bufs;
- } downmix;
- static long read_downmix(void *data, float **buffer, int samples)
- {
- downmix *d = data;
- long in_samples = d->real_reader(d->real_readdata, d->bufs, samples);
- int i;
- for(i=0; i < in_samples; i++) {
- buffer[0][i] = (d->bufs[0][i] + d->bufs[1][i])*0.5f;
- }
- return in_samples;
- }
- void setup_downmix(oe_enc_opt *opt) {
- downmix *d = calloc(1, sizeof(downmix));
- if(opt->channels != 2) {
- fprintf(stderr, "Internal error! Please report this bug.\n");
- return;
- }
-
- d->bufs = malloc(2 * sizeof(float *));
- d->bufs[0] = malloc(4096 * sizeof(float));
- d->bufs[1] = malloc(4096 * sizeof(float));
- d->real_reader = opt->read_samples;
- d->real_readdata = opt->readdata;
- opt->read_samples = read_downmix;
- opt->readdata = d;
- opt->channels = 1;
- }
- void clear_downmix(oe_enc_opt *opt) {
- downmix *d = opt->readdata;
- opt->read_samples = d->real_reader;
- opt->readdata = d->real_readdata;
- opt->channels = 2; /* other things in cleanup rely on this */
- free(d->bufs[0]);
- free(d->bufs[1]);
- free(d->bufs);
- free(d);
- }
- /* OggEnc
- **
- ** This program is distributed under the GNU General Public License, version 2.
- ** A copy of this license is included with this source.
- **
- ** Copyright 2000-2002, Michael Smith <msmith@xiph.org>
- **
- ** Portions from Vorbize, (c) Kenneth Arnold <kcarnold@yahoo.com>
- ** and libvorbis examples, (c) Monty <monty@xiph.org>
- **/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: vorbis encode-engine setup
- last mod: $Id: vorbisenc.h,v 1.10 2002/07/01 11:20:10 xiphmont Exp $
- ********************************************************************/
- #define _OV_ENC_H_
- extern int vorbis_encode_init(vorbis_info *vi,
- long channels,
- long rate,
-
- long max_bitrate,
- long nominal_bitrate,
- long min_bitrate);
- extern int vorbis_encode_setup_managed(vorbis_info *vi,
- long channels,
- long rate,
-
- long max_bitrate,
- long nominal_bitrate,
- long min_bitrate);
-
- extern int vorbis_encode_setup_vbr(vorbis_info *vi,
- long channels,
- long rate,
-
- float /* quality level from 0. (lo) to 1. (hi) */
- );
- extern int vorbis_encode_init_vbr(vorbis_info *vi,
- long channels,
- long rate,
-
- float base_quality /* quality level from 0. (lo) to 1. (hi) */
- );
- extern int vorbis_encode_setup_init(vorbis_info *vi);
- extern int vorbis_encode_ctl(vorbis_info *vi,int number,void *arg);
- #define OV_ECTL_RATEMANAGE_GET 0x10
- #define OV_ECTL_RATEMANAGE_SET 0x11
- #define OV_ECTL_RATEMANAGE_AVG 0x12
- #define OV_ECTL_RATEMANAGE_HARD 0x13
- #define OV_ECTL_LOWPASS_GET 0x20
- #define OV_ECTL_LOWPASS_SET 0x21
- #define OV_ECTL_IBLOCK_GET 0x30
- #define OV_ECTL_IBLOCK_SET 0x31
- struct ovectl_ratemanage_arg {
- int management_active;
- long bitrate_hard_min;
- long bitrate_hard_max;
- double bitrate_hard_window;
- long bitrate_av_lo;
- long bitrate_av_hi;
- double bitrate_av_window;
- double bitrate_av_window_center;
- };
- #define READSIZE 1024
- int oe_write_page(ogg_page *page, FILE *fp);
- #define SETD(toset) \
- do {\
- if(sscanf(opts[i].val, "%lf", &dval) != 1)\
- fprintf(stderr, "For option %s, couldn't read value %s as double\n",\
- opts[i].arg, opts[i].val);\
- else\
- toset = dval;\
- } while(0)
- #define SETL(toset) \
- do {\
- if(sscanf(opts[i].val, "%ld", &lval) != 1)\
- fprintf(stderr, "For option %s, couldn't read value %s as integer\n",\
- opts[i].arg, opts[i].val);\
- else\
- toset = lval;\
- } while(0)
- static void set_advanced_encoder_options(adv_opt *opts, int count,
- vorbis_info *vi)
- {
- int hard = 0;
- int avg = 0;
- struct ovectl_ratemanage_arg ai;
- int i;
- double dval;
- long lval;
- vorbis_encode_ctl(vi, OV_ECTL_RATEMANAGE_GET, &ai);
- for(i=0; i < count; i++) {
- fprintf(stderr, _("Setting advanced encoder option \"%s\" to %s\n"),
- opts[i].arg, opts[i].val);
- if(!strcmp(opts[i].arg, "bitrate_average_window")) {
- SETD(ai.bitrate_av_window);
- avg = 1;
- }
- else if(!strcmp(opts[i].arg, "bitrate_average_window_center")) {
- SETD(ai.bitrate_av_window_center);
- avg = 1;
- }
- else if(!strcmp(opts[i].arg, "bitrate_average_low")) {
- SETL(ai.bitrate_av_lo);
- avg = 1;
- }
- else if(!strcmp(opts[i].arg, "bitrate_average_high")) {
- SETL(ai.bitrate_av_hi);
- avg = 1;
- }
- else if(!strcmp(opts[i].arg, "bitrate_hard_min")) {
- SETL(ai.bitrate_hard_min);
- hard = 1;
- }
- else if(!strcmp(opts[i].arg, "bitrate_hard_max")) {
- SETL(ai.bitrate_hard_max);
- hard = 1;
- }
- else if(!strcmp(opts[i].arg, "bitrate_hard_window")) {
- SETD(ai.bitrate_hard_window);
- hard = 1;
- }
- else if(!strcmp(opts[i].arg, "impulse_noisetune")) {
- double val;
- SETD(val);
- vorbis_encode_ctl(vi, OV_ECTL_IBLOCK_SET, &val);
- }
- else if(!strcmp(opts[i].arg, "lowpass_frequency")) {
- double prev, new;
- SETD(new);
- vorbis_encode_ctl(vi, OV_ECTL_LOWPASS_GET, &prev);
- vorbis_encode_ctl(vi, OV_ECTL_LOWPASS_SET, &new);
- fprintf(stderr, _("Changed lowpass frequency from %f kHz to %f kHz\n"), prev, new);
- }
- else {
- fprintf(stderr, _("Unrecognised advanced option \"%s\"\n"),
- opts[i].arg);
- }
- }
- if(hard)
- vorbis_encode_ctl(vi, OV_ECTL_RATEMANAGE_HARD, &ai);
- if(avg)
- vorbis_encode_ctl(vi, OV_ECTL_RATEMANAGE_AVG, &ai);
- }
- int oe_encode(oe_enc_opt *opt)
- {
- ogg_stream_state os;
- ogg_page og;
- ogg_packet op;
- vorbis_dsp_state vd;
- vorbis_block vb;
- vorbis_info vi;
- long samplesdone=0;
- int eos;
- long bytes_written = 0, packetsdone=0;
- double time_elapsed;
- int ret=0;
- TIMER *timer;
- if(opt->channels > 255) {
- fprintf(stderr, _("255 channels should be enough for anyone. (Sorry, vorbis doesn't support more)\n"));
- return 1;
- }
- /* get start time. */
- timer = timer_start();
- if(!opt->managed && (opt->min_bitrate>=0 || opt->max_bitrate>=0)){
- fprintf(stderr, _("Requesting a minimum or maximum bitrate requires --managed\n"));
- return 1;
- }
- /* if we had no quality or bitrate spec at all from the user, use
- the default quality with no management --Monty 20020711 */
- if(opt->bitrate < 0 && opt->min_bitrate < 0 && opt->max_bitrate < 0){
- opt->quality_set=1;
- }
- opt->start_encode(opt->infilename, opt->filename, opt->bitrate, opt->quality,
- opt->quality_set, opt->managed, opt->min_bitrate, opt->max_bitrate);
-
- /* Have vorbisenc choose a mode for us */
- vorbis_info_init(&vi);
-
- if(opt->quality_set > 0){
- if(vorbis_encode_setup_vbr(&vi, opt->channels, opt->rate, opt->quality)){
- fprintf(stderr, _("Mode initialisation failed: invalid parameters for quality\n"));
- vorbis_info_clear(&vi);
- return 1;
- }
- /* do we have optional hard quality restrictions? */
- if(opt->max_bitrate > 0 || opt->min_bitrate > 0){
- struct ovectl_ratemanage_arg ai;
- vorbis_encode_ctl(&vi, OV_ECTL_RATEMANAGE_GET, &ai);
-
- ai.bitrate_hard_min=opt->min_bitrate;
- ai.bitrate_hard_max=opt->max_bitrate;
- ai.management_active=1;
- vorbis_encode_ctl(&vi, OV_ECTL_RATEMANAGE_SET, &ai);
- }
- }else {
- if(vorbis_encode_setup_managed(&vi, opt->channels, opt->rate,
- opt->max_bitrate>0?opt->max_bitrate*1000:-1,
- opt->bitrate*1000,
- opt->min_bitrate>0?opt->min_bitrate*1000:-1)){
- fprintf(stderr, _("Mode initialisation failed: invalid parameters for bitrate\n"));
- vorbis_info_clear(&vi);
- return 1;
- }
- }
-
- if(opt->managed && opt->bitrate < 0)
- {
- vorbis_encode_ctl(&vi, OV_ECTL_RATEMANAGE_AVG, NULL);
- }
- else if(!opt->managed)
- {
- /* Turn off management entirely (if it was turned on). */
- vorbis_encode_ctl(&vi, OV_ECTL_RATEMANAGE_SET, NULL);
- }
-
- set_advanced_encoder_options(opt->advopt, opt->advopt_count, &vi);
-
- vorbis_encode_setup_init(&vi);
- /* Now, set up the analysis engine, stream encoder, and other
- preparation before the encoding begins.
- */
- vorbis_analysis_init(&vd,&vi);
- vorbis_block_init(&vd,&vb);
- ogg_stream_init(&os, opt->serialno);
- /* Now, build the three header packets and send through to the stream
- output stage (but defer actual file output until the main encode loop) */
- {
- ogg_packet header_main;
- ogg_packet header_comments;
- ogg_packet header_codebooks;
- int result;
- /* Build the packets */
- vorbis_analysis_headerout(&vd,opt->comments,
- &header_main,&header_comments,&header_codebooks);
- /* And stream them out */
- ogg_stream_packetin(&os,&header_main);
- ogg_stream_packetin(&os,&header_comments);
- ogg_stream_packetin(&os,&header_codebooks);
- while((result = ogg_stream_flush(&os, &og)))
- {
- if(!result) break;
- ret = oe_write_page(&og, opt->out);
- if(ret != og.header_len + og.body_len)
- {
- opt->error(_("Failed writing header to output stream\n"));
- ret = 1;
- goto cleanup; /* Bail and try to clean up stuff */
- }
- }
- }
- eos = 0;
- /* Main encode loop - continue until end of file */
- while(!eos)
- {
- float **buffer = vorbis_analysis_buffer(&vd, READSIZE);
- long samples_read = opt->read_samples(opt->readdata,
- buffer, READSIZE);
- if(samples_read ==0)
- /* Tell the library that we wrote 0 bytes - signalling the end */
- vorbis_analysis_wrote(&vd,0);
- else
- {
- samplesdone += samples_read;
- /* Call progress update every 40 pages */
- if(packetsdone>=40)
- {
- double time;
- packetsdone = 0;
- time = timer_time(timer);
- opt->progress_update(opt->filename, opt->total_samples_per_channel,
- samplesdone, time);
- }
- /* Tell the library how many samples (per channel) we wrote
- into the supplied buffer */
- vorbis_analysis_wrote(&vd, samples_read);
- }
- /* While we can get enough data from the library to analyse, one
- block at a time... */
- while(vorbis_analysis_blockout(&vd,&vb)==1)
- {
- /* Do the main analysis, creating a packet */
- vorbis_analysis(&vb, NULL);
- vorbis_bitrate_addblock(&vb);
- while(vorbis_bitrate_flushpacket(&vd, &op))
- {
- /* Add packet to bitstream */
- ogg_stream_packetin(&os,&op);
- packetsdone++;
- /* If we've gone over a page boundary, we can do actual output,
- so do so (for however many pages are available) */
- while(!eos)
- {
- int result = ogg_stream_pageout(&os,&og);
- if(!result) break;
- ret = oe_write_page(&og, opt->out);
- if(ret != og.header_len + og.body_len)
- {
- opt->error(_("Failed writing data to output stream\n"));
- ret = 1;
- goto cleanup; /* Bail */
- }
- else
- bytes_written += ret;
-
- if(ogg_page_eos(&og))
- eos = 1;
- }
- }
- }
- }
- ret = 0; /* Success, set return value to 0 since other things reuse it
- * for nefarious purposes. */
- /* Cleanup time */
- cleanup:
- ogg_stream_clear(&os);
- vorbis_block_clear(&vb);
- vorbis_dsp_clear(&vd);
- vorbis_info_clear(&vi);
- time_elapsed = timer_time(timer);
- opt->end_encode(opt->filename, time_elapsed, opt->rate, samplesdone, bytes_written);
- timer_clear(timer);
- return ret;
- }
- void update_statistics_full(char *fn, long total, long done, double time)
- {
- static char *spinner="|/-\\";
- static int spinpoint = 0;
- double remain_time;
- int minutes=0,seconds=0;
-
- remain_time = time/((double)done/(double)total) - time;
- minutes = ((int)remain_time)/60;
- seconds = (int)(remain_time - (double)((int)remain_time/60)*60);
- fprintf(stderr, "\r");
- fprintf(stderr, _("\t[%5.1f%%] [%2dm%.2ds remaining] %c"),
- done*100.0/total, minutes, seconds, spinner[spinpoint++%4]);
- }
- void update_statistics_notime(char *fn, long total, long done, double time)
- {
- static char *spinner="|/-\\";
- static int spinpoint =0;
-
- fprintf(stderr, "\r");
- fprintf(stderr, _("\tEncoding [%2dm%.2ds so far] %c"),
- ((int)time)/60, (int)(time - (double)((int)time/60)*60),
- spinner[spinpoint++%4]);
- }
- int oe_write_page(ogg_page *page, FILE *fp)
- {
- int written;
- written = fwrite(page->header,1,page->header_len, fp);
- written += fwrite(page->body,1,page->body_len, fp);
- return written;
- }
- void final_statistics(char *fn, double time, int rate, long samples, long bytes)
- {
- double speed_ratio;
- if(fn)
- fprintf(stderr, _("\n\nDone encoding file \"%s\"\n"), fn);
- else
- fprintf(stderr, _("\n\nDone encoding.\n"));
- speed_ratio = (double)samples / (double)rate / time;
-
- fprintf(stderr, _("\n\tFile length: %dm %04.1fs\n"),
- (int)(samples/rate/60),
- samples/rate -
- floor(samples/rate/60)*60);
- fprintf(stderr, _("\tElapsed time: %dm %04.1fs\n"),
- (int)(time/60),
- time - floor(time/60)*60);
- fprintf(stderr, _("\tRate: %.4f\n"), speed_ratio);
- fprintf(stderr, _("\tAverage bitrate: %.1f kb/s\n\n"),
- 8./1000.*((double)bytes/((double)samples/(double)rate)));
- }
- void final_statistics_null(char *fn, double time, int rate, long samples,
- long bytes)
- {
- /* Don't do anything, this is just a placeholder function for quiet mode */
- }
- void update_statistics_null(char *fn, long total, long done, double time)
- {
- /* So is this */
- }
- void encode_error(char *errmsg)
- {
- fprintf(stderr, "\n%s\n", errmsg);
- }
- static void print_brconstraints(int min, int max)
- {
- if(min > 0 && max > 0)
- fprintf(stderr, "(min %d kbps, max %d kbps)", min,max);
- else if(min > 0)
- fprintf(stderr, "(min %d kbps, no max)", min);
- else if(max > 0)
- fprintf(stderr, "(no min, max %d kbps)", max);
- else
- fprintf(stderr, "(no min or max)");
- }
- void start_encode_full(char *fn, char *outfn, int bitrate, float quality, int qset,
- int managed, int min, int max)
- {
- if(bitrate>0){
- if(managed>0){
- fprintf(stderr, _("Encoding %s%s%s to \n "
- "%s%s%s \nat average bitrate %d kbps "),
- fn?"\"":"", fn?fn:_("standard input"), fn?"\"":"",
- outfn?"\"":"", outfn?outfn:_("standard output"), outfn?"\"":"",
- bitrate);
- print_brconstraints(min,max);
- fprintf(stderr, ", \nusing full bitrate management engine\n");
- } else {
- fprintf(stderr, _("Encoding %s%s%s to \n %s%s%s \nat approximate bitrate %d kbps (VBR encoding enabled)\n"),
- fn?"\"":"", fn?fn:_("standard input"), fn?"\"":"",
- outfn?"\"":"", outfn?outfn:_("standard output"), outfn?"\"":"",
- bitrate);
- }
- }else{
- if(qset>0){
- if(managed>0){
- fprintf(stderr, _("Encoding %s%s%s to \n %s%s%s \nat quality level %2.2f using constrained VBR "),
- fn?"\"":"", fn?fn:_("standard input"), fn?"\"":"",
- outfn?"\"":"", outfn?outfn:_("standard output"), outfn?"\"":"",
- quality * 10);
- print_brconstraints(min,max);
- fprintf(stderr, "\n");
- }else{
- fprintf(stderr, _("Encoding %s%s%s to \n %s%s%s \nat quality %2.2f\n"),
- fn?"\"":"", fn?fn:_("standard input"), fn?"\"":"",
- outfn?"\"":"", outfn?outfn:_("standard output"), outfn?"\"":"",
- quality * 10);
- }
- }else{
- fprintf(stderr, _("Encoding %s%s%s to \n %s%s%s \nusing bitrate management "),
- fn?"\"":"", fn?fn:_("standard input"), fn?"\"":"",
- outfn?"\"":"", outfn?outfn:_("standard output"), outfn?"\"":"");
- print_brconstraints(min,max);
- fprintf(stderr, "\n");
- }
- }
- }
- void start_encode_null(char *fn, char *outfn, int bitrate, float quality, int qset,
- int managed, int min, int max)
- {
- }
- /* OggEnc
- **
- ** This program is distributed under the GNU General Public License, version 2.
- ** A copy of this license is included with this source.
- **
- ** Copyright 2000, Michael Smith <msmith@xiph.org>
- **
- ** Portions from Vorbize, (c) Kenneth Arnold <kcarnold@yahoo.com>
- ** and libvorbis examples, (c) Monty <monty@xiph.org>
- **/
- /* Platform support routines - win32, OS/2, unix */
- #if defined(_WIN32) && defined(_MSC_VER)
- void setbinmode(FILE *f)
- {
- _setmode( _fileno(f), _O_BINARY );
- }
- #endif /* win32 */
- #ifdef __EMX__
- void setbinmode(FILE *f)
- {
- _fsetmode( f, "b");
- }
- #endif
- #if defined(__WATCOMC__) || defined(__BORLANDC__)
- void setbinmode(FILE *f)
- {
- setmode(fileno(f), O_BINARY);
- }
- #endif
- #if defined(_WIN32) || defined(__EMX__) || defined(__WATCOMC__)
- void *timer_start(void)
- {
- time_t *start = malloc(sizeof(time_t));
- time(start);
- return (void *)start;
- }
- double timer_time(void *timer)
- {
- time_t now = time(NULL);
- time_t start = *((time_t *)timer);
- if(now-start)
- return (double)(now-start);
- else
- return 1; /* To avoid division by zero later, for very short inputs */
- }
- void timer_clear(void *timer)
- {
- free((time_t *)timer);
- }
- #else /* unix. Or at least win32 */
- void *timer_start(void)
- {
- struct timeval *start = malloc(sizeof(struct timeval));
- gettimeofday(start, NULL);
- return (void *)start;
- }
- double timer_time(void *timer)
- {
- struct timeval now;
- struct timeval start = *((struct timeval *)timer);
- gettimeofday(&now, NULL);
- return (double)now.tv_sec - (double)start.tv_sec +
- ((double)now.tv_usec - (double)start.tv_usec)/1000000.0;
- }
- void timer_clear(void *timer)
- {
- free((time_t *)timer);
- }
- #endif
- #ifdef _WIN32
- #define PATH_SEPS "/\\"
- #define mkdir(x,y) _mkdir((x))
- /* MSVC does this, borland doesn't? */
- #ifndef __BORLANDC__
- #define stat _stat
- #endif
- #else
- #define PATH_SEPS "/"
- #endif
- int create_directories(char *fn)
- {
- char *end, *start;
- struct stat statbuf;
- char *segment = malloc(strlen(fn)+1);
- start = fn;
- #ifdef _WIN32
- if(strlen(fn) >= 3 && isalpha(fn[0]) && fn[1]==':')
- start = start+2;
- #endif
- while((end = strpbrk(start+1, PATH_SEPS)) != NULL)
- {
- memcpy(segment, fn, end-fn);
- segment[end-fn] = 0;
- if(stat(segment,&statbuf)) {
- if(errno == ENOENT) {
- if(mkdir(segment, 0777)) {
- fprintf(stderr, _("Couldn't create directory \"%s\": %s\n"),
- segment, strerror(errno));
- free(segment);
- return -1;
- }
- }
- else {
- fprintf(stderr, _("Error checking for existence of directory %s: %s\n"),
- segment, strerror(errno));
- free(segment);
- return -1;
- }
- }
- #if defined(_WIN32) && !defined(__BORLANDC__)
- else if(!(_S_IFDIR & statbuf.st_mode)) {
- #elif defined(__BORLANDC__)
- else if(!(S_IFDIR & statbuf.st_mode)) {
- #else
- else if(!S_ISDIR(statbuf.st_mode)) {
- #endif
- fprintf(stderr, _("Error: path segment \"%s\" is not a directory\n"),
- segment);
- free(segment);
- return -1;
- }
- start = end+1;
- }
- free(segment);
- return 0;
- }
- /* resample.c: see resample.h for interesting stuff */
- /* Some systems don't define this */
- #ifndef M_PI
- #define M_PI 3.14159265358979323846
- #endif
- static int hcf(int arg1, int arg2)
- {
- int mult = 1;
- while (~(arg1 | arg2) & 1)
- arg1 >>= 1, arg2 >>= 1, mult <<= 1;
- while (arg1 > 0)
- {
- if (~(arg1 & arg2) & 1)
- {
- arg1 >>= (~arg1 & 1);
- arg2 >>= (~arg2 & 1);
- }
- else if (arg1 < arg2)
- arg2 = (arg2 - arg1) >> 1;
- else
- arg1 = (arg1 - arg2) >> 1;
- }
- return arg2 * mult;
- }
- static void filt_sinc(float *dest, int N, int step, double fc, double gain, int width)
- {
- double s = fc / step;
- int mid, x;
- float *endpoint = dest + N,
- *base = dest,
- *origdest = dest;
-
- assert(width <= N);
- if ((N & 1) == 0)
- {
- *dest = 0.0;
- dest += width;
- if (dest >= endpoint)
- dest = ++base;
- N--;
- }
- mid = N / 2;
- x = -mid;
- while (N--)
- {
- *dest = (x ? sin(x * M_PI * s) / (x * M_PI) * step : fc) * gain;
- x++;
- dest += width;
- if (dest >= endpoint)
- dest = ++base;
- }
- assert(dest == origdest + width);
- }
- static double I_zero(double x)
- {
- int n = 0;
- double u = 1.0,
- s = 1.0,
- t;
- do
- {
- n += 2;
- t = x / n;
- u *= t * t;
- s += u;
- } while (u > 1e-21 * s);
- return s;
- }
- static void win_kaiser(float *dest, int N, double alpha, int width)
- {
- double I_alpha, midsq;
- int x;
- float *endpoint = dest + N,
- *base = dest,
- *origdest = dest;
- assert(width <= N);
- if ((N & 1) == 0)
- {
- *dest = 0.0;
- dest += width;
- if (dest >= endpoint)
- dest = ++base;
- N--;
- }
- x = -(N / 2);
- midsq = (double)(x - 1) * (double)(x - 1);
- I_alpha = I_zero(alpha);
- while (N--)
- {
- *dest *= I_zero(alpha * sqrt(1.0 - ((double)x * (double)x) / midsq)) / I_alpha;
- x++;
- dest += width;
- if (dest >= endpoint)
- dest = ++base;
- }
- assert(dest == origdest + width);
- }
- int res_init(res_state *state, int channels, int outfreq, int infreq, res_parameter op1, ...)
- {
- double beta = 16.0,
- cutoff = 0.80,
- gain = 1.0;
- int taps = 45;
- int factor;
- assert(state);
- assert(channels > 0);
- assert(outfreq > 0);
- assert(infreq > 0);
- assert(taps > 0);
- if (state == NULL || channels <= 0 || outfreq <= 0 || infreq <= 0 || taps <= 0)
- return -1;
- if (op1 != RES_END)
- {
- va_list argp;
- va_start(argp, op1);
- do
- {
- switch (op1)
- {
- case RES_GAIN:
- gain = va_arg(argp, double);
- break;
- case RES_CUTOFF:
- cutoff = va_arg(argp, double);
- assert(cutoff > 0.01 && cutoff <= 1.0);
- break;
- case RES_TAPS:
- taps = va_arg(argp, int);
- assert(taps > 2 && taps < 1000);
- break;
-
- case RES_BETA:
- beta = va_arg(argp, double);
- assert(beta > 2.0);
- break;
- default:
- assert("arglist" == "valid");
- return -1;
- }
- op1 = va_arg(argp, res_parameter);
- } while (op1 != RES_END);
- va_end(argp);
- }
- factor = hcf(infreq, outfreq);
- outfreq /= factor;
- infreq /= factor;
- /* adjust to rational values for downsampling */
- if (outfreq < infreq)
- {
- /* push the cutoff frequency down to the output frequency */
- cutoff = cutoff * outfreq / infreq;
- /* compensate for the sharper roll-off requirement
- * by using a bigger hammer */
- taps = taps * infreq/outfreq;
- }
- assert(taps >= (infreq + outfreq - 1) / outfreq);
- if ((state->table = calloc(outfreq * taps, sizeof(float))) == NULL)
- return -1;
- if ((state->pool = calloc(channels * taps, sizeof(SAMPLE))) == NULL)
- {
- free(state->table);
- state->table = NULL;
- return -1;
- }
- state->poolfill = taps / 2 + 1;
- state->channels = channels;
- state->outfreq = outfreq;
- state->infreq = infreq;
- state->taps = taps;
- state->offset = 0;
- filt_sinc(state->table, outfreq * taps, outfreq, cutoff, gain, taps);
- win_kaiser(state->table, outfreq * taps, beta, taps);
- return 0;
- }
- static SAMPLE sum(float const *scale, int count, SAMPLE const *source, SAMPLE const *trigger, SAMPLE const *reset, int srcstep)
- {
- float total = 0.0;
- while (count--)
- {
- total += *source * *scale;
- if (source == trigger)
- source = reset, srcstep = 1;
- source -= srcstep;
- scale++;
- }
- return total;
- }
- static int push(res_state const * const state, SAMPLE *pool, int * const poolfill, int * const offset, SAMPLE *dest, int dststep, SAMPLE const *source, int srcstep, size_t srclen)
- {
- SAMPLE * const destbase = dest,
- *poolhead = pool + *poolfill,
- *poolend = pool + state->taps,
- *newpool = pool;
- SAMPLE const *refill, *base, *endpoint;
- int lencheck;
- assert(state);
- assert(pool);
- assert(poolfill);
- assert(dest);
- assert(source);
- assert(state->poolfill != -1);
-
- lencheck = res_push_check(state, srclen);
- /* fill the pool before diving in */
- while (poolhead < poolend && srclen > 0)
- {
- *poolhead++ = *source;
- source += srcstep;
- srclen--;
- }
- if (srclen <= 0)
- return 0;
- base = source;
- endpoint = source + srclen * srcstep;
- while (source < endpoint)
- {
- *dest = sum(state->table + *offset * state->taps, state->taps, source, base, poolend, srcstep);
- dest += dststep;
- *offset += state->infreq;
- while (*offset >= state->outfreq)
- {
- *offset -= state->outfreq;
- source += srcstep;
- }
- }
- assert(dest == destbase + lencheck * dststep);
- /* pretend that source has that underrun data we're not going to get */
- srclen += (source - endpoint) / srcstep;
- /* if we didn't get enough to completely replace the pool, then shift things about a bit */
- if (srclen < state->taps)
- {
- refill = pool + srclen;
- while (refill < poolend)
- *newpool++ = *refill++;
- refill = source - srclen * srcstep;
- }
- else
- refill = source - state->taps * srcstep;
- /* pull in fresh pool data */
- while (refill < endpoint)
- {
- *newpool++ = *refill;
- refill += srcstep;
- }
- assert(newpool > pool);
- assert(newpool <= poolend);
- *poolfill = newpool - pool;
- return (dest - destbase) / dststep;
- }
- int res_push_max_input(res_state const * const state, size_t maxoutput)
- {
- return maxoutput * state->infreq / state->outfreq;
- }
- int res_push_check(res_state const * const state, size_t srclen)
- {
- if (state->poolfill < state->taps)
- srclen -= state->taps - state->poolfill;
- return (srclen * state->outfreq - state->offset + state->infreq - 1) / state->infreq;
- }
- int res_push(res_state *state, SAMPLE **dstlist, SAMPLE const **srclist, size_t srclen)
- {
- int result = -1, poolfill = -1, offset = -1, i;
- assert(state);
- assert(dstlist);
- assert(srclist);
- assert(state->poolfill >= 0);
- for (i = 0; i < state->channels; i++)
- {
- poolfill = state->poolfill;
- offset = state->offset;
- result = push(state, state->pool + i * state->taps, &poolfill, &offset, dstlist[i], 1, srclist[i], 1, srclen);
- }
- state->poolfill = poolfill;
- state->offset = offset;
- return result;
- }
- int res_push_interleaved(res_state *state, SAMPLE *dest, SAMPLE const *source, size_t srclen)
- {
- int result = -1, poolfill = -1, offset = -1, i;
-
- assert(state);
- assert(dest);
- assert(source);
- assert(state->poolfill >= 0);
- for (i = 0; i < state->channels; i++)
- {
- poolfill = state->poolfill;
- offset = state->offset;
- result = push(state, state->pool + i * state->taps, &poolfill, &offset, dest + i, state->channels, source + i, state->channels, srclen);
- }
- state->poolfill = poolfill;
- state->offset = offset;
- return result;
- }
- int res_drain(res_state *state, SAMPLE **dstlist)
- {
- SAMPLE *tail;
- int result = -1, poolfill = -1, offset = -1, i;
- assert(state);
- assert(dstlist);
- assert(state->poolfill >= 0);
- if ((tail = calloc(state->taps, sizeof(SAMPLE))) == NULL)
- return -1;
- for (i = 0; i < state->channels; i++)
- {
- poolfill = state->poolfill;
- offset = state->offset;
- result = push(state, state->pool + i * state->taps, &poolfill, &offset, dstlist[i], 1, tail, 1, state->taps / 2 - 1);
- }
-
- free(tail);
- state->poolfill = -1;
- return result;
- }
- int res_drain_interleaved(res_state *state, SAMPLE *dest)
- {
- SAMPLE *tail;
- int result = -1, poolfill = -1, offset = -1, i;
- assert(state);
- assert(dest);
- assert(state->poolfill >= 0);
- if ((tail = calloc(state->taps, sizeof(SAMPLE))) == NULL)
- return -1;
- for (i = 0; i < state->channels; i++)
- {
- poolfill = state->poolfill;
- offset = state->offset;
- result = push(state, state->pool + i * state->taps, &poolfill, &offset, dest + i, state->channels, tail, 1, state->taps / 2 - 1);
- }
-
- free(tail);
- state->poolfill = -1;
- return result;
- }
- void res_clear(res_state *state)
- {
- assert(state);
- assert(state->table);
- assert(state->pool);
- free(state->table);
- free(state->pool);
- memset(state, 0, sizeof(*state));
- }
- /* Getopt for GNU.
- NOTE: getopt is now part of the C library, so if you don't know what
- "Keep this file name-space clean" means, talk to drepper@gnu.org
- before changing it!
- Copyright (C) 1987, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99
- Free Software Foundation, Inc.
- The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public License as
- published by the Free Software Foundation; either version 2 of the
- License, or (at your option) any later version.
- The GNU C Library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
- You should have received a copy of the GNU Library General Public
- License along with the GNU C Library; see the file COPYING.LIB. If not,
- write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
- /* Comment out all this code if we are using the GNU C Library, and are not
- actually compiling the library itself. This code is part of the GNU C
- Library, but also included in many other GNU distributions. Compiling
- and linking in this code is a waste when using the GNU C library
- (especially if it is a shared library). Rather than having every GNU
- program understand `configure --with-gnu-libc' and omit the object files,
- it is simpler to just do this in the source for each such file. */
- /* This version of `getopt' appears to the caller like standard Unix `getopt'
- but it behaves differently for the user, since it allows the user
- to intersperse the options with the other arguments.
- As `getopt' works, it permutes the elements of ARGV so that,
- when it is done, all the options precede everything else. Thus
- all application programs are extended to handle flexible argument order.
- Setting the environment variable POSIXLY_CORRECT disables permutation.
- Then the behavior is completely standard.
- GNU application programs can use a third alternative mode in which
- they can distinguish the relative order of options and other arguments. */
- /* Names for the values of the `has_arg' field of `struct option'. */
- /* For communication from `getopt' to the caller.
- When `getopt' finds an option that takes an argument,
- the argument value is returned here.
- Also, when `ordering' is RETURN_IN_ORDER,
- each non-option ARGV-element is returned here. */
- char *optarg;
- /* Index in ARGV of the next element to be scanned.
- This is used for communication to and from the caller
- and for communication between successive calls to `getopt'.
- On entry to `getopt', zero means this is the first call; initialize.
- When `getopt' returns -1, this is the index of the first of the
- non-option elements that the caller should itself scan.
- Otherwise, `optind' communicates from one call to the next
- how much of ARGV has been scanned so far. */
- /* 1003.2 says this must be 1 before any call. */
- int optind = 1;
- /* Formerly, initialization of getopt depended on optind==0, which
- causes problems with re-calling getopt as programs generally don't
- know that. */
- int __getopt_initialized;
- /* The next char to be scanned in the option-element
- in which the last option character we returned was found.
- This allows us to pick up the scan where we left off.
- If this is zero, or a null string, it means resume the scan
- by advancing to the next ARGV-element. */
- static char *nextchar;
- /* Callers store zero here to inhibit the error message
- for unrecognized options. */
- int opterr = 1;
- /* Set to an option character which was unrecognized.
- This must be initialized on some systems to avoid linking in the
- system's own getopt implementation. */
- int optopt = '?';
- /* Describe how to deal with options that follow non-option ARGV-elements.
- If the caller did not specify anything,
- the default is REQUIRE_ORDER if the environment variable
- POSIXLY_CORRECT is defined, PERMUTE otherwise.
- REQUIRE_ORDER means don't recognize them as options;
- stop option processing when the first non-option is seen.
- This is what Unix does.
- This mode of operation is selected by either setting the environment
- variable POSIXLY_CORRECT, or using `+' as the first character
- of the list of option characters.
- PERMUTE is the default. We permute the contents of ARGV as we scan,
- so that eventually all the non-options are at the end. This allows options
- to be given in any order, even with programs that were not written to
- expect this.
- RETURN_IN_ORDER is an option available to programs that were written
- to expect options and other ARGV-elements in any order and that care about
- the ordering of the two. We describe each non-option ARGV-element
- as if it were the argument of an option with character code 1.
- Using `-' as the first character of the list of option characters
- selects this mode of operation.
- The special argument `--' forces an end of option-scanning regardless
- of the value of `ordering'. In the case of RETURN_IN_ORDER, only
- `--' can cause `getopt' to return -1 with `optind' != ARGC. */
- static enum
- {
- REQUIRE_ORDER, PERMUTE, RETURN_IN_ORDER
- } ordering;
- /* Value of POSIXLY_CORRECT environment variable. */
- static char *posixly_correct;
- #ifdef __GNU_LIBRARY__
- /* We want to avoid inclusion of string.h with non-GNU libraries
- because there are many ways it can cause trouble.
- On some systems, it contains special magic macros that don't work
- in GCC. */
- # define my_index strchr
- #else
- /* Avoid depending on library functions or files
- whose names are inconsistent. */
- #ifndef getenv
- extern char *getenv ();
- #endif
- static char *
- my_index (str, chr)
- const char *str;
- int chr;
- {
- while (*str)
- {
- if (*str == chr)
- return (char *) str;
- str++;
- }
- return 0;
- }
- /* If using GCC, we can safely declare strlen this way.
- If not using GCC, it is ok not to declare it. */
- #ifdef __GNUC__
- /* Note that Motorola Delta 68k R3V7 comes with GCC but not stddef.h.
- That was relevant to code that was here before. */
- # if (!defined __STDC__ || !__STDC__) && !defined strlen
- /* gcc with -traditional declares the built-in strlen to return int,
- and has done so at least since version 2.4.5. -- rms. */
- extern int strlen (const char *);
- # endif /* not __STDC__ */
- #endif /* __GNUC__ */
- #endif /* not __GNU_LIBRARY__ */
- /* Handle permutation of arguments. */
- /* Describe the part of ARGV that contains non-options that have
- been skipped. `first_nonopt' is the index in ARGV of the first of them;
- `last_nonopt' is the index after the last of them. */
- static int first_nonopt;
- static int last_nonopt;
- #ifdef _LIBC
- /* Bash 2.0 gives us an environment variable containing flags
- indicating ARGV elements that should not be considered arguments. */
- /* Defined in getopt_init.c */
- extern char *__getopt_nonoption_flags;
- static int nonoption_flags_max_len;
- static int nonoption_flags_len;
- static int original_argc;
- static char *const *original_argv;
- /* Make sure the environment variable bash 2.0 puts in the environment
- is valid for the getopt call we must make sure that the ARGV passed
- to getopt is that one passed to the process. */
- static void
- __attribute__ ((unused))
- store_args_and_env (int argc, char *const *argv)
- {
- /* XXX This is no good solution. We should rather copy the args so
- that we can compare them later. But we must not use malloc(3). */
- original_argc = argc;
- original_argv = argv;
- }
- # ifdef text_set_element
- text_set_element (__libc_subinit, store_args_and_env);
- # endif /* text_set_element */
- # define SWAP_FLAGS(ch1, ch2) \
- if (nonoption_flags_len > 0) \
- { \
- char __tmp = __getopt_nonoption_flags[ch1]; \
- __getopt_nonoption_flags[ch1] = __getopt_nonoption_flags[ch2]; \
- __getopt_nonoption_flags[ch2] = __tmp; \
- }
- #else /* !_LIBC */
- # define SWAP_FLAGS(ch1, ch2)
- #endif /* _LIBC */
- /* Exchange two adjacent subsequences of ARGV.
- One subsequence is elements [first_nonopt,last_nonopt)
- which contains all the non-options that have been skipped so far.
- The other is elements [last_nonopt,optind), which contains all
- the options processed since those non-options were skipped.
- `first_nonopt' and `last_nonopt' are relocated so that they describe
- the new indices of the non-options in ARGV after they are moved. */
- #if defined __STDC__ && __STDC__
- static void exchange (char **);
- #endif
- static void
- exchange (argv)
- char **argv;
- {
- int bottom = first_nonopt;
- int middle = last_nonopt;
- int top = optind;
- char *tem;
- /* Exchange the shorter segment with the far end of the longer segment.
- That puts the shorter segment into the right place.
- It leaves the longer segment in the right place overall,
- but it consists of two parts that need to be swapped next. */
- #ifdef _LIBC
- /* First make sure the handling of the `__getopt_nonoption_flags'
- string can work normally. Our top argument must be in the range
- of the string. */
- if (nonoption_flags_len > 0 && top >= nonoption_flags_max_len)
- {
- /* We must extend the array. The user plays games with us and
- presents new arguments. */
- char *new_str = malloc (top + 1);
- if (new_str == NULL)
- nonoption_flags_len = nonoption_flags_max_len = 0;
- else
- {
- memset (__mempcpy (new_str, __getopt_nonoption_flags,
- nonoption_flags_max_len),
- '\0', top + 1 - nonoption_flags_max_len);
- nonoption_flags_max_len = top + 1;
- __getopt_nonoption_flags = new_str;
- }
- }
- #endif
- while (top > middle && middle > bottom)
- {
- if (top - middle > middle - bottom)
- {
- /* Bottom segment is the short one. */
- int len = middle - bottom;
- register int i;
- /* Swap it with the top part of the top segment. */
- for (i = 0; i < len; i++)
- {
- tem = argv[bottom + i];
- argv[bottom + i] = argv[top - (middle - bottom) + i];
- argv[top - (middle - bottom) + i] = tem;
- SWAP_FLAGS (bottom + i, top - (middle - bottom) + i);
- }
- /* Exclude the moved bottom segment from further swapping. */
- top -= len;
- }
- else
- {
- /* Top segment is the short one. */
- int len = top - middle;
- register int i;
- /* Swap it with the bottom part of the bottom segment. */
- for (i = 0; i < len; i++)
- {
- tem = argv[bottom + i];
- argv[bottom + i] = argv[middle + i];
- argv[middle + i] = tem;
- SWAP_FLAGS (bottom + i, middle + i);
- }
- /* Exclude the moved top segment from further swapping. */
- bottom += len;
- }
- }
- /* Update records for the slots the non-options now occupy. */
- first_nonopt += (optind - last_nonopt);
- last_nonopt = optind;
- }
- /* Initialize the internal data when the first call is made. */
- #if defined __STDC__ && __STDC__
- static const char *_getopt_initialize (int, char *const *, const char *);
- #endif
- static const char *
- _getopt_initialize (argc, argv, optstring)
- int argc;
- char *const *argv;
- const char *optstring;
- {
- /* Start processing options with ARGV-element 1 (since ARGV-element 0
- is the program name); the sequence of previously skipped
- non-option ARGV-elements is empty. */
- first_nonopt = last_nonopt = optind;
- nextchar = NULL;
- posixly_correct = getenv ("POSIXLY_CORRECT");
- /* Determine how to handle the ordering of options and nonoptions. */
- if (optstring[0] == '-')
- {
- ordering = RETURN_IN_ORDER;
- ++optstring;
- }
- else if (optstring[0] == '+')
- {
- ordering = REQUIRE_ORDER;
- ++optstring;
- }
- else if (posixly_correct != NULL)
- ordering = REQUIRE_ORDER;
- else
- ordering = PERMUTE;
- #ifdef _LIBC
- if (posixly_correct == NULL
- && argc == original_argc && argv == original_argv)
- {
- if (nonoption_flags_max_len == 0)
- {
- if (__getopt_nonoption_flags == NULL
- || __getopt_nonoption_flags[0] == '\0')
- nonoption_flags_max_len = -1;
- else
- {
- const char *orig_str = __getopt_nonoption_flags;
- int len = nonoption_flags_max_len = strlen (orig_str);
- if (nonoption_flags_max_len < argc)
- nonoption_flags_max_len = argc;
- __getopt_nonoption_flags =
- (char *) malloc (nonoption_flags_max_len);
- if (__getopt_nonoption_flags == NULL)
- nonoption_flags_max_len = -1;
- else
- memset (__mempcpy (__getopt_nonoption_flags, orig_str, len),
- '\0', nonoption_flags_max_len - len);
- }
- }
- nonoption_flags_len = nonoption_flags_max_len;
- }
- else
- nonoption_flags_len = 0;
- #endif
- return optstring;
- }
- /* Scan elements of ARGV (whose length is ARGC) for option characters
- given in OPTSTRING.
- If an element of ARGV starts with '-', and is not exactly "-" or "--",
- then it is an option element. The characters of this element
- (aside from the initial '-') are option characters. If `getopt'
- is called repeatedly, it returns successively each of the option characters
- from each of the option elements.
- If `getopt' finds another option character, it returns that character,
- updating `optind' and `nextchar' so that the next call to `getopt' can
- resume the scan with the following option character or ARGV-element.
- If there are no more option characters, `getopt' returns -1.
- Then `optind' is the index in ARGV of the first ARGV-element
- that is not an option. (The ARGV-elements have been permuted
- so that those that are not options now come last.)
- OPTSTRING is a string containing the legitimate option characters.
- If an option character is seen that is not listed in OPTSTRING,
- return '?' after printing an error message. If you set `opterr' to
- zero, the error message is suppressed but we still return '?'.
- If a char in OPTSTRING is followed by a colon, that means it wants an arg,
- so the following text in the same ARGV-element, or the text of the following
- ARGV-element, is returned in `optarg'. Two colons mean an option that
- wants an optional arg; if there is text in the current ARGV-element,
- it is returned in `optarg', otherwise `optarg' is set to zero.
- If OPTSTRING starts with `-' or `+', it requests different methods of
- handling the non-option ARGV-elements.
- See the comments about RETURN_IN_ORDER and REQUIRE_ORDER, above.
- Long-named options begin with `--' instead of `-'.
- Their names may be abbreviated as long as the abbreviation is unique
- or is an exact match for some defined option. If they have an
- argument, it follows the option name in the same ARGV-element, separated
- from the option name by a `=', or else the in next ARGV-element.
- When `getopt' finds a long-named option, it returns 0 if that option's
- `flag' field is nonzero, the value of the option's `val' field
- if the `flag' field is zero.
- The elements of ARGV aren't really const, because we permute them.
- But we pretend they're const in the prototype to be compatible
- with other systems.
- LONGOPTS is a vector of `struct option' terminated by an
- element containing a name which is zero.
- LONGIND returns the index in LONGOPT of the long-named option found.
- It is only valid when a long-named option has been found by the most
- recent call.
- If LONG_ONLY is nonzero, '-' as well as '--' can introduce
- long-named options. */
- int
- _getopt_internal (argc, argv, optstring, longopts, longind, long_only)
- int argc;
- char *const *argv;
- const char *optstring;
- const struct option *longopts;
- int *longind;
- int long_only;
- {
- optarg = NULL;
- if (optind == 0 || !__getopt_initialized)
- {
- if (optind == 0)
- optind = 1; /* Don't scan ARGV[0], the program name. */
- optstring = _getopt_initialize (argc, argv, optstring);
- __getopt_initialized = 1;
- }
- /* Test whether ARGV[optind] points to a non-option argument.
- Either it does not have option syntax, or there is an environment flag
- from the shell indicating it is not an option. The later information
- is only used when the used in the GNU libc. */
- #ifdef _LIBC
- # define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0' \
- || (optind < nonoption_flags_len \
- && __getopt_nonoption_flags[optind] == '1'))
- #else
- # define NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0')
- #endif
- if (nextchar == NULL || *nextchar == '\0')
- {
- /* Advance to the next ARGV-element. */
- /* Give FIRST_NONOPT & LAST_NONOPT rational values if OPTIND has been
- moved back by the user (who may also have changed the arguments). */
- if (last_nonopt > optind)
- last_nonopt = optind;
- if (first_nonopt > optind)
- first_nonopt = optind;
- if (ordering == PERMUTE)
- {
- /* If we have just processed some options following some non-options,
- exchange them so that the options come first. */
- if (first_nonopt != last_nonopt && last_nonopt != optind)
- exchange ((char **) argv);
- else if (last_nonopt != optind)
- first_nonopt = optind;
- /* Skip any additional non-options
- and extend the range of non-options previously skipped. */
- while (optind < argc && NONOPTION_P)
- optind++;
- last_nonopt = optind;
- }
- /* The special ARGV-element `--' means premature end of options.
- Skip it like a null option,
- then exchange with previous non-options as if it were an option,
- then skip everything else like a non-option. */
- if (optind != argc && !strcmp (argv[optind], "--"))
- {
- optind++;
- if (first_nonopt != last_nonopt && last_nonopt != optind)
- exchange ((char **) argv);
- else if (first_nonopt == last_nonopt)
- first_nonopt = optind;
- last_nonopt = argc;
- optind = argc;
- }
- /* If we have done all the ARGV-elements, stop the scan
- and back over any non-options that we skipped and permuted. */
- if (optind == argc)
- {
- /* Set the next-arg-index to point at the non-options
- that we previously skipped, so the caller will digest them. */
- if (first_nonopt != last_nonopt)
- optind = first_nonopt;
- return -1;
- }
- /* If we have come to a non-option and did not permute it,
- either stop the scan or describe it to the caller and pass it by. */
- if (NONOPTION_P)
- {
- if (ordering == REQUIRE_ORDER)
- return -1;
- optarg = argv[optind++];
- return 1;
- }
- /* We have found another option-ARGV-element.
- Skip the initial punctuation. */
- nextchar = (argv[optind] + 1
- + (longopts != NULL && argv[optind][1] == '-'));
- }
- /* Decode the current option-ARGV-element. */
- /* Check whether the ARGV-element is a long option.
- If long_only and the ARGV-element has the form "-f", where f is
- a valid short option, don't consider it an abbreviated form of
- a long option that starts with f. Otherwise there would be no
- way to give the -f short option.
- On the other hand, if there's a long option "fubar" and
- the ARGV-element is "-fu", do consider that an abbreviation of
- the long option, just like "--fu", and not "-f" with arg "u".
- This distinction seems to be the most useful approach. */
- if (longopts != NULL
- && (argv[optind][1] == '-'
- || (long_only && (argv[optind][2] || !my_index (optstring, argv[optind][1])))))
- {
- char *nameend;
- const struct option *p;
- const struct option *pfound = NULL;
- int exact = 0;
- int ambig = 0;
- int indfound = -1;
- int option_index;
- for (nameend = nextchar; *nameend && *nameend != '='; nameend++)
- /* Do nothing. */ ;
- /* Test all long options for either exact match
- or abbreviated matches. */
- for (p = longopts, option_index = 0; p->name; p++, option_index++)
- if (!strncmp (p->name, nextchar, nameend - nextchar))
- {
- if ((unsigned int) (nameend - nextchar)
- == (unsigned int) strlen (p->name))
- {
- /* Exact match found. */
- pfound = p;
- indfound = option_index;
- exact = 1;
- break;
- }
- else if (pfound == NULL)
- {
- /* First nonexact match found. */
- pfound = p;
- indfound = option_index;
- }
- else
- /* Second or later nonexact match found. */
- ambig = 1;
- }
- if (ambig && !exact)
- {
- if (opterr)
- fprintf (stderr, _("%s: option `%s' is ambiguous\n"),
- argv[0], argv[optind]);
- nextchar += strlen (nextchar);
- optind++;
- optopt = 0;
- return '?';
- }
- if (pfound != NULL)
- {
- option_index = indfound;
- optind++;
- if (*nameend)
- {
- /* Don't test has_arg with >, because some C compilers don't
- allow it to be used on enums. */
- if (pfound->has_arg)
- optarg = nameend + 1;
- else
- {
- if (opterr)
- {
- if (argv[optind - 1][1] == '-')
- /* --option */
- fprintf (stderr,
- _("%s: option `--%s' doesn't allow an argument\n"),
- argv[0], pfound->name);
- else
- /* +option or -option */
- fprintf (stderr,
- _("%s: option `%c%s' doesn't allow an argument\n"),
- argv[0], argv[optind - 1][0], pfound->name);
- }
- nextchar += strlen (nextchar);
- optopt = pfound->val;
- return '?';
- }
- }
- else if (pfound->has_arg == 1)
- {
- if (optind < argc)
- optarg = argv[optind++];
- else
- {
- if (opterr)
- fprintf (stderr,
- _("%s: option `%s' requires an argument\n"),
- argv[0], argv[optind - 1]);
- nextchar += strlen (nextchar);
- optopt = pfound->val;
- return optstring[0] == ':' ? ':' : '?';
- }
- }
- nextchar += strlen (nextchar);
- if (longind != NULL)
- *longind = option_index;
- if (pfound->flag)
- {
- *(pfound->flag) = pfound->val;
- return 0;
- }
- return pfound->val;
- }
- /* Can't find it as a long option. If this is not getopt_long_only,
- or the option starts with '--' or is not a valid short
- option, then it's an error.
- Otherwise interpret it as a short option. */
- if (!long_only || argv[optind][1] == '-'
- || my_index (optstring, *nextchar) == NULL)
- {
- if (opterr)
- {
- if (argv[optind][1] == '-')
- /* --option */
- fprintf (stderr, _("%s: unrecognized option `--%s'\n"),
- argv[0], nextchar);
- else
- /* +option or -option */
- fprintf (stderr, _("%s: unrecognized option `%c%s'\n"),
- argv[0], argv[optind][0], nextchar);
- }
- nextchar = (char *) "";
- optind++;
- optopt = 0;
- return '?';
- }
- }
- /* Look at and handle the next short option-character. */
- {
- char c = *nextchar++;
- char *temp = my_index (optstring, c);
- /* Increment `optind' when we start to process its last character. */
- if (*nextchar == '\0')
- ++optind;
- if (temp == NULL || c == ':')
- {
- if (opterr)
- {
- if (posixly_correct)
- /* 1003.2 specifies the format of this message. */
- fprintf (stderr, _("%s: illegal option -- %c\n"),
- argv[0], c);
- else
- fprintf (stderr, _("%s: invalid option -- %c\n"),
- argv[0], c);
- }
- optopt = c;
- return '?';
- }
- /* Convenience. Treat POSIX -W foo same as long option --foo */
- if (temp[0] == 'W' && temp[1] == ';')
- {
- char *nameend;
- const struct option *p;
- const struct option *pfound = NULL;
- int exact = 0;
- int ambig = 0;
- int indfound = 0;
- int option_index;
- /* This is an option that requires an argument. */
- if (*nextchar != '\0')
- {
- optarg = nextchar;
- /* If we end this ARGV-element by taking the rest as an arg,
- we must advance to the next element now. */
- optind++;
- }
- else if (optind == argc)
- {
- if (opterr)
- {
- /* 1003.2 specifies the format of this message. */
- fprintf (stderr, _("%s: option requires an argument -- %c\n"),
- argv[0], c);
- }
- optopt = c;
- if (optstring[0] == ':')
- c = ':';
- else
- c = '?';
- return c;
- }
- else
- /* We already incremented `optind' once;
- increment it again when taking next ARGV-elt as argument. */
- optarg = argv[optind++];
- /* optarg is now the argument, see if it's in the
- table of longopts. */
- for (nextchar = nameend = optarg; *nameend && *nameend != '='; nameend++)
- /* Do nothing. */ ;
- /* Test all long options for either exact match
- or abbreviated matches. */
- for (p = longopts, option_index = 0; p->name; p++, option_index++)
- if (!strncmp (p->name, nextchar, nameend - nextchar))
- {
- if ((unsigned int) (nameend - nextchar) == strlen (p->name))
- {
- /* Exact match found. */
- pfound = p;
- indfound = option_index;
- exact = 1;
- break;
- }
- else if (pfound == NULL)
- {
- /* First nonexact match found. */
- pfound = p;
- indfound = option_index;
- }
- else
- /* Second or later nonexact match found. */
- ambig = 1;
- }
- if (ambig && !exact)
- {
- if (opterr)
- fprintf (stderr, _("%s: option `-W %s' is ambiguous\n"),
- argv[0], argv[optind]);
- nextchar += strlen (nextchar);
- optind++;
- return '?';
- }
- if (pfound != NULL)
- {
- option_index = indfound;
- if (*nameend)
- {
- /* Don't test has_arg with >, because some C compilers don't
- allow it to be used on enums. */
- if (pfound->has_arg)
- optarg = nameend + 1;
- else
- {
- if (opterr)
- fprintf (stderr, _("\
- %s: option `-W %s' doesn't allow an argument\n"),
- argv[0], pfound->name);
- nextchar += strlen (nextchar);
- return '?';
- }
- }
- else if (pfound->has_arg == 1)
- {
- if (optind < argc)
- optarg = argv[optind++];
- else
- {
- if (opterr)
- fprintf (stderr,
- _("%s: option `%s' requires an argument\n"),
- argv[0], argv[optind - 1]);
- nextchar += strlen (nextchar);
- return optstring[0] == ':' ? ':' : '?';
- }
- }
- nextchar += strlen (nextchar);
- if (longind != NULL)
- *longind = option_index;
- if (pfound->flag)
- {
- *(pfound->flag) = pfound->val;
- return 0;
- }
- return pfound->val;
- }
- nextchar = NULL;
- return 'W'; /* Let the application handle it. */
- }
- if (temp[1] == ':')
- {
- if (temp[2] == ':')
- {
- /* This is an option that accepts an argument optionally. */
- if (*nextchar != '\0')
- {
- optarg = nextchar;
- optind++;
- }
- else
- optarg = NULL;
- nextchar = NULL;
- }
- else
- {
- /* This is an option that requires an argument. */
- if (*nextchar != '\0')
- {
- optarg = nextchar;
- /* If we end this ARGV-element by taking the rest as an arg,
- we must advance to the next element now. */
- optind++;
- }
- else if (optind == argc)
- {
- if (opterr)
- {
- /* 1003.2 specifies the format of this message. */
- fprintf (stderr,
- _("%s: option requires an argument -- %c\n"),
- argv[0], c);
- }
- optopt = c;
- if (optstring[0] == ':')
- c = ':';
- else
- c = '?';
- }
- else
- /* We already incremented `optind' once;
- increment it again when taking next ARGV-elt as argument. */
- optarg = argv[optind++];
- nextchar = NULL;
- }
- }
- return c;
- }
- }
- int
- getopt (argc, argv, optstring)
- int argc;
- char *const *argv;
- const char *optstring;
- {
- return _getopt_internal (argc, argv, optstring,
- (const struct option *) 0,
- (int *) 0,
- 0);
- }
- int
- getopt_long (argc, argv, options, long_options, opt_index)
- int argc;
- char *const *argv;
- const char *options;
- const struct option *long_options;
- int *opt_index;
- {
- return _getopt_internal (argc, argv, options, long_options, opt_index, 0);
- }
- int
- getopt_long_only (argc, argv, options, long_options, opt_index)
- int argc;
- char *const *argv;
- const char *options;
- const struct option *long_options;
- int *opt_index;
- {
- return _getopt_internal (argc, argv, options, long_options, opt_index, 1);
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: simple programmatic interface for encoder mode setup
- last mod: $Id: vorbisenc.c,v 1.47 2002/07/11 06:40:50 xiphmont Exp $
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: libvorbis codec headers
- last mod: $Id: codec_internal.h,v 1.17 2003/08/18 05:34:01 xiphmont Exp $
- ********************************************************************/
- #define _V_CODECI_H_
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: PCM data envelope analysis and manipulation
- last mod: $Id: envelope.h,v 1.25 2002/07/11 06:40:48 xiphmont Exp $
- ********************************************************************/
- #define _V_ENVELOPE_
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: modified discrete cosine transform prototypes
- last mod: $Id: mdct.h,v 1.20 2002/01/22 11:59:00 xiphmont Exp $
- ********************************************************************/
- #define _OGG_mdct_H_
- /*#define MDCT_INTEGERIZED <- be warned there could be some hurt left here*/
- #ifdef MDCT_INTEGERIZED
- #define DATA_TYPE int
- #define REG_TYPE register int
- #define TRIGBITS 14
- #define cPI3_8 6270
- #define cPI2_8 11585
- #define cPI1_8 15137
- #define FLOAT_CONV(x) ((int)((x)*(1<<TRIGBITS)+.5))
- #define MULT_NORM(x) ((x)>>TRIGBITS)
- #define HALVE(x) ((x)>>1)
- #else
- #define DATA_TYPE float
- #define REG_TYPE float
- #define cPI3_8 .38268343236508977175F
- #define cPI2_8 .70710678118654752441F
- #define cPI1_8 .92387953251128675613F
- #define FLOAT_CONV(x) (x)
- #define MULT_NORM(x) (x)
- #define HALVE(x) ((x)*.5f)
- #endif
- typedef struct {
- int n;
- int log2n;
-
- DATA_TYPE *trig;
- int *bitrev;
- DATA_TYPE scale;
- } mdct_lookup;
- extern void mdct_init(mdct_lookup *lookup,int n);
- extern void mdct_clear(mdct_lookup *l);
- extern void mdct_forward(mdct_lookup *init, DATA_TYPE *in, DATA_TYPE *out);
- extern void mdct_backward(mdct_lookup *init, DATA_TYPE *in, DATA_TYPE *out);
- #define VE_PRE 16
- #define VE_WIN 4
- #define VE_POST 2
- #define VE_AMP (VE_PRE+VE_POST-1)
- #define VE_BANDS 7
- #define VE_NEARDC 15
- #define VE_MINSTRETCH 2 /* a bit less than short block */
- #define VE_MAXSTRETCH 12 /* one-third full block */
- typedef struct {
- float ampbuf[VE_AMP];
- int ampptr;
- float nearDC[VE_NEARDC];
- float nearDC_acc;
- float nearDC_partialacc;
- int nearptr;
- } envelope_filter_state;
- typedef struct {
- int begin;
- int end;
- float *window;
- float total;
- } envelope_band;
- typedef struct {
- int ch;
- int winlength;
- int searchstep;
- float minenergy;
- mdct_lookup mdct;
- float *mdct_win;
- envelope_band band[VE_BANDS];
- envelope_filter_state *filter;
- int stretch;
- int *mark;
- long storage;
- long current;
- long curmark;
- long cursor;
- } envelope_lookup;
- extern void _ve_envelope_init(envelope_lookup *e,vorbis_info *vi);
- extern void _ve_envelope_clear(envelope_lookup *e);
- extern long _ve_envelope_search(vorbis_dsp_state *v);
- extern void _ve_envelope_shift(envelope_lookup *e,long shift);
- extern int _ve_envelope_mark(vorbis_dsp_state *v);
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: basic shared codebook operations
- last mod: $Id: codebook.h,v 1.13 2002/06/28 22:19:35 xiphmont Exp $
- ********************************************************************/
- #define _V_CODEBOOK_H_
- /* This structure encapsulates huffman and VQ style encoding books; it
- doesn't do anything specific to either.
- valuelist/quantlist are nonNULL (and q_* significant) only if
- there's entry->value mapping to be done.
- If encode-side mapping must be done (and thus the entry needs to be
- hunted), the auxiliary encode pointer will point to a decision
- tree. This is true of both VQ and huffman, but is mostly useful
- with VQ.
- */
- typedef struct static_codebook{
- long dim; /* codebook dimensions (elements per vector) */
- long entries; /* codebook entries */
- long *lengthlist; /* codeword lengths in bits */
- /* mapping ***************************************************************/
- int maptype; /* 0=none
- 1=implicitly populated values from map column
- 2=listed arbitrary values */
- /* The below does a linear, single monotonic sequence mapping. */
- long q_min; /* packed 32 bit float; quant value 0 maps to minval */
- long q_delta; /* packed 32 bit float; val 1 - val 0 == delta */
- int q_quant; /* bits: 0 < quant <= 16 */
- int q_sequencep; /* bitflag */
- long *quantlist; /* map == 1: (int)(entries^(1/dim)) element column map
- map == 2: list of dim*entries quantized entry vals
- */
- /* encode helpers ********************************************************/
- struct encode_aux_nearestmatch *nearest_tree;
- struct encode_aux_threshmatch *thresh_tree;
- struct encode_aux_pigeonhole *pigeon_tree;
- int allocedp;
- } static_codebook;
- /* this structures an arbitrary trained book to quickly find the
- nearest cell match */
- typedef struct encode_aux_nearestmatch{
- /* pre-calculated partitioning tree */
- long *ptr0;
- long *ptr1;
- long *p; /* decision points (each is an entry) */
- long *q; /* decision points (each is an entry) */
- long aux; /* number of tree entries */
- long alloc;
- } encode_aux_nearestmatch;
- /* assumes a maptype of 1; encode side only, so that's OK */
- typedef struct encode_aux_threshmatch{
- float *quantthresh;
- long *quantmap;
- int quantvals;
- int threshvals;
- } encode_aux_threshmatch;
- typedef struct encode_aux_pigeonhole{
- float min;
- float del;
- int mapentries;
- int quantvals;
- long *pigeonmap;
- long fittotal;
- long *fitlist;
- long *fitmap;
- long *fitlength;
- } encode_aux_pigeonhole;
- typedef struct codebook{
- long dim; /* codebook dimensions (elements per vector) */
- long entries; /* codebook entries */
- long used_entries; /* populated codebook entries */
- const static_codebook *c;
- /* for encode, the below are entry-ordered, fully populated */
- /* for decode, the below are ordered by bitreversed codeword and only
- used entries are populated */
- float *valuelist; /* list of dim*entries actual entry values */
- ogg_uint32_t *codelist; /* list of bitstream codewords for each entry */
- int *dec_index; /* only used if sparseness collapsed */
- char *dec_codelengths;
- ogg_uint32_t *dec_firsttable;
- int dec_firsttablen;
- int dec_maxlength;
- } codebook;
- extern void vorbis_staticbook_clear(static_codebook *b);
- extern void vorbis_staticbook_destroy(static_codebook *b);
- extern int vorbis_book_init_encode(codebook *dest,const static_codebook *source);
- extern int vorbis_book_init_decode(codebook *dest,const static_codebook *source);
- extern void vorbis_book_clear(codebook *b);
- extern float *_book_unquantize(const static_codebook *b,int n,int *map);
- extern float *_book_logdist(const static_codebook *b,float *vals);
- extern float _float32_unpack(long val);
- extern long _float32_pack(float val);
- extern int _best(codebook *book, float *a, int step);
- extern int _ilog(unsigned int v);
- extern long _book_maptype1_quantvals(const static_codebook *b);
- extern int vorbis_book_besterror(codebook *book,float *a,int step,int addmul);
- extern long vorbis_book_codeword(codebook *book,int entry);
- extern long vorbis_book_codelen(codebook *book,int entry);
- extern int vorbis_staticbook_pack(const static_codebook *c,oggpack_buffer *b);
- extern int vorbis_staticbook_unpack(oggpack_buffer *b,static_codebook *c);
- extern int vorbis_book_encode(codebook *book, int a, oggpack_buffer *b);
- extern int vorbis_book_errorv(codebook *book, float *a);
- extern int vorbis_book_encodev(codebook *book, int best,float *a,
- oggpack_buffer *b);
- extern long vorbis_book_decode(codebook *book, oggpack_buffer *b);
- extern long vorbis_book_decodevs_add(codebook *book, float *a,
- oggpack_buffer *b,int n);
- extern long vorbis_book_decodev_set(codebook *book, float *a,
- oggpack_buffer *b,int n);
- extern long vorbis_book_decodev_add(codebook *book, float *a,
- oggpack_buffer *b,int n);
- extern long vorbis_book_decodevv_add(codebook *book, float **a,
- long off,int ch,
- oggpack_buffer *b,int n);
- #define BLOCKTYPE_IMPULSE 0
- #define BLOCKTYPE_PADDING 1
- #define BLOCKTYPE_TRANSITION 0
- #define BLOCKTYPE_LONG 1
- #define PACKETBLOBS 15
- typedef struct vorbis_block_internal{
- float **pcmdelay; /* this is a pointer into local storage */
- float ampmax;
- int blocktype;
- ogg_uint32_t packetblob_markers[PACKETBLOBS];
- } vorbis_block_internal;
- typedef void vorbis_look_floor;
- typedef void vorbis_look_residue;
- typedef void vorbis_look_transform;
- /* mode ************************************************************/
- typedef struct {
- int blockflag;
- int windowtype;
- int transformtype;
- int mapping;
- } vorbis_info_mode;
- typedef void vorbis_info_floor;
- typedef void vorbis_info_residue;
- typedef void vorbis_info_mapping;
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: random psychoacoustics (not including preecho)
- last mod: $Id: psy.h,v 1.32 2002/07/13 06:12:47 xiphmont Exp $
- ********************************************************************/
- #define _V_PSY_H_
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: fft transform
- last mod: $Id: smallft.h,v 1.12 2002/07/11 06:40:50 xiphmont Exp $
- ********************************************************************/
- #define _V_SMFT_H_
- typedef struct {
- int n;
- float *trigcache;
- int *splitcache;
- } drft_lookup;
- extern void drft_forward(drft_lookup *l,float *data);
- extern void drft_backward(drft_lookup *l,float *data);
- extern void drft_init(drft_lookup *l,int n);
- extern void drft_clear(drft_lookup *l);
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: libvorbis backend and mapping structures; needed for
- static mode headers
- last mod: $Id: backends.h,v 1.14 2002/07/11 06:40:48 xiphmont Exp $
- ********************************************************************/
- /* this is exposed up here because we need it for static modes.
- Lookups for each backend aren't exposed because there's no reason
- to do so */
- #define _vorbis_backend_h_
- /* this would all be simpler/shorter with templates, but.... */
- /* Floor backend generic *****************************************/
- typedef struct{
- void (*pack) (vorbis_info_floor *,oggpack_buffer *);
- vorbis_info_floor *(*unpack)(vorbis_info *,oggpack_buffer *);
- vorbis_look_floor *(*look) (vorbis_dsp_state *,vorbis_info_floor *);
- void (*free_info) (vorbis_info_floor *);
- void (*free_look) (vorbis_look_floor *);
- void *(*inverse1) (struct vorbis_block *,vorbis_look_floor *);
- int (*inverse2) (struct vorbis_block *,vorbis_look_floor *,
- void *buffer,float *);
- } vorbis_func_floor;
- typedef struct{
- int order;
- long rate;
- long barkmap;
- int ampbits;
- int ampdB;
- int numbooks; /* <= 16 */
- int books[16];
- float lessthan; /* encode-only config setting hacks for libvorbis */
- float greaterthan; /* encode-only config setting hacks for libvorbis */
- } vorbis_info_floor0;
- #define VIF_POSIT 63
- #define VIF_CLASS 16
- #define VIF_PARTS 31
- typedef struct{
- int partitions; /* 0 to 31 */
- int partitionclass[VIF_PARTS]; /* 0 to 15 */
- int class_dim[VIF_CLASS]; /* 1 to 8 */
- int class_subs[VIF_CLASS]; /* 0,1,2,3 (bits: 1<<n poss) */
- int class_book[VIF_CLASS]; /* subs ^ dim entries */
- int class_subbook[VIF_CLASS][8]; /* [VIF_CLASS][subs] */
- int mult; /* 1 2 3 or 4 */
- int postlist[VIF_POSIT+2]; /* first two implicit */
- /* encode side analysis parameters */
- float maxover;
- float maxunder;
- float maxerr;
- float twofitweight;
- float twofitatten;
- int n;
- } vorbis_info_floor1;
- /* Residue backend generic *****************************************/
- typedef struct{
- void (*pack) (vorbis_info_residue *,oggpack_buffer *);
- vorbis_info_residue *(*unpack)(vorbis_info *,oggpack_buffer *);
- vorbis_look_residue *(*look) (vorbis_dsp_state *,
- vorbis_info_residue *);
- void (*free_info) (vorbis_info_residue *);
- void (*free_look) (vorbis_look_residue *);
- long **(*class) (struct vorbis_block *,vorbis_look_residue *,
- float **,int *,int);
- int (*forward) (struct vorbis_block *,vorbis_look_residue *,
- float **,float **,int *,int,long **);
- int (*inverse) (struct vorbis_block *,vorbis_look_residue *,
- float **,int *,int);
- } vorbis_func_residue;
- typedef struct vorbis_info_residue0{
- /* block-partitioned VQ coded straight residue */
- long begin;
- long end;
- /* first stage (lossless partitioning) */
- int grouping; /* group n vectors per partition */
- int partitions; /* possible codebooks for a partition */
- int groupbook; /* huffbook for partitioning */
- int secondstages[64]; /* expanded out to pointers in lookup */
- int booklist[256]; /* list of second stage books */
- float classmetric1[64];
- float classmetric2[64];
- } vorbis_info_residue0;
- /* Mapping backend generic *****************************************/
- typedef struct{
- void (*pack) (vorbis_info *,vorbis_info_mapping *,
- oggpack_buffer *);
- vorbis_info_mapping *(*unpack)(vorbis_info *,oggpack_buffer *);
- void (*free_info) (vorbis_info_mapping *);
- int (*forward) (struct vorbis_block *vb);
- int (*inverse) (struct vorbis_block *vb,vorbis_info_mapping *);
- } vorbis_func_mapping;
- typedef struct vorbis_info_mapping0{
- int submaps; /* <= 16 */
- int chmuxlist[256]; /* up to 256 channels in a Vorbis stream */
-
- int floorsubmap[16]; /* [mux] submap to floors */
- int residuesubmap[16]; /* [mux] submap to residue */
- int coupling_steps;
- int coupling_mag[256];
- int coupling_ang[256];
- } vorbis_info_mapping0;
- #ifndef EHMER_MAX
- #define EHMER_MAX 56
- #endif
- /* psychoacoustic setup ********************************************/
- #define P_BANDS 17 /* 62Hz to 16kHz */
- #define P_LEVELS 8 /* 30dB to 100dB */
- #define P_LEVEL_0 30. /* 30 dB */
- #define P_NOISECURVES 3
- #define NOISE_COMPAND_LEVELS 40
- typedef struct vorbis_info_psy{
- int blockflag;
- float ath_adjatt;
- float ath_maxatt;
- float tone_masteratt[P_NOISECURVES];
- float tone_centerboost;
- float tone_decay;
- float tone_abs_limit;
- float toneatt[P_BANDS];
- int noisemaskp;
- float noisemaxsupp;
- float noisewindowlo;
- float noisewindowhi;
- int noisewindowlomin;
- int noisewindowhimin;
- int noisewindowfixed;
- float noiseoff[P_NOISECURVES][P_BANDS];
- float noisecompand[NOISE_COMPAND_LEVELS];
- float max_curve_dB;
- int normal_channel_p;
- int normal_point_p;
- int normal_start;
- int normal_partition;
- double normal_thresh;
- } vorbis_info_psy;
- typedef struct{
- int eighth_octave_lines;
- /* for block long/short tuning; encode only */
- float preecho_thresh[VE_BANDS];
- float postecho_thresh[VE_BANDS];
- float stretch_penalty;
- float preecho_minenergy;
- float ampmax_att_per_sec;
- /* channel coupling config */
- int coupling_pkHz[PACKETBLOBS];
- int coupling_pointlimit[2][PACKETBLOBS];
- int coupling_prepointamp[PACKETBLOBS];
- int coupling_postpointamp[PACKETBLOBS];
- int sliding_lowpass[2][PACKETBLOBS];
- } vorbis_info_psy_global;
- typedef struct {
- float ampmax;
- int channels;
- vorbis_info_psy_global *gi;
- int coupling_pointlimit[2][P_NOISECURVES];
- } vorbis_look_psy_global;
- typedef struct {
- int n;
- struct vorbis_info_psy *vi;
- float ***tonecurves;
- float **noiseoffset;
- float *ath;
- long *octave; /* in n.ocshift format */
- long *bark;
- long firstoc;
- long shiftoc;
- int eighth_octave_lines; /* power of two, please */
- int total_octave_lines;
- long rate; /* cache it */
- } vorbis_look_psy;
- extern void _vp_psy_init(vorbis_look_psy *p,vorbis_info_psy *vi,
- vorbis_info_psy_global *gi,int n,long rate);
- extern void _vp_psy_clear(vorbis_look_psy *p);
- extern void *_vi_psy_dup(void *source);
- extern void _vi_psy_free(vorbis_info_psy *i);
- extern vorbis_info_psy *_vi_psy_copy(vorbis_info_psy *i);
- extern void _vp_remove_floor(vorbis_look_psy *p,
- float *mdct,
- int *icodedflr,
- float *residue,
- int sliding_lowpass);
- extern void _vp_noisemask(vorbis_look_psy *p,
- float *logmdct,
- float *logmask);
- extern void _vp_tonemask(vorbis_look_psy *p,
- float *logfft,
- float *logmask,
- float global_specmax,
- float local_specmax);
- extern void _vp_offset_and_mix(vorbis_look_psy *p,
- float *noise,
- float *tone,
- int offset_select,
- float *logmask);
- extern float _vp_ampmax_decay(float amp,vorbis_dsp_state *vd);
- extern float **_vp_quantize_couple_memo(vorbis_block *vb,
- vorbis_info_psy_global *g,
- vorbis_look_psy *p,
- vorbis_info_mapping0 *vi,
- float **mdct);
- extern void _vp_couple(int blobno,
- vorbis_info_psy_global *g,
- vorbis_look_psy *p,
- vorbis_info_mapping0 *vi,
- float **res,
- float **mag_memo,
- int **mag_sort,
- int **ifloor,
- int *nonzero,
- int sliding_lowpass);
- extern void _vp_noise_normalize(vorbis_look_psy *p,
- float *in,float *out,int *sortedindex);
- extern void _vp_noise_normalize_sort(vorbis_look_psy *p,
- float *magnitudes,int *sortedindex);
- extern int **_vp_quantize_couple_sort(vorbis_block *vb,
- vorbis_look_psy *p,
- vorbis_info_mapping0 *vi,
- float **mags);
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: bitrate tracking and management
- last mod: $Id: bitrate.h,v 1.7 2002/07/11 06:40:48 xiphmont Exp $
- ********************************************************************/
- #define _V_BITRATE_H_
- #define _OS_H
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: #ifdef jail to whip a few platforms into the UNIX ideal.
- last mod: $Id: os.h,v 1.33 2003/09/02 05:11:53 xiphmont Exp $
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: miscellaneous prototypes
- last mod: $Id: misc.h,v 1.12 2002/06/28 22:19:37 xiphmont Exp $
- ********************************************************************/
- #define _V_RANDOM_H_
- extern int analysis_noisy;
- extern void *_vorbis_block_alloc(vorbis_block *vb,long bytes);
- extern void _vorbis_block_ripcord(vorbis_block *vb);
- extern void _analysis_output(char *base,int i,float *v,int n,int bark,int dB,
- ogg_int64_t off);
- #ifndef _V_IFDEFJAIL_H_
- # define _V_IFDEFJAIL_H_
- # ifdef __GNUC__
- # define STIN static __inline__
- # elif _WIN32
- # define STIN static __inline
- # else
- # define STIN static
- # endif
- #ifdef DJGPP
- # define rint(x) (floor((x)+0.5f))
- #endif
- #ifndef M_PI
- # define M_PI (3.1415926536f)
- #endif
- #ifndef FAST_HYPOT
- # define FAST_HYPOT hypot
- #endif
- #endif
- #ifndef min
- # define min(x,y) ((x)>(y)?(y):(x))
- #endif
- #ifndef max
- # define max(x,y) ((x)<(y)?(y):(x))
- #endif
- #if defined(__i386__) && defined(__GNUC__) && !defined(__BEOS__)
- # define VORBIS_FPU_CONTROL
- /* both GCC and MSVC are kinda stupid about rounding/casting to int.
- Because of encapsulation constraints (GCC can't see inside the asm
- block and so we end up doing stupid things like a store/load that
- is collectively a noop), we do it this way */
- /* we must set up the fpu before this works!! */
- typedef ogg_int16_t vorbis_fpu_control;
- static inline void vorbis_fpu_setround(vorbis_fpu_control *fpu){
- ogg_int16_t ret;
- ogg_int16_t temp;
- __asm__ __volatile__("fnstcw %0\n\t"
- "movw %0,%%dx\n\t"
- "orw $62463,%%dx\n\t"
- "movw %%dx,%1\n\t"
- "fldcw %1\n\t":"=m"(ret):"m"(temp): "dx");
- *fpu=ret;
- }
- static inline void vorbis_fpu_restore(vorbis_fpu_control fpu){
- __asm__ __volatile__("fldcw %0":: "m"(fpu));
- }
- /* assumes the FPU is in round mode! */
- static inline int vorbis_ftoi(double f){ /* yes, double! Otherwise,
- we get extra fst/fld to
- truncate precision */
- int i;
- __asm__("fistl %0": "=m"(i) : "t"(f));
- return(i);
- }
- #endif
- #if defined(_WIN32) && !defined(__GNUC__) && !defined(__BORLANDC__)
- # define VORBIS_FPU_CONTROL
- typedef ogg_int16_t vorbis_fpu_control;
- static __inline int vorbis_ftoi(double f){
- int i;
- __asm{
- fld f
- fistp i
- }
- return i;
- }
- static __inline void vorbis_fpu_setround(vorbis_fpu_control *fpu){
- }
- static __inline void vorbis_fpu_restore(vorbis_fpu_control fpu){
- }
- #endif
- #ifndef VORBIS_FPU_CONTROL
- typedef int vorbis_fpu_control;
- static int vorbis_ftoi(double f){
- return (int)(f+.5);
- }
- /* We don't have special code for this compiler/arch, so do it the slow way */
- # define vorbis_fpu_setround(vorbis_fpu_control) {}
- # define vorbis_fpu_restore(vorbis_fpu_control) {}
- #endif
- /* encode side bitrate tracking */
- typedef struct bitrate_manager_state {
- ogg_uint32_t *queue_binned;
- ogg_uint32_t *queue_actual;
- int queue_size;
- int queue_head;
- int queue_bins;
- long *avg_binacc;
- int avg_center;
- int avg_tail;
- ogg_uint32_t avg_centeracc;
- ogg_uint32_t avg_sampleacc;
- ogg_uint32_t avg_sampledesired;
- ogg_uint32_t avg_centerdesired;
- long *minmax_binstack;
- long *minmax_posstack;
- long *minmax_limitstack;
- long minmax_stackptr;
- long minmax_acctotal;
- int minmax_tail;
- ogg_uint32_t minmax_sampleacc;
- ogg_uint32_t minmax_sampledesired;
- int next_to_flush;
- int last_to_flush;
-
- double avgfloat;
- /* unfortunately, we need to hold queued packet data somewhere */
- oggpack_buffer *packetbuffers;
- ogg_packet *packets;
- } bitrate_manager_state;
- typedef struct bitrate_manager_info{
- /* detailed bitrate management setup */
- double queue_avg_time;
- double queue_avg_center;
- double queue_minmax_time;
- double queue_hardmin;
- double queue_hardmax;
- double queue_avgmin;
- double queue_avgmax;
- double avgfloat_downslew_max;
- double avgfloat_upslew_max;
- } bitrate_manager_info;
- extern void vorbis_bitrate_init(vorbis_info *vi,bitrate_manager_state *bs);
- extern void vorbis_bitrate_clear(bitrate_manager_state *bs);
- extern int vorbis_bitrate_managed(vorbis_block *vb);
- extern int vorbis_bitrate_addblock(vorbis_block *vb);
- extern int vorbis_bitrate_flushpacket(vorbis_dsp_state *vd, ogg_packet *op);
- typedef struct private_state {
- /* local lookup storage */
- envelope_lookup *ve; /* envelope lookup */
- int window[2];
- vorbis_look_transform **transform[2]; /* block, type */
- drft_lookup fft_look[2];
- int modebits;
- vorbis_look_floor **flr;
- vorbis_look_residue **residue;
- vorbis_look_psy *psy;
- vorbis_look_psy_global *psy_g_look;
- /* local storage, only used on the encoding side. This way the
- application does not need to worry about freeing some packets'
- memory and not others'; packet storage is always tracked.
- Cleared next call to a _dsp_ function */
- unsigned char *header;
- unsigned char *header1;
- unsigned char *header2;
- bitrate_manager_state bms;
- ogg_int64_t sample_count;
- } private_state;
- /* codec_setup_info contains all the setup information specific to the
- specific compression/decompression mode in progress (eg,
- psychoacoustic settings, channel setup, options, codebook
- etc).
- *********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: highlevel encoder setup struct seperated out for vorbisenc clarity
- last mod: $Id: highlevel.h,v 1.4 2002/07/01 11:20:11 xiphmont Exp $
- ********************************************************************/
- typedef struct highlevel_byblocktype {
- double tone_mask_setting;
- double tone_peaklimit_setting;
- double noise_bias_setting;
- double noise_compand_setting;
- } highlevel_byblocktype;
-
- typedef struct highlevel_encode_setup {
- void *setup;
- int set_in_stone;
- double base_setting;
- double long_setting;
- double short_setting;
- double impulse_noisetune;
- int managed;
- long bitrate_min;
- long bitrate_av_lo;
- long bitrate_av_hi;
- long bitrate_max;
- double bitrate_limit_window;
- double bitrate_av_window;
- double bitrate_av_window_center;
-
- int impulse_block_p;
- int noise_normalize_p;
- double stereo_point_setting;
- double lowpass_kHz;
- double ath_floating_dB;
- double ath_absolute_dB;
- double amplitude_track_dBpersec;
- double trigger_setting;
-
- highlevel_byblocktype block[4]; /* padding, impulse, transition, long */
- } highlevel_encode_setup;
- typedef struct codec_setup_info {
- /* Vorbis supports only short and long blocks, but allows the
- encoder to choose the sizes */
- long blocksizes[2];
- /* modes are the primary means of supporting on-the-fly different
- blocksizes, different channel mappings (LR or M/A),
- different residue backends, etc. Each mode consists of a
- blocksize flag and a mapping (along with the mapping setup */
- int modes;
- int maps;
- int floors;
- int residues;
- int books;
- int psys; /* encode only */
- vorbis_info_mode *mode_param[64];
- int map_type[64];
- vorbis_info_mapping *map_param[64];
- int floor_type[64];
- vorbis_info_floor *floor_param[64];
- int residue_type[64];
- vorbis_info_residue *residue_param[64];
- static_codebook *book_param[256];
- codebook *fullbooks;
- vorbis_info_psy *psy_param[4]; /* encode only */
- vorbis_info_psy_global psy_g_param;
- bitrate_manager_info bi;
- highlevel_encode_setup hi; /* used only by vorbisenc.c. It's a
- highly redundant structure, but
- improves clarity of program flow. */
- int halfrate_flag; /* painless downsample for decode */
- } codec_setup_info;
- extern vorbis_look_psy_global *_vp_global_look(vorbis_info *vi);
- extern void _vp_global_free(vorbis_look_psy_global *look);
- /* careful with this; it's using static array sizing to make managing
- all the modes a little less annoying. If we use a residue backend
- with > 12 partition types, or a different division of iteration,
- this needs to be updated. */
- typedef struct {
- static_codebook *books[12][3];
- } static_bookblock;
- typedef struct {
- int res_type;
- int limit_type; /* 0 lowpass limited, 1 point stereo limited */
- vorbis_info_residue0 *res;
- static_codebook *book_aux;
- static_codebook *book_aux_managed;
- static_bookblock *books_base;
- static_bookblock *books_base_managed;
- } vorbis_residue_template;
- typedef struct {
- vorbis_info_mapping0 *map;
- vorbis_residue_template *res;
- } vorbis_mapping_template;
- typedef struct vp_adjblock{
- int block[P_BANDS];
- } vp_adjblock;
- typedef struct {
- int data[NOISE_COMPAND_LEVELS];
- } compandblock;
- /* high level configuration information for setting things up
- step-by-step with the detailed vorbis_encode_ctl interface.
- There's a fair amount of redundancy such that interactive setup
- does not directly deal with any vorbis_info or codec_setup_info
- initialization; it's all stored (until full init) in this highlevel
- setup, then flushed out to the real codec setup structs later. */
- typedef struct {
- int att[P_NOISECURVES];
- float boost;
- float decay;
- } att3;
- typedef struct { int data[P_NOISECURVES]; } adj3;
- typedef struct {
- int pre[PACKETBLOBS];
- int post[PACKETBLOBS];
- float kHz[PACKETBLOBS];
- float lowpasskHz[PACKETBLOBS];
- } adj_stereo;
- typedef struct {
- int lo;
- int hi;
- int fixed;
- } noiseguard;
- typedef struct {
- int data[P_NOISECURVES][17];
- } noise3;
- typedef struct {
- int mappings;
- double *rate_mapping;
- double *quality_mapping;
- int coupling_restriction;
- long samplerate_min_restriction;
- long samplerate_max_restriction;
- int *blocksize_short;
- int *blocksize_long;
- att3 *psy_tone_masteratt;
- int *psy_tone_0dB;
- int *psy_tone_dBsuppress;
- vp_adjblock *psy_tone_adj_impulse;
- vp_adjblock *psy_tone_adj_long;
- vp_adjblock *psy_tone_adj_other;
- noiseguard *psy_noiseguards;
- noise3 *psy_noise_bias_impulse;
- noise3 *psy_noise_bias_padding;
- noise3 *psy_noise_bias_trans;
- noise3 *psy_noise_bias_long;
- int *psy_noise_dBsuppress;
- compandblock *psy_noise_compand;
- double *psy_noise_compand_short_mapping;
- double *psy_noise_compand_long_mapping;
- int *psy_noise_normal_start[2];
- int *psy_noise_normal_partition[2];
- double *psy_noise_normal_thresh;
- int *psy_ath_float;
- int *psy_ath_abs;
- double *psy_lowpass;
- vorbis_info_psy_global *global_params;
- double *global_mapping;
- adj_stereo *stereo_modes;
- static_codebook ***floor_books;
- vorbis_info_floor1 *floor_params;
- int *floor_short_mapping;
- int *floor_long_mapping;
- vorbis_mapping_template *maps;
- } ve_setup_data_template;
- /* a few static coder conventions */
- static vorbis_info_mode _mode_template[2]={
- {0,0,0,0},
- {1,0,0,1}
- };
- static vorbis_info_mapping0 _map_nominal[2]={
- {1, {0,0}, {0}, {0}, 1,{0},{1}},
- {1, {0,0}, {1}, {1}, 1,{0},{1}}
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: toplevel settings for 44.1/48kHz
- last mod: $Id: setup_44.h,v 1.9 2002/07/11 08:57:29 xiphmont Exp $
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: key floor settings
- last mod: $Id: floor_all.h,v 1.1 2002/07/11 06:41:04 xiphmont Exp $
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the Xiph.Org Foundation http://www.xiph.org/ *
- * *
- ********************************************************************
- function: static codebooks autogenerated by huff/huffbuld
- last modified: $Id: floor_books.h,v 1.3 2002/07/11 06:41:01 xiphmont Exp $
- ********************************************************************/
- static long _huff_lengthlist_line_1024x27_0sub0[] = {
- 5, 5, 5, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5,
- 6, 5, 6, 5, 6, 5, 7, 5, 7, 5, 7, 5, 8, 5, 8, 6,
- 8, 6, 9, 6, 9, 6, 9, 6,10, 6,10, 6,11, 6,11, 6,
- 11, 6,12, 6,12, 7,12, 7,12, 7,12, 7,12, 7,12, 7,
- 12, 7,12, 7,12, 7,12, 7,12, 8,12, 8,11, 8,11, 8,
- 12, 9,11, 9, 9,10,11, 9,12, 9,12,12,14,13,13,14,
- 13,13,13,12,14,16,20,20,21,14,14,15,21,21,21,20,
- 21,21,21,21,21,21,21,21,21,21,20,20,20,20,20,20,
- };
- static static_codebook _huff_book_line_1024x27_0sub0 = {
- 1, 128,
- _huff_lengthlist_line_1024x27_0sub0,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_1024x27_1sub0[] = {
- 2, 5, 5, 4, 5, 4, 5, 4, 5, 4, 6, 4, 6, 5, 6, 5,
- 7, 5, 7, 6, 8, 6, 8, 6, 8, 6, 9, 6,10, 6,10, 6,
- };
- static static_codebook _huff_book_line_1024x27_1sub0 = {
- 1, 32,
- _huff_lengthlist_line_1024x27_1sub0,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_1024x27_1sub1[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 9, 5,10, 4,10, 4, 9, 4, 9, 3, 9, 4, 9, 4, 9, 4,
- 9, 4, 9, 4, 9, 4, 8, 4, 8, 4, 8, 5, 9, 5, 9, 6,
- 8, 6, 9, 7,10, 8,10, 9,10,10,10,12,11,13,12,13,
- 13,15,13,14,13,14,12,15,13,15,14,15,13,16,14,16,
- 14,15,14,14,14,16,15,18,15,18,16,18,18,18,18,18,
- 18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,17,
- };
- static static_codebook _huff_book_line_1024x27_1sub1 = {
- 1, 128,
- _huff_lengthlist_line_1024x27_1sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_1024x27_2sub0[] = {
- 1, 5, 5, 5, 5, 5, 5, 5, 6, 5, 6, 5, 6, 5, 6, 5,
- 6, 6, 7, 6, 7, 7, 8, 8, 9, 8, 9, 9, 9, 9,10,10,
- };
- static static_codebook _huff_book_line_1024x27_2sub0 = {
- 1, 32,
- _huff_lengthlist_line_1024x27_2sub0,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_1024x27_2sub1[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 3, 3, 4, 3, 4, 4, 5, 4, 5, 5, 5, 5, 6, 5, 6, 6,
- 7, 6, 7, 7, 7, 7, 7, 7, 8, 9, 8, 9, 8,10, 8,11,
- 8,12, 9,13, 9,14, 9,14, 8,12, 8,14, 9,14, 8,12,
- 8,11, 8,11, 8,11, 9,11,10,11,10,12,10,12,11,12,
- 12,12,12,12,11,12,11,13,11,13,12,14,14,14,14,14,
- 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,13,
- };
- static static_codebook _huff_book_line_1024x27_2sub1 = {
- 1, 128,
- _huff_lengthlist_line_1024x27_2sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_1024x27_3sub1[] = {
- 0, 4, 5, 4, 5, 3, 5, 3, 5, 3, 5, 4, 4, 4, 5, 4,
- 5, 5,
- };
- static static_codebook _huff_book_line_1024x27_3sub1 = {
- 1, 18,
- _huff_lengthlist_line_1024x27_3sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_1024x27_3sub2[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 3, 3, 3, 3, 4, 4, 4, 5, 4, 6, 5, 6, 5, 7,
- 5, 9, 5,10, 6,11, 6,12, 7,13, 8,15, 8,15, 9,15,
- 9,15,
- };
- static static_codebook _huff_book_line_1024x27_3sub2 = {
- 1, 50,
- _huff_lengthlist_line_1024x27_3sub2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_1024x27_3sub3[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 2, 9, 2, 9, 2, 9, 4, 9, 6, 9, 7, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- };
- static static_codebook _huff_book_line_1024x27_3sub3 = {
- 1, 128,
- _huff_lengthlist_line_1024x27_3sub3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_1024x27_4sub1[] = {
- 0, 4, 5, 4, 5, 4, 6, 3, 6, 3, 5, 3, 5, 3, 6, 4,
- 6, 4,
- };
- static static_codebook _huff_book_line_1024x27_4sub1 = {
- 1, 18,
- _huff_lengthlist_line_1024x27_4sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_1024x27_4sub2[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 4, 2, 4, 2, 5, 3, 5, 4, 6, 6, 6, 6, 7, 7,
- 7, 8, 8, 8, 8, 8, 9, 8, 9, 9, 9, 9, 9,10,10,11,
- 10,11,
- };
- static static_codebook _huff_book_line_1024x27_4sub2 = {
- 1, 50,
- _huff_lengthlist_line_1024x27_4sub2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_1024x27_4sub3[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 3, 3, 3, 6, 4, 6, 4, 5, 5, 7, 4, 8, 5, 9,
- 4, 9, 5, 9, 5, 9, 6, 9, 5, 9, 7, 9, 7, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- };
- static static_codebook _huff_book_line_1024x27_4sub3 = {
- 1, 128,
- _huff_lengthlist_line_1024x27_4sub3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_1024x27_class1[] = {
- 2, 9, 8,14, 7,13,11,14, 1, 5, 3, 7, 4,10, 7,12,
- };
- static static_codebook _huff_book_line_1024x27_class1 = {
- 1, 16,
- _huff_lengthlist_line_1024x27_class1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_1024x27_class2[] = {
- 1, 3, 2, 5, 4, 7, 6, 7,
- };
- static static_codebook _huff_book_line_1024x27_class2 = {
- 1, 8,
- _huff_lengthlist_line_1024x27_class2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_1024x27_class3[] = {
- 1, 5, 6,19, 5, 8,10,19, 9,10,15,19,19,19,19,19,
- 4, 7, 9,19, 6, 7,10,19,11,11,15,19,19,19,19,19,
- 8,11,13,19, 8,11,14,19,13,13,17,19,19,19,19,19,
- 19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,
- 3, 7, 9,19, 6, 8,11,19,11,11,15,19,19,19,19,19,
- 5, 7,11,19, 6, 7,11,19,11,10,14,19,19,19,19,19,
- 8,11,15,19, 8,10,14,19,13,13,16,19,19,19,19,19,
- 19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,
- 6, 9,11,19, 8,10,12,19,15,14,17,19,19,19,19,19,
- 5, 8,11,19, 7, 9,12,19,14,11,16,19,19,19,19,19,
- 9,10,18,19, 9,10,15,19,14,16,19,19,19,19,19,19,
- 19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,
- 16,17,19,19,16,17,17,19,19,19,19,19,19,19,19,19,
- 12,14,16,19,12,12,16,19,19,19,19,19,19,19,19,19,
- 18,18,19,19,17,16,19,19,19,19,19,19,19,19,19,19,
- 19,19,19,19,19,19,19,19,19,19,19,19,19,19,19,18,
- };
- static static_codebook _huff_book_line_1024x27_class3 = {
- 1, 256,
- _huff_lengthlist_line_1024x27_class3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_1024x27_class4[] = {
- 1, 4, 8,12, 4, 6, 8,21, 9, 8,10,21,20,16,18,20,
- 2, 6, 8,20, 7, 6, 9,19,11, 9,10,20,17,15,16,20,
- 5, 8,11,19, 8, 8,10,15,12,10,12,15,20,20,15,20,
- 17,20,20,20,15,20,20,19,20,20,16,19,20,20,20,20,
- };
- static static_codebook _huff_book_line_1024x27_class4 = {
- 1, 64,
- _huff_lengthlist_line_1024x27_class4,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x11_0sub0[] = {
- 5, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5,
- 6, 5, 6, 5, 6, 5, 6, 5, 6, 6, 6, 6, 6, 6, 6, 6,
- 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6, 7, 6,
- 8, 7, 8, 7, 8, 7, 8, 7, 9, 7, 9, 7, 9, 8,10, 8,
- 10, 8,10, 8,10, 8,10, 9,11, 9,11, 9,10, 9,10,10,
- 11,10,11,11,11,11,12,12,13,14,13,14,16,16,16,16,
- 16,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,
- 16,16,16,16,16,16,16,16,16,16,16,16,16,15,15,15,
- };
- static static_codebook _huff_book_line_128x11_0sub0 = {
- 1, 128,
- _huff_lengthlist_line_128x11_0sub0,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x11_1sub0[] = {
- 2, 5, 5, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
- 6, 5, 6, 5, 6, 5, 7, 6, 7, 6, 7, 6, 8, 6, 8, 6,
- };
- static static_codebook _huff_book_line_128x11_1sub0 = {
- 1, 32,
- _huff_lengthlist_line_128x11_1sub0,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x11_1sub1[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 6, 3, 6, 3, 7, 3, 7, 4, 8, 4, 8, 4, 8, 4, 9, 4,
- 10, 5, 9, 5,10, 5,10, 5,10, 5,12, 6,12, 6,10, 6,
- 10, 7,10, 8,10, 8,10, 9,11, 9,12,11,10,11,11,13,
- 12,12,12,13,10,13,10,13,10,13,10,13,11,13,10,13,
- 10,13,10,13,10,13,10,13,11,12,13,13,13,13,13,13,
- 13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
- };
- static static_codebook _huff_book_line_128x11_1sub1 = {
- 1, 128,
- _huff_lengthlist_line_128x11_1sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x11_2sub1[] = {
- 0, 4, 5, 4, 5, 4, 5, 3, 4, 3, 4, 4, 4, 4, 4, 5,
- 5, 5,
- };
- static static_codebook _huff_book_line_128x11_2sub1 = {
- 1, 18,
- _huff_lengthlist_line_128x11_2sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x11_2sub2[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 2, 3, 3, 4, 3, 5, 4, 5, 5, 6, 5, 6, 6, 6,
- 6, 8, 6,10, 7,10, 8,10, 8,10,10,10,10,10,10,10,
- 10,10,
- };
- static static_codebook _huff_book_line_128x11_2sub2 = {
- 1, 50,
- _huff_lengthlist_line_128x11_2sub2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x11_2sub3[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6,
- 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
- 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
- 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
- };
- static static_codebook _huff_book_line_128x11_2sub3 = {
- 1, 128,
- _huff_lengthlist_line_128x11_2sub3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x11_3sub1[] = {
- 0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 4,
- 5, 4,
- };
- static static_codebook _huff_book_line_128x11_3sub1 = {
- 1, 18,
- _huff_lengthlist_line_128x11_3sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x11_3sub2[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 5, 3, 5, 3, 6, 4, 7, 4, 7, 4, 7, 4, 8, 4,
- 8, 4, 9, 4, 9, 4, 9, 5,10, 5,11, 5,12, 6,13, 6,
- 13, 7,
- };
- static static_codebook _huff_book_line_128x11_3sub2 = {
- 1, 50,
- _huff_lengthlist_line_128x11_3sub2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x11_3sub3[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 7, 2, 6, 2, 7, 3, 8, 4, 7, 6, 9, 7, 9, 7,
- 9, 9, 9, 8, 9, 8, 9, 9, 9, 9, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- };
- static static_codebook _huff_book_line_128x11_3sub3 = {
- 1, 128,
- _huff_lengthlist_line_128x11_3sub3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x11_class1[] = {
- 1, 6, 3, 7, 2, 5, 4, 7,
- };
- static static_codebook _huff_book_line_128x11_class1 = {
- 1, 8,
- _huff_lengthlist_line_128x11_class1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x11_class2[] = {
- 1, 5,11,14, 4,11,13,14,10,14,13,14,14,14,13,13,
- 2, 6,11,13, 5,11,12,13,11,12,13,13,13,13,13,13,
- 4, 8,12,13, 5, 9,11,13,12,13,13,13,13,13,13,13,
- 13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
- };
- static static_codebook _huff_book_line_128x11_class2 = {
- 1, 64,
- _huff_lengthlist_line_128x11_class2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x11_class3[] = {
- 6, 7,11,16, 6, 7,10,16,11, 9,13,15,15,15,15,15,
- 4, 4, 7,14, 4, 4, 6,14, 8, 6, 8,15,15,15,15,15,
- 4, 4, 6,15, 3, 2, 4,13, 6, 5, 6,14,15,12,11,14,
- 11,11,13,15, 9, 8,10,15,11,10,11,15,15,15,15,15,
- };
- static static_codebook _huff_book_line_128x11_class3 = {
- 1, 64,
- _huff_lengthlist_line_128x11_class3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x17_0sub0[] = {
- 5, 5, 5, 5, 5, 5, 5, 5, 6, 5, 6, 5, 6, 5, 6, 5,
- 6, 5, 6, 5, 6, 5, 6, 5, 7, 5, 7, 5, 7, 6, 7, 6,
- 7, 6, 8, 6, 8, 6, 8, 6, 8, 6, 8, 6, 8, 7, 9, 7,
- 9, 7, 9, 7, 9, 7, 9, 7, 9, 7,10, 7,10, 8,10, 8,
- 11, 8,11, 8,11, 8,12, 8,12, 8,12, 8,12, 9,12, 9,
- 12, 9,12, 9,13, 9,13,10,13,10,13,11,14,12,14,13,
- 14,14,16,15,17,17,19,18,19,19,19,19,19,19,19,19,
- 19,19,19,19,19,19,19,19,19,19,19,18,18,18,18,18,
- };
- static static_codebook _huff_book_line_128x17_0sub0 = {
- 1, 128,
- _huff_lengthlist_line_128x17_0sub0,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x17_1sub0[] = {
- 2, 5, 5, 4, 5, 4, 5, 4, 5, 4, 5, 5, 5, 5, 6, 5,
- 6, 5, 6, 6, 7, 6, 7, 6, 8, 6, 8, 7, 9, 7, 9, 8,
- };
- static static_codebook _huff_book_line_128x17_1sub0 = {
- 1, 32,
- _huff_lengthlist_line_128x17_1sub0,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x17_1sub1[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 4, 2, 5, 3, 5, 3, 6, 4, 6, 4, 7, 4, 8, 5, 8, 5,
- 8, 6, 9, 6, 9, 7, 9, 8,10, 8,10, 9,10,10,10,10,
- 10,12,10,14,11,15,12,15,11,15,11,15,11,14,11,15,
- 11,14,11,13,10,12,10,14,10,14,11,13,10,12,11,15,
- 12,15,13,15,12,13,14,15,15,15,15,15,15,15,15,15,
- 15,15,15,15,15,15,15,15,15,15,15,15,15,14,14,14,
- };
- static static_codebook _huff_book_line_128x17_1sub1 = {
- 1, 128,
- _huff_lengthlist_line_128x17_1sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x17_2sub1[] = {
- 0, 4, 5, 4, 7, 3, 8, 3, 9, 3,10, 2,12, 3,12, 4,
- 11, 6,
- };
- static static_codebook _huff_book_line_128x17_2sub1 = {
- 1, 18,
- _huff_lengthlist_line_128x17_2sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x17_2sub2[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 7, 1, 8, 2, 9, 3, 9, 7, 9, 7, 9, 7, 8, 7,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8,
- };
- static static_codebook _huff_book_line_128x17_2sub2 = {
- 1, 50,
- _huff_lengthlist_line_128x17_2sub2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x17_2sub3[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6,
- 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
- 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
- 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
- };
- static static_codebook _huff_book_line_128x17_2sub3 = {
- 1, 128,
- _huff_lengthlist_line_128x17_2sub3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x17_3sub1[] = {
- 0, 4, 4, 4, 5, 4, 5, 3, 5, 3, 5, 3, 5, 4, 6, 4,
- 6, 4,
- };
- static static_codebook _huff_book_line_128x17_3sub1 = {
- 1, 18,
- _huff_lengthlist_line_128x17_3sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x17_3sub2[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 5, 3, 6, 3, 6, 3, 7, 4, 8, 4, 8, 4, 9, 4,
- 9, 4,10, 4,10, 5,11, 5,11, 5,12, 5,12, 6,12, 6,
- 12, 7,
- };
- static static_codebook _huff_book_line_128x17_3sub2 = {
- 1, 50,
- _huff_lengthlist_line_128x17_3sub2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x17_3sub3[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 7, 1, 7, 3, 6, 3, 6, 4, 6, 5, 6, 8, 7,10,
- 7,11, 7,11, 8,11, 9,11, 7,11, 8,11, 8,11,10,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- };
- static static_codebook _huff_book_line_128x17_3sub3 = {
- 1, 128,
- _huff_lengthlist_line_128x17_3sub3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x17_class1[] = {
- 1, 3, 4, 7, 2, 6, 5, 7,
- };
- static static_codebook _huff_book_line_128x17_class1 = {
- 1, 8,
- _huff_lengthlist_line_128x17_class1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x17_class2[] = {
- 1, 2, 7,14, 4, 9,13,14, 8,14,14,14,14,14,14,14,
- 3, 5,10,14, 8,14,14,14,11,14,14,14,14,14,14,14,
- 7,10,14,14,12,14,14,14,14,14,14,14,14,14,14,14,
- 14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,13,
- };
- static static_codebook _huff_book_line_128x17_class2 = {
- 1, 64,
- _huff_lengthlist_line_128x17_class2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x17_class3[] = {
- 2, 6,11,19, 5, 9,12,19,10,11,13,19,19,19,19,19,
- 2, 5, 8,19, 4, 6, 8,19, 8, 8, 9,19,19,16,19,19,
- 3, 6, 8,19, 3, 5, 7,18, 8, 8, 9,16,16,11,16,19,
- 14,14,14,19,10,10,11,19,16,12,14,19,19,19,19,19,
- };
- static static_codebook _huff_book_line_128x17_class3 = {
- 1, 64,
- _huff_lengthlist_line_128x17_class3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x4_0sub0[] = {
- 2, 2, 2, 2,
- };
- static static_codebook _huff_book_line_128x4_0sub0 = {
- 1, 4,
- _huff_lengthlist_line_128x4_0sub0,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x4_0sub1[] = {
- 0, 0, 0, 0, 3, 2, 3, 2, 3, 3,
- };
- static static_codebook _huff_book_line_128x4_0sub1 = {
- 1, 10,
- _huff_lengthlist_line_128x4_0sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x4_0sub2[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 3, 4, 4, 4, 4,
- 4, 3, 4, 4, 5, 3, 6, 4, 6,
- };
- static static_codebook _huff_book_line_128x4_0sub2 = {
- 1, 25,
- _huff_lengthlist_line_128x4_0sub2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x4_0sub3[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 5, 2, 6, 3, 6, 3,
- 7, 4, 7, 5, 7, 5, 7, 6, 8, 8, 9,10,10,16,10,16,
- 10,14,10,14,11,15,15,15,15,15,15,15,15,15,15,15,
- };
- static static_codebook _huff_book_line_128x4_0sub3 = {
- 1, 64,
- _huff_lengthlist_line_128x4_0sub3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x4_class0[] = {
- 8, 8, 8,14, 7, 7, 8,13, 7, 6, 7,11,11,11,10,13,
- 9, 9,10,16, 8, 8, 9,12, 7, 7, 7,11,11,11,10,12,
- 11,11,11,14,10,10,10,14, 9, 8, 9,12,13,14,12,14,
- 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,
- 8, 7, 8,11, 7, 7, 7,11, 6, 6, 6,10,10,10,10,14,
- 8, 8, 8,12, 7, 7, 8,11, 6, 7, 7,10,10,10,10,13,
- 10,10,10,12,10, 9, 9,12, 9, 9, 9,12,12,13,12,14,
- 16,16,16,16,16,14,16,16,14,14,16,16,16,16,16,16,
- 7, 6, 5, 7, 6, 6, 5, 6, 6, 5, 5, 5, 9,10, 9,10,
- 8, 7, 6, 7, 7, 6, 5, 6, 6, 6, 5, 6,10,10, 9, 9,
- 10, 9, 7, 8, 9, 8, 7, 7, 8, 7, 6, 7,11,11,10, 9,
- 16,13,14,16,14,14,13,15,16,14,12,13,16,16,14,16,
- 9, 8, 7, 8, 8, 8, 7, 8, 8, 7, 6, 7,10,10, 9,12,
- 9, 9, 8, 8, 9, 8, 7, 8, 8, 8, 6, 7,10,10, 9,12,
- 11,10, 9,10,10, 9, 7, 9, 9, 8, 6, 9,12,11,10,13,
- 12,16,16,16,12,13,12,16,15,12,11,14,16,16,16,16,
- };
- static static_codebook _huff_book_line_128x4_class0 = {
- 1, 256,
- _huff_lengthlist_line_128x4_class0,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x7_0sub1[] = {
- 0, 3, 3, 3, 3, 3, 3, 3, 3,
- };
- static static_codebook _huff_book_line_128x7_0sub1 = {
- 1, 9,
- _huff_lengthlist_line_128x7_0sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x7_0sub2[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 4, 3, 4, 4, 4,
- 5, 4, 5, 4, 5, 4, 6, 4, 6,
- };
- static static_codebook _huff_book_line_128x7_0sub2 = {
- 1, 25,
- _huff_lengthlist_line_128x7_0sub2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x7_0sub3[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 3, 5, 3, 6, 4,
- 6, 4, 6, 4, 6, 5, 6, 5, 6, 5, 6, 5, 6, 5, 5, 5,
- 6, 7, 8,10,12,12,12,12,12,12,12,12,12,12,12,12,
- };
- static static_codebook _huff_book_line_128x7_0sub3 = {
- 1, 64,
- _huff_lengthlist_line_128x7_0sub3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x7_1sub1[] = {
- 0, 3, 3, 3, 3, 2, 4, 3, 4,
- };
- static static_codebook _huff_book_line_128x7_1sub1 = {
- 1, 9,
- _huff_lengthlist_line_128x7_1sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x7_1sub2[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 3, 6, 3, 7, 3,
- 8, 3, 9, 3,10, 3,11, 4,11,
- };
- static static_codebook _huff_book_line_128x7_1sub2 = {
- 1, 25,
- _huff_lengthlist_line_128x7_1sub2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x7_1sub3[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 1,12, 2, 9, 3,10, 4,
- 12, 5,12, 6,12,10,12,11,12,12,12,12,12,12,12,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- };
- static static_codebook _huff_book_line_128x7_1sub3 = {
- 1, 64,
- _huff_lengthlist_line_128x7_1sub3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x7_class0[] = {
- 10, 7, 8,14,10, 7, 7,12,11, 8, 8,13,16,16,16,16,
- 8, 5, 5,10, 7, 4, 4, 8, 8, 5, 5, 9,16,16,16,16,
- 7, 4, 5, 7, 6, 3, 3, 6, 8, 5, 5, 7,16,14,13,16,
- 9, 7, 7,10, 7, 4, 4, 7, 9, 6, 5, 6,15,13,11,14,
- };
- static static_codebook _huff_book_line_128x7_class0 = {
- 1, 64,
- _huff_lengthlist_line_128x7_class0,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_128x7_class1[] = {
- 8,12,16,16,10,14,16,16,12,15,16,16,16,16,16,16,
- 7,11,15,16, 7,11,16,16,10,12,16,16,16,16,16,16,
- 9,15,16,16, 9,12,16,16,11,15,16,16,16,16,16,16,
- 16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,
- 6,10,13,16, 7,10,15,16, 9,11,16,16,16,16,16,16,
- 4, 8,13,16, 5, 8,15,16, 7, 9,15,16,16,16,16,16,
- 6,12,16,16, 6,10,15,16, 9,10,14,16,16,16,16,16,
- 14,16,16,16,12,14,16,16,15,16,16,16,16,16,16,16,
- 4, 9,11,16, 5, 9,13,16, 7, 9,15,16,16,16,16,16,
- 2, 7,11,16, 3, 6,11,16, 5, 7,12,16,16,16,16,16,
- 4, 9,14,16, 4, 7,13,16, 6, 8,13,16,16,16,16,16,
- 11,14,16,16,10,16,14,16,11,16,16,16,16,16,16,16,
- 7,13,16,16, 9,13,15,16,11,13,16,16,16,16,16,16,
- 5,10,14,16, 6,10,15,16, 9,10,16,16,16,16,16,16,
- 7,13,16,16, 6,10,16,16, 9,12,16,16,16,16,16,16,
- 11,16,16,16,10,16,16,16,13,16,16,16,16,16,16,16,
- };
- static static_codebook _huff_book_line_128x7_class1 = {
- 1, 256,
- _huff_lengthlist_line_128x7_class1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_256x4_0sub0[] = {
- 1, 3, 2, 3,
- };
- static static_codebook _huff_book_line_256x4_0sub0 = {
- 1, 4,
- _huff_lengthlist_line_256x4_0sub0,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_256x4_0sub1[] = {
- 0, 0, 0, 0, 2, 2, 3, 3, 3, 3,
- };
- static static_codebook _huff_book_line_256x4_0sub1 = {
- 1, 10,
- _huff_lengthlist_line_256x4_0sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_256x4_0sub2[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 3, 3, 4, 3, 4,
- 4, 4, 5, 4, 5, 5, 6, 4, 6,
- };
- static static_codebook _huff_book_line_256x4_0sub2 = {
- 1, 25,
- _huff_lengthlist_line_256x4_0sub2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_256x4_0sub3[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 4, 3, 4, 3, 4, 4,
- 5, 4, 5, 5, 6, 5, 7, 6, 8, 7, 9, 8, 9, 9,10,12,
- 15,15,15,15,15,15,15,15,14,14,14,14,14,14,14,14,
- };
- static static_codebook _huff_book_line_256x4_0sub3 = {
- 1, 64,
- _huff_lengthlist_line_256x4_0sub3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_256x4_class0[] = {
- 4, 5, 6,11, 5, 5, 6,10, 7, 6, 5, 6,14,13,10,10,
- 6, 6, 6,10, 6, 6, 6,10, 7, 7, 7, 9, 9,10, 9,12,
- 9, 8, 8,11, 8, 8, 8,10, 8, 8, 9,11, 8, 9, 9,13,
- 18,18,18,18,16,17,18,18,12,13,14,18,14,14,10,12,
- 5, 5, 6,12, 6, 5, 6,10, 7, 7, 6, 7,13,12, 9,12,
- 6, 6, 6,11, 6, 6, 6, 9, 7, 7, 7,10,10,10, 9,12,
- 9, 8, 8,12, 8, 8, 7,11, 8, 8, 8,11, 9, 9, 8,10,
- 18,18,17,18,18,18,15,18,16,14,12,18,14,12,10,11,
- 8, 7, 7,12, 8, 7, 7,10, 8, 7, 6, 6,11,10, 9,10,
- 8, 8, 7,11, 8, 7, 7, 9, 8, 8, 7, 9,10,10, 9, 9,
- 10, 9, 8,12, 9, 9, 8,11,10, 9, 8, 9, 8, 8, 7, 9,
- 18,18,18,18,18,18,18,18,17,16,14,18,13,12,11,13,
- 12,12,13,16,11,10,10,16,12,12, 9, 7,15,12,11,11,
- 14,14,14,14,12,11,11,18,14,12,10,11,18,13,11,13,
- 18,18,18,17,17,16,15,17,18,15,16,18,16,12,11,11,
- 18,18,18,18,18,18,18,18,18,18,17,18,18,13,12,15,
- };
- static static_codebook _huff_book_line_256x4_class0 = {
- 1, 256,
- _huff_lengthlist_line_256x4_class0,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_256x7_0sub1[] = {
- 0, 2, 3, 3, 3, 3, 4, 3, 4,
- };
- static static_codebook _huff_book_line_256x7_0sub1 = {
- 1, 9,
- _huff_lengthlist_line_256x7_0sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_256x7_0sub2[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 4, 3, 4, 3, 5, 3,
- 6, 3, 6, 4, 6, 4, 7, 5, 7,
- };
- static static_codebook _huff_book_line_256x7_0sub2 = {
- 1, 25,
- _huff_lengthlist_line_256x7_0sub2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_256x7_0sub3[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 5, 2, 5, 3, 5, 3,
- 6, 3, 6, 4, 7, 6, 7, 8, 7, 9, 8, 9, 9, 9,10, 9,
- 11,13,11,13,10,10,13,13,13,13,13,13,12,12,12,12,
- };
- static static_codebook _huff_book_line_256x7_0sub3 = {
- 1, 64,
- _huff_lengthlist_line_256x7_0sub3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_256x7_1sub1[] = {
- 0, 3, 3, 3, 3, 2, 4, 3, 4,
- };
- static static_codebook _huff_book_line_256x7_1sub1 = {
- 1, 9,
- _huff_lengthlist_line_256x7_1sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_256x7_1sub2[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 3, 4, 3, 4, 4,
- 5, 4, 6, 5, 6, 7, 6, 8, 8,
- };
- static static_codebook _huff_book_line_256x7_1sub2 = {
- 1, 25,
- _huff_lengthlist_line_256x7_1sub2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_256x7_1sub3[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 2, 4, 3, 6, 3, 7,
- 3, 8, 5, 8, 6, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 7,
- };
- static static_codebook _huff_book_line_256x7_1sub3 = {
- 1, 64,
- _huff_lengthlist_line_256x7_1sub3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_256x7_class0[] = {
- 7, 5, 5, 9, 9, 6, 6, 9,12, 8, 7, 8,11, 8, 9,15,
- 6, 3, 3, 7, 7, 4, 3, 6, 9, 6, 5, 6, 8, 6, 8,15,
- 8, 5, 5, 9, 8, 5, 4, 6,10, 7, 5, 5,11, 8, 7,15,
- 14,15,13,13,13,13, 8,11,15,10, 7, 6,11, 9,10,15,
- };
- static static_codebook _huff_book_line_256x7_class0 = {
- 1, 64,
- _huff_lengthlist_line_256x7_class0,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_256x7_class1[] = {
- 5, 6, 8,15, 6, 9,10,15,10,11,12,15,15,15,15,15,
- 4, 6, 7,15, 6, 7, 8,15, 9, 8, 9,15,15,15,15,15,
- 6, 8, 9,15, 7, 7, 8,15,10, 9,10,15,15,15,15,15,
- 15,13,15,15,15,10,11,15,15,13,13,15,15,15,15,15,
- 4, 6, 7,15, 6, 8, 9,15,10,10,12,15,15,15,15,15,
- 2, 5, 6,15, 5, 6, 7,15, 8, 6, 7,15,15,15,15,15,
- 5, 6, 8,15, 5, 6, 7,15, 9, 6, 7,15,15,15,15,15,
- 14,12,13,15,12,10,11,15,15,15,15,15,15,15,15,15,
- 7, 8, 9,15, 9,10,10,15,15,14,14,15,15,15,15,15,
- 5, 6, 7,15, 7, 8, 9,15,12, 9,10,15,15,15,15,15,
- 7, 7, 9,15, 7, 7, 8,15,12, 8, 9,15,15,15,15,15,
- 13,13,14,15,12,11,12,15,15,15,15,15,15,15,15,15,
- 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
- 13,13,13,15,15,15,15,15,15,15,15,15,15,15,15,15,
- 15,12,13,15,15,12,13,15,15,14,15,15,15,15,15,15,
- 15,15,15,15,15,15,13,15,15,15,15,15,15,15,15,15,
- };
- static static_codebook _huff_book_line_256x7_class1 = {
- 1, 256,
- _huff_lengthlist_line_256x7_class1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_512x17_0sub0[] = {
- 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
- 5, 6, 5, 6, 6, 6, 6, 5, 6, 6, 7, 6, 7, 6, 7, 6,
- 7, 6, 8, 7, 8, 7, 8, 7, 8, 7, 8, 7, 9, 7, 9, 7,
- 9, 7, 9, 8, 9, 8,10, 8,10, 8,10, 7,10, 6,10, 8,
- 10, 8,11, 7,10, 7,11, 8,11,11,12,12,11,11,12,11,
- 13,11,13,11,13,12,15,12,13,13,14,14,14,14,14,15,
- 15,15,16,14,17,19,19,18,18,18,18,18,18,18,18,18,
- 18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,
- };
- static static_codebook _huff_book_line_512x17_0sub0 = {
- 1, 128,
- _huff_lengthlist_line_512x17_0sub0,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_512x17_1sub0[] = {
- 2, 4, 5, 4, 5, 4, 5, 4, 5, 5, 5, 5, 5, 5, 6, 5,
- 6, 5, 6, 6, 7, 6, 7, 6, 8, 7, 8, 7, 8, 7, 8, 7,
- };
- static static_codebook _huff_book_line_512x17_1sub0 = {
- 1, 32,
- _huff_lengthlist_line_512x17_1sub0,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_512x17_1sub1[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 4, 3, 5, 3, 5, 4, 5, 4, 5, 4, 5, 5, 5, 5, 6, 5,
- 6, 5, 7, 5, 8, 6, 8, 6, 8, 6, 8, 6, 8, 7, 9, 7,
- 9, 7,11, 9,11,11,12,11,14,12,14,16,14,16,13,16,
- 14,16,12,15,13,16,14,16,13,14,12,15,13,15,13,13,
- 13,15,12,14,14,15,13,15,12,15,15,15,15,15,15,15,
- 15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,
- };
- static static_codebook _huff_book_line_512x17_1sub1 = {
- 1, 128,
- _huff_lengthlist_line_512x17_1sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_512x17_2sub1[] = {
- 0, 4, 5, 4, 4, 4, 5, 4, 4, 4, 5, 4, 5, 4, 5, 3,
- 5, 3,
- };
- static static_codebook _huff_book_line_512x17_2sub1 = {
- 1, 18,
- _huff_lengthlist_line_512x17_2sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_512x17_2sub2[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 4, 3, 4, 3, 4, 4, 5, 4, 5, 4, 6, 4, 6, 5,
- 6, 5, 7, 5, 7, 6, 8, 6, 8, 6, 8, 7, 8, 7, 9, 7,
- 9, 8,
- };
- static static_codebook _huff_book_line_512x17_2sub2 = {
- 1, 50,
- _huff_lengthlist_line_512x17_2sub2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_512x17_2sub3[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 3, 3, 3, 3, 4, 3, 4, 4, 5, 5, 6, 6, 7, 7,
- 7, 8, 8,11, 8, 9, 9, 9,10,11,11,11, 9,10,10,11,
- 11,11,11,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- };
- static static_codebook _huff_book_line_512x17_2sub3 = {
- 1, 128,
- _huff_lengthlist_line_512x17_2sub3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_512x17_3sub1[] = {
- 0, 4, 4, 4, 4, 4, 4, 3, 4, 4, 4, 4, 4, 5, 4, 5,
- 5, 5,
- };
- static static_codebook _huff_book_line_512x17_3sub1 = {
- 1, 18,
- _huff_lengthlist_line_512x17_3sub1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_512x17_3sub2[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 2, 3, 3, 4, 3, 5, 4, 6, 4, 6, 5, 7, 6, 7,
- 6, 8, 6, 8, 7, 9, 8,10, 8,12, 9,13,10,15,10,15,
- 11,14,
- };
- static static_codebook _huff_book_line_512x17_3sub2 = {
- 1, 50,
- _huff_lengthlist_line_512x17_3sub2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_512x17_3sub3[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 4, 8, 4, 8, 4, 8, 4, 8, 5, 8, 5, 8, 6, 8,
- 4, 8, 4, 8, 5, 8, 5, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- };
- static static_codebook _huff_book_line_512x17_3sub3 = {
- 1, 128,
- _huff_lengthlist_line_512x17_3sub3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_512x17_class1[] = {
- 1, 2, 3, 6, 5, 4, 7, 7,
- };
- static static_codebook _huff_book_line_512x17_class1 = {
- 1, 8,
- _huff_lengthlist_line_512x17_class1,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_512x17_class2[] = {
- 3, 3, 3,14, 5, 4, 4,11, 8, 6, 6,10,17,12,11,17,
- 6, 5, 5,15, 5, 3, 4,11, 8, 5, 5, 8,16, 9,10,14,
- 10, 8, 9,17, 8, 6, 6,13,10, 7, 7,10,16,11,13,14,
- 17,17,17,17,17,16,16,16,16,15,16,16,16,16,16,16,
- };
- static static_codebook _huff_book_line_512x17_class2 = {
- 1, 64,
- _huff_lengthlist_line_512x17_class2,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist_line_512x17_class3[] = {
- 2, 4, 6,17, 4, 5, 7,17, 8, 7,10,17,17,17,17,17,
- 3, 4, 6,15, 3, 3, 6,15, 7, 6, 9,17,17,17,17,17,
- 6, 8,10,17, 6, 6, 8,16, 9, 8,10,17,17,15,16,17,
- 17,17,17,17,12,15,15,16,12,15,15,16,16,16,16,16,
- };
- static static_codebook _huff_book_line_512x17_class3 = {
- 1, 64,
- _huff_lengthlist_line_512x17_class3,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static static_codebook *_floor_128x4_books[]={
- &_huff_book_line_128x4_class0,
- &_huff_book_line_128x4_0sub0,
- &_huff_book_line_128x4_0sub1,
- &_huff_book_line_128x4_0sub2,
- &_huff_book_line_128x4_0sub3,
- };
- static static_codebook *_floor_256x4_books[]={
- &_huff_book_line_256x4_class0,
- &_huff_book_line_256x4_0sub0,
- &_huff_book_line_256x4_0sub1,
- &_huff_book_line_256x4_0sub2,
- &_huff_book_line_256x4_0sub3,
- };
- static static_codebook *_floor_128x7_books[]={
- &_huff_book_line_128x7_class0,
- &_huff_book_line_128x7_class1,
-
- &_huff_book_line_128x7_0sub1,
- &_huff_book_line_128x7_0sub2,
- &_huff_book_line_128x7_0sub3,
- &_huff_book_line_128x7_1sub1,
- &_huff_book_line_128x7_1sub2,
- &_huff_book_line_128x7_1sub3,
- };
- static static_codebook *_floor_256x7_books[]={
- &_huff_book_line_256x7_class0,
- &_huff_book_line_256x7_class1,
-
- &_huff_book_line_256x7_0sub1,
- &_huff_book_line_256x7_0sub2,
- &_huff_book_line_256x7_0sub3,
- &_huff_book_line_256x7_1sub1,
- &_huff_book_line_256x7_1sub2,
- &_huff_book_line_256x7_1sub3,
- };
- static static_codebook *_floor_128x11_books[]={
- &_huff_book_line_128x11_class1,
- &_huff_book_line_128x11_class2,
- &_huff_book_line_128x11_class3,
-
- &_huff_book_line_128x11_0sub0,
- &_huff_book_line_128x11_1sub0,
- &_huff_book_line_128x11_1sub1,
- &_huff_book_line_128x11_2sub1,
- &_huff_book_line_128x11_2sub2,
- &_huff_book_line_128x11_2sub3,
- &_huff_book_line_128x11_3sub1,
- &_huff_book_line_128x11_3sub2,
- &_huff_book_line_128x11_3sub3,
- };
- static static_codebook *_floor_128x17_books[]={
- &_huff_book_line_128x17_class1,
- &_huff_book_line_128x17_class2,
- &_huff_book_line_128x17_class3,
-
- &_huff_book_line_128x17_0sub0,
- &_huff_book_line_128x17_1sub0,
- &_huff_book_line_128x17_1sub1,
- &_huff_book_line_128x17_2sub1,
- &_huff_book_line_128x17_2sub2,
- &_huff_book_line_128x17_2sub3,
- &_huff_book_line_128x17_3sub1,
- &_huff_book_line_128x17_3sub2,
- &_huff_book_line_128x17_3sub3,
- };
- static static_codebook *_floor_512x17_books[]={
- &_huff_book_line_512x17_class1,
- &_huff_book_line_512x17_class2,
- &_huff_book_line_512x17_class3,
-
- &_huff_book_line_512x17_0sub0,
- &_huff_book_line_512x17_1sub0,
- &_huff_book_line_512x17_1sub1,
- &_huff_book_line_512x17_2sub1,
- &_huff_book_line_512x17_2sub2,
- &_huff_book_line_512x17_2sub3,
- &_huff_book_line_512x17_3sub1,
- &_huff_book_line_512x17_3sub2,
- &_huff_book_line_512x17_3sub3,
- };
- static static_codebook *_floor_1024x27_books[]={
- &_huff_book_line_1024x27_class1,
- &_huff_book_line_1024x27_class2,
- &_huff_book_line_1024x27_class3,
- &_huff_book_line_1024x27_class4,
-
- &_huff_book_line_1024x27_0sub0,
- &_huff_book_line_1024x27_1sub0,
- &_huff_book_line_1024x27_1sub1,
- &_huff_book_line_1024x27_2sub0,
- &_huff_book_line_1024x27_2sub1,
- &_huff_book_line_1024x27_3sub1,
- &_huff_book_line_1024x27_3sub2,
- &_huff_book_line_1024x27_3sub3,
- &_huff_book_line_1024x27_4sub1,
- &_huff_book_line_1024x27_4sub2,
- &_huff_book_line_1024x27_4sub3,
- };
- static static_codebook **_floor_books[10]={
- _floor_128x4_books,
- _floor_256x4_books,
- _floor_128x7_books,
- _floor_256x7_books,
- _floor_128x11_books,
- _floor_128x17_books,
- _floor_128x17_books,
- _floor_1024x27_books,
- _floor_1024x27_books,
- _floor_512x17_books,
- };
- static vorbis_info_floor1 _floor[10]={
- /* 128 x 4 */
- {
- 1,{0},{4},{2},{0},
- {{1,2,3,4}},
- 4,{0,128, 33,8,16,70},
- 60,30,500, 1.,18., -1
- },
- /* 256 x 4 */
- {
- 1,{0},{4},{2},{0},
- {{1,2,3,4}},
- 4,{0,256, 66,16,32,140},
- 60,30,500, 1.,18., -1
- },
- /* 128 x 7 */
- {
- 2,{0,1},{3,4},{2,2},{0,1},
- {{-1,2,3,4},{-1,5,6,7}},
- 4,{0,128, 14,4,58, 2,8,28,90},
-
- 60,30,500, 1.,18., -1
- },
- /* 256 x 7 */
- {
- 2,{0,1},{3,4},{2,2},{0,1},
- {{-1,2,3,4},{-1,5,6,7}},
- 4,{0,256, 28,8,116, 4,16,56,180},
-
- 60,30,500, 1.,18., -1
- },
- /* 128 x 11 */
- {
- 4,{0,1,2,3},{2,3,3,3},{0,1,2,2},{-1,0,1,2},
- {{3},{4,5},{-1,6,7,8},{-1,9,10,11}},
-
- 2,{0,128, 8,33, 4,16,70, 2,6,12, 23,46,90},
-
- 60,30,500, 1,18., -1
- },
-
- /* 128 x 17 */
- {
- 6,{0,1,1,2,3,3},{2,3,3,3},{0,1,2,2},{-1,0,1,2},
- {{3},{4,5},{-1,6,7,8},{-1,9,10,11}},
- 2,{0,128, 12,46, 4,8,16, 23,33,70, 2,6,10, 14,19,28, 39,58,90},
- 60,30,500, 1,18., -1
- },
-
- /* 1024 x 17 */
- {
- 6,{0,1,1,2,3,3},{2,3,3,3},{0,1,2,2},{-1,0,1,2},
- {{3},{4,5},{-1,6,7,8},{-1,9,10,11}},
- 2,{0,1024, 93,372, 33,65,130, 186,260,556,
- 14,46,79, 111,158,220, 312,464,720},
-
- 60,30,500, 1,18., -1 /* lowpass! */
- },
- /* 1024 x 27 */
- {
- 8,{0,1,2,2,3,3,4,4},{3,4,3,4,3},{0,1,1,2,2},{-1,0,1,2,3},
- {{4},{5,6},{7,8},{-1,9,10,11},{-1,12,13,14}},
- 2,{0,1024, 93,23,372, 6,46,186,750, 14,33,65, 130,260,556,
- 3,10,18,28, 39,55,79,111, 158,220,312, 464,650,850},
-
- 60,30,500, 3,18., -1 /* lowpass */
- },
- /* 2048 x 27 */
- {
- 8,{0,1,2,2,3,3,4,4},{3,4,3,4,3},{0,1,1,2,2},{-1,0,1,2,3},
- {{4},{5,6},{7,8},{-1,9,10,11},{-1,12,13,14}},
- 2,{0,2048, 186,46,744, 12,92,372,1500, 28,66,130, 260,520,1112,
- 6,20,36,56, 78,110,158,222, 316,440,624, 928,1300,1700},
-
- 60,30,500, 3,18., -1 /* lowpass */
- },
- /* 512 x 17 */
- {
- 6,{0,1,1,2,3,3},{2,3,3,3},{0,1,2,2},{-1,0,1,2},
- {{3},{4,5},{-1,6,7,8},{-1,9,10,11}},
- 2,{0,512, 46,186, 16,33,65, 93,130,278,
- 7,23,39, 55,79,110, 156,232,360},
-
- 60,30,500, 1,18., -1 /* lowpass! */
- },
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: toplevel residue templates for 32/44.1/48kHz
- last mod: $Id: residue_44.h,v 1.16 2002/07/11 06:41:04 xiphmont Exp $
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the Xiph.Org Foundation http://www.xiph.org/ *
- * *
- ********************************************************************
- function: static codebooks autogenerated by huff/huffbuld
- last modified: $Id: res_books_stereo.h,v 1.2 2002/07/11 10:27:51 xiphmont Exp $
- ********************************************************************/
- static long _vq_quantlist__16c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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__16c0_s_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__16c0_s_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__16c0_s_p1_0 = {
- _vq_quantthresh__16c0_s_p1_0,
- _vq_quantmap__16c0_s_p1_0,
- 3,
- 3
- };
- static static_codebook _16c0_s_p1_0 = {
- 8, 6561,
- _vq_lengthlist__16c0_s_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__16c0_s_p1_0,
- NULL,
- &_vq_auxt__16c0_s_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c0_s_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__16c0_s_p2_0[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,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
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__16c0_s_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__16c0_s_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__16c0_s_p2_0 = {
- _vq_quantthresh__16c0_s_p2_0,
- _vq_quantmap__16c0_s_p2_0,
- 5,
- 5
- };
- static static_codebook _16c0_s_p2_0 = {
- 4, 625,
- _vq_lengthlist__16c0_s_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__16c0_s_p2_0,
- NULL,
- &_vq_auxt__16c0_s_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c0_s_p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__16c0_s_p3_0[] = {
- 1, 4, 4, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 6, 6, 7, 6, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 4, 6, 6, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 6, 6, 9, 9,
- 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0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__16c0_s_p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__16c0_s_p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__16c0_s_p3_0 = {
- _vq_quantthresh__16c0_s_p3_0,
- _vq_quantmap__16c0_s_p3_0,
- 5,
- 5
- };
- static static_codebook _16c0_s_p3_0 = {
- 4, 625,
- _vq_lengthlist__16c0_s_p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__16c0_s_p3_0,
- NULL,
- &_vq_auxt__16c0_s_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c0_s_p4_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__16c0_s_p4_0[] = {
- 1, 3, 2, 7, 8, 0, 0, 0, 0, 0, 0, 0, 6, 6, 0, 0,
- 0, 0, 0, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 0, 7, 7,
- 0, 0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 0, 0, 0, 0,
- 8, 8, 0, 0, 0, 0, 0, 0, 0, 8, 8, 0, 0, 0, 0, 0,
- 0, 0, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__16c0_s_p4_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__16c0_s_p4_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__16c0_s_p4_0 = {
- _vq_quantthresh__16c0_s_p4_0,
- _vq_quantmap__16c0_s_p4_0,
- 9,
- 9
- };
- static static_codebook _16c0_s_p4_0 = {
- 2, 81,
- _vq_lengthlist__16c0_s_p4_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__16c0_s_p4_0,
- NULL,
- &_vq_auxt__16c0_s_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c0_s_p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__16c0_s_p5_0[] = {
- 1, 3, 3, 6, 6, 6, 6, 8, 8, 0, 0, 0, 7, 7, 7, 7,
- 8, 8, 0, 0, 0, 7, 7, 7, 7, 8, 8, 0, 0, 0, 7, 7,
- 8, 8, 9, 9, 0, 0, 0, 7, 7, 8, 8, 9, 9, 0, 0, 0,
- 8, 9, 8, 8,10,10, 0, 0, 0, 8, 8, 8, 8,10,10, 0,
- 0, 0,10,10, 9, 9,10,10, 0, 0, 0, 0, 0, 9, 9,10,
- 10,
- };
- static float _vq_quantthresh__16c0_s_p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__16c0_s_p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__16c0_s_p5_0 = {
- _vq_quantthresh__16c0_s_p5_0,
- _vq_quantmap__16c0_s_p5_0,
- 9,
- 9
- };
- static static_codebook _16c0_s_p5_0 = {
- 2, 81,
- _vq_lengthlist__16c0_s_p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__16c0_s_p5_0,
- NULL,
- &_vq_auxt__16c0_s_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c0_s_p6_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__16c0_s_p6_0[] = {
- 1, 3, 4, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9,10,10,11,
- 11, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,10,10,11,
- 11,11, 0, 0, 0, 6, 6, 8, 8, 9, 9, 9, 9,10,10,11,
- 11,11,11, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,10,
- 11,11,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,
- 10,11,11,12,12, 0, 0, 0, 8, 8, 9, 9,10,10,10,10,
- 11,11,12,12,12,12, 0, 0, 0, 8, 8, 9, 9,10,10,10,
- 10,11,11,12,12,12,13, 0, 0, 0, 9, 9, 9, 9,10,10,
- 10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0,10,10,10,
- 10,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 9, 9,
- 10,10,11,11,12,12,13,13,13,13, 0, 0, 0, 0, 0, 9,
- 9,10,10,11,11,12,12,13,13,13,14, 0, 0, 0, 0, 0,
- 10,10,10,11,11,11,12,12,13,13,13,14, 0, 0, 0, 0,
- 0, 0, 0,10,10,11,11,12,12,13,13,14,14, 0, 0, 0,
- 0, 0, 0, 0,11,11,12,12,13,13,13,13,14,14, 0, 0,
- 0, 0, 0, 0, 0,11,11,12,12,12,13,13,14,15,14, 0,
- 0, 0, 0, 0, 0, 0,12,12,12,12,13,13,13,14,14,15,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,12,12,13,13,14,13,14,
- 14,
- };
- static float _vq_quantthresh__16c0_s_p6_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__16c0_s_p6_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__16c0_s_p6_0 = {
- _vq_quantthresh__16c0_s_p6_0,
- _vq_quantmap__16c0_s_p6_0,
- 17,
- 17
- };
- static static_codebook _16c0_s_p6_0 = {
- 2, 289,
- _vq_lengthlist__16c0_s_p6_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__16c0_s_p6_0,
- NULL,
- &_vq_auxt__16c0_s_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c0_s_p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__16c0_s_p7_0[] = {
- 1, 4, 4, 6, 6, 6, 7, 6, 6, 4, 7, 7,11,10,10,11,
- 11,10, 4, 7, 7,10,10,10,11,10,10, 6,10,10,11,11,
- 11,11,11,10, 6, 9, 9,11,12,12,11, 9, 9, 6, 9,10,
- 11,12,12,11, 9,10, 7,11,11,11,11,11,12,13,12, 6,
- 9,10,11,10,10,12,13,13, 6,10, 9,11,10,10,11,12,
- 13,
- };
- static float _vq_quantthresh__16c0_s_p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__16c0_s_p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__16c0_s_p7_0 = {
- _vq_quantthresh__16c0_s_p7_0,
- _vq_quantmap__16c0_s_p7_0,
- 3,
- 3
- };
- static static_codebook _16c0_s_p7_0 = {
- 4, 81,
- _vq_lengthlist__16c0_s_p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__16c0_s_p7_0,
- NULL,
- &_vq_auxt__16c0_s_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c0_s_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__16c0_s_p7_1[] = {
- 1, 3, 4, 6, 6, 7, 7, 8, 8, 8, 8,10,10,10, 7, 7,
- 8, 8, 8, 9, 9, 9,10,10,10, 6, 7, 8, 8, 8, 8, 9,
- 8,10,10,10, 7, 7, 8, 8, 9, 9, 9, 9,10,10,10, 7,
- 7, 8, 8, 9, 9, 8, 9,10,10,10, 8, 8, 9, 9, 9, 9,
- 9, 9,11,11,11, 8, 8, 9, 9, 9, 9, 9,10,10,11,11,
- 9, 9, 9, 9, 9, 9, 9,10,11,11,11,10,11, 9, 9, 9,
- 9,10, 9,11,11,11,10,11,10,10, 9, 9,10,10,11,11,
- 11,11,11, 9, 9, 9, 9,10,10,
- };
- static float _vq_quantthresh__16c0_s_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__16c0_s_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__16c0_s_p7_1 = {
- _vq_quantthresh__16c0_s_p7_1,
- _vq_quantmap__16c0_s_p7_1,
- 11,
- 11
- };
- static static_codebook _16c0_s_p7_1 = {
- 2, 121,
- _vq_lengthlist__16c0_s_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__16c0_s_p7_1,
- NULL,
- &_vq_auxt__16c0_s_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16c0_s_p8_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__16c0_s_p8_0[] = {
- 1, 4, 4, 7, 7, 7, 7, 7, 6, 8, 8,10,10, 6, 5, 6,
- 8, 8, 8, 8, 8, 8, 8, 9,10,10, 7, 6, 6, 8, 8, 8,
- 8, 8, 8, 8, 8,10,10, 0, 8, 8, 8, 8, 9, 8, 9, 9,
- 9,10,10,10, 0, 9, 8, 8, 8, 9, 9, 8, 8, 9, 9,10,
- 10, 0,12,11, 8, 8, 9, 9, 9, 9,10,10,11,10, 0,12,
- 13, 8, 8, 9,10, 9, 9,11,11,11,12, 0, 0, 0, 8, 8,
- 8, 8,10, 9,12,13,12,14, 0, 0, 0, 8, 8, 8, 9,10,
- 10,12,12,13,14, 0, 0, 0,13,13, 9, 9,11,11, 0, 0,
- 14, 0, 0, 0, 0,14,14,10,10,12,11,12,14,14,14, 0,
- 0, 0, 0, 0,11,11,13,13,14,13,14,14, 0, 0, 0, 0,
- 0,12,13,13,12,13,14,14,14,
- };
- static float _vq_quantthresh__16c0_s_p8_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__16c0_s_p8_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__16c0_s_p8_0 = {
- _vq_quantthresh__16c0_s_p8_0,
- _vq_quantmap__16c0_s_p8_0,
- 13,
- 13
- };
- static static_codebook _16c0_s_p8_0 = {
- 2, 169,
- _vq_lengthlist__16c0_s_p8_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__16c0_s_p8_0,
- NULL,
- &_vq_auxt__16c0_s_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c0_s_p8_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__16c0_s_p8_1[] = {
- 1, 4, 3, 5, 5, 7, 7, 7, 6, 6, 7, 7, 7, 5, 5, 7,
- 7, 7, 6, 6, 7, 7, 7, 6, 6,
- };
- static float _vq_quantthresh__16c0_s_p8_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__16c0_s_p8_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__16c0_s_p8_1 = {
- _vq_quantthresh__16c0_s_p8_1,
- _vq_quantmap__16c0_s_p8_1,
- 5,
- 5
- };
- static static_codebook _16c0_s_p8_1 = {
- 2, 25,
- _vq_lengthlist__16c0_s_p8_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__16c0_s_p8_1,
- NULL,
- &_vq_auxt__16c0_s_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16c0_s_p9_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__16c0_s_p9_0[] = {
- 1, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7,
- };
- static float _vq_quantthresh__16c0_s_p9_0[] = {
- -157.5, 157.5,
- };
- static long _vq_quantmap__16c0_s_p9_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__16c0_s_p9_0 = {
- _vq_quantthresh__16c0_s_p9_0,
- _vq_quantmap__16c0_s_p9_0,
- 3,
- 3
- };
- static static_codebook _16c0_s_p9_0 = {
- 4, 81,
- _vq_lengthlist__16c0_s_p9_0,
- 1, -518803456, 1628680192, 2, 0,
- _vq_quantlist__16c0_s_p9_0,
- NULL,
- &_vq_auxt__16c0_s_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c0_s_p9_1[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__16c0_s_p9_1[] = {
- 1, 5, 5, 5, 5, 9,11,11,10,10,10,10,10,10,10, 7,
- 6, 6, 6, 6,10,10,10,10,10,10,10,10,10,10, 7, 6,
- 6, 6, 6,10, 9,10,10,10,10,10,10,10,10,10, 7, 7,
- 8, 9,10,10,10,10,10,10,10,10,10,10,10, 8, 7,10,
- 10,10, 9,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,
- };
- static float _vq_quantthresh__16c0_s_p9_1[] = {
- -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5, 10.5,
- 31.5, 52.5, 73.5, 94.5, 115.5, 136.5,
- };
- static long _vq_quantmap__16c0_s_p9_1[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__16c0_s_p9_1 = {
- _vq_quantthresh__16c0_s_p9_1,
- _vq_quantmap__16c0_s_p9_1,
- 15,
- 15
- };
- static static_codebook _16c0_s_p9_1 = {
- 2, 225,
- _vq_lengthlist__16c0_s_p9_1,
- 1, -520986624, 1620377600, 4, 0,
- _vq_quantlist__16c0_s_p9_1,
- NULL,
- &_vq_auxt__16c0_s_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16c0_s_p9_2[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__16c0_s_p9_2[] = {
- 1, 5, 5, 7, 8, 8, 7, 9, 9, 9,12,12,11,12,12,10,
- 10,11,12,12,12,11,12,12, 8, 9, 8, 7, 9,10,10,11,
- 11,10,11,12,10,12,10,12,12,12,11,12,11, 9, 8, 8,
- 9,10, 9, 8, 9,10,12,12,11,11,12,11,10,11,12,11,
- 12,12, 8, 9, 9, 9,10,11,12,11,12,11,11,11,11,12,
- 12,11,11,12,12,11,11, 9, 9, 8, 9, 9,11, 9, 9,10,
- 9,11,11,11,11,12,11,11,10,12,12,12, 9,12,11,10,
- 11,11,11,11,12,12,12,11,11,11,12,10,12,12,12,10,
- 10, 9,10, 9,10,10, 9, 9, 9,10,10,12,10,11,11, 9,
- 11,11,10,11,11,11,10,10,10, 9, 9,10,10, 9, 9,10,
- 11,11,10,11,10,11,10,11,11,10,11,11,11,10, 9,10,
- 10, 9,10, 9, 9,11, 9, 9,11,10,10,11,11,10,10,11,
- 10,11, 8, 9,11,11,10, 9,10,11,11,10,11,11,10,10,
- 10,11,10, 9,10,10,11, 9,10,10, 9,11,10,10,10,10,
- 11,10,11,11, 9,11,10,11,10,10,11,11,10,10,10, 9,
- 10,10,11,11,11, 9,10,10,10,10,10,11,10,10,10, 9,
- 10,10,11,10,10,10,10,10, 9,10,11,10,10,10,10,11,
- 11,11,10,10,10,10,10,11,10,11,10,11,10,10,10, 9,
- 11,11,10,10,10,11,11,10,10,10,10,10,10,10,10,11,
- 11, 9,10,10,10,11,10,11,10,10,10,11, 9,10,11,10,
- 11,10,10, 9,10,10,10,11,10,11,10,10,10,10,10,11,
- 11,10,11,11,10,10,11,11,10, 9, 9,10,10,10,10,10,
- 9,11, 9,10,10,10,11,11,10,10,10,10,11,11,11,10,
- 9, 9,10,10,11,10,10,10,10,10,11,11,11,10,10,10,
- 11,11,11, 9,10,10,10,10, 9,10, 9,10,11,10,11,10,
- 10,11,11,10,11,11,11,11,11,10,11,10,10,10, 9,11,
- 11,10,11,11,11,11,11,11,11,11,11,10,11,10,10,10,
- 10,11,10,10,11, 9,10,10,10,
- };
- static float _vq_quantthresh__16c0_s_p9_2[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__16c0_s_p9_2[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__16c0_s_p9_2 = {
- _vq_quantthresh__16c0_s_p9_2,
- _vq_quantmap__16c0_s_p9_2,
- 21,
- 21
- };
- static static_codebook _16c0_s_p9_2 = {
- 2, 441,
- _vq_lengthlist__16c0_s_p9_2,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__16c0_s_p9_2,
- NULL,
- &_vq_auxt__16c0_s_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__16c0_s_single[] = {
- 3, 4,19, 7, 9, 7, 8,11, 9,12, 4, 1,19, 6, 7, 7,
- 8,10,11,13,18,18,18,18,18,18,18,18,18,18, 8, 6,
- 18, 8, 9, 9,11,12,14,18, 9, 6,18, 9, 7, 8, 9,11,
- 12,18, 7, 6,18, 8, 7, 7, 7, 9,11,17, 8, 8,18, 9,
- 7, 6, 6, 8,11,17,10,10,18,12, 9, 8, 7, 9,12,18,
- 13,15,18,15,13,11,10,11,15,18,14,18,18,18,18,18,
- 16,16,18,18,
- };
- static static_codebook _huff_book__16c0_s_single = {
- 2, 100,
- _huff_lengthlist__16c0_s_single,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__16c1_s_long[] = {
- 2, 5,20, 7,10, 7, 8,10,11,11, 4, 2,20, 5, 8, 6,
- 7, 9,10,10,20,20,20,20,19,19,19,19,19,19, 7, 5,
- 19, 6,10, 7, 9,11,13,17,11, 8,19,10, 7, 7, 8,10,
- 11,15, 7, 5,19, 7, 7, 5, 6, 9,11,16, 7, 6,19, 8,
- 7, 6, 6, 7, 9,13, 9, 9,19,11, 9, 8, 6, 7, 8,13,
- 12,14,19,16,13,10, 9, 8, 9,13,14,17,19,18,18,17,
- 12,11,11,13,
- };
- static static_codebook _huff_book__16c1_s_long = {
- 2, 100,
- _huff_lengthlist__16c1_s_long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__16c1_s_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__16c1_s_p1_0[] = {
- 1, 5, 5, 0, 0, 0, 0, 0, 0, 5, 7, 7, 0, 0, 0, 0,
- 0, 0, 5, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 5, 8, 7, 0, 0, 0, 0, 0, 0, 7, 9, 9, 0, 0, 0,
- 0, 0, 0, 7, 8, 9,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 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__16c1_s_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__16c1_s_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__16c1_s_p1_0 = {
- _vq_quantthresh__16c1_s_p1_0,
- _vq_quantmap__16c1_s_p1_0,
- 3,
- 3
- };
- static static_codebook _16c1_s_p1_0 = {
- 8, 6561,
- _vq_lengthlist__16c1_s_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__16c1_s_p1_0,
- NULL,
- &_vq_auxt__16c1_s_p1_0,
-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,
- };
- static float _vq_quantthresh__16c1_s_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__16c1_s_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__16c1_s_p2_0 = {
- _vq_quantthresh__16c1_s_p2_0,
- _vq_quantmap__16c1_s_p2_0,
- 5,
- 5
- };
- static static_codebook _16c1_s_p2_0 = {
- 4, 625,
- _vq_lengthlist__16c1_s_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__16c1_s_p2_0,
- NULL,
- &_vq_auxt__16c1_s_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c1_s_p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__16c1_s_p3_0[] = {
- 1, 4, 4, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 5, 5, 7, 7, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 4, 5, 5, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 7, 7, 9, 9,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 6, 7, 7, 9, 9, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0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, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__16c1_s_p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__16c1_s_p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__16c1_s_p3_0 = {
- _vq_quantthresh__16c1_s_p3_0,
- _vq_quantmap__16c1_s_p3_0,
- 5,
- 5
- };
- static static_codebook _16c1_s_p3_0 = {
- 4, 625,
- _vq_lengthlist__16c1_s_p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__16c1_s_p3_0,
- NULL,
- &_vq_auxt__16c1_s_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c1_s_p4_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__16c1_s_p4_0[] = {
- 1, 2, 3, 7, 7, 0, 0, 0, 0, 0, 0, 0, 6, 6, 0, 0,
- 0, 0, 0, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 0, 7, 7,
- 0, 0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 0, 0, 0, 0,
- 8, 8, 0, 0, 0, 0, 0, 0, 0, 8, 9, 0, 0, 0, 0, 0,
- 0, 0,10,10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__16c1_s_p4_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__16c1_s_p4_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__16c1_s_p4_0 = {
- _vq_quantthresh__16c1_s_p4_0,
- _vq_quantmap__16c1_s_p4_0,
- 9,
- 9
- };
- static static_codebook _16c1_s_p4_0 = {
- 2, 81,
- _vq_lengthlist__16c1_s_p4_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__16c1_s_p4_0,
- NULL,
- &_vq_auxt__16c1_s_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c1_s_p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__16c1_s_p5_0[] = {
- 1, 3, 3, 5, 5, 6, 6, 8, 8, 0, 0, 0, 7, 7, 7, 7,
- 9, 9, 0, 0, 0, 7, 7, 7, 7, 9, 9, 0, 0, 0, 8, 8,
- 8, 8, 9, 9, 0, 0, 0, 8, 8, 8, 8,10,10, 0, 0, 0,
- 9, 9, 8, 8,10,10, 0, 0, 0, 9, 9, 8, 8,10,10, 0,
- 0, 0,10,10, 9, 9,10,10, 0, 0, 0, 0, 0, 9, 9,10,
- 10,
- };
- static float _vq_quantthresh__16c1_s_p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__16c1_s_p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__16c1_s_p5_0 = {
- _vq_quantthresh__16c1_s_p5_0,
- _vq_quantmap__16c1_s_p5_0,
- 9,
- 9
- };
- static static_codebook _16c1_s_p5_0 = {
- 2, 81,
- _vq_lengthlist__16c1_s_p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__16c1_s_p5_0,
- NULL,
- &_vq_auxt__16c1_s_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c1_s_p6_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__16c1_s_p6_0[] = {
- 1, 3, 3, 6, 6, 8, 8, 9, 9, 9, 9,10,10,11,11,12,
- 12, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,10,11,11,
- 12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,10,11,
- 11,12,12, 0, 0, 0, 8, 8, 8, 9,10, 9,10,10,10,10,
- 11,11,12,12, 0, 0, 0, 8, 8, 9, 9,10,10,10,10,11,
- 11,11,12,12,12, 0, 0, 0, 8, 8, 9, 9,10,10,10,10,
- 11,11,12,12,12,12, 0, 0, 0, 8, 8, 9, 9,10,10,10,
- 10,11,11,12,12,13,13, 0, 0, 0, 9, 9, 9, 9,10,10,
- 10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 9, 9,10,
- 10,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 9, 9,
- 10,10,11,11,12,12,12,12,13,13, 0, 0, 0, 0, 0, 9,
- 9,10,10,11,11,12,12,12,12,13,13, 0, 0, 0, 0, 0,
- 10,10,11,10,11,11,12,12,13,13,13,13, 0, 0, 0, 0,
- 0, 0, 0,10,10,11,11,12,12,13,13,13,13, 0, 0, 0,
- 0, 0, 0, 0,11,11,12,12,12,12,13,13,14,14, 0, 0,
- 0, 0, 0, 0, 0,11,11,12,12,12,12,13,13,14,14, 0,
- 0, 0, 0, 0, 0, 0,12,12,12,12,13,13,13,13,14,14,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,12,12,13,13,13,13,14,
- 14,
- };
- static float _vq_quantthresh__16c1_s_p6_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__16c1_s_p6_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__16c1_s_p6_0 = {
- _vq_quantthresh__16c1_s_p6_0,
- _vq_quantmap__16c1_s_p6_0,
- 17,
- 17
- };
- static static_codebook _16c1_s_p6_0 = {
- 2, 289,
- _vq_lengthlist__16c1_s_p6_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__16c1_s_p6_0,
- NULL,
- &_vq_auxt__16c1_s_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c1_s_p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__16c1_s_p7_0[] = {
- 1, 4, 4, 6, 6, 6, 7, 6, 6, 4, 7, 7,10, 9,10,10,
- 10, 9, 4, 7, 7,10,10,10,11,10,10, 6,10,10,11,11,
- 11,11,10,10, 6,10, 9,11,11,11,11,10,10, 6,10,10,
- 11,11,11,11,10,10, 7,11,11,11,11,11,12,12,11, 6,
- 10,10,11,10,10,11,11,11, 6,10,10,10,11,10,11,11,
- 11,
- };
- static float _vq_quantthresh__16c1_s_p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__16c1_s_p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__16c1_s_p7_0 = {
- _vq_quantthresh__16c1_s_p7_0,
- _vq_quantmap__16c1_s_p7_0,
- 3,
- 3
- };
- static static_codebook _16c1_s_p7_0 = {
- 4, 81,
- _vq_lengthlist__16c1_s_p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__16c1_s_p7_0,
- NULL,
- &_vq_auxt__16c1_s_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c1_s_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__16c1_s_p7_1[] = {
- 2, 3, 3, 5, 6, 7, 7, 7, 7, 8, 8,10,10,10, 6, 6,
- 7, 7, 8, 8, 8, 8,10,10,10, 6, 6, 7, 7, 8, 8, 8,
- 8,10,10,10, 7, 7, 7, 7, 8, 8, 8, 8,10,10,10, 7,
- 7, 7, 7, 8, 8, 8, 8,10,10,10, 7, 7, 8, 8, 8, 8,
- 8, 8,10,10,10, 7, 7, 8, 8, 8, 8, 8, 8,10,10,10,
- 8, 8, 8, 8, 8, 8, 9, 9,10,10,10,10,10, 8, 8, 8,
- 8, 9, 9,10,10,10,10,10, 9, 9, 8, 8, 9, 9,10,10,
- 10,10,10, 8, 8, 8, 8, 9, 9,
- };
- static float _vq_quantthresh__16c1_s_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__16c1_s_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__16c1_s_p7_1 = {
- _vq_quantthresh__16c1_s_p7_1,
- _vq_quantmap__16c1_s_p7_1,
- 11,
- 11
- };
- static static_codebook _16c1_s_p7_1 = {
- 2, 121,
- _vq_lengthlist__16c1_s_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__16c1_s_p7_1,
- NULL,
- &_vq_auxt__16c1_s_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16c1_s_p8_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__16c1_s_p8_0[] = {
- 1, 4, 4, 6, 6, 7, 7, 7, 7, 8, 8, 9, 9, 6, 5, 5,
- 7, 8, 8, 9, 8, 8, 9, 9,10,11, 6, 5, 5, 8, 8, 9,
- 9, 8, 8, 9,10,10,11, 0, 8, 8, 8, 9, 9, 9, 9, 9,
- 10,10,11,11, 0, 9, 9, 9, 8, 9, 9, 9, 9,10,10,11,
- 11, 0,13,13, 9, 9,10,10,10,10,11,11,12,12, 0,14,
- 13, 9, 9,10,10,10,10,11,11,12,12, 0, 0, 0,10,10,
- 9, 9,11,11,12,12,13,12, 0, 0, 0,10,10, 9, 9,10,
- 10,12,12,13,13, 0, 0, 0,13,14,11,10,11,11,12,12,
- 13,14, 0, 0, 0,14,14,10,10,11,11,12,12,13,13, 0,
- 0, 0, 0, 0,12,12,12,12,13,13,14,15, 0, 0, 0, 0,
- 0,12,12,12,12,13,13,14,15,
- };
- static float _vq_quantthresh__16c1_s_p8_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__16c1_s_p8_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__16c1_s_p8_0 = {
- _vq_quantthresh__16c1_s_p8_0,
- _vq_quantmap__16c1_s_p8_0,
- 13,
- 13
- };
- static static_codebook _16c1_s_p8_0 = {
- 2, 169,
- _vq_lengthlist__16c1_s_p8_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__16c1_s_p8_0,
- NULL,
- &_vq_auxt__16c1_s_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c1_s_p8_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__16c1_s_p8_1[] = {
- 2, 3, 3, 5, 5, 6, 6, 6, 5, 5, 6, 6, 6, 5, 5, 6,
- 6, 6, 5, 5, 6, 6, 6, 5, 5,
- };
- static float _vq_quantthresh__16c1_s_p8_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__16c1_s_p8_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__16c1_s_p8_1 = {
- _vq_quantthresh__16c1_s_p8_1,
- _vq_quantmap__16c1_s_p8_1,
- 5,
- 5
- };
- static static_codebook _16c1_s_p8_1 = {
- 2, 25,
- _vq_lengthlist__16c1_s_p8_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__16c1_s_p8_1,
- NULL,
- &_vq_auxt__16c1_s_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16c1_s_p9_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__16c1_s_p9_0[] = {
- 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__16c1_s_p9_0[] = {
- -1732.5, -1417.5, -1102.5, -787.5, -472.5, -157.5, 157.5, 472.5,
- 787.5, 1102.5, 1417.5, 1732.5,
- };
- static long _vq_quantmap__16c1_s_p9_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__16c1_s_p9_0 = {
- _vq_quantthresh__16c1_s_p9_0,
- _vq_quantmap__16c1_s_p9_0,
- 13,
- 13
- };
- static static_codebook _16c1_s_p9_0 = {
- 2, 169,
- _vq_lengthlist__16c1_s_p9_0,
- 1, -513964032, 1628680192, 4, 0,
- _vq_quantlist__16c1_s_p9_0,
- NULL,
- &_vq_auxt__16c1_s_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c1_s_p9_1[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__16c1_s_p9_1[] = {
- 1, 4, 4, 4, 4, 8, 8,12,13,14,14,14,14,14,14, 6,
- 6, 6, 6, 6,10, 9,14,14,14,14,14,14,14,14, 7, 6,
- 5, 6, 6,10, 9,12,13,13,13,13,13,13,13,13, 7, 7,
- 9, 9,11,11,12,13,13,13,13,13,13,13,13, 7, 7, 8,
- 8,11,12,13,13,13,13,13,13,13,13,13,12,12,10,10,
- 13,12,13,13,13,13,13,13,13,13,13,12,12,10,10,13,
- 13,13,13,13,13,13,13,13,13,13,13,13,13,12,13,12,
- 13,13,13,13,13,13,13,13,13,13,13,13,12,13,13,13,
- 13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
- 13,13,13,13,13,13,13,13,13,13,13,13,12,13,13,13,
- 13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
- 13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
- 13,13,13,13,13,13,13,13,13,12,13,13,13,13,13,13,
- 13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,
- 13,
- };
- static float _vq_quantthresh__16c1_s_p9_1[] = {
- -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5, 10.5,
- 31.5, 52.5, 73.5, 94.5, 115.5, 136.5,
- };
- static long _vq_quantmap__16c1_s_p9_1[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__16c1_s_p9_1 = {
- _vq_quantthresh__16c1_s_p9_1,
- _vq_quantmap__16c1_s_p9_1,
- 15,
- 15
- };
- static static_codebook _16c1_s_p9_1 = {
- 2, 225,
- _vq_lengthlist__16c1_s_p9_1,
- 1, -520986624, 1620377600, 4, 0,
- _vq_quantlist__16c1_s_p9_1,
- NULL,
- &_vq_auxt__16c1_s_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16c1_s_p9_2[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__16c1_s_p9_2[] = {
- 1, 4, 4, 6, 6, 7, 7, 8, 7, 8, 8, 9, 9, 9, 9,10,
- 10,10, 9,10,10,11,12,12, 8, 8, 8, 8, 9, 9, 9, 9,
- 10,10,10,10,10,11,11,10,12,11,11,13,11, 7, 7, 8,
- 8, 8, 8, 9, 9, 9,10,10,10,10, 9,10,10,11,11,12,
- 11,11, 8, 8, 8, 8, 9, 9,10,10,10,10,11,11,11,11,
- 11,11,11,12,11,12,12, 8, 8, 9, 9, 9, 9, 9,10,10,
- 10,10,10,10,11,11,11,11,11,11,12,11, 9, 9, 9, 9,
- 10,10,10,10,11,10,11,11,11,11,11,11,12,12,12,12,
- 11, 9, 9, 9, 9,10,10,10,10,11,11,11,11,11,11,11,
- 11,11,12,12,12,13, 9,10,10, 9,11,10,10,10,10,11,
- 11,11,11,11,10,11,12,11,12,12,11,12,11,10, 9,10,
- 10,11,10,11,11,11,11,11,11,11,11,11,12,12,11,12,
- 12,12,10,10,10,11,10,11,11,11,11,11,11,11,11,11,
- 11,11,12,13,12,12,11, 9,10,10,11,11,10,11,11,11,
- 12,11,11,11,11,11,12,12,13,13,12,13,10,10,12,10,
- 11,11,11,11,11,11,11,11,11,12,12,11,13,12,12,12,
- 12,13,12,11,11,11,11,11,11,12,11,12,11,11,11,11,
- 12,12,13,12,11,12,12,11,11,11,11,11,12,11,11,11,
- 11,12,11,11,12,11,12,13,13,12,12,12,12,11,11,11,
- 11,11,12,11,11,12,11,12,11,11,11,11,13,12,12,12,
- 12,13,11,11,11,12,12,11,11,11,12,11,12,12,12,11,
- 12,13,12,11,11,12,12,11,12,11,11,11,12,12,11,12,
- 11,11,11,12,12,12,12,13,12,13,12,12,12,12,11,11,
- 12,11,11,11,11,11,11,12,12,12,13,12,11,13,13,12,
- 12,11,12,10,11,11,11,11,12,11,12,12,11,12,12,13,
- 12,12,13,12,12,12,12,12,11,12,12,12,11,12,11,11,
- 11,12,13,12,13,13,13,13,13,12,13,13,12,12,13,11,
- 11,11,11,11,12,11,11,12,11,
- };
- static float _vq_quantthresh__16c1_s_p9_2[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__16c1_s_p9_2[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__16c1_s_p9_2 = {
- _vq_quantthresh__16c1_s_p9_2,
- _vq_quantmap__16c1_s_p9_2,
- 21,
- 21
- };
- static static_codebook _16c1_s_p9_2 = {
- 2, 441,
- _vq_lengthlist__16c1_s_p9_2,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__16c1_s_p9_2,
- NULL,
- &_vq_auxt__16c1_s_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__16c1_s_short[] = {
- 5, 6,17, 8,12, 9,10,10,12,13, 5, 2,17, 4, 9, 5,
- 7, 8,11,13,16,16,16,16,16,16,16,16,16,16, 6, 4,
- 16, 5,10, 5, 7,10,14,16,13, 9,16,11, 8, 7, 8, 9,
- 13,16, 7, 4,16, 5, 7, 4, 6, 8,11,13, 8, 6,16, 7,
- 8, 5, 5, 7, 9,13, 9, 8,16, 9, 8, 6, 6, 7, 9,13,
- 11,11,16,10,10, 7, 7, 7, 9,13,13,13,16,13,13, 9,
- 9, 9,10,13,
- };
- static static_codebook _huff_book__16c1_s_short = {
- 2, 100,
- _huff_lengthlist__16c1_s_short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__16c2_s_long[] = {
- 4, 7, 9, 9, 9, 8, 9,10,15,19, 5, 4, 5, 6, 7, 7,
- 8, 9,14,16, 6, 5, 4, 5, 6, 7, 8,10,12,19, 7, 6,
- 5, 4, 5, 6, 7, 9,11,18, 8, 7, 6, 5, 5, 5, 7, 9,
- 10,17, 8, 7, 7, 5, 5, 5, 6, 7,12,18, 8, 8, 8, 7,
- 7, 5, 5, 7,12,18, 8, 9,10, 9, 9, 7, 6, 7,12,17,
- 14,18,16,16,15,12,11,10,12,18,15,17,18,18,18,15,
- 14,14,16,18,
- };
- static static_codebook _huff_book__16c2_s_long = {
- 2, 100,
- _huff_lengthlist__16c2_s_long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__16c2_s_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__16c2_s_p1_0[] = {
- 1, 3, 3, 0, 0, 0, 0, 0, 0, 4, 5, 5, 0, 0, 0, 0,
- 0, 0, 4, 5, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__16c2_s_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__16c2_s_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__16c2_s_p1_0 = {
- _vq_quantthresh__16c2_s_p1_0,
- _vq_quantmap__16c2_s_p1_0,
- 3,
- 3
- };
- static static_codebook _16c2_s_p1_0 = {
- 4, 81,
- _vq_lengthlist__16c2_s_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__16c2_s_p1_0,
- NULL,
- &_vq_auxt__16c2_s_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c2_s_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__16c2_s_p2_0[] = {
- 2, 4, 3, 7, 7, 0, 0, 0, 7, 8, 0, 0, 0, 8, 8, 0,
- 0, 0, 8, 8, 0, 0, 0, 8, 8, 4, 5, 4, 8, 8, 0, 0,
- 0, 8, 8, 0, 0, 0, 8, 8, 0, 0, 0, 9, 9, 0, 0, 0,
- 9, 9, 4, 4, 5, 8, 8, 0, 0, 0, 8, 8, 0, 0, 0, 8,
- 8, 0, 0, 0, 9, 9, 0, 0, 0, 9, 9, 7, 8, 8,10,10,
- 0, 0, 0,12,11, 0, 0, 0,11,11, 0, 0, 0,14,13, 0,
- 0, 0,14,13, 7, 8, 8, 9,10, 0, 0, 0,11,12, 0, 0,
- 0,11,11, 0, 0, 0,14,14, 0, 0, 0,13,14, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 8, 8, 8,11,11, 0, 0, 0,
- 11,11, 0, 0, 0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, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8,
- 9, 9,14,13, 0, 0, 0,13,13, 0, 0, 0,13,12, 0, 0,
- 0,13,13, 0, 0, 0,13,12, 8, 9, 9,14,14, 0, 0, 0,
- 13,13, 0, 0, 0,12,13, 0, 0, 0,13,13, 0, 0, 0,12,
- 13,
- };
- static float _vq_quantthresh__16c2_s_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__16c2_s_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__16c2_s_p2_0 = {
- _vq_quantthresh__16c2_s_p2_0,
- _vq_quantmap__16c2_s_p2_0,
- 5,
- 5
- };
- static static_codebook _16c2_s_p2_0 = {
- 4, 625,
- _vq_lengthlist__16c2_s_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__16c2_s_p2_0,
- NULL,
- &_vq_auxt__16c2_s_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c2_s_p3_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__16c2_s_p3_0[] = {
- 1, 3, 3, 6, 6, 7, 7, 8, 8, 0, 0, 0, 6, 6, 7, 7,
- 9, 9, 0, 0, 0, 6, 6, 7, 7, 9, 9, 0, 0, 0, 7, 7,
- 8, 8,10,10, 0, 0, 0, 7, 7, 8, 8,10,10, 0, 0, 0,
- 7, 7, 9, 9,10,10, 0, 0, 0, 7, 7, 9, 9,10,10, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__16c2_s_p3_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__16c2_s_p3_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__16c2_s_p3_0 = {
- _vq_quantthresh__16c2_s_p3_0,
- _vq_quantmap__16c2_s_p3_0,
- 9,
- 9
- };
- static static_codebook _16c2_s_p3_0 = {
- 2, 81,
- _vq_lengthlist__16c2_s_p3_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__16c2_s_p3_0,
- NULL,
- &_vq_auxt__16c2_s_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c2_s_p4_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__16c2_s_p4_0[] = {
- 2, 3, 3, 5, 5, 6, 6, 7, 7, 7, 7, 8, 8, 9, 9,10,
- 10, 0, 0, 0, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9,10,10,
- 11,11, 0, 0, 0, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9,10,
- 10,10,11, 0, 0, 0, 6, 6, 8, 8, 8, 8, 9, 9,10,10,
- 10,11,11,11, 0, 0, 0, 6, 6, 8, 8, 9, 9, 9, 9,10,
- 10,11,11,11,11, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,
- 10,10,11,11,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9,
- 9,10,10,11,11,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9,
- 10,10,11,11,12,12,12,12, 0, 0, 0, 0, 0, 8, 8, 9,
- 9,10,10,11,11,12,12,12,12, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__16c2_s_p4_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__16c2_s_p4_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__16c2_s_p4_0 = {
- _vq_quantthresh__16c2_s_p4_0,
- _vq_quantmap__16c2_s_p4_0,
- 17,
- 17
- };
- static static_codebook _16c2_s_p4_0 = {
- 2, 289,
- _vq_lengthlist__16c2_s_p4_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__16c2_s_p4_0,
- NULL,
- &_vq_auxt__16c2_s_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c2_s_p5_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__16c2_s_p5_0[] = {
- 1, 4, 4, 5, 7, 7, 6, 7, 7, 4, 6, 6,10,10,10,10,
- 10,10, 4, 7, 6,10,10,10,10,10,10, 5, 9, 9, 9,12,
- 11,10,11,12, 7,10,10,12,12,12,12,12,12, 7,10,10,
- 11,12,12,12,12,13, 6,10,10,10,12,12,10,12,12, 7,
- 10,10,11,13,12,12,12,12, 7,10,10,11,12,12,12,12,
- 12,
- };
- static float _vq_quantthresh__16c2_s_p5_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__16c2_s_p5_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__16c2_s_p5_0 = {
- _vq_quantthresh__16c2_s_p5_0,
- _vq_quantmap__16c2_s_p5_0,
- 3,
- 3
- };
- static static_codebook _16c2_s_p5_0 = {
- 4, 81,
- _vq_lengthlist__16c2_s_p5_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__16c2_s_p5_0,
- NULL,
- &_vq_auxt__16c2_s_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c2_s_p5_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__16c2_s_p5_1[] = {
- 2, 3, 3, 6, 6, 7, 7, 7, 7, 8, 8,11,11,11, 6, 6,
- 7, 7, 8, 8, 8, 8,11,11,11, 6, 6, 7, 7, 8, 8, 8,
- 8,11,11,11, 6, 6, 8, 8, 8, 8, 9, 9,11,11,11, 6,
- 6, 8, 8, 8, 8, 9, 9,11,11,11, 7, 7, 8, 8, 8, 8,
- 8, 8,11,11,11, 7, 7, 8, 8, 8, 8, 8, 9,11,11,11,
- 8, 8, 8, 8, 8, 8, 8, 8,11,11,11,11,11, 8, 8, 8,
- 8, 8, 8,11,11,11,11,11, 8, 8, 8, 8, 8, 8,11,11,
- 11,11,11, 7, 7, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__16c2_s_p5_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__16c2_s_p5_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__16c2_s_p5_1 = {
- _vq_quantthresh__16c2_s_p5_1,
- _vq_quantmap__16c2_s_p5_1,
- 11,
- 11
- };
- static static_codebook _16c2_s_p5_1 = {
- 2, 121,
- _vq_lengthlist__16c2_s_p5_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__16c2_s_p5_1,
- NULL,
- &_vq_auxt__16c2_s_p5_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16c2_s_p6_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__16c2_s_p6_0[] = {
- 1, 4, 4, 7, 6, 8, 8, 9, 9,10,10,11,11, 5, 5, 5,
- 7, 7, 9, 9, 9, 9,11,11,12,12, 6, 5, 5, 7, 7, 9,
- 9,10,10,11,11,12,12, 0, 6, 6, 7, 7, 9, 9,10,10,
- 11,11,12,12, 0, 7, 7, 7, 7, 9, 9,10,10,11,12,12,
- 12, 0,11,11, 8, 8,10,10,11,11,12,12,13,13, 0,11,
- 12, 8, 8,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,
- };
- static float _vq_quantthresh__16c2_s_p6_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__16c2_s_p6_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__16c2_s_p6_0 = {
- _vq_quantthresh__16c2_s_p6_0,
- _vq_quantmap__16c2_s_p6_0,
- 13,
- 13
- };
- static static_codebook _16c2_s_p6_0 = {
- 2, 169,
- _vq_lengthlist__16c2_s_p6_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__16c2_s_p6_0,
- NULL,
- &_vq_auxt__16c2_s_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c2_s_p6_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__16c2_s_p6_1[] = {
- 2, 3, 3, 5, 5, 6, 6, 6, 5, 5, 6, 6, 6, 5, 5, 6,
- 6, 6, 5, 5, 6, 6, 6, 5, 5,
- };
- static float _vq_quantthresh__16c2_s_p6_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__16c2_s_p6_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__16c2_s_p6_1 = {
- _vq_quantthresh__16c2_s_p6_1,
- _vq_quantmap__16c2_s_p6_1,
- 5,
- 5
- };
- static static_codebook _16c2_s_p6_1 = {
- 2, 25,
- _vq_lengthlist__16c2_s_p6_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__16c2_s_p6_1,
- NULL,
- &_vq_auxt__16c2_s_p6_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16c2_s_p7_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__16c2_s_p7_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 9, 9,10,10,11,11, 5, 5, 5,
- 8, 8, 9, 9,10,10,11,11,12,12, 6, 5, 5, 8, 8, 9,
- 9,10,10,11,11,12,13,18, 6, 6, 7, 7, 9, 9,10,10,
- 12,12,13,13,18, 6, 6, 7, 7, 9, 9,10,10,12,12,13,
- 13,18,11,10, 8, 8,10,10,11,11,12,12,13,13,18,11,
- 11, 8, 8,10,10,11,11,12,13,13,13,18,18,18,10,11,
- 11,11,12,12,13,13,14,14,18,18,18,11,11,11,11,12,
- 12,13,13,14,14,18,18,18,14,14,12,12,12,12,14,14,
- 15,14,18,18,18,15,15,11,12,12,12,13,13,15,15,18,
- 18,18,18,18,13,13,13,13,13,14,17,16,18,18,18,18,
- 18,13,14,13,13,14,13,15,14,
- };
- static float _vq_quantthresh__16c2_s_p7_0[] = {
- -60.5, -49.5, -38.5, -27.5, -16.5, -5.5, 5.5, 16.5,
- 27.5, 38.5, 49.5, 60.5,
- };
- static long _vq_quantmap__16c2_s_p7_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__16c2_s_p7_0 = {
- _vq_quantthresh__16c2_s_p7_0,
- _vq_quantmap__16c2_s_p7_0,
- 13,
- 13
- };
- static static_codebook _16c2_s_p7_0 = {
- 2, 169,
- _vq_lengthlist__16c2_s_p7_0,
- 1, -523206656, 1618345984, 4, 0,
- _vq_quantlist__16c2_s_p7_0,
- NULL,
- &_vq_auxt__16c2_s_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c2_s_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__16c2_s_p7_1[] = {
- 2, 4, 4, 6, 6, 7, 7, 7, 7, 7, 7, 9, 9, 9, 6, 6,
- 7, 7, 8, 8, 8, 8, 9, 9, 9, 6, 6, 7, 7, 8, 8, 8,
- 8, 9, 9, 9, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 7,
- 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 7, 7, 7, 7, 8, 8,
- 8, 8, 9, 9, 9, 7, 7, 7, 7, 7, 7, 8, 8, 9, 9, 9,
- 7, 7, 8, 8, 7, 7, 8, 8, 9, 9, 9, 9, 9, 7, 7, 7,
- 7, 8, 8, 9, 9, 9, 9, 9, 8, 8, 7, 7, 8, 8, 9, 9,
- 9, 9, 9, 7, 7, 7, 7, 8, 8,
- };
- static float _vq_quantthresh__16c2_s_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__16c2_s_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__16c2_s_p7_1 = {
- _vq_quantthresh__16c2_s_p7_1,
- _vq_quantmap__16c2_s_p7_1,
- 11,
- 11
- };
- static static_codebook _16c2_s_p7_1 = {
- 2, 121,
- _vq_lengthlist__16c2_s_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__16c2_s_p7_1,
- NULL,
- &_vq_auxt__16c2_s_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16c2_s_p8_0[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__16c2_s_p8_0[] = {
- 1, 4, 4, 7, 6, 7, 7, 6, 6, 8, 8, 9, 9,10,10, 6,
- 6, 6, 8, 8, 9, 8, 8, 8, 9, 9,11,10,11,11, 7, 6,
- 6, 8, 8, 9, 8, 7, 7, 9, 9,10,10,12,11,14, 8, 8,
- 8, 9, 9, 9, 9, 9,10, 9,10,10,11,13,14, 8, 8, 8,
- 8, 9, 9, 8, 8, 9, 9,10,10,11,12,14,13,11, 9, 9,
- 9, 9, 9, 9, 9,10,11,10,13,12,14,11,13, 8, 9, 9,
- 9, 9, 9,10,10,11,10,13,12,14,14,14, 8, 9, 9, 9,
- 11,11,11,11,11,12,13,13,14,14,14, 9, 8, 9, 9,10,
- 10,12,10,11,12,12,14,14,14,14,11,12,10,10,12,12,
- 12,12,13,14,12,12,14,14,14,12,12, 9,10,11,11,12,
- 14,12,14,14,14,14,14,14,14,14,11,11,12,11,12,14,
- 14,14,14,14,14,14,14,14,14,12,11,11,11,11,14,14,
- 14,14,14,14,14,14,14,14,14,14,13,12,14,14,14,14,
- 14,14,14,14,14,14,14,14,14,12,12,12,13,14,14,13,
- 13,
- };
- static float _vq_quantthresh__16c2_s_p8_0[] = {
- -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5, 10.5,
- 31.5, 52.5, 73.5, 94.5, 115.5, 136.5,
- };
- static long _vq_quantmap__16c2_s_p8_0[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__16c2_s_p8_0 = {
- _vq_quantthresh__16c2_s_p8_0,
- _vq_quantmap__16c2_s_p8_0,
- 15,
- 15
- };
- static static_codebook _16c2_s_p8_0 = {
- 2, 225,
- _vq_lengthlist__16c2_s_p8_0,
- 1, -520986624, 1620377600, 4, 0,
- _vq_quantlist__16c2_s_p8_0,
- NULL,
- &_vq_auxt__16c2_s_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c2_s_p8_1[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__16c2_s_p8_1[] = {
- 2, 4, 4, 6, 6, 7, 7, 7, 7, 8, 7, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8,11,12,11, 7, 7, 8, 8, 8, 8, 9, 9,
- 9, 9, 9, 9, 9, 9, 9,10, 9, 9,11,11,10, 7, 7, 8,
- 8, 8, 8, 9, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,11,
- 11,11, 8, 7, 8, 8, 9, 9, 9, 9, 9, 9,10,10, 9,10,
- 10, 9,10,10,11,11,12, 8, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9, 9,10, 9,10,10,10,10,11,11,11, 8, 8, 9, 9,
- 9, 9, 9, 9, 9,10,10,10,10,10,10,10,10,10,11,11,
- 11, 8, 8, 9, 8, 9, 9, 9, 9,10, 9, 9, 9,10,10,10,
- 10, 9,10,11,11,11, 9, 9, 9, 9,10, 9, 9, 9,10,10,
- 9,10, 9,10,10,10,10,10,11,12,11,11,11, 9, 9, 9,
- 9, 9,10,10, 9,10,10,10,10,10,10,10,10,12,11,13,
- 13,11, 9, 9, 9, 9,10,10, 9,10,10,10,10,11,10,10,
- 10,10,11,12,11,12,11, 9, 9, 9,10,10, 9,10,10,10,
- 10,10,10,10,10,10,10,11,11,11,12,11, 9,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,11,12,12,12,
- 11,11,11,10, 9,10,10,10,10,10,10,10,10,11,10,10,
- 10,11,11,11,11,11,11,11,10,10,10,11,10,10,10,10,
- 10,10,10,10,10,10,11,11,11,11,12,12,11,10,10,10,
- 10,10,10,10,10,11,10,10,10,11,10,12,11,11,12,11,
- 11,11,10,10,10,10,10,11,10,10,10,10,10,11,10,10,
- 11,11,11,12,11,12,11,11,12,10,10,10,10,10,10,10,
- 11,10,10,11,10,12,11,11,11,12,11,11,11,11,10,10,
- 10,10,10,10,10,11,11,11,10,11,12,11,11,11,12,11,
- 12,11,12,10,11,10,10,10,10,11,10,10,10,10,10,10,
- 12,11,11,11,11,11,12,12,10,10,10,10,10,11,10,10,
- 11,10,11,11,11,11,11,11,11,11,11,11,11,11,12,11,
- 10,11,10,10,10,10,10,10,10,
- };
- static float _vq_quantthresh__16c2_s_p8_1[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__16c2_s_p8_1[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__16c2_s_p8_1 = {
- _vq_quantthresh__16c2_s_p8_1,
- _vq_quantmap__16c2_s_p8_1,
- 21,
- 21
- };
- static static_codebook _16c2_s_p8_1 = {
- 2, 441,
- _vq_lengthlist__16c2_s_p8_1,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__16c2_s_p8_1,
- NULL,
- &_vq_auxt__16c2_s_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16c2_s_p9_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__16c2_s_p9_0[] = {
- 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__16c2_s_p9_0[] = {
- -5120.5, -4189.5, -3258.5, -2327.5, -1396.5, -465.5, 465.5, 1396.5,
- 2327.5, 3258.5, 4189.5, 5120.5,
- };
- static long _vq_quantmap__16c2_s_p9_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__16c2_s_p9_0 = {
- _vq_quantthresh__16c2_s_p9_0,
- _vq_quantmap__16c2_s_p9_0,
- 13,
- 13
- };
- static static_codebook _16c2_s_p9_0 = {
- 2, 169,
- _vq_lengthlist__16c2_s_p9_0,
- 1, -510275072, 1631393792, 4, 0,
- _vq_quantlist__16c2_s_p9_0,
- NULL,
- &_vq_auxt__16c2_s_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16c2_s_p9_1[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__16c2_s_p9_1[] = {
- 1, 5, 5, 9, 8, 7, 7, 7, 6,10,11,11,11,11,11,11,
- 11, 8, 7, 6, 8, 8,10, 9,10,10,10, 9,11,10,10,10,
- 10,10, 8, 6, 6, 8, 8, 9, 8, 9, 8, 9,10,10,10,10,
- 10,10,10,10, 8,10, 9, 9, 9, 9,10,10,10,10,10,10,
- 10,10,10,10,10, 8, 9, 9, 9,10,10, 9,10,10,10,10,
- 10,10,10,10,10,10,10,10, 9, 8, 9, 9,10,10,10,10,
- 10,10,10,10,10,10,10,10, 9, 8, 8, 9, 9,10,10,10,
- 10,10,10,10,10,10,10,10,10,10, 9,10, 9, 9,10,10,
- 10,10,10,10,10,10,10,10,10,10,10, 9, 8, 9, 9,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, 9,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 8,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10, 9,10, 9,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10, 9,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,
- };
- static float _vq_quantthresh__16c2_s_p9_1[] = {
- -367.5, -318.5, -269.5, -220.5, -171.5, -122.5, -73.5, -24.5,
- 24.5, 73.5, 122.5, 171.5, 220.5, 269.5, 318.5, 367.5,
- };
- static long _vq_quantmap__16c2_s_p9_1[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__16c2_s_p9_1 = {
- _vq_quantthresh__16c2_s_p9_1,
- _vq_quantmap__16c2_s_p9_1,
- 17,
- 17
- };
- static static_codebook _16c2_s_p9_1 = {
- 2, 289,
- _vq_lengthlist__16c2_s_p9_1,
- 1, -518488064, 1622704128, 5, 0,
- _vq_quantlist__16c2_s_p9_1,
- NULL,
- &_vq_auxt__16c2_s_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16c2_s_p9_2[] = {
- 13,
- 12,
- 14,
- 11,
- 15,
- 10,
- 16,
- 9,
- 17,
- 8,
- 18,
- 7,
- 19,
- 6,
- 20,
- 5,
- 21,
- 4,
- 22,
- 3,
- 23,
- 2,
- 24,
- 1,
- 25,
- 0,
- 26,
- };
- static long _vq_lengthlist__16c2_s_p9_2[] = {
- 1, 4, 4, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 8, 7, 8, 7, 7, 4, 4,
- };
- static float _vq_quantthresh__16c2_s_p9_2[] = {
- -12.5, -11.5, -10.5, -9.5, -8.5, -7.5, -6.5, -5.5,
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5, 10.5,
- 11.5, 12.5,
- };
- static long _vq_quantmap__16c2_s_p9_2[] = {
- 25, 23, 21, 19, 17, 15, 13, 11,
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10, 12, 14, 16, 18, 20,
- 22, 24, 26,
- };
- static encode_aux_threshmatch _vq_auxt__16c2_s_p9_2 = {
- _vq_quantthresh__16c2_s_p9_2,
- _vq_quantmap__16c2_s_p9_2,
- 27,
- 27
- };
- static static_codebook _16c2_s_p9_2 = {
- 1, 27,
- _vq_lengthlist__16c2_s_p9_2,
- 1, -528875520, 1611661312, 5, 0,
- _vq_quantlist__16c2_s_p9_2,
- NULL,
- &_vq_auxt__16c2_s_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__16c2_s_short[] = {
- 7,10,11,11,11,14,15,15,17,14, 8, 6, 7, 7, 8, 9,
- 11,11,14,17, 9, 6, 6, 6, 7, 7,10,11,15,16, 9, 6,
- 6, 4, 4, 5, 8, 9,12,16,10, 6, 6, 4, 4, 4, 6, 9,
- 13,16,10, 7, 6, 5, 4, 3, 5, 7,13,16,11, 9, 8, 7,
- 6, 5, 5, 6,12,15,10,10,10, 9, 7, 6, 6, 7,11,15,
- 13,13,13,13,11,10,10, 9,12,16,16,16,16,14,16,15,
- 15,12,14,14,
- };
- static static_codebook _huff_book__16c2_s_short = {
- 2, 100,
- _huff_lengthlist__16c2_s_short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c0_s_long[] = {
- 3, 4,18, 8, 8, 8, 9,10,11,13, 3, 2,18, 5, 5, 6,
- 8,11,12,12,18,18,18,18,18,18,18,18,18,18, 8, 5,
- 18, 7, 8, 8,10,14,14,16, 8, 5,18, 7, 5, 6, 7,11,
- 12,13, 8, 6,18, 7, 5, 6, 7,10,12,14, 8, 7,18,10,
- 7, 6, 6, 8,11,14, 9,10,18,13, 9, 7, 6, 8,10,13,
- 11,13,18,16,13,10, 9, 8, 8,11,12,17,18,17,18,14,
- 11, 9,10,14,
- };
- static static_codebook _huff_book__44c0_s_long = {
- 2, 100,
- _huff_lengthlist__44c0_s_long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_s_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c0_s_p1_0[] = {
- 1, 5, 5, 0, 0, 0, 0, 0, 0, 5, 7, 7, 0, 0, 0, 0,
- 0, 0, 5, 7, 7, 0, 0, 0, 0, 0, 0, 0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 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_s_p1_0 = {
- _vq_quantthresh__44c0_s_p1_0,
- _vq_quantmap__44c0_s_p1_0,
- 3,
- 3
- };
- static static_codebook _44c0_s_p1_0 = {
- 8, 6561,
- _vq_lengthlist__44c0_s_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44c0_s_p1_0,
- NULL,
- &_vq_auxt__44c0_s_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_s_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c0_s_p2_0[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c0_s_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c0_s_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_s_p2_0 = {
- _vq_quantthresh__44c0_s_p2_0,
- _vq_quantmap__44c0_s_p2_0,
- 5,
- 5
- };
- static static_codebook _44c0_s_p2_0 = {
- 4, 625,
- _vq_lengthlist__44c0_s_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c0_s_p2_0,
- NULL,
- &_vq_auxt__44c0_s_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_s_p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c0_s_p3_0[] = {
- 1, 4, 4, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 5, 5, 7, 7, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 4, 5, 5, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 7, 7, 9, 9,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 7, 7, 7, 9, 9, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0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,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c0_s_p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c0_s_p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_s_p3_0 = {
- _vq_quantthresh__44c0_s_p3_0,
- _vq_quantmap__44c0_s_p3_0,
- 5,
- 5
- };
- static static_codebook _44c0_s_p3_0 = {
- 4, 625,
- _vq_lengthlist__44c0_s_p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c0_s_p3_0,
- NULL,
- &_vq_auxt__44c0_s_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_s_p4_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c0_s_p4_0[] = {
- 1, 3, 2, 8, 7, 0, 0, 0, 0, 0, 0, 0, 6, 6, 0, 0,
- 0, 0, 0, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 0, 7, 7,
- 0, 0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 0, 0, 0, 0,
- 8, 8, 0, 0, 0, 0, 0, 0, 0, 8, 8, 0, 0, 0, 0, 0,
- 0, 0, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c0_s_p4_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c0_s_p4_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_s_p4_0 = {
- _vq_quantthresh__44c0_s_p4_0,
- _vq_quantmap__44c0_s_p4_0,
- 9,
- 9
- };
- static static_codebook _44c0_s_p4_0 = {
- 2, 81,
- _vq_lengthlist__44c0_s_p4_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c0_s_p4_0,
- NULL,
- &_vq_auxt__44c0_s_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_s_p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c0_s_p5_0[] = {
- 1, 3, 3, 6, 6, 6, 6, 8, 8, 0, 0, 0, 6, 7, 7, 7,
- 9, 9, 0, 0, 0, 7, 7, 7, 7, 9, 9, 0, 0, 0, 7, 7,
- 8, 8, 9, 9, 0, 0, 0, 7, 7, 8, 8,10, 9, 0, 0, 0,
- 8, 8, 8, 8,10,10, 0, 0, 0, 8, 8, 8, 8,10,10, 0,
- 0, 0,10, 9, 9, 9,11,11, 0, 0, 0, 0, 0, 9, 9,11,
- 11,
- };
- static float _vq_quantthresh__44c0_s_p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c0_s_p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_s_p5_0 = {
- _vq_quantthresh__44c0_s_p5_0,
- _vq_quantmap__44c0_s_p5_0,
- 9,
- 9
- };
- static static_codebook _44c0_s_p5_0 = {
- 2, 81,
- _vq_lengthlist__44c0_s_p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c0_s_p5_0,
- NULL,
- &_vq_auxt__44c0_s_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_s_p6_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c0_s_p6_0[] = {
- 1, 3, 4, 6, 6, 7, 8, 8, 8, 8, 8, 9, 9,10,10,11,
- 11, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,10,10,10,
- 11,11, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,10,10,
- 11,11,11, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,10,
- 11,11,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,
- 10,11,11,12,12, 0, 0, 0, 8, 8, 9, 9, 9,10,10,10,
- 10,11,11,11,12,12, 0, 0, 0, 8, 8, 9, 9, 9, 9,10,
- 10,11,11,11,11,12,12, 0, 0, 0, 9, 9, 9, 9,10,10,
- 10,10,11,11,12,12,12,13, 0, 0, 0, 0, 0, 9, 9,10,
- 10,10,10,11,11,12,12,12,12, 0, 0, 0, 0, 0, 9, 9,
- 9,10,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 9,
- 9, 9, 9,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0,
- 10, 9,10,10,11,11,11,12,12,13,13,13, 0, 0, 0, 0,
- 0, 0, 0,10,10,11,11,12,12,12,12,13,13, 0, 0, 0,
- 0, 0, 0, 0,11,11,11,11,12,12,13,13,13,13, 0, 0,
- 0, 0, 0, 0, 0,11,11,11,11,12,12,13,12,13,13, 0,
- 0, 0, 0, 0, 0, 0,11,11,12,12,12,12,13,13,13,14,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,12,12,12,12,13,13,13,
- 14,
- };
- static float _vq_quantthresh__44c0_s_p6_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c0_s_p6_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_s_p6_0 = {
- _vq_quantthresh__44c0_s_p6_0,
- _vq_quantmap__44c0_s_p6_0,
- 17,
- 17
- };
- static static_codebook _44c0_s_p6_0 = {
- 2, 289,
- _vq_lengthlist__44c0_s_p6_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c0_s_p6_0,
- NULL,
- &_vq_auxt__44c0_s_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_s_p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c0_s_p7_0[] = {
- 1, 4, 4, 6, 6, 6, 7, 6, 6, 4, 7, 7,10, 9, 9,10,
- 9, 9, 4, 7, 7,10, 9, 9,11, 9, 9, 7,10,10,10,11,
- 10,11,10,10, 6, 9, 9,11,10,10,11, 9,10, 6, 9, 9,
- 11,10,10,11, 9, 9, 7,10,10,11,11,11,12,11,11, 7,
- 9, 9,10, 9, 9,11,11,10, 7, 9, 9,10,10,10,12,10,
- 11,
- };
- static float _vq_quantthresh__44c0_s_p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44c0_s_p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_s_p7_0 = {
- _vq_quantthresh__44c0_s_p7_0,
- _vq_quantmap__44c0_s_p7_0,
- 3,
- 3
- };
- static static_codebook _44c0_s_p7_0 = {
- 4, 81,
- _vq_lengthlist__44c0_s_p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44c0_s_p7_0,
- NULL,
- &_vq_auxt__44c0_s_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_s_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c0_s_p7_1[] = {
- 2, 3, 3, 6, 6, 7, 7, 7, 7, 7, 7,10, 9, 9, 6, 6,
- 7, 7, 8, 8, 8, 8, 9, 9, 9, 6, 6, 7, 7, 8, 8, 8,
- 8,10, 9,10, 7, 7, 8, 8, 8, 8, 8, 8,10,10,10, 7,
- 7, 7, 7, 8, 8, 8, 8,10,10,10, 7, 7, 8, 8, 8, 8,
- 8, 8,10,10,10, 8, 7, 8, 8, 8, 8, 8, 8,10,10,10,
- 8, 8, 8, 8, 8, 8, 8, 8,10,10,10,10,10, 8, 8, 8,
- 8, 8, 8,10,10,10,10,10, 9, 9, 8, 8, 9, 8,10,10,
- 10,10,10, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44c0_s_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c0_s_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_s_p7_1 = {
- _vq_quantthresh__44c0_s_p7_1,
- _vq_quantmap__44c0_s_p7_1,
- 11,
- 11
- };
- static static_codebook _44c0_s_p7_1 = {
- 2, 121,
- _vq_lengthlist__44c0_s_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c0_s_p7_1,
- NULL,
- &_vq_auxt__44c0_s_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_s_p8_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c0_s_p8_0[] = {
- 1, 4, 4, 6, 6, 7, 7, 7, 7, 8, 8,10, 9, 7, 5, 5,
- 7, 7, 8, 8, 8, 8, 9, 9,10,10, 7, 6, 6, 7, 7, 8,
- 8, 8, 8, 9, 9,10,10, 0, 8, 8, 8, 8, 9, 8, 9, 9,
- 10,10,11,11, 0, 8, 8, 8, 8, 9, 9, 9, 9,10,10,11,
- 11, 0,12,12, 9, 8, 9, 9,10,10,10,11,12,11, 0,13,
- 13, 9, 8, 9, 9,10,10,10,11,11,11, 0, 0, 0,10,10,
- 9, 9,10,10,11,11,12,12, 0, 0, 0,10,10, 9, 8,10,
- 10,11,11,12,12, 0, 0, 0,13,13,10,10,11,11,12,12,
- 12,12, 0, 0, 0,15,15,10,10,11, 9,12,12,13,13, 0,
- 0, 0, 0, 0,12,11,11,11,12,12,13,13, 0, 0, 0, 0,
- 0,12,12,11,11,12,11,14,13,
- };
- static float _vq_quantthresh__44c0_s_p8_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44c0_s_p8_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_s_p8_0 = {
- _vq_quantthresh__44c0_s_p8_0,
- _vq_quantmap__44c0_s_p8_0,
- 13,
- 13
- };
- static static_codebook _44c0_s_p8_0 = {
- 2, 169,
- _vq_lengthlist__44c0_s_p8_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44c0_s_p8_0,
- NULL,
- &_vq_auxt__44c0_s_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_s_p8_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c0_s_p8_1[] = {
- 2, 3, 4, 4, 4, 6, 6, 6, 5, 5, 6, 6, 6, 5, 5, 6,
- 6, 6, 5, 5, 6, 6, 6, 5, 5,
- };
- static float _vq_quantthresh__44c0_s_p8_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c0_s_p8_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_s_p8_1 = {
- _vq_quantthresh__44c0_s_p8_1,
- _vq_quantmap__44c0_s_p8_1,
- 5,
- 5
- };
- static static_codebook _44c0_s_p8_1 = {
- 2, 25,
- _vq_lengthlist__44c0_s_p8_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c0_s_p8_1,
- NULL,
- &_vq_auxt__44c0_s_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_s_p9_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c0_s_p9_0[] = {
- 1, 7, 7,11,11,10,11,11,11,11, 9,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11, 8,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11, 8,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,
- };
- static float _vq_quantthresh__44c0_s_p9_0[] = {
- -331.5, -110.5, 110.5, 331.5,
- };
- static long _vq_quantmap__44c0_s_p9_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_s_p9_0 = {
- _vq_quantthresh__44c0_s_p9_0,
- _vq_quantmap__44c0_s_p9_0,
- 5,
- 5
- };
- static static_codebook _44c0_s_p9_0 = {
- 4, 625,
- _vq_lengthlist__44c0_s_p9_0,
- 1, -518283264, 1627103232, 3, 0,
- _vq_quantlist__44c0_s_p9_0,
- NULL,
- &_vq_auxt__44c0_s_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_s_p9_1[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c0_s_p9_1[] = {
- 1, 4, 4, 6, 6, 7, 7, 9, 9,12,12,13,12, 6, 5, 5,
- 7, 7, 8, 8,10,10,12,11,14,13, 6, 5, 5, 7, 7, 7,
- 8, 9, 9,11,12,13,12,15, 7, 7, 7, 7, 9, 9,11,11,
- 14,13,14,13,15, 7, 7, 8, 8, 8, 9,10,10,11,11,12,
- 11,15,10,10, 8, 8,10,10,12,11,13,15,14,14,15,11,
- 10, 8, 8,11,11,11,11,13,13,12,13,15,15,15,10,10,
- 10,10,12,13,13,13,15,14,15,15,15,10,10,10,11,13,
- 14,13,14,14,14,15,15,15,15,15,11,12,11,13,14,14,
- 15,15,15,15,15,14,15,11,11,13,12,14,13,15,15,15,
- 15,15,15,15,13,12,13,12,15,15,15,15,15,15,15,15,
- 15,12,13,12,12,15,14,15,15,
- };
- static float _vq_quantthresh__44c0_s_p9_1[] = {
- -93.5, -76.5, -59.5, -42.5, -25.5, -8.5, 8.5, 25.5,
- 42.5, 59.5, 76.5, 93.5,
- };
- static long _vq_quantmap__44c0_s_p9_1[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_s_p9_1 = {
- _vq_quantthresh__44c0_s_p9_1,
- _vq_quantmap__44c0_s_p9_1,
- 13,
- 13
- };
- static static_codebook _44c0_s_p9_1 = {
- 2, 169,
- _vq_lengthlist__44c0_s_p9_1,
- 1, -522616832, 1620115456, 4, 0,
- _vq_quantlist__44c0_s_p9_1,
- NULL,
- &_vq_auxt__44c0_s_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_s_p9_2[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c0_s_p9_2[] = {
- 2, 4, 4, 6, 6, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 8,
- 9,10,10,10, 7, 7, 8, 7, 8, 8, 9, 9, 9, 9, 9, 9,
- 9, 9,10,10,10, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9,10,10,10, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9, 9, 9,10,10,10, 7, 7, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 9, 9,11,10,10, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9,10,10,10, 8, 8, 8, 8, 8, 9, 9,
- 9, 9, 9, 9,10, 9, 9,10,10,11, 9, 8, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,10,11, 9, 8, 9,
- 9, 9, 9, 9, 9, 9, 9,10,10,11,11,10,11,11, 9, 9,
- 9, 9, 9, 9,10, 9, 9, 9,10, 9,10,10,10,11,11, 9,
- 9, 9, 9, 9, 9, 9,10, 9, 9, 9,10,11,10,10,10,11,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,10,
- 11,11,10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,
- 11,11,10,10, 9,10,10,10, 9,10, 9, 9, 9, 9,10,10,
- 11,10,11,11,11, 9,10, 9, 9, 9, 9, 9, 9, 9,10,10,
- 11,10,11,11,10,10,10,10, 9, 9, 9, 9, 9, 9, 9, 9,
- 10,10,10,10,11,11,10,11,11, 9, 9, 9, 9, 9, 9, 9,
- 9,
- };
- static float _vq_quantthresh__44c0_s_p9_2[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c0_s_p9_2[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_s_p9_2 = {
- _vq_quantthresh__44c0_s_p9_2,
- _vq_quantmap__44c0_s_p9_2,
- 17,
- 17
- };
- static static_codebook _44c0_s_p9_2 = {
- 2, 289,
- _vq_lengthlist__44c0_s_p9_2,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c0_s_p9_2,
- NULL,
- &_vq_auxt__44c0_s_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c0_s_short[] = {
- 6, 8,17,12,12,12,14,15,17,16, 5, 1,16, 5, 6, 6,
- 9,12,14,13,16,16,16,16,16,16,16,16,16,16, 9, 4,
- 16, 6, 9, 7,10,14,14,14, 8, 5,16, 8, 6, 7,10,13,
- 15,16, 9, 6,16, 7, 7, 7,10,12,15,14,10, 8,16, 9,
- 9, 9,10,12,15,14,13, 7,16, 8, 7, 7,10,12,14,13,
- 15, 6,16, 7, 5, 5, 7, 9,13,16,14, 7,16, 8, 6, 6,
- 8, 9,11,14,
- };
- static static_codebook _huff_book__44c0_s_short = {
- 2, 100,
- _huff_lengthlist__44c0_s_short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c0_sm_long[] = {
- 3, 4,10, 8,11, 9,10,10,11,13, 3, 2,10, 5, 8, 6,
- 8,11,12,13,10, 8, 7,10, 7, 8, 9,11,12,13, 8, 5,
- 12, 6, 9, 7,10,13,14,16,11, 7, 7, 9, 5, 6, 7,10,
- 13,13, 8, 6, 7, 7, 5, 5, 6, 9,12,13, 9, 8, 8, 8,
- 7, 6, 6, 8,11,14,10,10,10,11, 9, 8, 7, 8,10,13,
- 11,14,12,15,13,11, 9, 8, 9,12,12,18,15,18,17,15,
- 12,10,10,14,
- };
- static static_codebook _huff_book__44c0_sm_long = {
- 2, 100,
- _huff_lengthlist__44c0_sm_long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_sm_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c0_sm_p1_0[] = {
- 1, 5, 5, 0, 0, 0, 0, 0, 0, 5, 7, 7, 0, 0, 0, 0,
- 0, 0, 5, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 5, 8, 7, 0, 0, 0, 0, 0, 0, 7, 9, 9, 0, 0, 0,
- 0, 0, 0, 7, 8, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 5, 7, 8, 0, 0, 0, 0, 0, 0, 7, 9, 8, 0, 0,
- 0, 0, 0, 0, 7, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c0_sm_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44c0_sm_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_sm_p1_0 = {
- _vq_quantthresh__44c0_sm_p1_0,
- _vq_quantmap__44c0_sm_p1_0,
- 3,
- 3
- };
- static static_codebook _44c0_sm_p1_0 = {
- 8, 6561,
- _vq_lengthlist__44c0_sm_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44c0_sm_p1_0,
- NULL,
- &_vq_auxt__44c0_sm_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_sm_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c0_sm_p2_0[] = {
- 1, 5, 5, 0, 0, 0, 5, 5, 0, 0, 0, 6, 6, 0, 0, 0,
- 8, 8, 0, 0, 0, 0, 0, 0, 0, 5, 7, 6, 0, 0, 0, 8,
- 8, 0, 0, 0, 8, 8, 0, 0, 0,10,10, 0, 0, 0, 0, 0,
- 0, 0, 5, 6, 7, 0, 0, 0, 8, 8, 0, 0, 0, 8, 8, 0,
- 0, 0,10,10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,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 0, 0, 0, 0, 0, 0, 8,10,10, 0, 0, 0,10,
- 10, 0, 0, 0,10, 9, 0, 0, 0,10,10, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c0_sm_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c0_sm_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_sm_p2_0 = {
- _vq_quantthresh__44c0_sm_p2_0,
- _vq_quantmap__44c0_sm_p2_0,
- 5,
- 5
- };
- static static_codebook _44c0_sm_p2_0 = {
- 4, 625,
- _vq_lengthlist__44c0_sm_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c0_sm_p2_0,
- NULL,
- &_vq_auxt__44c0_sm_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_sm_p3_0[] = {
- 2,
- 1,
- 3,
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5,
- };
- static long _vq_quantmap__44c0_sm_p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_sm_p3_0 = {
- _vq_quantthresh__44c0_sm_p3_0,
- _vq_quantmap__44c0_sm_p3_0,
- 5,
- 5
- };
- static static_codebook _44c0_sm_p3_0 = {
- 4, 625,
- _vq_lengthlist__44c0_sm_p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c0_sm_p3_0,
- NULL,
- &_vq_auxt__44c0_sm_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_sm_p4_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c0_sm_p4_0[] = {
- 2, 3, 3, 6, 6, 0, 0, 0, 0, 0, 4, 4, 6, 6, 0, 0,
- 0, 0, 0, 4, 4, 6, 6, 0, 0, 0, 0, 0, 5, 5, 6, 6,
- 0, 0, 0, 0, 0, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 0,
- 7, 8, 0, 0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 0, 0,
- 0, 0, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c0_sm_p4_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c0_sm_p4_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_sm_p4_0 = {
- _vq_quantthresh__44c0_sm_p4_0,
- _vq_quantmap__44c0_sm_p4_0,
- 9,
- 9
- };
- static static_codebook _44c0_sm_p4_0 = {
- 2, 81,
- _vq_lengthlist__44c0_sm_p4_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c0_sm_p4_0,
- NULL,
- &_vq_auxt__44c0_sm_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_sm_p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c0_sm_p5_0[] = {
- 1, 3, 3, 6, 6, 7, 7, 9, 9, 0, 6, 6, 7, 7, 8, 8,
- 9, 9, 0, 6, 6, 7, 7, 8, 8,10,10, 0, 7, 7, 8, 8,
- 8, 8,10,10, 0, 0, 0, 8, 8, 8, 8,10,10, 0, 0, 0,
- 8, 8, 9, 9,11,11, 0, 0, 0, 9, 9, 9, 9,11,11, 0,
- 0, 0,10,10, 9, 9,11,11, 0, 0, 0, 0, 0, 9, 9,11,
- 11,
- };
- static float _vq_quantthresh__44c0_sm_p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c0_sm_p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_sm_p5_0 = {
- _vq_quantthresh__44c0_sm_p5_0,
- _vq_quantmap__44c0_sm_p5_0,
- 9,
- 9
- };
- static static_codebook _44c0_sm_p5_0 = {
- 2, 81,
- _vq_lengthlist__44c0_sm_p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c0_sm_p5_0,
- NULL,
- &_vq_auxt__44c0_sm_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_sm_p6_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c0_sm_p6_0[] = {
- 1, 4, 4, 6, 6, 8, 8, 9, 9, 8, 8,10,10,10,10,11,
- 11, 0, 6, 5, 7, 7, 8, 8, 9, 9, 9, 9,10,10,11,11,
- 12,12, 0, 6, 5, 7, 7, 8, 8, 9, 9, 9, 9,10,10,11,
- 11,12,12, 0, 7, 7, 8, 8, 8, 8,10,10,10,10,11,11,
- 11,11,12,12, 0, 0, 0, 8, 7, 8, 8,10,10,10,10,11,
- 11,11,11,12,12, 0, 0, 0, 8, 8, 9, 9,10,10,10,10,
- 11,11,12,12,12,12, 0, 0, 0, 8, 8, 9, 9,10,10,10,
- 10,11,11,12,12,12,13, 0, 0, 0, 9, 9, 9, 9,10,10,
- 10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 9, 9,10,
- 10,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 9, 9,
- 10,10,11,11,12,12,12,13,13,13, 0, 0, 0, 0, 0, 9,
- 9,10, 9,11,11,12,12,13,13,13,13, 0, 0, 0, 0, 0,
- 10,10,10,10,11,11,12,12,13,13,14,14, 0, 0, 0, 0,
- 0, 0, 0,10,10,11,11,12,12,13,13,14,14, 0, 0, 0,
- 0, 0, 0, 0,11,11,11,11,12,12,13,13,14,14, 0, 0,
- 0, 0, 0, 0, 0,11,11,11,11,12,12,13,13,14,14, 0,
- 0, 0, 0, 0, 0, 0,12,12,12,12,13,13,13,13,14,14,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,12,12,12,12,13,13,14,
- 14,
- };
- static float _vq_quantthresh__44c0_sm_p6_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c0_sm_p6_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_sm_p6_0 = {
- _vq_quantthresh__44c0_sm_p6_0,
- _vq_quantmap__44c0_sm_p6_0,
- 17,
- 17
- };
- static static_codebook _44c0_sm_p6_0 = {
- 2, 289,
- _vq_lengthlist__44c0_sm_p6_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c0_sm_p6_0,
- NULL,
- &_vq_auxt__44c0_sm_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_sm_p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c0_sm_p7_0[] = {
- 1, 4, 4, 6, 6, 6, 7, 6, 6, 5, 7, 6,10, 9, 9,10,
- 9, 9, 4, 7, 7,10, 9, 9,11, 9, 9, 6,10,10,10,10,
- 10,11,10,10, 6, 9, 9,10,10,10,11, 9,10, 6, 9, 9,
- 10,10,10,11,10, 9, 7,10,10,11,11,11,11,11,11, 6,
- 9, 9,10, 9,10,11,11,10, 6, 9, 9,10,10,10,11,10,
- 11,
- };
- static float _vq_quantthresh__44c0_sm_p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44c0_sm_p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_sm_p7_0 = {
- _vq_quantthresh__44c0_sm_p7_0,
- _vq_quantmap__44c0_sm_p7_0,
- 3,
- 3
- };
- static static_codebook _44c0_sm_p7_0 = {
- 4, 81,
- _vq_lengthlist__44c0_sm_p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44c0_sm_p7_0,
- NULL,
- &_vq_auxt__44c0_sm_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_sm_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c0_sm_p7_1[] = {
- 2, 4, 4, 5, 5, 7, 7, 7, 7, 7, 7, 9, 5, 5, 7, 7,
- 7, 7, 8, 8, 8, 8, 9, 5, 5, 7, 7, 7, 7, 8, 8, 8,
- 8,10, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8,10,10,10, 7,
- 7, 7, 7, 8, 8, 8, 8,10,10,10, 8, 8, 8, 8, 8, 8,
- 8, 8,10,10,10, 8, 8, 8, 8, 8, 8, 8, 8,10,10,10,
- 8, 8, 8, 8, 8, 8, 8, 8,10,10,10,10,10, 8, 8, 8,
- 8, 8, 8,10,10,10,10,10, 9, 9, 8, 8, 8, 8,10,10,
- 10,10,10, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44c0_sm_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c0_sm_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_sm_p7_1 = {
- _vq_quantthresh__44c0_sm_p7_1,
- _vq_quantmap__44c0_sm_p7_1,
- 11,
- 11
- };
- static static_codebook _44c0_sm_p7_1 = {
- 2, 121,
- _vq_lengthlist__44c0_sm_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c0_sm_p7_1,
- NULL,
- &_vq_auxt__44c0_sm_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_sm_p8_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c0_sm_p8_0[] = {
- 1, 4, 4, 6, 6, 7, 7, 7, 7, 9, 9,10,10, 7, 5, 5,
- 7, 7, 8, 8, 8, 8, 9, 9,10,10, 7, 5, 6, 7, 7, 8,
- 8, 8, 8, 9, 9,10,10, 0, 8, 8, 8, 8, 9, 9, 9, 9,
- 10,10,11,11, 0, 8, 8, 8, 8, 9, 9, 9, 9,10,10,11,
- 11, 0,12,12, 9, 9, 9, 9,10,10,11,11,12,11, 0,12,
- 12, 9, 9, 9, 9,10,10,11,11,12,11, 0, 0, 0, 9, 9,
- 9,10,11,11,11,11,12,12, 0, 0, 0,10,10, 9, 9,11,
- 11,11,11,12,12, 0, 0, 0,13,13,10,10,11,11,12,12,
- 13,13, 0, 0, 0,14,14,10,10,11,10,12,12,13,13, 0,
- 0, 0, 0, 0,12,12,11,11,12,12,13,13, 0, 0, 0, 0,
- 0,12,12,11,10,12,11,14,14,
- };
- static float _vq_quantthresh__44c0_sm_p8_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44c0_sm_p8_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_sm_p8_0 = {
- _vq_quantthresh__44c0_sm_p8_0,
- _vq_quantmap__44c0_sm_p8_0,
- 13,
- 13
- };
- static static_codebook _44c0_sm_p8_0 = {
- 2, 169,
- _vq_lengthlist__44c0_sm_p8_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44c0_sm_p8_0,
- NULL,
- &_vq_auxt__44c0_sm_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_sm_p8_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c0_sm_p8_1[] = {
- 2, 4, 4, 4, 5, 6, 5, 5, 5, 5, 6, 5, 5, 5, 5, 6,
- 5, 5, 5, 5, 6, 6, 6, 5, 5,
- };
- static float _vq_quantthresh__44c0_sm_p8_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c0_sm_p8_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_sm_p8_1 = {
- _vq_quantthresh__44c0_sm_p8_1,
- _vq_quantmap__44c0_sm_p8_1,
- 5,
- 5
- };
- static static_codebook _44c0_sm_p8_1 = {
- 2, 25,
- _vq_lengthlist__44c0_sm_p8_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c0_sm_p8_1,
- NULL,
- &_vq_auxt__44c0_sm_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_sm_p9_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c0_sm_p9_0[] = {
- 1, 3, 4,11,11,11,11,11,11, 4, 6, 6,10,10,10,10,
- 10,10, 4, 6, 5,10,10,10,10,10,10,10, 6, 7,10, 9,
- 10,10,10,10,10, 7, 9,10, 9,10,10,10,10,10, 9,10,
- 7, 9,10,10,10,10,10,10,10, 9,10,10,10,10,10,10,
- 10,10, 9,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,
- };
- static float _vq_quantthresh__44c0_sm_p9_0[] = {
- -773.5, -552.5, -331.5, -110.5, 110.5, 331.5, 552.5, 773.5,
- };
- static long _vq_quantmap__44c0_sm_p9_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_sm_p9_0 = {
- _vq_quantthresh__44c0_sm_p9_0,
- _vq_quantmap__44c0_sm_p9_0,
- 9,
- 9
- };
- static static_codebook _44c0_sm_p9_0 = {
- 2, 81,
- _vq_lengthlist__44c0_sm_p9_0,
- 1, -516186112, 1627103232, 4, 0,
- _vq_quantlist__44c0_sm_p9_0,
- NULL,
- &_vq_auxt__44c0_sm_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_sm_p9_1[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c0_sm_p9_1[] = {
- 1, 4, 4, 6, 6, 7, 7, 9, 9,12,12,13,13, 6, 5, 5,
- 7, 7, 8, 8,10,10,12,12,14,13, 6, 5, 5, 6, 7, 8,
- 8,10, 9,11,12,13,12,18, 7, 7, 7, 7, 9, 9,11,11,
- 14,14,14,13,17, 7, 7, 8, 7, 9, 9,10,10,12,11,13,
- 12,18,10,10, 8, 8,10,10,12,11,13,14,16,15,17,11,
- 11, 8, 8,11,11,11,12,13,13,13,15,18,18,18,10,11,
- 10,10,12,13,14,13,17,14,17,17,17,10,10,11,11,14,
- 14,14,13,14,14,18,18,18,17,15,11,12,12,13,15,15,
- 16,17,18,16,18,14,15,11,11,14,13,14,14,16,17,18,
- 17,17,17,18,14,13,13,12,17,15,17,16,18,17,18,18,
- 18,12,13,12,13,16,14,18,18,
- };
- static float _vq_quantthresh__44c0_sm_p9_1[] = {
- -93.5, -76.5, -59.5, -42.5, -25.5, -8.5, 8.5, 25.5,
- 42.5, 59.5, 76.5, 93.5,
- };
- static long _vq_quantmap__44c0_sm_p9_1[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_sm_p9_1 = {
- _vq_quantthresh__44c0_sm_p9_1,
- _vq_quantmap__44c0_sm_p9_1,
- 13,
- 13
- };
- static static_codebook _44c0_sm_p9_1 = {
- 2, 169,
- _vq_lengthlist__44c0_sm_p9_1,
- 1, -522616832, 1620115456, 4, 0,
- _vq_quantlist__44c0_sm_p9_1,
- NULL,
- &_vq_auxt__44c0_sm_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c0_sm_p9_2[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c0_sm_p9_2[] = {
- 2, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9,
- 9,10, 6, 6, 7, 7, 8, 7, 8, 8, 9, 9, 9, 9, 9, 9,
- 9, 9,10, 6, 6, 7, 7, 7, 7, 8, 8, 9, 8, 9, 9, 9,
- 9, 9, 9,10, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9, 9, 9,10,10,10, 7, 7, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 9, 9,10,10,10, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9,11,10,10, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 9, 9,10, 9,10,11,10, 9, 8, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9,10,10,10,10,11,11, 9, 8, 9,
- 9, 9, 9, 9, 9, 9, 9,10,10,10,11,10,11,11, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9,10, 9,10,10,10,11,11, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,11,10,10,11,11,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10, 9,10,10,10,10,
- 11,11,10, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,11,10,
- 11,11,10,10, 9,10,10,10, 9, 9, 9, 9, 9, 9,10,10,
- 10,11,11,11,11,10,10, 9, 9, 9, 9, 9, 9, 9, 9,10,
- 11,10,11,10,10,10,10,10, 9, 9, 9, 9, 9, 9, 9, 9,
- 10,10,10,11,11,11,10,11,11, 9, 9, 9, 9, 9, 9, 9,
- 9,
- };
- static float _vq_quantthresh__44c0_sm_p9_2[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c0_sm_p9_2[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c0_sm_p9_2 = {
- _vq_quantthresh__44c0_sm_p9_2,
- _vq_quantmap__44c0_sm_p9_2,
- 17,
- 17
- };
- static static_codebook _44c0_sm_p9_2 = {
- 2, 289,
- _vq_lengthlist__44c0_sm_p9_2,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c0_sm_p9_2,
- NULL,
- &_vq_auxt__44c0_sm_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c0_sm_short[] = {
- 5, 7,12,12,13,13,13,15,16,18, 4, 2,11, 5, 9, 7,
- 9,12,13,14,13, 7, 8, 9, 8, 9,11,13,19,19, 9, 4,
- 12, 5,10, 7, 9,12,15,14,11, 6, 7, 7, 5, 6, 8,11,
- 15,17,10, 5, 8, 6, 6, 5, 6, 9,14,14,10, 5, 9, 7,
- 7, 6, 6, 9,12,14,12, 6,10, 7, 7, 7, 8, 9,13,14,
- 14, 7, 9, 7, 5, 5, 6, 9,11,13,14, 9,10, 9, 6, 6,
- 7, 8,10,13,
- };
- static static_codebook _huff_book__44c0_sm_short = {
- 2, 100,
- _huff_lengthlist__44c0_sm_short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c1_s_long[] = {
- 3, 4,19, 9,10, 9, 9,10,11,12, 4, 2,19, 5, 6, 6,
- 8,10,12,11,19,19,19,19,19,19,19,19,18,18, 8, 4,
- 18, 6, 8, 7,10,13,14,13,10, 5,18, 7, 4, 6, 7,10,
- 12,13, 9, 6,18, 7, 5, 6, 7,10,12,13, 9, 7,18, 9,
- 7, 6, 6, 7,10,13, 9, 9,18,12, 9, 8, 6, 6, 9,12,
- 10,12,18,15,12,11, 9, 8, 8,11,11,14,18,17,15,13,
- 12, 9,10,12,
- };
- static static_codebook _huff_book__44c1_s_long = {
- 2, 100,
- _huff_lengthlist__44c1_s_long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_s_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c1_s_p1_0[] = {
- 2, 4, 4, 0, 0, 0, 0, 0, 0, 5, 7, 6, 0, 0, 0, 0,
- 0, 0, 5, 6, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 5, 7, 7, 0, 0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, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c1_s_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44c1_s_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_s_p1_0 = {
- _vq_quantthresh__44c1_s_p1_0,
- _vq_quantmap__44c1_s_p1_0,
- 3,
- 3
- };
- static static_codebook _44c1_s_p1_0 = {
- 8, 6561,
- _vq_lengthlist__44c1_s_p1_0,
- 1, -535822336, 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 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c1_s_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c1_s_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_s_p2_0 = {
- _vq_quantthresh__44c1_s_p2_0,
- _vq_quantmap__44c1_s_p2_0,
- 5,
- 5
- };
- static static_codebook _44c1_s_p2_0 = {
- 4, 625,
- _vq_lengthlist__44c1_s_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c1_s_p2_0,
- NULL,
- &_vq_auxt__44c1_s_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_s_p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c1_s_p3_0[] = {
- 2, 3, 4, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 5, 4, 6, 6, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 4, 4, 4, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 6, 6, 7, 7,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 6, 6, 6, 7, 7, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c1_s_p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c1_s_p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_s_p3_0 = {
- _vq_quantthresh__44c1_s_p3_0,
- _vq_quantmap__44c1_s_p3_0,
- 5,
- 5
- };
- static static_codebook _44c1_s_p3_0 = {
- 4, 625,
- _vq_lengthlist__44c1_s_p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c1_s_p3_0,
- NULL,
- &_vq_auxt__44c1_s_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_s_p4_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c1_s_p4_0[] = {
- 1, 3, 2, 7, 7, 0, 0, 0, 0, 0, 0, 0, 6, 6, 0, 0,
- 0, 0, 0, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 0, 7, 7,
- 0, 0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 0, 0, 0, 0,
- 8, 9, 0, 0, 0, 0, 0, 0, 0, 8, 8, 0, 0, 0, 0, 0,
- 0, 0,10,10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c1_s_p4_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c1_s_p4_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_s_p4_0 = {
- _vq_quantthresh__44c1_s_p4_0,
- _vq_quantmap__44c1_s_p4_0,
- 9,
- 9
- };
- static static_codebook _44c1_s_p4_0 = {
- 2, 81,
- _vq_lengthlist__44c1_s_p4_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c1_s_p4_0,
- NULL,
- &_vq_auxt__44c1_s_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_s_p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c1_s_p5_0[] = {
- 1, 3, 3, 5, 5, 6, 6, 8, 8, 0, 0, 0, 7, 7, 8, 7,
- 9, 9, 0, 0, 0, 7, 7, 8, 8, 9, 9, 0, 0, 0, 7, 7,
- 8, 8,10,10, 0, 0, 0, 7, 7, 8, 8,10,10, 0, 0, 0,
- 8, 8, 9, 9,10,10, 0, 0, 0, 8, 8, 9, 9,10,10, 0,
- 0, 0,10,10, 9, 9,11,11, 0, 0, 0, 0, 0, 9, 9,11,
- 11,
- };
- static float _vq_quantthresh__44c1_s_p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c1_s_p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_s_p5_0 = {
- _vq_quantthresh__44c1_s_p5_0,
- _vq_quantmap__44c1_s_p5_0,
- 9,
- 9
- };
- static static_codebook _44c1_s_p5_0 = {
- 2, 81,
- _vq_lengthlist__44c1_s_p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c1_s_p5_0,
- NULL,
- &_vq_auxt__44c1_s_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_s_p6_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c1_s_p6_0[] = {
- 1, 3, 4, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9,10,10,11,
- 11, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,10,11,11,
- 11,11, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,10,10,
- 11,11,11, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,10,
- 11,11,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,
- 10,11,11,12,12, 0, 0, 0, 8, 8, 9, 9,10,10,10,10,
- 10,10,11,11,12,12, 0, 0, 0, 8, 8, 9, 9, 9,10,10,
- 10,11,11,11,11,12,12, 0, 0, 0, 9, 9, 9, 9,10,10,
- 10,10,11,11,12,12,13,12, 0, 0, 0, 0, 0, 9, 9,10,
- 10,10,10,11,11,12,12,12,12, 0, 0, 0, 0, 0, 9, 9,
- 10,10,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 9,
- 9,10, 9,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0,
- 10,10,10,10,11,11,11,11,12,12,13,13, 0, 0, 0, 0,
- 0, 0, 0,10,10,11,11,11,11,12,12,13,13, 0, 0, 0,
- 0, 0, 0, 0,11,11,11,11,12,12,13,12,13,13, 0, 0,
- 0, 0, 0, 0, 0,11,11,11,11,12,12,13,13,13,13, 0,
- 0, 0, 0, 0, 0, 0,11,11,11,12,12,12,13,13,14,14,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,11,11,12,12,13,13,14,
- 14,
- };
- static float _vq_quantthresh__44c1_s_p6_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c1_s_p6_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_s_p6_0 = {
- _vq_quantthresh__44c1_s_p6_0,
- _vq_quantmap__44c1_s_p6_0,
- 17,
- 17
- };
- static static_codebook _44c1_s_p6_0 = {
- 2, 289,
- _vq_lengthlist__44c1_s_p6_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c1_s_p6_0,
- NULL,
- &_vq_auxt__44c1_s_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_s_p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c1_s_p7_0[] = {
- 1, 4, 4, 6, 6, 6, 7, 6, 6, 4, 7, 7,10, 9, 9,10,
- 9, 9, 5, 7, 7,10, 9, 9,10, 9, 9, 6,10,10,10,10,
- 10,11,10,10, 6, 9, 9,10,11,10,10, 9, 9, 6, 9, 9,
- 10,10,10,10, 9, 9, 7,10,10,11,10,10,11,11,11, 6,
- 9, 9,10, 9, 9,11,10,10, 6, 9, 9,10, 9, 9,11,10,
- 10,
- };
- static float _vq_quantthresh__44c1_s_p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44c1_s_p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_s_p7_0 = {
- _vq_quantthresh__44c1_s_p7_0,
- _vq_quantmap__44c1_s_p7_0,
- 3,
- 3
- };
- static static_codebook _44c1_s_p7_0 = {
- 4, 81,
- _vq_lengthlist__44c1_s_p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44c1_s_p7_0,
- NULL,
- &_vq_auxt__44c1_s_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_s_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c1_s_p7_1[] = {
- 2, 3, 3, 6, 6, 7, 7, 7, 7, 8, 8,10,10,10, 6, 6,
- 7, 7, 8, 8, 8, 8,10,10,10, 6, 6, 7, 7, 8, 8, 8,
- 8,10,10,10, 7, 7, 7, 7, 8, 8, 8, 8,10,10,10, 7,
- 7, 7, 7, 8, 8, 8, 8,10,10,10, 7, 7, 8, 8, 8, 8,
- 8, 8,10,10,10, 7, 7, 8, 8, 8, 8, 8, 8,10,10,10,
- 8, 8, 8, 8, 8, 8, 8, 8,10,10,10,10,10, 8, 8, 8,
- 8, 8, 8,10,10,10,10,10, 9, 9, 8, 8, 8, 8,10,10,
- 10,10,10, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44c1_s_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c1_s_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_s_p7_1 = {
- _vq_quantthresh__44c1_s_p7_1,
- _vq_quantmap__44c1_s_p7_1,
- 11,
- 11
- };
- static static_codebook _44c1_s_p7_1 = {
- 2, 121,
- _vq_lengthlist__44c1_s_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c1_s_p7_1,
- NULL,
- &_vq_auxt__44c1_s_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_s_p8_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c1_s_p8_0[] = {
- 1, 4, 4, 6, 6, 7, 7, 7, 7, 9, 8,10,10, 6, 5, 5,
- 7, 7, 8, 8, 8, 8, 9, 9,10,10, 7, 6, 6, 7, 7, 8,
- 8, 8, 8, 9, 9,10,10, 0, 8, 8, 8, 8, 9, 9, 9, 9,
- 10,10,11,11, 0, 8, 8, 8, 8, 9, 9, 9, 9,10,10,11,
- 11, 0,12,12, 9, 9, 9, 9,10,10,10,11,12,11, 0,12,
- 13, 9, 8, 9, 9,10,10,11,11,11,11, 0, 0, 0, 9, 9,
- 9, 9,10,10,11,11,12,12, 0, 0, 0,10,10, 9, 9,10,
- 10,11,11,12,12, 0, 0, 0,13,14,10,10,11,11,12,12,
- 12,13, 0, 0, 0,14,14,10,10,11,10,12,12,13,13, 0,
- 0, 0, 0, 0,12,11,11,11,12,12,13,13, 0, 0, 0, 0,
- 0,12,12,11,10,12,11,14,13,
- };
- static float _vq_quantthresh__44c1_s_p8_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44c1_s_p8_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_s_p8_0 = {
- _vq_quantthresh__44c1_s_p8_0,
- _vq_quantmap__44c1_s_p8_0,
- 13,
- 13
- };
- static static_codebook _44c1_s_p8_0 = {
- 2, 169,
- _vq_lengthlist__44c1_s_p8_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44c1_s_p8_0,
- NULL,
- &_vq_auxt__44c1_s_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_s_p8_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c1_s_p8_1[] = {
- 2, 3, 3, 5, 5, 6, 6, 6, 5, 5, 6, 6, 6, 5, 5, 6,
- 6, 6, 5, 5, 6, 6, 6, 5, 5,
- };
- static float _vq_quantthresh__44c1_s_p8_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c1_s_p8_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_s_p8_1 = {
- _vq_quantthresh__44c1_s_p8_1,
- _vq_quantmap__44c1_s_p8_1,
- 5,
- 5
- };
- static static_codebook _44c1_s_p8_1 = {
- 2, 25,
- _vq_lengthlist__44c1_s_p8_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c1_s_p8_1,
- NULL,
- &_vq_auxt__44c1_s_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_s_p9_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c1_s_p9_0[] = {
- 1, 6, 6, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 5, 7, 6,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 4, 6, 6, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 7, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 8,
- };
- static float _vq_quantthresh__44c1_s_p9_0[] = {
- -1215.5, -994.5, -773.5, -552.5, -331.5, -110.5, 110.5, 331.5,
- 552.5, 773.5, 994.5, 1215.5,
- };
- static long _vq_quantmap__44c1_s_p9_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_s_p9_0 = {
- _vq_quantthresh__44c1_s_p9_0,
- _vq_quantmap__44c1_s_p9_0,
- 13,
- 13
- };
- static static_codebook _44c1_s_p9_0 = {
- 2, 169,
- _vq_lengthlist__44c1_s_p9_0,
- 1, -514541568, 1627103232, 4, 0,
- _vq_quantlist__44c1_s_p9_0,
- NULL,
- &_vq_auxt__44c1_s_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_s_p9_1[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c1_s_p9_1[] = {
- 1, 4, 4, 6, 6, 7, 7, 9, 9,12,12,13,12, 6, 5, 5,
- 7, 7, 8, 8,10,10,11,12,13,13, 6, 5, 5, 7, 7, 8,
- 8, 9, 9,11,11,12,12,15, 7, 7, 7, 7, 9, 9,11,11,
- 13,13,14,13,15, 7, 7, 8, 7, 9, 9,10,10,12,11,14,
- 12,15,10,10, 8, 8,10,10,12,11,12,13,14,13,15,10,
- 10, 8, 8,11,10,11,11,13,12,13,15,14,15,15,10,10,
- 10,10,12,13,13,12,15,14,15,15,13,10,10,11,11,13,
- 13,13,12,13,13,15,15,15,14,15,11,11,13,13,13,13,
- 14,15,15,15,15,13,13,11,11,12,13,13,14,13,15,15,
- 15,14,15,15,13,12,12,11,13,13,15,15,15,15,15,15,
- 14,13,12,13,12,15,13,15,15,
- };
- static float _vq_quantthresh__44c1_s_p9_1[] = {
- -93.5, -76.5, -59.5, -42.5, -25.5, -8.5, 8.5, 25.5,
- 42.5, 59.5, 76.5, 93.5,
- };
- static long _vq_quantmap__44c1_s_p9_1[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_s_p9_1 = {
- _vq_quantthresh__44c1_s_p9_1,
- _vq_quantmap__44c1_s_p9_1,
- 13,
- 13
- };
- static static_codebook _44c1_s_p9_1 = {
- 2, 169,
- _vq_lengthlist__44c1_s_p9_1,
- 1, -522616832, 1620115456, 4, 0,
- _vq_quantlist__44c1_s_p9_1,
- NULL,
- &_vq_auxt__44c1_s_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_s_p9_2[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c1_s_p9_2[] = {
- 2, 4, 4, 6, 6, 7, 7, 8, 8, 8, 8, 8, 9, 8, 9, 9,
- 9,10,10,10, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9,10,10,10, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9,10,10,10, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9,10,10,10, 7, 7, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 9,10,10,11,10, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9,10, 9, 9, 9,10,10,10, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9,10,10,11, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9,10, 9,10,10,10,11,11, 9, 8, 9,
- 9, 9, 9, 9, 9, 9, 9, 9,10,10,11,11,11,11, 9, 9,
- 9, 9, 9, 9,10, 9,10, 9, 9, 9,10,10,10,11,10, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,11,11,11,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10, 9,10,10,10,10,
- 11,11,10, 9, 9,10, 9, 9, 9, 9, 9, 9, 9,10,10,10,
- 11,11,11,10, 9,10,10,10, 9, 9, 9, 9,10, 9,10,10,
- 10,10,11,11,10,10, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,
- 11,10,10,10,10,10,10, 9, 9, 9, 9,10, 9, 9, 9, 9,
- 10,10,10,11,11,10,10,11,11, 9, 9,10, 9, 9, 9, 9,
- 9,
- };
- static float _vq_quantthresh__44c1_s_p9_2[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c1_s_p9_2[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_s_p9_2 = {
- _vq_quantthresh__44c1_s_p9_2,
- _vq_quantmap__44c1_s_p9_2,
- 17,
- 17
- };
- static static_codebook _44c1_s_p9_2 = {
- 2, 289,
- _vq_lengthlist__44c1_s_p9_2,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c1_s_p9_2,
- NULL,
- &_vq_auxt__44c1_s_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c1_s_short[] = {
- 5, 7,17,13,12,12,14,16,15,16, 4, 2,17, 5, 7, 6,
- 8,11,14,13,16,16,16,16,16,16,16,16,16,16,10, 4,
- 16, 4, 8, 6, 7,11,14,14,10, 5,16, 6, 5, 6, 8,12,
- 15,15,10, 5,16, 5, 6, 5, 7,10,14,15,11, 6,16, 7,
- 8, 7, 7,10,14,14,13, 8,16, 8, 7, 7, 8,10,12,13,
- 12, 8,16, 7, 5, 5, 6, 8,11,13,13, 9,16, 9, 6, 6,
- 7, 8,10,13,
- };
- static static_codebook _huff_book__44c1_s_short = {
- 2, 100,
- _huff_lengthlist__44c1_s_short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c1_sm_long[] = {
- 3, 4,10, 9,11, 9,10,11,11,13, 4, 2,11, 5, 7, 7,
- 8,10,12,13,10,10, 7,12, 8, 9, 9,10,12,13, 8, 5,
- 13, 6, 9, 7,10,12,15,15,10, 6, 7, 8, 5, 5, 7,10,
- 12,13, 9, 6, 8, 7, 5, 5, 6, 9,11,12, 9, 8, 9, 9,
- 6, 5, 5, 7,10,13,10,10,10,12, 9, 7, 6, 7, 9,13,
- 10,13,11,17,11,11, 9, 8, 9,12,12,16,14,17,15,14,
- 12,10,10,12,
- };
- static static_codebook _huff_book__44c1_sm_long = {
- 2, 100,
- _huff_lengthlist__44c1_sm_long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_sm_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c1_sm_p1_0[] = {
- 1, 5, 5, 0, 0, 0, 0, 0, 0, 5, 7, 7, 0, 0, 0, 0,
- 0, 0, 5, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 5, 8, 7, 0, 0, 0, 0, 0, 0, 7, 9, 9, 0, 0, 0,
- 0, 0, 0, 7, 8, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 5, 7, 8, 0, 0, 0, 0, 0, 0, 7, 9, 8, 0, 0,
- 0, 0, 0, 0, 7, 9, 9, 0, 0, 0, 0, 0, 0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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c1_sm_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44c1_sm_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_sm_p1_0 = {
- _vq_quantthresh__44c1_sm_p1_0,
- _vq_quantmap__44c1_sm_p1_0,
- 3,
- 3
- };
- static static_codebook _44c1_sm_p1_0 = {
- 8, 6561,
- _vq_lengthlist__44c1_sm_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44c1_sm_p1_0,
- NULL,
- &_vq_auxt__44c1_sm_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_sm_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c1_sm_p2_0[] = {
- 1, 5, 5, 0, 0, 0, 5, 6, 0, 0, 0, 5, 6, 0, 0, 0,
- 8, 8, 0, 0, 0, 0, 0, 0, 0, 5, 7, 6, 0, 0, 0, 8,
- 8, 0, 0, 0, 8, 8, 0, 0, 0,10,10, 0, 0, 0, 0, 0,
- 0, 0, 5, 6, 7,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0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 8,10,10, 0, 0, 0,10,10, 0, 0, 0, 9,10, 0, 0, 0,
- 10,10, 0, 0, 0, 0, 0, 0, 0, 8,10,10, 0, 0, 0,10,
- 10, 0, 0, 0,10, 9, 0, 0, 0,10,10, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c1_sm_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c1_sm_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_sm_p2_0 = {
- _vq_quantthresh__44c1_sm_p2_0,
- _vq_quantmap__44c1_sm_p2_0,
- 5,
- 5
- };
- static static_codebook _44c1_sm_p2_0 = {
- 4, 625,
- _vq_lengthlist__44c1_sm_p2_0,
- 1, -533725184, 1611661312, 3, 0,
-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
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c1_sm_p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c1_sm_p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_sm_p3_0 = {
- _vq_quantthresh__44c1_sm_p3_0,
- _vq_quantmap__44c1_sm_p3_0,
- 5,
- 5
- };
- static static_codebook _44c1_sm_p3_0 = {
- 4, 625,
- _vq_lengthlist__44c1_sm_p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c1_sm_p3_0,
- NULL,
- &_vq_auxt__44c1_sm_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_sm_p4_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c1_sm_p4_0[] = {
- 1, 3, 3, 7, 7, 0, 0, 0, 0, 0, 5, 5, 6, 6, 0, 0,
- 0, 0, 0, 5, 5, 7, 7, 0, 0, 0, 0, 0, 7, 7, 7, 7,
- 0, 0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 0, 0, 0, 0,
- 8, 9, 0, 0, 0, 0, 0, 0, 0, 8, 8, 0, 0, 0, 0, 0,
- 0, 0,10,10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c1_sm_p4_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c1_sm_p4_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_sm_p4_0 = {
- _vq_quantthresh__44c1_sm_p4_0,
- _vq_quantmap__44c1_sm_p4_0,
- 9,
- 9
- };
- static static_codebook _44c1_sm_p4_0 = {
- 2, 81,
- _vq_lengthlist__44c1_sm_p4_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c1_sm_p4_0,
- NULL,
- &_vq_auxt__44c1_sm_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_sm_p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c1_sm_p5_0[] = {
- 2, 3, 3, 5, 5, 6, 6, 8, 8, 0, 5, 5, 6, 6, 7, 7,
- 9, 9, 0, 5, 5, 6, 6, 7, 7, 9, 9, 0, 6, 6, 7, 7,
- 7, 7, 9, 9, 0, 0, 0, 7, 7, 7, 7, 9, 9, 0, 0, 0,
- 7, 7, 8, 8,10,10, 0, 0, 0, 7, 7, 8, 8,10,10, 0,
- 0, 0, 9, 9, 9, 9,10,10, 0, 0, 0, 0, 0, 8, 8,10,
- 10,
- };
- static float _vq_quantthresh__44c1_sm_p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c1_sm_p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_sm_p5_0 = {
- _vq_quantthresh__44c1_sm_p5_0,
- _vq_quantmap__44c1_sm_p5_0,
- 9,
- 9
- };
- static static_codebook _44c1_sm_p5_0 = {
- 2, 81,
- _vq_lengthlist__44c1_sm_p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c1_sm_p5_0,
- NULL,
- &_vq_auxt__44c1_sm_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_sm_p6_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c1_sm_p6_0[] = {
- 2, 3, 4, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9,10,10,11,
- 11, 0, 5, 5, 6, 6, 8, 8, 9, 9, 9, 9,10,10,10,10,
- 11,11, 0, 5, 5, 6, 6, 8, 8, 9, 9, 9, 9,10,10,10,
- 10,11,11, 0, 6, 6, 7, 7, 8, 8, 9, 9, 9, 9,10,10,
- 11,11,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,
- 10,11,11,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,
- 10,10,11,11,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9,
- 9,10,10,11,11,12,12, 0, 0, 0, 8, 8, 8, 8,10,10,
- 10,10,11,11,12,12,12,12, 0, 0, 0, 0, 0, 8, 8,10,
- 10,10,10,11,11,12,12,12,12, 0, 0, 0, 0, 0, 8, 8,
- 9, 9,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 8,
- 8, 9, 9,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0,
- 9, 9,10,10,10,10,11,11,12,12,13,13, 0, 0, 0, 0,
- 0, 0, 0,10,10,10,10,11,11,12,12,13,13, 0, 0, 0,
- 0, 0, 0, 0,10,10,11,11,11,11,13,12,13,13, 0, 0,
- 0, 0, 0, 0, 0,10,10,11,11,11,11,13,13,13,13, 0,
- 0, 0, 0, 0, 0, 0,11,11,11,11,12,12,13,13,14,14,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,11,11,12,12,13,12,14,
- 14,
- };
- static float _vq_quantthresh__44c1_sm_p6_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c1_sm_p6_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_sm_p6_0 = {
- _vq_quantthresh__44c1_sm_p6_0,
- _vq_quantmap__44c1_sm_p6_0,
- 17,
- 17
- };
- static static_codebook _44c1_sm_p6_0 = {
- 2, 289,
- _vq_lengthlist__44c1_sm_p6_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c1_sm_p6_0,
- NULL,
- &_vq_auxt__44c1_sm_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_sm_p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c1_sm_p7_0[] = {
- 1, 4, 4, 6, 6, 6, 7, 6, 6, 4, 7, 7,10, 9, 9,10,
- 9, 9, 5, 7, 7,10, 9, 9,10, 9, 9, 6,10,10,10,10,
- 10,10,10,10, 6, 9, 9,10,10,10,10, 9, 9, 6, 9, 9,
- 10,10,10,10,10, 9, 7,10,10,11,10,10,11,11,11, 6,
- 9, 9,10, 9, 9,11,10,10, 6, 9, 9,10, 9, 9,11,10,
- 10,
- };
- static float _vq_quantthresh__44c1_sm_p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44c1_sm_p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_sm_p7_0 = {
- _vq_quantthresh__44c1_sm_p7_0,
- _vq_quantmap__44c1_sm_p7_0,
- 3,
- 3
- };
- static static_codebook _44c1_sm_p7_0 = {
- 4, 81,
- _vq_lengthlist__44c1_sm_p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44c1_sm_p7_0,
- NULL,
- &_vq_auxt__44c1_sm_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_sm_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c1_sm_p7_1[] = {
- 2, 4, 4, 6, 6, 7, 7, 7, 7, 8, 8,10, 5, 5, 6, 6,
- 7, 7, 8, 8, 8, 8,10, 5, 5, 6, 6, 7, 7, 8, 8, 8,
- 8,10, 7, 6, 7, 7, 8, 8, 8, 8, 8, 8,10,10,10, 7,
- 7, 8, 8, 8, 8, 8, 8,10,10,10, 7, 7, 8, 8, 8, 8,
- 8, 8,10,10,10, 7, 7, 8, 8, 8, 8, 9, 8,10,10,10,
- 8, 8, 8, 8, 8, 8, 8, 8,10,10,10,10,10, 8, 8, 8,
- 8, 8, 8,10,10,10,10,10, 9, 9, 8, 8, 8, 8,10,10,
- 10,10,10, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44c1_sm_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c1_sm_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_sm_p7_1 = {
- _vq_quantthresh__44c1_sm_p7_1,
- _vq_quantmap__44c1_sm_p7_1,
- 11,
- 11
- };
- static static_codebook _44c1_sm_p7_1 = {
- 2, 121,
- _vq_lengthlist__44c1_sm_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c1_sm_p7_1,
- NULL,
- &_vq_auxt__44c1_sm_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_sm_p8_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c1_sm_p8_0[] = {
- 1, 4, 4, 6, 6, 7, 7, 8, 8, 9, 9,10,10, 6, 5, 5,
- 7, 7, 8, 8, 8, 8, 9, 9,10,10, 7, 5, 6, 7, 7, 8,
- 8, 8, 8, 9, 9,11,10, 0, 8, 8, 8, 8, 9, 9, 9, 9,
- 10,10,11,11, 0, 8, 8, 8, 8, 9, 9, 9, 9,10,10,11,
- 11, 0,12,12, 9, 9, 9, 9,10,10,11,11,12,11, 0,13,
- 13, 9, 9, 9, 9,10,10,11,11,12,12, 0, 0, 0, 9, 9,
- 9, 9,10,10,11,12,12,12, 0, 0, 0,10,10, 9, 9,11,
- 11,12,12,13,13, 0, 0, 0,13,13,10,10,11,11,12,12,
- 13,13, 0, 0, 0,14,14,10,10,11,10,12,12,13,13, 0,
- 0, 0, 0, 0,12,11,11,11,12,12,14,13, 0, 0, 0, 0,
- 0,12,12,11,10,12,12,14,13,
- };
- static float _vq_quantthresh__44c1_sm_p8_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44c1_sm_p8_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_sm_p8_0 = {
- _vq_quantthresh__44c1_sm_p8_0,
- _vq_quantmap__44c1_sm_p8_0,
- 13,
- 13
- };
- static static_codebook _44c1_sm_p8_0 = {
- 2, 169,
- _vq_lengthlist__44c1_sm_p8_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44c1_sm_p8_0,
- NULL,
- &_vq_auxt__44c1_sm_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_sm_p8_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c1_sm_p8_1[] = {
- 2, 4, 4, 4, 5, 6, 5, 5, 5, 5, 6, 5, 5, 5, 5, 6,
- 5, 5, 5, 5, 6, 6, 6, 5, 5,
- };
- static float _vq_quantthresh__44c1_sm_p8_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c1_sm_p8_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_sm_p8_1 = {
- _vq_quantthresh__44c1_sm_p8_1,
- _vq_quantmap__44c1_sm_p8_1,
- 5,
- 5
- };
- static static_codebook _44c1_sm_p8_1 = {
- 2, 25,
- _vq_lengthlist__44c1_sm_p8_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c1_sm_p8_1,
- NULL,
- &_vq_auxt__44c1_sm_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_sm_p9_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c1_sm_p9_0[] = {
- 1, 5, 5,11,11,11,11,11,11,11,11,11,11, 4, 5, 5,
- 11,10,11,11,11,11,11,11,11,11, 4, 5, 4,11,11,11,
- 11,11,11,11,11,11,11,11, 6, 7,11, 9,11,11,11,11,
- 11,11,11,11,11, 6, 7, 9, 8,11,11,11,11,11,11,11,
- 11,11, 9, 9, 7, 8,11,11,11,11,11,11,11,11,11,10,
- 10, 9,10,11,11,11,11,11,11,11,11,11,11,11, 8,11,
- 10,10,11,11,11,11,11,11,11,11,11, 9,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11, 9,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,10,10,10,10,10,
- };
- static float _vq_quantthresh__44c1_sm_p9_0[] = {
- -1215.5, -994.5, -773.5, -552.5, -331.5, -110.5, 110.5, 331.5,
- 552.5, 773.5, 994.5, 1215.5,
- };
- static long _vq_quantmap__44c1_sm_p9_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_sm_p9_0 = {
- _vq_quantthresh__44c1_sm_p9_0,
- _vq_quantmap__44c1_sm_p9_0,
- 13,
- 13
- };
- static static_codebook _44c1_sm_p9_0 = {
- 2, 169,
- _vq_lengthlist__44c1_sm_p9_0,
- 1, -514541568, 1627103232, 4, 0,
- _vq_quantlist__44c1_sm_p9_0,
- NULL,
- &_vq_auxt__44c1_sm_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_sm_p9_1[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c1_sm_p9_1[] = {
- 1, 4, 4, 6, 6, 7, 7,10,10,12,12,13,13, 6, 5, 5,
- 7, 7, 8, 8,10,10,12,12,14,13, 6, 5, 5, 7, 7, 8,
- 8,10,10,12,12,13,13,16, 7, 7, 7, 7, 9, 9,11,11,
- 13,14,13,15,18, 7, 6, 8, 7, 9, 9,11,10,12,12,14,
- 12,19,10,10, 8, 8,10,10,12,11,13,15,15,15,17,11,
- 11, 8, 7,11,10,12,12,13,13,14,15,16,17,17,10,11,
- 10,10,13,13,14,13,16,15,17,17,16,10,10,11,11,14,
- 14,16,13,14,14,17,19,17,15,14,11,11,13,13,15,14,
- 16,15,17,16,17,14,14,11,11,14,13,14,14,14,15,17,
- 16,16,16,17,13,13,13,13,16,14,17,15,16,17,18,18,
- 17,13,13,13,13,15,15,16,16,
- };
- static float _vq_quantthresh__44c1_sm_p9_1[] = {
- -93.5, -76.5, -59.5, -42.5, -25.5, -8.5, 8.5, 25.5,
- 42.5, 59.5, 76.5, 93.5,
- };
- static long _vq_quantmap__44c1_sm_p9_1[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_sm_p9_1 = {
- _vq_quantthresh__44c1_sm_p9_1,
- _vq_quantmap__44c1_sm_p9_1,
- 13,
- 13
- };
- static static_codebook _44c1_sm_p9_1 = {
- 2, 169,
- _vq_lengthlist__44c1_sm_p9_1,
- 1, -522616832, 1620115456, 4, 0,
- _vq_quantlist__44c1_sm_p9_1,
- NULL,
- &_vq_auxt__44c1_sm_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c1_sm_p9_2[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c1_sm_p9_2[] = {
- 2, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9,
- 9,10, 6, 6, 7, 7, 8, 7, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9,10, 6, 6, 7, 7, 7, 7, 8, 8, 9, 9, 9, 9, 9,
- 9, 9, 9,10, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9, 9, 9,10,10,10, 7, 7, 8, 8, 9, 8, 9, 9, 9,
- 9, 9, 9, 9, 9,11,11,11, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9,10,10,10, 7, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 9, 9,10, 9,10,10,10, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9,10,10,10,10,11,11, 8, 8, 9,
- 9, 9, 9, 9, 9, 9, 9,10, 9,10,11,10,11,11, 9, 9,
- 9, 9, 9, 9, 9,10,10, 9, 9, 9,10,11,10,11,11, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,11,11,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10, 9,10,11,10,11,
- 11,10,11, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,10,
- 11,11,11,11, 9,10,10,10, 9, 9, 9, 9,10, 9,10,10,
- 10,11,11,11,10,10,10, 9, 9, 9, 9, 9, 9, 9, 9,10,
- 11,10,11,10,11,10,10,10, 9, 9, 9, 9, 9, 9, 9, 9,
- 10,10,10,11,11,10,10,10,11, 9, 9, 9, 9, 9, 9, 9,
- 9,
- };
- static float _vq_quantthresh__44c1_sm_p9_2[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c1_sm_p9_2[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c1_sm_p9_2 = {
- _vq_quantthresh__44c1_sm_p9_2,
- _vq_quantmap__44c1_sm_p9_2,
- 17,
- 17
- };
- static static_codebook _44c1_sm_p9_2 = {
- 2, 289,
- _vq_lengthlist__44c1_sm_p9_2,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c1_sm_p9_2,
- NULL,
- &_vq_auxt__44c1_sm_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c1_sm_short[] = {
- 4, 7,13,13,13,13,14,16,16,19, 4, 2,13, 5, 8, 7,
- 9,12,14,13,16, 9,10,10, 9,10,11,13,17,19, 9, 4,
- 13, 5,10, 6, 8,11,15,15,11, 6, 9, 7, 6, 6, 8,11,
- 14,18,11, 5, 9, 6, 6, 5, 6, 9,13,15,12, 6, 9, 7,
- 6, 5, 5, 8,12,15,13, 7,10, 8, 6, 6, 7, 9,12,13,
- 13, 9,11, 9, 6, 5, 6, 8,11,13,13,11,13,11, 7, 6,
- 7, 8,10,12,
- };
- static static_codebook _huff_book__44c1_sm_short = {
- 2, 100,
- _huff_lengthlist__44c1_sm_short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c2_s_long[] = {
- 5, 5,12,10,11,10,10,10,11,13, 5, 1, 9, 5, 8, 7,
- 8,10,13,13,12, 9, 8,11, 7, 8, 9,11,13,15, 9, 5,
- 12, 6, 9, 8,10,12,15,14,12, 7, 6, 8, 5, 6, 7,10,
- 12,13,10, 7, 8, 7, 6, 6, 7, 9,12,12,10, 8, 9, 9,
- 7, 6, 6, 7,10,11,10, 9,10,11, 9, 8, 6, 6, 8,11,
- 10,12,13,15,11,10, 8, 7, 8,11,11,13,16,16,14,13,
- 11, 9, 9,10,
- };
- static static_codebook _huff_book__44c2_s_long = {
- 2, 100,
- _huff_lengthlist__44c2_s_long,
- 0, 0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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c2_s_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44c2_s_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c2_s_p1_0 = {
- _vq_quantthresh__44c2_s_p1_0,
- _vq_quantmap__44c2_s_p1_0,
- 3,
- 3
- };
- static static_codebook _44c2_s_p1_0 = {
- 8, 6561,
- _vq_lengthlist__44c2_s_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44c2_s_p1_0,
- NULL,
- &_vq_auxt__44c2_s_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c2_s_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c2_s_p2_0[] = {
- 1, 4, 4, 0, 0, 0, 7, 7, 0, 0, 0, 7, 7, 0, 0, 0,
- 7, 7, 0, 0, 0, 0, 0, 0, 0, 4, 6, 6, 0, 0, 0, 8,
- 8, 0, 0, 0, 8, 8, 0, 0, 0, 9, 9, 0, 0, 0, 0, 0,
- 0, 0, 4, 6, 6, 0, 0, 0, 8, 9, 0, 0, 0, 8, 8, 0,
- 0, 0, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 7, 8, 8, 0, 0, 0,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0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c2_s_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c2_s_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c2_s_p2_0 = {
- _vq_quantthresh__44c2_s_p2_0,
- _vq_quantmap__44c2_s_p2_0,
- 5,
- 5
- };
- static static_codebook _44c2_s_p2_0 = {
- 4, 625,
- _vq_lengthlist__44c2_s_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c2_s_p2_0,
- NULL,
- &_vq_auxt__44c2_s_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c2_s_p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c2_s_p3_0[] = {
- 2, 4, 3, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 6, 6, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 4, 4, 5, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c2_s_p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c2_s_p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c2_s_p3_0 = {
- _vq_quantthresh__44c2_s_p3_0,
- _vq_quantmap__44c2_s_p3_0,
- 5,
- 5
- };
- static static_codebook _44c2_s_p3_0 = {
- 4, 625,
- _vq_lengthlist__44c2_s_p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c2_s_p3_0,
- NULL,
- &_vq_auxt__44c2_s_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c2_s_p4_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c2_s_p4_0[] = {
- 1, 3, 3, 6, 6, 0, 0, 0, 0, 0, 6, 6, 6, 6, 0, 0,
- 0, 0, 0, 6, 6, 6, 6, 0, 0, 0, 0, 0, 6, 6, 7, 7,
- 0, 0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 0, 0, 0, 0,
- 7, 8, 0, 0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 0, 0,
- 0, 0, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c2_s_p4_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c2_s_p4_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c2_s_p4_0 = {
- _vq_quantthresh__44c2_s_p4_0,
- _vq_quantmap__44c2_s_p4_0,
- 9,
- 9
- };
- static static_codebook _44c2_s_p4_0 = {
- 2, 81,
- _vq_lengthlist__44c2_s_p4_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c2_s_p4_0,
- NULL,
- &_vq_auxt__44c2_s_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c2_s_p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c2_s_p5_0[] = {
- 1, 3, 3, 6, 6, 6, 6, 8, 8, 0, 7, 7, 7, 7, 8, 8,
- 9, 9, 0, 7, 7, 7, 7, 8, 8, 9, 9, 0, 7, 7, 8, 7,
- 8, 8,10,10, 0, 0, 0, 8, 8, 8, 8,10,10, 0, 0, 0,
- 8, 8, 9, 9,10,10, 0, 0, 0, 8, 8, 9, 9,10,10, 0,
- 0, 0,10,10, 9, 9,11,11, 0, 0, 0, 0, 0, 9, 9,11,
- 11,
- };
- static float _vq_quantthresh__44c2_s_p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c2_s_p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c2_s_p5_0 = {
- _vq_quantthresh__44c2_s_p5_0,
- _vq_quantmap__44c2_s_p5_0,
- 9,
- 9
- };
- static static_codebook _44c2_s_p5_0 = {
- 2, 81,
- _vq_lengthlist__44c2_s_p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c2_s_p5_0,
- NULL,
- &_vq_auxt__44c2_s_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c2_s_p6_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c2_s_p6_0[] = {
- 1, 4, 4, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9,10,10,11,
- 11, 0, 7, 7, 7, 7, 8, 8, 9, 9, 9, 9,10,10,10,10,
- 11,11, 0, 7, 7, 7, 7, 8, 8, 9, 9, 9, 9,10,10,10,
- 10,11,11, 0, 7, 7, 7, 7, 8, 8, 9, 9, 9, 9,10,10,
- 11,11,11,11, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,
- 10,11,11,12,12, 0, 0, 0, 8, 8, 9, 9, 9, 9, 9, 9,
- 10,10,11,11,12,12, 0, 0, 0, 8, 8, 9, 9, 9, 9, 9,
- 9,10,11,11,11,12,12, 0, 0, 0, 9, 9, 9, 9,10,10,
- 10,10,11,11,11,12,12,12, 0, 0, 0, 0, 0, 9, 9,10,
- 10,10,10,11,11,12,12,12,12, 0, 0, 0, 0, 0, 9, 9,
- 9, 9,10,10,11,11,12,12,12,12, 0, 0, 0, 0, 0, 9,
- 9, 9, 9,10,10,11,11,12,12,12,13, 0, 0, 0, 0, 0,
- 10,10,10,10,10,11,11,11,12,12,13,13, 0, 0, 0, 0,
- 0, 0, 0,10,10,10,10,11,11,12,12,13,13, 0, 0, 0,
- 0, 0, 0, 0,11,11,11,11,12,12,12,12,13,13, 0, 0,
- 0, 0, 0, 0, 0,11,11,11,11,12,11,12,12,13,13, 0,
- 0, 0, 0, 0, 0, 0,11,11,11,11,12,12,13,12,14,13,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,11,11,12,12,12,13,13,
- 14,
- };
- static float _vq_quantthresh__44c2_s_p6_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c2_s_p6_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c2_s_p6_0 = {
- _vq_quantthresh__44c2_s_p6_0,
- _vq_quantmap__44c2_s_p6_0,
- 17,
- 17
- };
- static static_codebook _44c2_s_p6_0 = {
- 2, 289,
- _vq_lengthlist__44c2_s_p6_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c2_s_p6_0,
- NULL,
- &_vq_auxt__44c2_s_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c2_s_p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c2_s_p7_0[] = {
- 1, 4, 4, 6, 6, 6, 7, 6, 6, 4, 7, 7,10, 9, 9,10,
- 9, 9, 5, 7, 7,10, 9, 9,10, 9, 9, 6,10, 9,10,10,
- 10,11,10,10, 6, 9, 9,10,10,10,11, 9, 9, 6, 9, 9,
- 10,10,10,11, 9, 9, 7,10,10,11,10,10,11,11,10, 6,
- 9, 9,10, 9, 9,11,10,10, 6, 9, 9,10, 9,10,11,10,
- 10,
- };
- static float _vq_quantthresh__44c2_s_p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44c2_s_p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c2_s_p7_0 = {
- _vq_quantthresh__44c2_s_p7_0,
- _vq_quantmap__44c2_s_p7_0,
- 3,
- 3
- };
- static static_codebook _44c2_s_p7_0 = {
- 4, 81,
- _vq_lengthlist__44c2_s_p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44c2_s_p7_0,
- NULL,
- &_vq_auxt__44c2_s_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c2_s_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c2_s_p7_1[] = {
- 2, 4, 4, 6, 6, 7, 7, 7, 7, 7, 7,10, 6, 6, 6, 6,
- 7, 7, 8, 7, 8, 8, 9, 6, 6, 6, 6, 7, 7, 7, 7, 7,
- 7,10, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8,10, 9, 9, 6,
- 6, 7, 7, 8, 8, 8, 8,10,10,10, 7, 7, 8, 8, 8, 8,
- 8, 8,10,10,10, 7, 7, 8, 8, 8, 8, 8, 8,10,10,10,
- 8, 8, 8, 8, 8, 8, 8, 8,10,10,10,10, 9, 8, 8, 8,
- 8, 8, 8,10,10,10, 9,10, 8, 8, 8, 8, 8, 8,10,10,
- 10,10, 9, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44c2_s_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c2_s_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c2_s_p7_1 = {
- _vq_quantthresh__44c2_s_p7_1,
- _vq_quantmap__44c2_s_p7_1,
- 11,
- 11
- };
- static static_codebook _44c2_s_p7_1 = {
- 2, 121,
- _vq_lengthlist__44c2_s_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c2_s_p7_1,
- NULL,
- &_vq_auxt__44c2_s_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c2_s_p8_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c2_s_p8_0[] = {
- 1, 4, 4, 6, 6, 7, 7, 8, 8, 9, 9,10,10, 6, 5, 5,
- 7, 7, 8, 8, 9, 8, 9, 9,10,10, 7, 5, 5, 7, 7, 8,
- 8, 8, 9,10, 9,11,11, 0, 8, 8, 8, 8, 9, 9, 9, 9,
- 10,10,11,11, 0, 8, 8, 8, 8, 9, 9, 9,10,10,10,11,
- 11, 0,12,12, 9, 9,10,10,10,10,11,11,12,12, 0,13,
- 12, 9, 9,10, 9,10,10,11,11,11,12, 0, 0, 0,10,10,
- 10,10,11,11,11,11,12,12, 0, 0, 0,10,10, 9, 9,11,
- 11,12,12,12,13, 0, 0, 0,13,13,10,10,11,11,12,12,
- 13,13, 0, 0, 0,14,14,10,10,11,11,12,12,13,13, 0,
- 0, 0, 0, 0,12,12,11,12,12,12,14,13, 0, 0, 0, 0,
- 0,12,12,12,12,12,12,14,13,
- };
- static float _vq_quantthresh__44c2_s_p8_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44c2_s_p8_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c2_s_p8_0 = {
- _vq_quantthresh__44c2_s_p8_0,
- _vq_quantmap__44c2_s_p8_0,
- 13,
- 13
- };
- static static_codebook _44c2_s_p8_0 = {
- 2, 169,
- _vq_lengthlist__44c2_s_p8_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44c2_s_p8_0,
- NULL,
- &_vq_auxt__44c2_s_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c2_s_p8_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c2_s_p8_1[] = {
- 2, 4, 4, 4, 5, 6, 5, 5, 5, 5, 6, 5, 5, 5, 5, 6,
- 5, 5, 5, 5, 6, 6, 6, 5, 5,
- };
- static float _vq_quantthresh__44c2_s_p8_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c2_s_p8_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c2_s_p8_1 = {
- _vq_quantthresh__44c2_s_p8_1,
- _vq_quantmap__44c2_s_p8_1,
- 5,
- 5
- };
- static static_codebook _44c2_s_p8_1 = {
- 2, 25,
- _vq_lengthlist__44c2_s_p8_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c2_s_p8_1,
- NULL,
- &_vq_auxt__44c2_s_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c2_s_p9_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c2_s_p9_0[] = {
- 1, 5, 4,10,10, 9, 9, 9, 9, 9, 9, 9, 9, 5, 7, 7,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 5, 9, 6, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9,
- };
- static float _vq_quantthresh__44c2_s_p9_0[] = {
- -1215.5, -994.5, -773.5, -552.5, -331.5, -110.5, 110.5, 331.5,
- 552.5, 773.5, 994.5, 1215.5,
- };
- static long _vq_quantmap__44c2_s_p9_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c2_s_p9_0 = {
- _vq_quantthresh__44c2_s_p9_0,
- _vq_quantmap__44c2_s_p9_0,
- 13,
- 13
- };
- static static_codebook _44c2_s_p9_0 = {
- 2, 169,
- _vq_lengthlist__44c2_s_p9_0,
- 1, -514541568, 1627103232, 4, 0,
- _vq_quantlist__44c2_s_p9_0,
- NULL,
- &_vq_auxt__44c2_s_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c2_s_p9_1[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c2_s_p9_1[] = {
- 1, 4, 4, 6, 6, 7, 7, 9, 9,11,11,12,12, 6, 5, 5,
- 7, 7, 8, 8,10,10,12,11,13,13, 6, 5, 5, 7, 7, 8,
- 8, 9, 9,11,11,12,13,16, 7, 7, 8, 8, 9, 9,10,10,
- 13,13,16,14,16, 7, 7, 8, 8, 9, 9,10,10,13,13,15,
- 13,16,10,10, 8, 8,10,10,11,11,12,12,15,14,16,11,
- 11, 8, 8,10,10,11,11,12,12,14,13,16,16,16,10,11,
- 10,10,12,12,14,13,13,13,16,16,16,10, 9,10, 7,13,
- 12,13,13,13,13,16,16,16,14,15,11,11,12,12,13,13,
- 15,14,16,16,16,16,14,11, 9,12, 9,15,13,13,14,16,
- 16,16,16,16,13,13,12,12,14,15,16,15,16,16,15,16,
- 16,13,12,12,11,15,13,14,15,
- };
- static float _vq_quantthresh__44c2_s_p9_1[] = {
- -93.5, -76.5, -59.5, -42.5, -25.5, -8.5, 8.5, 25.5,
- 42.5, 59.5, 76.5, 93.5,
- };
- static long _vq_quantmap__44c2_s_p9_1[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c2_s_p9_1 = {
- _vq_quantthresh__44c2_s_p9_1,
- _vq_quantmap__44c2_s_p9_1,
- 13,
- 13
- };
- static static_codebook _44c2_s_p9_1 = {
- 2, 169,
- _vq_lengthlist__44c2_s_p9_1,
- 1, -522616832, 1620115456, 4, 0,
- _vq_quantlist__44c2_s_p9_1,
- NULL,
- &_vq_auxt__44c2_s_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c2_s_p9_2[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c2_s_p9_2[] = {
- 2, 5, 5, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9,
- 9,10, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9,10, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9,10, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9,10,10,10, 7, 7, 8, 8, 9, 8, 9, 9, 9,
- 9, 9, 9, 9, 9,10,11,10, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9,10,10,10, 7, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9,10,11,11, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,10,10, 8, 8, 9,
- 9, 9, 9, 9, 9, 9, 9, 9,10,11,11,10,11,10, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,11,10, 9,
- 9, 9, 9, 9, 9, 9, 9,10, 9,10,10,10,10,10,11,11,
- 9, 9, 9, 9, 9, 9, 9, 9,10, 9, 9, 9,11,10,10,11,
- 10,10,11, 9, 9,10,10, 9, 9,10,10, 9, 9,10,10,10,
- 11,10,11,10,10, 9, 9,10, 9, 9, 9, 9, 9, 9,10,10,
- 10,10,11,10,10, 9,10, 9, 9, 9, 9,10, 9, 9, 9,10,
- 10,10,11,11,10,10,10,10, 9, 9,10, 9, 9, 9,10, 9,
- 10,10,10,10,11,10,11,11,10, 9, 9, 9, 9, 9, 9, 9,
- 10,
- };
- static float _vq_quantthresh__44c2_s_p9_2[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c2_s_p9_2[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c2_s_p9_2 = {
- _vq_quantthresh__44c2_s_p9_2,
- _vq_quantmap__44c2_s_p9_2,
- 17,
- 17
- };
- static static_codebook _44c2_s_p9_2 = {
- 2, 289,
- _vq_lengthlist__44c2_s_p9_2,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c2_s_p9_2,
- NULL,
- &_vq_auxt__44c2_s_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c2_s_short[] = {
- 9, 9,12,11,11,11,12,12,12,13, 6, 2, 9, 4, 7, 6,
- 8,11,15,17,12, 7, 8, 9, 7, 9,10,13,15,17,11, 4,
- 12, 4, 9, 5, 8,11,16,17,12, 6, 7, 6, 6, 6, 8,11,
- 15,17,11, 5, 9, 5, 6, 5, 6,10,15,15,12, 7,11, 7,
- 7, 6, 7,10,13,16,13, 8,11, 9, 8, 6, 7,10,12,16,
- 13, 9, 9, 8, 5, 5, 6, 9,12,14,16,10, 9, 9, 6, 5,
- 6, 8,11,14,
- };
- static static_codebook _huff_book__44c2_s_short = {
- 2, 100,
- _huff_lengthlist__44c2_s_short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c3_s_long[] = {
- 4, 5,11,10,12,10,10,10,11,12, 4, 2,11, 5,11, 6,
- 7, 9,13,16,11,11, 7,11, 6, 8, 8, 9,11,12,10, 5,
- 11, 6,10, 7, 9,11,16,16,14, 9, 6, 9, 4, 5, 7, 8,
- 11,13,10, 6, 7, 7, 5, 5, 6, 8,10,11,10, 7, 8, 8,
- 6, 6, 5, 7, 9,10,10, 9, 8,11, 8, 7, 6, 6, 7,10,
- 10,12,10,14, 9, 9, 7, 7, 7, 9,10,14,11,16,12,12,
- 9, 8, 8, 9,
- };
- static static_codebook _huff_book__44c3_s_long = {
- 2, 100,
- _huff_lengthlist__44c3_s_long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44c3_s_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c3_s_p1_0[] = {
- 2, 4, 4, 0, 0, 0, 0, 0, 0, 5, 7, 6, 0, 0, 0, 0,
- 0, 0, 5, 6, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0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 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c3_s_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44c3_s_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c3_s_p1_0 = {
- _vq_quantthresh__44c3_s_p1_0,
- _vq_quantmap__44c3_s_p1_0,
- 3,
- 3
- };
- static static_codebook _44c3_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, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c3_s_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c3_s_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c3_s_p2_0 = {
- _vq_quantthresh__44c3_s_p2_0,
- _vq_quantmap__44c3_s_p2_0,
- 5,
- 5
- };
- static static_codebook _44c3_s_p2_0 = {
- 4, 625,
- _vq_lengthlist__44c3_s_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c3_s_p2_0,
- NULL,
- &_vq_auxt__44c3_s_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c3_s_p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c3_s_p3_0[] = {
- 2, 3, 4, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 6, 6, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 4, 4, 4, 6, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 6, 6, 8, 8,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 6, 6, 7, 8, 8, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c3_s_p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c3_s_p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c3_s_p3_0 = {
- _vq_quantthresh__44c3_s_p3_0,
- _vq_quantmap__44c3_s_p3_0,
- 5,
- 5
- };
- static static_codebook _44c3_s_p3_0 = {
- 4, 625,
- _vq_lengthlist__44c3_s_p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c3_s_p3_0,
- NULL,
- &_vq_auxt__44c3_s_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c3_s_p4_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c3_s_p4_0[] = {
- 2, 3, 3, 6, 6, 0, 0, 0, 0, 0, 4, 4, 6, 6, 0, 0,
- 0, 0, 0, 4, 4, 6, 6, 0, 0, 0, 0, 0, 5, 5, 6, 6,
- 0, 0, 0, 0, 0, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 0,
- 7, 7, 0, 0, 0, 0, 0, 0, 0, 8, 7, 0, 0, 0, 0, 0,
- 0, 0, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c3_s_p4_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c3_s_p4_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c3_s_p4_0 = {
- _vq_quantthresh__44c3_s_p4_0,
- _vq_quantmap__44c3_s_p4_0,
- 9,
- 9
- };
- static static_codebook _44c3_s_p4_0 = {
- 2, 81,
- _vq_lengthlist__44c3_s_p4_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c3_s_p4_0,
- NULL,
- &_vq_auxt__44c3_s_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c3_s_p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c3_s_p5_0[] = {
- 2, 3, 3, 5, 5, 7, 7, 9, 8, 0, 4, 4, 7, 7, 7, 7,
- 9, 9, 0, 5, 5, 6, 7, 7, 7, 9, 9, 0, 6, 6, 7, 7,
- 7, 7, 9, 9, 0, 0, 0, 7, 7, 7, 7, 9, 9, 0, 0, 0,
- 8, 8, 8, 8,10,10, 0, 0, 0, 8, 8, 8, 8,10,10, 0,
- 0, 0,10,10, 9, 9,10,10, 0, 0, 0, 0, 0, 9, 9,10,
- 10,
- };
- static float _vq_quantthresh__44c3_s_p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c3_s_p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c3_s_p5_0 = {
- _vq_quantthresh__44c3_s_p5_0,
- _vq_quantmap__44c3_s_p5_0,
- 9,
- 9
- };
- static static_codebook _44c3_s_p5_0 = {
- 2, 81,
- _vq_lengthlist__44c3_s_p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c3_s_p5_0,
- NULL,
- &_vq_auxt__44c3_s_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c3_s_p6_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c3_s_p6_0[] = {
- 2, 3, 3, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9,10,10,11,
- 11, 0, 5, 5, 7, 7, 8, 8, 9, 9, 9, 9,10,10,11,11,
- 11,11, 0, 5, 5, 7, 7, 8, 8, 9, 9, 9, 9,10,10,11,
- 11,11,11, 0, 6, 6, 7, 7, 8, 8, 9, 9, 9, 9,10,10,
- 11,11,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,
- 10,11,11,12,12, 0, 0, 0, 8, 8, 8, 8, 9, 9,10, 9,
- 10,10,11,11,12,12, 0, 0, 0, 8, 8, 8, 8, 9, 9,10,
- 9,10,10,11,11,12,12, 0, 0, 0, 9, 9, 9, 9,10,10,
- 10,10,11,11,12,11,12,12, 0, 0, 0, 0, 0, 9, 9,10,
- 10,10,10,11,11,12,12,12,12, 0, 0, 0, 0, 0, 8, 8,
- 9, 9,10,10,11,11,12,12,12,12, 0, 0, 0, 0, 0, 8,
- 8, 9, 9,10,10,11,11,12,12,13,12, 0, 0, 0, 0, 0,
- 9, 9,10,10,11,10,11,11,12,12,13,13, 0, 0, 0, 0,
- 0, 0, 0,10,10,10,10,11,11,12,12,13,13, 0, 0, 0,
- 0, 0, 0, 0,10,10,11,11,12,12,12,12,13,13, 0, 0,
- 0, 0, 0, 0, 0,10,10,11,11,11,11,12,12,13,13, 0,
- 0, 0, 0, 0, 0, 0,11,11,12,12,12,12,12,13,13,13,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,11,11,12,12,12,12,13,
- 13,
- };
- static float _vq_quantthresh__44c3_s_p6_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c3_s_p6_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c3_s_p6_0 = {
- _vq_quantthresh__44c3_s_p6_0,
- _vq_quantmap__44c3_s_p6_0,
- 17,
- 17
- };
- static static_codebook _44c3_s_p6_0 = {
- 2, 289,
- _vq_lengthlist__44c3_s_p6_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c3_s_p6_0,
- NULL,
- &_vq_auxt__44c3_s_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c3_s_p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c3_s_p7_0[] = {
- 1, 4, 4, 6, 6, 6, 7, 6, 6, 4, 7, 7,10, 9, 9,10,
- 9, 9, 5, 7, 7,10, 9, 9,10, 9, 9, 6,10,10,10,10,
- 10,11,10,10, 6, 9, 9,10,10,10,10, 9, 9, 6, 9, 9,
- 10,10,10,10, 9, 9, 7,10,10,10,11,11,11,10,11, 6,
- 9, 9,10,10, 9,11,10,10, 6, 9, 9,10, 9, 9,10,10,
- 10,
- };
- static float _vq_quantthresh__44c3_s_p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44c3_s_p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c3_s_p7_0 = {
- _vq_quantthresh__44c3_s_p7_0,
- _vq_quantmap__44c3_s_p7_0,
- 3,
- 3
- };
- static static_codebook _44c3_s_p7_0 = {
- 4, 81,
- _vq_lengthlist__44c3_s_p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44c3_s_p7_0,
- NULL,
- &_vq_auxt__44c3_s_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c3_s_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c3_s_p7_1[] = {
- 2, 4, 4, 6, 6, 7, 7, 8, 8, 8, 8,10, 5, 5, 6, 6,
- 7, 7, 8, 8, 8, 8,10, 5, 5, 6, 6, 7, 7, 8, 8, 8,
- 8,10, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8,10,10,10, 7,
- 7, 8, 8, 8, 8, 8, 8,10,10,10, 7, 7, 8, 8, 8, 8,
- 8, 8,10,10,10, 7, 7, 8, 8, 8, 8, 8, 8,10,10,10,
- 8, 8, 8, 8, 8, 8, 8, 8,10,10,10,10,10, 8, 8, 8,
- 8, 8, 8,10,10,10,10,10, 9, 9, 8, 8, 8, 8,10,10,
- 10,10,10, 8, 8, 8, 8, 8, 9,
- };
- static float _vq_quantthresh__44c3_s_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c3_s_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c3_s_p7_1 = {
- _vq_quantthresh__44c3_s_p7_1,
- _vq_quantmap__44c3_s_p7_1,
- 11,
- 11
- };
- static static_codebook _44c3_s_p7_1 = {
- 2, 121,
- _vq_lengthlist__44c3_s_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c3_s_p7_1,
- NULL,
- &_vq_auxt__44c3_s_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c3_s_p8_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c3_s_p8_0[] = {
- 1, 4, 4, 6, 6, 7, 8, 8, 8, 9, 9,10,10, 6, 5, 5,
- 7, 7, 8, 8, 9, 9, 9, 9,10,10, 7, 5, 5, 7, 7, 8,
- 8, 9, 9, 9,10,11,11, 0, 8, 8, 8, 8, 9, 9, 9, 9,
- 10,10,11,11, 0, 8, 8, 8, 8, 9, 9, 9, 9,10,10,11,
- 11, 0,11,12, 9, 9, 9,10,10,10,11,11,11,12, 0,13,
- 13, 9, 9, 9, 9,10,10,11,11,12,12, 0, 0, 0,10, 9,
- 9, 9,10,11,11,11,12,12, 0, 0, 0,10,10, 9, 9,11,
- 11,11,11,12,13, 0, 0, 0,13,13,10,10,11,11,12,12,
- 13,13, 0, 0, 0,14,14,10,10,11,11,12,12,13,13, 0,
- 0, 0, 0, 0,12,12,11,11,12,12,13,13, 0, 0, 0, 0,
- 0,12,12,11,11,12,12,13,13,
- };
- static float _vq_quantthresh__44c3_s_p8_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44c3_s_p8_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c3_s_p8_0 = {
- _vq_quantthresh__44c3_s_p8_0,
- _vq_quantmap__44c3_s_p8_0,
- 13,
- 13
- };
- static static_codebook _44c3_s_p8_0 = {
- 2, 169,
- _vq_lengthlist__44c3_s_p8_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44c3_s_p8_0,
- NULL,
- &_vq_auxt__44c3_s_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c3_s_p8_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c3_s_p8_1[] = {
- 2, 4, 4, 5, 5, 6, 5, 5, 5, 5, 6, 4, 5, 5, 5, 6,
- 5, 5, 5, 5, 6, 6, 6, 5, 5,
- };
- static float _vq_quantthresh__44c3_s_p8_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c3_s_p8_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c3_s_p8_1 = {
- _vq_quantthresh__44c3_s_p8_1,
- _vq_quantmap__44c3_s_p8_1,
- 5,
- 5
- };
- static static_codebook _44c3_s_p8_1 = {
- 2, 25,
- _vq_lengthlist__44c3_s_p8_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c3_s_p8_1,
- NULL,
- &_vq_auxt__44c3_s_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c3_s_p9_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c3_s_p9_0[] = {
- 1, 4, 4,10,10,10,10,10,10,10,10,10,10, 5,10, 7,
- 10,10,10,10,10,10,10,10,10,10, 5, 8, 6,10,10,10,
- 10,10,10,10,10,10,10,10, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9,
- };
- static float _vq_quantthresh__44c3_s_p9_0[] = {
- -1402.5, -1147.5, -892.5, -637.5, -382.5, -127.5, 127.5, 382.5,
- 637.5, 892.5, 1147.5, 1402.5,
- };
- static long _vq_quantmap__44c3_s_p9_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c3_s_p9_0 = {
- _vq_quantthresh__44c3_s_p9_0,
- _vq_quantmap__44c3_s_p9_0,
- 13,
- 13
- };
- static static_codebook _44c3_s_p9_0 = {
- 2, 169,
- _vq_lengthlist__44c3_s_p9_0,
- 1, -514332672, 1627381760, 4, 0,
- _vq_quantlist__44c3_s_p9_0,
- NULL,
- &_vq_auxt__44c3_s_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c3_s_p9_1[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__44c3_s_p9_1[] = {
- 1, 4, 4, 6, 6, 7, 7, 9, 9,11,11,11,12,12,12, 6,
- 5, 5, 7, 7, 8, 8,10, 9,11,11,13,12,13,14, 6, 5,
- 5, 7, 7, 8, 8,10,10,11,11,12,12,13,13,17, 7, 7,
- 8, 8, 9, 9,10,10,12,12,14,13,14,14,17, 8, 7, 8,
- 7, 9, 9,10,10,12,12,13,13,13,14,17,11,11, 8, 8,
- 10,10,11,11,12,12,13,13,15,14,17,11,11, 8, 7,10,
- 10,11,11,12,12,13,14,14,13,17,17,17,10,11,10,10,
- 12,12,13,12,13,13,14,14,17,16,16,10,10,11, 9,13,
- 12,13,13,13,13,14,14,16,16,15,13,15,11,12,12,12,
- 14,14,14,14,14,15,16,16,16,14,14,11, 9,12,10,13,
- 13,14,14,14,14,16,16,16,16,16,12,13,12,12,13,14,
- 14,14,15,15,15,16,16,15,16,13,11,13,10,14,12,15,
- 14,16,14,15,16,16,16,16,15,15,13,13,13,13,14,14,
- 16,16,16,16,16,15,16,16,14,13,12,13,13,14,16,16,
- 16,
- };
- static float _vq_quantthresh__44c3_s_p9_1[] = {
- -110.5, -93.5, -76.5, -59.5, -42.5, -25.5, -8.5, 8.5,
- 25.5, 42.5, 59.5, 76.5, 93.5, 110.5,
- };
- static long _vq_quantmap__44c3_s_p9_1[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__44c3_s_p9_1 = {
- _vq_quantthresh__44c3_s_p9_1,
- _vq_quantmap__44c3_s_p9_1,
- 15,
- 15
- };
- static static_codebook _44c3_s_p9_1 = {
- 2, 225,
- _vq_lengthlist__44c3_s_p9_1,
- 1, -522338304, 1620115456, 4, 0,
- _vq_quantlist__44c3_s_p9_1,
- NULL,
- &_vq_auxt__44c3_s_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c3_s_p9_2[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c3_s_p9_2[] = {
- 3, 5, 5, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9,
- 8,10, 5, 5, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9,10, 5, 5, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9,
- 9, 9, 9,10, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9,10,10,10, 7, 7, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 9, 9,10,10,10, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9,10,10,10, 8, 7, 8, 8, 9, 8, 9,
- 9, 9, 9, 9, 9, 9, 9,10,10,10, 8, 8, 8, 8, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,11,10, 8, 8, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,10,10, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,10,11, 8,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,11,10,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,10,
- 10,10,11, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,
- 11,10,11,10, 9, 9, 9,10, 9, 9, 9, 9, 9, 9,10,10,
- 10,10,11,11,10,10, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,
- 10,10,10,10,10,10,10,10, 9, 9, 9, 9, 9, 9,10, 9,
- 10,10,10,10,11,10,11,10,10, 9, 9, 9, 9, 9, 9, 9,
- 9,
- };
- static float _vq_quantthresh__44c3_s_p9_2[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c3_s_p9_2[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c3_s_p9_2 = {
- _vq_quantthresh__44c3_s_p9_2,
- _vq_quantmap__44c3_s_p9_2,
- 17,
- 17
- };
- static static_codebook _44c3_s_p9_2 = {
- 2, 289,
- _vq_lengthlist__44c3_s_p9_2,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c3_s_p9_2,
- NULL,
- &_vq_auxt__44c3_s_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c3_s_short[] = {
- 10,10,13,12,13,12,12,12,12,13, 8, 3,11, 5,10, 5,
- 7,11,14,16,11, 6, 9, 8, 7, 7, 9,12,15,16,12, 4,
- 12, 4,10, 5, 8,12,15,16,12, 6, 8, 7, 5, 5, 7,11,
- 14,15,11, 4, 9, 4, 6, 4, 6, 9,13,15,10, 6,10, 7,
- 7, 5, 6, 9,13,15,12, 9,11, 9, 8, 6, 7, 9,12,15,
- 13,11,10, 9, 6, 5, 5, 8,11,14,16,12,11,10, 6, 5,
- 6, 8,10,14,
- };
- static static_codebook _huff_book__44c3_s_short = {
- 2, 100,
- _huff_lengthlist__44c3_s_short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c4_s_long[] = {
- 3, 5,11,11,13,11,11,11,12,12, 5, 2,11, 6,10, 7,
- 8,10,13,16,10, 9, 6,10, 6, 7, 8, 9,11,12,11, 5,
- 11, 7,10, 8,10,12,15,17,12, 8, 5, 9, 4, 5, 7, 8,
- 10,12,10, 6, 7, 8, 5, 5, 6, 8,10,11,10, 8, 8, 9,
- 6, 6, 6, 7, 9,10,11,10, 9,11, 8, 7, 6, 6, 7, 9,
- 11,13,10,15, 9, 9, 7, 7, 7, 8,10,15,11,17,11,11,
- 9, 8, 7, 8,
- };
- static static_codebook _huff_book__44c4_s_long = {
- 2, 100,
- _huff_lengthlist__44c4_s_long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44c4_s_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c4_s_p1_0[] = {
- 2, 4, 4, 0, 0, 0, 0, 0, 0, 5, 7, 6, 0, 0, 0, 0,
- 0, 0, 5, 6, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 5, 7, 7, 0, 0, 0, 0, 0, 0, 7, 8, 8, 0, 0, 0,
- 0, 0, 0, 7, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0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,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c4_s_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44c4_s_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c4_s_p1_0 = {
- _vq_quantthresh__44c4_s_p1_0,
- _vq_quantmap__44c4_s_p1_0,
- 3,
- 3
- };
- static static_codebook _44c4_s_p1_0 = {
- 8, 6561,
- _vq_lengthlist__44c4_s_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44c4_s_p1_0,
- NULL,
- &_vq_auxt__44c4_s_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c4_s_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 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4_s_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c4_s_p2_0 = {
- _vq_quantthresh__44c4_s_p2_0,
- _vq_quantmap__44c4_s_p2_0,
- 5,
- 5
- };
- static static_codebook _44c4_s_p2_0 = {
- 4, 625,
- _vq_lengthlist__44c4_s_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c4_s_p2_0,
- NULL,
- &_vq_auxt__44c4_s_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c4_s_p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c4_s_p3_0[] = {
- 2, 3, 4, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 5, 4, 6, 6, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 4, 4, 4, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 6, 6, 7, 7,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 6, 6, 6, 7, 7, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c4_s_p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c4_s_p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c4_s_p3_0 = {
- _vq_quantthresh__44c4_s_p3_0,
- _vq_quantmap__44c4_s_p3_0,
- 5,
- 5
- };
- static static_codebook _44c4_s_p3_0 = {
- 4, 625,
- _vq_lengthlist__44c4_s_p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c4_s_p3_0,
- NULL,
- &_vq_auxt__44c4_s_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c4_s_p4_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c4_s_p4_0[] = {
- 2, 3, 3, 6, 6, 0, 0, 0, 0, 0, 4, 4, 6, 6, 0, 0,
- 0, 0, 0, 4, 4, 6, 6, 0, 0, 0, 0, 0, 5, 5, 6, 6,
- 0, 0, 0, 0, 0, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 0,
- 7, 8, 0, 0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 0, 0,
- 0, 0, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c4_s_p4_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c4_s_p4_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c4_s_p4_0 = {
- _vq_quantthresh__44c4_s_p4_0,
- _vq_quantmap__44c4_s_p4_0,
- 9,
- 9
- };
- static static_codebook _44c4_s_p4_0 = {
- 2, 81,
- _vq_lengthlist__44c4_s_p4_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c4_s_p4_0,
- NULL,
- &_vq_auxt__44c4_s_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c4_s_p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c4_s_p5_0[] = {
- 2, 3, 3, 6, 6, 7, 7, 9, 9, 0, 4, 4, 7, 7, 7, 7,
- 9, 9, 0, 4, 4, 7, 7, 7, 7, 9, 9, 0, 6, 6, 7, 7,
- 8, 8,10,10, 0, 0, 0, 7, 7, 8, 8,10,10, 0, 0, 0,
- 8, 8, 8, 8,10,10, 0, 0, 0, 8, 8, 8, 8,10,10, 0,
- 0, 0,10,10, 9, 9,11,11, 0, 0, 0, 0, 0, 9, 9,11,
- 11,
- };
- static float _vq_quantthresh__44c4_s_p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c4_s_p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c4_s_p5_0 = {
- _vq_quantthresh__44c4_s_p5_0,
- _vq_quantmap__44c4_s_p5_0,
- 9,
- 9
- };
- static static_codebook _44c4_s_p5_0 = {
- 2, 81,
- _vq_lengthlist__44c4_s_p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c4_s_p5_0,
- NULL,
- &_vq_auxt__44c4_s_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c4_s_p6_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c4_s_p6_0[] = {
- 2, 4, 4, 6, 6, 8, 8, 8, 8, 9, 9,10, 9,10,10,11,
- 11, 0, 4, 4, 7, 7, 8, 8, 9, 9, 9, 9,10,10,11,11,
- 11,11, 0, 4, 4, 6, 6, 8, 8, 9, 9, 9, 9,10,10,11,
- 11,12,12, 0, 6, 6, 7, 7, 8, 8, 9, 9, 9, 9,10,10,
- 11,11,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,
- 10,11,11,12,12, 0, 0, 0, 8, 8, 8, 8, 9, 9,10, 9,
- 10,11,11,11,12,12, 0, 0, 0, 8, 8, 8, 8, 9, 9,10,
- 10,11,10,11,11,12,12, 0, 0, 0, 9, 9, 9, 9,10,10,
- 10,10,11,11,11,11,12,12, 0, 0, 0, 0, 0, 9, 9,10,
- 10,10,10,11,11,12,11,12,12, 0, 0, 0, 0, 0, 8, 8,
- 9, 9,10,10,11,11,12,12,12,12, 0, 0, 0, 0, 0, 8,
- 8, 9, 9,10,10,11,11,12,12,12,12, 0, 0, 0, 0, 0,
- 9, 9,10,10,11,10,11,11,12,12,12,12, 0, 0, 0, 0,
- 0, 0, 0,10,10,10,10,11,11,12,12,13,12, 0, 0, 0,
- 0, 0, 0, 0,11,11,11,11,11,12,12,12,13,12, 0, 0,
- 0, 0, 0, 0, 0,11,11,11,11,11,11,12,12,13,13, 0,
- 0, 0, 0, 0, 0, 0,11,11,12,12,12,12,12,12,13,13,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,11,11,12,12,12,12,13,
- 13,
- };
- static float _vq_quantthresh__44c4_s_p6_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c4_s_p6_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c4_s_p6_0 = {
- _vq_quantthresh__44c4_s_p6_0,
- _vq_quantmap__44c4_s_p6_0,
- 17,
- 17
- };
- static static_codebook _44c4_s_p6_0 = {
- 2, 289,
- _vq_lengthlist__44c4_s_p6_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c4_s_p6_0,
- NULL,
- &_vq_auxt__44c4_s_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c4_s_p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c4_s_p7_0[] = {
- 1, 4, 4, 6, 6, 6, 7, 6, 6, 4, 7, 7,10, 9, 9,10,
- 9, 9, 5, 7, 7,10, 9, 9,10, 9, 9, 6,10,10,10,10,
- 10,11,10,10, 6, 9, 9,10,10,10,10,10, 9, 6, 9, 9,
- 10, 9,10,11, 9, 9, 7,10,10,11,11,11,11,10,10, 6,
- 9, 9,10, 9, 9,10,10, 9, 6, 9, 9,10,10,10,10,10,
- 10,
- };
- static float _vq_quantthresh__44c4_s_p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44c4_s_p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c4_s_p7_0 = {
- _vq_quantthresh__44c4_s_p7_0,
- _vq_quantmap__44c4_s_p7_0,
- 3,
- 3
- };
- static static_codebook _44c4_s_p7_0 = {
- 4, 81,
- _vq_lengthlist__44c4_s_p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44c4_s_p7_0,
- NULL,
- &_vq_auxt__44c4_s_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c4_s_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c4_s_p7_1[] = {
- 2, 4, 4, 6, 6, 7, 7, 8, 8, 8, 8,10, 5, 5, 6, 6,
- 7, 7, 8, 8, 8, 8,10, 5, 5, 6, 6, 7, 7, 8, 8, 8,
- 8,10, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8,10,10,10, 7,
- 7, 8, 8, 8, 8, 8, 8,10,10,10, 7, 7, 8, 8, 8, 8,
- 8, 8,10,10,10, 7, 7, 8, 8, 8, 8, 8, 8,10,10,10,
- 8, 8, 8, 8, 8, 8, 8, 8,10,10,10,10,10, 8, 8, 8,
- 8, 8, 8,10,10,10,10,10, 9, 9, 8, 8, 8, 9,10,10,
- 10,10,10, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44c4_s_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c4_s_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c4_s_p7_1 = {
- _vq_quantthresh__44c4_s_p7_1,
- _vq_quantmap__44c4_s_p7_1,
- 11,
- 11
- };
- static static_codebook _44c4_s_p7_1 = {
- 2, 121,
- _vq_lengthlist__44c4_s_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c4_s_p7_1,
- NULL,
- &_vq_auxt__44c4_s_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c4_s_p8_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c4_s_p8_0[] = {
- 1, 4, 4, 6, 6, 8, 8, 8, 8, 9, 9,10,10, 6, 5, 5,
- 7, 7, 8, 8, 9, 9,10,10,11,11, 7, 5, 5, 7, 7, 8,
- 8, 9, 9,10,10,11,11, 0, 8, 8, 8, 8, 9, 9, 9, 9,
- 10,10,11,11, 0, 8, 8, 8, 8, 9, 9, 9, 9,10,10,11,
- 11, 0,12,12, 9, 9, 9, 9,10,10,10,10,11,11, 0,12,
- 12, 9, 8, 9, 9,10,10,11,11,12,11, 0, 0, 0, 9,10,
- 9, 9,10,10,11,11,12,12, 0, 0, 0,10,10, 9, 9,10,
- 10,11,11,12,12, 0, 0, 0,13,13,10,10,10,11,12,12,
- 12,12, 0, 0, 0,14,14,10,10,11,11,11,11,12,12, 0,
- 0, 0, 0, 0,11,12,11,11,12,12,12,13, 0, 0, 0, 0,
- 0,12,12,11,11,12,12,13,13,
- };
- static float _vq_quantthresh__44c4_s_p8_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44c4_s_p8_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c4_s_p8_0 = {
- _vq_quantthresh__44c4_s_p8_0,
- _vq_quantmap__44c4_s_p8_0,
- 13,
- 13
- };
- static static_codebook _44c4_s_p8_0 = {
- 2, 169,
- _vq_lengthlist__44c4_s_p8_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44c4_s_p8_0,
- NULL,
- &_vq_auxt__44c4_s_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c4_s_p8_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c4_s_p8_1[] = {
- 2, 4, 4, 5, 5, 6, 5, 5, 5, 5, 6, 4, 5, 5, 5, 6,
- 5, 5, 5, 5, 6, 6, 6, 5, 5,
- };
- static float _vq_quantthresh__44c4_s_p8_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c4_s_p8_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c4_s_p8_1 = {
- _vq_quantthresh__44c4_s_p8_1,
- _vq_quantmap__44c4_s_p8_1,
- 5,
- 5
- };
- static static_codebook _44c4_s_p8_1 = {
- 2, 25,
- _vq_lengthlist__44c4_s_p8_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c4_s_p8_1,
- NULL,
- &_vq_auxt__44c4_s_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c4_s_p9_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c4_s_p9_0[] = {
- 1, 3, 3,10,10,10,10,10,10,10,10,10,10, 5, 7, 7,
- 10,10,10,10,10,10,10,10,10,10, 5, 7, 8,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10, 9, 9, 9, 9,
- };
- static float _vq_quantthresh__44c4_s_p9_0[] = {
- -1732.5, -1417.5, -1102.5, -787.5, -472.5, -157.5, 157.5, 472.5,
- 787.5, 1102.5, 1417.5, 1732.5,
- };
- static long _vq_quantmap__44c4_s_p9_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c4_s_p9_0 = {
- _vq_quantthresh__44c4_s_p9_0,
- _vq_quantmap__44c4_s_p9_0,
- 13,
- 13
- };
- static static_codebook _44c4_s_p9_0 = {
- 2, 169,
- _vq_lengthlist__44c4_s_p9_0,
- 1, -513964032, 1628680192, 4, 0,
- _vq_quantlist__44c4_s_p9_0,
- NULL,
- &_vq_auxt__44c4_s_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c4_s_p9_1[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__44c4_s_p9_1[] = {
- 1, 4, 4, 5, 6, 7, 7, 9, 9,11,11,12,12,12,13, 6,
- 5, 5, 6, 7, 8, 8,10,10,11,11,13,13,13,13, 6, 5,
- 5, 7, 7, 8, 8,11,10,11,11,12,13,12,13,17, 7, 7,
- 8, 8, 9, 9,11,11,12,12,12,13,15,14,17, 7, 7, 8,
- 8, 9, 9,11,10,12,12,13,13,14,13,17,11,12, 9, 9,
- 10,10,12,12,13,13,14,14,14,14,17,12,11, 9, 8,11,
- 10,11,12,13,13,13,14,14,14,17,17,17,11,11,11,11,
- 13,13,13,13,14,13,15,14,17,17,17,11,10,11, 9,13,
- 12,13,14,15,14,15,14,17,17,17,14,14,11,12,12,13,
- 14,14,16,15,15,15,17,17,17,15,15,12,11,13,11,13,
- 13,13,15,16,14,17,17,17,17,17,13,13,14,13,14,14,
- 15,15,16,15,17,17,17,17,17,14,14,14,12,14,12,16,
- 14,15,14,17,17,17,17,17,16,17,13,14,14,15,15,15,
- 17,15,17,17,17,17,17,16,17,13,14,14,14,15,17,15,
- 15,
- };
- static float _vq_quantthresh__44c4_s_p9_1[] = {
- -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5, 10.5,
- 31.5, 52.5, 73.5, 94.5, 115.5, 136.5,
- };
- static long _vq_quantmap__44c4_s_p9_1[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__44c4_s_p9_1 = {
- _vq_quantthresh__44c4_s_p9_1,
- _vq_quantmap__44c4_s_p9_1,
- 15,
- 15
- };
- static static_codebook _44c4_s_p9_1 = {
- 2, 225,
- _vq_lengthlist__44c4_s_p9_1,
- 1, -520986624, 1620377600, 4, 0,
- _vq_quantlist__44c4_s_p9_1,
- NULL,
- &_vq_auxt__44c4_s_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c4_s_p9_2[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__44c4_s_p9_2[] = {
- 3, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9, 9,11, 5, 5, 7, 7, 7, 7, 8, 8, 8, 8,
- 9, 9, 9, 9, 9, 9, 9, 9,10,10,11, 5, 5, 7, 7, 7,
- 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,11,
- 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9,10,10,
- 10,10,10,10,11,11,11, 7, 7, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9,10,10,10,10,10,10,11,11,11, 8, 8, 8, 8,
- 9, 9, 9, 9, 9, 9,10,10,10,10,10,10,10,10,11,11,
- 11, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9,10, 9,10,10,10,
- 10,10,10,11,11,11, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9,
- 10,10,10,10,10,10,10,10,11,11,11,11,11, 8, 8, 9,
- 9, 9, 9, 9,10,10,10,10,10,10,10,10,10,11,11,11,
- 11,11, 9, 9, 9, 9, 9,10,10,10,10,10,10,10,10,10,
- 10,10,11,11,11,11,11, 9, 9, 9, 9, 9,10,10,10,10,
- 10,10,10,10,10,10,10,11,11,11,11,11, 9, 9, 9, 9,
- 10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,
- 11,11,11, 9, 9, 9,10,10,10,10,10,10,10,10,10,10,
- 10,11,11,11,11,11,11,11,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,11,11,11,11,11,11,11,10,10, 9,
- 10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,
- 11,11,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,
- 10,10,10,10,10,11,11,11,11,11,11,11,11,11,10,10,
- 10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,
- 12,11,11,10,10,10,10,10,10,10,10,10,10,10,10,12,
- 11,12,12,11,11,11,11,11,10,10,10,10,10,10,10,10,
- 10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,10,
- 10,10,10,10,10,10,10,10,10,
- };
- static float _vq_quantthresh__44c4_s_p9_2[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__44c4_s_p9_2[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__44c4_s_p9_2 = {
- _vq_quantthresh__44c4_s_p9_2,
- _vq_quantmap__44c4_s_p9_2,
- 21,
- 21
- };
- static static_codebook _44c4_s_p9_2 = {
- 2, 441,
- _vq_lengthlist__44c4_s_p9_2,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__44c4_s_p9_2,
- NULL,
- &_vq_auxt__44c4_s_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c4_s_short[] = {
- 4, 9,13,12,16,11,12,15,15,16, 4, 2,11, 5,10, 6,
- 8,11,14,14,13,11, 8,11, 7, 8,10,13,17,17,10, 4,
- 11, 5, 9, 6, 9,13,17,17,13, 9, 6, 9, 5, 5, 7,11,
- 15,17,10, 5, 7, 6, 5, 4, 7,10,15,15,10, 7, 9, 8,
- 7, 6, 7,10,14,13,13,10,11,10, 8, 7, 8,10,14,14,
- 12,11,10, 9, 6, 5, 6, 9,13,17,14,13,11,10, 6, 6,
- 6, 8,11,16,
- };
- static static_codebook _huff_book__44c4_s_short = {
- 2, 100,
- _huff_lengthlist__44c4_s_short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c5_s_long[] = {
- 3, 6, 9,14,11,13,12,12,12,12, 6, 3, 5, 8, 6, 8,
- 10,11,12,14, 9, 5, 4,10, 5, 7, 8, 9,11,12,13, 8,
- 10, 9, 9, 9,12,15,16,17,10, 6, 5, 9, 3, 5, 6, 8,
- 10,12,10, 8, 7, 9, 5, 5, 6, 8,10,11,10, 9, 8,11,
- 6, 6, 6, 7, 8,10,12,11, 9,13, 8, 7, 6, 6, 7, 9,
- 11,13,10,15, 9, 9, 7, 7, 7, 8,10,15,10,17,11,10,
- 9, 8, 7, 7,
- };
- static static_codebook _huff_book__44c5_s_long = {
- 2, 100,
- _huff_lengthlist__44c5_s_long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44c5_s_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c5_s_p1_0[] = {
- 2, 4, 4, 0, 0, 0, 0, 0, 0, 4, 7, 6, 0, 0, 0, 0,
- 0, 0, 4, 6, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 5, 7, 7, 0, 0, 0, 0, 0, 0, 7, 9, 9, 0, 0, 0,
- 0, 0, 0, 7, 8, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 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 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c5_s_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44c5_s_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c5_s_p1_0 = {
- _vq_quantthresh__44c5_s_p1_0,
- _vq_quantmap__44c5_s_p1_0,
- 3,
- 3
- };
- static static_codebook _44c5_s_p1_0 = {
- 8, 6561,
- _vq_lengthlist__44c5_s_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44c5_s_p1_0,
- NULL,
- &_vq_auxt__44c5_s_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c5_s_p2_0[] = {
- 2,
- 1,
- 3,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44c5_s_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c5_s_p2_0 = {
- _vq_quantthresh__44c5_s_p2_0,
- _vq_quantmap__44c5_s_p2_0,
- 5,
- 5
- };
- static static_codebook _44c5_s_p2_0 = {
- 4, 625,
- _vq_lengthlist__44c5_s_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c5_s_p2_0,
- NULL,
- &_vq_auxt__44c5_s_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c5_s_p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c5_s_p3_0[] = {
- 2, 4, 3, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 4, 4, 6, 6, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 4, 4, 5, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 6, 6, 6, 7, 7,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 6, 6, 6, 7, 7, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 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- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c5_s_p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c5_s_p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c5_s_p3_0 = {
- _vq_quantthresh__44c5_s_p3_0,
- _vq_quantmap__44c5_s_p3_0,
- 5,
- 5
- };
- static static_codebook _44c5_s_p3_0 = {
- 4, 625,
- _vq_lengthlist__44c5_s_p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c5_s_p3_0,
- NULL,
- &_vq_auxt__44c5_s_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c5_s_p4_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c5_s_p4_0[] = {
- 2, 3, 3, 6, 6, 0, 0, 0, 0, 0, 4, 4, 6, 6, 0, 0,
- 0, 0, 0, 4, 4, 6, 6, 0, 0, 0, 0, 0, 5, 5, 6, 6,
- 0, 0, 0, 0, 0, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 0,
- 8, 7, 0, 0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 0, 0,
- 0, 0, 9, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c5_s_p4_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c5_s_p4_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c5_s_p4_0 = {
- _vq_quantthresh__44c5_s_p4_0,
- _vq_quantmap__44c5_s_p4_0,
- 9,
- 9
- };
- static static_codebook _44c5_s_p4_0 = {
- 2, 81,
- _vq_lengthlist__44c5_s_p4_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c5_s_p4_0,
- NULL,
- &_vq_auxt__44c5_s_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c5_s_p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c5_s_p5_0[] = {
- 2, 3, 4, 5, 6, 7, 7, 9, 9, 0, 4, 4, 6, 6, 7, 7,
- 9, 9, 0, 4, 4, 6, 6, 7, 7, 9, 9, 0, 6, 6, 7, 7,
- 8, 8,10,10, 0, 0, 0, 7, 7, 8, 8,10,10, 0, 0, 0,
- 7, 7, 8, 8,10,10, 0, 0, 0, 7, 8, 8, 8,10,10, 0,
- 0, 0, 9, 9, 9, 9,10,10, 0, 0, 0, 0, 0, 9, 9,10,
- 10,
- };
- static float _vq_quantthresh__44c5_s_p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c5_s_p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c5_s_p5_0 = {
- _vq_quantthresh__44c5_s_p5_0,
- _vq_quantmap__44c5_s_p5_0,
- 9,
- 9
- };
- static static_codebook _44c5_s_p5_0 = {
- 2, 81,
- _vq_lengthlist__44c5_s_p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c5_s_p5_0,
- NULL,
- &_vq_auxt__44c5_s_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c5_s_p6_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c5_s_p6_0[] = {
- 2, 4, 4, 6, 6, 8, 8, 9, 9, 9, 9,10,10,11,11,12,
- 12, 0, 4, 4, 6, 6, 8, 8, 9, 9, 9, 9,10,10,11,11,
- 12,12, 0, 4, 4, 6, 6, 8, 8, 9, 9, 9, 9,10,10,11,
- 11,12,12, 0, 6, 6, 7, 7, 8, 8, 9,10,10,10,11,11,
- 11,12,12,12, 0, 0, 0, 7, 7, 8, 8,10,10,10,10,11,
- 11,12,12,12,12, 0, 0, 0, 7, 7, 9, 9,10,10,10,10,
- 11,11,12,12,12,12, 0, 0, 0, 7, 7, 8, 9,10,10,10,
- 10,11,11,12,12,12,13, 0, 0, 0, 8, 8, 9, 9,10,10,
- 10,10,11,11,12,12,13,12, 0, 0, 0, 0, 0, 9, 9,10,
- 10,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 8, 8,
- 9, 9,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 8,
- 8, 9, 9,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0,
- 9, 9,10,10,11,11,11,12,12,12,13,13, 0, 0, 0, 0,
- 0, 0, 0,10,10,11,11,11,12,12,12,13,13, 0, 0, 0,
- 0, 0, 0, 0,11,11,11,11,12,12,12,13,13,13, 0, 0,
- 0, 0, 0, 0, 0,11,11,11,11,12,12,13,12,13,13, 0,
- 0, 0, 0, 0, 0, 0,11,11,12,12,12,12,13,13,13,13,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,12,12,12,12,13,13,13,
- 13,
- };
- static float _vq_quantthresh__44c5_s_p6_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c5_s_p6_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c5_s_p6_0 = {
- _vq_quantthresh__44c5_s_p6_0,
- _vq_quantmap__44c5_s_p6_0,
- 17,
- 17
- };
- static static_codebook _44c5_s_p6_0 = {
- 2, 289,
- _vq_lengthlist__44c5_s_p6_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c5_s_p6_0,
- NULL,
- &_vq_auxt__44c5_s_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c5_s_p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c5_s_p7_0[] = {
- 1, 4, 4, 6, 6, 6, 7, 6, 6, 4, 7, 7,10, 9, 9,10,
- 9, 9, 5, 7, 7,10, 9, 9,10, 9, 9, 6,10,10,10,10,
- 10,11,10,10, 6, 9, 9,10,10, 9,11,10,10, 6, 9, 9,
- 10, 9,10,11,10, 9, 7,10,10,11,11,11,11,10,10, 6,
- 9, 9,10,10, 9,10, 9, 9, 6, 9, 9,10,10,10,11, 9,
- 9,
- };
- static float _vq_quantthresh__44c5_s_p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44c5_s_p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c5_s_p7_0 = {
- _vq_quantthresh__44c5_s_p7_0,
- _vq_quantmap__44c5_s_p7_0,
- 3,
- 3
- };
- static static_codebook _44c5_s_p7_0 = {
- 4, 81,
- _vq_lengthlist__44c5_s_p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44c5_s_p7_0,
- NULL,
- &_vq_auxt__44c5_s_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c5_s_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c5_s_p7_1[] = {
- 2, 4, 4, 6, 6, 7, 7, 8, 8, 8, 8,10, 5, 5, 6, 6,
- 7, 7, 8, 8, 8, 8,10, 5, 5, 6, 6, 7, 7, 8, 8, 8,
- 8,10, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8,10,10,10, 7,
- 7, 8, 8, 8, 8, 8, 8,10,10,10, 7, 7, 8, 8, 8, 8,
- 8, 8,10,10,10, 7, 7, 8, 8, 8, 8, 8, 8,10,10,10,
- 8, 8, 8, 8, 8, 8, 8, 8,10,10,10,10,10, 8, 8, 8,
- 8, 8, 8,10,10,10,10,10, 9, 9, 8, 8, 9, 8,10,10,
- 10,10,10, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44c5_s_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c5_s_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c5_s_p7_1 = {
- _vq_quantthresh__44c5_s_p7_1,
- _vq_quantmap__44c5_s_p7_1,
- 11,
- 11
- };
- static static_codebook _44c5_s_p7_1 = {
- 2, 121,
- _vq_lengthlist__44c5_s_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c5_s_p7_1,
- NULL,
- &_vq_auxt__44c5_s_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c5_s_p8_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c5_s_p8_0[] = {
- 1, 4, 4, 6, 6, 8, 8, 8, 8, 9, 9,10,10, 6, 5, 5,
- 7, 7, 8, 8, 9, 9,10,10,10,10, 7, 5, 5, 7, 7, 8,
- 8, 9, 9,10,10,11,11, 0, 8, 8, 8, 8, 9, 9, 9, 9,
- 10,10,11,11, 0, 8, 8, 8, 8, 9, 9, 9, 9,10,10,11,
- 11, 0,11,12, 9, 9, 9, 9, 9,10,10,10,11,11, 0,13,
- 12, 9, 9, 9, 9,10,10,11,11,11,11, 0, 0, 0, 9,10,
- 9, 9,10,10,11,11,12,11, 0, 0, 0,10,10, 9, 9,10,
- 10,11,11,12,12, 0, 0, 0,13,13,10,10,11,11,11,12,
- 12,12, 0, 0, 0,14,14,10,10,11,11,11,11,12,12, 0,
- 0, 0, 0, 0,12,12,11,11,12,12,13,13, 0, 0, 0, 0,
- 0,12,12,11,11,12,12,13,13,
- };
- static float _vq_quantthresh__44c5_s_p8_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44c5_s_p8_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c5_s_p8_0 = {
- _vq_quantthresh__44c5_s_p8_0,
- _vq_quantmap__44c5_s_p8_0,
- 13,
- 13
- };
- static static_codebook _44c5_s_p8_0 = {
- 2, 169,
- _vq_lengthlist__44c5_s_p8_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44c5_s_p8_0,
- NULL,
- &_vq_auxt__44c5_s_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c5_s_p8_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c5_s_p8_1[] = {
- 2, 4, 4, 5, 5, 6, 5, 5, 5, 5, 6, 4, 5, 5, 5, 6,
- 5, 5, 5, 5, 6, 6, 6, 5, 5,
- };
- static float _vq_quantthresh__44c5_s_p8_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c5_s_p8_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c5_s_p8_1 = {
- _vq_quantthresh__44c5_s_p8_1,
- _vq_quantmap__44c5_s_p8_1,
- 5,
- 5
- };
- static static_codebook _44c5_s_p8_1 = {
- 2, 25,
- _vq_lengthlist__44c5_s_p8_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c5_s_p8_1,
- NULL,
- &_vq_auxt__44c5_s_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c5_s_p9_0[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__44c5_s_p9_0[] = {
- 1, 3, 3,11,11,11,11,11,11,11,11,11,11,11,11, 5,
- 7, 7,11,11,11,11,11,11,11,11,11,11,11,11, 5, 9,
- 7,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,
- };
- static float _vq_quantthresh__44c5_s_p9_0[] = {
- -2320.5, -1963.5, -1606.5, -1249.5, -892.5, -535.5, -178.5, 178.5,
- 535.5, 892.5, 1249.5, 1606.5, 1963.5, 2320.5,
- };
- static long _vq_quantmap__44c5_s_p9_0[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__44c5_s_p9_0 = {
- _vq_quantthresh__44c5_s_p9_0,
- _vq_quantmap__44c5_s_p9_0,
- 15,
- 15
- };
- static static_codebook _44c5_s_p9_0 = {
- 2, 225,
- _vq_lengthlist__44c5_s_p9_0,
- 1, -512522752, 1628852224, 4, 0,
- _vq_quantlist__44c5_s_p9_0,
- NULL,
- &_vq_auxt__44c5_s_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c5_s_p9_1[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c5_s_p9_1[] = {
- 1, 4, 4, 6, 6, 8, 7, 9, 9,10,10,11,11,12,12,13,
- 13, 6, 5, 5, 6, 6, 8, 8,10,10,11,11,12,12,13,13,
- 13,13, 6, 5, 5, 7, 7, 8, 8,10,10,11,11,12,12,13,
- 13,13,13,18, 7, 7, 8, 8, 9, 9,10,11,11,11,12,12,
- 13,13,13,14,18, 7, 7, 8, 8, 9, 9,11,10,12,12,13,
- 13,13,13,14,15,18,12,12, 9, 9,10,10,11,11,12,12,
- 13,13,13,14,14,14,18,12,12, 9, 8,10,10,11,11,12,
- 12,14,13,13,14,15,15,18,16,18,11,11,11,11,12,12,
- 13,13,13,14,14,14,14,15,17,18,17,11,10,11, 9,12,
- 13,13,13,14,14,13,14,14,14,18,18,18,13,14,11,12,
- 12,12,13,14,13,13,14,15,16,15,18,18,18,15,13,12,
- 9,12,11,13,14,14,15,14,14,16,14,18,18,18,18,18,
- 12,13,13,13,13,14,15,14,15,15,15,15,18,18,18,18,
- 17,14,12,13,11,14,12,15,14,14,15,16,15,18,18,18,
- 17,18,15,18,13,13,14,13,15,14,16,15,17,16,18,18,
- 17,18,18,15,17,14,13,14,12,14,14,15,15,15,15,18,
- 18,18,17,17,18,18,14,15,14,14,14,14,15,14,16,16,
- 17,18,18,18,18,17,17,15,15,13,13,15,13,15,13,15,
- 15,
- };
- static float _vq_quantthresh__44c5_s_p9_1[] = {
- -157.5, -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5,
- 10.5, 31.5, 52.5, 73.5, 94.5, 115.5, 136.5, 157.5,
- };
- static long _vq_quantmap__44c5_s_p9_1[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c5_s_p9_1 = {
- _vq_quantthresh__44c5_s_p9_1,
- _vq_quantmap__44c5_s_p9_1,
- 17,
- 17
- };
- static static_codebook _44c5_s_p9_1 = {
- 2, 289,
- _vq_lengthlist__44c5_s_p9_1,
- 1, -520814592, 1620377600, 5, 0,
- _vq_quantlist__44c5_s_p9_1,
- NULL,
- &_vq_auxt__44c5_s_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c5_s_p9_2[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__44c5_s_p9_2[] = {
- 3, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 9, 9,11, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8,
- 9, 9, 9, 9, 9, 9, 9, 9, 9,10,11, 5, 5, 7, 7, 7,
- 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,11,
- 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9,
- 10,10,10,10,11,11,11, 7, 7, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9,10,10,11,11,11, 8, 8, 8, 8,
- 8, 9, 9, 9, 9, 9, 9, 9,10,10,10,10,10,10,11,11,
- 11, 8, 8, 8, 8, 9, 8, 9, 9, 9, 9, 9, 9,10,10,10,
- 10,10,10,11,11,11, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9,
- 9,10,10,10,10,10,10,10,11,11,11,11,11, 8, 8, 9,
- 9, 9, 9, 9, 9,10,10,10,10,10,10,10,10,11,11,11,
- 11,11, 9, 9, 9, 9, 9, 9, 9,10,10,10,10,10,10,10,
- 10,10,11,11,11,11,11, 9, 9, 9, 9, 9, 9, 9,10,10,
- 10,10,10,10,10,10,10,11,11,11,11,11, 9, 9, 9, 9,
- 9, 9,10,10,10,10,10,10,10,10,10,10,11,11,11,11,
- 11,11,11, 9, 9, 9, 9,10,10,10,10,10,10,10,10,10,
- 10,11,11,11,11,11,11,11,10, 9,10,10,10,10,10,10,
- 10,10,10, 9,10,10,11,11,11,11,11,11,11, 9, 9,10,
- 10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,
- 11,11,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 11,11,11,11,11,11,11,11,11,10,10,10,10,10, 9,10,
- 10,10,10,10,10,11,11,11,11,11,11,11,11,11,10,10,
- 10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,
- 11,11,11,10,10,10,10,10,10,10,10,10,10,10,10,11,
- 11,11,11,11,11,11,11,11,10,10,10,10,10,10,10,10,
- 10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,10,
- 10,10,10,10,10,10,10,10,10,
- };
- static float _vq_quantthresh__44c5_s_p9_2[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__44c5_s_p9_2[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__44c5_s_p9_2 = {
- _vq_quantthresh__44c5_s_p9_2,
- _vq_quantmap__44c5_s_p9_2,
- 21,
- 21
- };
- static static_codebook _44c5_s_p9_2 = {
- 2, 441,
- _vq_lengthlist__44c5_s_p9_2,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__44c5_s_p9_2,
- NULL,
- &_vq_auxt__44c5_s_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c5_s_short[] = {
- 3, 9,10,15,10,10,11,15,15,17, 4, 5, 7, 8, 7, 7,
- 9,13,15,16, 7, 6, 6,10, 6, 8, 9,12,12,16,10, 8,
- 11, 8, 8, 7,11,15,17,17, 8, 5, 5, 8, 3, 4, 6,10,
- 15,17,10, 7, 7, 7, 4, 4, 5,10,14,17,10, 9, 8, 9,
- 6, 5, 6,10,14,17,12,12,11,12, 9, 8, 8,11,14,17,
- 13,14,13,10, 7, 5, 6, 9,13,17,14,14,14,10, 7, 5,
- 6, 7,10,15,
- };
- static static_codebook _huff_book__44c5_s_short = {
- 2, 100,
- _huff_lengthlist__44c5_s_short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c6_s_long[] = {
- 3, 8,11,13,13,13,12,12,13,18, 6, 3, 4, 7, 9, 9,
- 11,11,13,16, 9, 4, 3, 5, 7, 7, 9,10,14,18,11, 7,
- 4, 4, 6, 6, 8,10,14,15,11, 9, 6, 6, 6, 6, 8,10,
- 13,15,10, 9, 7, 6, 6, 6, 7, 8,12,12,12,10, 9, 8,
- 7, 6, 6, 7,11,12,11,10,10, 9, 9, 7, 7, 6, 9,12,
- 12,12,13,13,13,10, 9, 8,10,12,13,14,16,16,17,14,
- 12,11,11,13,
- };
- static static_codebook _huff_book__44c6_s_long = {
- 2, 100,
- _huff_lengthlist__44c6_s_long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44c6_s_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c6_s_p1_0[] = {
- 1, 5, 5, 0, 5, 5, 0, 5, 5, 5, 8, 7, 0, 9, 8, 0,
- 8, 8, 6, 7, 8, 0, 8, 9, 0, 8, 8, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 5, 8, 8, 0, 8, 8, 0, 8, 8, 5, 8, 8,
- 0, 8, 8, 0, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5,
- 9, 8, 0, 8, 8, 0, 8, 8, 5, 8, 9, 0, 8, 8, 0, 8,
- 8,
- };
- static float _vq_quantthresh__44c6_s_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44c6_s_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c6_s_p1_0 = {
- _vq_quantthresh__44c6_s_p1_0,
- _vq_quantmap__44c6_s_p1_0,
- 3,
- 3
- };
- static static_codebook _44c6_s_p1_0 = {
- 4, 81,
- _vq_lengthlist__44c6_s_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44c6_s_p1_0,
- NULL,
- &_vq_auxt__44c6_s_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c6_s_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c6_s_p2_0[] = {
- 3, 5, 5, 8, 8, 0, 5, 5, 9, 9, 0, 5, 5, 9, 9, 0,
- 7, 7,10,10, 0, 0, 0,10,10, 5, 7, 7, 9, 9, 0, 8,
- 7,10, 9, 0, 8, 8,10,10, 0,10,10,11,11, 0, 0, 0,
- 11,11, 5, 7, 7, 9, 9, 0, 7, 8, 9,10, 0, 7, 8,10,
- 10, 0,10,10,11,11, 0, 0, 0,11,11, 8, 9, 9,11,10,
- 0,11,10,12,12, 0,11,11,12,12, 0,13,13,14,14, 0,
- 0, 0,14,14, 8, 9, 9,10,11, 0,10,11,12,12, 0,11,
- 11,12,12, 0,13,13,14,14, 0, 0, 0,14,14, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 5, 8, 8,11,11, 0, 7, 7,10,10,
- 0, 7, 7,10,10, 0, 9, 8,11,10, 0, 0, 0,11,11, 5,
- 7, 8,11,11, 0, 7, 7,10,10, 0, 7, 7,10,10, 0, 8,
- 9,10,11, 0, 0, 0,11,11, 9,10,10,12,12, 0,10,10,
- 12,11, 0,10,10,12,12, 0,12,12,13,13, 0, 0, 0,13,
- 13, 9,10,10,12,12, 0,10,10,11,12, 0,10,10,12,12,
- 0,12,12,13,13, 0, 0, 0,13,13, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 5, 8, 7,11,10, 0, 7, 7,10,10, 0, 7, 7,
- 10,10, 0, 8, 9,11,11, 0, 0, 0,11,10, 5, 7, 8,10,
- 11, 0, 7, 7,10,10, 0, 7, 7,10,10, 0, 9, 8,11,11,
- 0, 0, 0,11,11, 9,10,10,12,12, 0,10,10,12,12, 0,
- 10,10,12,12, 0,12,12,13,13, 0, 0, 0,13,13, 9, 9,
- 10,12,12, 0,10,10,12,12, 0,10,10,12,12, 0,12,12,
- 13,13, 0, 0, 0,13,13, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 7,10,10,13,13, 0, 9, 8,12,12, 0, 8, 9,12,12, 0,
- 10, 9,12,12, 0, 0, 0,12,12, 7,10,10,13,13, 0, 9,
- 9,12,12, 0, 9, 8,12,12, 0, 9,10,12,12, 0, 0, 0,
- 12,12,10,11,11,14,14, 0,11,10,13,13, 0,11,11,13,
- 13, 0,12,12,13,13, 0, 0, 0,13,13,10,11,11,14,14,
- 0,10,11,13,13, 0,11,11,13,13, 0,12,12,13,13, 0,
- 0, 0,13,13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,10,
- 11,11,14,14, 0,11,11,13,13, 0,11,10,13,13, 0,12,
- 12,13,13, 0, 0, 0,13,13,10,11,11,14,14, 0,11,11,
- 13,13, 0,10,11,13,13, 0,12,12,13,13, 0, 0, 0,13,
- 13,
- };
- static float _vq_quantthresh__44c6_s_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c6_s_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c6_s_p2_0 = {
- _vq_quantthresh__44c6_s_p2_0,
- _vq_quantmap__44c6_s_p2_0,
- 5,
- 5
- };
- static static_codebook _44c6_s_p2_0 = {
- 4, 625,
- _vq_lengthlist__44c6_s_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c6_s_p2_0,
- NULL,
- &_vq_auxt__44c6_s_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c6_s_p3_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c6_s_p3_0[] = {
- 2, 4, 4, 5, 5, 7, 7, 9, 9, 0, 4, 4, 6, 6, 7, 7,
- 9, 9, 0, 4, 4, 6, 6, 7, 7, 9, 9, 0, 5, 5, 6, 6,
- 8, 8,10,10, 0, 0, 0, 6, 6, 8, 8,10,10, 0, 0, 0,
- 7, 7, 8, 8,10,10, 0, 0, 0, 7, 7, 9, 9,10,10, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c6_s_p3_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c6_s_p3_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c6_s_p3_0 = {
- _vq_quantthresh__44c6_s_p3_0,
- _vq_quantmap__44c6_s_p3_0,
- 9,
- 9
- };
- static static_codebook _44c6_s_p3_0 = {
- 2, 81,
- _vq_lengthlist__44c6_s_p3_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c6_s_p3_0,
- NULL,
- &_vq_auxt__44c6_s_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c6_s_p4_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c6_s_p4_0[] = {
- 3, 4, 4, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9,10,10,11,
- 11, 0, 4, 4, 6, 6, 7, 7, 8, 8, 8, 9,10,10,11,11,
- 11,11, 0, 4, 4, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11,
- 11,11,11, 0, 5, 5, 6, 6, 8, 8, 9, 9, 9, 9,10,10,
- 11,11,12,12, 0, 0, 0, 6, 6, 8, 8, 9, 9, 9, 9,10,
- 10,11,11,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9,10,10,
- 11,11,12,11,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9,10,
- 10,11,11,12,12,12,12, 0, 0, 0, 6, 6, 7, 7, 9, 9,
- 10,10,11,11,12,12,12,13, 0, 0, 0, 0, 0, 7, 7, 9,
- 9,10,10,11,11,12,12,12,13, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c6_s_p4_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c6_s_p4_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c6_s_p4_0 = {
- _vq_quantthresh__44c6_s_p4_0,
- _vq_quantmap__44c6_s_p4_0,
- 17,
- 17
- };
- static static_codebook _44c6_s_p4_0 = {
- 2, 289,
- _vq_lengthlist__44c6_s_p4_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c6_s_p4_0,
- NULL,
- &_vq_auxt__44c6_s_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c6_s_p5_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c6_s_p5_0[] = {
- 1, 4, 4, 5, 7, 7, 5, 7, 7, 4, 7, 7, 9,10,10,10,
- 10,10, 4, 7, 7, 9,10,10,10,10,10, 5, 9, 9, 9,11,
- 11, 9,11,11, 7,10,10,11,12,11,12,12,12, 7,10,10,
- 11,12,12,12,12,12, 6,10,10, 9,11,11,10,11,11, 7,
- 10, 9,11,12,12,11,12,11, 7,10,10,11,12,12,11,12,
- 12,
- };
- static float _vq_quantthresh__44c6_s_p5_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44c6_s_p5_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c6_s_p5_0 = {
- _vq_quantthresh__44c6_s_p5_0,
- _vq_quantmap__44c6_s_p5_0,
- 3,
- 3
- };
- static static_codebook _44c6_s_p5_0 = {
- 4, 81,
- _vq_lengthlist__44c6_s_p5_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44c6_s_p5_0,
- NULL,
- &_vq_auxt__44c6_s_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c6_s_p5_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c6_s_p5_1[] = {
- 3, 4, 4, 6, 6, 8, 8, 8, 8, 9, 9,11, 4, 4, 6, 6,
- 8, 8, 9, 9, 9, 9,11, 4, 4, 6, 6, 8, 8, 9, 8, 9,
- 9,12, 5, 5, 6, 6, 8, 8, 9, 9, 9, 9,12,12,12, 6,
- 6, 8, 8, 9, 9, 9, 9,11,11,11, 7, 7, 8, 8, 9, 9,
- 9, 9,11,11,11, 7, 7, 8, 8, 8, 8, 9, 9,11,11,11,
- 7, 7, 8, 8, 8, 8, 9, 9,11,11,11,11,11, 8, 8, 8,
- 8, 9, 9,11,11,11,11,11, 7, 7, 8, 8, 8, 8,11,11,
- 11,11,11, 7, 7, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44c6_s_p5_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c6_s_p5_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c6_s_p5_1 = {
- _vq_quantthresh__44c6_s_p5_1,
- _vq_quantmap__44c6_s_p5_1,
- 11,
- 11
- };
- static static_codebook _44c6_s_p5_1 = {
- 2, 121,
- _vq_lengthlist__44c6_s_p5_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c6_s_p5_1,
- NULL,
- &_vq_auxt__44c6_s_p5_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c6_s_p6_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c6_s_p6_0[] = {
- 1, 4, 4, 6, 7, 8, 8, 8, 8, 9, 9,10,10, 5, 5, 5,
- 7, 7, 9, 9, 9, 9,10,10,11,11, 6, 5, 5, 7, 7, 9,
- 9, 9, 9,10,10,11,11, 0, 7, 7, 7, 7, 9, 9,10,10,
- 11,11,11,11, 0, 7, 7, 7, 7, 9, 9,10,10,11,11,12,
- 12, 0,11,11, 8, 8,10, 9,10,11,11,11,12,12, 0,12,
- 12, 8, 8,10, 9,11,11,12,11,13,13, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,
- };
- static float _vq_quantthresh__44c6_s_p6_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44c6_s_p6_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c6_s_p6_0 = {
- _vq_quantthresh__44c6_s_p6_0,
- _vq_quantmap__44c6_s_p6_0,
- 13,
- 13
- };
- static static_codebook _44c6_s_p6_0 = {
- 2, 169,
- _vq_lengthlist__44c6_s_p6_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44c6_s_p6_0,
- NULL,
- &_vq_auxt__44c6_s_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c6_s_p6_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c6_s_p6_1[] = {
- 3, 4, 4, 5, 5, 6, 4, 4, 5, 5, 6, 4, 4, 5, 4, 6,
- 5, 5, 5, 5, 6, 6, 6, 5, 5,
- };
- static float _vq_quantthresh__44c6_s_p6_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c6_s_p6_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c6_s_p6_1 = {
- _vq_quantthresh__44c6_s_p6_1,
- _vq_quantmap__44c6_s_p6_1,
- 5,
- 5
- };
- static static_codebook _44c6_s_p6_1 = {
- 2, 25,
- _vq_lengthlist__44c6_s_p6_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c6_s_p6_1,
- NULL,
- &_vq_auxt__44c6_s_p6_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c6_s_p7_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c6_s_p7_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 9, 9,10,10,11,11, 5, 5, 5,
- 7, 7, 8, 8, 9, 9,11,11,12,12, 6, 5, 5, 7, 7, 9,
- 9, 9, 9,11,11,12,12,19, 7, 7, 7, 7, 9, 9,10,10,
- 11,11,12,12,19, 7, 7, 7, 7, 9, 9,10,10,11,11,12,
- 12,19,11,11, 8, 8,10,10,11,11,11,12,12,12,19,12,
- 12, 8, 8,10, 9,11,11,12,12,13,12,19,19,19,11,11,
- 10,10,11,11,12,12,13,13,19,19,19,11,11,10,10,11,
- 11,12,12,13,13,19,19,19,14,14,11,11,11,12,13,13,
- 13,13,19,19,19,15,15,11,11,12,12,13,12,14,14,19,
- 19,19,19,18,13,13,12,12,13,13,14,14,18,18,18,18,
- 18,13,12,12,12,13,13,14,14,
- };
- static float _vq_quantthresh__44c6_s_p7_0[] = {
- -60.5, -49.5, -38.5, -27.5, -16.5, -5.5, 5.5, 16.5,
- 27.5, 38.5, 49.5, 60.5,
- };
- static long _vq_quantmap__44c6_s_p7_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c6_s_p7_0 = {
- _vq_quantthresh__44c6_s_p7_0,
- _vq_quantmap__44c6_s_p7_0,
- 13,
- 13
- };
- static static_codebook _44c6_s_p7_0 = {
- 2, 169,
- _vq_lengthlist__44c6_s_p7_0,
- 1, -523206656, 1618345984, 4, 0,
- _vq_quantlist__44c6_s_p7_0,
- NULL,
- &_vq_auxt__44c6_s_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c6_s_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c6_s_p7_1[] = {
- 3, 5, 5, 6, 6, 7, 7, 7, 7, 7, 7, 9, 5, 5, 7, 7,
- 7, 7, 7, 7, 8, 8, 9, 5, 5, 6, 6, 7, 7, 7, 7, 7,
- 7, 9, 6, 6, 7, 7, 7, 7, 7, 7, 7, 8, 9, 9, 9, 7,
- 7, 7, 7, 7, 8, 7, 8, 9, 9, 9, 7, 7, 7, 7, 8, 8,
- 8, 8, 9, 9, 9, 7, 7, 7, 7, 7, 7, 7, 7, 9, 9, 9,
- 7, 7, 8, 8, 7, 7, 8, 8, 9, 9, 9, 8, 9, 8, 8, 7,
- 7, 7, 7, 9, 9, 8, 8, 9, 8, 8, 7, 7, 8, 8, 9, 9,
- 9, 9, 8, 7, 7, 7, 7, 8, 8,
- };
- static float _vq_quantthresh__44c6_s_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c6_s_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c6_s_p7_1 = {
- _vq_quantthresh__44c6_s_p7_1,
- _vq_quantmap__44c6_s_p7_1,
- 11,
- 11
- };
- static static_codebook _44c6_s_p7_1 = {
- 2, 121,
- _vq_lengthlist__44c6_s_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c6_s_p7_1,
- NULL,
- &_vq_auxt__44c6_s_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c6_s_p8_0[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__44c6_s_p8_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 7, 7, 9, 9, 9,10,11,11, 6,
- 5, 5, 8, 8, 9, 9, 8, 8, 9, 9,10,10,11,11, 6, 5,
- 5, 8, 8, 9, 9, 8, 8, 9, 9,10,10,11,11,17, 8, 8,
- 8, 8,10,10, 8, 9,10,10,11,11,12,11,17, 8, 8, 9,
- 9,10,10, 9, 9,10,10,11,12,12,12,17,12,13, 9, 9,
- 10,10, 9,10,10,10,11,11,13,12,17,13,13,10, 9,10,
- 10,10,10,10,11,12,11,12,12,17,17,17, 9, 9, 9, 9,
- 10,10,11,11,11,12,12,13,17,17,17, 9, 9, 9, 9,11,
- 10,11,11,12,12,12,13,17,17,17,13,13,10,10,11,11,
- 12,11,12,13,13,13,17,17,17,14,13,10, 9,11, 9,12,
- 12,12,13,13,14,17,17,17,17,17,11,12,11,11,12,12,
- 13,14,13,14,17,17,17,17,17,12,10,11, 8,12,11,13,
- 14,14,14,17,17,16,16,16,13,15,11,12,12,13,13,13,
- 14,14,16,16,16,16,16,14,13,12, 9,13,10,14,13,14,
- 13,
- };
- static float _vq_quantthresh__44c6_s_p8_0[] = {
- -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5, 10.5,
- 31.5, 52.5, 73.5, 94.5, 115.5, 136.5,
- };
- static long _vq_quantmap__44c6_s_p8_0[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__44c6_s_p8_0 = {
- _vq_quantthresh__44c6_s_p8_0,
- _vq_quantmap__44c6_s_p8_0,
- 15,
- 15
- };
- static static_codebook _44c6_s_p8_0 = {
- 2, 225,
- _vq_lengthlist__44c6_s_p8_0,
- 1, -520986624, 1620377600, 4, 0,
- _vq_quantlist__44c6_s_p8_0,
- NULL,
- &_vq_auxt__44c6_s_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c6_s_p8_1[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__44c6_s_p8_1[] = {
- 3, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9,
- 9, 8, 9, 9, 9,11, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10, 6, 6, 7, 7, 8,
- 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,11,
- 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9,11,10,11, 7, 7, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9,11,11,11, 8, 8, 8, 8,
- 9, 9, 9, 9, 9, 9, 9, 9, 9,10, 9, 9, 9, 9,11,11,
- 11, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9,10,10, 9,10, 9,
- 10,10, 9,11,11,11, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 10,10, 9,10, 9, 9, 9, 9,11,11,11,11,11, 8, 8, 9,
- 9, 9, 9, 9, 9, 9,10,10,10,10,10,10,10,11,11,11,
- 11,11, 9, 9, 9, 9, 9, 9,10, 9, 9, 9,10,10, 9, 9,
- 9, 9,11,11,11,11,11, 9, 9, 9, 9, 9, 9, 9,10,10,
- 9,10, 9,10,10,10,10,11,11,11,11,11, 9, 9, 9, 9,
- 9, 9,10,10,10,10, 9,10,10, 9,10, 9,11,11,11,11,
- 11,11,11, 9, 9, 9, 9,10, 9,10, 9, 9,10,10,10,10,
- 10,10,11,11,11,11,11,11, 9, 9, 9, 9,10,10,10,10,
- 9,10, 9,10,10, 9,11,11,11,11,11,11,10, 9, 9, 9,
- 9, 9,10, 9,10,10,10,10,10,10,10,11,11,11,11,11,
- 11,11, 9, 9,10,10,10,10,10,10,10,10,10,10,10,10,
- 11,11,11,11,11,11,11,11,11, 9,10, 9,10, 9,10,10,
- 10,10,10,10,10,11,11,11,11,11,11,11,11,11,10,10,
- 10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,
- 11,11,11,10,10, 9,10,10,10,10, 9,10, 9,10,10,11,
- 11,11,11,11,11,11,11,11,10,10,10, 9,10,10,10,10,
- 10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,10,
- 10, 9,10,10,10,10,10,10,10,
- };
- static float _vq_quantthresh__44c6_s_p8_1[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__44c6_s_p8_1[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__44c6_s_p8_1 = {
- _vq_quantthresh__44c6_s_p8_1,
- _vq_quantmap__44c6_s_p8_1,
- 21,
- 21
- };
- static static_codebook _44c6_s_p8_1 = {
- 2, 441,
- _vq_lengthlist__44c6_s_p8_1,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__44c6_s_p8_1,
- NULL,
- &_vq_auxt__44c6_s_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c6_s_p9_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c6_s_p9_0[] = {
- 1, 4, 4, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 6, 9, 8,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 6, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44c6_s_p9_0[] = {
- -3503.5, -2866.5, -2229.5, -1592.5, -955.5, -318.5, 318.5, 955.5,
- 1592.5, 2229.5, 2866.5, 3503.5,
- };
- static long _vq_quantmap__44c6_s_p9_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c6_s_p9_0 = {
- _vq_quantthresh__44c6_s_p9_0,
- _vq_quantmap__44c6_s_p9_0,
- 13,
- 13
- };
- static static_codebook _44c6_s_p9_0 = {
- 2, 169,
- _vq_lengthlist__44c6_s_p9_0,
- 1, -511845376, 1630791680, 4, 0,
- _vq_quantlist__44c6_s_p9_0,
- NULL,
- &_vq_auxt__44c6_s_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c6_s_p9_1[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c6_s_p9_1[] = {
- 1, 4, 4, 7, 7, 7, 7, 7, 7, 8, 9,10,11, 6, 6, 6,
- 7, 8, 8, 8, 7, 8, 9,10,11,10, 6, 5, 6, 7, 8, 8,
- 8, 8, 8, 9,10,10,11,14, 9, 8, 8, 8, 9, 8, 8, 9,
- 10,10,12,11,14, 8, 8, 9, 8, 9, 8, 8, 8,11,10,11,
- 11,14,14,13, 8, 9, 9, 9, 9,10,11,11,12,12,13,12,
- 12, 8, 7,10, 9, 9, 9,11,11,11,10,13,13,13, 8, 9,
- 9, 8,12,11,11,11,13,11,13,13,13, 9, 8, 9, 8,10,
- 10,11,10,11,10,13,13,13,12,12, 9,10,11,11,11,12,
- 13,12,13,13,13,13,12,10,10,10, 9,13,12,12,13,13,
- 13,13,13,13,12,12,10,10,12,12,13,13,13,13,13,13,
- 13,12,12,11,12,12,12,12,13,
- };
- static float _vq_quantthresh__44c6_s_p9_1[] = {
- -269.5, -220.5, -171.5, -122.5, -73.5, -24.5, 24.5, 73.5,
- 122.5, 171.5, 220.5, 269.5,
- };
- static long _vq_quantmap__44c6_s_p9_1[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c6_s_p9_1 = {
- _vq_quantthresh__44c6_s_p9_1,
- _vq_quantmap__44c6_s_p9_1,
- 13,
- 13
- };
- static static_codebook _44c6_s_p9_1 = {
- 2, 169,
- _vq_lengthlist__44c6_s_p9_1,
- 1, -518889472, 1622704128, 4, 0,
- _vq_quantlist__44c6_s_p9_1,
- NULL,
- &_vq_auxt__44c6_s_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c6_s_p9_2[] = {
- 24,
- 23,
- 25,
- 22,
- 26,
- 21,
- 27,
- 20,
- 28,
- 19,
- 29,
- 18,
- 30,
- 17,
- 31,
- 16,
- 32,
- 15,
- 33,
- 14,
- 34,
- 13,
- 35,
- 12,
- 36,
- 11,
- 37,
- 10,
- 38,
- 9,
- 39,
- 8,
- 40,
- 7,
- 41,
- 6,
- 42,
- 5,
- 43,
- 4,
- 44,
- 3,
- 45,
- 2,
- 46,
- 1,
- 47,
- 0,
- 48,
- };
- static long _vq_lengthlist__44c6_s_p9_2[] = {
- 2, 4, 3, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6,
- 6, 6, 6, 7, 6, 7, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7,
- };
- static float _vq_quantthresh__44c6_s_p9_2[] = {
- -23.5, -22.5, -21.5, -20.5, -19.5, -18.5, -17.5, -16.5,
- -15.5, -14.5, -13.5, -12.5, -11.5, -10.5, -9.5, -8.5,
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- 8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5,
- 16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 22.5, 23.5,
- };
- static long _vq_quantmap__44c6_s_p9_2[] = {
- 47, 45, 43, 41, 39, 37, 35, 33,
- 31, 29, 27, 25, 23, 21, 19, 17,
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16, 18, 20, 22, 24, 26, 28, 30,
- 32, 34, 36, 38, 40, 42, 44, 46,
- 48,
- };
- static encode_aux_threshmatch _vq_auxt__44c6_s_p9_2 = {
- _vq_quantthresh__44c6_s_p9_2,
- _vq_quantmap__44c6_s_p9_2,
- 49,
- 49
- };
- static static_codebook _44c6_s_p9_2 = {
- 1, 49,
- _vq_lengthlist__44c6_s_p9_2,
- 1, -526909440, 1611661312, 6, 0,
- _vq_quantlist__44c6_s_p9_2,
- NULL,
- &_vq_auxt__44c6_s_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c6_s_short[] = {
- 4, 9,11,11,13,13,17,16,17,17, 4, 4, 6, 7, 9, 9,
- 12,15,17,17, 7, 5, 4, 5, 7, 8,11,12,17,17, 9, 6,
- 4, 3, 5, 6,10,14,17,17,11, 8, 6, 4, 5, 6, 9,13,
- 17,17,11,10, 7, 5, 5, 5, 8,12,17,17,13,12, 9, 8,
- 7, 6, 8,11,17,17,13,13, 9, 6, 6, 5, 6, 9,17,17,
- 17,16,10, 8, 7, 7, 8, 9,17,17,17,17,14,12,11,11,
- 11,13,17,17,
- };
- static static_codebook _huff_book__44c6_s_short = {
- 2, 100,
- _huff_lengthlist__44c6_s_short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c7_s_long[] = {
- 3, 8,11,13,14,13,13,12,14,16, 6, 4, 5, 7, 9,10,
- 11,11,13,15,10, 4, 3, 5, 7, 7,10,10,14,16,11, 7,
- 4, 4, 5, 6, 8,10,13,15,12, 9, 6, 5, 5, 6, 8, 9,
- 13,15,11, 9, 7, 6, 5, 5, 6, 8,11,13,11,10, 9, 8,
- 7, 6, 6, 7,11,12,12,11,10, 9, 8, 7, 6, 6, 9,11,
- 12,12,12,12,12,10, 9, 8,10,12,12,14,15,16,16,14,
- 12,10,11,13,
- };
- static static_codebook _huff_book__44c7_s_long = {
- 2, 100,
- _huff_lengthlist__44c7_s_long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44c7_s_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c7_s_p1_0[] = {
- 1, 5, 5, 0, 5, 5, 0, 5, 5, 6, 8, 7, 0, 9, 8, 0,
- 8, 8, 5, 7, 8, 0, 8, 9, 0, 8, 8, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 5, 8, 8, 0, 8, 8, 0, 8, 8, 5, 8, 8,
- 0, 8, 8, 0, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5,
- 9, 8, 0, 8, 8, 0, 8, 8, 5, 8, 9, 0, 8, 8, 0, 8,
- 8,
- };
- static float _vq_quantthresh__44c7_s_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44c7_s_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c7_s_p1_0 = {
- _vq_quantthresh__44c7_s_p1_0,
- _vq_quantmap__44c7_s_p1_0,
- 3,
- 3
- };
- static static_codebook _44c7_s_p1_0 = {
- 4, 81,
- _vq_lengthlist__44c7_s_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44c7_s_p1_0,
- NULL,
- &_vq_auxt__44c7_s_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c7_s_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c7_s_p2_0[] = {
- 3, 5, 5, 8, 8, 0, 5, 5, 9, 9, 0, 5, 5, 9, 9, 0,
- 7, 7,10, 9, 0, 0, 0, 9,10, 5, 7, 7, 9, 9, 0, 8,
- 7,10, 9, 0, 8, 7,10, 9, 0,10, 9,11,11, 0, 0, 0,
- 11,11, 6, 7, 7, 9, 9, 0, 7, 8, 9,10, 0, 7, 8,10,
- 10, 0, 9, 9,11,11, 0, 0, 0,11,11, 8, 9, 9,11,10,
- 0,11,10,12,12, 0,11,11,12,12, 0,13,13,14,14, 0,
- 0, 0,14,14, 8, 9, 9,10,11, 0,10,11,11,12, 0,11,
- 11,12,12, 0,13,13,14,14, 0, 0, 0,14,14, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 5, 8, 7,11,11, 0, 7, 7,10,10,
- 0, 7, 7,10,10, 0, 9, 8,11,10, 0, 0, 0,11,11, 5,
- 7, 8,11,11, 0, 7, 7,10,10, 0, 7, 7,10,10, 0, 8,
- 9,10,11, 0, 0, 0,11,11, 9,10,10,12,12, 0,10,10,
- 12,11, 0,10,10,12,12, 0,12,12,13,13, 0, 0, 0,13,
- 13, 9,10,10,12,12, 0,10,10,11,12, 0,10,10,12,12,
- 0,12,12,13,13, 0, 0, 0,13,13, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 5, 8, 7,11,10, 0, 7, 7,10,10, 0, 7, 7,
- 10,10, 0, 9, 9,11,11, 0, 0, 0,11,10, 5, 7, 8,10,
- 11, 0, 7, 7,10,10, 0, 7, 7,10,10, 0, 9, 9,11,11,
- 0, 0, 0,10,11, 9,10, 9,12,11, 0,10,10,12,12, 0,
- 10,10,12,11, 0,12,12,13,13, 0, 0, 0,13,13, 9, 9,
- 10,11,12, 0,10,10,12,12, 0,10,10,11,12, 0,12,12,
- 13,13, 0, 0, 0,13,13, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 7, 9, 9,13,13, 0, 9, 8,12,12, 0, 8, 9,12,12, 0,
- 10, 9,12,12, 0, 0, 0,12,12, 7,10, 9,13,13, 0, 9,
- 9,12,12, 0, 9, 8,12,12, 0, 9,10,12,12, 0, 0, 0,
- 12,12,10,11,11,14,14, 0,11,10,13,12, 0,11,11,13,
- 13, 0,12,12,13,13, 0, 0, 0,13,13,10,11,11,14,14,
- 0,10,11,12,13, 0,11,11,13,13, 0,12,12,13,13, 0,
- 0, 0,13,13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,10,
- 11,11,14,14, 0,11,11,13,13, 0,11,10,13,13, 0,12,
- 12,13,13, 0, 0, 0,13,13,10,11,11,14,14, 0,11,11,
- 13,13, 0,10,11,13,13, 0,12,12,13,13, 0, 0, 0,13,
- 13,
- };
- static float _vq_quantthresh__44c7_s_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c7_s_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c7_s_p2_0 = {
- _vq_quantthresh__44c7_s_p2_0,
- _vq_quantmap__44c7_s_p2_0,
- 5,
- 5
- };
- static static_codebook _44c7_s_p2_0 = {
- 4, 625,
- _vq_lengthlist__44c7_s_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c7_s_p2_0,
- NULL,
- &_vq_auxt__44c7_s_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c7_s_p3_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c7_s_p3_0[] = {
- 2, 4, 4, 5, 5, 7, 7, 8, 8, 0, 4, 4, 6, 6, 7, 7,
- 9, 9, 0, 4, 4, 6, 6, 7, 7, 9, 9, 0, 5, 5, 6, 6,
- 8, 8,10,10, 0, 0, 0, 6, 6, 8, 8,10,10, 0, 0, 0,
- 7, 7, 9, 9,10,10, 0, 0, 0, 7, 7, 9, 9,10,10, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c7_s_p3_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c7_s_p3_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c7_s_p3_0 = {
- _vq_quantthresh__44c7_s_p3_0,
- _vq_quantmap__44c7_s_p3_0,
- 9,
- 9
- };
- static static_codebook _44c7_s_p3_0 = {
- 2, 81,
- _vq_lengthlist__44c7_s_p3_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c7_s_p3_0,
- NULL,
- &_vq_auxt__44c7_s_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c7_s_p4_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c7_s_p4_0[] = {
- 3, 4, 4, 6, 5, 7, 7, 7, 7, 8, 8, 9, 9,10,10,11,
- 11, 0, 4, 4, 6, 6, 7, 7, 8, 8, 8, 8, 9,10,10,10,
- 11,11, 0, 4, 4, 6, 6, 7, 7, 8, 8, 8, 8,10,10,10,
- 11,11,11, 0, 5, 5, 6, 6, 8, 8, 9, 9, 9, 9,10,10,
- 11,11,12,12, 0, 0, 0, 6, 6, 8, 8, 9, 9, 9, 9,10,
- 10,11,11,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9,10,10,
- 11,11,12,12,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9,10,
- 10,11,11,12,12,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9,
- 10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 8, 8, 9,
- 9,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c7_s_p4_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c7_s_p4_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c7_s_p4_0 = {
- _vq_quantthresh__44c7_s_p4_0,
- _vq_quantmap__44c7_s_p4_0,
- 17,
- 17
- };
- static static_codebook _44c7_s_p4_0 = {
- 2, 289,
- _vq_lengthlist__44c7_s_p4_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c7_s_p4_0,
- NULL,
- &_vq_auxt__44c7_s_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c7_s_p5_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c7_s_p5_0[] = {
- 1, 4, 4, 5, 7, 7, 5, 7, 7, 4, 7, 7,10,11,10,10,
- 11,11, 4, 7, 7,10,10,11,10,10,11, 5,10,10, 9,12,
- 11,10,12,12, 7,11,10,12,12,12,12,13,13, 7,10,11,
- 11,12,12,12,13,13, 5,10,10,10,12,12,10,12,12, 7,
- 11,10,12,13,13,12,12,12, 7,10,11,12,13,13,12,12,
- 12,
- };
- static float _vq_quantthresh__44c7_s_p5_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44c7_s_p5_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c7_s_p5_0 = {
- _vq_quantthresh__44c7_s_p5_0,
- _vq_quantmap__44c7_s_p5_0,
- 3,
- 3
- };
- static static_codebook _44c7_s_p5_0 = {
- 4, 81,
- _vq_lengthlist__44c7_s_p5_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44c7_s_p5_0,
- NULL,
- &_vq_auxt__44c7_s_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c7_s_p5_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c7_s_p5_1[] = {
- 3, 5, 5, 6, 6, 7, 7, 8, 8, 8, 9,12, 4, 4, 6, 6,
- 7, 7, 8, 8, 9, 9,11, 5, 5, 6, 6, 7, 7, 8, 8, 9,
- 9,12, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,12,12,12, 6,
- 6, 7, 7, 8, 8, 9, 9,12,12,12, 6, 6, 7, 7, 8, 8,
- 9, 9,12,11,11, 6, 6, 7, 7, 8, 8, 9, 9,12,12,11,
- 7, 7, 8, 8, 8, 8, 8, 8,12,12,12,11,11, 8, 8, 8,
- 8, 8, 8,12,12,12,11,11, 7, 7, 7, 7, 8, 8,12,12,
- 12,11,11, 7, 7, 7, 7, 8, 8,
- };
- static float _vq_quantthresh__44c7_s_p5_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c7_s_p5_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c7_s_p5_1 = {
- _vq_quantthresh__44c7_s_p5_1,
- _vq_quantmap__44c7_s_p5_1,
- 11,
- 11
- };
- static static_codebook _44c7_s_p5_1 = {
- 2, 121,
- _vq_lengthlist__44c7_s_p5_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c7_s_p5_1,
- NULL,
- &_vq_auxt__44c7_s_p5_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c7_s_p6_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c7_s_p6_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 9, 9,10, 9,10,10, 5, 5, 5,
- 7, 7, 9, 9, 9, 9,10,10,11,11, 6, 5, 5, 7, 7, 9,
- 9, 9, 9,11,10,11,11, 0, 6, 6, 7, 7, 9, 9,10,10,
- 11,11,12,12, 0, 7, 7, 7, 7, 9, 9,10,10,11,11,12,
- 12, 0,11,10, 8, 8,10,10,11,11,11,12,12,12, 0,11,
- 11, 8, 8,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,
- };
- static float _vq_quantthresh__44c7_s_p6_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44c7_s_p6_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c7_s_p6_0 = {
- _vq_quantthresh__44c7_s_p6_0,
- _vq_quantmap__44c7_s_p6_0,
- 13,
- 13
- };
- static static_codebook _44c7_s_p6_0 = {
- 2, 169,
- _vq_lengthlist__44c7_s_p6_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44c7_s_p6_0,
- NULL,
- &_vq_auxt__44c7_s_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c7_s_p6_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c7_s_p6_1[] = {
- 3, 4, 4, 5, 5, 6, 4, 4, 5, 5, 6, 4, 4, 4, 5, 6,
- 5, 5, 5, 5, 6, 6, 6, 5, 5,
- };
- static float _vq_quantthresh__44c7_s_p6_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c7_s_p6_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c7_s_p6_1 = {
- _vq_quantthresh__44c7_s_p6_1,
- _vq_quantmap__44c7_s_p6_1,
- 5,
- 5
- };
- static static_codebook _44c7_s_p6_1 = {
- 2, 25,
- _vq_lengthlist__44c7_s_p6_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c7_s_p6_1,
- NULL,
- &_vq_auxt__44c7_s_p6_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c7_s_p7_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c7_s_p7_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 9, 9,10,10,11,11, 5, 5, 5,
- 7, 7, 9, 8, 9, 9,11,11,12,12, 6, 5, 5, 7, 7, 9,
- 9, 9,10,11,11,12,12,20, 7, 7, 7, 7, 9, 9,10,10,
- 11,11,12,12,20, 7, 7, 7, 7, 9, 9,10,10,11,11,12,
- 12,20,11,11, 8, 8,10, 9,11,11,11,11,12,12,20,12,
- 12, 8, 8, 9, 9,11,11,12,12,12,12,20,20,20,11,11,
- 10,10,11,11,12,12,13,13,20,20,20,11,11,10,10,11,
- 11,12,12,13,13,20,20,20,14,14,11,11,11,12,13,13,
- 13,13,20,20,20,15,14,11,11,11,11,13,13,14,14,20,
- 20,20,20,19,12,12,12,12,13,13,14,14,19,19,19,19,
- 19,13,12,12,12,13,13,14,14,
- };
- static float _vq_quantthresh__44c7_s_p7_0[] = {
- -60.5, -49.5, -38.5, -27.5, -16.5, -5.5, 5.5, 16.5,
- 27.5, 38.5, 49.5, 60.5,
- };
- static long _vq_quantmap__44c7_s_p7_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c7_s_p7_0 = {
- _vq_quantthresh__44c7_s_p7_0,
- _vq_quantmap__44c7_s_p7_0,
- 13,
- 13
- };
- static static_codebook _44c7_s_p7_0 = {
- 2, 169,
- _vq_lengthlist__44c7_s_p7_0,
- 1, -523206656, 1618345984, 4, 0,
- _vq_quantlist__44c7_s_p7_0,
- NULL,
- &_vq_auxt__44c7_s_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c7_s_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c7_s_p7_1[] = {
- 3, 5, 5, 6, 6, 7, 7, 7, 7, 7, 7, 9, 5, 5, 6, 6,
- 7, 7, 7, 7, 8, 8, 9, 5, 5, 6, 6, 7, 7, 7, 7, 7,
- 7, 9, 6, 6, 7, 7, 7, 7, 8, 8, 7, 8, 9, 9, 9, 7,
- 7, 7, 7, 7, 7, 8, 8, 9, 9, 9, 7, 7, 7, 7, 8, 8,
- 8, 8, 9, 9, 9, 7, 7, 7, 7, 7, 7, 8, 8, 9, 9, 9,
- 7, 7, 8, 7, 7, 7, 8, 8, 9, 9, 9, 9, 9, 7, 7, 7,
- 7, 8, 7, 9, 9, 9, 9, 9, 8, 8, 7, 7, 8, 8, 9, 9,
- 9, 9, 9, 7, 7, 7, 7, 8, 8,
- };
- static float _vq_quantthresh__44c7_s_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c7_s_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c7_s_p7_1 = {
- _vq_quantthresh__44c7_s_p7_1,
- _vq_quantmap__44c7_s_p7_1,
- 11,
- 11
- };
- static static_codebook _44c7_s_p7_1 = {
- 2, 121,
- _vq_lengthlist__44c7_s_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c7_s_p7_1,
- NULL,
- &_vq_auxt__44c7_s_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c7_s_p8_0[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__44c7_s_p8_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 8, 8, 9, 9, 9,10,11,11, 6,
- 5, 5, 8, 8, 9, 9, 8, 8, 9, 9,10,10,11,11, 6, 5,
- 5, 8, 8, 9, 9, 8, 8, 9, 9,10,10,11,11,17, 8, 8,
- 8, 8,10, 9, 8, 9,10,10,11,11,11,11,17, 8, 8, 8,
- 8,10,10, 9, 9,10,10,11,11,12,12,17,12,13, 9, 9,
- 10,10, 9, 9,10,11,11,11,12,12,17,13,13, 9, 9,10,
- 10,10,10,10,10,11,11,12,12,17,17,17, 9, 9, 9, 9,
- 10,10,11,11,11,12,12,12,17,17,17, 9, 9, 9, 9,11,
- 10,11,12,11,12,13,12,17,17,17,13,14,10,10,10,11,
- 12,11,12,12,12,13,17,17,17,14,14,10, 9,10, 9,12,
- 12,12,12,13,13,17,17,17,17,17,11,11,11,11,11,12,
- 13,13,13,14,17,17,17,17,17,12,10,11, 9,12,11,13,
- 15,14,14,17,17,17,17,17,14,15,11,12,12,13,13,12,
- 14,14,17,16,16,16,16,15,13,12, 9,12,10,14,12,15,
- 14,
- };
- static float _vq_quantthresh__44c7_s_p8_0[] = {
- -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5, 10.5,
- 31.5, 52.5, 73.5, 94.5, 115.5, 136.5,
- };
- static long _vq_quantmap__44c7_s_p8_0[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__44c7_s_p8_0 = {
- _vq_quantthresh__44c7_s_p8_0,
- _vq_quantmap__44c7_s_p8_0,
- 15,
- 15
- };
- static static_codebook _44c7_s_p8_0 = {
- 2, 225,
- _vq_lengthlist__44c7_s_p8_0,
- 1, -520986624, 1620377600, 4, 0,
- _vq_quantlist__44c7_s_p8_0,
- NULL,
- &_vq_auxt__44c7_s_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c7_s_p8_1[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__44c7_s_p8_1[] = {
- 3, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9,
- 9, 9, 9, 9, 9,10, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10, 6, 6, 7, 7, 8,
- 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,11,
- 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9,11,11,11, 7, 7, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9,11,11,11, 8, 8, 8, 8,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,11,11,
- 11, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9,10, 9, 9, 9, 9,
- 10,10, 9,11,11,11, 8, 9, 9, 8, 9, 9, 9, 9, 9, 9,
- 9, 9,10,10, 9, 9,10, 9,11,11,11,11,11, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9,10,10,10,10,10,10,11,10,11,
- 11,11, 9, 9, 9, 9, 9, 9,10, 9,10,10,10,10,10, 9,
- 9,10,11,11,11,11,11, 9, 9, 9, 9, 9, 9, 9, 9,10,
- 10, 9, 9,10,10,10,10,11,11,11,11,11, 9, 9, 9, 9,
- 9, 9, 9,10,10,10, 9,10,10,10,10, 9,11,11,10,11,
- 11,11,11, 9, 9, 9, 9,10,10,10,10,10,10,10, 9,10,
- 10,10,11,11,11,11,11,11, 9, 9, 9, 9, 9,10,10,10,
- 10,10, 9, 9,10, 9,11,10,11,11,11,11,11, 9, 9, 9,
- 9, 9,10,10, 9,10,10,10,10,10,10,11,11,11,11,11,
- 11,11,10, 9,10, 9,10,10,10,10,10,10,10,10,10, 9,
- 10,11,10,11,11,11,11,11,10, 9, 9,10,10,10,10,10,
- 10,10,10,10,10,11,11,11,11,11,11,11,10,11,10,10,
- 10,10,10,10,10,10, 9,10,10, 9,11,11,11,11,11,10,
- 11,11,11,10,10, 9, 9,10,10,10,10,10, 9,10,10,11,
- 11,11,11,11,10,11,11,11,10,10, 9, 9,10,10,10,10,
- 10,10,10,10,11,11,11,11,11,11,11,11,11,11,11, 9,
- 9, 9, 9,10,10,10,10,10,10,
- };
- static float _vq_quantthresh__44c7_s_p8_1[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__44c7_s_p8_1[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__44c7_s_p8_1 = {
- _vq_quantthresh__44c7_s_p8_1,
- _vq_quantmap__44c7_s_p8_1,
- 21,
- 21
- };
- static static_codebook _44c7_s_p8_1 = {
- 2, 441,
- _vq_lengthlist__44c7_s_p8_1,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__44c7_s_p8_1,
- NULL,
- &_vq_auxt__44c7_s_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c7_s_p9_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c7_s_p9_0[] = {
- 1, 4, 4, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 5, 9, 8,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 6, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 8, 8, 8,
- };
- static float _vq_quantthresh__44c7_s_p9_0[] = {
- -3503.5, -2866.5, -2229.5, -1592.5, -955.5, -318.5, 318.5, 955.5,
- 1592.5, 2229.5, 2866.5, 3503.5,
- };
- static long _vq_quantmap__44c7_s_p9_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c7_s_p9_0 = {
- _vq_quantthresh__44c7_s_p9_0,
- _vq_quantmap__44c7_s_p9_0,
- 13,
- 13
- };
- static static_codebook _44c7_s_p9_0 = {
- 2, 169,
- _vq_lengthlist__44c7_s_p9_0,
- 1, -511845376, 1630791680, 4, 0,
- _vq_quantlist__44c7_s_p9_0,
- NULL,
- &_vq_auxt__44c7_s_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c7_s_p9_1[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c7_s_p9_1[] = {
- 1, 4, 4, 7, 7, 7, 7, 7, 7, 9, 8,10,10, 6, 6, 6,
- 7, 8, 8, 8, 8, 8, 9, 9,10,11, 6, 5, 6, 8, 7, 8,
- 8, 8, 8, 9, 9,10,11,14, 9, 8, 9, 8, 9, 8, 8, 9,
- 10,10,11,11,14, 8, 9, 8, 8, 8, 9, 9, 8,12,10,11,
- 11,14,13,13, 8, 9, 9, 9, 9,10,10,12,12,12,14,14,
- 13, 8, 7,10, 9, 9,10,10,11,11,10,14,14,14, 8, 9,
- 9, 8,11,10,12,11,11,11,14,14,14, 9, 7, 9, 8,10,
- 10,11,11,11,10,14,14,14,12,12,10, 9,11,11,11,13,
- 12,13,14,14,14,12,12,10,10,11, 8,11,11,14,13,14,
- 14,14,14,14,12,13,11,12,12,11,14,13,13,13,13,13,
- 13,12,11,11, 9,12,12,12,13,
- };
- static float _vq_quantthresh__44c7_s_p9_1[] = {
- -269.5, -220.5, -171.5, -122.5, -73.5, -24.5, 24.5, 73.5,
- 122.5, 171.5, 220.5, 269.5,
- };
- static long _vq_quantmap__44c7_s_p9_1[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c7_s_p9_1 = {
- _vq_quantthresh__44c7_s_p9_1,
- _vq_quantmap__44c7_s_p9_1,
- 13,
- 13
- };
- static static_codebook _44c7_s_p9_1 = {
- 2, 169,
- _vq_lengthlist__44c7_s_p9_1,
- 1, -518889472, 1622704128, 4, 0,
- _vq_quantlist__44c7_s_p9_1,
- NULL,
- &_vq_auxt__44c7_s_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c7_s_p9_2[] = {
- 24,
- 23,
- 25,
- 22,
- 26,
- 21,
- 27,
- 20,
- 28,
- 19,
- 29,
- 18,
- 30,
- 17,
- 31,
- 16,
- 32,
- 15,
- 33,
- 14,
- 34,
- 13,
- 35,
- 12,
- 36,
- 11,
- 37,
- 10,
- 38,
- 9,
- 39,
- 8,
- 40,
- 7,
- 41,
- 6,
- 42,
- 5,
- 43,
- 4,
- 44,
- 3,
- 45,
- 2,
- 46,
- 1,
- 47,
- 0,
- 48,
- };
- static long _vq_lengthlist__44c7_s_p9_2[] = {
- 2, 4, 3, 4, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6,
- 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7,
- };
- static float _vq_quantthresh__44c7_s_p9_2[] = {
- -23.5, -22.5, -21.5, -20.5, -19.5, -18.5, -17.5, -16.5,
- -15.5, -14.5, -13.5, -12.5, -11.5, -10.5, -9.5, -8.5,
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- 8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5,
- 16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 22.5, 23.5,
- };
- static long _vq_quantmap__44c7_s_p9_2[] = {
- 47, 45, 43, 41, 39, 37, 35, 33,
- 31, 29, 27, 25, 23, 21, 19, 17,
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16, 18, 20, 22, 24, 26, 28, 30,
- 32, 34, 36, 38, 40, 42, 44, 46,
- 48,
- };
- static encode_aux_threshmatch _vq_auxt__44c7_s_p9_2 = {
- _vq_quantthresh__44c7_s_p9_2,
- _vq_quantmap__44c7_s_p9_2,
- 49,
- 49
- };
- static static_codebook _44c7_s_p9_2 = {
- 1, 49,
- _vq_lengthlist__44c7_s_p9_2,
- 1, -526909440, 1611661312, 6, 0,
- _vq_quantlist__44c7_s_p9_2,
- NULL,
- &_vq_auxt__44c7_s_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c7_s_short[] = {
- 4,10,12,13,15,15,16,16,17,17, 5, 5, 7, 8, 9, 9,
- 12,17,18,18, 7, 5, 4, 5, 7, 8,10,13,18,18, 8, 6,
- 5, 4, 5, 6, 9,12,17,18,10, 9, 6, 4, 4, 5, 8,12,
- 18,17,11, 9, 7, 5, 4, 4, 6,10,17,17,13,12,10, 8,
- 6, 5, 6, 9,17,17,14,13,12, 7, 6, 5, 5, 8,16,17,
- 16,15,14, 8, 8, 7, 7, 9,14,17,17,17,17,12,11,11,
- 11,12,16,17,
- };
- static static_codebook _huff_book__44c7_s_short = {
- 2, 100,
- _huff_lengthlist__44c7_s_short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c8_s_long[] = {
- 3, 8,12,14,14,13,13,12,13,15, 6, 4, 6, 8,10,10,
- 11,11,13,15, 9, 5, 4, 5, 7, 8, 9,10,13,15,11, 7,
- 4, 4, 5, 6, 8, 9,13,14,12, 9, 6, 5, 5, 5, 7, 9,
- 12,14,11,10, 7, 6, 5, 4, 6, 7,11,12,11,10, 9, 8,
- 7, 5, 6, 6,10,11,12,11,10, 9, 8, 6, 6, 5, 8,10,
- 12,12,12,11,11,10, 9, 7, 8,11,12,13,14,14,15,13,
- 10, 9, 9,11,
- };
- static static_codebook _huff_book__44c8_s_long = {
- 2, 100,
- _huff_lengthlist__44c8_s_long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44c8_s_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c8_s_p1_0[] = {
- 1, 5, 5, 0, 5, 5, 0, 5, 5, 6, 7, 7, 0, 9, 8, 0,
- 8, 8, 6, 7, 8, 0, 8, 9, 0, 8, 8, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 5, 8, 8, 0, 8, 8, 0, 8, 8, 5, 8, 8,
- 0, 8, 8, 0, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5,
- 8, 8, 0, 8, 8, 0, 8, 7, 5, 8, 8, 0, 8, 8, 0, 7,
- 8,
- };
- static float _vq_quantthresh__44c8_s_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44c8_s_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c8_s_p1_0 = {
- _vq_quantthresh__44c8_s_p1_0,
- _vq_quantmap__44c8_s_p1_0,
- 3,
- 3
- };
- static static_codebook _44c8_s_p1_0 = {
- 4, 81,
- _vq_lengthlist__44c8_s_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44c8_s_p1_0,
- NULL,
- &_vq_auxt__44c8_s_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c8_s_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c8_s_p2_0[] = {
- 3, 5, 5, 8, 8, 0, 6, 6, 8, 8, 0, 5, 6, 8, 8, 0,
- 7, 7, 9, 9, 0, 0, 0, 9, 9, 5, 7, 6, 9, 9, 0, 7,
- 7,10, 9, 0, 7, 7,10, 9, 0, 9, 9,11,11, 0, 0, 0,
- 11,11, 5, 6, 7, 9, 9, 0, 7, 7, 9,10, 0, 7, 7, 9,
- 10, 0, 9, 9,11,11, 0, 0, 0,11,11, 8, 9, 9,11,10,
- 0,11,10,12,11, 0,10,10,12,11, 0,13,13,14,13, 0,
- 0, 0,14,13, 8, 9, 9,10,11, 0,10,11,11,12, 0,10,
- 10,12,12, 0,13,13,13,14, 0, 0, 0,13,14, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 6, 7, 7,10,10, 0, 7, 7,10,10,
- 0, 7, 7,10,10, 0, 9, 8,10,10, 0, 0, 0,10,10, 6,
- 7, 7,10,10, 0, 7, 7,10,10, 0, 7, 7,10,10, 0, 8,
- 9,10,10, 0, 0, 0,10,10, 8,10, 9,12,12, 0,10, 9,
- 12,11, 0,10,10,11,12, 0,12,11,13,12, 0, 0, 0,13,
- 13, 8, 9,10,11,12, 0, 9,10,11,12, 0,10,10,11,12,
- 0,11,12,12,13, 0, 0, 0,13,13, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 6, 8, 7,11,10, 0, 7, 7,10,10, 0, 7, 7,
- 10, 9, 0, 8, 9,10,10, 0, 0, 0,10,10, 6, 7, 8,10,
- 11, 0, 7, 7,10,10, 0, 7, 7,10,10, 0, 9, 8,10,10,
- 0, 0, 0,10,10, 8,10, 9,12,11, 0,10,10,12,11, 0,
- 10,10,12,11, 0,11,12,13,12, 0, 0, 0,13,12, 9, 9,
- 10,11,12, 0,10,10,11,12, 0,10,10,11,12, 0,12,11,
- 12,13, 0, 0, 0,12,13, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 7, 9, 9,12,13, 0, 9, 8,12,11, 0, 8, 9,11,12, 0,
- 10, 9,12,11, 0, 0, 0,11,12, 7, 9, 9,13,13, 0, 9,
- 9,11,12, 0, 9, 8,12,11, 0, 9,10,11,12, 0, 0, 0,
- 12,11, 9,11,11,14,13, 0,10,10,13,12, 0,10,10,13,
- 13, 0,12,11,13,12, 0, 0, 0,13,13, 9,11,11,13,14,
- 0,10,10,12,13, 0,10,10,13,13, 0,11,12,12,13, 0,
- 0, 0,13,13, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9,
- 11,11,14,13, 0,10,10,13,12, 0,10,10,13,12, 0,11,
- 12,13,13, 0, 0, 0,13,12, 9,11,11,13,14, 0,10,10,
- 13,13, 0,10,10,12,13, 0,12,11,13,13, 0, 0, 0,12,
- 13,
- };
- static float _vq_quantthresh__44c8_s_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c8_s_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c8_s_p2_0 = {
- _vq_quantthresh__44c8_s_p2_0,
- _vq_quantmap__44c8_s_p2_0,
- 5,
- 5
- };
- static static_codebook _44c8_s_p2_0 = {
- 4, 625,
- _vq_lengthlist__44c8_s_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c8_s_p2_0,
- NULL,
- &_vq_auxt__44c8_s_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c8_s_p3_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c8_s_p3_0[] = {
- 3, 3, 4, 5, 5, 7, 6, 8, 8, 0, 4, 4, 5, 5, 7, 7,
- 9, 9, 0, 4, 4, 5, 6, 7, 7, 9, 9, 0, 5, 5, 6, 6,
- 8, 8,10,10, 0, 0, 0, 6, 6, 8, 8,10,10, 0, 0, 0,
- 7, 7, 8, 8,10,10, 0, 0, 0, 7, 7, 8, 8,10,10, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c8_s_p3_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c8_s_p3_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c8_s_p3_0 = {
- _vq_quantthresh__44c8_s_p3_0,
- _vq_quantmap__44c8_s_p3_0,
- 9,
- 9
- };
- static static_codebook _44c8_s_p3_0 = {
- 2, 81,
- _vq_lengthlist__44c8_s_p3_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c8_s_p3_0,
- NULL,
- &_vq_auxt__44c8_s_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c8_s_p4_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c8_s_p4_0[] = {
- 3, 4, 4, 5, 5, 7, 7, 8, 8, 8, 8, 9, 9,10,10,10,
- 10, 0, 4, 4, 6, 6, 7, 7, 8, 8, 9, 9,10,10,10,10,
- 11,11, 0, 4, 4, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11,
- 10,11,11, 0, 5, 5, 6, 6, 8, 8, 9, 9, 9, 9,10,10,
- 11,11,12,12, 0, 0, 0, 6, 6, 8, 8, 9, 9, 9, 9,10,
- 10,11,11,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9,10,10,
- 11,11,12,12,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9,10,
- 10,11,11,12,12,12,12, 0, 0, 0, 7, 7, 8, 8, 9, 9,
- 10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 8, 8, 9,
- 9,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c8_s_p4_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c8_s_p4_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c8_s_p4_0 = {
- _vq_quantthresh__44c8_s_p4_0,
- _vq_quantmap__44c8_s_p4_0,
- 17,
- 17
- };
- static static_codebook _44c8_s_p4_0 = {
- 2, 289,
- _vq_lengthlist__44c8_s_p4_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c8_s_p4_0,
- NULL,
- &_vq_auxt__44c8_s_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c8_s_p5_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c8_s_p5_0[] = {
- 1, 4, 4, 5, 7, 7, 6, 7, 7, 4, 6, 6,10,10,10,10,
- 10,10, 4, 6, 6,10,10,10,10,10,10, 5,10,10, 9,12,
- 12,10,12,12, 7,10,10,12,12,12,12,12,12, 7,10,10,
- 12,12,12,12,12,13, 6,10,10,10,12,12,11,12,12, 8,
- 10,10,12,13,12,12,12,12, 7,10,10,12,12,13,12,13,
- 12,
- };
- static float _vq_quantthresh__44c8_s_p5_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44c8_s_p5_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c8_s_p5_0 = {
- _vq_quantthresh__44c8_s_p5_0,
- _vq_quantmap__44c8_s_p5_0,
- 3,
- 3
- };
- static static_codebook _44c8_s_p5_0 = {
- 4, 81,
- _vq_lengthlist__44c8_s_p5_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44c8_s_p5_0,
- NULL,
- &_vq_auxt__44c8_s_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c8_s_p5_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c8_s_p5_1[] = {
- 4, 5, 5, 6, 6, 7, 7, 7, 7, 7, 7,10, 4, 4, 6, 6,
- 7, 7, 8, 8, 8, 8,10, 5, 5, 6, 6, 7, 7, 8, 8, 8,
- 8,11, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8,11,11,11, 6,
- 6, 7, 7, 8, 8, 8, 8,11,11,11, 6, 6, 7, 7, 8, 8,
- 8, 8,11,11,11, 6, 6, 7, 7, 8, 8, 8, 8,11,11,11,
- 7, 7, 7, 7, 8, 8, 8, 8,11,11,11,11,11, 7, 7, 8,
- 8, 8, 8,11,11,11,11,11, 7, 7, 7, 7, 8, 8,11,11,
- 11,11,11, 7, 7, 7, 7, 8, 8,
- };
- static float _vq_quantthresh__44c8_s_p5_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c8_s_p5_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c8_s_p5_1 = {
- _vq_quantthresh__44c8_s_p5_1,
- _vq_quantmap__44c8_s_p5_1,
- 11,
- 11
- };
- static static_codebook _44c8_s_p5_1 = {
- 2, 121,
- _vq_lengthlist__44c8_s_p5_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c8_s_p5_1,
- NULL,
- &_vq_auxt__44c8_s_p5_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c8_s_p6_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c8_s_p6_0[] = {
- 1, 4, 4, 7, 6, 8, 8, 9, 9,10,10,11,11, 5, 5, 5,
- 7, 7, 9, 9,10, 9,11,11,12,12, 6, 5, 5, 7, 7, 9,
- 9,10,10,11,11,12,12, 0, 6, 6, 7, 7, 9, 9,10,10,
- 11,11,12,12, 0, 7, 7, 7, 7, 9, 9,10,10,12,12,12,
- 12, 0,10,10, 8, 8,10,10,11,11,12,12,13,13, 0,11,
- 11, 8, 8,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,
- };
- static float _vq_quantthresh__44c8_s_p6_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44c8_s_p6_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c8_s_p6_0 = {
- _vq_quantthresh__44c8_s_p6_0,
- _vq_quantmap__44c8_s_p6_0,
- 13,
- 13
- };
- static static_codebook _44c8_s_p6_0 = {
- 2, 169,
- _vq_lengthlist__44c8_s_p6_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44c8_s_p6_0,
- NULL,
- &_vq_auxt__44c8_s_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c8_s_p6_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c8_s_p6_1[] = {
- 3, 4, 4, 5, 5, 5, 4, 4, 5, 5, 5, 4, 4, 5, 5, 6,
- 5, 5, 5, 5, 6, 6, 6, 5, 5,
- };
- static float _vq_quantthresh__44c8_s_p6_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c8_s_p6_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c8_s_p6_1 = {
- _vq_quantthresh__44c8_s_p6_1,
- _vq_quantmap__44c8_s_p6_1,
- 5,
- 5
- };
- static static_codebook _44c8_s_p6_1 = {
- 2, 25,
- _vq_lengthlist__44c8_s_p6_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c8_s_p6_1,
- NULL,
- &_vq_auxt__44c8_s_p6_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c8_s_p7_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c8_s_p7_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 9, 9,10,10,11,11, 5, 5, 5,
- 7, 7, 9, 9,10,10,11,11,12,12, 6, 5, 5, 7, 7, 9,
- 9,10,10,11,11,12,12,20, 6, 7, 7, 7, 9, 9,10,10,
- 11,11,12,12,20, 7, 7, 7, 7, 9, 9,10,10,11,11,12,
- 12,20,11,11, 8, 8,10,10,11,11,12,12,12,12,20,12,
- 12, 8, 8,10, 9,11,11,12,12,13,13,20,20,20,11,10,
- 10,10,11,11,12,12,13,13,20,20,20,10,11,10,10,11,
- 11,12,12,13,13,20,20,20,14,15,11,11,12,12,13,13,
- 14,13,20,20,20,15,15,11,11,12,12,13,13,14,14,20,
- 20,20,20,19,13,13,12,12,13,13,14,14,19,19,19,19,
- 19,13,13,12,12,13,13,14,14,
- };
- static float _vq_quantthresh__44c8_s_p7_0[] = {
- -60.5, -49.5, -38.5, -27.5, -16.5, -5.5, 5.5, 16.5,
- 27.5, 38.5, 49.5, 60.5,
- };
- static long _vq_quantmap__44c8_s_p7_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c8_s_p7_0 = {
- _vq_quantthresh__44c8_s_p7_0,
- _vq_quantmap__44c8_s_p7_0,
- 13,
- 13
- };
- static static_codebook _44c8_s_p7_0 = {
- 2, 169,
- _vq_lengthlist__44c8_s_p7_0,
- 1, -523206656, 1618345984, 4, 0,
- _vq_quantlist__44c8_s_p7_0,
- NULL,
- &_vq_auxt__44c8_s_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c8_s_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c8_s_p7_1[] = {
- 4, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 5, 5, 7, 7,
- 7, 7, 7, 7, 7, 7, 8, 5, 5, 7, 7, 7, 7, 7, 7, 7,
- 7, 8, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 7,
- 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 7, 7, 7, 7, 7, 7,
- 7, 7, 8, 8, 8, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8,
- 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 7, 7, 7,
- 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 8, 8,
- 8, 8, 8, 7, 7, 7, 7, 7, 7,
- };
- static float _vq_quantthresh__44c8_s_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c8_s_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c8_s_p7_1 = {
- _vq_quantthresh__44c8_s_p7_1,
- _vq_quantmap__44c8_s_p7_1,
- 11,
- 11
- };
- static static_codebook _44c8_s_p7_1 = {
- 2, 121,
- _vq_lengthlist__44c8_s_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c8_s_p7_1,
- NULL,
- &_vq_auxt__44c8_s_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c8_s_p8_0[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__44c8_s_p8_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 8, 8, 9, 9,10,10,11,11, 6,
- 5, 5, 7, 7, 9, 9, 8, 8,10,10,11,11,11,12, 6, 5,
- 5, 7, 7, 9, 9, 9, 8,10,10,11,10,11,12,18, 8, 8,
- 8, 8, 9, 9, 9, 9,10,10,11,11,12,12,18, 8, 8, 8,
- 8, 9, 9, 9, 9,10,10,11,11,12,13,18,12,12, 9, 9,
- 10,10, 9, 9,10,11,11,12,13,12,18,12,12, 9, 9,10,
- 10,10,10,10,11,11,12,13,13,18,18,18, 9, 9, 9, 9,
- 10,10,11,11,12,12,12,12,18,18,18, 9, 9, 9, 9,10,
- 10,11,11,12,12,13,13,18,18,18,13,13,10,10,11,11,
- 12,11,12,12,13,13,18,18,18,14,14,10, 9,11,10,12,
- 12,12,12,13,13,18,18,18,18,18,11,12,11,11,12,12,
- 13,13,14,13,18,18,18,18,18,12,11,11,10,12,11,13,
- 13,13,14,18,18,18,18,18,15,16,12,12,12,13,13,13,
- 14,14,18,17,17,17,17,16,14,12,11,12,11,13,12,15,
- 14,
- };
- static float _vq_quantthresh__44c8_s_p8_0[] = {
- -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5, 10.5,
- 31.5, 52.5, 73.5, 94.5, 115.5, 136.5,
- };
- static long _vq_quantmap__44c8_s_p8_0[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__44c8_s_p8_0 = {
- _vq_quantthresh__44c8_s_p8_0,
- _vq_quantmap__44c8_s_p8_0,
- 15,
- 15
- };
- static static_codebook _44c8_s_p8_0 = {
- 2, 225,
- _vq_lengthlist__44c8_s_p8_0,
- 1, -520986624, 1620377600, 4, 0,
- _vq_quantlist__44c8_s_p8_0,
- NULL,
- &_vq_auxt__44c8_s_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c8_s_p8_1[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__44c8_s_p8_1[] = {
- 4, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 9, 9, 9, 9,10, 6, 6, 7, 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10,
- 10,10,10, 9,10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,
- 10,10,10,10,10,10,10,10,10,10, 9, 9, 9, 9, 9, 9,
- 9, 9,10, 9,10,10,10,10,10,10,10,10,10,10,10, 9,
- 9, 9, 9,10, 9, 9,10, 9, 9,
- };
- static float _vq_quantthresh__44c8_s_p8_1[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__44c8_s_p8_1[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__44c8_s_p8_1 = {
- _vq_quantthresh__44c8_s_p8_1,
- _vq_quantmap__44c8_s_p8_1,
- 21,
- 21
- };
- static static_codebook _44c8_s_p8_1 = {
- 2, 441,
- _vq_lengthlist__44c8_s_p8_1,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__44c8_s_p8_1,
- NULL,
- &_vq_auxt__44c8_s_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c8_s_p9_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c8_s_p9_0[] = {
- 1, 5, 5,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10, 7,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10, 6, 8,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9,
- };
- static float _vq_quantthresh__44c8_s_p9_0[] = {
- -6982.5, -6051.5, -5120.5, -4189.5, -3258.5, -2327.5, -1396.5, -465.5,
- 465.5, 1396.5, 2327.5, 3258.5, 4189.5, 5120.5, 6051.5, 6982.5,
- };
- static long _vq_quantmap__44c8_s_p9_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c8_s_p9_0 = {
- _vq_quantthresh__44c8_s_p9_0,
- _vq_quantmap__44c8_s_p9_0,
- 17,
- 17
- };
- static static_codebook _44c8_s_p9_0 = {
- 2, 289,
- _vq_lengthlist__44c8_s_p9_0,
- 1, -509798400, 1631393792, 5, 0,
- _vq_quantlist__44c8_s_p9_0,
- NULL,
- &_vq_auxt__44c8_s_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c8_s_p9_1[] = {
- 9,
- 8,
- 10,
- 7,
- 11,
- 6,
- 12,
- 5,
- 13,
- 4,
- 14,
- 3,
- 15,
- 2,
- 16,
- 1,
- 17,
- 0,
- 18,
- };
- static long _vq_lengthlist__44c8_s_p9_1[] = {
- 1, 4, 4, 7, 7, 7, 7, 7, 7, 9, 9,10,10,11,10,13,
- 12,11,12, 6, 6, 6, 8, 8, 8, 8, 8, 8, 9,10,10,10,
- 12,12,12,12,13,15, 5, 5, 5, 8, 8, 8, 8, 8, 8,10,
- 9,10,11,12,13,12,13,13,12,15, 9, 8, 9, 9, 9, 9,
- 9, 9,10,10,10,11,14,12,13,15,12,14,15, 8, 9, 9,
- 9, 9, 9, 9, 9,10,10,12,11,12,11,12,13,13,13,15,
- 13,13, 9, 9,10, 9,10,10,11,10,11,12,12,12,14,13,
- 14,15,15,13,13, 9, 8,10, 9,10,10,11,10,12,12,13,
- 13,14,13,14,15,15,15,15, 9, 9, 9, 9,10,11,12,12,
- 12,13,13,13,14,15,15,14,15,15,15, 9, 7, 9, 8,12,
- 11,11,13,12,12,13,12,14,13,13,14,15,15,15,13,13,
- 10,10,12,11,13,13,12,12,13,13,14,13,13,15,15,15,
- 15,12,13,11, 9,11,10,12,12,15,13,13,13,14,13,14,
- 13,15,15,15,15,15,12,12,11,11,12,13,15,13,13,14,
- 14,14,15,14,15,15,15,15,15,13,11,12,11,12,11,13,
- 14,13,13,14,14,13,14,15,15,15,15,15,15,15,12,12,
- 12,13,15,13,15,14,15,14,13,15,15,15,15,15,15,14,
- 15,13,13,12,11,14,12,15,13,14,14,14,13,15,15,15,
- 15,15,15,15,14,13,14,13,15,13,15,15,15,14,15,14,
- 15,15,15,15,15,15,15,14,14,14,13,13,13,15,15,15,
- 15,14,15,15,15,15,15,15,15,15,15,15,12,13,13,13,
- 14,15,15,13,15,15,15,15,15,15,15,15,15,15,15,15,
- 15,14,14,15,15,15,14,14,15,
- };
- static float _vq_quantthresh__44c8_s_p9_1[] = {
- -416.5, -367.5, -318.5, -269.5, -220.5, -171.5, -122.5, -73.5,
- -24.5, 24.5, 73.5, 122.5, 171.5, 220.5, 269.5, 318.5,
- 367.5, 416.5,
- };
- static long _vq_quantmap__44c8_s_p9_1[] = {
- 17, 15, 13, 11, 9, 7, 5, 3,
- 1, 0, 2, 4, 6, 8, 10, 12,
- 14, 16, 18,
- };
- static encode_aux_threshmatch _vq_auxt__44c8_s_p9_1 = {
- _vq_quantthresh__44c8_s_p9_1,
- _vq_quantmap__44c8_s_p9_1,
- 19,
- 19
- };
- static static_codebook _44c8_s_p9_1 = {
- 2, 361,
- _vq_lengthlist__44c8_s_p9_1,
- 1, -518287360, 1622704128, 5, 0,
- _vq_quantlist__44c8_s_p9_1,
- NULL,
- &_vq_auxt__44c8_s_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c8_s_p9_2[] = {
- 24,
- 23,
- 25,
- 22,
- 26,
- 21,
- 27,
- 20,
- 28,
- 19,
- 29,
- 18,
- 30,
- 17,
- 31,
- 16,
- 32,
- 15,
- 33,
- 14,
- 34,
- 13,
- 35,
- 12,
- 36,
- 11,
- 37,
- 10,
- 38,
- 9,
- 39,
- 8,
- 40,
- 7,
- 41,
- 6,
- 42,
- 5,
- 43,
- 4,
- 44,
- 3,
- 45,
- 2,
- 46,
- 1,
- 47,
- 0,
- 48,
- };
- static long _vq_lengthlist__44c8_s_p9_2[] = {
- 3, 4, 3, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6,
- 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 6, 7, 6, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7,
- };
- static float _vq_quantthresh__44c8_s_p9_2[] = {
- -23.5, -22.5, -21.5, -20.5, -19.5, -18.5, -17.5, -16.5,
- -15.5, -14.5, -13.5, -12.5, -11.5, -10.5, -9.5, -8.5,
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- 8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5,
- 16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 22.5, 23.5,
- };
- static long _vq_quantmap__44c8_s_p9_2[] = {
- 47, 45, 43, 41, 39, 37, 35, 33,
- 31, 29, 27, 25, 23, 21, 19, 17,
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16, 18, 20, 22, 24, 26, 28, 30,
- 32, 34, 36, 38, 40, 42, 44, 46,
- 48,
- };
- static encode_aux_threshmatch _vq_auxt__44c8_s_p9_2 = {
- _vq_quantthresh__44c8_s_p9_2,
- _vq_quantmap__44c8_s_p9_2,
- 49,
- 49
- };
- static static_codebook _44c8_s_p9_2 = {
- 1, 49,
- _vq_lengthlist__44c8_s_p9_2,
- 1, -526909440, 1611661312, 6, 0,
- _vq_quantlist__44c8_s_p9_2,
- NULL,
- &_vq_auxt__44c8_s_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c8_s_short[] = {
- 4,11,13,14,16,15,16,16,17,16, 5, 6, 8, 9,10, 9,
- 11,17,16,17, 6, 6, 6, 6, 7, 8, 9,14,16,17, 8, 6,
- 5, 4, 6, 7, 9,12,14,17, 9, 7, 6, 5, 5, 5, 8,11,
- 14,17,10, 9, 7, 6, 5, 3, 5, 8,13,17,12,11, 9, 8,
- 7, 4, 4, 6,14,17,13,13,12, 8, 7, 5, 4, 5,12,17,
- 17,14,15,10, 8, 7, 7, 7,11,17,17,16,17,14,12,10,
- 11,11,15,17,
- };
- static static_codebook _huff_book__44c8_s_short = {
- 2, 100,
- _huff_lengthlist__44c8_s_short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c9_s_long[] = {
- 3, 8,13,14,15,15,13,13,14,14, 6, 5, 8,10,12,12,
- 13,12,13,14,10, 6, 5, 6, 8, 9,11,11,13,14,13, 8,
- 5, 4, 5, 6, 9,10,13,14,14,11, 7, 5, 4, 5, 8, 9,
- 12,14,12,11, 8, 6, 5, 3, 5, 7,10,13,12,10,10, 8,
- 7, 5, 4, 6, 9,12,13,12,11,10, 9, 6, 5, 5, 7,10,
- 13,12,12,11,11, 9, 8, 7, 8,10,12,12,13,13,14,12,
- 10, 9, 9,10,
- };
- static static_codebook _huff_book__44c9_s_long = {
- 2, 100,
- _huff_lengthlist__44c9_s_long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44c9_s_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c9_s_p1_0[] = {
- 1, 5, 5, 0, 5, 5, 0, 5, 5, 6, 8, 8, 0, 9, 8, 0,
- 8, 8, 6, 8, 8, 0, 8, 9, 0, 8, 8, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 5, 8, 8, 0, 8, 7, 0, 8, 8, 5, 8, 8,
- 0, 7, 8, 0, 8, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5,
- 9, 8, 0, 8, 8, 0, 7, 7, 5, 8, 9, 0, 8, 8, 0, 7,
- 7,
- };
- static float _vq_quantthresh__44c9_s_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44c9_s_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c9_s_p1_0 = {
- _vq_quantthresh__44c9_s_p1_0,
- _vq_quantmap__44c9_s_p1_0,
- 3,
- 3
- };
- static static_codebook _44c9_s_p1_0 = {
- 4, 81,
- _vq_lengthlist__44c9_s_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44c9_s_p1_0,
- NULL,
- &_vq_auxt__44c9_s_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c9_s_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c9_s_p2_0[] = {
- 3, 6, 6, 8, 8, 0, 6, 6, 8, 8, 0, 5, 5, 8, 8, 0,
- 7, 7, 9, 9, 0, 0, 0, 9, 9, 6, 7, 7, 9, 8, 0, 8,
- 7, 9, 9, 0, 7, 7, 9, 9, 0, 9, 9,11,10, 0, 0, 0,
- 10,10, 6, 7, 7, 8, 9, 0, 7, 8, 9, 9, 0, 7, 7, 9,
- 9, 0, 9, 9,10,11, 0, 0, 0,10,10, 8, 9, 9,10,10,
- 0,10,10,11,11, 0,10,10,11,11, 0,12,12,13,12, 0,
- 0, 0,13,13, 8, 8, 9,10,10, 0,10,10,11,12, 0,10,
- 10,11,11, 0,12,12,13,13, 0, 0, 0,13,13, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 6, 8, 7,10,10, 0, 7, 7,10, 9,
- 0, 7, 7,10,10, 0, 9, 8,10,10, 0, 0, 0,10,10, 6,
- 7, 7,10,10, 0, 7, 7, 9,10, 0, 7, 7,10,10, 0, 8,
- 9,10,10, 0, 0, 0,10,10, 8, 9, 9,11,11, 0,10, 9,
- 11,11, 0,10,10,11,11, 0,11,11,12,12, 0, 0, 0,12,
- 12, 8, 9, 9,11,11, 0, 9,10,11,11, 0,10,10,11,11,
- 0,11,11,12,12, 0, 0, 0,12,12, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 5, 8, 7,10,10, 0, 7, 7,10,10, 0, 7, 7,
- 10, 9, 0, 8, 9,10,10, 0, 0, 0,10, 9, 5, 7, 8,10,
- 10, 0, 7, 7,10,10, 0, 7, 7, 9,10, 0, 9, 8,10,10,
- 0, 0, 0,10,10, 8, 9, 9,12,11, 0,10,10,11,11, 0,
- 10, 9,11,11, 0,11,11,12,12, 0, 0, 0,12,12, 8, 9,
- 9,11,11, 0,10,10,11,11, 0, 9,10,11,11, 0,11,11,
- 12,12, 0, 0, 0,12,12, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 7, 9, 9,12,12, 0, 9, 9,11,11, 0, 8, 9,11,11, 0,
- 10, 9,12,11, 0, 0, 0,11,11, 7, 9, 9,12,12, 0, 8,
- 9,11,11, 0, 9, 8,11,11, 0, 9,10,11,11, 0, 0, 0,
- 11,11, 9,11,11,13,13, 0,10,10,12,12, 0,10,10,12,
- 12, 0,12,11,12,12, 0, 0, 0,13,13, 9,10,11,13,13,
- 0,10,10,12,12, 0,10,10,12,12, 0,11,11,12,12, 0,
- 0, 0,12,12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9,
- 11,10,13,13, 0,10,10,12,12, 0,10, 9,12,12, 0,11,
- 11,12,13, 0, 0, 0,12,11, 9,10,10,12,13, 0,10,10,
- 12,12, 0,10,10,12,12, 0,11,11,13,12, 0, 0, 0,12,
- 12,
- };
- static float _vq_quantthresh__44c9_s_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c9_s_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c9_s_p2_0 = {
- _vq_quantthresh__44c9_s_p2_0,
- _vq_quantmap__44c9_s_p2_0,
- 5,
- 5
- };
- static static_codebook _44c9_s_p2_0 = {
- 4, 625,
- _vq_lengthlist__44c9_s_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c9_s_p2_0,
- NULL,
- &_vq_auxt__44c9_s_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c9_s_p3_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44c9_s_p3_0[] = {
- 3, 4, 4, 5, 5, 6, 6, 8, 8, 0, 4, 4, 5, 5, 7, 6,
- 8, 8, 0, 4, 4, 5, 5, 7, 7, 8, 8, 0, 5, 5, 6, 6,
- 7, 7, 9, 9, 0, 0, 0, 6, 6, 7, 7, 9, 9, 0, 0, 0,
- 7, 7, 8, 8, 9, 9, 0, 0, 0, 7, 7, 8, 8, 9, 9, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c9_s_p3_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44c9_s_p3_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44c9_s_p3_0 = {
- _vq_quantthresh__44c9_s_p3_0,
- _vq_quantmap__44c9_s_p3_0,
- 9,
- 9
- };
- static static_codebook _44c9_s_p3_0 = {
- 2, 81,
- _vq_lengthlist__44c9_s_p3_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44c9_s_p3_0,
- NULL,
- &_vq_auxt__44c9_s_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c9_s_p4_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44c9_s_p4_0[] = {
- 4, 4, 4, 5, 5, 6, 6, 7, 7, 7, 7, 8, 8, 9, 9,10,
- 10, 0, 5, 5, 5, 5, 6, 6, 8, 7, 8, 8, 9, 9,10,10,
- 11,11, 0, 5, 5, 5, 5, 7, 7, 8, 8, 8, 8, 9, 9,10,
- 10,11,11, 0, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,
- 11,11,12,12, 0, 0, 0, 6, 6, 7, 7, 8, 8, 9, 9,10,
- 10,11,11,12,12, 0, 0, 0, 7, 7, 7, 7, 9, 9, 9, 9,
- 11,11,11,11,12,12, 0, 0, 0, 7, 7, 7, 8, 9, 9, 9,
- 9,11,10,11,11,12,12, 0, 0, 0, 7, 7, 7, 7, 9, 9,
- 10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 7, 7, 9,
- 9,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__44c9_s_p4_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44c9_s_p4_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44c9_s_p4_0 = {
- _vq_quantthresh__44c9_s_p4_0,
- _vq_quantmap__44c9_s_p4_0,
- 17,
- 17
- };
- static static_codebook _44c9_s_p4_0 = {
- 2, 289,
- _vq_lengthlist__44c9_s_p4_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44c9_s_p4_0,
- NULL,
- &_vq_auxt__44c9_s_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c9_s_p5_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44c9_s_p5_0[] = {
- 1, 4, 4, 5, 7, 7, 6, 7, 7, 4, 6, 6,10,10,10,10,
- 10,10, 4, 6, 6,10,10,10,10,10,10, 5,10,10, 9,12,
- 12,10,12,12, 7,10,10,12,12,12,12,12,13, 7,10,10,
- 12,12,12,12,13,13, 6,10,10,10,12,12,11,12,12, 8,
- 10,10,12,12,12,12,12,12, 7,10,10,12,12,13,12,12,
- 12,
- };
- static float _vq_quantthresh__44c9_s_p5_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44c9_s_p5_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44c9_s_p5_0 = {
- _vq_quantthresh__44c9_s_p5_0,
- _vq_quantmap__44c9_s_p5_0,
- 3,
- 3
- };
- static static_codebook _44c9_s_p5_0 = {
- 4, 81,
- _vq_lengthlist__44c9_s_p5_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44c9_s_p5_0,
- NULL,
- &_vq_auxt__44c9_s_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c9_s_p5_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c9_s_p5_1[] = {
- 4, 5, 5, 6, 6, 6, 7, 7, 7, 7, 7,10, 5, 5, 6, 6,
- 7, 7, 7, 7, 8, 8,10, 5, 5, 6, 6, 7, 7, 7, 7, 8,
- 8,11, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8,11,11,11, 6,
- 6, 7, 7, 8, 8, 8, 8,11,11,11, 6, 6, 7, 7, 8, 8,
- 8, 8,11,11,11, 6, 6, 7, 7, 7, 7, 8, 8,11,11,11,
- 7, 7, 7, 7, 7, 7, 8, 8,11,11,11,11,11, 7, 7, 7,
- 7, 8, 8,11,11,11,11,11, 7, 7, 7, 7, 7, 7,11,11,
- 11,11,11, 7, 7, 7, 7, 7, 7,
- };
- static float _vq_quantthresh__44c9_s_p5_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c9_s_p5_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c9_s_p5_1 = {
- _vq_quantthresh__44c9_s_p5_1,
- _vq_quantmap__44c9_s_p5_1,
- 11,
- 11
- };
- static static_codebook _44c9_s_p5_1 = {
- 2, 121,
- _vq_lengthlist__44c9_s_p5_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c9_s_p5_1,
- NULL,
- &_vq_auxt__44c9_s_p5_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c9_s_p6_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c9_s_p6_0[] = {
- 2, 4, 4, 6, 6, 7, 7, 8, 8, 9, 9,10,10, 5, 4, 4,
- 6, 6, 8, 8, 9, 9,10,10,11,11, 6, 4, 4, 6, 6, 8,
- 8, 9, 9,10,10,12,12, 0, 6, 6, 6, 6, 8, 8,10,10,
- 11,11,12,12, 0, 6, 6, 6, 6, 8, 8,10,10,11,11,12,
- 12, 0,10,10, 8, 8, 9, 9,11,11,12,12,13,13, 0,11,
- 11, 8, 8, 9,10,11,11,12,12,13,13, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,
- };
- static float _vq_quantthresh__44c9_s_p6_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44c9_s_p6_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c9_s_p6_0 = {
- _vq_quantthresh__44c9_s_p6_0,
- _vq_quantmap__44c9_s_p6_0,
- 13,
- 13
- };
- static static_codebook _44c9_s_p6_0 = {
- 2, 169,
- _vq_lengthlist__44c9_s_p6_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44c9_s_p6_0,
- NULL,
- &_vq_auxt__44c9_s_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c9_s_p6_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44c9_s_p6_1[] = {
- 4, 4, 4, 5, 5, 5, 4, 4, 5, 5, 5, 4, 4, 5, 5, 5,
- 5, 5, 5, 5, 5, 5, 5, 5, 5,
- };
- static float _vq_quantthresh__44c9_s_p6_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44c9_s_p6_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44c9_s_p6_1 = {
- _vq_quantthresh__44c9_s_p6_1,
- _vq_quantmap__44c9_s_p6_1,
- 5,
- 5
- };
- static static_codebook _44c9_s_p6_1 = {
- 2, 25,
- _vq_lengthlist__44c9_s_p6_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44c9_s_p6_1,
- NULL,
- &_vq_auxt__44c9_s_p6_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c9_s_p7_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44c9_s_p7_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 9, 9,10,10,11,11, 6, 5, 5,
- 7, 7, 9, 8,10,10,11,11,12,12, 6, 5, 5, 7, 7, 9,
- 9,10,10,11,11,12,12,20, 6, 6, 7, 7, 9, 9,10,10,
- 11,11,12,12,20, 7, 7, 7, 7, 9, 9,10,10,11,11,13,
- 12,20,10,10, 8, 8, 9, 9,11,11,12,12,13,13,20,11,
- 11, 8, 8, 9, 9,11,11,12,12,13,13,20,20,20,10,10,
- 10,10,11,11,12,12,13,13,20,20,20,10,10,10,10,11,
- 11,12,12,13,13,20,20,20,14,14,11,11,12,12,13,13,
- 14,13,20,20,20,14,15,11,11,11,11,13,13,14,13,20,
- 20,20,20,19,12,12,12,12,13,13,14,14,19,19,19,19,
- 19,13,13,12,12,13,13,14,14,
- };
- static float _vq_quantthresh__44c9_s_p7_0[] = {
- -60.5, -49.5, -38.5, -27.5, -16.5, -5.5, 5.5, 16.5,
- 27.5, 38.5, 49.5, 60.5,
- };
- static long _vq_quantmap__44c9_s_p7_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44c9_s_p7_0 = {
- _vq_quantthresh__44c9_s_p7_0,
- _vq_quantmap__44c9_s_p7_0,
- 13,
- 13
- };
- static static_codebook _44c9_s_p7_0 = {
- 2, 169,
- _vq_lengthlist__44c9_s_p7_0,
- 1, -523206656, 1618345984, 4, 0,
- _vq_quantlist__44c9_s_p7_0,
- NULL,
- &_vq_auxt__44c9_s_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c9_s_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44c9_s_p7_1[] = {
- 5, 6, 6, 6, 6, 7, 6, 7, 7, 7, 7, 8, 6, 6, 6, 6,
- 7, 7, 7, 7, 7, 7, 8, 6, 6, 6, 6, 7, 7, 7, 7, 7,
- 7, 8, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 8, 8, 8, 6,
- 6, 7, 7, 7, 7, 7, 7, 8, 8, 8, 7, 7, 7, 7, 7, 7,
- 7, 7, 8, 8, 8, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8,
- 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 7, 7, 7,
- 7, 7, 7, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 8, 8,
- 8, 8, 8, 7, 7, 7, 7, 7, 7,
- };
- static float _vq_quantthresh__44c9_s_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44c9_s_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44c9_s_p7_1 = {
- _vq_quantthresh__44c9_s_p7_1,
- _vq_quantmap__44c9_s_p7_1,
- 11,
- 11
- };
- static static_codebook _44c9_s_p7_1 = {
- 2, 121,
- _vq_lengthlist__44c9_s_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44c9_s_p7_1,
- NULL,
- &_vq_auxt__44c9_s_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c9_s_p8_0[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__44c9_s_p8_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 8, 8, 9, 9,10,10,11,11, 6,
- 5, 5, 7, 7, 9, 9, 8, 9,10,10,11,11,12,12, 6, 5,
- 5, 7, 7, 9, 9, 9, 9,10,10,11,11,12,12,19, 7, 8,
- 8, 8, 9, 9, 9, 9,10,10,11,11,12,13,19, 8, 8, 8,
- 8, 9, 9, 9, 9,10,10,11,12,12,12,19,12,12, 9, 9,
- 9,10, 9,10,10,10,12,12,12,12,19,12,12, 9, 9,10,
- 9,10,10,11,11,12,11,13,13,19,19,19, 9, 9, 9, 9,
- 10,10,11,11,12,12,12,12,19,19,19, 9, 9, 9, 9,10,
- 10,11,11,12,12,13,13,19,19,19,13,13,10,10,10,10,
- 12,12,12,12,13,13,19,19,19,13,13,10,10,10,10,12,
- 12,12,12,13,13,19,19,19,19,19,11,12,11,11,12,12,
- 13,12,13,13,19,19,19,18,18,12,11,11,10,12,11,13,
- 13,13,14,18,18,18,18,18,15,16,12,12,13,12,13,13,
- 14,14,18,18,18,18,18,16,15,12,11,12,11,13,13,14,
- 14,
- };
- static float _vq_quantthresh__44c9_s_p8_0[] = {
- -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5, 10.5,
- 31.5, 52.5, 73.5, 94.5, 115.5, 136.5,
- };
- static long _vq_quantmap__44c9_s_p8_0[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__44c9_s_p8_0 = {
- _vq_quantthresh__44c9_s_p8_0,
- _vq_quantmap__44c9_s_p8_0,
- 15,
- 15
- };
- static static_codebook _44c9_s_p8_0 = {
- 2, 225,
- _vq_lengthlist__44c9_s_p8_0,
- 1, -520986624, 1620377600, 4, 0,
- _vq_quantlist__44c9_s_p8_0,
- NULL,
- &_vq_auxt__44c9_s_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c9_s_p8_1[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__44c9_s_p8_1[] = {
- 4,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- 9, 9, 9, 9, 9,10,10,10,10,10,10,10,10,10,10,10,
- 10,10, 9, 9, 9,10, 9, 9, 9, 9,10,10,10,10,10,10,
- 10,10,10, 9,10, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,
- 10,10,10,10,10,10,10,10,10,10, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9,10,10,10,10,10,10,10,10,10,10,10, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9,
- };
- static float _vq_quantthresh__44c9_s_p8_1[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__44c9_s_p8_1[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__44c9_s_p8_1 = {
- _vq_quantthresh__44c9_s_p8_1,
- _vq_quantmap__44c9_s_p8_1,
- 21,
- 21
- };
- static static_codebook _44c9_s_p8_1 = {
- 2, 441,
- _vq_lengthlist__44c9_s_p8_1,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__44c9_s_p8_1,
- NULL,
- &_vq_auxt__44c9_s_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c9_s_p9_0[] = {
- 9,
- 8,
- 10,
- 7,
- 11,
- 6,
- 12,
- 5,
- 13,
- 4,
- 14,
- 3,
- 15,
- 2,
- 16,
- 1,
- 17,
- 0,
- 18,
- };
- static long _vq_lengthlist__44c9_s_p9_0[] = {
- 1, 4, 4,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10, 7, 9,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10, 7, 9,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9,
- };
- static float _vq_quantthresh__44c9_s_p9_0[] = {
- -7913.5, -6982.5, -6051.5, -5120.5, -4189.5, -3258.5, -2327.5, -1396.5,
- -465.5, 465.5, 1396.5, 2327.5, 3258.5, 4189.5, 5120.5, 6051.5,
- 6982.5, 7913.5,
- };
- static long _vq_quantmap__44c9_s_p9_0[] = {
- 17, 15, 13, 11, 9, 7, 5, 3,
- 1, 0, 2, 4, 6, 8, 10, 12,
- 14, 16, 18,
- };
- static encode_aux_threshmatch _vq_auxt__44c9_s_p9_0 = {
- _vq_quantthresh__44c9_s_p9_0,
- _vq_quantmap__44c9_s_p9_0,
- 19,
- 19
- };
- static static_codebook _44c9_s_p9_0 = {
- 2, 361,
- _vq_lengthlist__44c9_s_p9_0,
- 1, -508535424, 1631393792, 5, 0,
- _vq_quantlist__44c9_s_p9_0,
- NULL,
- &_vq_auxt__44c9_s_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44c9_s_p9_1[] = {
- 9,
- 8,
- 10,
- 7,
- 11,
- 6,
- 12,
- 5,
- 13,
- 4,
- 14,
- 3,
- 15,
- 2,
- 16,
- 1,
- 17,
- 0,
- 18,
- };
- static long _vq_lengthlist__44c9_s_p9_1[] = {
- 1, 4, 4, 7, 7, 8, 8, 8, 8, 9,10,10,10,12,11,12,
- 13,13,12, 6, 5, 5, 8, 8, 8, 9, 8, 9,10,10,11,11,
- 12,12,14,13,13,12, 5, 5, 5, 8, 8, 9, 8, 8, 9,10,
- 10,11,11,12,12,14,12,13,13,16, 8, 8, 9, 9, 9, 9,
- 9, 9,10,10,11,12,13,13,13,13,14,14,16, 8, 8, 9,
- 9, 9, 9, 9, 9,11,11,12,11,13,13,14,13,13,13,16,
- 14,13, 9, 9, 9, 9,10,10,11,12,12,13,13,13,14,13,
- 15,14,16,13,13, 9, 8, 9, 9,10,10,12,11,13,13,14,
- 14,14,14,15,14,16,16,16, 9, 9, 9, 9,10,10,12,12,
- 12,13,13,13,15,13,15,15,16,16,16, 9, 7, 9, 8,10,
- 11,11,12,12,13,13,16,15,14,14,14,16,16,16,13,13,
- 10,10,11,11,13,15,13,14,13,14,14,13,14,14,16,16,
- 16,13,12,10, 9,11,11,12,12,14,14,13,14,14,14,14,
- 14,16,16,16,16,16,12,13,11,11,12,13,13,13,14,15,
- 14,14,16,15,16,16,16,16,16,12,11,12,12,15,13,13,
- 13,14,13,15,14,15,14,16,16,16,16,16,14,15,12,13,
- 13,12,14,15,15,14,15,14,15,13,16,16,16,16,16,16,
- 16,13,13,14,12,16,12,16,15,14,15,14,14,16,16,16,
- 16,16,16,16,15,14,14,14,15,16,16,16,16,14,16,16,
- 16,16,16,16,16,16,16,14,14,14,12,15,11,15,13,16,
- 15,16,15,16,16,16,16,16,16,16,15,16,14,14,15,13,
- 15,16,16,16,16,15,16,16,16,16,16,16,16,16,16,15,
- 15,14,13,14,16,16,14,15,16,
- };
- static float _vq_quantthresh__44c9_s_p9_1[] = {
- -416.5, -367.5, -318.5, -269.5, -220.5, -171.5, -122.5, -73.5,
- -24.5, 24.5, 73.5, 122.5, 171.5, 220.5, 269.5, 318.5,
- 367.5, 416.5,
- };
- static long _vq_quantmap__44c9_s_p9_1[] = {
- 17, 15, 13, 11, 9, 7, 5, 3,
- 1, 0, 2, 4, 6, 8, 10, 12,
- 14, 16, 18,
- };
- static encode_aux_threshmatch _vq_auxt__44c9_s_p9_1 = {
- _vq_quantthresh__44c9_s_p9_1,
- _vq_quantmap__44c9_s_p9_1,
- 19,
- 19
- };
- static static_codebook _44c9_s_p9_1 = {
- 2, 361,
- _vq_lengthlist__44c9_s_p9_1,
- 1, -518287360, 1622704128, 5, 0,
- _vq_quantlist__44c9_s_p9_1,
- NULL,
- &_vq_auxt__44c9_s_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44c9_s_p9_2[] = {
- 24,
- 23,
- 25,
- 22,
- 26,
- 21,
- 27,
- 20,
- 28,
- 19,
- 29,
- 18,
- 30,
- 17,
- 31,
- 16,
- 32,
- 15,
- 33,
- 14,
- 34,
- 13,
- 35,
- 12,
- 36,
- 11,
- 37,
- 10,
- 38,
- 9,
- 39,
- 8,
- 40,
- 7,
- 41,
- 6,
- 42,
- 5,
- 43,
- 4,
- 44,
- 3,
- 45,
- 2,
- 46,
- 1,
- 47,
- 0,
- 48,
- };
- static long _vq_lengthlist__44c9_s_p9_2[] = {
- 3, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6,
- 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
- 6, 7, 6, 6, 7, 7, 6, 7, 6, 7, 7, 7, 7, 7, 7, 7,
- 7,
- };
- static float _vq_quantthresh__44c9_s_p9_2[] = {
- -23.5, -22.5, -21.5, -20.5, -19.5, -18.5, -17.5, -16.5,
- -15.5, -14.5, -13.5, -12.5, -11.5, -10.5, -9.5, -8.5,
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- 8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5,
- 16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 22.5, 23.5,
- };
- static long _vq_quantmap__44c9_s_p9_2[] = {
- 47, 45, 43, 41, 39, 37, 35, 33,
- 31, 29, 27, 25, 23, 21, 19, 17,
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16, 18, 20, 22, 24, 26, 28, 30,
- 32, 34, 36, 38, 40, 42, 44, 46,
- 48,
- };
- static encode_aux_threshmatch _vq_auxt__44c9_s_p9_2 = {
- _vq_quantthresh__44c9_s_p9_2,
- _vq_quantmap__44c9_s_p9_2,
- 49,
- 49
- };
- static static_codebook _44c9_s_p9_2 = {
- 1, 49,
- _vq_lengthlist__44c9_s_p9_2,
- 1, -526909440, 1611661312, 6, 0,
- _vq_quantlist__44c9_s_p9_2,
- NULL,
- &_vq_auxt__44c9_s_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44c9_s_short[] = {
- 5,13,17,15,16,16,18,17,18,18, 5, 7,10,12,12,12,
- 12,17,18,17, 7, 6, 7, 8, 9, 9, 9,13,17,17, 8, 6,
- 6, 5, 6, 7, 8,11,16,18, 9, 7, 7, 5, 5, 6, 7,10,
- 15,18, 9, 8, 7, 6, 5, 4, 5, 7,13,17,11,11, 9, 8,
- 7, 4, 3, 5,12,18,13,13,12,10, 7, 5, 4, 3, 8,13,
- 16,16,16,13, 8, 8, 7, 5, 8,12,15,18,17,15,11,10,
- 9, 8,10,14,
- };
- static static_codebook _huff_book__44c9_s_short = {
- 2, 100,
- _huff_lengthlist__44c9_s_short,
- 0, 0, 0, 0, 0,
- NULL,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 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__8c0_s_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__8c0_s_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__8c0_s_p1_0 = {
- _vq_quantthresh__8c0_s_p1_0,
- _vq_quantmap__8c0_s_p1_0,
- 3,
- 3
- };
- static static_codebook _8c0_s_p1_0 = {
- 8, 6561,
- _vq_lengthlist__8c0_s_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__8c0_s_p1_0,
- NULL,
- &_vq_auxt__8c0_s_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c0_s_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__8c0_s_p2_0[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0,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 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__8c0_s_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__8c0_s_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__8c0_s_p2_0 = {
- _vq_quantthresh__8c0_s_p2_0,
- _vq_quantmap__8c0_s_p2_0,
- 5,
- 5
- };
- static static_codebook _8c0_s_p2_0 = {
- 4, 625,
- _vq_lengthlist__8c0_s_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__8c0_s_p2_0,
- NULL,
- &_vq_auxt__8c0_s_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c0_s_p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__8c0_s_p3_0[] = {
- 1, 4, 4, 6, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 5, 6, 7, 7, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 4, 5, 5, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0,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0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__8c0_s_p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__8c0_s_p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__8c0_s_p3_0 = {
- _vq_quantthresh__8c0_s_p3_0,
- _vq_quantmap__8c0_s_p3_0,
- 5,
- 5
- };
- static static_codebook _8c0_s_p3_0 = {
- 4, 625,
- _vq_lengthlist__8c0_s_p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__8c0_s_p3_0,
- NULL,
- &_vq_auxt__8c0_s_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c0_s_p4_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__8c0_s_p4_0[] = {
- 1, 2, 3, 7, 7, 0, 0, 0, 0, 0, 0, 0, 6, 6, 0, 0,
- 0, 0, 0, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 0, 7, 7,
- 0, 0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 0, 0, 0, 0,
- 8, 8, 0, 0, 0, 0, 0, 0, 0, 9, 8, 0, 0, 0, 0, 0,
- 0, 0,10,10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__8c0_s_p4_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__8c0_s_p4_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__8c0_s_p4_0 = {
- _vq_quantthresh__8c0_s_p4_0,
- _vq_quantmap__8c0_s_p4_0,
- 9,
- 9
- };
- static static_codebook _8c0_s_p4_0 = {
- 2, 81,
- _vq_lengthlist__8c0_s_p4_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__8c0_s_p4_0,
- NULL,
- &_vq_auxt__8c0_s_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c0_s_p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__8c0_s_p5_0[] = {
- 1, 3, 3, 5, 5, 7, 6, 8, 8, 0, 0, 0, 7, 7, 7, 7,
- 8, 8, 0, 0, 0, 7, 7, 7, 7, 8, 9, 0, 0, 0, 8, 8,
- 8, 8, 9, 9, 0, 0, 0, 8, 8, 8, 8, 9, 9, 0, 0, 0,
- 9, 9, 8, 8,10,10, 0, 0, 0, 9, 9, 8, 8,10,10, 0,
- 0, 0,10,10, 9, 9,10,10, 0, 0, 0, 0, 0, 9, 9,10,
- 10,
- };
- static float _vq_quantthresh__8c0_s_p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__8c0_s_p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__8c0_s_p5_0 = {
- _vq_quantthresh__8c0_s_p5_0,
- _vq_quantmap__8c0_s_p5_0,
- 9,
- 9
- };
- static static_codebook _8c0_s_p5_0 = {
- 2, 81,
- _vq_lengthlist__8c0_s_p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__8c0_s_p5_0,
- NULL,
- &_vq_auxt__8c0_s_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c0_s_p6_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__8c0_s_p6_0[] = {
- 1, 3, 3, 6, 6, 8, 8, 9, 9, 8, 8,10, 9,10,10,11,
- 11, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,10,11,11,
- 11,12, 0, 0, 0, 7, 7, 8, 8, 9, 9, 9, 9,10,10,11,
- 11,12,11, 0, 0, 0, 8, 8, 9, 9,10,10, 9, 9,10,10,
- 11,11,12,12, 0, 0, 0, 8, 8, 9, 9,10,10, 9, 9,11,
- 10,11,11,12,12, 0, 0, 0, 9, 9, 9, 9,10,10,10,10,
- 11,11,11,12,12,12, 0, 0, 0, 9, 9, 9, 9,10,10,10,
- 10,11,11,12,12,13,13, 0, 0, 0,10,10,10,10,11,11,
- 10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0,10, 9,10,
- 11,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 9, 9,
- 10, 9,10,11,12,12,13,13,14,13, 0, 0, 0, 0, 0, 9,
- 9, 9,10,10,10,11,11,13,12,13,13, 0, 0, 0, 0, 0,
- 10,10,10,10,11,11,12,12,13,13,14,14, 0, 0, 0, 0,
- 0, 0, 0,10,10,11,11,12,12,13,13,13,14, 0, 0, 0,
- 0, 0, 0, 0,11,11,11,11,12,12,13,14,14,14, 0, 0,
- 0, 0, 0, 0, 0,11,11,11,11,12,12,13,13,14,13, 0,
- 0, 0, 0, 0, 0, 0,11,11,12,12,13,13,14,14,14,14,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,12,12,12,12,13,13,14,
- 14,
- };
- static float _vq_quantthresh__8c0_s_p6_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__8c0_s_p6_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__8c0_s_p6_0 = {
- _vq_quantthresh__8c0_s_p6_0,
- _vq_quantmap__8c0_s_p6_0,
- 17,
- 17
- };
- static static_codebook _8c0_s_p6_0 = {
- 2, 289,
- _vq_lengthlist__8c0_s_p6_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__8c0_s_p6_0,
- NULL,
- &_vq_auxt__8c0_s_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c0_s_p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__8c0_s_p7_0[] = {
- 1, 4, 4, 7, 6, 6, 7, 6, 6, 4, 7, 7,11, 9,10,12,
- 9,10, 4, 7, 7,10,10,10,11, 9, 9, 6,11,10,11,11,
- 12,11,11,11, 6,10,10,11,11,12,11,10,10, 6, 9,10,
- 11,11,11,11,10,10, 7,10,11,12,11,11,12,11,12, 6,
- 9, 9,10, 9, 9,11,10,10, 6, 9, 9,10,10,10,11,10,
- 10,
- };
- static float _vq_quantthresh__8c0_s_p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__8c0_s_p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__8c0_s_p7_0 = {
- _vq_quantthresh__8c0_s_p7_0,
- _vq_quantmap__8c0_s_p7_0,
- 3,
- 3
- };
- static static_codebook _8c0_s_p7_0 = {
- 4, 81,
- _vq_lengthlist__8c0_s_p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__8c0_s_p7_0,
- NULL,
- &_vq_auxt__8c0_s_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c0_s_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__8c0_s_p7_1[] = {
- 1, 3, 3, 6, 6, 8, 8, 9, 9, 9, 9,10,10,10, 7, 7,
- 8, 8, 9, 9, 9, 9,10,10, 9, 7, 7, 8, 8, 9, 9, 9,
- 9,10,10,10, 8, 8, 9, 9, 9, 9, 9, 9,10,10,10, 8,
- 8, 9, 9, 9, 9, 8, 9,10,10,10, 8, 8, 9, 9, 9,10,
- 10,10,10,10,10, 9, 9, 9, 9, 9, 9,10,10,11,10,11,
- 9, 9, 9, 9,10,10,10,10,11,11,11,10,10, 9, 9,10,
- 10,10, 9,11,10,10,10,10,10,10, 9, 9,10,10,11,11,
- 10,10,10, 9, 9, 9,10,10,10,
- };
- static float _vq_quantthresh__8c0_s_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__8c0_s_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__8c0_s_p7_1 = {
- _vq_quantthresh__8c0_s_p7_1,
- _vq_quantmap__8c0_s_p7_1,
- 11,
- 11
- };
- static static_codebook _8c0_s_p7_1 = {
- 2, 121,
- _vq_lengthlist__8c0_s_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__8c0_s_p7_1,
- NULL,
- &_vq_auxt__8c0_s_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__8c0_s_p8_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__8c0_s_p8_0[] = {
- 1, 4, 4, 7, 6, 7, 7, 7, 7, 8, 8, 9, 9, 7, 6, 6,
- 7, 7, 8, 8, 7, 7, 8, 9,10,10, 7, 6, 6, 7, 7, 8,
- 7, 7, 7, 9, 9,10,12, 0, 8, 8, 8, 8, 8, 9, 8, 8,
- 9, 9,10,10, 0, 8, 8, 8, 8, 8, 9, 8, 9, 9, 9,11,
- 10, 0, 0,13, 9, 8, 9, 9, 9, 9,10,10,11,11, 0,13,
- 0, 9, 9, 9, 9, 9, 9,11,10,11,11, 0, 0, 0, 8, 9,
- 10, 9,10,10,13,11,12,12, 0, 0, 0, 8, 9, 9, 9,10,
- 10,13,12,12,13, 0, 0, 0,12, 0,10,10,12,11,10,11,
- 12,12, 0, 0, 0,13,13,10,10,10,11,12, 0,13, 0, 0,
- 0, 0, 0, 0,13,11, 0,12,12,12,13,12, 0, 0, 0, 0,
- 0, 0,13,13,11,13,13,11,12,
- };
- static float _vq_quantthresh__8c0_s_p8_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__8c0_s_p8_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__8c0_s_p8_0 = {
- _vq_quantthresh__8c0_s_p8_0,
- _vq_quantmap__8c0_s_p8_0,
- 13,
- 13
- };
- static static_codebook _8c0_s_p8_0 = {
- 2, 169,
- _vq_lengthlist__8c0_s_p8_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__8c0_s_p8_0,
- NULL,
- &_vq_auxt__8c0_s_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c0_s_p8_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__8c0_s_p8_1[] = {
- 1, 3, 4, 5, 5, 7, 6, 6, 6, 5, 7, 7, 7, 6, 6, 7,
- 7, 7, 6, 6, 7, 7, 7, 6, 6,
- };
- static float _vq_quantthresh__8c0_s_p8_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__8c0_s_p8_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__8c0_s_p8_1 = {
- _vq_quantthresh__8c0_s_p8_1,
- _vq_quantmap__8c0_s_p8_1,
- 5,
- 5
- };
- static static_codebook _8c0_s_p8_1 = {
- 2, 25,
- _vq_lengthlist__8c0_s_p8_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__8c0_s_p8_1,
- NULL,
- &_vq_auxt__8c0_s_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__8c0_s_p9_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__8c0_s_p9_0[] = {
- 1, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7,
- };
- static float _vq_quantthresh__8c0_s_p9_0[] = {
- -157.5, 157.5,
- };
- static long _vq_quantmap__8c0_s_p9_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__8c0_s_p9_0 = {
- _vq_quantthresh__8c0_s_p9_0,
- _vq_quantmap__8c0_s_p9_0,
- 3,
- 3
- };
- static static_codebook _8c0_s_p9_0 = {
- 4, 81,
- _vq_lengthlist__8c0_s_p9_0,
- 1, -518803456, 1628680192, 2, 0,
- _vq_quantlist__8c0_s_p9_0,
- NULL,
- &_vq_auxt__8c0_s_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c0_s_p9_1[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__8c0_s_p9_1[] = {
- 1, 4, 4, 5, 5,10, 8,11,11,11,11,11,11,11,11, 6,
- 6, 6, 7, 6,11,10,11,11,11,11,11,11,11,11, 7, 5,
- 6, 6, 6, 8, 7,11,11,11,11,11,11,11,11,11, 7, 8,
- 8, 8, 9, 9,11,11,11,11,11,11,11,11,11, 9, 8, 7,
- 8, 9,11,11,11,11,11,11,11,11,11,11,11,10,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,10,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,
- };
- static float _vq_quantthresh__8c0_s_p9_1[] = {
- -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5, 10.5,
- 31.5, 52.5, 73.5, 94.5, 115.5, 136.5,
- };
- static long _vq_quantmap__8c0_s_p9_1[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__8c0_s_p9_1 = {
- _vq_quantthresh__8c0_s_p9_1,
- _vq_quantmap__8c0_s_p9_1,
- 15,
- 15
- };
- static static_codebook _8c0_s_p9_1 = {
- 2, 225,
- _vq_lengthlist__8c0_s_p9_1,
- 1, -520986624, 1620377600, 4, 0,
- _vq_quantlist__8c0_s_p9_1,
- NULL,
- &_vq_auxt__8c0_s_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__8c0_s_p9_2[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__8c0_s_p9_2[] = {
- 1, 5, 5, 7, 7, 8, 7, 8, 8,10,10, 9, 9,10,10,10,
- 11,11,10,12,11,12,12,12, 9, 8, 8, 8, 8, 8, 9,10,
- 10,10,10,11,11,11,10,11,11,12,12,11,12, 8, 8, 7,
- 7, 8, 9,10,10,10, 9,10,10, 9,10,10,11,11,11,11,
- 11,11, 9, 9, 9, 9, 8, 9,10,10,11,10,10,11,11,12,
- 10,10,12,12,11,11,10, 9, 9,10, 8, 9,10,10,10, 9,
- 10,10,11,11,10,11,10,10,10,12,12,12, 9,10, 9,10,
- 9, 9,10,10,11,11,11,11,10,10,10,11,12,11,12,11,
- 12,10,11,10,11, 9,10, 9,10, 9,10,10, 9,10,10,11,
- 10,11,11,11,11,12,11, 9,10,10,10,10,11,11,11,11,
- 11,10,11,11,11,11,10,12,10,12,12,11,12,10,10,11,
- 10, 9,11,10,11, 9,10,11,10,10,10,11,11,11,11,12,
- 12,10, 9, 9,11,10, 9,12,11,10,12,12,11,11,11,11,
- 10,11,11,12,11,10,12, 9,11,10,11,10,10,11,10,11,
- 9,10,10,10,11,12,11,11,12,11,10,10,11,11, 9,10,
- 10,12,10,11,10,10,10, 9,10,10,10,10, 9,10,10,11,
- 11,11,11,12,11,10,10,10,10,11,11,10,11,11, 9,11,
- 10,12,10,12,11,10,11,10,10,10,11,10,10,11,11,10,
- 11,10,10,10,10,11,11,12,10,10,10,11,10,11,12,11,
- 10,11,10,10,11,11,10,12,10, 9,10,10,11,11,11,10,
- 12,10,10,11,11,11,10,10,11,10,10,10,11,10,11,10,
- 12,11,11,10,10,10,12,10,10,11, 9,10,11,11,11,10,
- 10,11,10,10, 9,11,11,12,12,11,12,11,11,11,11,11,
- 11, 9,10,11,10,12,10,10,10,10,11,10,10,11,10,10,
- 12,10,10,10,10,10, 9,12,10,10,10,10,12, 9,11,10,
- 10,11,10,12,12,10,12,12,12,10,10,10,10, 9,10,11,
- 10,10,12,10,10,12,11,10,11,10,10,12,11,10,12,10,
- 10,11, 9,11,10, 9,10, 9,10,
- };
- static float _vq_quantthresh__8c0_s_p9_2[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__8c0_s_p9_2[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__8c0_s_p9_2 = {
- _vq_quantthresh__8c0_s_p9_2,
- _vq_quantmap__8c0_s_p9_2,
- 21,
- 21
- };
- static static_codebook _8c0_s_p9_2 = {
- 2, 441,
- _vq_lengthlist__8c0_s_p9_2,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__8c0_s_p9_2,
- NULL,
- &_vq_auxt__8c0_s_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__8c0_s_single[] = {
- 4, 5,18, 7,10, 6, 7, 8, 9,10, 5, 2,18, 5, 7, 5,
- 6, 7, 8,11,17,17,17,17,17,17,17,17,17,17, 7, 4,
- 17, 6, 9, 6, 8,10,12,15,11, 7,17, 9, 6, 6, 7, 9,
- 11,15, 6, 4,17, 6, 6, 4, 5, 8,11,16, 6, 6,17, 8,
- 6, 5, 6, 9,13,16, 8, 9,17,11, 9, 8, 8,11,13,17,
- 9,12,17,15,14,13,12,13,14,17,12,15,17,17,17,17,
- 17,16,17,17,
- };
- static static_codebook _huff_book__8c0_s_single = {
- 2, 100,
- _huff_lengthlist__8c0_s_single,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__8c1_s_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__8c1_s_p1_0[] = {
- 1, 5, 5, 0, 0, 0, 0, 0, 0, 5, 7, 7, 0, 0, 0, 0,
- 0, 0, 5, 7, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 5, 8, 7, 0, 0, 0, 0, 0, 0, 7, 8, 9, 0, 0, 0,
- 0, 0, 0, 7, 8, 9, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 5, 7, 8, 0, 0, 0, 0, 0, 0, 7, 9, 8, 0, 0,
- 0, 0, 0, 0, 7, 9, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 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0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__8c1_s_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__8c1_s_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__8c1_s_p1_0 = {
- _vq_quantthresh__8c1_s_p1_0,
- _vq_quantmap__8c1_s_p1_0,
- 3,
- 3
- };
- static static_codebook _8c1_s_p1_0 = {
- 8, 6561,
- _vq_lengthlist__8c1_s_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__8c1_s_p1_0,
- NULL,
- &_vq_auxt__8c1_s_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c1_s_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__8c1_s_p2_0[] = {
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
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, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__8c1_s_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__8c1_s_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__8c1_s_p2_0 = {
- _vq_quantthresh__8c1_s_p2_0,
- _vq_quantmap__8c1_s_p2_0,
- 5,
- 5
- };
- static static_codebook _8c1_s_p2_0 = {
- 4, 625,
- _vq_lengthlist__8c1_s_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__8c1_s_p2_0,
- NULL,
- &_vq_auxt__8c1_s_p2_0,
- NULL,
- 0
- };
- static long _vq_quantl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s_p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__8c1_s_p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__8c1_s_p3_0 = {
- _vq_quantthresh__8c1_s_p3_0,
- _vq_quantmap__8c1_s_p3_0,
- 5,
- 5
- };
- static static_codebook _8c1_s_p3_0 = {
- 4, 625,
- _vq_lengthlist__8c1_s_p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__8c1_s_p3_0,
- NULL,
- &_vq_auxt__8c1_s_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c1_s_p4_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__8c1_s_p4_0[] = {
- 1, 2, 3, 7, 7, 0, 0, 0, 0, 0, 0, 0, 6, 6, 0, 0,
- 0, 0, 0, 0, 0, 6, 6, 0, 0, 0, 0, 0, 0, 0, 7, 7,
- 0, 0, 0, 0, 0, 0, 0, 7, 7, 0, 0, 0, 0, 0, 0, 0,
- 8, 8, 0, 0, 0, 0, 0, 0, 0, 9, 8, 0, 0, 0, 0, 0,
- 0, 0,10,10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,
- 0,
- };
- static float _vq_quantthresh__8c1_s_p4_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__8c1_s_p4_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__8c1_s_p4_0 = {
- _vq_quantthresh__8c1_s_p4_0,
- _vq_quantmap__8c1_s_p4_0,
- 9,
- 9
- };
- static static_codebook _8c1_s_p4_0 = {
- 2, 81,
- _vq_lengthlist__8c1_s_p4_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__8c1_s_p4_0,
- NULL,
- &_vq_auxt__8c1_s_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c1_s_p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__8c1_s_p5_0[] = {
- 1, 3, 3, 4, 5, 6, 6, 8, 8, 0, 0, 0, 8, 8, 7, 7,
- 9, 9, 0, 0, 0, 8, 8, 7, 7, 9, 9, 0, 0, 0, 9,10,
- 8, 8, 9, 9, 0, 0, 0,10,10, 8, 8, 9, 9, 0, 0, 0,
- 11,10, 8, 8,10,10, 0, 0, 0,11,11, 8, 8,10,10, 0,
- 0, 0,12,12, 9, 9,10,10, 0, 0, 0, 0, 0, 9, 9,10,
- 10,
- };
- static float _vq_quantthresh__8c1_s_p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__8c1_s_p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__8c1_s_p5_0 = {
- _vq_quantthresh__8c1_s_p5_0,
- _vq_quantmap__8c1_s_p5_0,
- 9,
- 9
- };
- static static_codebook _8c1_s_p5_0 = {
- 2, 81,
- _vq_lengthlist__8c1_s_p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__8c1_s_p5_0,
- NULL,
- &_vq_auxt__8c1_s_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c1_s_p6_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__8c1_s_p6_0[] = {
- 1, 3, 3, 5, 5, 8, 8, 8, 8, 9, 9,10,10,11,11,11,
- 11, 0, 0, 0, 8, 8, 8, 8, 9, 9, 9, 9,10,10,11,11,
- 12,12, 0, 0, 0, 8, 8, 8, 8, 9, 9, 9, 9,10,10,11,
- 11,12,12, 0, 0, 0, 9, 9, 8, 8,10,10,10,10,11,11,
- 12,12,12,12, 0, 0, 0, 9, 9, 8, 8,10,10,10,10,11,
- 11,12,12,12,12, 0, 0, 0,10,10, 9, 9,10,10,10,10,
- 11,11,12,12,13,13, 0, 0, 0,10,10, 9, 9,10,10,10,
- 10,11,11,12,12,13,13, 0, 0, 0,11,11, 9, 9,10,10,
- 10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 9, 9,10,
- 10,10,10,11,11,12,12,13,13, 0, 0, 0, 0, 0, 9, 9,
- 10,10,11,11,12,12,12,12,13,13, 0, 0, 0, 0, 0, 9,
- 9,10,10,11,11,12,11,12,12,13,13, 0, 0, 0, 0, 0,
- 10,10,11,11,11,11,12,12,13,12,13,13, 0, 0, 0, 0,
- 0, 0, 0,11,10,11,11,12,12,13,13,13,13, 0, 0, 0,
- 0, 0, 0, 0,11,11,12,12,12,12,13,13,13,14, 0, 0,
- 0, 0, 0, 0, 0,11,11,12,12,12,12,13,13,14,13, 0,
- 0, 0, 0, 0, 0, 0,12,12,12,12,13,13,13,13,14,14,
- 0, 0, 0, 0, 0, 0, 0, 0, 0,12,12,13,13,13,13,14,
- 14,
- };
- static float _vq_quantthresh__8c1_s_p6_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__8c1_s_p6_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__8c1_s_p6_0 = {
- _vq_quantthresh__8c1_s_p6_0,
- _vq_quantmap__8c1_s_p6_0,
- 17,
- 17
- };
- static static_codebook _8c1_s_p6_0 = {
- 2, 289,
- _vq_lengthlist__8c1_s_p6_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__8c1_s_p6_0,
- NULL,
- &_vq_auxt__8c1_s_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c1_s_p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__8c1_s_p7_0[] = {
- 1, 4, 4, 6, 6, 6, 7, 6, 6, 4, 7, 7,10, 9, 9,10,
- 9, 9, 5, 7, 7,10, 9, 9,10, 9, 9, 6,10,10,10,10,
- 10,11,10,10, 6, 9, 9,10, 9,10,11,10,10, 6, 9, 9,
- 10, 9, 9,11, 9,10, 7,10,10,11,11,11,11,10,10, 6,
- 9, 9,10,10,10,11, 9, 9, 6, 9, 9,10,10,10,10, 9,
- 9,
- };
- static float _vq_quantthresh__8c1_s_p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__8c1_s_p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__8c1_s_p7_0 = {
- _vq_quantthresh__8c1_s_p7_0,
- _vq_quantmap__8c1_s_p7_0,
- 3,
- 3
- };
- static static_codebook _8c1_s_p7_0 = {
- 4, 81,
- _vq_lengthlist__8c1_s_p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__8c1_s_p7_0,
- NULL,
- &_vq_auxt__8c1_s_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c1_s_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__8c1_s_p7_1[] = {
- 2, 3, 3, 5, 5, 7, 7, 7, 7, 7, 7,10,10, 9, 7, 7,
- 7, 7, 8, 8, 8, 8, 9, 9, 9, 7, 7, 7, 7, 8, 8, 8,
- 8,10,10,10, 7, 7, 7, 7, 8, 8, 8, 8,10,10,10, 7,
- 7, 7, 7, 8, 8, 8, 8,10,10,10, 8, 8, 8, 8, 8, 8,
- 8, 8,10,10,10, 8, 8, 8, 8, 8, 8, 8, 8,10,10,10,
- 8, 8, 8, 8, 8, 8, 8, 8,10,10,10,10,10, 8, 8, 8,
- 8, 8, 8,10,10,10,10,10, 8, 8, 8, 8, 8, 8,10,10,
- 10,10,10, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__8c1_s_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__8c1_s_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__8c1_s_p7_1 = {
- _vq_quantthresh__8c1_s_p7_1,
- _vq_quantmap__8c1_s_p7_1,
- 11,
- 11
- };
- static static_codebook _8c1_s_p7_1 = {
- 2, 121,
- _vq_lengthlist__8c1_s_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__8c1_s_p7_1,
- NULL,
- &_vq_auxt__8c1_s_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__8c1_s_p8_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__8c1_s_p8_0[] = {
- 1, 4, 4, 6, 6, 8, 8, 8, 8, 9, 9,10,10, 7, 5, 5,
- 7, 7, 8, 8, 8, 8, 9,10,11,11, 7, 5, 5, 7, 7, 8,
- 8, 9, 9,10,10,11,11, 0, 8, 8, 8, 8, 9, 9, 9, 9,
- 9,10,11,11, 0, 8, 8, 8, 8, 9, 9, 9, 9,10,10,11,
- 11, 0,12,12, 9, 9, 9, 9,10, 9,10,11,11,11, 0,13,
- 12, 9, 8, 9, 9,10,10,11,11,12,11, 0, 0, 0, 9, 9,
- 9, 9,10,10,11,11,12,12, 0, 0, 0,10,10, 9, 9,10,
- 10,11,11,12,12, 0, 0, 0,13,13,10,10,11,11,12,11,
- 13,12, 0, 0, 0,14,14,10,10,11,10,11,11,12,12, 0,
- 0, 0, 0, 0,12,12,11,11,12,12,13,13, 0, 0, 0, 0,
- 0,12,12,11,10,12,11,13,12,
- };
- static float _vq_quantthresh__8c1_s_p8_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__8c1_s_p8_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__8c1_s_p8_0 = {
- _vq_quantthresh__8c1_s_p8_0,
- _vq_quantmap__8c1_s_p8_0,
- 13,
- 13
- };
- static static_codebook _8c1_s_p8_0 = {
- 2, 169,
- _vq_lengthlist__8c1_s_p8_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__8c1_s_p8_0,
- NULL,
- &_vq_auxt__8c1_s_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c1_s_p8_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__8c1_s_p8_1[] = {
- 2, 3, 3, 5, 5, 6, 6, 6, 5, 5, 6, 6, 6, 5, 5, 6,
- 6, 6, 5, 5, 6, 6, 6, 5, 5,
- };
- static float _vq_quantthresh__8c1_s_p8_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__8c1_s_p8_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__8c1_s_p8_1 = {
- _vq_quantthresh__8c1_s_p8_1,
- _vq_quantmap__8c1_s_p8_1,
- 5,
- 5
- };
- static static_codebook _8c1_s_p8_1 = {
- 2, 25,
- _vq_lengthlist__8c1_s_p8_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__8c1_s_p8_1,
- NULL,
- &_vq_auxt__8c1_s_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__8c1_s_p9_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__8c1_s_p9_0[] = {
- 1, 3, 3,10,10,10,10,10,10,10,10,10,10, 5, 6, 6,
- 10,10,10,10,10,10,10,10,10,10, 6, 7, 8,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10, 9, 9, 9, 9,
- };
- static float _vq_quantthresh__8c1_s_p9_0[] = {
- -1732.5, -1417.5, -1102.5, -787.5, -472.5, -157.5, 157.5, 472.5,
- 787.5, 1102.5, 1417.5, 1732.5,
- };
- static long _vq_quantmap__8c1_s_p9_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__8c1_s_p9_0 = {
- _vq_quantthresh__8c1_s_p9_0,
- _vq_quantmap__8c1_s_p9_0,
- 13,
- 13
- };
- static static_codebook _8c1_s_p9_0 = {
- 2, 169,
- _vq_lengthlist__8c1_s_p9_0,
- 1, -513964032, 1628680192, 4, 0,
- _vq_quantlist__8c1_s_p9_0,
- NULL,
- &_vq_auxt__8c1_s_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8c1_s_p9_1[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__8c1_s_p9_1[] = {
- 1, 4, 4, 5, 5, 7, 7, 9, 9,11,11,12,12,13,13, 6,
- 5, 5, 6, 6, 9, 9,10,10,12,12,12,13,15,14, 6, 5,
- 5, 7, 7, 9, 9,10,10,12,12,12,13,14,13,17, 7, 7,
- 8, 8,10,10,11,11,12,13,13,13,13,13,17, 7, 7, 8,
- 8,10,10,11,11,13,13,13,13,14,14,17,11,11, 9, 9,
- 11,11,12,12,12,13,13,14,15,13,17,12,12, 9, 9,11,
- 11,12,12,13,13,13,13,14,16,17,17,17,11,12,12,12,
- 13,13,13,14,15,14,15,15,17,17,17,12,12,11,11,13,
- 13,14,14,15,14,15,15,17,17,17,15,15,13,13,14,14,
- 15,14,15,15,16,15,17,17,17,15,15,13,13,13,14,14,
- 15,15,15,15,16,17,17,17,17,16,14,15,14,14,15,14,
- 14,15,15,15,17,17,17,17,17,14,14,16,14,15,15,15,
- 15,15,15,17,17,17,17,17,17,16,16,15,17,15,15,14,
- 17,15,17,16,17,17,17,17,16,15,14,15,15,15,15,15,
- 15,
- };
- static float _vq_quantthresh__8c1_s_p9_1[] = {
- -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5, 10.5,
- 31.5, 52.5, 73.5, 94.5, 115.5, 136.5,
- };
- static long _vq_quantmap__8c1_s_p9_1[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__8c1_s_p9_1 = {
- _vq_quantthresh__8c1_s_p9_1,
- _vq_quantmap__8c1_s_p9_1,
- 15,
- 15
- };
- static static_codebook _8c1_s_p9_1 = {
- 2, 225,
- _vq_lengthlist__8c1_s_p9_1,
- 1, -520986624, 1620377600, 4, 0,
- _vq_quantlist__8c1_s_p9_1,
- NULL,
- &_vq_auxt__8c1_s_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__8c1_s_p9_2[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__8c1_s_p9_2[] = {
- 2, 4, 4, 6, 6, 7, 7, 8, 8, 8, 8, 9, 8, 9, 9, 9,
- 9, 9, 9, 9, 9,11,11,12, 7, 7, 7, 7, 8, 8, 9, 9,
- 9, 9,10,10,10,10,10,10,10,10,11,11,11, 7, 7, 7,
- 7, 8, 8, 9, 8, 9, 9, 9, 9, 9, 9,10,10,10,10,11,
- 11,12, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9,10,10,10,10,
- 10,10,10,10,11,11,11, 7, 7, 8, 8, 8, 8, 9, 9, 9,
- 9,10,10,10,10,10,10,10,10,11,11,11, 8, 8, 8, 8,
- 9, 9, 9, 9, 9, 9,10,10,10,10,10,10,10,10,11,11,
- 11, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9,10,10,10,10,10,
- 10,10,10,11,12,11, 9, 9, 8, 9, 9, 9, 9, 9,10,10,
- 10,10,10,10,10,10,10,10,11,11,11,11,11, 8, 8, 9,
- 9, 9, 9,10,10,10,10,10,10,10,10,10,10,11,12,11,
- 12,11, 9, 9, 9, 9, 9,10,10,10,10,10,10,10,10,10,
- 10,10,11,11,11,11,11, 9, 9, 9, 9,10,10,10,10,10,
- 10,10,10,10,10,10,10,12,11,12,11,11, 9, 9, 9,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,12,11,11,11,
- 11,11,11,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 11,11,11,12,11,11,12,11,10,10,10,10,10,10,10,10,
- 10,10,10,10,11,10,11,11,11,11,11,11,11,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,11,11,12,11,12,
- 11,11,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 11,11,12,11,12,11,11,11,11,10,10,10,10,10,10,10,
- 10,10,10,10,10,11,11,12,11,11,12,11,11,12,10,10,
- 11,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,
- 11,11,11,10,10,10,10,10,10,10,10,10,10,10,10,12,
- 12,11,12,11,11,12,12,12,11,11,10,10,10,10,10,10,
- 10,10,10,11,12,12,11,12,12,11,12,11,11,11,11,10,
- 10,10,10,10,10,10,10,10,10,
- };
- static float _vq_quantthresh__8c1_s_p9_2[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__8c1_s_p9_2[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__8c1_s_p9_2 = {
- _vq_quantthresh__8c1_s_p9_2,
- _vq_quantmap__8c1_s_p9_2,
- 21,
- 21
- };
- static static_codebook _8c1_s_p9_2 = {
- 2, 441,
- _vq_lengthlist__8c1_s_p9_2,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__8c1_s_p9_2,
- NULL,
- &_vq_auxt__8c1_s_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__8c1_s_single[] = {
- 4, 6,18, 8,11, 8, 8, 9, 9,10, 4, 4,18, 5, 9, 5,
- 6, 7, 8,10,18,18,18,18,17,17,17,17,17,17, 7, 5,
- 17, 6,11, 6, 7, 8, 9,12,12, 9,17,12, 8, 8, 9,10,
- 10,13, 7, 5,17, 6, 8, 4, 5, 6, 8,10, 6, 5,17, 6,
- 8, 5, 4, 5, 7, 9, 7, 7,17, 8, 9, 6, 5, 5, 6, 8,
- 8, 8,17, 9,11, 8, 6, 6, 6, 7, 9,10,17,12,12,10,
- 9, 7, 7, 8,
- };
- static static_codebook _huff_book__8c1_s_single = {
- 2, 100,
- _huff_lengthlist__8c1_s_single,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- /***** residue backends *********************************************/
- static vorbis_info_residue0 _residue_44_mid={
- 0,-1, -1, 10,-1,
- /* 0 1 2 3 4 5 6 7 8 */
- {0},
- {-1},
- { .5, 1.5, 1.5, 2.5, 2.5, 4.5, 8.5, 16.5, 32.5},
- { .5, .5, 999., .5, 999., 4.5, 8.5, 16.5, 32.5},
- };
- static vorbis_info_residue0 _residue_44_high={
- 0,-1, -1, 10,-1,
- /* 0 1 2 3 4 5 6 7 8 */
- {0},
- {-1},
- { .5, 1.5, 2.5, 4.5, 8.5, 16.5, 32.5, 71.5,157.5},
- { .5, 1.5, 2.5, 3.5, 4.5, 8.5, 16.5, 71.5,157.5},
- };
- static static_bookblock _resbook_44s_0={
- {
- {0},{0,0,&_44c0_s_p1_0},{0,0,&_44c0_s_p2_0},{0,0,&_44c0_s_p3_0},
- {0,0,&_44c0_s_p4_0},{0,0,&_44c0_s_p5_0},{0,0,&_44c0_s_p6_0},
- {&_44c0_s_p7_0,&_44c0_s_p7_1},{&_44c0_s_p8_0,&_44c0_s_p8_1},
- {&_44c0_s_p9_0,&_44c0_s_p9_1,&_44c0_s_p9_2}
- }
- };
- static static_bookblock _resbook_44sm_0={
- {
- {0},{0,0,&_44c0_sm_p1_0},{0,0,&_44c0_sm_p2_0},{0,0,&_44c0_sm_p3_0},
- {0,0,&_44c0_sm_p4_0},{0,0,&_44c0_sm_p5_0},{0,0,&_44c0_sm_p6_0},
- {&_44c0_sm_p7_0,&_44c0_sm_p7_1},{&_44c0_sm_p8_0,&_44c0_sm_p8_1},
- {&_44c0_sm_p9_0,&_44c0_sm_p9_1,&_44c0_sm_p9_2}
- }
- };
- static static_bookblock _resbook_44s_1={
- {
- {0},{0,0,&_44c1_s_p1_0},{0,0,&_44c1_s_p2_0},{0,0,&_44c1_s_p3_0},
- {0,0,&_44c1_s_p4_0},{0,0,&_44c1_s_p5_0},{0,0,&_44c1_s_p6_0},
- {&_44c1_s_p7_0,&_44c1_s_p7_1},{&_44c1_s_p8_0,&_44c1_s_p8_1},
- {&_44c1_s_p9_0,&_44c1_s_p9_1,&_44c1_s_p9_2}
- }
- };
- static static_bookblock _resbook_44sm_1={
- {
- {0},{0,0,&_44c1_sm_p1_0},{0,0,&_44c1_sm_p2_0},{0,0,&_44c1_sm_p3_0},
- {0,0,&_44c1_sm_p4_0},{0,0,&_44c1_sm_p5_0},{0,0,&_44c1_sm_p6_0},
- {&_44c1_sm_p7_0,&_44c1_sm_p7_1},{&_44c1_sm_p8_0,&_44c1_sm_p8_1},
- {&_44c1_sm_p9_0,&_44c1_sm_p9_1,&_44c1_sm_p9_2}
- }
- };
- static static_bookblock _resbook_44s_2={
- {
- {0},{0,0,&_44c2_s_p1_0},{0,0,&_44c2_s_p2_0},{0,0,&_44c2_s_p3_0},
- {0,0,&_44c2_s_p4_0},{0,0,&_44c2_s_p5_0},{0,0,&_44c2_s_p6_0},
- {&_44c2_s_p7_0,&_44c2_s_p7_1},{&_44c2_s_p8_0,&_44c2_s_p8_1},
- {&_44c2_s_p9_0,&_44c2_s_p9_1,&_44c2_s_p9_2}
- }
- };
- static static_bookblock _resbook_44s_3={
- {
- {0},{0,0,&_44c3_s_p1_0},{0,0,&_44c3_s_p2_0},{0,0,&_44c3_s_p3_0},
- {0,0,&_44c3_s_p4_0},{0,0,&_44c3_s_p5_0},{0,0,&_44c3_s_p6_0},
- {&_44c3_s_p7_0,&_44c3_s_p7_1},{&_44c3_s_p8_0,&_44c3_s_p8_1},
- {&_44c3_s_p9_0,&_44c3_s_p9_1,&_44c3_s_p9_2}
- }
- };
- static static_bookblock _resbook_44s_4={
- {
- {0},{0,0,&_44c4_s_p1_0},{0,0,&_44c4_s_p2_0},{0,0,&_44c4_s_p3_0},
- {0,0,&_44c4_s_p4_0},{0,0,&_44c4_s_p5_0},{0,0,&_44c4_s_p6_0},
- {&_44c4_s_p7_0,&_44c4_s_p7_1},{&_44c4_s_p8_0,&_44c4_s_p8_1},
- {&_44c4_s_p9_0,&_44c4_s_p9_1,&_44c4_s_p9_2}
- }
- };
- static static_bookblock _resbook_44s_5={
- {
- {0},{0,0,&_44c5_s_p1_0},{0,0,&_44c5_s_p2_0},{0,0,&_44c5_s_p3_0},
- {0,0,&_44c5_s_p4_0},{0,0,&_44c5_s_p5_0},{0,0,&_44c5_s_p6_0},
- {&_44c5_s_p7_0,&_44c5_s_p7_1},{&_44c5_s_p8_0,&_44c5_s_p8_1},
- {&_44c5_s_p9_0,&_44c5_s_p9_1,&_44c5_s_p9_2}
- }
- };
- static static_bookblock _resbook_44s_6={
- {
- {0},{0,0,&_44c6_s_p1_0},{0,0,&_44c6_s_p2_0},{0,0,&_44c6_s_p3_0},
- {0,0,&_44c6_s_p4_0},
- {&_44c6_s_p5_0,&_44c6_s_p5_1},
- {&_44c6_s_p6_0,&_44c6_s_p6_1},
- {&_44c6_s_p7_0,&_44c6_s_p7_1},
- {&_44c6_s_p8_0,&_44c6_s_p8_1},
- {&_44c6_s_p9_0,&_44c6_s_p9_1,&_44c6_s_p9_2}
- }
- };
- static static_bookblock _resbook_44s_7={
- {
- {0},{0,0,&_44c7_s_p1_0},{0,0,&_44c7_s_p2_0},{0,0,&_44c7_s_p3_0},
- {0,0,&_44c7_s_p4_0},
- {&_44c7_s_p5_0,&_44c7_s_p5_1},
- {&_44c7_s_p6_0,&_44c7_s_p6_1},
- {&_44c7_s_p7_0,&_44c7_s_p7_1},
- {&_44c7_s_p8_0,&_44c7_s_p8_1},
- {&_44c7_s_p9_0,&_44c7_s_p9_1,&_44c7_s_p9_2}
- }
- };
- static static_bookblock _resbook_44s_8={
- {
- {0},{0,0,&_44c8_s_p1_0},{0,0,&_44c8_s_p2_0},{0,0,&_44c8_s_p3_0},
- {0,0,&_44c8_s_p4_0},
- {&_44c8_s_p5_0,&_44c8_s_p5_1},
- {&_44c8_s_p6_0,&_44c8_s_p6_1},
- {&_44c8_s_p7_0,&_44c8_s_p7_1},
- {&_44c8_s_p8_0,&_44c8_s_p8_1},
- {&_44c8_s_p9_0,&_44c8_s_p9_1,&_44c8_s_p9_2}
- }
- };
- static static_bookblock _resbook_44s_9={
- {
- {0},{0,0,&_44c9_s_p1_0},{0,0,&_44c9_s_p2_0},{0,0,&_44c9_s_p3_0},
- {0,0,&_44c9_s_p4_0},
- {&_44c9_s_p5_0,&_44c9_s_p5_1},
- {&_44c9_s_p6_0,&_44c9_s_p6_1},
- {&_44c9_s_p7_0,&_44c9_s_p7_1},
- {&_44c9_s_p8_0,&_44c9_s_p8_1},
- {&_44c9_s_p9_0,&_44c9_s_p9_1,&_44c9_s_p9_2}
- }
- };
- static vorbis_residue_template _res_44s_0[]={
- {2,0, &_residue_44_mid,
- &_huff_book__44c0_s_short,&_huff_book__44c0_sm_short,
- &_resbook_44s_0,&_resbook_44sm_0},
- {2,0, &_residue_44_mid,
- &_huff_book__44c0_s_long,&_huff_book__44c0_sm_long,
- &_resbook_44s_0,&_resbook_44sm_0}
- };
- static vorbis_residue_template _res_44s_1[]={
- {2,0, &_residue_44_mid,
- &_huff_book__44c1_s_short,&_huff_book__44c1_sm_short,
- &_resbook_44s_1,&_resbook_44sm_1},
- {2,0, &_residue_44_mid,
- &_huff_book__44c1_s_long,&_huff_book__44c1_sm_long,
- &_resbook_44s_1,&_resbook_44sm_1}
- };
- static vorbis_residue_template _res_44s_2[]={
- {2,0, &_residue_44_mid,
- &_huff_book__44c2_s_short,&_huff_book__44c2_s_short,
- &_resbook_44s_2,&_resbook_44s_2},
- {2,0, &_residue_44_mid,
- &_huff_book__44c2_s_long,&_huff_book__44c2_s_long,
- &_resbook_44s_2,&_resbook_44s_2}
- };
- static vorbis_residue_template _res_44s_3[]={
- {2,0, &_residue_44_mid,
- &_huff_book__44c3_s_short,&_huff_book__44c3_s_short,
- &_resbook_44s_3,&_resbook_44s_3},
- {2,0, &_residue_44_mid,
- &_huff_book__44c3_s_long,&_huff_book__44c3_s_long,
- &_resbook_44s_3,&_resbook_44s_3}
- };
- static vorbis_residue_template _res_44s_4[]={
- {2,0, &_residue_44_mid,
- &_huff_book__44c4_s_short,&_huff_book__44c4_s_short,
- &_resbook_44s_4,&_resbook_44s_4},
- {2,0, &_residue_44_mid,
- &_huff_book__44c4_s_long,&_huff_book__44c4_s_long,
- &_resbook_44s_4,&_resbook_44s_4}
- };
- static vorbis_residue_template _res_44s_5[]={
- {2,0, &_residue_44_mid,
- &_huff_book__44c5_s_short,&_huff_book__44c5_s_short,
- &_resbook_44s_5,&_resbook_44s_5},
- {2,0, &_residue_44_mid,
- &_huff_book__44c5_s_long,&_huff_book__44c5_s_long,
- &_resbook_44s_5,&_resbook_44s_5}
- };
- static vorbis_residue_template _res_44s_6[]={
- {2,0, &_residue_44_high,
- &_huff_book__44c6_s_short,&_huff_book__44c6_s_short,
- &_resbook_44s_6,&_resbook_44s_6},
- {2,0, &_residue_44_high,
- &_huff_book__44c6_s_long,&_huff_book__44c6_s_long,
- &_resbook_44s_6,&_resbook_44s_6}
- };
- static vorbis_residue_template _res_44s_7[]={
- {2,0, &_residue_44_high,
- &_huff_book__44c7_s_short,&_huff_book__44c7_s_short,
- &_resbook_44s_7,&_resbook_44s_7},
- {2,0, &_residue_44_high,
- &_huff_book__44c7_s_long,&_huff_book__44c7_s_long,
- &_resbook_44s_7,&_resbook_44s_7}
- };
- static vorbis_residue_template _res_44s_8[]={
- {2,0, &_residue_44_high,
- &_huff_book__44c8_s_short,&_huff_book__44c8_s_short,
- &_resbook_44s_8,&_resbook_44s_8},
- {2,0, &_residue_44_high,
- &_huff_book__44c8_s_long,&_huff_book__44c8_s_long,
- &_resbook_44s_8,&_resbook_44s_8}
- };
- static vorbis_residue_template _res_44s_9[]={
- {2,0, &_residue_44_high,
- &_huff_book__44c9_s_short,&_huff_book__44c9_s_short,
- &_resbook_44s_9,&_resbook_44s_9},
- {2,0, &_residue_44_high,
- &_huff_book__44c9_s_long,&_huff_book__44c9_s_long,
- &_resbook_44s_9,&_resbook_44s_9}
- };
- static vorbis_mapping_template _mapres_template_44_stereo[]={
- { _map_nominal, _res_44s_0 }, /* 0 */
- { _map_nominal, _res_44s_1 }, /* 1 */
- { _map_nominal, _res_44s_2 }, /* 2 */
- { _map_nominal, _res_44s_3 }, /* 3 */
- { _map_nominal, _res_44s_4 }, /* 4 */
- { _map_nominal, _res_44s_5 }, /* 5 */
- { _map_nominal, _res_44s_6 }, /* 6 */
- { _map_nominal, _res_44s_7 }, /* 7 */
- { _map_nominal, _res_44s_8 }, /* 8 */
- { _map_nominal, _res_44s_9 }, /* 9 */
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: key psychoacoustic settings for 44.1/48kHz
- last mod: $Id: psych_44.h,v 1.29 2003/09/02 07:32:17 xiphmont Exp $
- ********************************************************************/
- /* preecho trigger settings *****************************************/
- static vorbis_info_psy_global _psy_global_44[5]={
- {8, /* lines per eighth octave */
- {20.f,14.f,12.f,12.f,12.f,12.f,12.f},
- {-60.f,-30.f,-40.f,-40.f,-40.f,-40.f,-40.f}, 2,-75.f,
- -6.f,
- {99.},{{99.},{99.}},{0},{0},{{0.},{0.}}
- },
- {8, /* lines per eighth octave */
- {14.f,10.f,10.f,10.f,10.f,10.f,10.f},
- {-40.f,-30.f,-25.f,-25.f,-25.f,-25.f,-25.f}, 2,-80.f,
- -6.f,
- {99.},{{99.},{99.}},{0},{0},{{0.},{0.}}
- },
- {8, /* lines per eighth octave */
- {12.f,10.f,10.f,10.f,10.f,10.f,10.f},
- {-20.f,-20.f,-15.f,-15.f,-15.f,-15.f,-15.f}, 0,-80.f,
- -6.f,
- {99.},{{99.},{99.}},{0},{0},{{0.},{0.}}
- },
- {8, /* lines per eighth octave */
- {10.f,8.f,8.f,8.f,8.f,8.f,8.f},
- {-20.f,-15.f,-12.f,-12.f,-12.f,-12.f,-12.f}, 0,-80.f,
- -6.f,
- {99.},{{99.},{99.}},{0},{0},{{0.},{0.}}
- },
- {8, /* lines per eighth octave */
- {10.f,6.f,6.f,6.f,6.f,6.f,6.f},
- {-15.f,-15.f,-12.f,-12.f,-12.f,-12.f,-12.f}, 0,-85.f,
- -6.f,
- {99.},{{99.},{99.}},{0},{0},{{0.},{0.}}
- },
- };
- /* noise compander lookups * low, mid, high quality ****************/
- static compandblock _psy_compand_44[6]={
- /* sub-mode Z short */
- {{
- 0, 1, 2, 3, 4, 5, 6, 7, /* 7dB */
- 8, 9,10,11,12,13,14, 15, /* 15dB */
- 16,17,18,19,20,21,22, 23, /* 23dB */
- 24,25,26,27,28,29,30, 31, /* 31dB */
- 32,33,34,35,36,37,38, 39, /* 39dB */
- }},
- /* mode_Z nominal short*/
- {{
- 0, 1, 2, 3, 4, 5, 6, 6, /* 7dB */
- 7, 7, 7, 7, 6, 6, 6, 7, /* 15dB */
- 7, 8, 9,10,11,12,13, 14, /* 23dB */
- 15,16,17,17,17,18,18, 19, /* 31dB */
- 19,19,20,21,22,23,24, 25, /* 39dB */
- }},
- /* mode A short */
- {{
- 0, 1, 2, 3, 4, 5, 5, 5, /* 7dB */
- 6, 6, 6, 5, 4, 4, 4, 4, /* 15dB */
- 4, 4, 5, 5, 5, 6, 6, 6, /* 23dB */
- 7, 7, 7, 8, 8, 8, 9, 10, /* 31dB */
- 11,12,13,14,15,16,17, 18, /* 39dB */
- }},
- /* sub-mode Z long */
- {{
- 0, 1, 2, 3, 4, 5, 6, 7, /* 7dB */
- 8, 9,10,11,12,13,14, 15, /* 15dB */
- 16,17,18,19,20,21,22, 23, /* 23dB */
- 24,25,26,27,28,29,30, 31, /* 31dB */
- 32,33,34,35,36,37,38, 39, /* 39dB */
- }},
- /* mode_Z nominal long */
- {{
- 0, 1, 2, 3, 4, 5, 6, 7, /* 7dB */
- 8, 9,10,11,12,12,13, 13, /* 15dB */
- 13,14,14,14,15,15,15, 15, /* 23dB */
- 16,16,17,17,17,18,18, 19, /* 31dB */
- 19,19,20,21,22,23,24, 25, /* 39dB */
- }},
- /* mode A long */
- {{
- 0, 1, 2, 3, 4, 5, 6, 7, /* 7dB */
- 8, 8, 7, 6, 5, 4, 4, 4, /* 15dB */
- 4, 4, 5, 5, 5, 6, 6, 6, /* 23dB */
- 7, 7, 7, 8, 8, 8, 9, 10, /* 31dB */
- 11,12,13,14,15,16,17, 18, /* 39dB */
- }}
- };
- /* tonal masking curve level adjustments *************************/
- static vp_adjblock _vp_tonemask_adj_longblock[11]={
- /* adjust for mode zero */
- /* 63 125 250 500 1 2 4 8 16 */
- {{-15,-15,-15,-15,-10, -8, -4,-2, 0, 0, 0,10, 0, 0, 0, 0, 0}}, /* 0 */
- {{-15,-15,-15,-15,-15,-12,-10,-8, 0, 0, 0, 5, 0, 0, 0, 0, 0}}, /* 1 */
- {{-15,-15,-15,-15,-15,-12,-10,-8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 2 */
- {{-15,-15,-15,-15,-15,-12,-10,-8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 3 */
- {{-15,-15,-15,-15,-15,-12,-10,-8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 4 */
- {{-15,-15,-15,-15,-15,-12,-10,-8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 5 */
- {{-15,-15,-15,-15,-15,-12,-10,-8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 6 */
- {{-15,-15,-15,-15,-15,-12,-10,-8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 7 */
- {{-15,-15,-15,-15,-15,-12,-10,-8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 8 */
- {{-15,-15,-15,-15,-15,-12,-10,-8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 9 */
- {{-15,-15,-15,-15,-15,-12,-10,-8, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 10 */
- };
- static vp_adjblock _vp_tonemask_adj_otherblock[11]={
- /* adjust for mode zero */
- /* 63 125 250 500 1 2 4 8 16 */
- {{-20,-20,-20,-20,-14,-12,-10, -8, -4, 0, 0,10, 0, 0, 0, 0, 0}}, /* 0 */
- {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 5, 0, 0, 0, 0, 0}}, /* 1 */
- {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 2 */
- {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 3 */
- {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 4 */
- {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 5 */
- {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 6 */
- {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 7 */
- {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 8 */
- {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 9 */
- {{-20,-20,-20,-20,-20,-18,-16,-14,-10, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 10 */
- };
- static noise3 _psy_noisebias_trans_low[2]={
- /* 63 125 250 500 1k 2k 4k 8k 16k*/
- /* 0 */
- {{{-10,-10,-10,-10,-10, -4, 0, 0, 4, 8, 8, 8, 8, 10, 12, 14, 20},
- {-30,-30,-30,-30,-26,-20,-16, -8, -6, -6, -2, 2, 2, 4, 8, 8, 15},
- {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, -6, -4, -2}}},
- /* 1 */
- {{{-15,-15,-15,-15,-15,-10, -5, 0, 2, 2, 6, 6, 6, 8, 10, 12, 15},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -2, 0, 0, 0, 2, 4, 10},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -6, -6, -6, -4, -4, -4, -2}}},
- };
- static noise3 _psy_noisebias_long_low[2]={
- /*63 125 250 500 1k 2k 4k 8k 16k*/
- /* 0 */
- {{{-10,-10,-10,-10,-10, -4, 0, 0, 0, 6, 6, 6, 6, 10, 10, 12, 20},
- {-20,-20,-20,-20,-20,-20,-10, -2, 0, 0, 0, 0, 0, 2, 4, 6, 15},
- {-20,-20,-20,-20,-20,-20,-20,-10, -6, -6, -6, -6, -6, -4, -4, -4, -2}}},
- /* 1 */
- {{{-10,-10,-10,-10,-10,-10, -8, -8, 0, 2, 4, 4, 5, 5, 5, 8, 10},
- {-20,-20,-20,-20,-20,-20,-20,-14, -8, -2, 0, 0, 0, 0, 2, 4, 10},
- {-20,-20,-20,-20,-20,-20,-20,-14, -6, -6, -6, -6, -6, -4, -4, -4, -2}}},
- };
- static noise3 _psy_noisebias_trans[11]={
- /* 63 125 250 500 1k 2k 4k 8k 16k*/
- /* 0 */
- {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 4, 4, 5, 5, 5, 8, 10},
- {-30,-30,-30,-30,-26,-22,-20,-14, -8, -4, 0, 0, 0, 0, 2, 4, 10},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -6, -6, -6, -4, -4, -4, -2}}},
- /* 1 */
- {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 4, 4, 5, 5, 5, 8, 10},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -2, -2, -2, -2, 0, 2, 8},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -8, -8, -8, -8, -6, -6, -6, -4}}},
- /* 2 */
- {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 2, 2, 4, 4, 5, 6, 10},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -2, -2, -2, -2, 0, 2, 6},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -4}}},
- /* 3 */
- {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 2, 2, 4, 4, 4, 5, 8},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -3, -3, -3, -3, -1, 1, 6},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -4}}},
- /* 4 */
- {{{-20,-20,-20,-20,-20,-18,-14, -8, -1, 1, 1, 1, 2, 3, 3, 4, 7},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -3, -3, -3, -3, -1, 1, 5},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -4}}},
- /* 5 */
- {{{-24,-24,-24,-24,-20,-18,-14, -8, -1, 1, 1, 1, 2, 3, 3, 4, 7},
- {-32,-32,-32,-32,-28,-24,-22,-16,-12, -6, -4, -4, -4, -4, -2, -1, 2},
- {-34,-34,-34,-34,-30,-24,-24,-18,-14,-12,-12,-12,-12,-10,-10, -9, -5}}},
- /* 6 */
- {{{-24,-24,-24,-24,-20,-18,-14, -8, -1, 1, 1, 1, 2, 3, 3, 4, 7},
- {-32,-32,-32,-32,-28,-24,-24,-18,-14, -8, -6, -6, -6, -6, -4, -2, 1},
- {-34,-34,-34,-34,-30,-26,-24,-18,-17,-15,-15,-15,-15,-13,-13,-12, -8}}},
- /* 7 */
- {{{-24,-24,-24,-24,-20,-18,-14, -8, -1, 1, 1, 1, 2, 3, 3, 4, 7},
- {-32,-32,-32,-32,-28,-24,-24,-18,-14,-12,-10, -8, -8, -8, -6, -4, 0},
- {-34,-34,-34,-34,-30,-26,-26,-24,-22,-19,-19,-19,-19,-18,-17,-16,-12}}},
- /* 8 */
- {{{-24,-24,-24,-24,-22,-20,-15,-10, -8, -2, 0, 0, 0, 1, 2, 3, 7},
- {-36,-36,-36,-36,-30,-30,-30,-24,-18,-14,-12,-10,-10,-10, -8, -6, -2},
- {-36,-36,-36,-36,-34,-30,-28,-26,-24,-24,-24,-24,-24,-24,-24,-20,-16}}},
- /* 9 */
- {{{-28,-28,-28,-28,-28,-28,-28,-20,-14, -8, -4, -4, -4, -4, -4, -2, 2},
- {-36,-36,-36,-36,-34,-32,-32,-28,-20,-16,-16,-16,-16,-14,-12,-10, -7},
- {-40,-40,-40,-40,-40,-40,-40,-32,-30,-30,-30,-30,-30,-30,-30,-24,-20}}},
- /* 10 */
- {{{-30,-30,-30,-30,-30,-30,-30,-28,-20,-14,-14,-14,-14,-14,-14,-12,-10},
- {-40,-40,-40,-40,-40,-40,-40,-40,-35,-30,-30,-30,-30,-30,-30,-30,-20},
- {-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40}}},
- };
- static noise3 _psy_noisebias_long[11]={
- /*63 125 250 500 1k 2k 4k 8k 16k*/
- /* 0 */
- {{{-10,-10,-10,-10,-10,-10, -8, 2, 2, 2, 4, 4, 5, 5, 5, 8, 10},
- {-20,-20,-20,-20,-20,-20,-20,-14, -6, 0, 0, 0, 0, 0, 2, 4, 10},
- {-20,-20,-20,-20,-20,-20,-20,-14, -8, -6, -6, -6, -6, -4, -4, -4, -2}}},
- /* 1 */
- {{{-10,-10,-10,-10,-10,-10, -8, -4, 0, 2, 4, 4, 5, 5, 5, 8, 10},
- {-20,-20,-20,-20,-20,-20,-20,-14,-10, -4, -2, -2, -2, -2, 0, 2, 8},
- {-20,-20,-20,-20,-20,-20,-20,-14,-10, -8, -8, -8, -8, -6, -6, -6, -4}}},
- /* 2 */
- {{{-10,-10,-10,-10,-10,-10,-10, -8, 0, 2, 2, 2, 4, 4, 5, 6, 10},
- {-20,-20,-20,-20,-20,-20,-20,-14,-10, -4, -2, -2, -2, -2, 0, 2, 6},
- {-20,-20,-20,-20,-20,-20,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -4}}},
- /* 3 */
- {{{-10,-10,-10,-10,-10,-10,-10, -8, 0, 2, 2, 2, 4, 4, 4, 5, 8},
- {-20,-20,-20,-20,-20,-20,-20,-14,-10, -4, -3, -3, -3, -3, -1, 1, 6},
- {-20,-20,-20,-20,-20,-20,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -4}}},
- /* 4 */
- {{{-15,-15,-15,-15,-15,-15,-15,-10, -4, 1, 1, 1, 2, 3, 3, 4, 7},
- {-20,-20,-20,-20,-20,-20,-20,-14,-10, -4, -3, -3, -3, -3, -1, 1, 5},
- {-20,-20,-20,-20,-20,-20,-20,-14,-10,-10,-10,-10,-10, -8, -8, -8, -4}}},
- /* 5 */
- {{{-15,-15,-15,-15,-15,-15,-15,-10, -4, 1, 1, 1, 2, 3, 3, 4, 7},
- {-22,-22,-22,-22,-22,-22,-22,-16,-12, -6, -4, -4, -4, -4, -2, -1, 2},
- {-24,-24,-24,-24,-24,-24,-24,-18,-14,-12,-12,-12,-12,-10,-10, -9, -5}}},
- /* 6 */
- {{{-15,-15,-15,-15,-15,-15,-15,-10, -4, 1, 1, 1, 2, 3, 3, 4, 7},
- {-24,-24,-24,-24,-24,-24,-24,-18,-14, -8, -6, -6, -6, -6, -4, -2, 1},
- {-26,-26,-26,-26,-26,-26,-26,-18,-16,-15,-15,-15,-15,-13,-13,-12, -8}}},
- /* 7 */
- {{{-15,-15,-15,-15,-15,-15,-15,-10, -4, 1, 1, 1, 2, 3, 3, 4, 7},
- {-24,-24,-24,-24,-24,-24,-24,-18,-14,-10, -8, -8, -8, -8, -6, -4, 0},
- {-26,-26,-26,-26,-26,-26,-26,-22,-20,-19,-19,-19,-19,-18,-17,-16,-12}}},
- /* 8 */
- {{{-15,-15,-15,-15,-15,-15,-15,-10, -4, 0, 0, 0, 0, 1, 2, 3, 7},
- {-26,-26,-26,-26,-26,-26,-26,-20,-16,-12,-10,-10,-10,-10, -8, -6, -2},
- {-28,-28,-28,-28,-28,-28,-28,-26,-24,-24,-24,-24,-24,-24,-24,-20,-16}}},
- /* 9 */
- {{{-22,-22,-22,-22,-22,-22,-22,-18,-14, -8, -4, -4, -4, -4, -4, -2, 2},
- {-26,-26,-26,-26,-26,-26,-26,-22,-18,-16,-16,-16,-16,-14,-12,-10, -7},
- {-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-24,-20}}},
- /* 10 */
- {{{-24,-24,-24,-24,-24,-24,-24,-24,-24,-18,-14,-14,-14,-14,-14,-12,-10},
- {-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-30,-20},
- {-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40}}},
- };
- static noise3 _psy_noisebias_impulse[11]={
- /* 63 125 250 500 1k 2k 4k 8k 16k*/
- /* 0 */
- {{{-10,-10,-10,-10,-10, -4, 0, 0, 4, 4, 8, 8, 8, 10, 12, 14, 20},
- {-30,-30,-30,-30,-26,-22,-20,-14, -6, -2, 0, 0, 0, 0, 2, 4, 10},
- {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, -6, -4, -2}}},
- /* 1 */
- {{{-12,-12,-12,-12,-12, -8, -6, -4, 0, 4, 4, 4, 4, 10, 12, 14, 20},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -4, -4, -2, -2, -2, -2, 2},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -8,-10,-10, -8, -8, -8, -6, -4}}},
- /* 2 */
- {{{-14,-14,-14,-14,-14,-10, -8, -6, -2, 2, 2, 2, 2, 8, 10, 10, 16},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -6, -6, -4, -4, -4, -2, 0},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10,-10,-10,-10,-10,-10,-10, -8, -4}}},
- /* 3 */
- {{{-14,-14,-14,-14,-14,-10, -8, -6, -2, 2, 2, 2, 2, 6, 8, 8, 14},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -6, -6, -4, -4, -4, -2, 0},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10,-10,-10,-10,-10,-10,-10, -8, -4}}},
- /* 4 */
- {{{-16,-16,-16,-16,-16,-12,-10, -6, -2, 0, 0, 0, 0, 4, 6, 6, 12},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -6, -6, -4, -4, -4, -2, 0},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10,-10,-10,-10,-10,-10,-10, -8, -4}}},
- /* 5 */
- {{{-20,-20,-20,-20,-20,-18,-14,-10, -4, 0, 0, 0, 0, 4, 4, 6, 11},
- {-32,-32,-32,-32,-28,-24,-22,-16,-10, -6, -8, -8, -6, -6, -6, -4, -2},
- {-34,-34,-34,-34,-30,-26,-24,-18,-14,-12,-12,-12,-12,-12,-10, -9, -5}}},
- /* 6 */
- {{{-20,-20,-20,-20,-20,-18,-14,-10, -4, 0, 0, 0, 0, 4, 4, 6, 11},
- {-34,-34,-34,-34,-30,-30,-24,-20,-12,-12,-14,-14,-10, -9, -8, -6, -4},
- {-34,-34,-34,-34,-34,-30,-26,-20,-16,-15,-15,-15,-15,-15,-13,-12, -8}}},
- /* 7 */
- {{{-22,-22,-22,-22,-22,-20,-14,-10, -6, 0, 0, 0, 0, 4, 4, 6, 11},
- {-34,-34,-34,-34,-30,-30,-24,-20,-14,-14,-16,-16,-14,-12,-10,-10,-10},
- {-34,-34,-34,-34,-32,-32,-30,-24,-20,-19,-19,-19,-19,-19,-17,-16,-12}}},
- /* 8 */
- {{{-24,-24,-24,-24,-24,-22,-14,-10, -6, -1, -1, -1, -1, 3, 3, 5, 10},
- {-34,-34,-34,-34,-30,-30,-30,-24,-20,-20,-20,-20,-20,-18,-16,-16,-14},
- {-36,-36,-36,-36,-36,-34,-28,-24,-24,-24,-24,-24,-24,-24,-24,-20,-16}}},
- /* 9 */
- {{{-28,-28,-28,-28,-28,-28,-28,-20,-14, -8, -4, -4, -4, -4, -4, -2, 2},
- {-36,-36,-36,-36,-34,-32,-32,-30,-26,-26,-26,-26,-26,-22,-20,-20,-18},
- {-40,-40,-40,-40,-40,-40,-40,-32,-30,-30,-30,-30,-30,-30,-30,-24,-20}}},
- /* 10 */
- {{{-30,-30,-30,-30,-30,-26,-24,-24,-24,-20,-16,-16,-16,-16,-16,-14,-12},
- {-40,-40,-40,-40,-40,-40,-40,-40,-35,-30,-30,-30,-30,-30,-30,-30,-26},
- {-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40}}},
- };
- static noise3 _psy_noisebias_padding[11]={
- /* 63 125 250 500 1k 2k 4k 8k 16k*/
- /* 0 */
- {{{-10,-10,-10,-10,-10, -4, 0, 0, 4, 8, 8, 8, 8, 10, 12, 14, 20},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -2, 2, 3, 6, 6, 8, 10},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, -4, -4, -4, -4, -2, 0, 2}}},
- /* 1 */
- {{{-12,-12,-12,-12,-12, -8, -6, -4, 0, 4, 4, 4, 4, 10, 12, 14, 20},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, 0, 0, 0, 2, 2, 4, 8},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -6, -6, -6, -6, -4, -2, 0}}},
- /* 2 */
- {{{-14,-14,-14,-14,-14,-10, -8, -6, -2, 2, 2, 2, 2, 8, 10, 10, 16},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -4, 0, 0, 0, 2, 2, 4, 8},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -8, -8, -8, -8, -8, -6, -4, -2}}},
- /* 3 */
- {{{-14,-14,-14,-14,-14,-10, -8, -6, -2, 2, 2, 2, 2, 6, 8, 8, 14},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -1, -1, -1, 0, 0, 2, 6},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -8, -8, -8, -8, -8, -6, -4, -2}}},
- /* 4 */
- {{{-16,-16,-16,-16,-16,-12,-10, -6, -2, 0, 0, 0, 0, 4, 6, 6, 12},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -6, -1, -1, -1, -1, 0, 2, 6},
- {-30,-30,-30,-30,-26,-22,-20,-14,-10, -8, -8, -8, -8, -8, -6, -4, -2}}},
- /* 5 */
- {{{-20,-20,-20,-20,-20,-18,-14,-10, -4, 0, 0, 0, 0, 4, 6, 6, 12},
- {-32,-32,-32,-32,-28,-24,-22,-16,-12, -6, -3, -3, -3, -3, -2, 0, 4},
- {-34,-34,-34,-34,-30,-26,-24,-18,-14,-10,-10,-10,-10,-10, -8, -5, -3}}},
- /* 6 */
- {{{-20,-20,-20,-20,-20,-18,-14,-10, -4, 0, 0, 0, 0, 4, 6, 6, 12},
- {-34,-34,-34,-34,-30,-30,-24,-20,-14, -8, -4, -4, -4, -4, -3, -1, 4},
- {-34,-34,-34,-34,-34,-30,-26,-20,-16,-13,-13,-13,-13,-13,-11, -8, -6}}},
- /* 7 */
- {{{-20,-20,-20,-20,-20,-18,-14,-10, -4, 0, 0, 0, 0, 4, 6, 6, 12},
- {-34,-34,-34,-34,-30,-30,-30,-24,-16,-10, -8, -6, -6, -6, -5, -3, 1},
- {-34,-34,-34,-34,-32,-32,-28,-22,-18,-16,-16,-16,-16,-16,-14,-12,-10}}},
- /* 8 */
- {{{-22,-22,-22,-22,-22,-20,-14,-10, -4, 0, 0, 0, 0, 3, 5, 5, 11},
- {-34,-34,-34,-34,-30,-30,-30,-24,-16,-12,-10, -8, -8, -8, -7, -5, -2},
- {-36,-36,-36,-36,-36,-34,-28,-22,-20,-20,-20,-20,-20,-20,-20,-16,-14}}},
- /* 9 */
- {{{-28,-28,-28,-28,-28,-28,-28,-20,-14, -8, -2, -2, -2, -2, 0, 2, 6},
- {-36,-36,-36,-36,-34,-32,-32,-24,-16,-12,-12,-12,-12,-12,-10, -8, -5},
- {-40,-40,-40,-40,-40,-40,-40,-32,-26,-24,-24,-24,-24,-24,-24,-20,-18}}},
- /* 10 */
- {{{-30,-30,-30,-30,-30,-26,-24,-24,-24,-20,-12,-12,-12,-12,-12,-10, -8},
- {-40,-40,-40,-40,-40,-40,-40,-40,-35,-30,-25,-25,-25,-25,-25,-25,-15},
- {-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40}}},
- };
- static noiseguard _psy_noiseguards_44[4]={
- {3,3,15},
- {3,3,15},
- {10,10,100},
- {10,10,100},
- };
- static int _psy_tone_suppress[11]={
- -20,-20,-20,-20,-24,-30,-40,-40,-45,-45,-45,
- };
- static int _psy_tone_0dB[11]={
- 90,95,95,95,95,105,105,105,105,105,105,
- };
- static int _psy_noise_suppress[11]={
- -20,-24,-24,-24,-24,-30,-40,-40,-45,-45,-45,
- };
- static vorbis_info_psy _psy_info_template={
- -1,
- -140.,-140.,
- /* tonemask att boost/decay,suppr,curves */
- {0.f,0.f,0.f}, 0.,0., -40.f, {0.},
-
- /*noisemaskp,supp, low/high window, low/hi guard, minimum */
- 1, -0.f, .5f, .5f, 0,0,0,
- {{-1},{-1},{-1}},{-1},105.f,
- 0,0,-1,-1,0.,
- };
- /* ath ****************/
- static int _psy_ath_floater[11]={
- -100,-100,-100,-100,-100,-105,-105,-105,-105,-110,-120,
- };
- static int _psy_ath_abs[11]={
- -130,-130,-130,-140,-140,-140,-140,-140,-140,-140,-150,
- };
- /* stereo setup. These don't map directly to quality level, there's
- an additional indirection as several of the below may be used in a
- single bitmanaged stream
- ****************/
- /* various stereo possibilities */
- /* stereo mode by base quality level */
- static adj_stereo _psy_stereo_modes_44_low[2]={
- /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 */
- {{ 4, 4, 4, 4, 4, 4, 4, 3, 2, 2, 1, 0, 0, 0, 0},
- { 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 5, 4, 3},
- { 1, 2, 3, 4, 4, 4, 4, 4, 4, 5, 6, 7, 8, 8, 8},
- { 12,12.5, 13,13.5, 14,14.5, 15, 99, 99, 99, 99, 99, 99, 99, 99}},
- /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 */
- {{ 4, 4, 4, 4, 4, 4, 4, 3, 2, 2, 1, 0, 0, 0, 0},
- { 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 5, 4, 3},
- { 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 7, 8, 8, 8},
- { 12,12.5, 13,13.5, 14,14.5, 15, 99, 99, 99, 99, 99, 99, 99, 99}},
- };
- static adj_stereo _psy_stereo_modes_44[11]={
- /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 0 */
- {{ 4, 4, 4, 4, 4, 4, 4, 3, 2, 2, 1, 0, 0, 0, 0},
- { 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 5, 4, 3},
- { 1, 2, 3, 4, 5, 5, 6, 6, 6, 6, 6, 7, 8, 8, 8},
- { 12,12.5, 13,13.5, 14,14.5, 15, 99, 99, 99, 99, 99, 99, 99, 99}},
- /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 */
- {{ 3, 3, 3, 3, 3, 3, 3, 3, 2, 1, 0, 0, 0, 0, 0},
- { 8, 8, 8, 8, 6, 6, 5, 5, 5, 5, 5, 5, 5, 4, 3},
- { 1, 2, 3, 4, 4, 5, 6, 6, 6, 6, 6, 8, 8, 8, 8},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 */
- {{ 3, 3, 3, 3, 3, 3, 2, 2, 2, 1, 0, 0, 0, 0, 0},
- { 8, 8, 8, 6, 5, 5, 5, 5, 5, 5, 5, 4, 3, 2, 1},
- { 3, 4, 4, 4, 5, 6, 6, 6, 6, 6, 6, 8, 8, 8, 8},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 */
- {{ 2, 2, 2, 2, 2, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0},
- { 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 2, 1},
- { 4, 4, 5, 6, 6, 6, 6, 6, 8, 8, 10, 10, 10, 10, 10},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 */
- {{ 2, 2, 2, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0},
- { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 2, 1, 0},
- { 6, 6, 6, 8, 8, 8, 8, 8, 8, 8, 10, 10, 10, 10, 10},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 */
- {{ 2, 2, 2, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
- { 3, 3, 3, 3, 3, 2, 2, 2, 2, 2, 2, 0, 0, 0, 0},
- { 6, 6, 8, 8, 8, 8, 10, 10, 10, 10, 10, 10, 10, 10, 10},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 6 */
- {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
- { 3, 3, 3, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0},
- { 8, 8, 8, 8, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 */
- {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
- { 3, 3, 3, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
- { 8, 8, 8, 8, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 8 */
- {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
- { 2, 2, 2, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
- { 8, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 */
- {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
- { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
- { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 10 */
- {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
- { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
- { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- };
- /* tone master attenuation by base quality mode and bitrate tweak */
- static att3 _psy_tone_masteratt_44_low[2]={
- {{ 34, 20, 8}, 0, 1.25}, /* 0 */
- {{ 34, 20, 8}, -2, 1.25}, /* 1 */
- };
- static att3 _psy_tone_masteratt_44[11]={
- {{ 30, 20, 8}, -2, 1.25}, /* 0 */
- {{ 25, 14, 4}, 0, 0}, /* 1 */
- {{ 20, 10, -2}, 0, 0}, /* 2 */
- {{ 20, 9, -4}, 0, 0}, /* 3 */
- {{ 20, 9, -4}, 0, 0}, /* 4 */
- {{ 20, 6, -6}, 0, 0}, /* 5 */
- {{ 20, 3, -10}, 0, 0}, /* 6 */
- {{ 18, 1, -14}, 0, 0}, /* 7 */
- {{ 18, 0, -16}, 0, 0}, /* 8 */
- {{ 18, -2, -16}, 0, 0}, /* 9 */
- {{ 12, -2, -20}, 0, 0}, /* 10 */
- };
- /* lowpass by mode **************/
- static double _psy_lowpass_44_low[2]={
- 15.1,15.1,
- };
- static double _psy_lowpass_44[11]={
- 15.1,15.8,16.5,17.9,20.5,48.,999.,999.,999.,999.,999.
- };
- /* noise normalization **********/
- static int _noise_start_short_44[10]={
- 16,16,16,16,32,32,9999,9999,9999,9999
- };
- static int _noise_start_long_44[10]={
- 128,128,128,256,512,512,9999,9999,9999,9999
- };
- static int _noise_part_short_44[10]={
- 8,8,8,8,8,8,8,8,8,8
- };
- static int _noise_part_long_44[10]={
- 32,32,32,32,32,32,32,32,32,32
- };
- static double _noise_thresh_44[10]={
- .2,.2,.3,.4,.5,.5,9999.,9999.,9999.,9999.,
- };
- static double _noise_thresh_44_2[2]={
- .5,.5,
- };
- static int _noise_start_short_44_low[2]={
- 32,32
- };
- static int _noise_start_long_44_low[2]={
- 256,256
- };
- static double rate_mapping_44_stereo_low[2]={
- 22500.,32000.
- };
- static double rate_mapping_44_stereo[11]={
- 32000.,40000.,48000.,56000.,64000.,
- 80000.,96000.,112000.,128000.,160000.,250001.
- };
- static double quality_mapping_44_stereo_low[2]={
- -.1,.0,
- };
- static double quality_mapping_44[11]={
- .0,.1,.2,.3,.4,.5,.6,.7,.8,.9,1.0
- };
- static int blocksize_short_44_low[1]={
- 512
- };
- static int blocksize_long_44_low[1]={
- 4096
- };
- static int blocksize_short_44[10]={
- 256,256,256,256,256,256,256,256,256,256
- };
- static int blocksize_long_44[10]={
- 2048,2048,2048,2048,2048,2048,2048,2048,2048,2048
- };
- static double _psy_compand_short_mapping[11]={
- 1., 1., 1.3, 1.6, 2., 2., 2., 2., 2., 2., 2.
- };
- static double _psy_compand_long_mapping[11]={
- 4., 4., 4.3, 4.6, 5., 5., 5., 5., 5., 5., 5.
- };
- static double _global_mapping_44[11]={
- 1., 1., 1.5, 2., 2., 2.5, 2.7, 3.0, 3.5, 4., 4.
- };
- static double _global_mapping_44_low[2]={
- 0., 1.,
- };
- static int _floor_short_mapping_44_low[1]={
- 1,
- };
- static int _floor_long_mapping_44_low[1]={
- 8
- };
- static int _floor_short_mapping_44[10]={
- 0,0,2,2,4,5,5,5,5,5
- };
- static int _floor_long_mapping_44[10]={
- 7,7,7,7,7,7,7,7,7,7
- };
- ve_setup_data_template ve_setup_44_stereo={
- 10,
- rate_mapping_44_stereo,
- quality_mapping_44,
- 2,
- 40000,
- 50000,
-
- blocksize_short_44,
- blocksize_long_44,
- _psy_tone_masteratt_44,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_otherblock,
- _vp_tonemask_adj_longblock,
- _vp_tonemask_adj_otherblock,
- _psy_noiseguards_44,
- _psy_noisebias_impulse,
- _psy_noisebias_padding,
- _psy_noisebias_trans,
- _psy_noisebias_long,
- _psy_noise_suppress,
-
- _psy_compand_44,
- _psy_compand_short_mapping,
- _psy_compand_long_mapping,
- {_noise_start_short_44,_noise_start_long_44},
- {_noise_part_short_44,_noise_part_long_44},
- _noise_thresh_44,
- _psy_ath_floater,
- _psy_ath_abs,
-
- _psy_lowpass_44,
- _psy_global_44,
- _global_mapping_44,
- _psy_stereo_modes_44,
- _floor_books,
- _floor,
- _floor_short_mapping_44,
- _floor_long_mapping_44,
- _mapres_template_44_stereo
- };
- ve_setup_data_template ve_setup_44_stereo_low={
- 1,
- rate_mapping_44_stereo_low,
- quality_mapping_44_stereo_low,
- 2,
- 40000,
- 50000,
-
- blocksize_short_44_low,
- blocksize_long_44_low,
- _psy_tone_masteratt_44_low,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_otherblock,
- _vp_tonemask_adj_longblock,
- _vp_tonemask_adj_otherblock,
- _psy_noiseguards_44,
- _psy_noisebias_trans_low,
- _psy_noisebias_trans_low,
- _psy_noisebias_trans_low,
- _psy_noisebias_long_low,
- _psy_noise_suppress,
-
- _psy_compand_44,
- _psy_compand_short_mapping,
- _psy_compand_long_mapping,
- {_noise_start_short_44_low,_noise_start_long_44_low},
- {_noise_part_short_44,_noise_part_long_44},
- _noise_thresh_44,
- _psy_ath_floater,
- _psy_ath_abs,
-
- _psy_lowpass_44_low,
- _psy_global_44,
- _global_mapping_44_low,
- _psy_stereo_modes_44_low,
- _floor_books,
- _floor,
- _floor_short_mapping_44_low,
- _floor_long_mapping_44_low,
- _mapres_template_44_stereo
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: toplevel settings for 44.1/48kHz uncoupled modes
- last mod: $Id: setup_44u.h,v 1.3 2002/07/11 06:41:05 xiphmont Exp $
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: toplevel residue templates for 32/44.1/48kHz uncoupled
- last mod: $Id: residue_44u.h,v 1.3 2002/07/11 06:41:04 xiphmont Exp $
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the Xiph.Org Foundation http://www.xiph.org/ *
- * *
- ********************************************************************
- function: static codebooks autogenerated by huff/huffbuld
- last modified: $Id: res_books_uncoupled.h,v 1.2 2002/07/11 10:27:53 xiphmont Exp $
- ********************************************************************/
- static long _vq_quantlist__16u0__p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__16u0__p1_0[] = {
- 1, 4, 4, 5, 7, 7, 5, 7, 8, 5, 8, 8, 8,10,10, 8,
- 10,11, 5, 8, 8, 8,10,10, 8,10,10, 4, 9, 9, 9,12,
- 11, 8,11,11, 8,12,11,10,12,14,10,13,13, 7,11,11,
- 10,14,12,11,14,14, 4, 9, 9, 8,11,11, 9,11,12, 7,
- 11,11,10,13,14,10,12,14, 8,11,12,10,14,14,10,13,
- 12,
- };
- static float _vq_quantthresh__16u0__p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__16u0__p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__16u0__p1_0 = {
- _vq_quantthresh__16u0__p1_0,
- _vq_quantmap__16u0__p1_0,
- 3,
- 3
- };
- static static_codebook _16u0__p1_0 = {
- 4, 81,
- _vq_lengthlist__16u0__p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__16u0__p1_0,
- NULL,
- &_vq_auxt__16u0__p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u0__p2_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__16u0__p2_0[] = {
- 2, 4, 4, 5, 6, 6, 5, 6, 6, 5, 7, 7, 7, 8, 9, 7,
- 8, 9, 5, 7, 7, 7, 9, 8, 7, 9, 7, 4, 7, 7, 7, 9,
- 9, 7, 8, 8, 6, 9, 8, 7, 8,11, 9,11,10, 6, 8, 9,
- 8,11, 8, 9,10,11, 4, 7, 7, 7, 8, 8, 7, 9, 9, 6,
- 9, 8, 9,11,10, 8, 8,11, 6, 8, 9, 9,10,11, 8,11,
- 8,
- };
- static float _vq_quantthresh__16u0__p2_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__16u0__p2_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__16u0__p2_0 = {
- _vq_quantthresh__16u0__p2_0,
- _vq_quantmap__16u0__p2_0,
- 3,
- 3
- };
- static static_codebook _16u0__p2_0 = {
- 4, 81,
- _vq_lengthlist__16u0__p2_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__16u0__p2_0,
- NULL,
- &_vq_auxt__16u0__p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u0__p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__16u0__p3_0[] = {
- 1, 5, 5, 7, 7, 6, 7, 7, 8, 8, 6, 7, 8, 8, 8, 8,
- 9, 9,11,11, 8, 9, 9,11,11, 6, 9, 8,10,10, 8,10,
- 10,11,11, 8,10,10,11,11,10,11,10,13,12, 9,11,10,
- 13,13, 6, 8, 9,10,10, 8,10,10,11,11, 8,10,10,11,
- 11, 9,10,11,13,12,10,10,11,12,12, 8,11,11,14,13,
- 10,12,11,15,13, 9,12,11,15,14,12,14,13,16,14,12,
- 13,13,17,14, 8,11,11,13,14, 9,11,12,14,15,10,11,
- 12,13,15,11,13,13,14,16,12,13,14,14,16, 5, 9, 9,
- 11,11, 9,11,11,12,12, 8,11,11,12,12,11,12,12,15,
- 14,10,12,12,15,15, 8,11,11,13,12,10,12,12,13,13,
- 10,12,12,14,13,12,12,13,14,15,11,13,13,17,16, 7,
- 11,11,13,13,10,12,12,14,13,10,12,12,13,14,12,13,
- 12,15,14,11,13,13,15,14, 9,12,12,16,15,11,13,13,
- 17,16,10,13,13,16,16,13,14,15,15,16,13,15,14,19,
- 17, 9,12,12,14,16,11,13,13,15,16,10,13,13,17,16,
- 13,14,13,17,15,12,15,15,16,17, 5, 9, 9,11,11, 8,
- 11,11,13,12, 9,11,11,12,12,10,12,12,14,15,11,12,
- 12,14,14, 7,11,10,13,12,10,12,12,14,13,10,11,12,
- 13,13,11,13,13,15,16,12,12,13,15,15, 7,11,11,13,
- 13,10,13,13,14,14,10,12,12,13,13,11,13,13,16,15,
- 12,13,13,15,14, 9,12,12,15,15,10,13,13,17,16,11,
- 12,13,15,15,12,15,14,18,18,13,14,14,16,17, 9,12,
- 12,15,16,10,13,13,15,16,11,13,13,15,16,13,15,15,
- 17,17,13,15,14,16,15, 7,11,11,15,16,10,13,12,16,
- 17,10,12,13,15,17,15,16,16,18,17,13,15,15,17,18,
- 8,12,12,16,16,11,13,14,17,18,11,13,13,18,16,15,
- 17,16,17,19,14,15,15,17,16, 8,12,12,16,15,11,14,
- 13,18,17,11,13,14,18,17,15,16,16,18,17,13,16,16,
- 18,18,11,15,14,18,17,13,14,15,18, 0,12,15,15, 0,
- 17,17,16,17,17,18,14,16,18,18, 0,11,14,14,17, 0,
- 12,15,14,17,19,12,15,14,18, 0,15,18,16, 0,17,14,
- 18,16,18, 0, 7,11,11,16,15,10,12,12,18,16,10,13,
- 13,16,15,13,15,14,17,17,14,16,16,19,18, 8,12,12,
- 16,16,11,13,13,18,16,11,13,14,17,16,14,15,15,19,
- 18,15,16,16, 0,19, 8,12,12,16,17,11,13,13,17,17,
- 11,14,13,17,17,13,15,15,17,19,15,17,17,19, 0,11,
- 14,15,19,17,12,15,16,18,18,12,14,15,19,17,14,16,
- 17, 0,18,16,16,19,17, 0,11,14,14,18,19,12,15,14,
- 17,17,13,16,14,17,16,14,17,16,18,18,15,18,15, 0,
- 18,
- };
- static float _vq_quantthresh__16u0__p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__16u0__p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__16u0__p3_0 = {
- _vq_quantthresh__16u0__p3_0,
- _vq_quantmap__16u0__p3_0,
- 5,
- 5
- };
- static static_codebook _16u0__p3_0 = {
- 4, 625,
- _vq_lengthlist__16u0__p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__16u0__p3_0,
- NULL,
- &_vq_auxt__16u0__p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u0__p4_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__16u0__p4_0[] = {
- 3, 5, 5, 8, 8, 6, 6, 6, 9, 9, 6, 6, 6, 9, 9, 9,
- 10, 9,11,11, 9, 9, 9,11,11, 6, 7, 7,10,10, 7, 7,
- 8,10,10, 7, 7, 8,10,10,10,10,10,11,12, 9,10,10,
- 11,12, 6, 7, 7,10,10, 7, 8, 7,10,10, 7, 8, 7,10,
- 10,10,11,10,12,11,10,10,10,13,10, 9,10,10,12,12,
- 10,11,10,14,12, 9,11,11,13,13,11,12,13,13,13,11,
- 12,12,15,13, 9,10,10,12,13, 9,11,10,12,13,10,10,
- 11,12,13,11,12,12,12,13,11,12,12,13,13, 5, 7, 7,
- 10,10, 7, 8, 8,10,10, 7, 8, 8,10,10,10,11,10,12,
- 13,10,10,11,12,12, 6, 8, 8,11,10, 7, 8, 9,10,12,
- 8, 9, 9,11,11,11,10,11,11,12,10,11,11,13,12, 7,
- 8, 8,10,11, 8, 9, 8,11,10, 8, 9, 9,11,11,10,12,
- 10,13,11,10,11,11,13,13,10,11,10,14,13,10,10,11,
- 13,13,10,12,11,14,13,12,11,13,12,13,13,12,13,14,
- 14,10,11,11,13,13,10,11,10,12,13,10,12,12,12,14,
- 12,12,12,14,12,12,13,12,17,15, 5, 7, 7,10,10, 7,
- 8, 8,10,10, 7, 8, 8,11,10,10,10,11,12,12,10,11,
- 11,12,13, 6, 8, 8,11,10, 8, 9, 9,11,11, 7, 8, 9,
- 10,11,11,11,11,12,12,10,10,11,12,13, 6, 8, 8,10,
- 11, 8, 9, 9,11,11, 7, 9, 7,11,10,10,12,12,13,13,
- 11,11,10,13,11, 9,11,10,14,13,11,11,11,15,13,10,
- 10,11,13,13,12,13,13,14,14,12,11,12,12,13,10,11,
- 11,12,13,10,11,12,13,13,10,11,10,13,12,12,12,13,
- 14, 0,12,13,11,13,11, 8,10,10,13,13,10,11,11,14,
- 13,10,11,11,13,12,13,14,14,14,15,12,12,12,15,14,
- 9,11,10,13,12,10,10,11,13,14,11,11,11,15,12,13,
- 12,14,15,16,13,13,13,14,13, 9,11,11,12,12,10,12,
- 11,13,13,10,11,11,13,14,13,13,13,15,15,13,13,14,
- 17,15,11,12,12,14,14,10,11,12,13,15,12,13,13, 0,
- 15,13,11,14,12,16,14,16,14, 0,15,11,12,12,14,16,
- 11,13,12,16,15,12,13,13,14,15,12,14,12,15,13,15,
- 14,14,16,16, 8,10,10,13,13,10,11,10,13,14,10,11,
- 11,13,13,13,13,12,14,14,14,13,13,16,17, 9,10,10,
- 12,14,10,12,11,14,13,10,11,12,13,14,12,12,12,15,
- 15,13,13,13,14,14, 9,10,10,13,13,10,11,12,12,14,
- 10,11,10,13,13,13,13,13,14,16,13,13,13,14,14,11,
- 12,13,15,13,12,14,13,14,16,12,12,13,13,14,13,14,
- 14,17,15,13,12,17,13,16,11,12,13,14,15,12,13,14,
- 14,17,11,12,11,14,14,13,16,14,16, 0,14,15,11,15,
- 11,
- };
- static float _vq_quantthresh__16u0__p4_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__16u0__p4_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__16u0__p4_0 = {
- _vq_quantthresh__16u0__p4_0,
- _vq_quantmap__16u0__p4_0,
- 5,
- 5
- };
- static static_codebook _16u0__p4_0 = {
- 4, 625,
- _vq_lengthlist__16u0__p4_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__16u0__p4_0,
- NULL,
- &_vq_auxt__16u0__p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u0__p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__16u0__p5_0[] = {
- 1, 4, 4, 7, 7, 7, 7, 9, 9, 4, 6, 6, 8, 8, 8, 8,
- 9, 9, 4, 6, 6, 8, 8, 8, 8, 9, 9, 7, 8, 8, 9, 9,
- 9, 9,11,10, 7, 8, 8, 9, 9, 9, 9,10,11, 7, 8, 8,
- 9, 9,10,10,11,11, 7, 8, 8, 9, 9,10,10,11,11, 9,
- 9, 9,10,10,11,11,12,12, 9, 9, 9,10,10,11,11,12,
- 12,
- };
- static float _vq_quantthresh__16u0__p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__16u0__p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__16u0__p5_0 = {
- _vq_quantthresh__16u0__p5_0,
- _vq_quantmap__16u0__p5_0,
- 9,
- 9
- };
- static static_codebook _16u0__p5_0 = {
- 2, 81,
- _vq_lengthlist__16u0__p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__16u0__p5_0,
- NULL,
- &_vq_auxt__16u0__p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u0__p6_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__16u0__p6_0[] = {
- 1, 4, 4, 7, 7,10,10,12,12,13,13,18,17, 3, 6, 6,
- 9, 9,11,11,13,13,14,14,18,17, 3, 6, 6, 9, 9,11,
- 11,13,13,14,14,17,18, 7, 9, 9,11,11,13,13,14,14,
- 15,15, 0, 0, 7, 9, 9,11,11,13,13,14,14,15,16,19,
- 18,10,11,11,13,13,14,14,16,15,17,18, 0, 0,10,11,
- 11,13,13,14,14,15,15,16,18, 0, 0,11,13,13,14,14,
- 15,15,17,17, 0,19, 0, 0,11,13,13,14,14,14,15,16,
- 18, 0,19, 0, 0,13,14,14,15,15,18,17,18,18, 0,19,
- 0, 0,13,14,14,15,16,16,16,18,18,19, 0, 0, 0,16,
- 17,17, 0,17,19,19, 0,19, 0, 0, 0, 0,16,19,16,17,
- 18, 0,19, 0, 0, 0, 0, 0, 0,
- };
- static float _vq_quantthresh__16u0__p6_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__16u0__p6_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__16u0__p6_0 = {
- _vq_quantthresh__16u0__p6_0,
- _vq_quantmap__16u0__p6_0,
- 13,
- 13
- };
- static static_codebook _16u0__p6_0 = {
- 2, 169,
- _vq_lengthlist__16u0__p6_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__16u0__p6_0,
- NULL,
- &_vq_auxt__16u0__p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u0__p6_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__16u0__p6_1[] = {
- 1, 4, 5, 6, 6, 4, 6, 6, 6, 6, 4, 6, 6, 6, 6, 6,
- 6, 6, 7, 7, 6, 6, 6, 7, 7,
- };
- static float _vq_quantthresh__16u0__p6_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__16u0__p6_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__16u0__p6_1 = {
- _vq_quantthresh__16u0__p6_1,
- _vq_quantmap__16u0__p6_1,
- 5,
- 5
- };
- static static_codebook _16u0__p6_1 = {
- 2, 25,
- _vq_lengthlist__16u0__p6_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__16u0__p6_1,
- NULL,
- &_vq_auxt__16u0__p6_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16u0__p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__16u0__p7_0[] = {
- 1, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7,
- };
- static float _vq_quantthresh__16u0__p7_0[] = {
- -157.5, 157.5,
- };
- static long _vq_quantmap__16u0__p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__16u0__p7_0 = {
- _vq_quantthresh__16u0__p7_0,
- _vq_quantmap__16u0__p7_0,
- 3,
- 3
- };
- static static_codebook _16u0__p7_0 = {
- 4, 81,
- _vq_lengthlist__16u0__p7_0,
- 1, -518803456, 1628680192, 2, 0,
- _vq_quantlist__16u0__p7_0,
- NULL,
- &_vq_auxt__16u0__p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u0__p7_1[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__16u0__p7_1[] = {
- 1, 5, 5, 6, 5, 9,10,11,11,10,10,10,10,10,10, 5,
- 8, 8, 8,10,10,10,10,10,10,10,10,10,10,10, 5, 8,
- 9, 9, 9,10,10,10,10,10,10,10,10,10,10, 5,10, 8,
- 10,10,10,10,10,10,10,10,10,10,10,10, 4, 8, 9,10,
- 10,10,10,10,10,10,10,10,10,10,10, 9,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10, 9,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,
- };
- static float _vq_quantthresh__16u0__p7_1[] = {
- -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5, 10.5,
- 31.5, 52.5, 73.5, 94.5, 115.5, 136.5,
- };
- static long _vq_quantmap__16u0__p7_1[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__16u0__p7_1 = {
- _vq_quantthresh__16u0__p7_1,
- _vq_quantmap__16u0__p7_1,
- 15,
- 15
- };
- static static_codebook _16u0__p7_1 = {
- 2, 225,
- _vq_lengthlist__16u0__p7_1,
- 1, -520986624, 1620377600, 4, 0,
- _vq_quantlist__16u0__p7_1,
- NULL,
- &_vq_auxt__16u0__p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16u0__p7_2[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__16u0__p7_2[] = {
- 1, 6, 6, 7, 8, 7, 7,10, 9,10, 9,11,10, 9,11,10,
- 9, 9, 9, 9,10, 6, 8, 7, 9, 9, 8, 8,10,10, 9,11,
- 11,12,12,10, 9,11, 9,12,10, 9, 6, 9, 8, 9,12, 8,
- 8,11, 9,11,11,12,11,12,12,10,11,11,10,10,11, 7,
- 10, 9, 9, 9, 9, 9,10, 9,10, 9,10,10,12,10,10,10,
- 11,12,10,10, 7, 9, 9, 9,10, 9, 9,10,10, 9, 9, 9,
- 11,11,10,10,10,10, 9, 9,12, 7, 9,10, 9,11, 9,10,
- 9,10,11,11,11,10,11,12, 9,12,11,10,10,10, 7, 9,
- 9, 9, 9,10,12,10, 9,11,12,10,11,12,12,11, 9,10,
- 11,10,11, 7, 9,10,10,11,10, 9,10,11,11,11,10,12,
- 12,12,11,11,10,11,11,12, 8, 9,10,12,11,10,10,12,
- 12,12,12,12,10,11,11, 9,11,10,12,11,11, 8, 9,10,
- 10,11,12,11,11,10,10,10,12,12,12, 9,10,12,12,12,
- 12,12, 8,10,11,10,10,12, 9,11,12,12,11,12,12,12,
- 12,10,12,10,10,10,10, 8,12,11,11,11,10,10,11,12,
- 12,12,12,11,12,12,12,11,11,11,12,10, 9,10,10,12,
- 10,12,10,12,12,10,10,10,11,12,12,12,11,12,12,12,
- 11,10,11,12,12,12,11,12,12,11,12,12,11,12,12,12,
- 12,11,12,12,10,10,10,10,11,11,12,11,12,12,12,12,
- 12,12,12,11,12,11,10,11,11,12,11,11, 9,10,10,10,
- 12,10,10,11, 9,11,12,11,12,11,12,12,10,11,10,12,
- 9, 9, 9,12,11,10,11,10,12,10,12,10,12,12,12,11,
- 11,11,11,11,10, 9,10,10,11,10,11,11,12,11,10,11,
- 12,12,12,11,11, 9,12,10,12, 9,10,12,10,10,11,10,
- 11,11,12,11,10,11,10,11,11,11,11,12,11,11,10, 9,
- 10,10,10, 9,11,11,10, 9,12,10,11,12,11,12,12,11,
- 12,11,12,11,10,11,10,12,11,12,11,12,11,12,10,11,
- 10,10,12,11,10,11,11,11,10,
- };
- static float _vq_quantthresh__16u0__p7_2[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__16u0__p7_2[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__16u0__p7_2 = {
- _vq_quantthresh__16u0__p7_2,
- _vq_quantmap__16u0__p7_2,
- 21,
- 21
- };
- static static_codebook _16u0__p7_2 = {
- 2, 441,
- _vq_lengthlist__16u0__p7_2,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__16u0__p7_2,
- NULL,
- &_vq_auxt__16u0__p7_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__16u0__single[] = {
- 3, 5, 8, 7,14, 8, 9,19, 5, 2, 5, 5, 9, 6, 9,19,
- 8, 4, 5, 7, 8, 9,13,19, 7, 4, 6, 5, 9, 6, 9,19,
- 12, 8, 7, 9,10,11,13,19, 8, 5, 8, 6, 9, 6, 7,19,
- 8, 8,10, 7, 7, 4, 5,19,12,17,19,15,18,13,11,18,
- };
- static static_codebook _huff_book__16u0__single = {
- 2, 64,
- _huff_lengthlist__16u0__single,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__16u1__long[] = {
- 3, 6,10, 8,12, 8,14, 8,14,19, 5, 3, 5, 5, 7, 6,
- 11, 7,16,19, 7, 5, 6, 7, 7, 9,11,12,19,19, 6, 4,
- 7, 5, 7, 6,10, 7,18,18, 8, 6, 7, 7, 7, 7, 8, 9,
- 18,18, 7, 5, 8, 5, 7, 5, 8, 6,18,18,12, 9,10, 9,
- 9, 9, 8, 9,18,18, 8, 7,10, 6, 8, 5, 6, 4,11,18,
- 11,15,16,12,11, 8, 8, 6, 9,18,14,18,18,18,16,16,
- 16,13,16,18,
- };
- static static_codebook _huff_book__16u1__long = {
- 2, 100,
- _huff_lengthlist__16u1__long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__16u1__p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__16u1__p1_0[] = {
- 1, 4, 4, 5, 7, 7, 5, 7, 7, 5, 8, 7, 7,10,10, 7,
- 9,10, 5, 7, 8, 7,10, 9, 7,10,10, 5, 8, 8, 8,10,
- 10, 8,10,10, 7,10,10,10,11,12,10,12,13, 7,10,10,
- 9,13,11,10,12,13, 5, 8, 8, 8,10,10, 8,10,10, 7,
- 10,10,10,12,12, 9,11,12, 7,10,11,10,12,12,10,13,
- 11,
- };
- static float _vq_quantthresh__16u1__p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__16u1__p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__16u1__p1_0 = {
- _vq_quantthresh__16u1__p1_0,
- _vq_quantmap__16u1__p1_0,
- 3,
- 3
- };
- static static_codebook _16u1__p1_0 = {
- 4, 81,
- _vq_lengthlist__16u1__p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__16u1__p1_0,
- NULL,
- &_vq_auxt__16u1__p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u1__p2_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__16u1__p2_0[] = {
- 3, 4, 4, 5, 6, 6, 5, 6, 6, 5, 6, 6, 6, 7, 8, 6,
- 7, 8, 5, 6, 6, 6, 8, 7, 6, 8, 7, 5, 6, 6, 6, 8,
- 8, 6, 8, 8, 6, 8, 8, 7, 7,10, 8, 9, 9, 6, 8, 8,
- 7, 9, 8, 8, 9,10, 5, 6, 6, 6, 8, 8, 7, 8, 8, 6,
- 8, 8, 8,10, 9, 7, 8, 9, 6, 8, 8, 8, 9, 9, 7,10,
- 8,
- };
- static float _vq_quantthresh__16u1__p2_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__16u1__p2_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__16u1__p2_0 = {
- _vq_quantthresh__16u1__p2_0,
- _vq_quantmap__16u1__p2_0,
- 3,
- 3
- };
- static static_codebook _16u1__p2_0 = {
- 4, 81,
- _vq_lengthlist__16u1__p2_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__16u1__p2_0,
- NULL,
- &_vq_auxt__16u1__p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u1__p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__16u1__p3_0[] = {
- 1, 5, 5, 8, 8, 6, 7, 7, 9, 9, 5, 7, 7, 9, 9, 9,
- 10, 9,11,11, 9, 9,10,11,11, 6, 8, 8,10,10, 8, 9,
- 10,11,11, 8, 9,10,11,11,10,11,11,12,13,10,11,11,
- 13,13, 6, 8, 8,10,10, 8,10, 9,11,11, 8,10, 9,11,
- 11,10,11,11,13,13,10,11,11,13,12, 9,11,11,14,13,
- 10,12,12,15,14,10,12,11,14,13,12,13,13,15,15,12,
- 13,13,16,14, 9,11,11,13,14,10,11,12,14,14,10,12,
- 12,14,15,12,13,13,14,15,12,13,14,15,16, 5, 8, 8,
- 11,11, 8,10,10,12,12, 8,10,10,12,12,11,12,12,14,
- 14,11,12,12,14,14, 8,10,10,12,12, 9,11,12,12,13,
- 10,12,12,13,13,12,12,13,14,15,11,13,13,15,15, 7,
- 10,10,12,12, 9,12,11,13,12,10,11,12,13,13,12,13,
- 12,15,14,11,12,13,15,15,10,12,12,15,14,11,13,13,
- 16,15,11,13,13,16,15,14,13,14,15,16,13,15,15,17,
- 17,10,12,12,14,15,11,12,12,15,15,11,13,13,15,16,
- 13,15,13,16,15,13,15,15,16,17, 5, 8, 8,11,11, 8,
- 10,10,12,12, 8,10,10,12,12,11,12,12,14,14,11,12,
- 12,14,14, 7,10,10,12,12,10,12,12,14,13, 9,11,12,
- 12,13,12,13,13,15,15,12,12,13,13,15, 7,10,10,12,
- 13,10,11,12,13,13,10,12,11,13,13,11,13,13,15,15,
- 12,13,12,15,14, 9,12,12,15,14,11,13,13,15,15,11,
- 12,13,15,15,13,14,14,17,19,13,13,14,16,16,10,12,
- 12,14,15,11,13,13,15,16,11,13,12,16,15,13,15,15,
- 17,18,14,15,13,16,15, 8,11,11,15,14,10,12,12,16,
- 15,10,12,12,16,16,14,15,15,18,17,13,14,15,16,18,
- 9,12,12,15,15,11,12,14,16,17,11,13,13,16,15,15,
- 15,15,17,18,14,15,16,17,17, 9,12,12,15,15,11,14,
- 13,16,16,11,13,13,16,16,15,16,15,17,18,14,16,15,
- 17,16,12,14,14,17,16,12,14,15,18,17,13,15,15,17,
- 17,15,15,18,16,20,15,16,17,18,18,11,14,14,16,17,
- 13,15,14,18,17,13,15,15,17,17,15,17,15,18,17,15,
- 17,16,19,18, 8,11,11,14,15,10,12,12,15,15,10,12,
- 12,16,16,13,14,14,17,16,14,15,15,17,17, 9,12,12,
- 15,16,11,13,13,16,16,11,12,13,16,16,14,16,15,20,
- 17,14,16,16,17,17, 9,12,12,15,16,11,13,13,16,17,
- 11,13,13,17,16,14,15,15,17,18,15,15,15,18,18,11,
- 14,14,17,16,13,15,15,17,17,13,14,14,18,17,15,16,
- 16,18,19,15,15,17,17,19,11,14,14,16,17,13,15,14,
- 17,19,13,15,14,18,17,15,17,16,18,18,15,17,15,18,
- 16,
- };
- static float _vq_quantthresh__16u1__p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__16u1__p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__16u1__p3_0 = {
- _vq_quantthresh__16u1__p3_0,
- _vq_quantmap__16u1__p3_0,
- 5,
- 5
- };
- static static_codebook _16u1__p3_0 = {
- 4, 625,
- _vq_lengthlist__16u1__p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__16u1__p3_0,
- NULL,
- &_vq_auxt__16u1__p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u1__p4_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__16u1__p4_0[] = {
- 4, 5, 5, 8, 8, 6, 6, 7, 9, 9, 6, 6, 6, 9, 9, 9,
- 10, 9,11,11, 9, 9,10,11,11, 6, 7, 7,10, 9, 7, 7,
- 8, 9,10, 7, 7, 8,10,10,10,10,10,10,12, 9, 9,10,
- 11,12, 6, 7, 7, 9, 9, 7, 8, 7,10,10, 7, 8, 7,10,
- 10, 9,10, 9,12,11,10,10, 9,12,10, 9,10,10,12,11,
- 10,10,10,12,12, 9,10,10,12,12,12,11,12,13,13,11,
- 11,12,12,13, 9,10,10,11,12, 9,10,10,12,12,10,10,
- 10,12,12,11,12,11,14,13,11,12,12,14,13, 5, 7, 7,
- 10,10, 7, 8, 8,10,10, 7, 8, 7,10,10,10,10,10,12,
- 12,10,10,10,12,12, 6, 8, 7,10,10, 7, 7, 9,10,11,
- 8, 9, 9,11,10,10,10,11,11,13,10,10,11,12,13, 6,
- 8, 8,10,10, 7, 9, 8,11,10, 8, 9, 9,10,11,10,11,
- 10,13,11,10,11,10,12,12,10,11,10,12,11,10,10,10,
- 12,13,10,11,11,13,12,11,11,13,11,14,12,12,13,14,
- 14, 9,10,10,12,13,10,11,10,13,12,10,11,11,12,13,
- 11,12,11,14,12,12,13,13,15,14, 5, 7, 7,10,10, 7,
- 7, 8,10,10, 7, 8, 8,10,10,10,10,10,11,12,10,10,
- 10,12,12, 7, 8, 8,10,10, 8, 9, 8,11,10, 7, 8, 9,
- 10,11,10,11,11,12,12,10,10,11,11,13, 7, 7, 8,10,
- 10, 8, 8, 9,10,11, 7, 9, 7,11,10,10,11,11,13,12,
- 11,11,10,13,11, 9,10,10,12,12,10,11,11,13,12,10,
- 10,11,12,12,12,13,13,14,14,11,11,12,12,14,10,10,
- 11,12,12,10,11,11,12,13,10,10,10,13,12,12,13,13,
- 15,14,12,13,10,14,11, 8,10,10,12,12,10,11,10,13,
- 13, 9,10,10,12,12,12,13,13,15,14,11,12,12,13,13,
- 9,10,10,13,12,10,10,11,13,13,10,11,10,13,12,12,
- 12,13,14,15,12,13,12,15,13, 9,10,10,12,13,10,11,
- 10,13,12,10,10,11,12,13,12,14,12,15,13,12,12,13,
- 14,15,11,12,11,14,13,11,11,12,14,15,12,13,12,15,
- 14,13,11,15,11,16,13,14,14,16,15,11,12,12,14,14,
- 11,12,11,14,13,12,12,13,14,15,13,14,12,16,12,14,
- 14,14,15,15, 8,10,10,12,12, 9,10,10,12,12,10,10,
- 11,13,13,11,12,12,13,13,12,13,13,14,15, 9,10,10,
- 13,12,10,11,11,13,12,10,10,11,13,13,12,13,12,15,
- 14,12,12,13,13,16, 9, 9,10,12,13,10,10,11,12,13,
- 10,11,10,13,13,12,12,13,13,15,13,13,12,15,13,11,
- 12,12,14,14,12,13,12,15,14,11,11,12,13,14,14,14,
- 14,16,15,13,12,15,12,16,11,11,12,13,14,12,13,13,
- 14,15,10,12,11,14,13,14,15,14,16,16,13,14,11,15,
- 11,
- };
- static float _vq_quantthresh__16u1__p4_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__16u1__p4_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__16u1__p4_0 = {
- _vq_quantthresh__16u1__p4_0,
- _vq_quantmap__16u1__p4_0,
- 5,
- 5
- };
- static static_codebook _16u1__p4_0 = {
- 4, 625,
- _vq_lengthlist__16u1__p4_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__16u1__p4_0,
- NULL,
- &_vq_auxt__16u1__p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u1__p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__16u1__p5_0[] = {
- 1, 4, 4, 7, 7, 7, 7, 9, 9, 4, 6, 6, 8, 8, 8, 8,
- 10,10, 4, 5, 6, 8, 8, 8, 8,10,10, 7, 8, 8, 9, 9,
- 9, 9,11,11, 7, 8, 8, 9, 9, 9, 9,11,11, 7, 8, 8,
- 10, 9,11,11,12,11, 7, 8, 8, 9, 9,11,11,12,12, 9,
- 10,10,11,11,12,12,13,12, 9,10,10,11,11,12,12,12,
- 13,
- };
- static float _vq_quantthresh__16u1__p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__16u1__p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__16u1__p5_0 = {
- _vq_quantthresh__16u1__p5_0,
- _vq_quantmap__16u1__p5_0,
- 9,
- 9
- };
- static static_codebook _16u1__p5_0 = {
- 2, 81,
- _vq_lengthlist__16u1__p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__16u1__p5_0,
- NULL,
- &_vq_auxt__16u1__p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u1__p6_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__16u1__p6_0[] = {
- 3, 4, 4, 6, 6, 7, 7, 9, 9, 4, 4, 4, 6, 6, 8, 8,
- 9, 9, 4, 4, 4, 6, 6, 7, 7, 9, 9, 6, 6, 6, 7, 7,
- 8, 8,10, 9, 6, 6, 6, 7, 7, 8, 8, 9,10, 7, 8, 7,
- 8, 8, 9, 9,10,10, 7, 8, 8, 8, 8, 9, 9,10,10, 9,
- 9, 9,10,10,10,10,11,11, 9, 9, 9,10,10,10,10,11,
- 11,
- };
- static float _vq_quantthresh__16u1__p6_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__16u1__p6_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__16u1__p6_0 = {
- _vq_quantthresh__16u1__p6_0,
- _vq_quantmap__16u1__p6_0,
- 9,
- 9
- };
- static static_codebook _16u1__p6_0 = {
- 2, 81,
- _vq_lengthlist__16u1__p6_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__16u1__p6_0,
- NULL,
- &_vq_auxt__16u1__p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u1__p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__16u1__p7_0[] = {
- 1, 4, 4, 4, 8, 8, 4, 8, 8, 5,11, 9, 8,12,11, 8,
- 12,11, 5,10,11, 8,11,12, 8,11,12, 4,11,11,11,14,
- 13,10,13,13, 8,14,13,12,14,16,12,16,15, 8,14,14,
- 13,16,14,12,15,16, 4,11,11,10,14,13,11,14,14, 8,
- 15,14,12,15,15,12,14,16, 8,14,14,11,16,15,12,15,
- 13,
- };
- static float _vq_quantthresh__16u1__p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__16u1__p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__16u1__p7_0 = {
- _vq_quantthresh__16u1__p7_0,
- _vq_quantmap__16u1__p7_0,
- 3,
- 3
- };
- static static_codebook _16u1__p7_0 = {
- 4, 81,
- _vq_lengthlist__16u1__p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__16u1__p7_0,
- NULL,
- &_vq_auxt__16u1__p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u1__p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__16u1__p7_1[] = {
- 2, 4, 4, 6, 6, 7, 7, 8, 8, 8, 8, 4, 6, 5, 7, 7,
- 8, 8, 8, 8, 8, 8, 4, 5, 6, 7, 7, 8, 8, 8, 8, 8,
- 8, 6, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 6, 7, 7, 8,
- 8, 8, 8, 9, 9, 9, 9, 7, 8, 8, 8, 8, 9, 9, 9,10,
- 9,10, 7, 8, 8, 8, 8, 9, 9, 9, 9,10, 9, 8, 8, 8,
- 9, 9,10,10,10,10,10,10, 8, 8, 8, 9, 9, 9, 9,10,
- 10,10,10, 8, 8, 8, 9, 9, 9,10,10,10,10,10, 8, 8,
- 8, 9, 9,10,10,10,10,10,10,
- };
- static float _vq_quantthresh__16u1__p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__16u1__p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__16u1__p7_1 = {
- _vq_quantthresh__16u1__p7_1,
- _vq_quantmap__16u1__p7_1,
- 11,
- 11
- };
- static static_codebook _16u1__p7_1 = {
- 2, 121,
- _vq_lengthlist__16u1__p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__16u1__p7_1,
- NULL,
- &_vq_auxt__16u1__p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16u1__p8_0[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__16u1__p8_0[] = {
- 1, 4, 4, 5, 5, 8, 8,10,10,12,12, 4, 7, 7, 8, 8,
- 9, 9,12,11,14,13, 4, 7, 7, 7, 8, 9,10,11,11,13,
- 12, 5, 8, 8, 9, 9,11,11,12,13,15,14, 5, 7, 8, 9,
- 9,11,11,13,13,17,15, 8, 9,10,11,11,12,13,17,14,
- 17,16, 8,10, 9,11,11,12,12,13,15,15,17,10,11,11,
- 12,13,14,15,15,16,16,17, 9,11,11,12,12,14,15,17,
- 15,15,16,11,14,12,14,15,16,15,16,16,16,15,11,13,
- 13,14,14,15,15,16,16,15,16,
- };
- static float _vq_quantthresh__16u1__p8_0[] = {
- -49.5, -38.5, -27.5, -16.5, -5.5, 5.5, 16.5, 27.5,
- 38.5, 49.5,
- };
- static long _vq_quantmap__16u1__p8_0[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__16u1__p8_0 = {
- _vq_quantthresh__16u1__p8_0,
- _vq_quantmap__16u1__p8_0,
- 11,
- 11
- };
- static static_codebook _16u1__p8_0 = {
- 2, 121,
- _vq_lengthlist__16u1__p8_0,
- 1, -524582912, 1618345984, 4, 0,
- _vq_quantlist__16u1__p8_0,
- NULL,
- &_vq_auxt__16u1__p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u1__p8_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__16u1__p8_1[] = {
- 2, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 4, 6, 6, 7, 7,
- 8, 7, 8, 8, 8, 8, 4, 6, 6, 7, 7, 7, 7, 8, 8, 8,
- 8, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 9, 6, 7, 7, 7,
- 7, 8, 8, 8, 8, 9, 9, 7, 7, 7, 8, 8, 8, 8, 9, 9,
- 9, 9, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 8, 8, 8,
- 8, 8, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 8, 8, 8, 9, 8, 9, 9, 9, 9, 9, 9, 8, 8,
- 8, 9, 9, 9, 9, 9, 9, 9, 9,
- };
- static float _vq_quantthresh__16u1__p8_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__16u1__p8_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__16u1__p8_1 = {
- _vq_quantthresh__16u1__p8_1,
- _vq_quantmap__16u1__p8_1,
- 11,
- 11
- };
- static static_codebook _16u1__p8_1 = {
- 2, 121,
- _vq_lengthlist__16u1__p8_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__16u1__p8_1,
- NULL,
- &_vq_auxt__16u1__p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16u1__p9_0[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__16u1__p9_0[] = {
- 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8,
- };
- static float _vq_quantthresh__16u1__p9_0[] = {
- -1657.5, -1402.5, -1147.5, -892.5, -637.5, -382.5, -127.5, 127.5,
- 382.5, 637.5, 892.5, 1147.5, 1402.5, 1657.5,
- };
- static long _vq_quantmap__16u1__p9_0[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__16u1__p9_0 = {
- _vq_quantthresh__16u1__p9_0,
- _vq_quantmap__16u1__p9_0,
- 15,
- 15
- };
- static static_codebook _16u1__p9_0 = {
- 2, 225,
- _vq_lengthlist__16u1__p9_0,
- 1, -514071552, 1627381760, 4, 0,
- _vq_quantlist__16u1__p9_0,
- NULL,
- &_vq_auxt__16u1__p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u1__p9_1[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__16u1__p9_1[] = {
- 1, 6, 5, 9, 9,10,10, 6, 7, 9, 9,10,10,10,10, 5,
- 10, 8,10, 8,10,10, 8, 8,10, 9,10,10,10,10, 5, 8,
- 9,10,10,10,10, 8,10,10,10,10,10,10,10, 9,10,10,
- 10,10,10,10, 9, 9,10,10,10,10,10,10, 9, 9, 8, 9,
- 10,10,10, 9,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10, 8,10,10,10,10,
- 10,10,10,10,10,10,10,10,10, 6, 8, 8,10,10,10, 8,
- 10,10,10,10,10,10,10,10, 5, 8, 8,10,10,10, 9, 9,
- 10,10,10,10,10,10,10,10, 9,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9,
- };
- static float _vq_quantthresh__16u1__p9_1[] = {
- -110.5, -93.5, -76.5, -59.5, -42.5, -25.5, -8.5, 8.5,
- 25.5, 42.5, 59.5, 76.5, 93.5, 110.5,
- };
- static long _vq_quantmap__16u1__p9_1[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__16u1__p9_1 = {
- _vq_quantthresh__16u1__p9_1,
- _vq_quantmap__16u1__p9_1,
- 15,
- 15
- };
- static static_codebook _16u1__p9_1 = {
- 2, 225,
- _vq_lengthlist__16u1__p9_1,
- 1, -522338304, 1620115456, 4, 0,
- _vq_quantlist__16u1__p9_1,
- NULL,
- &_vq_auxt__16u1__p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16u1__p9_2[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__16u1__p9_2[] = {
- 1, 6, 6, 7, 8, 8,11,10, 9, 9,11, 9,10, 9,11,11,
- 9, 6, 7, 6,11, 8,11, 9,10,10,11, 9,11,10,10,10,
- 11, 9, 5, 7, 7, 8, 8,10,11, 8, 8,11, 9, 9,10,11,
- 9,10,11, 8, 9, 6, 8, 8, 9, 9,10,10,11,11,11, 9,
- 11,10, 9,11, 8, 8, 8, 9, 8, 9,10,11, 9, 9,11,11,
- 10, 9, 9,11,10, 8,11, 8, 9, 8,11, 9,10, 9,10,11,
- 11,10,10, 9,10,10, 8, 8, 9,10,10,10, 9,11, 9,10,
- 11,11,11,11,10, 9,11, 9, 9,11,11,10, 8,11,11,11,
- 9,10,10,11,10,11,11, 9,11,10, 9,11,10,10,10,10,
- 9,11,10,11,10, 9, 9,10,11, 9, 8,10,11,11,10,10,
- 11, 9,11,10,11,11,10,11, 9, 9, 8,10, 8, 9,11, 9,
- 8,10,10, 9,11,10,11,10,11, 9,11, 8,10,11,11,11,
- 11,10,10,11,11,11,11,10,11,11,10, 9, 8,10,10, 9,
- 11,10,11,11,11, 9, 9, 9,11,11,11,10,10, 9, 9,10,
- 9,11,11,11,11, 8,10,11,10,11,11,10,11,11, 9, 9,
- 9,10, 9,11, 9,11,11,11,11,11,10,11,11,10,11,10,
- 11,11, 9,11,10,11,10, 9,10, 9,10,10,11,11,11,11,
- 9,10, 9,10,11,11,10,11,11,11,11,11,11,10,11,11,
- 10,
- };
- static float _vq_quantthresh__16u1__p9_2[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__16u1__p9_2[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__16u1__p9_2 = {
- _vq_quantthresh__16u1__p9_2,
- _vq_quantmap__16u1__p9_2,
- 17,
- 17
- };
- static static_codebook _16u1__p9_2 = {
- 2, 289,
- _vq_lengthlist__16u1__p9_2,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__16u1__p9_2,
- NULL,
- &_vq_auxt__16u1__p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__16u1__short[] = {
- 5, 7,10, 9,11,10,15,11,13,16, 6, 4, 6, 6, 7, 7,
- 10, 9,12,16,10, 6, 5, 6, 6, 7,10,11,16,16, 9, 6,
- 7, 6, 7, 7,10, 8,14,16,11, 6, 5, 4, 5, 6, 8, 9,
- 15,16, 9, 6, 6, 5, 6, 6, 9, 8,14,16,12, 7, 6, 6,
- 5, 6, 6, 7,13,16, 8, 6, 7, 6, 5, 5, 4, 4,11,16,
- 9, 8, 9, 9, 7, 7, 6, 5,13,16,14,14,16,15,16,15,
- 16,16,16,16,
- };
- static static_codebook _huff_book__16u1__short = {
- 2, 100,
- _huff_lengthlist__16u1__short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__16u2__long[] = {
- 5, 7,10,10,10,11,11,13,18,19, 6, 5, 5, 6, 7, 8,
- 9,12,19,19, 8, 5, 4, 4, 6, 7, 9,13,19,19, 8, 5,
- 4, 4, 5, 6, 8,12,17,19, 7, 5, 5, 4, 4, 5, 7,12,
- 18,18, 8, 7, 7, 6, 5, 5, 6,10,18,18, 9, 9, 9, 8,
- 6, 5, 6, 9,18,18,11,13,13,13, 8, 7, 7, 9,16,18,
- 13,17,18,16,11, 9, 9, 9,17,18,15,18,18,18,15,13,
- 13,14,18,18,
- };
- static static_codebook _huff_book__16u2__long = {
- 2, 100,
- _huff_lengthlist__16u2__long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__16u2__short[] = {
- 8,11,12,12,14,15,16,16,16,16, 9, 7, 7, 8, 9,11,
- 13,14,16,16,13, 7, 6, 6, 7, 9,12,13,15,16,15, 7,
- 6, 5, 4, 6,10,11,14,16,12, 8, 7, 4, 2, 4, 7,10,
- 14,16,11, 9, 7, 5, 3, 4, 6, 9,14,16,11,10, 9, 7,
- 5, 5, 6, 9,16,16,10,10, 9, 8, 6, 6, 7,10,16,16,
- 11,11,11,10,10,10,11,14,16,16,16,14,14,13,14,16,
- 16,16,16,16,
- };
- static static_codebook _huff_book__16u2__short = {
- 2, 100,
- _huff_lengthlist__16u2__short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__16u2_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__16u2_p1_0[] = {
- 1, 5, 5, 5, 7, 7, 5, 7, 7, 5, 7, 7, 7, 9, 9, 7,
- 9, 9, 5, 7, 7, 7, 9, 9, 7, 9, 9, 5, 7, 7, 8, 9,
- 9, 7, 9, 9, 7, 9, 9, 9,10,10, 9,10,10, 7, 9, 9,
- 9,10,10, 9,10,11, 5, 7, 8, 8, 9, 9, 8, 9, 9, 7,
- 9, 9, 9,10,10, 9, 9,10, 7, 9, 9, 9,10,10, 9,11,
- 10,
- };
- static float _vq_quantthresh__16u2_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__16u2_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__16u2_p1_0 = {
- _vq_quantthresh__16u2_p1_0,
- _vq_quantmap__16u2_p1_0,
- 3,
- 3
- };
- static static_codebook _16u2_p1_0 = {
- 4, 81,
- _vq_lengthlist__16u2_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__16u2_p1_0,
- NULL,
- &_vq_auxt__16u2_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u2_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__16u2_p2_0[] = {
- 3, 5, 5, 8, 8, 5, 7, 7, 9, 9, 5, 7, 7, 9, 9, 9,
- 10, 9,11,11, 9, 9, 9,11,11, 5, 7, 7, 9, 9, 7, 8,
- 8,10,10, 7, 8, 8,10,10,10,10,10,12,12, 9,10,10,
- 11,12, 5, 7, 7, 9, 9, 7, 8, 8,10,10, 7, 8, 8,10,
- 10, 9,10,10,12,11,10,10,10,12,12, 9,10,10,12,12,
- 10,11,10,13,12, 9,10,10,12,12,12,12,12,14,14,11,
- 12,12,13,14, 9,10,10,12,12, 9,10,10,12,12,10,10,
- 10,12,12,11,12,12,14,13,12,13,12,14,14, 5, 7, 7,
- 9, 9, 7, 8, 8,10,10, 7, 8, 8,10,10,10,11,10,12,
- 12,10,10,11,12,12, 7, 8, 8,10,10, 8, 9, 9,11,11,
- 8, 9, 9,11,11,11,11,11,12,13,10,11,11,12,13, 7,
- 8, 8,10,10, 8, 9, 8,11,10, 8, 9, 9,11,11,10,11,
- 10,13,12,10,11,11,13,13, 9,11,10,13,13,10,11,11,
- 13,13,10,11,11,13,13,12,12,13,13,15,12,12,13,14,
- 15, 9,10,10,12,12,10,11,10,13,12,10,11,11,13,13,
- 11,13,11,14,13,12,13,13,15,15, 5, 7, 7, 9, 9, 7,
- 8, 8,10,10, 7, 8, 8,10,10,10,10,10,12,12,10,10,
- 11,12,12, 7, 8, 8,10,10, 8, 9, 9,11,11, 8, 8, 9,
- 10,11,10,11,11,13,13,10,10,11,12,13, 7, 8, 8,10,
- 11, 8, 9, 9,11,11, 8, 9, 9,11,11,10,11,11,13,12,
- 11,11,11,13,12, 9,10,10,12,12,10,11,11,13,13,10,
- 10,11,12,13,12,13,13,15,14,11,11,13,12,14,10,10,
- 11,13,13,10,11,11,13,13,10,11,11,13,13,12,13,13,
- 14,14,12,13,12,14,13, 8,10, 9,12,12, 9,11,10,13,
- 13, 9,10,10,12,13,12,13,13,14,14,12,12,13,14,14,
- 9,11,10,13,13,10,11,11,13,13,10,11,11,13,13,12,
- 13,13,15,15,13,13,13,14,15, 9,10,10,12,13,10,11,
- 10,13,12,10,11,11,13,13,12,13,12,15,14,13,13,13,
- 14,15,11,12,12,15,14,12,12,13,15,15,12,13,13,15,
- 14,14,13,15,14,16,13,14,15,16,16,11,12,12,14,14,
- 11,12,12,15,14,12,13,13,15,15,13,14,13,16,14,14,
- 14,14,16,16, 8, 9, 9,12,12, 9,10,10,13,12, 9,10,
- 10,13,13,12,12,12,14,14,12,12,13,15,15, 9,10,10,
- 13,12,10,11,11,13,13,10,10,11,13,14,12,13,13,15,
- 15,12,12,13,14,15, 9,10,10,13,13,10,11,11,13,13,
- 10,11,11,13,13,12,13,13,14,14,13,14,13,15,14,11,
- 12,12,14,14,12,13,13,15,14,11,12,12,14,15,14,14,
- 14,16,15,13,12,14,14,16,11,12,13,14,15,12,13,13,
- 14,16,12,13,12,15,14,13,15,14,16,16,14,15,13,16,
- 13,
- };
- static float _vq_quantthresh__16u2_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__16u2_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__16u2_p2_0 = {
- _vq_quantthresh__16u2_p2_0,
- _vq_quantmap__16u2_p2_0,
- 5,
- 5
- };
- static static_codebook _16u2_p2_0 = {
- 4, 625,
- _vq_lengthlist__16u2_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__16u2_p2_0,
- NULL,
- &_vq_auxt__16u2_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u2_p3_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__16u2_p3_0[] = {
- 2, 4, 4, 6, 6, 7, 7, 9, 9, 4, 5, 5, 6, 6, 8, 7,
- 9, 9, 4, 5, 5, 6, 6, 7, 8, 9, 9, 6, 6, 6, 7, 7,
- 8, 8,10,10, 6, 6, 6, 7, 7, 8, 8, 9,10, 7, 8, 7,
- 8, 8, 9, 9,10,10, 7, 8, 8, 8, 8, 9, 9,10,10, 9,
- 9, 9,10, 9,10,10,11,11, 9, 9, 9,10,10,10,10,11,
- 11,
- };
- static float _vq_quantthresh__16u2_p3_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__16u2_p3_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__16u2_p3_0 = {
- _vq_quantthresh__16u2_p3_0,
- _vq_quantmap__16u2_p3_0,
- 9,
- 9
- };
- static static_codebook _16u2_p3_0 = {
- 2, 81,
- _vq_lengthlist__16u2_p3_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__16u2_p3_0,
- NULL,
- &_vq_auxt__16u2_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u2_p4_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__16u2_p4_0[] = {
- 2, 4, 4, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11,11,11,
- 11, 5, 5, 5, 7, 7, 8, 8, 9, 9, 9, 9,10,10,11,11,
- 12,11, 5, 5, 5, 7, 7, 8, 8, 9, 9, 9, 9,10,10,11,
- 11,12,12, 6, 7, 7, 7, 7, 8, 8, 9, 9, 9, 9,10,10,
- 11,11,12,12, 6, 7, 7, 7, 7, 8, 8, 9, 9, 9, 9,10,
- 10,11,11,12,12, 7, 8, 8, 8, 8, 9, 9, 9, 9,10,10,
- 11,11,12,12,12,12, 7, 8, 8, 8, 8, 9, 9, 9, 9,10,
- 10,11,11,11,12,12,12, 9, 9, 9, 9, 9, 9,10,10,10,
- 10,10,11,11,12,12,13,13, 8, 9, 9, 9, 9,10, 9,10,
- 10,10,10,11,11,12,12,13,13, 9, 9, 9, 9, 9,10,10,
- 10,10,11,11,11,12,12,12,13,13, 9, 9, 9, 9, 9,10,
- 10,10,10,11,11,12,11,12,12,13,13,10,10,10,10,10,
- 11,11,11,11,11,12,12,12,12,13,13,14,10,10,10,10,
- 10,11,11,11,11,12,11,12,12,13,12,13,13,11,11,11,
- 11,11,12,12,12,12,12,12,13,13,13,13,14,14,11,11,
- 11,11,11,12,12,12,12,12,12,13,12,13,13,14,14,11,
- 12,12,12,12,12,12,13,13,13,13,13,13,14,14,14,14,
- 11,12,12,12,12,12,12,13,13,13,13,14,13,14,14,14,
- 14,
- };
- static float _vq_quantthresh__16u2_p4_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__16u2_p4_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__16u2_p4_0 = {
- _vq_quantthresh__16u2_p4_0,
- _vq_quantmap__16u2_p4_0,
- 17,
- 17
- };
- static static_codebook _16u2_p4_0 = {
- 2, 289,
- _vq_lengthlist__16u2_p4_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__16u2_p4_0,
- NULL,
- &_vq_auxt__16u2_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u2_p5_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__16u2_p5_0[] = {
- 1, 4, 4, 5, 7, 7, 5, 7, 7, 5, 9, 8, 7,10, 9, 7,
- 10, 9, 5, 8, 9, 7, 9,10, 7, 9,10, 4, 9, 9, 9,11,
- 11, 8,11,11, 7,11,11,10,10,13,10,14,13, 7,11,11,
- 10,13,11,10,13,14, 5, 9, 9, 8,11,11, 9,11,11, 7,
- 11,11,10,14,13,10,12,14, 7,11,11,10,13,13,10,13,
- 10,
- };
- static float _vq_quantthresh__16u2_p5_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__16u2_p5_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__16u2_p5_0 = {
- _vq_quantthresh__16u2_p5_0,
- _vq_quantmap__16u2_p5_0,
- 3,
- 3
- };
- static static_codebook _16u2_p5_0 = {
- 4, 81,
- _vq_lengthlist__16u2_p5_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__16u2_p5_0,
- NULL,
- &_vq_auxt__16u2_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u2_p5_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__16u2_p5_1[] = {
- 2, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 5, 5, 5, 7, 7,
- 7, 7, 8, 8, 8, 8, 5, 5, 6, 7, 7, 7, 7, 8, 8, 8,
- 8, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 6, 7, 7, 7,
- 7, 8, 8, 8, 8, 8, 8, 7, 7, 7, 8, 8, 8, 8, 9, 9,
- 9, 9, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 8, 8, 8,
- 8, 8, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 8, 8,
- 8, 8, 8, 9, 9, 9, 9, 9, 9,
- };
- static float _vq_quantthresh__16u2_p5_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__16u2_p5_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__16u2_p5_1 = {
- _vq_quantthresh__16u2_p5_1,
- _vq_quantmap__16u2_p5_1,
- 11,
- 11
- };
- static static_codebook _16u2_p5_1 = {
- 2, 121,
- _vq_lengthlist__16u2_p5_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__16u2_p5_1,
- NULL,
- &_vq_auxt__16u2_p5_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16u2_p6_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__16u2_p6_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 8, 8, 9, 9,10,10, 4, 6, 6,
- 8, 8, 9, 9, 9, 9,10,10,12,11, 4, 6, 6, 8, 8, 9,
- 9, 9, 9,10,10,11,12, 7, 8, 8, 9, 9,10,10,10,10,
- 12,12,13,12, 7, 8, 8, 9, 9,10,10,10,10,11,12,12,
- 12, 8, 9, 9,10,10,11,11,11,11,12,12,13,13, 8, 9,
- 9,10,10,11,11,11,11,12,13,13,13, 8, 9, 9,10,10,
- 11,11,12,12,13,13,14,14, 8, 9, 9,10,10,11,11,12,
- 12,13,13,14,14, 9,10,10,11,12,13,12,13,14,14,14,
- 14,14, 9,10,10,11,12,12,13,13,13,14,14,14,14,10,
- 11,11,12,12,13,13,14,14,15,15,15,15,10,11,11,12,
- 12,13,13,14,14,14,14,15,15,
- };
- static float _vq_quantthresh__16u2_p6_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__16u2_p6_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__16u2_p6_0 = {
- _vq_quantthresh__16u2_p6_0,
- _vq_quantmap__16u2_p6_0,
- 13,
- 13
- };
- static static_codebook _16u2_p6_0 = {
- 2, 169,
- _vq_lengthlist__16u2_p6_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__16u2_p6_0,
- NULL,
- &_vq_auxt__16u2_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u2_p6_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__16u2_p6_1[] = {
- 2, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
- 5, 5, 6, 6, 5, 5, 5, 6, 6,
- };
- static float _vq_quantthresh__16u2_p6_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__16u2_p6_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__16u2_p6_1 = {
- _vq_quantthresh__16u2_p6_1,
- _vq_quantmap__16u2_p6_1,
- 5,
- 5
- };
- static static_codebook _16u2_p6_1 = {
- 2, 25,
- _vq_lengthlist__16u2_p6_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__16u2_p6_1,
- NULL,
- &_vq_auxt__16u2_p6_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16u2_p7_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__16u2_p7_0[] = {
- 1, 4, 4, 7, 7, 7, 7, 8, 8, 9, 9,10,10, 4, 6, 6,
- 9, 9, 9, 9, 9, 9,10,10,11,11, 4, 6, 6, 8, 9, 9,
- 9, 9, 9,10,11,12,11, 7, 8, 9,10,10,10,10,11,10,
- 11,12,12,13, 7, 9, 9,10,10,10,10,10,10,11,12,13,
- 13, 7, 9, 8,10,10,11,11,11,12,12,13,13,14, 7, 9,
- 9,10,10,11,11,11,12,13,13,13,13, 8, 9, 9,10,11,
- 11,12,12,12,13,13,13,13, 8, 9, 9,10,11,11,11,12,
- 12,13,13,14,14, 9,10,10,12,11,12,13,13,13,14,13,
- 13,13, 9,10,10,11,11,12,12,13,14,13,13,14,13,10,
- 11,11,12,13,14,14,14,15,14,14,14,14,10,11,11,12,
- 12,13,13,13,14,14,14,15,14,
- };
- static float _vq_quantthresh__16u2_p7_0[] = {
- -60.5, -49.5, -38.5, -27.5, -16.5, -5.5, 5.5, 16.5,
- 27.5, 38.5, 49.5, 60.5,
- };
- static long _vq_quantmap__16u2_p7_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__16u2_p7_0 = {
- _vq_quantthresh__16u2_p7_0,
- _vq_quantmap__16u2_p7_0,
- 13,
- 13
- };
- static static_codebook _16u2_p7_0 = {
- 2, 169,
- _vq_lengthlist__16u2_p7_0,
- 1, -523206656, 1618345984, 4, 0,
- _vq_quantlist__16u2_p7_0,
- NULL,
- &_vq_auxt__16u2_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u2_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__16u2_p7_1[] = {
- 3, 5, 5, 6, 6, 7, 7, 7, 7, 7, 7, 5, 6, 6, 7, 7,
- 7, 7, 7, 7, 8, 8, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8,
- 8, 6, 6, 7, 7, 7, 8, 7, 8, 8, 8, 8, 6, 7, 7, 7,
- 7, 7, 7, 8, 8, 8, 8, 7, 7, 7, 7, 7, 8, 8, 8, 8,
- 8, 8, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 7, 7, 7,
- 8, 8, 8, 8, 8, 8, 8, 8, 7, 7, 7, 8, 8, 8, 8, 8,
- 8, 8, 8, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 7, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__16u2_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__16u2_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__16u2_p7_1 = {
- _vq_quantthresh__16u2_p7_1,
- _vq_quantmap__16u2_p7_1,
- 11,
- 11
- };
- static static_codebook _16u2_p7_1 = {
- 2, 121,
- _vq_lengthlist__16u2_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__16u2_p7_1,
- NULL,
- &_vq_auxt__16u2_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16u2_p8_0[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__16u2_p8_0[] = {
- 1, 5, 5, 7, 7, 8, 8, 7, 7, 8, 8,10, 9,11,11, 4,
- 6, 6, 8, 8,10, 9, 9, 8, 9, 9,10,10,12,14, 4, 6,
- 7, 8, 9, 9,10, 9, 8, 9, 9,10,12,12,11, 7, 8, 8,
- 10,10,10,10, 9, 9,10,10,11,13,13,12, 7, 8, 8, 9,
- 11,11,10, 9, 9,11,10,12,11,11,14, 8, 9, 9,11,10,
- 11,11,10,10,11,11,13,12,14,12, 8, 9, 9,11,12,11,
- 11,10,10,12,11,12,12,12,14, 7, 8, 8, 9, 9,10,10,
- 10,11,12,11,13,13,14,12, 7, 8, 9, 9, 9,10,10,11,
- 11,11,12,12,14,14,14, 8,10, 9,10,11,11,11,11,14,
- 12,12,13,14,14,13, 9, 9, 9,10,11,11,11,12,12,12,
- 14,12,14,13,14,10,10,10,12,11,12,11,14,13,14,13,
- 14,14,13,14, 9,10,10,11,12,11,13,12,13,13,14,14,
- 14,13,14,10,13,13,12,12,11,12,14,13,14,13,14,12,
- 14,13,10,11,11,12,11,12,12,14,14,14,13,14,14,14,
- 14,
- };
- static float _vq_quantthresh__16u2_p8_0[] = {
- -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5, 10.5,
- 31.5, 52.5, 73.5, 94.5, 115.5, 136.5,
- };
- static long _vq_quantmap__16u2_p8_0[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__16u2_p8_0 = {
- _vq_quantthresh__16u2_p8_0,
- _vq_quantmap__16u2_p8_0,
- 15,
- 15
- };
- static static_codebook _16u2_p8_0 = {
- 2, 225,
- _vq_lengthlist__16u2_p8_0,
- 1, -520986624, 1620377600, 4, 0,
- _vq_quantlist__16u2_p8_0,
- NULL,
- &_vq_auxt__16u2_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u2_p8_1[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__16u2_p8_1[] = {
- 2, 5, 5, 7, 7, 8, 8, 8, 8, 9, 9,10, 9,10, 9, 9,
- 9,10,10,10,10, 5, 6, 6, 7, 7, 8, 8, 9, 9, 9, 9,
- 10, 9,10,10,10,10,10,10,11,10, 5, 6, 6, 7, 7, 8,
- 8, 8, 9, 9,10,10,10,10,10,10,10,10,10,10,10, 7,
- 7, 7, 8, 8, 9, 8, 9, 9,10, 9,10,10,10,10,10,10,
- 11,10,11,10, 7, 7, 7, 8, 8, 8, 9, 9, 9,10, 9,10,
- 10,10,10,10,10,10,10,10,10, 8, 8, 8, 9, 9, 9, 9,
- 10, 9,10,10,10,10,10,10,10,11,10,10,11,10, 8, 8,
- 8, 8, 9, 9, 9, 9,10,10,10,10,10,10,10,10,10,11,
- 11,10,10, 8, 9, 9, 9, 9, 9, 9,10,10,10,10,10,10,
- 11,10,11,10,11,10,11,10, 8, 9, 9, 9, 9, 9,10,10,
- 10,10,10,10,10,10,10,10,11,11,10,10,10, 9,10, 9,
- 9,10,10,10,11,10,10,10,10,10,10,10,10,11,11,11,
- 11,11, 9, 9, 9,10, 9,10,10,10,10,10,10,11,10,11,
- 10,11,11,11,11,10,10, 9,10, 9,10,10,10,10,11,10,
- 10,10,10,10,11,10,11,10,11,10,10,11, 9,10,10,10,
- 10,10,10,10,10,10,11,10,10,11,11,10,11,11,11,11,
- 11, 9, 9,10,10,10,10,10,11,10,10,11,10,10,11,10,
- 10,11,11,11,11,11, 9,10,10,10,10,10,10,10,11,10,
- 11,10,11,10,11,11,11,11,11,10,11,10,10,10,10,10,
- 10,10,10,10,11,11,11,11,11,11,11,11,11,10,11,11,
- 10,10,10,10,10,11,10,10,10,11,10,11,11,11,11,10,
- 12,11,11,11,10,10,10,10,10,10,11,10,10,10,11,11,
- 12,11,11,11,11,11,11,11,11,11,10,10,10,11,10,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,10,
- 10,10,11,10,11,10,10,11,11,11,11,11,11,11,11,11,
- 11,11,11,10,10,10,10,10,10,10,11,11,10,11,11,10,
- 11,11,10,11,11,11,10,11,11,
- };
- static float _vq_quantthresh__16u2_p8_1[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__16u2_p8_1[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__16u2_p8_1 = {
- _vq_quantthresh__16u2_p8_1,
- _vq_quantmap__16u2_p8_1,
- 21,
- 21
- };
- static static_codebook _16u2_p8_1 = {
- 2, 441,
- _vq_lengthlist__16u2_p8_1,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__16u2_p8_1,
- NULL,
- &_vq_auxt__16u2_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16u2_p9_0[] = {
- 5586,
- 4655,
- 6517,
- 3724,
- 7448,
- 2793,
- 8379,
- 1862,
- 9310,
- 931,
- 10241,
- 0,
- 11172,
- 5521,
- 5651,
- };
- static long _vq_lengthlist__16u2_p9_0[] = {
- 1,10,10,10,10,10,10,10,10,10,10,10,10, 5, 4,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10, 4,10,10,10,10,10,10,10,10,10,10,10,10,
- 6, 6, 5,10,10,10,10, 9, 9, 9, 9, 9, 9, 9, 9, 5,
- 5,
- };
- static float _vq_quantthresh__16u2_p9_0[] = {
- -5120.5, -4189.5, -3258.5, -2327.5, -1396.5, -498, -32.5, 32.5,
- 498, 1396.5, 2327.5, 3258.5, 4189.5, 5120.5,
- };
- static long _vq_quantmap__16u2_p9_0[] = {
- 11, 9, 7, 5, 3, 1, 13, 0,
- 14, 2, 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__16u2_p9_0 = {
- _vq_quantthresh__16u2_p9_0,
- _vq_quantmap__16u2_p9_0,
- 15,
- 15
- };
- static static_codebook _16u2_p9_0 = {
- 2, 225,
- _vq_lengthlist__16u2_p9_0,
- 1, -510275072, 1611661312, 14, 0,
- _vq_quantlist__16u2_p9_0,
- NULL,
- &_vq_auxt__16u2_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__16u2_p9_1[] = {
- 392,
- 343,
- 441,
- 294,
- 490,
- 245,
- 539,
- 196,
- 588,
- 147,
- 637,
- 98,
- 686,
- 49,
- 735,
- 0,
- 784,
- 388,
- 396,
- };
- static long _vq_lengthlist__16u2_p9_1[] = {
- 1,12,10,12,10,12,10,12,11,12,12,12,12,12,12,12,
- 12, 5, 5, 9,10,12,11,11,12,12,12,12,12,12,12,12,
- 12,12,12,12,10, 9, 9,11, 9,11,11,12,11,12,12,12,
- 12,12,12,12,12,12,12, 8, 8,10,11, 9,12,11,12,12,
- 12,12,12,12,12,12,12,12,12,12, 9, 8,10,11,12,11,
- 12,11,12,12,12,12,12,12,12,12,12,12,12, 8, 9,11,
- 11,10,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 9,10,11,12,11,12,11,12,12,12,12,12,12,12,12,12,
- 12,12,12, 9, 9,11,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11, 5, 8, 9, 9, 8,11, 9,11,11,11,11,11,11,
- 11,11,11,11, 5, 5, 4, 8, 8, 8, 8,10, 9,10,10,11,
- 11,11,11,11,11,11,11, 5, 4,
- };
- static float _vq_quantthresh__16u2_p9_1[] = {
- -367.5, -318.5, -269.5, -220.5, -171.5, -122.5, -73.5, -26.5,
- -2, 2, 26.5, 73.5, 122.5, 171.5, 220.5, 269.5,
- 318.5, 367.5,
- };
- static long _vq_quantmap__16u2_p9_1[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 17, 0, 18, 2, 4, 6, 8, 10,
- 12, 14, 16,
- };
- static encode_aux_threshmatch _vq_auxt__16u2_p9_1 = {
- _vq_quantthresh__16u2_p9_1,
- _vq_quantmap__16u2_p9_1,
- 19,
- 19
- };
- static static_codebook _16u2_p9_1 = {
- 2, 361,
- _vq_lengthlist__16u2_p9_1,
- 1, -518488064, 1611661312, 10, 0,
- _vq_quantlist__16u2_p9_1,
- NULL,
- &_vq_auxt__16u2_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__16u2_p9_2[] = {
- 24,
- 23,
- 25,
- 22,
- 26,
- 21,
- 27,
- 20,
- 28,
- 19,
- 29,
- 18,
- 30,
- 17,
- 31,
- 16,
- 32,
- 15,
- 33,
- 14,
- 34,
- 13,
- 35,
- 12,
- 36,
- 11,
- 37,
- 10,
- 38,
- 9,
- 39,
- 8,
- 40,
- 7,
- 41,
- 6,
- 42,
- 5,
- 43,
- 4,
- 44,
- 3,
- 45,
- 2,
- 46,
- 1,
- 47,
- 0,
- 48,
- };
- static long _vq_lengthlist__16u2_p9_2[] = {
- 1, 3, 3, 4, 7, 7, 7, 8, 7, 7, 7, 7, 8, 8, 8, 8,
- 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 7, 9, 9, 8, 9, 9,
- 9, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,12,12,10,
- 11,
- };
- static float _vq_quantthresh__16u2_p9_2[] = {
- -23.5, -22.5, -21.5, -20.5, -19.5, -18.5, -17.5, -16.5,
- -15.5, -14.5, -13.5, -12.5, -11.5, -10.5, -9.5, -8.5,
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- 8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5,
- 16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 22.5, 23.5,
- };
- static long _vq_quantmap__16u2_p9_2[] = {
- 47, 45, 43, 41, 39, 37, 35, 33,
- 31, 29, 27, 25, 23, 21, 19, 17,
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16, 18, 20, 22, 24, 26, 28, 30,
- 32, 34, 36, 38, 40, 42, 44, 46,
- 48,
- };
- static encode_aux_threshmatch _vq_auxt__16u2_p9_2 = {
- _vq_quantthresh__16u2_p9_2,
- _vq_quantmap__16u2_p9_2,
- 49,
- 49
- };
- static static_codebook _16u2_p9_2 = {
- 1, 49,
- _vq_lengthlist__16u2_p9_2,
- 1, -526909440, 1611661312, 6, 0,
- _vq_quantlist__16u2_p9_2,
- NULL,
- &_vq_auxt__16u2_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u0__long[] = {
- 3, 7,12,10,15,10, 9,18, 5, 2, 5, 6, 8, 7, 9,20,
- 10, 4, 4, 6, 6, 8,11,20, 9, 5, 6, 5, 7, 6, 9,20,
- 11, 7, 5, 7, 5, 7,10,20,10, 6, 7, 6, 6, 6, 8,17,
- 9, 8,10, 7, 7, 5, 5,17,11,18,19,14,13, 9, 8,19,
- };
- static static_codebook _huff_book__44u0__long = {
- 2, 64,
- _huff_lengthlist__44u0__long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44u0__p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u0__p1_0[] = {
- 1, 4, 4, 5, 8, 7, 5, 7, 8, 5, 8, 8, 8,11,11, 8,
- 10,11, 5, 8, 8, 8,10,10, 8,11,11, 4, 8, 8, 8,11,
- 11, 8,11,11, 8,11,11,11,13,14,11,13,14, 7,11,11,
- 10,14,12,11,13,14, 4, 8, 8, 8,11,11, 8,11,11, 8,
- 11,11,11,14,13,10,12,13, 8,11,12,11,14,14,11,14,
- 13,
- };
- static float _vq_quantthresh__44u0__p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u0__p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u0__p1_0 = {
- _vq_quantthresh__44u0__p1_0,
- _vq_quantmap__44u0__p1_0,
- 3,
- 3
- };
- static static_codebook _44u0__p1_0 = {
- 4, 81,
- _vq_lengthlist__44u0__p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u0__p1_0,
- NULL,
- &_vq_auxt__44u0__p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u0__p2_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u0__p2_0[] = {
- 2, 4, 4, 5, 6, 6, 5, 6, 6, 5, 7, 6, 7, 8, 8, 6,
- 7, 8, 5, 6, 7, 6, 8, 7, 7, 8, 8, 5, 7, 7, 7, 8,
- 8, 7, 8, 8, 7, 8, 8, 8, 9,10, 8,10,10, 6, 8, 8,
- 7,10, 8, 8,10,10, 5, 7, 7, 7, 8, 8, 7, 8, 8, 6,
- 8, 8, 8,10,10, 7, 8,10, 6, 8, 8, 8,10,10, 8,10,
- 9,
- };
- static float _vq_quantthresh__44u0__p2_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u0__p2_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u0__p2_0 = {
- _vq_quantthresh__44u0__p2_0,
- _vq_quantmap__44u0__p2_0,
- 3,
- 3
- };
- static static_codebook _44u0__p2_0 = {
- 4, 81,
- _vq_lengthlist__44u0__p2_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u0__p2_0,
- NULL,
- &_vq_auxt__44u0__p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u0__p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u0__p3_0[] = {
- 1, 5, 5, 8, 8, 5, 7, 7, 9, 9, 5, 7, 8, 9, 9, 8,
- 10, 9,12,11, 8, 9,10,11,12, 6, 8, 8,10,10, 8,10,
- 10,11,11, 8, 9,10,11,11,10,12,11,13,13,10,11,11,
- 13,13, 6, 8, 8,10,10, 8,10, 9,11,11, 8,10,10,11,
- 11,10,11,11,13,13,10,11,11,13,13, 9,11,11,15,14,
- 10,12,11,15,14,10,12,11,15,14,12,14,13,16,15,12,
- 13,13,17,15, 9,11,11,14,14,10,11,12,14,15,10,11,
- 12,14,17,12,13,14,15,16,13,13,14,15,17, 5, 8, 8,
- 11,11, 8,10,10,12,12, 8,10,10,12,12,11,12,12,15,
- 14,11,12,12,14,15, 8,10,10,13,12,10,12,12,13,13,
- 10,12,12,14,14,12,13,13,15,15,11,13,13,15,16, 7,
- 10,10,12,12, 9,12,11,14,13,10,12,12,13,14,12,13,
- 12,15,15,12,13,13,16,17,10,12,12,15,16,12,13,13,
- 17,15,11,13,13,17,16,15,15,15,17,17,13,15,16,18,
- 18, 9,12,12,15,17,11,13,12,16,16,11,13,13,16,18,
- 14,15,14,16,16,13,15,15,17,18, 5, 8, 8,11,11, 8,
- 10,10,12,12, 8,10,10,12,12,10,12,12,15,15,11,12,
- 12,14,15, 7,10,10,12,12,10,12,12,14,14, 9,11,12,
- 13,13,12,13,13,16,16,12,12,13,15,15, 8,10,10,12,
- 13,10,12,12,13,14,10,12,12,13,13,12,13,13,16,16,
- 12,13,13,15,15,10,12,12,15,16,11,13,13,17,16,11,
- 12,13,17,16,13,15,15,18,19,14,14,14,17,16,10,12,
- 12,15,15,11,13,13,15,16,11,13,13,15,17,13,15,15,
- 18,20,14,15,15,17,17, 8,11,11,15,16,10,13,12,17,
- 16,10,12,13,16,17,15,16,15,20,19,14,15,16,18,19,
- 9,12,12,15,17,11,13,14,18,18,11,13,14,17,17,16,
- 17,18,19,19,15,16,18,19,20, 9,12,12,16,16,11,14,
- 12,17,17,11,13,13,16,19,15,16,15,20,19,15,15,15,
- 19,17,12,14,14,18,19,14,15,15,19,18,13,15,15,18,
- 17,17,18,19,20, 0,15,16,17,20, 0,12,15,14,17,18,
- 13,16,14,20,20,13,16,15,19,18,16,20,17,20,19,16,
- 17,16, 0,19, 8,11,11,15,15,10,12,12,17,17,10,12,
- 13,16,16,13,14,15,17,17,15,16,17,19,19, 9,12,12,
- 16,17,11,13,13,18,16,11,13,13,16,17,14,15,16,19,
- 18,15,16,17,17,18, 9,12,12,17,16,11,14,13,16,16,
- 12,14,13,17,18,14,16,15,18,19,17,17,17,19,18,12,
- 14,14,19,17,13,15,15,17, 0,13,14,16, 0, 0,15,16,
- 16,19, 0,16,16,19,19, 0,12,15,14,19,18,13,15,15,
- 19, 0,14,16,15, 0,19,15,17,17, 0,19,17,18,17, 0,
- 19,
- };
- static float _vq_quantthresh__44u0__p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u0__p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u0__p3_0 = {
- _vq_quantthresh__44u0__p3_0,
- _vq_quantmap__44u0__p3_0,
- 5,
- 5
- };
- static static_codebook _44u0__p3_0 = {
- 4, 625,
- _vq_lengthlist__44u0__p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u0__p3_0,
- NULL,
- &_vq_auxt__44u0__p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u0__p4_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u0__p4_0[] = {
- 4, 5, 5, 8, 8, 5, 7, 6, 9, 9, 5, 6, 7, 9, 9, 9,
- 9, 9,11,11, 9, 9, 9,11,11, 5, 7, 7, 9, 9, 7, 8,
- 8,10,10, 6, 7, 8, 9,10,10,10,10,11,12, 9,10,10,
- 11,12, 5, 7, 7, 9, 9, 6, 8, 7,10,10, 7, 8, 8,10,
- 10, 9,10,10,12,11,10,10,10,12,11, 9,10,10,12,12,
- 10,11,10,13,13, 9,10,10,13,13,12,12,12,14,14,11,
- 12,12,14,14, 9,10,10,12,12, 9,10,10,13,13,10,10,
- 10,12,13,11,12,12,14,14,12,13,12,14,14, 5, 7, 7,
- 10,10, 7, 8, 8,10,10, 7, 8, 8,10,10,10,10,10,13,
- 12,10,10,10,12,12, 7, 8, 8,11,10, 8, 8, 9,10,11,
- 8, 9, 9,11,11,10,10,11,12,13,10,11,11,13,14, 6,
- 8, 8,10,10, 7, 9, 8,11,10, 8, 9, 9,11,11,10,11,
- 10,13,11,10,11,11,13,13,10,11,10,13,13,10,10,11,
- 13,14,10,11,11,14,13,12,11,13,12,14,12,13,13,15,
- 15, 9,10,10,13,13,10,11,10,13,13,10,11,11,13,14,
- 12,13,11,15,12,12,13,13,14,15, 5, 7, 7,10, 9, 7,
- 8, 8,10,10, 7, 8, 8,10,10,10,10,10,12,12,10,10,
- 10,12,13, 6, 8, 8,10,10, 8, 9, 9,11,11, 7, 8, 9,
- 10,11,10,11,11,13,13,10,10,11,11,14, 7, 8, 8,10,
- 10, 8, 9, 9,11,11, 8, 9, 8,11,10,10,11,11,13,13,
- 10,11,10,13,11, 9,10,10,13,13,10,11,11,14,13,10,
- 10,11,12,13,13,13,13,15,14,12,11,13,12,15, 9,10,
- 11,13,13,10,11,11,13,14,10,11,10,13,13,12,13,13,
- 15,15,12,13,11,15,12, 8,10,10,13,12,10,11,11,13,
- 13, 9,10,11,13,13,13,13,13,15,15,12,13,13,15,15,
- 9,10,10,13,13,10,11,11,13,14,10,11,11,14,13,13,
- 13,14,14,15,13,13,13,14,15, 9,10,10,13,13,10,11,
- 10,14,13,10,11,11,13,14,13,14,13,15,14,12,13,13,
- 14,15,11,13,13,15,14,11,11,13,14,15,12,14,13,15,
- 15,13,12,15,12,16,14,14,15,17,16,11,12,12,14,15,
- 11,13,11,15,14,12,13,13,15,15,14,14,12,17,13,14,
- 15,15,18,16, 8,10,10,13,12, 9,10,10,13,13,10,10,
- 11,13,13,12,13,13,14,14,12,13,13,15,15, 9,10,10,
- 13,13,10,11,11,14,13,10,10,11,13,14,12,13,13,17,
- 15,12,12,13,14,16, 9,10,10,13,13,10,11,11,13,13,
- 10,11,10,14,13,13,13,13,14,15,13,14,13,15,15,11,
- 13,12,14,14,12,13,13,16,14,11,12,13,15,15,14,15,
- 16,17,18,14,12,15,14,16,11,12,13,14,15,12,13,13,
- 15,16,11,13,11,15,14,14,16,14,16,17,14,15,12,16,
- 12,
- };
- static float _vq_quantthresh__44u0__p4_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u0__p4_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u0__p4_0 = {
- _vq_quantthresh__44u0__p4_0,
- _vq_quantmap__44u0__p4_0,
- 5,
- 5
- };
- static static_codebook _44u0__p4_0 = {
- 4, 625,
- _vq_lengthlist__44u0__p4_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u0__p4_0,
- NULL,
- &_vq_auxt__44u0__p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u0__p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u0__p5_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 9, 9, 4, 6, 5, 8, 8, 8, 8,
- 10,10, 4, 5, 6, 8, 8, 8, 8,10,10, 7, 8, 8, 9, 9,
- 9, 9,11,11, 7, 8, 8, 9, 9, 9, 9,11,11, 8, 8, 8,
- 10, 9,10,11,12,12, 8, 8, 8, 9, 9,11,11,12,12, 9,
- 10,10,11,11,12,12,13,13, 9,10,10,11,11,12,12,13,
- 13,
- };
- static float _vq_quantthresh__44u0__p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44u0__p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u0__p5_0 = {
- _vq_quantthresh__44u0__p5_0,
- _vq_quantmap__44u0__p5_0,
- 9,
- 9
- };
- static static_codebook _44u0__p5_0 = {
- 2, 81,
- _vq_lengthlist__44u0__p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44u0__p5_0,
- NULL,
- &_vq_auxt__44u0__p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u0__p6_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u0__p6_0[] = {
- 1, 4, 4, 6, 6, 8, 8,10, 9,10,10,14,14, 4, 6, 5,
- 8, 8, 9, 9,10,10,11,11,14,14, 4, 5, 6, 8, 8, 9,
- 9,10,10,11,11,14,14, 7, 8, 8, 9, 9,10,10,11,11,
- 12,12,15,15, 7, 8, 8, 9, 9,10,10,11,11,12,12,14,
- 15, 9, 9, 9,10,10,11,11,12,11,12,12,15,16, 9, 9,
- 9,10,10,11,11,11,11,12,12,15,15,10,10,10,11,11,
- 12,11,12,12,13,13,16,16,10,10,10,11,11,12,12,12,
- 12,13,13,16,17,11,11,12,12,12,13,13,14,13,14,14,
- 18,17,11,11,11,12,12,12,12,13,14,14,14,18,18,14,
- 14,14,15,15,15,16,16,16,17,17, 0,19,14,14,14,15,
- 15,16,17,16,17,17,17,19, 0,
- };
- static float _vq_quantthresh__44u0__p6_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44u0__p6_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u0__p6_0 = {
- _vq_quantthresh__44u0__p6_0,
- _vq_quantmap__44u0__p6_0,
- 13,
- 13
- };
- static static_codebook _44u0__p6_0 = {
- 2, 169,
- _vq_lengthlist__44u0__p6_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44u0__p6_0,
- NULL,
- &_vq_auxt__44u0__p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u0__p6_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u0__p6_1[] = {
- 2, 4, 4, 5, 5, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5,
- 6, 6, 6, 6, 5, 6, 6, 6, 6,
- };
- static float _vq_quantthresh__44u0__p6_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u0__p6_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u0__p6_1 = {
- _vq_quantthresh__44u0__p6_1,
- _vq_quantmap__44u0__p6_1,
- 5,
- 5
- };
- static static_codebook _44u0__p6_1 = {
- 2, 25,
- _vq_lengthlist__44u0__p6_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u0__p6_1,
- NULL,
- &_vq_auxt__44u0__p6_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u0__p7_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u0__p7_0[] = {
- 1, 5, 5,11,11, 9,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11, 8,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11, 9,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11, 8,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,10,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,
- };
- static float _vq_quantthresh__44u0__p7_0[] = {
- -253.5, -84.5, 84.5, 253.5,
- };
- static long _vq_quantmap__44u0__p7_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u0__p7_0 = {
- _vq_quantthresh__44u0__p7_0,
- _vq_quantmap__44u0__p7_0,
- 5,
- 5
- };
- static static_codebook _44u0__p7_0 = {
- 4, 625,
- _vq_lengthlist__44u0__p7_0,
- 1, -518709248, 1626677248, 3, 0,
- _vq_quantlist__44u0__p7_0,
- NULL,
- &_vq_auxt__44u0__p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u0__p7_1[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u0__p7_1[] = {
- 1, 4, 4, 6, 6, 7, 7, 8, 8, 9, 9,10,10, 4, 7, 7,
- 8, 8, 8, 8, 9, 9,11,10,12,11, 4, 6, 7, 8, 8, 7,
- 8, 9, 9,10,11,12,11, 7, 8, 8, 9, 9,10,10,11,11,
- 12,11,13,13, 7, 8, 8, 9,10,10,10,11,11,12,12,12,
- 13, 7, 8, 8,10,10,12,12,13,12,16,13,13,14, 7, 8,
- 8,10,11,12,12,13,12,13,13,14,14, 8, 9,10,12,12,
- 14,13,16,15,16,16,16,15, 8,10,10,12,12,14,13,14,
- 15,16,16,15,16,10,11,12,14,14,14,14,16,13,16,15,
- 16,16,10,11,12,13,13,15,14,14,15,16,16,14,14,13,
- 14,13,15,16,16,16,15,15,16,16,16,16,11,15,14,16,
- 16,14,14,16,15,16,14,16,15,
- };
- static float _vq_quantthresh__44u0__p7_1[] = {
- -71.5, -58.5, -45.5, -32.5, -19.5, -6.5, 6.5, 19.5,
- 32.5, 45.5, 58.5, 71.5,
- };
- static long _vq_quantmap__44u0__p7_1[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u0__p7_1 = {
- _vq_quantthresh__44u0__p7_1,
- _vq_quantmap__44u0__p7_1,
- 13,
- 13
- };
- static static_codebook _44u0__p7_1 = {
- 2, 169,
- _vq_lengthlist__44u0__p7_1,
- 1, -523010048, 1618608128, 4, 0,
- _vq_quantlist__44u0__p7_1,
- NULL,
- &_vq_auxt__44u0__p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u0__p7_2[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u0__p7_2[] = {
- 2, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 5, 5, 6,
- 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 5, 5, 5, 7, 7, 8,
- 8, 8, 8, 9, 9, 9, 9, 6, 7, 7, 7, 8, 8, 8, 9, 9,
- 9, 9, 9, 9, 6, 7, 7, 8, 7, 8, 8, 9, 9, 9, 9, 9,
- 9, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 8, 8,
- 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 8, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 8, 8, 9, 9, 9, 9, 8, 9,
- 9, 9, 9, 9, 9, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 8,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9,
- };
- static float _vq_quantthresh__44u0__p7_2[] = {
- -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5,
- 2.5, 3.5, 4.5, 5.5,
- };
- static long _vq_quantmap__44u0__p7_2[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u0__p7_2 = {
- _vq_quantthresh__44u0__p7_2,
- _vq_quantmap__44u0__p7_2,
- 13,
- 13
- };
- static static_codebook _44u0__p7_2 = {
- 2, 169,
- _vq_lengthlist__44u0__p7_2,
- 1, -531103744, 1611661312, 4, 0,
- _vq_quantlist__44u0__p7_2,
- NULL,
- &_vq_auxt__44u0__p7_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u0__short[] = {
- 6,10,11,12,13,12,12,12, 4, 6, 6, 9, 9,10,11,13,
- 3, 4, 3, 7, 6, 8,10,15, 5, 7, 7, 9, 8, 9,11,16,
- 6, 7, 5, 8, 5, 7,10,16, 7, 8, 7, 9, 6, 7,10,16,
- 10, 6, 3, 5, 4, 5, 7,16,13, 8, 5, 7, 6, 7,10,15,
- };
- static static_codebook _huff_book__44u0__short = {
- 2, 64,
- _huff_lengthlist__44u0__short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u1__long[] = {
- 4, 8,13,11,14,11,10,14, 6, 3, 5, 6, 8, 7, 9,14,
- 12, 4, 3, 6, 5, 7,10,18,11, 6, 6, 6, 6, 6, 8,16,
- 13, 7, 4, 6, 4, 6, 9,19,11, 6, 6, 5, 5, 5, 7,16,
- 10, 8, 9, 7, 9, 6, 4,12,11,16,18,19,18,10, 7,11,
- };
- static static_codebook _huff_book__44u1__long = {
- 2, 64,
- _huff_lengthlist__44u1__long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44u1__p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u1__p1_0[] = {
- 1, 4, 4, 5, 8, 7, 5, 7, 8, 5, 8, 8, 8,11,11, 8,
- 10,11, 5, 8, 8, 8,11,10, 8,11,11, 4, 8, 8, 8,11,
- 11, 8,11,11, 8,11,11,11,13,14,11,13,14, 8,11,11,
- 10,14,11,11,13,14, 4, 8, 8, 8,11,11, 8,11,11, 7,
- 11,11,11,14,13,10,12,13, 8,11,11,11,14,14,11,14,
- 13,
- };
- static float _vq_quantthresh__44u1__p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u1__p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u1__p1_0 = {
- _vq_quantthresh__44u1__p1_0,
- _vq_quantmap__44u1__p1_0,
- 3,
- 3
- };
- static static_codebook _44u1__p1_0 = {
- 4, 81,
- _vq_lengthlist__44u1__p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u1__p1_0,
- NULL,
- &_vq_auxt__44u1__p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u1__p2_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u1__p2_0[] = {
- 2, 5, 5, 5, 6, 6, 5, 6, 6, 5, 6, 6, 7, 8, 8, 6,
- 7, 8, 5, 6, 6, 6, 8, 7, 7, 8, 8, 5, 6, 6, 7, 8,
- 8, 6, 8, 8, 7, 8, 8, 8, 9,10, 8, 9, 9, 6, 8, 8,
- 7, 9, 8, 8, 9,10, 5, 6, 6, 6, 8, 8, 7, 8, 8, 6,
- 8, 8, 8,10, 9, 7, 8, 9, 7, 8, 8, 8, 9, 9, 8,10,
- 9,
- };
- static float _vq_quantthresh__44u1__p2_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u1__p2_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u1__p2_0 = {
- _vq_quantthresh__44u1__p2_0,
- _vq_quantmap__44u1__p2_0,
- 3,
- 3
- };
- static static_codebook _44u1__p2_0 = {
- 4, 81,
- _vq_lengthlist__44u1__p2_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u1__p2_0,
- NULL,
- &_vq_auxt__44u1__p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u1__p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u1__p3_0[] = {
- 2, 5, 4, 7, 7, 5, 7, 7, 9, 8, 5, 7, 7, 8, 9, 8,
- 9, 9,11,11, 8, 9, 9,11,11, 5, 7, 7,10,10, 7, 9,
- 9,11,10, 7, 9, 9,10,10, 9,11,10,13,12, 9,10,10,
- 12,13, 5, 7, 7,10, 9, 7, 9, 9,11,10, 7, 9, 9,10,
- 11, 9,10,10,12,12,10,10,11,12,13, 8,10,10,14,13,
- 9,11,11,15,13, 9,11,11,15,13,12,14,12,16,14,12,
- 13,12,15,14, 8,10,10,13,14, 9,11,11,13,14,10,11,
- 11,13,15,12,12,13,14,15,12,13,14,14,16, 5, 7, 7,
- 10,10, 7, 9, 9,11,11, 7, 9, 9,11,12,10,11,11,14,
- 14,10,11,11,14,14, 7, 9, 9,12,12, 9,11,11,13,12,
- 9,11,11,13,13,12,12,12,14,14,11,12,13,15,15, 7,
- 9, 9,12,11, 9,11,10,12,12, 9,11,11,12,13,11,12,
- 11,14,14,11,12,12,15,16, 9,11,11,15,15,11,12,12,
- 16,15,10,12,12,16,15,14,15,15,17,16,13,14,14,17,
- 17, 9,11,11,14,15,10,12,11,15,15,10,12,12,15,17,
- 13,14,13,16,15,13,14,15,17,17, 5, 7, 7,10,10, 7,
- 9, 9,12,11, 7, 9, 9,11,12,10,11,11,14,14,10,11,
- 11,13,14, 7, 9, 9,11,12, 9,11,11,13,13, 9,10,11,
- 12,12,11,12,12,15,15,11,12,12,13,14, 7,10, 9,12,
- 12, 9,11,11,13,13, 9,11,11,12,12,11,12,12,16,15,
- 11,12,12,14,14, 9,11,11,15,14,10,12,12,16,15,10,
- 11,12,15,15,13,14,14,17,18,13,13,14,15,16, 9,11,
- 11,15,16,10,12,12,15,15,11,12,12,14,17,13,14,14,
- 17,17,14,14,14,16,18, 7,10,10,14,15,10,12,12,16,
- 15,10,11,12,16,16,14,16,15,18,17,13,15,14,17,19,
- 9,11,12,16,15,11,13,13,17,16,10,13,13,16,16,15,
- 16,16,17,19,13,15,15,17,17, 8,11,11,15,15,10,13,
- 11,16,16,10,13,13,16,17,14,16,15,18,19,13,15,15,
- 17,17,12,14,14,18,18,13,14,15,18,19,12,14,15,17,
- 18,16,18,18,19, 0,14,15,16,18,18,11,14,13,17,18,
- 12,16,14,19,19,12,15,14, 0,18,15,17,16,18,17,14,
- 17,16,18,18, 7,10,10,15,14,10,12,11,16,16,10,11,
- 12,16,16,13,15,14,19,18,14,15,16,18,18, 8,11,11,
- 15,15,10,13,12,17,16,10,12,13,16,17,14,14,15,19,
- 18,14,15,16,18, 0, 9,11,11,16,15,11,13,12,15,16,
- 11,13,13,16,16,14,15,14, 0,17,15,16,16,19,18,11,
- 14,14,18,17,12,14,15,17,17,12,13,15, 0,17,14,15,
- 16,18,17,16,17,18,17,19,11,14,13,17,19,12,15,14,
- 18,19,13,16,14, 0,19,14,17,15, 0,18,15,18,16, 0,
- 0,
- };
- static float _vq_quantthresh__44u1__p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u1__p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u1__p3_0 = {
- _vq_quantthresh__44u1__p3_0,
- _vq_quantmap__44u1__p3_0,
- 5,
- 5
- };
- static static_codebook _44u1__p3_0 = {
- 4, 625,
- _vq_lengthlist__44u1__p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u1__p3_0,
- NULL,
- &_vq_auxt__44u1__p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u1__p4_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u1__p4_0[] = {
- 4, 5, 5, 8, 8, 6, 7, 6, 9, 9, 6, 6, 7, 9, 9, 9,
- 9, 9,11,11, 9, 9, 9,11,11, 6, 7, 7, 9, 9, 7, 8,
- 8,10,10, 6, 7, 8, 9,10,10,10,10,11,12, 9, 9,10,
- 11,12, 6, 7, 7, 9, 9, 6, 8, 7,10, 9, 7, 8, 8,10,
- 10, 9,10, 9,12,11,10,10,10,12,11, 9,10,10,12,12,
- 10,10,10,13,12, 9,10,10,12,12,12,12,12,14,14,11,
- 12,12,13,14, 9,10,10,12,12, 9,10,10,13,12,10,10,
- 10,12,13,12,12,12,14,13,12,12,12,14,14, 5, 7, 7,
- 9, 9, 7, 8, 7,10,10, 7, 7, 8,10,10,10,10,10,12,
- 12,10,10,10,12,12, 7, 8, 8,10,10, 8, 8, 9,10,11,
- 8, 8, 8,11,11,10,10,11,11,13,10,11,11,12,13, 6,
- 7, 7,10,10, 7, 8, 8,11,10, 8, 8, 9,11,11,10,11,
- 10,13,11,10,11,11,13,12,10,11,10,13,12,10,10,11,
- 13,13,10,11,11,13,13,12,11,13,12,14,12,13,13,15,
- 15, 9,10,10,12,13,10,11,10,13,13,10,11,11,13,14,
- 12,13,11,14,12,12,13,13,14,15, 5, 7, 7, 9,10, 7,
- 8, 7,10,10, 7, 7, 8,10,10,10,10,10,12,12,10,10,
- 10,12,12, 6, 7, 7,10,10, 8, 9, 8,11,11, 7, 8, 8,
- 10,11,10,11,11,12,13,10,10,11,11,13, 7, 8, 8,10,
- 10, 8, 8, 8,11,11, 8, 9, 8,11,10,10,11,10,13,12,
- 10,11,10,13,12, 9,10,10,13,12,10,11,11,13,13, 9,
- 10,10,12,13,13,13,13,15,14,12,11,13,12,15,10,10,
- 11,12,13,10,11,11,13,13,10,11,10,13,13,12,13,13,
- 15,15,12,13,11,14,12, 8,10, 9,12,12, 9,10,10,13,
- 13, 9,10,10,13,13,13,13,13,14,15,12,12,12,14,14,
- 9,10,10,13,12,10,11,11,13,13,10,11,11,13,12,13,
- 13,14,14,16,12,13,13,15,14, 9,10,10,13,13,10,11,
- 10,13,13,10,11,11,13,13,13,14,12,15,14,12,13,13,
- 14,15,12,12,12,14,14,11,12,12,14,15,12,13,13,15,
- 14,14,12,15,12,16,14,14,15,17,16,11,12,12,14,14,
- 11,12,11,15,14,12,13,13,15,15,13,14,12,16,13,14,
- 14,15,17,16, 8,10,10,12,12, 9,10,10,13,12,10,10,
- 10,13,13,12,13,12,14,14,12,13,13,15,14, 9,10,10,
- 13,13,10,11,11,13,13,10,10,11,12,13,13,13,13,15,
- 15,12,12,13,14,15, 9,10,10,12,13,10,11,11,12,13,
- 10,11,10,13,13,12,13,13,14,15,13,14,13,15,14,11,
- 12,12,15,14,12,13,13,15,14,11,12,12,14,15,14,14,
- 14,17,15,13,12,15,13,16,12,12,12,14,15,12,13,13,
- 14,15,11,12,12,15,14,14,15,14,16,17,13,15,12,16,
- 12,
- };
- static float _vq_quantthresh__44u1__p4_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u1__p4_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u1__p4_0 = {
- _vq_quantthresh__44u1__p4_0,
- _vq_quantmap__44u1__p4_0,
- 5,
- 5
- };
- static static_codebook _44u1__p4_0 = {
- 4, 625,
- _vq_lengthlist__44u1__p4_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u1__p4_0,
- NULL,
- &_vq_auxt__44u1__p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u1__p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u1__p5_0[] = {
- 1, 4, 4, 7, 7, 8, 8,10,10, 4, 6, 5, 8, 8, 8, 8,
- 10,10, 4, 5, 6, 8, 8, 8, 8,10,10, 7, 8, 7, 9, 9,
- 9, 9,11,11, 7, 8, 8, 9, 9, 9, 9,11,11, 8, 8, 8,
- 9, 9,10,11,12,12, 8, 8, 9, 9, 9,10,10,12,12,10,
- 10,10,11,11,12,12,13,13,10,10,10,11,11,12,12,13,
- 13,
- };
- static float _vq_quantthresh__44u1__p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44u1__p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u1__p5_0 = {
- _vq_quantthresh__44u1__p5_0,
- _vq_quantmap__44u1__p5_0,
- 9,
- 9
- };
- static static_codebook _44u1__p5_0 = {
- 2, 81,
- _vq_lengthlist__44u1__p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44u1__p5_0,
- NULL,
- &_vq_auxt__44u1__p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u1__p6_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u1__p6_0[] = {
- 1, 4, 4, 7, 7, 9, 8,10, 9,11,10,14,13, 4, 5, 5,
- 8, 8, 9, 9,11,11,11,11,14,14, 4, 5, 5, 8, 8, 9,
- 9,10,11,11,11,14,14, 7, 8, 8, 9, 9,11,10,11,11,
- 12,12,16,15, 7, 8, 8, 9, 9,10,11,11,11,12,12,15,
- 15, 9,10,10,11,11,11,11,12,12,13,13,16,16, 9,10,
- 10,11,11,11,11,12,12,12,13,16,15,10,11,11,11,11,
- 12,12,13,13,13,13,16,17,10,11,11,11,11,12,12,12,
- 12,13,14,16,16,11,12,12,12,12,13,13,14,14,14,15,
- 18,17,11,12,12,12,12,13,13,13,14,14,15,18,18,15,
- 14,15,15,15,16,16,17,17,18,17,20,20,14,15,15,15,
- 15,16,17,17,16,18, 0,19, 0,
- };
- static float _vq_quantthresh__44u1__p6_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44u1__p6_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u1__p6_0 = {
- _vq_quantthresh__44u1__p6_0,
- _vq_quantmap__44u1__p6_0,
- 13,
- 13
- };
- static static_codebook _44u1__p6_0 = {
- 2, 169,
- _vq_lengthlist__44u1__p6_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44u1__p6_0,
- NULL,
- &_vq_auxt__44u1__p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u1__p6_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u1__p6_1[] = {
- 2, 4, 4, 5, 5, 4, 5, 5, 6, 5, 4, 5, 5, 5, 6, 5,
- 6, 5, 6, 6, 5, 5, 6, 6, 6,
- };
- static float _vq_quantthresh__44u1__p6_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u1__p6_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u1__p6_1 = {
- _vq_quantthresh__44u1__p6_1,
- _vq_quantmap__44u1__p6_1,
- 5,
- 5
- };
- static static_codebook _44u1__p6_1 = {
- 2, 25,
- _vq_lengthlist__44u1__p6_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u1__p6_1,
- NULL,
- &_vq_auxt__44u1__p6_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u1__p7_0[] = {
- 3,
- 2,
- 4,
- 1,
- 5,
- 0,
- 6,
- };
- static long _vq_lengthlist__44u1__p7_0[] = {
- 1, 3, 3, 9, 9, 9, 9, 5, 7, 7, 9, 9, 9, 9, 5, 6,
- 6, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8,
- };
- static float _vq_quantthresh__44u1__p7_0[] = {
- -422.5, -253.5, -84.5, 84.5, 253.5, 422.5,
- };
- static long _vq_quantmap__44u1__p7_0[] = {
- 5, 3, 1, 0, 2, 4, 6,
- };
- static encode_aux_threshmatch _vq_auxt__44u1__p7_0 = {
- _vq_quantthresh__44u1__p7_0,
- _vq_quantmap__44u1__p7_0,
- 7,
- 7
- };
- static static_codebook _44u1__p7_0 = {
- 2, 49,
- _vq_lengthlist__44u1__p7_0,
- 1, -518017024, 1626677248, 3, 0,
- _vq_quantlist__44u1__p7_0,
- NULL,
- &_vq_auxt__44u1__p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u1__p7_1[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u1__p7_1[] = {
- 1, 4, 4, 6, 6, 6, 7, 8, 8, 9, 9,11,10, 4, 7, 7,
- 8, 8, 8, 8, 9, 9,11,10,12,11, 4, 6, 7, 8, 8, 8,
- 8,10,10,10,11,12,11, 7, 8, 8, 9, 9,10,10,11,11,
- 12,12,13,13, 7, 8, 8, 9, 9,10,10,11,11,12,12,13,
- 13, 7, 8, 8,10,10,13,12,13,13,16,13,13,14, 7, 8,
- 8,10,11,12,12,13,13,14,14,14,14, 8,10,10,13,12,
- 13,13,16,14,15,15,16,15, 8,10,11,12,13,13,13,13,
- 16,15,16,16,14,10,12,13,14,15,15,14,14,14,15,16,
- 15,16,10,11,12,13,13,15,15,16,16,16,14,16,16,12,
- 13,13,15,14,15,14,15,15,14,15,16,16,11,14,14,15,
- 14,16,15,16,14,15,16,14,15,
- };
- static float _vq_quantthresh__44u1__p7_1[] = {
- -71.5, -58.5, -45.5, -32.5, -19.5, -6.5, 6.5, 19.5,
- 32.5, 45.5, 58.5, 71.5,
- };
- static long _vq_quantmap__44u1__p7_1[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u1__p7_1 = {
- _vq_quantthresh__44u1__p7_1,
- _vq_quantmap__44u1__p7_1,
- 13,
- 13
- };
- static static_codebook _44u1__p7_1 = {
- 2, 169,
- _vq_lengthlist__44u1__p7_1,
- 1, -523010048, 1618608128, 4, 0,
- _vq_quantlist__44u1__p7_1,
- NULL,
- &_vq_auxt__44u1__p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u1__p7_2[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u1__p7_2[] = {
- 2, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 5, 6, 6,
- 6, 7, 8, 7, 8, 8, 8, 9, 9, 9, 5, 6, 6, 7, 7, 8,
- 8, 8, 8, 8, 8, 8, 9, 6, 7, 7, 7, 7, 8, 8, 8, 9,
- 9, 9, 9, 9, 6, 7, 7, 7, 7, 8, 8, 9, 9, 9, 9, 9,
- 9, 7, 8, 8, 8, 8, 8, 8, 9, 8, 9, 9, 9, 9, 7, 8,
- 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 8, 8, 9, 9, 9,
- 8, 9, 9, 9, 9, 9, 9, 9, 8, 8, 8, 9, 9, 9, 8, 9,
- 9, 9, 9, 9, 9, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 8,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9,
- };
- static float _vq_quantthresh__44u1__p7_2[] = {
- -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5,
- 2.5, 3.5, 4.5, 5.5,
- };
- static long _vq_quantmap__44u1__p7_2[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u1__p7_2 = {
- _vq_quantthresh__44u1__p7_2,
- _vq_quantmap__44u1__p7_2,
- 13,
- 13
- };
- static static_codebook _44u1__p7_2 = {
- 2, 169,
- _vq_lengthlist__44u1__p7_2,
- 1, -531103744, 1611661312, 4, 0,
- _vq_quantlist__44u1__p7_2,
- NULL,
- &_vq_auxt__44u1__p7_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u1__short[] = {
- 7,12,12,14,16,13,12,15, 6, 9,10,13,11,11,12,12,
- 4, 5, 5, 8, 5, 7, 9,12, 6, 7, 8,10, 8, 9,11,16,
- 5, 5, 4, 7, 4, 5, 7,15, 6, 5, 5, 8, 5, 5, 6,15,
- 8, 7, 4, 7, 3, 4, 5,16,15,11, 6, 8, 5, 6, 8,16,
- };
- static static_codebook _huff_book__44u1__short = {
- 2, 64,
- _huff_lengthlist__44u1__short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u2__long[] = {
- 8,14,15,15,17,15,12,13,13, 3, 4, 7, 8, 7, 8,11,
- 20, 4, 3, 6, 5, 7, 9,16,15, 6, 5, 6, 6, 6, 8,15,
- 20, 7, 4, 6, 4, 5, 8,18,16, 7, 6, 6, 5, 5, 6,14,
- 11, 7, 8, 7, 7, 5, 4,10,10,13,15,16,19,10, 6,10,
- };
- static static_codebook _huff_book__44u2__long = {
- 2, 64,
- _huff_lengthlist__44u2__long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44u2__p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u2__p1_0[] = {
- 1, 4, 4, 5, 8, 7, 5, 7, 8, 5, 8, 8, 8,11,11, 8,
- 10,11, 5, 8, 8, 8,11,10, 8,11,11, 4, 8, 8, 8,11,
- 11, 8,11,11, 8,11,11,11,13,14,11,13,13, 8,11,11,
- 10,13,12,11,13,14, 4, 8, 8, 8,11,11, 8,11,11, 7,
- 11,11,11,14,13,10,12,13, 8,11,11,11,14,13,11,13,
- 13,
- };
- static float _vq_quantthresh__44u2__p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u2__p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u2__p1_0 = {
- _vq_quantthresh__44u2__p1_0,
- _vq_quantmap__44u2__p1_0,
- 3,
- 3
- };
- static static_codebook _44u2__p1_0 = {
- 4, 81,
- _vq_lengthlist__44u2__p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u2__p1_0,
- NULL,
- &_vq_auxt__44u2__p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u2__p2_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u2__p2_0[] = {
- 3, 4, 4, 5, 6, 6, 5, 6, 6, 5, 6, 6, 6, 8, 8, 6,
- 7, 8, 5, 6, 6, 6, 8, 7, 6, 8, 8, 5, 6, 6, 6, 8,
- 7, 6, 7, 8, 6, 8, 8, 8, 9, 9, 8, 9, 9, 6, 8, 8,
- 7, 9, 8, 8, 9, 9, 5, 6, 6, 6, 8, 8, 6, 7, 8, 6,
- 8, 8, 8, 9, 9, 7, 8, 9, 6, 8, 8, 8, 9, 9, 8, 9,
- 9,
- };
- static float _vq_quantthresh__44u2__p2_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u2__p2_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u2__p2_0 = {
- _vq_quantthresh__44u2__p2_0,
- _vq_quantmap__44u2__p2_0,
- 3,
- 3
- };
- static static_codebook _44u2__p2_0 = {
- 4, 81,
- _vq_lengthlist__44u2__p2_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u2__p2_0,
- NULL,
- &_vq_auxt__44u2__p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u2__p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u2__p3_0[] = {
- 2, 4, 4, 8, 8, 5, 7, 7, 9, 9, 5, 7, 7, 9, 9, 8,
- 9, 9,12,12, 8, 9,10,11,12, 5, 7, 7,10,10, 7, 9,
- 9,11,10, 7, 8, 9,10,11,10,11,10,14,13, 9,10,10,
- 12,13, 5, 7, 7,10,10, 7, 9, 8,11,10, 7, 9, 9,11,
- 11, 9,10,10,13,12,10,10,11,13,13, 8,10,10,15,13,
- 10,11,11,15,13, 9,11,11,14,13,13,14,13,17,15,12,
- 13,13,15,15, 8,10,10,13,14, 9,11,11,13,14,10,11,
- 12,13,16,12,13,13,15,15,13,13,14,15,17, 5, 7, 7,
- 10,10, 7, 9, 9,11,11, 7, 9, 9,11,12,10,11,11,14,
- 14,10,11,12,14,14, 7, 9, 9,12,12, 9,11,11,13,12,
- 9,11,11,13,13,12,13,12,14,14,11,12,12,15,14, 7,
- 9, 9,12,11, 9,11,10,13,11, 9,11,11,12,13,11,12,
- 11,14,13,11,12,12,15,15,10,12,12,16,15,11,13,13,
- 16,16,10,12,12,16,16,14,14,14,17,16,13,14,14,17,
- 18, 9,11,11,14,15,10,12,11,15,15,10,12,12,15,17,
- 13,15,13,17,16,13,14,15,17,19, 5, 7, 7,10,10, 7,
- 9, 9,12,11, 7, 9, 9,11,11,10,11,11,15,14,10,11,
- 12,13,14, 7, 9, 9,12,12, 9,11,11,13,12, 8,10,11,
- 12,12,11,12,12,15,15,11,11,12,14,14, 7, 9, 9,12,
- 12, 9,11,11,13,13, 9,11,11,12,12,11,12,12,16,15,
- 11,12,13,14,14, 9,11,11,16,15,10,12,12,16,15,10,
- 11,12,14,14,13,14,15,18,17,13,13,14,16,16,10,12,
- 12,15,15,10,13,12,15,17,11,13,12,15,16,13,15,14,
- 17,18,14,15,14,15,17, 8,10,10,15,15,10,12,12,17,
- 15,10,12,12,17,16,14,16,15,17,17,13,14,15,16,16,
- 9,11,12,16,16,11,13,13,16,17,11,13,13,16,16,15,
- 16,16, 0, 0,14,15,15,19,17, 9,11,11,17,16,10,13,
- 11,16,16,11,12,12,16,17,15,16,15,19,19,14,16,15,
- 0,18,12,14,15, 0, 0,14,15,16,18,18,13,14,15,17,
- 17,16,18,18, 0, 0,15,16,16,19,18,11,14,13, 0,18,
- 13,16,13,17,17,13,15,14, 0, 0,17,17,15,19,18,14,
- 16,16,19, 0, 8,10,10,15,15,10,12,11,16,16,10,11,
- 12,17,16,14,15,15,17,18,15,15,16, 0, 0, 9,11,11,
- 15,15,11,13,12,16,18,10,12,13,17,17,13,15,15,17,
- 19,15,15,16,19,18, 9,12,11, 0,16,11,13,12,16,16,
- 11,13,13,16,17,14,16,15,19,19,15,15,16,18,18,12,
- 14,14,17,18,13,14,15,18, 0,13,14,15,18,19,15,17,
- 16, 0,19,16,15,18,17,19,12,14,14,19,19,13,15,15,
- 0,18,13,17,15,18,18,15,16,17, 0,19,17,19,18,18,
- 0,
- };
- static float _vq_quantthresh__44u2__p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u2__p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u2__p3_0 = {
- _vq_quantthresh__44u2__p3_0,
- _vq_quantmap__44u2__p3_0,
- 5,
- 5
- };
- static static_codebook _44u2__p3_0 = {
- 4, 625,
- _vq_lengthlist__44u2__p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u2__p3_0,
- NULL,
- &_vq_auxt__44u2__p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u2__p4_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u2__p4_0[] = {
- 4, 5, 5, 9, 9, 6, 7, 6, 9, 9, 6, 6, 7, 9, 9, 9,
- 10, 9,12,11, 9, 9,10,11,12, 6, 7, 7,10,10, 7, 8,
- 7,10,10, 7, 7, 8,10,10,10,10,10,12,12, 9,10,10,
- 11,12, 6, 7, 7,10,10, 7, 8, 7,10,10, 7, 7, 7,10,
- 10, 9,10,10,12,11,10,10,10,12,12, 9,10,10,13,12,
- 10,10,10,13,13,10,10,10,13,12,12,12,12,14,14,12,
- 12,12,14,14, 9,10,10,12,13, 9,10,10,13,13,10,10,
- 10,13,13,12,12,12,15,14,12,13,12,14,14, 5, 7, 7,
- 10,10, 7, 8, 7,10,10, 7, 7, 8,10,10,10,10,10,12,
- 12,10,10,10,12,12, 7, 8, 8,10,10, 8, 8, 8,10,11,
- 8, 8, 8,11,10,10,10,11,11,13,10,10,11,12,13, 6,
- 7, 7,10,10, 7, 8, 7,11,10, 8, 8, 8,10,11,10,11,
- 10,13,11,10,10,10,13,12,10,11,10,13,13,10,10,10,
- 12,13,10,11,11,13,13,12,11,13,11,14,12,13,13,14,
- 14, 9,10,10,12,13,10,10,10,13,12,10,10,11,13,13,
- 12,13,11,14,12,13,13,13,15,14, 5, 7, 7,10,10, 7,
- 7, 7,10,10, 7, 7, 8,10,10,10,10,10,12,12,10,10,
- 10,12,13, 6, 7, 7,10,10, 8, 8, 8,11,10, 7, 7, 8,
- 10,11,10,10,10,12,12,10,10,11,11,13, 7, 8, 8,10,
- 10, 7, 8, 8,10,11, 8, 8, 8,11,10,10,11,10,13,12,
- 10,11,10,13,11, 9,10,10,13,13,10,11,11,13,13,10,
- 10,10,12,13,13,13,13,14,14,12,11,13,12,14,10,10,
- 11,13,13,10,11,11,13,13,10,10,10,13,12,12,13,13,
- 14,14,12,13,11,15,12, 9,10,10,13,13,10,10,10,13,
- 13,10,10,10,13,13,13,13,13,15,15,12,13,13,14,14,
- 9,10,10,13,13,10,10,11,13,13,10,11,10,13,12,13,
- 12,13,14,15,13,13,13,15,14, 9,10,10,13,13,10,10,
- 10,13,12,10,10,11,12,13,13,13,12,15,14,13,13,13,
- 14,14,12,13,12,15,14,12,11,12,14,14,12,13,12,15,
- 14,14,12,15,12,16,14,14,15,16,16,12,12,12,14,15,
- 11,12,11,15,14,12,13,13,14,15,14,14,12,16,13,14,
- 14,15,16,16, 9,10,10,13,13,10,10,10,13,13,10,10,
- 10,13,13,12,13,12,14,14,13,13,13,15,15, 9,10,10,
- 13,13,10,11,10,13,12,10,10,10,12,13,13,13,13,14,
- 14,12,12,13,14,15, 9,10,10,13,13,10,10,11,12,13,
- 10,11,10,13,13,13,13,13,14,15,13,13,13,15,14,12,
- 12,12,15,14,12,13,12,15,14,11,11,12,14,15,14,14,
- 14,17,16,14,12,14,13,17,12,12,13,14,16,13,13,13,
- 13,15,12,12,11,14,14,14,15,14,16,16,14,14,12,16,
- 12,
- };
- static float _vq_quantthresh__44u2__p4_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u2__p4_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u2__p4_0 = {
- _vq_quantthresh__44u2__p4_0,
- _vq_quantmap__44u2__p4_0,
- 5,
- 5
- };
- static static_codebook _44u2__p4_0 = {
- 4, 625,
- _vq_lengthlist__44u2__p4_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u2__p4_0,
- NULL,
- &_vq_auxt__44u2__p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u2__p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u2__p5_0[] = {
- 2, 4, 4, 6, 6, 7, 7, 9, 9, 4, 5, 4, 7, 7, 8, 7,
- 9, 9, 4, 4, 4, 7, 7, 7, 8, 9, 9, 6, 7, 7, 8, 8,
- 8, 9,10,10, 6, 7, 7, 8, 8, 9, 8,10,10, 7, 8, 7,
- 8, 9, 9,10,11,11, 7, 7, 8, 9, 9,10,10,11,11, 9,
- 9, 9,10,10,11,11,12,12, 9, 9, 9,10,10,11,11,12,
- 12,
- };
- static float _vq_quantthresh__44u2__p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44u2__p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u2__p5_0 = {
- _vq_quantthresh__44u2__p5_0,
- _vq_quantmap__44u2__p5_0,
- 9,
- 9
- };
- static static_codebook _44u2__p5_0 = {
- 2, 81,
- _vq_lengthlist__44u2__p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44u2__p5_0,
- NULL,
- &_vq_auxt__44u2__p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u2__p6_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u2__p6_0[] = {
- 1, 4, 4, 6, 6, 8, 8, 9,10,11,11,14,14, 4, 6, 5,
- 8, 8, 9, 9,11,11,11,11,14,14, 4, 5, 5, 8, 8, 9,
- 9,10,11,11,12,14,14, 7, 8, 8, 9, 9,11,10,11,11,
- 12,12,15,15, 7, 8, 8, 9, 9,11,11,11,11,12,12,15,
- 14, 9,10,10,11,11,11,11,12,12,13,12,16,16, 9,10,
- 10,11,11,11,11,12,12,13,13,15,16,10,11,11,11,11,
- 12,12,13,13,13,13,17,16,10,11,11,12,12,12,12,12,
- 13,14,14,16,16,11,12,12,12,12,13,13,14,14,14,14,
- 17,17,11,12,12,12,12,13,13,14,14,15,14,18,17,15,
- 14,15,15,15,16,16,17,18,19,17,19, 0,15,15,15,15,
- 15,16,17,16,16,18,17, 0, 0,
- };
- static float _vq_quantthresh__44u2__p6_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44u2__p6_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u2__p6_0 = {
- _vq_quantthresh__44u2__p6_0,
- _vq_quantmap__44u2__p6_0,
- 13,
- 13
- };
- static static_codebook _44u2__p6_0 = {
- 2, 169,
- _vq_lengthlist__44u2__p6_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44u2__p6_0,
- NULL,
- &_vq_auxt__44u2__p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u2__p6_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u2__p6_1[] = {
- 2, 4, 4, 5, 5, 4, 5, 5, 6, 5, 4, 5, 5, 5, 5, 5,
- 6, 6, 6, 6, 5, 5, 6, 6, 6,
- };
- static float _vq_quantthresh__44u2__p6_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u2__p6_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u2__p6_1 = {
- _vq_quantthresh__44u2__p6_1,
- _vq_quantmap__44u2__p6_1,
- 5,
- 5
- };
- static static_codebook _44u2__p6_1 = {
- 2, 25,
- _vq_lengthlist__44u2__p6_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u2__p6_1,
- NULL,
- &_vq_auxt__44u2__p6_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u2__p7_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u2__p7_0[] = {
- 1, 3, 3,10,10,10,10,10,10, 4,10,10,10,10,10,10,
- 10,10, 4,10,10,10,10,10,10,10,10,10,10, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9,
- };
- static float _vq_quantthresh__44u2__p7_0[] = {
- -591.5, -422.5, -253.5, -84.5, 84.5, 253.5, 422.5, 591.5,
- };
- static long _vq_quantmap__44u2__p7_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u2__p7_0 = {
- _vq_quantthresh__44u2__p7_0,
- _vq_quantmap__44u2__p7_0,
- 9,
- 9
- };
- static static_codebook _44u2__p7_0 = {
- 2, 81,
- _vq_lengthlist__44u2__p7_0,
- 1, -516612096, 1626677248, 4, 0,
- _vq_quantlist__44u2__p7_0,
- NULL,
- &_vq_auxt__44u2__p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u2__p7_1[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u2__p7_1[] = {
- 1, 4, 4, 6, 6, 7, 7, 8, 7, 9, 9,10,10, 4, 7, 6,
- 8, 8, 8, 8,10, 9,11,10,12,12, 4, 6, 7, 8, 8, 8,
- 8,10,10,11,11,12,12, 7, 8, 8,10, 9,10,10,12,11,
- 13,12,13,13, 7, 8, 8, 9, 9,10,10,11,11,13,13,14,
- 15, 7, 8, 9,10,10,12,11,14,13,13,14,14,15, 7, 8,
- 9,10,10,11,12,13,13,15,14,14,15, 8,10,10,12,11,
- 13,13,15,15,15,17,15,15, 8,10,10,11,12,14,13,14,
- 15,17,15,15,15,10,11,11,14,13,14,14,15,15,17,17,
- 16,17,10,11,12,13,13,14,14,14,15,16,15,15,17,11,
- 12,13,14,13,16,16,16,14,17,16,17,17,11,12,13,15,
- 15,15,15,16,15,15,15,15,17,
- };
- static float _vq_quantthresh__44u2__p7_1[] = {
- -71.5, -58.5, -45.5, -32.5, -19.5, -6.5, 6.5, 19.5,
- 32.5, 45.5, 58.5, 71.5,
- };
- static long _vq_quantmap__44u2__p7_1[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u2__p7_1 = {
- _vq_quantthresh__44u2__p7_1,
- _vq_quantmap__44u2__p7_1,
- 13,
- 13
- };
- static static_codebook _44u2__p7_1 = {
- 2, 169,
- _vq_lengthlist__44u2__p7_1,
- 1, -523010048, 1618608128, 4, 0,
- _vq_quantlist__44u2__p7_1,
- NULL,
- &_vq_auxt__44u2__p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u2__p7_2[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u2__p7_2[] = {
- 2, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 5, 6, 6,
- 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 5, 6, 6, 7, 7, 8,
- 7, 8, 8, 8, 8, 8, 8, 6, 7, 7, 7, 7, 8, 8, 8, 8,
- 9, 9, 9, 9, 6, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9,
- 9, 7, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 7, 8,
- 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 8, 8, 8, 9, 8,
- 9, 9, 9, 9, 9, 9, 9, 9, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9,
- };
- static float _vq_quantthresh__44u2__p7_2[] = {
- -5.5, -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5,
- 2.5, 3.5, 4.5, 5.5,
- };
- static long _vq_quantmap__44u2__p7_2[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u2__p7_2 = {
- _vq_quantthresh__44u2__p7_2,
- _vq_quantmap__44u2__p7_2,
- 13,
- 13
- };
- static static_codebook _44u2__p7_2 = {
- 2, 169,
- _vq_lengthlist__44u2__p7_2,
- 1, -531103744, 1611661312, 4, 0,
- _vq_quantlist__44u2__p7_2,
- NULL,
- &_vq_auxt__44u2__p7_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u2__short[] = {
- 16,15,15,16,14,16,16,16,16, 9, 8,11,10,10,10,15,
- 16, 6, 3, 7, 5, 7, 9,16,16,11, 7,11, 9,10,12,16,
- 16, 9, 4, 8, 3, 5, 8,16,16,11, 6, 9, 4, 4, 7,16,
- 16,11, 5, 9, 3, 3, 5,12,16,15, 6,11, 5, 5, 6,14,
- };
- static static_codebook _huff_book__44u2__short = {
- 2, 64,
- _huff_lengthlist__44u2__short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u3__long[] = {
- 7,11,14,13,14,12,12,12,12, 2, 5, 8, 9, 8, 9,11,
- 17, 4, 3, 6, 5, 7, 9,15,14, 6, 6, 7, 7, 7, 8,14,
- 17, 8, 5, 7, 4, 5, 7,15,13, 7, 6, 7, 5, 5, 6,14,
- 10, 8, 8, 7, 7, 5, 4, 9,10,12,15,14,16,10, 6, 9,
- };
- static static_codebook _huff_book__44u3__long = {
- 2, 64,
- _huff_lengthlist__44u3__long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44u3__p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u3__p1_0[] = {
- 1, 4, 4, 5, 8, 7, 5, 7, 8, 5, 8, 8, 8,11,11, 8,
- 10,11, 5, 8, 8, 8,11,10, 8,11,11, 4, 8, 8, 8,11,
- 11, 8,11,11, 8,11,11,11,13,14,11,13,14, 7,11,11,
- 10,13,11,11,13,14, 4, 8, 8, 8,11,11, 8,11,11, 8,
- 11,11,11,14,14,10,12,14, 8,11,11,11,14,13,11,14,
- 13,
- };
- static float _vq_quantthresh__44u3__p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u3__p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u3__p1_0 = {
- _vq_quantthresh__44u3__p1_0,
- _vq_quantmap__44u3__p1_0,
- 3,
- 3
- };
- static static_codebook _44u3__p1_0 = {
- 4, 81,
- _vq_lengthlist__44u3__p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u3__p1_0,
- NULL,
- &_vq_auxt__44u3__p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u3__p2_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u3__p2_0[] = {
- 3, 4, 4, 5, 6, 6, 5, 6, 6, 5, 6, 6, 6, 8, 8, 6,
- 7, 8, 5, 6, 6, 6, 8, 7, 6, 8, 8, 5, 6, 6, 6, 8,
- 7, 6, 8, 8, 6, 8, 8, 8, 8, 9, 8, 9, 9, 6, 8, 7,
- 7, 9, 8, 8, 9, 9, 5, 6, 6, 6, 8, 8, 6, 8, 8, 6,
- 8, 8, 8, 9, 9, 7, 8, 9, 6, 8, 8, 8, 9, 9, 8, 9,
- 8,
- };
- static float _vq_quantthresh__44u3__p2_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u3__p2_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u3__p2_0 = {
- _vq_quantthresh__44u3__p2_0,
- _vq_quantmap__44u3__p2_0,
- 3,
- 3
- };
- static static_codebook _44u3__p2_0 = {
- 4, 81,
- _vq_lengthlist__44u3__p2_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u3__p2_0,
- NULL,
- &_vq_auxt__44u3__p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u3__p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u3__p3_0[] = {
- 2, 4, 4, 8, 8, 5, 7, 7, 9, 9, 5, 7, 7, 9, 9, 8,
- 10, 9,12,12, 8, 9,10,12,12, 5, 7, 7,10,10, 7, 9,
- 9,11,11, 7, 8, 9,10,11,10,11,10,14,13, 9,10,11,
- 13,13, 5, 7, 7,10,10, 7, 9, 8,11,10, 7, 9, 9,11,
- 11, 9,10,10,13,12,10,10,11,13,14, 8,10,10,14,13,
- 10,11,11,15,13, 9,11,11,14,13,13,14,13,17,15,12,
- 13,13,17,14, 8,10,10,14,14, 9,11,11,14,15,10,11,
- 12,14,16,12,13,13,14,17,13,13,14,14,17, 5, 7, 7,
- 10,10, 7, 9, 9,11,11, 7, 9, 9,11,11,10,11,11,15,
- 14,10,11,11,15,14, 7, 9, 9,12,12, 9,11,11,13,13,
- 9,11,11,13,13,11,12,12,15,14,11,12,12,15,16, 7,
- 9, 9,12,11, 8,11,10,13,12, 9,11,11,12,13,11,12,
- 11,16,14,11,12,13,15,16,10,12,12,17,15,11,12,13,
- 16,15,11,12,12,16,16,15,15,15,16,16,13,14,15, 0,
- 17, 9,11,11,15,15,10,12,11,16,15,11,12,12,15,17,
- 13,15,13,16,15,13,15,14, 0,18, 5, 7, 7,10,10, 7,
- 9, 9,12,11, 7, 9, 9,11,11,10,11,11,14,14,10,11,
- 11,14,15, 7, 9, 9,12,11, 9,11,11,13,12, 8,10,11,
- 11,12,11,12,12,16,15,11,11,12,13,14, 7, 9, 9,12,
- 12, 9,11,11,13,13, 9,11,11,13,13,11,12,12,16,15,
- 12,12,12,15,15, 9,11,11,17,15,11,12,12,17,16,10,
- 11,12,15,15,13,14,15,18,17,13,13,14,15,15, 9,12,
- 12,15,14,11,13,12,16,16,11,12,12,15,15,13,15,14,
- 0, 0,14,15,14,16,18, 8,10,10,15,15,10,12,12,16,
- 14,10,11,11,16,16,15,16,16,18,16,13,15,14,17,18,
- 9,11,11,16,15,11,12,13,17,17,11,13,13,16,15,15,
- 16,16,18,18,14,16,15,18,17, 9,11,11,16,16,10,13,
- 12,16,16,11,12,12,16,16,14,16,16,17, 0,14,15,15,
- 18,16,12,14,14, 0, 0,14,15,16, 0, 0,14,15,15, 0,
- 0,17,17,16, 0, 0,15,16,18,17, 0,11,14,14,18, 0,
- 12,15,13, 0,18,13,15,14,18, 0,15,16,15, 0,18,15,
- 18,17, 0,18, 8,10,10,15,15,10,12,11,15,15,10,11,
- 12,15,15,13,14,15,17, 0,14,15,16,17, 0, 9,11,11,
- 15,15,11,12,12,17,15,10,12,13,16,15,13,15,15,18,
- 18,15,16,17,18,18, 9,12,11,16,16,11,13,13,16,16,
- 11,13,13,18,15,14,15,15,18, 0,16,16,17, 0,17,12,
- 13,13,18,18,13,14,14,17,18,13,14,15,18,17,17,18,
- 18, 0,18,16,16,18,16, 0,12,15,13,18,18,13,14,15,
- 18,18,13,16,14,17,18,15,17,16, 0,18,17, 0,17, 0,
- 0,
- };
- static float _vq_quantthresh__44u3__p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u3__p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u3__p3_0 = {
- _vq_quantthresh__44u3__p3_0,
- _vq_quantmap__44u3__p3_0,
- 5,
- 5
- };
- static static_codebook _44u3__p3_0 = {
- 4, 625,
- _vq_lengthlist__44u3__p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u3__p3_0,
- NULL,
- &_vq_auxt__44u3__p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u3__p4_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u3__p4_0[] = {
- 4, 6, 6, 9, 9, 6, 7, 6, 9, 9, 6, 6, 7, 9, 9, 9,
- 10, 9,12,11, 9, 9,10,11,12, 6, 7, 7, 9, 9, 7, 7,
- 7,10,10, 6, 7, 7, 9,10,10,10,10,12,12, 9, 9,10,
- 11,12, 6, 7, 7, 9, 9, 7, 7, 7,10, 9, 7, 7, 7,10,
- 10, 9,10, 9,12,11,10,10,10,12,12, 9,10,10,12,12,
- 10,10,10,13,12, 9,10,10,12,12,12,12,12,14,14,12,
- 12,12,13,14, 9,10,10,12,12, 9,10,10,12,12,10,10,
- 10,12,13,11,12,12,14,13,12,12,12,14,14, 6, 7, 7,
- 10, 9, 7, 8, 7,10,10, 7, 7, 7,10,10,10,10,10,12,
- 12,10,10,10,12,12, 7, 8, 8,10,10, 8, 8, 8,10,10,
- 7, 8, 8,10,10,10,10,11,11,13,10,10,11,12,13, 6,
- 7, 7,10,10, 7, 8, 7,10,10, 8, 8, 8,10,10,10,11,
- 10,13,11,10,10,10,12,12,10,10,10,13,12,10,10,10,
- 12,13,10,10,10,13,12,12,11,13,12,14,12,12,13,14,
- 14, 9,10,10,12,13, 9,10,10,12,12,10,10,11,12,13,
- 12,12,11,14,12,12,12,13,14,14, 6, 7, 7, 9, 9, 7,
- 7, 7,10,10, 7, 7, 8,10,10,10,10,10,12,12,10,10,
- 10,12,12, 6, 7, 7,10,10, 8, 8, 8,10,10, 7, 7, 8,
- 10,10,10,10,10,12,12,10,10,11,11,13, 7, 8, 8,10,
- 10, 7, 8, 8,10,10, 8, 8, 8,10,10,10,10,10,12,12,
- 10,11,10,13,11, 9,10,10,13,12,10,11,10,13,12, 9,
- 10,10,12,13,12,13,12,14,14,12,11,12,12,14,10,10,
- 10,12,13,10,10,11,12,13,10,10,10,12,12,12,13,12,
- 14,14,12,12,11,14,12, 9,10, 9,12,12,10,10,10,13,
- 13, 9,10,10,13,13,12,13,13,15,14,12,12,13,14,14,
- 9,10,10,13,13,10,10,10,12,13,10,10,10,13,12,13,
- 12,13,14,15,12,13,13,15,14, 9,10,10,13,12,10,10,
- 10,13,12,10,10,10,12,13,12,13,12,14,14,13,12,12,
- 14,14,12,12,12,15,14,12,11,12,14,14,12,13,12,14,
- 14,14,12,14,12,16,14,14,14,16,16,11,12,12,14,14,
- 11,12,11,15,13,12,12,12,14,15,13,14,12,16,13,14,
- 14,15,16,16, 9,10,10,12,12, 9,10,10,13,12, 9,10,
- 10,13,13,12,12,12,14,14,12,13,13,14,15, 9,10,10,
- 13,12,10,11,10,13,12,10,10,10,12,13,12,13,12,14,
- 14,12,12,13,14,15, 9,10,10,13,13,10,10,10,12,13,
- 10,10,10,13,13,12,13,13,14,15,13,13,12,14,14,11,
- 12,12,14,14,12,13,12,15,14,11,11,12,14,15,14,14,
- 14,16,16,14,12,14,13,16,12,12,12,14,15,12,12,13,
- 14,15,12,12,11,14,14,14,14,14,16,16,14,14,12,16,
- 12,
- };
- static float _vq_quantthresh__44u3__p4_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u3__p4_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u3__p4_0 = {
- _vq_quantthresh__44u3__p4_0,
- _vq_quantmap__44u3__p4_0,
- 5,
- 5
- };
- static static_codebook _44u3__p4_0 = {
- 4, 625,
- _vq_lengthlist__44u3__p4_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u3__p4_0,
- NULL,
- &_vq_auxt__44u3__p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u3__p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u3__p5_0[] = {
- 2, 4, 4, 6, 6, 7, 7, 9, 9, 4, 5, 4, 7, 6, 8, 8,
- 9, 9, 4, 4, 4, 6, 7, 8, 8, 9, 9, 6, 7, 6, 8, 8,
- 9, 9,10,10, 6, 6, 7, 8, 8, 9, 9,10,10, 8, 8, 8,
- 9, 9,10,10,11,11, 8, 8, 8, 9, 9,10,10,11,11, 9,
- 9, 9,10,10,11,11,12,12, 9, 9,10,10,10,11,11,12,
- 12,
- };
- static float _vq_quantthresh__44u3__p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44u3__p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u3__p5_0 = {
- _vq_quantthresh__44u3__p5_0,
- _vq_quantmap__44u3__p5_0,
- 9,
- 9
- };
- static static_codebook _44u3__p5_0 = {
- 2, 81,
- _vq_lengthlist__44u3__p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44u3__p5_0,
- NULL,
- &_vq_auxt__44u3__p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u3__p6_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u3__p6_0[] = {
- 1, 4, 4, 6, 6, 8, 8, 9,10,10,11,13,14, 4, 6, 5,
- 8, 8, 9, 9,10,10,11,11,14,14, 4, 5, 6, 8, 8, 9,
- 9,10,10,11,11,14,14, 7, 8, 8, 9, 9,10,10,11,11,
- 12,12,15,15, 7, 8, 8, 9, 9,10,10,11,11,12,12,14,
- 15, 8, 9, 9,10,10,11,11,12,12,13,12,16,16, 8, 9,
- 9,10,10,11,11,12,12,12,12,16,16,10,11,10,11,11,
- 12,12,13,13,13,13,17,16,10,11,11,11,11,12,12,12,
- 12,13,13,17,17,11,11,12,12,12,13,13,13,14,14,14,
- 16,17,11,12,11,12,12,13,13,14,14,14,14,19,17,14,
- 14,14,16,15,16,16,16,17,17,17,20,19,14,15,15,15,
- 15,15,16,16,17,17,17,20,19,
- };
- static float _vq_quantthresh__44u3__p6_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44u3__p6_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u3__p6_0 = {
- _vq_quantthresh__44u3__p6_0,
- _vq_quantmap__44u3__p6_0,
- 13,
- 13
- };
- static static_codebook _44u3__p6_0 = {
- 2, 169,
- _vq_lengthlist__44u3__p6_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44u3__p6_0,
- NULL,
- &_vq_auxt__44u3__p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u3__p6_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u3__p6_1[] = {
- 2, 4, 4, 5, 5, 4, 5, 5, 6, 5, 4, 5, 5, 5, 6, 5,
- 6, 5, 6, 6, 5, 5, 6, 6, 6,
- };
- static float _vq_quantthresh__44u3__p6_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u3__p6_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u3__p6_1 = {
- _vq_quantthresh__44u3__p6_1,
- _vq_quantmap__44u3__p6_1,
- 5,
- 5
- };
- static static_codebook _44u3__p6_1 = {
- 2, 25,
- _vq_lengthlist__44u3__p6_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u3__p6_1,
- NULL,
- &_vq_auxt__44u3__p6_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u3__p7_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u3__p7_0[] = {
- 1, 4, 4, 9, 9, 9, 9, 9, 9, 4, 9, 9, 9, 9, 9, 9,
- 9, 9, 3, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8,
- };
- static float _vq_quantthresh__44u3__p7_0[] = {
- -892.5, -637.5, -382.5, -127.5, 127.5, 382.5, 637.5, 892.5,
- };
- static long _vq_quantmap__44u3__p7_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u3__p7_0 = {
- _vq_quantthresh__44u3__p7_0,
- _vq_quantmap__44u3__p7_0,
- 9,
- 9
- };
- static static_codebook _44u3__p7_0 = {
- 2, 81,
- _vq_lengthlist__44u3__p7_0,
- 1, -515907584, 1627381760, 4, 0,
- _vq_quantlist__44u3__p7_0,
- NULL,
- &_vq_auxt__44u3__p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u3__p7_1[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__44u3__p7_1[] = {
- 1, 4, 4, 6, 5, 7, 7, 9, 8,10,10,11,11,12,13, 4,
- 7, 6, 7, 7, 9, 9,10,10,11,11,14,13,14,13, 4, 6,
- 7, 7, 8, 9, 9,10,10,12,12,13,13,13,13, 6, 8, 8,
- 10, 9,11,11,12,12,13,13,14,14,15,14, 6, 8, 8, 9,
- 9,11,11,12,12,14,14,14,15,15,15, 8, 9, 9,11,10,
- 13,12,14,14,14,14,15,16,15,15, 8, 9, 9,11,11,12,
- 12,14,14,15,14,15,15,14,17, 9,10,10,13,12,14,14,
- 15,14,14,17,15,15,16,15, 9,11,11,12,13,14,14,15,
- 15,15,16,15,17,16,17,11,12,12,14,14,15,14,16,16,
- 16,15,15,17,16,16,11,12,13,14,15,15,15,15,15,16,
- 16,17,17,16,17,12,13,13,15,14,15,15,15,15,16,16,
- 16,17,17,17,13,12,14,14,15,15,15,15,16,17,17,15,
- 17,17,17,12,14,14,16,15,17,16,17,16,17,16,17,17,
- 17,17,14,13,14,15,16,17,17,17,15,17,17,17,16,17,
- 16,
- };
- static float _vq_quantthresh__44u3__p7_1[] = {
- -110.5, -93.5, -76.5, -59.5, -42.5, -25.5, -8.5, 8.5,
- 25.5, 42.5, 59.5, 76.5, 93.5, 110.5,
- };
- static long _vq_quantmap__44u3__p7_1[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__44u3__p7_1 = {
- _vq_quantthresh__44u3__p7_1,
- _vq_quantmap__44u3__p7_1,
- 15,
- 15
- };
- static static_codebook _44u3__p7_1 = {
- 2, 225,
- _vq_lengthlist__44u3__p7_1,
- 1, -522338304, 1620115456, 4, 0,
- _vq_quantlist__44u3__p7_1,
- NULL,
- &_vq_auxt__44u3__p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u3__p7_2[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44u3__p7_2[] = {
- 3, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 5, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 5, 6, 6, 7, 7, 7, 8, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 6, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9,10, 9, 6, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 9, 9, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9,10,10,10, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9,10,10,10,10, 8, 8, 8, 9, 9, 9, 9, 9, 9,
- 9, 9,10,10,10,10,10,10, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9, 9,10,10,10,10,10,10, 8, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9,10,10,10,10,10,10, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9,10,10,10,10,10,10, 9, 9, 9, 9, 9,
- 9, 9,10, 9,10,10,10,10,10,10,10,10, 9, 9, 9, 9,
- 9, 9, 9,10,10,10,10,10,10,10,10,10,10, 9, 9, 9,
- 9, 9,10,10,10,10,10,10,10,10,10,10,10,10, 9, 9,
- 9,10,10,10,10,10,10,10,10,10,10,10,10,10,10, 9,
- 9,10,10, 9,10, 9,10,10,10,10,10,10,10,10,10,10,
- 9,10, 9,10, 9,10,10,10,10,10,10,10,10,10,10,10,
- 10,
- };
- static float _vq_quantthresh__44u3__p7_2[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44u3__p7_2[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44u3__p7_2 = {
- _vq_quantthresh__44u3__p7_2,
- _vq_quantmap__44u3__p7_2,
- 17,
- 17
- };
- static static_codebook _44u3__p7_2 = {
- 2, 289,
- _vq_lengthlist__44u3__p7_2,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44u3__p7_2,
- NULL,
- &_vq_auxt__44u3__p7_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u3__short[] = {
- 17,17,17,17,17,17,16,16,16,12,11,13,11,12,11,15,
- 16, 9, 4, 8, 5, 7, 9,15,16,14, 9,12,10,10,12,16,
- 16,11, 4, 9, 3, 4, 8,16,16,12, 6,10, 3, 4, 7,16,
- 16,12, 6,11, 3, 3, 4,12,16,16, 7,13, 5, 5, 6,13,
- };
- static static_codebook _huff_book__44u3__short = {
- 2, 64,
- _huff_lengthlist__44u3__short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u4__long[] = {
- 3, 7,11,11,12,11,11,12, 5, 3, 5, 7, 8, 8, 9,11,
- 9, 4, 4, 6, 6, 7, 9,15,10, 6, 6, 7, 7, 7, 8,14,
- 12, 7, 5, 6, 4, 5, 7,15,10, 7, 6, 7, 5, 5, 6,13,
- 9, 8, 8, 7, 7, 5, 4, 8,10,12,14,13,14,10, 5, 7,
- };
- static static_codebook _huff_book__44u4__long = {
- 2, 64,
- _huff_lengthlist__44u4__long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44u4__p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u4__p1_0[] = {
- 1, 4, 4, 5, 8, 7, 5, 7, 8, 5, 8, 8, 8,11,11, 8,
- 10,11, 5, 8, 8, 8,11,10, 8,11,11, 4, 8, 8, 8,11,
- 11, 8,11,11, 8,11,11,11,13,14,11,14,14, 7,11,10,
- 10,14,12,11,14,14, 4, 8, 8, 8,11,11, 8,11,11, 8,
- 11,11,11,14,14,10,12,14, 8,11,11,11,14,14,11,14,
- 13,
- };
- static float _vq_quantthresh__44u4__p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u4__p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u4__p1_0 = {
- _vq_quantthresh__44u4__p1_0,
- _vq_quantmap__44u4__p1_0,
- 3,
- 3
- };
- static static_codebook _44u4__p1_0 = {
- 4, 81,
- _vq_lengthlist__44u4__p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u4__p1_0,
- NULL,
- &_vq_auxt__44u4__p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u4__p2_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u4__p2_0[] = {
- 2, 5, 5, 5, 6, 6, 5, 6, 6, 5, 6, 6, 7, 8, 8, 6,
- 7, 8, 5, 6, 6, 6, 8, 7, 7, 8, 8, 5, 6, 6, 7, 8,
- 8, 6, 8, 8, 7, 8, 8, 8, 9,10, 8,10,10, 6, 8, 8,
- 7, 9, 8, 8, 9,10, 5, 6, 6, 6, 8, 8, 7, 8, 8, 6,
- 8, 8, 8,10, 9, 8, 8, 9, 6, 8, 8, 8,10,10, 8,10,
- 9,
- };
- static float _vq_quantthresh__44u4__p2_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u4__p2_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u4__p2_0 = {
- _vq_quantthresh__44u4__p2_0,
- _vq_quantmap__44u4__p2_0,
- 3,
- 3
- };
- static static_codebook _44u4__p2_0 = {
- 4, 81,
- _vq_lengthlist__44u4__p2_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u4__p2_0,
- NULL,
- &_vq_auxt__44u4__p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u4__p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u4__p3_0[] = {
- 2, 4, 4, 7, 7, 5, 7, 7, 9, 9, 5, 7, 7, 9, 9, 8,
- 10, 9,12,12, 8, 9, 9,12,12, 5, 7, 7,10, 9, 7, 9,
- 9,11,11, 7, 8, 9,10,11,10,11,11,13,13, 9,10,11,
- 13,13, 5, 7, 7, 9,10, 7, 9, 9,11,11, 7, 9, 9,11,
- 11, 9,11,10,13,12,10,11,11,13,13, 8,10,10,13,13,
- 10,11,11,15,13, 9,11,11,14,13,13,15,13,16,15,12,
- 13,13,15,15, 8,10,10,13,14, 9,11,11,14,14,10,11,
- 12,14,16,12,13,13,14,16,13,14,14,15,17, 5, 7, 7,
- 10,10, 7, 9, 9,11,11, 7, 9, 9,11,11,10,11,11,15,
- 14,10,11,11,14,14, 7, 9, 9,12,12, 9,11,11,13,13,
- 9,11,11,13,13,11,12,13,15,15,11,13,13,16,15, 7,
- 9, 9,11,11, 9,11,10,13,12, 9,11,12,13,13,11,13,
- 12,16,14,11,13,13,15,16,10,12,12,18,15,11,12,13,
- 16,15,11,13,13,17,16,15,15,15,17,17,14,15,16,18,
- 19, 9,11,11,15,15,10,12,11,15,16,11,13,13,15,16,
- 13,15,13,18,15,14,15,15,17,19, 5, 7, 7,10,10, 7,
- 9, 9,12,11, 7, 9, 9,11,12,10,12,11,14,14,10,11,
- 12,14,15, 7, 9, 9,11,11, 9,11,11,13,12, 9,10,11,
- 12,13,11,13,13,16,17,11,11,13,14,15, 7, 9, 9,12,
- 12, 9,11,11,13,13, 9,11,11,13,13,11,13,12,15,16,
- 11,13,13,16,15, 9,11,11,16,15,11,13,12,16,15,10,
- 12,12,16,15,14,15,16,19,17,13,14,15,15,16,10,11,
- 12,15,15,11,13,13,16,16,11,13,12,16,17,14,15,15,
- 18,17,14,16,14,16,19, 7,10,10,15,14,10,12,12,16,
- 15,10,11,11,16,15,14,16,16,19,18,13,15,14,17,17,
- 9,11,11,17,16,11,13,14,18,17,11,13,13,16,16,15,
- 16,17,19, 0,14,15,18,16,19, 9,11,11,16,15,11,13,
- 12,18,16,11,13,13,17,16,14,16,16,17,19,15,16,15,
- 18, 0,12,14,15,18,19,13,15,16,19,17,14,16,15,18,
- 0,17,16,19, 0,18,16,17,18, 0, 0,11,13,14,18,19,
- 13,15,13,19,19,14,15,15,17,17,15,17,15,19,17,16,
- 18,18,19, 0, 8,10,10,14,14,10,12,11,15,15,10,11,
- 12,15,17,13,15,15,17,16,14,15,15,18, 0, 9,11,11,
- 15,15,11,13,13,18,16,10,12,13,16,17,14,15,16,17,
- 18,14,15,17,19,19, 9,12,12,15,16,11,13,13,16,17,
- 11,14,13,19,16,14,16,15,18,19,15,16,18,19,18,12,
- 14,14,19,18,13,15,17,18,17,13,14,15,18, 0,16, 0,
- 0,18,18,16,15, 0,17,19,12,15,14,17, 0,13,15,16,
- 19,18,13,16,15, 0,19,16,18,16,19,18,17,19,16, 0,
- 19,
- };
- static float _vq_quantthresh__44u4__p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u4__p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u4__p3_0 = {
- _vq_quantthresh__44u4__p3_0,
- _vq_quantmap__44u4__p3_0,
- 5,
- 5
- };
- static static_codebook _44u4__p3_0 = {
- 4, 625,
- _vq_lengthlist__44u4__p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u4__p3_0,
- NULL,
- &_vq_auxt__44u4__p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u4__p4_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u4__p4_0[] = {
- 4, 5, 5, 8, 8, 6, 7, 6, 9, 9, 6, 6, 7, 9, 9, 9,
- 9, 9,11,11, 8, 9, 9,11,11, 6, 7, 7, 9, 9, 7, 8,
- 8,10,10, 6, 7, 8, 9,10, 9,10,10,11,12, 9, 9,10,
- 11,12, 6, 7, 7, 9, 9, 7, 8, 7,10, 9, 7, 8, 8,10,
- 10, 9,10, 9,12,11, 9,10,10,12,11, 9, 9, 9,12,11,
- 9,10,10,12,12, 9,10,10,12,12,11,12,12,13,14,11,
- 11,12,13,14, 9, 9, 9,11,12, 9,10,10,12,12, 9,10,
- 10,12,12,11,12,11,14,13,11,12,12,13,13, 5, 7, 7,
- 9, 9, 7, 8, 8,10,10, 7, 7, 8,10,10, 9,10,10,12,
- 12, 9,10,10,12,12, 7, 8, 8,10,10, 8, 8, 9,10,11,
- 8, 9, 9,11,11,10,10,11,11,13,10,10,11,12,13, 6,
- 7, 8,10,10, 7, 9, 8,11,10, 8, 8, 9,10,11,10,11,
- 10,13,11,10,11,11,13,12, 9,10,10,12,12,10,10,11,
- 12,13,10,11,11,13,13,12,11,13,12,15,12,13,13,14,
- 14, 9,10,10,12,12, 9,11,10,13,12,10,11,11,13,13,
- 11,13,11,14,12,12,13,13,14,15, 5, 7, 7, 9, 9, 7,
- 8, 7,10,10, 7, 8, 8,10,10, 9,10,10,12,12, 9,10,
- 10,12,12, 6, 8, 7,10,10, 8, 9, 8,11,10, 7, 8, 9,
- 10,11,10,11,11,12,13,10,10,11,11,13, 7, 8, 8,10,
- 10, 8, 9, 9,10,11, 8, 9, 8,11,10,10,11,11,13,12,
- 10,11,10,13,11, 9,10,10,13,12,10,11,11,13,13, 9,
- 10,10,12,13,12,13,13,15,14,11,11,13,12,14, 9,10,
- 10,12,12,10,11,11,13,13,10,11,10,13,12,12,13,13,
- 14,14,12,13,11,15,12, 8, 9, 9,12,12, 9,10,10,13,
- 12, 9,10,10,12,12,12,13,12,14,14,11,12,12,14,13,
- 9,10,10,12,12,10,10,11,13,13,10,11,11,13,12,12,
- 13,13,14,15,12,13,13,15,14, 9,10,10,12,12, 9,11,
- 10,13,12,10,10,11,12,13,12,13,12,15,14,12,13,13,
- 14,14,11,12,12,14,13,11,11,12,13,14,12,13,13,15,
- 14,13,12,14,12,16,14,15,14,16,16,11,12,12,14,14,
- 11,12,11,15,13,12,13,13,14,15,13,14,12,16,13,14,
- 14,15,16,16, 8, 9, 9,12,12, 9,10,10,12,12, 9,10,
- 10,12,13,11,12,12,14,13,12,12,13,14,14, 9,10,10,
- 12,12,10,11,11,13,12,10,10,11,12,13,12,13,13,14,
- 14,12,12,13,14,15, 9,10,10,12,13,10,11,11,12,13,
- 10,11,10,13,13,12,13,13,14,15,12,13,13,15,14,11,
- 12,12,14,14,12,13,13,15,14,11,11,12,14,15,14,14,
- 14,17,16,13,12,14,13,16,11,12,12,13,15,12,13,13,
- 14,15,11,12,11,14,14,14,15,14,15,17,13,14,12,16,
- 12,
- };
- static float _vq_quantthresh__44u4__p4_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u4__p4_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u4__p4_0 = {
- _vq_quantthresh__44u4__p4_0,
- _vq_quantmap__44u4__p4_0,
- 5,
- 5
- };
- static static_codebook _44u4__p4_0 = {
- 4, 625,
- _vq_lengthlist__44u4__p4_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u4__p4_0,
- NULL,
- &_vq_auxt__44u4__p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u4__p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u4__p5_0[] = {
- 2, 4, 4, 6, 6, 7, 7, 9, 9, 4, 5, 4, 7, 6, 8, 7,
- 10, 9, 4, 4, 5, 6, 7, 7, 8, 9, 9, 6, 7, 6, 8, 8,
- 8, 8,10,10, 6, 6, 7, 8, 8, 8, 9,10,10, 7, 8, 7,
- 9, 8,10,10,11,11, 7, 7, 8, 8, 9,10,10,11,11, 9,
- 10, 9,10,10,11,11,12,12, 9, 9,10,10,10,11,11,12,
- 12,
- };
- static float _vq_quantthresh__44u4__p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44u4__p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u4__p5_0 = {
- _vq_quantthresh__44u4__p5_0,
- _vq_quantmap__44u4__p5_0,
- 9,
- 9
- };
- static static_codebook _44u4__p5_0 = {
- 2, 81,
- _vq_lengthlist__44u4__p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44u4__p5_0,
- NULL,
- &_vq_auxt__44u4__p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u4__p6_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u4__p6_0[] = {
- 1, 4, 4, 6, 6, 8, 8, 9,10,10,11,13,13, 4, 6, 5,
- 8, 8, 9, 9,10,10,11,11,14,14, 4, 5, 6, 8, 8, 9,
- 9,10,10,11,11,14,14, 7, 8, 8, 9, 9,10,10,11,11,
- 12,12,15,15, 7, 8, 8, 9, 9,10,10,11,11,12,12,15,
- 15, 8, 9, 9,10,10,11,11,12,12,13,13,16,16, 8, 9,
- 9,10,10,11,11,12,12,13,13,16,16,10,10,10,11,11,
- 12,12,13,13,14,13,16,16,10,10,11,11,12,12,12,13,
- 13,13,14,16,17,11,12,11,12,12,13,13,13,14,14,14,
- 17,16,11,11,12,12,12,13,13,14,14,15,14,17,17,14,
- 14,14,15,15,16,16,17,17,17,19,19, 0,14,15,15,15,
- 15,16,16,16,17,17,19,20,20,
- };
- static float _vq_quantthresh__44u4__p6_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44u4__p6_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u4__p6_0 = {
- _vq_quantthresh__44u4__p6_0,
- _vq_quantmap__44u4__p6_0,
- 13,
- 13
- };
- static static_codebook _44u4__p6_0 = {
- 2, 169,
- _vq_lengthlist__44u4__p6_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44u4__p6_0,
- NULL,
- &_vq_auxt__44u4__p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u4__p6_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u4__p6_1[] = {
- 2, 4, 4, 5, 5, 4, 5, 5, 6, 5, 4, 5, 5, 5, 6, 5,
- 6, 5, 6, 6, 5, 5, 6, 6, 6,
- };
- static float _vq_quantthresh__44u4__p6_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u4__p6_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u4__p6_1 = {
- _vq_quantthresh__44u4__p6_1,
- _vq_quantmap__44u4__p6_1,
- 5,
- 5
- };
- static static_codebook _44u4__p6_1 = {
- 2, 25,
- _vq_lengthlist__44u4__p6_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u4__p6_1,
- NULL,
- &_vq_auxt__44u4__p6_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u4__p7_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u4__p7_0[] = {
- 1, 3, 3,11,11,11,11,11,11,11,11,11,11, 4,10, 9,
- 11,11,11,11,11,11,11,11,11,11, 4,10,10,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,
- };
- static float _vq_quantthresh__44u4__p7_0[] = {
- -1402.5, -1147.5, -892.5, -637.5, -382.5, -127.5, 127.5, 382.5,
- 637.5, 892.5, 1147.5, 1402.5,
- };
- static long _vq_quantmap__44u4__p7_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u4__p7_0 = {
- _vq_quantthresh__44u4__p7_0,
- _vq_quantmap__44u4__p7_0,
- 13,
- 13
- };
- static static_codebook _44u4__p7_0 = {
- 2, 169,
- _vq_lengthlist__44u4__p7_0,
- 1, -514332672, 1627381760, 4, 0,
- _vq_quantlist__44u4__p7_0,
- NULL,
- &_vq_auxt__44u4__p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u4__p7_1[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__44u4__p7_1[] = {
- 1, 4, 4, 6, 6, 7, 7, 9, 8,10,10,11,11,12,12, 4,
- 7, 6, 8, 7, 9, 9,10,10,11,10,12,11,12,12, 4, 6,
- 6, 7, 8, 9, 9,10,10,11,11,12,12,13,13, 6, 8, 8,
- 10, 9,11,10,11,11,12,12,14,13,13,13, 6, 8, 8, 9,
- 9,11,11,12,12,12,12,13,14,13,14, 8, 9, 9,11,10,
- 12,12,13,12,13,14,14,14,14,14, 8, 9, 9,10,11,12,
- 11,12,13,13,14,14,13,14,14, 9,10,10,12,12,14,13,
- 14,14,15,15,16,15,15,15, 9,10,10,11,12,13,13,13,
- 14,15,15,18,16,17,15,10,12,12,13,13,15,14,15,14,
- 16,16,16,15,16,15,10,11,11,13,13,14,14,17,16,15,
- 16,18,16,15,16,11,12,13,14,13,15,14,15,16,17,15,
- 16,16,15,16,11,12,13,14,15,14,16,15,15,16,15,15,
- 17,17,17,12,13,13,14,14,14,15,16,14,15,15,16,16,
- 16,16,12,13,13,13,14,15,15,15,14,16,16,16,16,16,
- 17,
- };
- static float _vq_quantthresh__44u4__p7_1[] = {
- -110.5, -93.5, -76.5, -59.5, -42.5, -25.5, -8.5, 8.5,
- 25.5, 42.5, 59.5, 76.5, 93.5, 110.5,
- };
- static long _vq_quantmap__44u4__p7_1[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__44u4__p7_1 = {
- _vq_quantthresh__44u4__p7_1,
- _vq_quantmap__44u4__p7_1,
- 15,
- 15
- };
- static static_codebook _44u4__p7_1 = {
- 2, 225,
- _vq_lengthlist__44u4__p7_1,
- 1, -522338304, 1620115456, 4, 0,
- _vq_quantlist__44u4__p7_1,
- NULL,
- &_vq_auxt__44u4__p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u4__p7_2[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44u4__p7_2[] = {
- 3, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 5, 6, 6, 7, 7, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9, 5, 6, 6, 7, 7, 8, 7, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 6, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9, 6, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9,10,10, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 9, 9,10,10, 8, 8, 8, 9, 9, 9, 9, 9, 9,
- 9, 9,10,10,10,10,10,10, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9, 9,10,10,10,10,10,10, 8, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9,10,10,10,10,10,10, 8, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9,10,10,10,10,10,10, 9, 9, 9, 9, 9,
- 9, 9,10, 9, 9,10,10,10,10,10,10,10, 9, 9, 9, 9,
- 9, 9,10, 9,10,10,10,10,10,10,10,10,10, 9, 9, 9,
- 9, 9,10,10,10,10,10,10,10,10,10,10,10,10, 9, 9,
- 9, 9, 9,10, 9,10,10,10,10,10,10,10,10,10,10, 9,
- 9, 9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 9, 9, 9,10, 9,10,10,10,10,10,10,10,10,10,10,10,
- 10,
- };
- static float _vq_quantthresh__44u4__p7_2[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44u4__p7_2[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44u4__p7_2 = {
- _vq_quantthresh__44u4__p7_2,
- _vq_quantmap__44u4__p7_2,
- 17,
- 17
- };
- static static_codebook _44u4__p7_2 = {
- 2, 289,
- _vq_lengthlist__44u4__p7_2,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44u4__p7_2,
- NULL,
- &_vq_auxt__44u4__p7_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u4__short[] = {
- 3, 9,14,12,17,13,13,13, 4, 7, 8, 9,12,10,11,12,
- 6, 5, 4, 7, 6, 7, 9,14, 8, 8, 7, 9, 8, 9,10,13,
- 9, 8, 5, 7, 3, 5, 8,15, 9, 9, 6, 8, 4, 5, 7,16,
- 11,10, 6, 9, 4, 3, 6,15,17,16, 8,11, 5, 5, 7,16,
- };
- static static_codebook _huff_book__44u4__short = {
- 2, 64,
- _huff_lengthlist__44u4__short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u5__long[] = {
- 3, 8,13,12,14,13,16,11,12,13, 5, 4, 5, 6, 8, 9,
- 10, 9,12,12,10, 5, 4, 6, 6, 8, 9,10,14,16,10, 6,
- 6, 6, 6, 7, 9, 8,12,13,13, 7, 5, 6, 4, 6, 6, 7,
- 11,16,10, 7, 7, 7, 6, 6, 7, 7,11,14,14, 9, 8, 8,
- 5, 6, 6, 7,11,16, 9, 8, 8, 8, 6, 6, 6, 4, 7,12,
- 11,10,12,11,10, 9,10, 5, 6,10,10,13,15,15,15,15,
- 14, 8, 7, 9,
- };
- static static_codebook _huff_book__44u5__long = {
- 2, 100,
- _huff_lengthlist__44u5__long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44u5__p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u5__p1_0[] = {
- 1, 4, 4, 5, 8, 7, 5, 7, 7, 5, 8, 8, 8,10,10, 7,
- 9,10, 5, 8, 8, 7,10, 9, 8,10,10, 4, 8, 8, 8,11,
- 10, 8,10,10, 8,11,11,10,12,13,10,13,13, 7,10,10,
- 9,13,11,10,13,13, 5, 8, 8, 8,10,10, 8,10,10, 7,
- 10,10,10,13,13,10,11,13, 8,10,11,10,13,13,10,13,
- 12,
- };
- static float _vq_quantthresh__44u5__p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u5__p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u5__p1_0 = {
- _vq_quantthresh__44u5__p1_0,
- _vq_quantmap__44u5__p1_0,
- 3,
- 3
- };
- static static_codebook _44u5__p1_0 = {
- 4, 81,
- _vq_lengthlist__44u5__p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u5__p1_0,
- NULL,
- &_vq_auxt__44u5__p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u5__p2_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u5__p2_0[] = {
- 3, 4, 4, 5, 6, 6, 5, 6, 6, 5, 6, 6, 6, 8, 8, 6,
- 7, 8, 5, 6, 6, 6, 8, 7, 6, 8, 8, 5, 6, 6, 6, 8,
- 7, 6, 8, 8, 6, 8, 8, 8, 9, 9, 8, 9, 9, 6, 7, 8,
- 7, 9, 8, 8, 9, 9, 5, 6, 6, 6, 8, 7, 6, 8, 8, 6,
- 8, 8, 8, 9, 9, 7, 8, 9, 6, 8, 8, 8, 9, 9, 8, 9,
- 9,
- };
- static float _vq_quantthresh__44u5__p2_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u5__p2_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u5__p2_0 = {
- _vq_quantthresh__44u5__p2_0,
- _vq_quantmap__44u5__p2_0,
- 3,
- 3
- };
- static static_codebook _44u5__p2_0 = {
- 4, 81,
- _vq_lengthlist__44u5__p2_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u5__p2_0,
- NULL,
- &_vq_auxt__44u5__p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u5__p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u5__p3_0[] = {
- 2, 4, 5, 8, 8, 5, 7, 6, 9, 9, 5, 6, 7, 9, 9, 8,
- 10, 9,12,12, 8, 9,10,12,13, 5, 7, 7,10, 9, 7, 9,
- 9,11,11, 7, 8, 9,10,11,10,11,11,13,14, 9,10,11,
- 13,13, 5, 7, 7, 9, 9, 7, 9, 8,11,10, 7, 9, 9,11,
- 11, 9,11,10,14,13,10,11,11,13,14, 8,10,10,13,13,
- 10,11,11,15,14, 9,11,11,14,14,13,15,14,18,16,12,
- 13,14,16,16, 8,10,10,13,13, 9,11,11,14,14,10,11,
- 12,14,15,12,13,13,16,16,13,14,14,15,17, 5, 7, 7,
- 10,10, 7, 9, 9,11,11, 7, 9, 9,11,11,10,11,11,15,
- 14,10,11,11,14,14, 7, 9, 9,12,11, 9,11,11,13,13,
- 9,11,11,13,13,12,12,13,15,15,11,12,13,16,15, 6,
- 9, 9,11,11, 8,11,10,13,12, 9,10,11,12,14,11,13,
- 11,16,14,11,13,13,15,16,10,11,11,15,15,11,12,13,
- 16,15,11,13,13,16,16,14,15,15,17,18,14,15,16,17,
- 18, 9,11,11,14,15,10,12,11,15,15,11,12,13,15,16,
- 13,15,13,17,15,14,15,16,18,19, 5, 7, 7,10,10, 7,
- 9, 9,11,11, 7, 9, 9,11,11,10,11,11,15,14,10,11,
- 11,14,15, 6, 9, 9,11,11, 9,11,10,13,13, 8,10,11,
- 12,13,11,13,13,15,15,11,11,13,13,15, 7, 9, 9,11,
- 12, 9,11,11,13,13, 9,11,11,13,13,11,13,12,17,16,
- 11,13,12,16,15, 9,11,11,15,14,11,13,13,16,16,10,
- 11,12,15,15,14,15,15,17,17,13,13,15,15,17,10,11,
- 12,15,15,11,13,13,16,19,11,13,12,17,17,14,16,15,
- 19,17,14,15,15,18,18, 8,10,10,14,14,10,12,11,16,
- 15, 9,11,11,15,16,14,16,15,17,17,13,14,14,18,17,
- 9,11,11,16,15,11,13,13,16,18,11,13,13,17,16,15,
- 16,17,18, 0,15,15,16, 0,18, 9,11,11,16,15,10,13,
- 12,17,15,11,13,13,16,17,14,18,15,19,18,15,16,16,
- 19,18,13,15,15,19,17,13,15,15,18,18,14,15,15,19,
- 0,17,18, 0,19,19,16,17,17, 0,18,12,14,13,18,17,
- 13,15,13,19,18,14,15,15,19,19,16,17,15, 0,17,16,
- 19,17,19,18, 8,10,10,14,14,10,11,11,15,15,10,11,
- 11,16,16,13,15,15,17,16,14,15,15,18,19, 9,11,11,
- 16,15,11,13,13,19,16,10,12,13,15,17,15,15,15,19,
- 19,15,16,16,17, 0, 9,11,11,16,16,11,13,13,16,17,
- 11,13,13,18,18,14,16,15,18,18,15,17,16,19, 0,12,
- 14,14,17,18,13,16,16,18,18,13,14,15,17, 0,16,17,
- 17, 0, 0,16,15, 0,19,17,12,15,14,17,18,14,15,16,
- 0,18,14,16,16,18, 0,16,17,17, 0, 0,17,19,17,19,
- 0,
- };
- static float _vq_quantthresh__44u5__p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u5__p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u5__p3_0 = {
- _vq_quantthresh__44u5__p3_0,
- _vq_quantmap__44u5__p3_0,
- 5,
- 5
- };
- static static_codebook _44u5__p3_0 = {
- 4, 625,
- _vq_lengthlist__44u5__p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u5__p3_0,
- NULL,
- &_vq_auxt__44u5__p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u5__p4_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u5__p4_0[] = {
- 4, 6, 6, 8, 8, 6, 7, 6, 9, 9, 6, 6, 7, 9, 9, 8,
- 9, 9,11,11, 8, 9, 9,11,11, 6, 7, 7, 9, 9, 7, 8,
- 8,10,10, 6, 7, 8, 9,10, 9,10,10,11,11, 9, 9,10,
- 11,12, 6, 7, 7, 9, 9, 6, 8, 7,10, 9, 7, 8, 8,10,
- 10, 9,10, 9,12,11, 9,10,10,12,11, 8, 9, 9,12,11,
- 9,10,10,12,12, 9,10,10,12,12,11,12,12,13,13,11,
- 11,12,12,13, 8, 9, 9,11,11, 9,10,10,12,12, 9,10,
- 10,12,12,11,12,11,13,13,11,12,12,14,13, 6, 7, 7,
- 9, 9, 7, 8, 7,10,10, 7, 7, 8, 9,10, 9,10,10,12,
- 11, 9,10,10,11,11, 7, 8, 8,10,10, 8, 8, 9,10,11,
- 8, 8, 8,11,10,10,10,11,11,12,10,10,11,12,12, 6,
- 7, 7,10,10, 7, 8, 8,11,10, 8, 8, 9,10,11,10,11,
- 10,13,11,10,10,11,12,12, 9,10,10,12,12,10,10,10,
- 12,13,10,11,11,13,13,12,11,12,11,14,12,12,13,13,
- 14, 9,10,10,12,12, 9,10,10,12,12,10,10,11,12,13,
- 11,12,11,14,12,12,12,12,14,14, 6, 7, 7, 9, 9, 7,
- 8, 7,10,10, 7, 7, 8,10,10, 9,10,10,11,11, 9,10,
- 10,12,12, 6, 7, 7,10,10, 8, 9, 8,11,10, 7, 8, 8,
- 10,11,10,10,11,12,12,10,10,11,11,13, 7, 8, 8,10,
- 10, 8, 8, 8,10,11, 8, 9, 8,11,10,10,11,10,12,12,
- 10,11,10,12,11, 9,10,10,12,12,10,11,11,13,12, 9,
- 10,10,12,12,12,12,12,14,14,11,11,12,12,14, 9,10,
- 10,12,12,10,11,11,12,12,10,10,10,12,12,12,13,12,
- 14,14,11,12,11,14,11, 8, 9, 9,11,11, 9,10,10,12,
- 12, 9,10,10,12,12,11,12,12,14,14,11,12,12,13,13,
- 9,10,10,12,12,10,10,11,12,13,10,11,10,13,12,12,
- 12,13,14,14,12,12,12,14,13, 9,10,10,12,12, 9,10,
- 10,13,12,10,10,11,12,13,12,13,12,14,13,12,12,13,
- 13,14,11,12,11,14,13,11,11,12,13,14,12,13,12,14,
- 14,13,12,14,11,16,13,14,14,16,15,11,11,11,13,13,
- 11,12,11,14,13,12,12,13,14,15,12,14,12,16,12,14,
- 14,14,16,16, 8, 9, 9,11,11, 9,10,10,12,12, 9,10,
- 10,12,12,11,12,12,13,13,12,12,12,14,14, 9,10,10,
- 12,12,10,11,10,13,12, 9,10,10,12,13,12,12,12,14,
- 13,12,12,13,13,15, 9,10,10,12,12,10,10,11,12,13,
- 10,11,10,13,12,12,13,12,14,14,12,13,12,14,13,11,
- 11,11,13,13,12,13,12,14,14,11,11,12,13,14,13,14,
- 14,16,15,13,12,14,12,15,11,12,12,13,14,12,12,13,
- 14,14,11,12,11,14,13,13,14,14,15,16,13,14,11,16,
- 11,
- };
- static float _vq_quantthresh__44u5__p4_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u5__p4_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u5__p4_0 = {
- _vq_quantthresh__44u5__p4_0,
- _vq_quantmap__44u5__p4_0,
- 5,
- 5
- };
- static static_codebook _44u5__p4_0 = {
- 4, 625,
- _vq_lengthlist__44u5__p4_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u5__p4_0,
- NULL,
- &_vq_auxt__44u5__p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u5__p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u5__p5_0[] = {
- 2, 4, 3, 6, 6, 8, 7,10,10, 3, 5, 5, 8, 7, 8, 8,
- 11,11, 3, 5, 5, 7, 8, 8, 8,10,11, 6, 8, 7, 9, 9,
- 10, 9,12,11, 7, 7, 8, 9, 9, 9,10,11,12, 8, 8, 8,
- 10, 9,11,11,13,12, 8, 8, 8, 9,10,11,12,12,13,10,
- 11,10,12,11,13,12,14,14,10,10,11,11,12,12,13,14,
- 14,
- };
- static float _vq_quantthresh__44u5__p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44u5__p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u5__p5_0 = {
- _vq_quantthresh__44u5__p5_0,
- _vq_quantmap__44u5__p5_0,
- 9,
- 9
- };
- static static_codebook _44u5__p5_0 = {
- 2, 81,
- _vq_lengthlist__44u5__p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44u5__p5_0,
- NULL,
- &_vq_auxt__44u5__p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u5__p6_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u5__p6_0[] = {
- 3, 4, 4, 5, 6, 7, 7, 9, 9, 4, 5, 4, 6, 6, 7, 7,
- 9, 9, 4, 4, 4, 6, 6, 7, 7, 9, 9, 6, 6, 6, 7, 7,
- 8, 8,10,10, 6, 6, 6, 7, 7, 8, 8,10,10, 7, 7, 7,
- 8, 8, 9, 9,10,10, 7, 7, 7, 8, 8, 9, 9,10,11, 9,
- 9, 9,10,10,11,10,11,11, 9, 9, 9,10,10,11,11,11,
- 11,
- };
- static float _vq_quantthresh__44u5__p6_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44u5__p6_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u5__p6_0 = {
- _vq_quantthresh__44u5__p6_0,
- _vq_quantmap__44u5__p6_0,
- 9,
- 9
- };
- static static_codebook _44u5__p6_0 = {
- 2, 81,
- _vq_lengthlist__44u5__p6_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44u5__p6_0,
- NULL,
- &_vq_auxt__44u5__p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u5__p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u5__p7_0[] = {
- 1, 4, 4, 5, 7, 7, 5, 7, 7, 5, 9, 8, 8,11,10, 7,
- 10,10, 5, 9, 9, 8,10,10, 8,10,11, 4, 9, 9, 9,11,
- 11, 9,12,11, 8,11,11,11,12,12,10,12,12, 7,11,11,
- 10,12,12,10,12,12, 4, 9, 9, 9,11,11, 9,11,11, 7,
- 11,11,10,12,12,10,11,12, 8,11,11,10,12,12,11,12,
- 12,
- };
- static float _vq_quantthresh__44u5__p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44u5__p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u5__p7_0 = {
- _vq_quantthresh__44u5__p7_0,
- _vq_quantmap__44u5__p7_0,
- 3,
- 3
- };
- static static_codebook _44u5__p7_0 = {
- 4, 81,
- _vq_lengthlist__44u5__p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44u5__p7_0,
- NULL,
- &_vq_auxt__44u5__p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u5__p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44u5__p7_1[] = {
- 2, 4, 4, 6, 6, 7, 7, 8, 8, 8, 8, 4, 5, 5, 7, 7,
- 8, 8, 9, 8, 9, 8, 4, 5, 5, 7, 7, 8, 8, 8, 9, 9,
- 9, 6, 7, 7, 8, 8, 9, 8, 9, 9, 9, 9, 6, 7, 7, 8,
- 8, 8, 9, 9, 9, 9, 9, 8, 8, 8, 9, 8, 9, 9, 9, 9,
- 9, 9, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 8, 9, 8,
- 9, 9, 9, 9,10,10,10,10, 8, 9, 9, 9, 9, 9, 9,10,
- 10,10,10, 8, 9, 9, 9, 9, 9, 9,10,10,10,10, 8, 9,
- 9, 9, 9, 9, 9,10,10,10,10,
- };
- static float _vq_quantthresh__44u5__p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44u5__p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44u5__p7_1 = {
- _vq_quantthresh__44u5__p7_1,
- _vq_quantmap__44u5__p7_1,
- 11,
- 11
- };
- static static_codebook _44u5__p7_1 = {
- 2, 121,
- _vq_lengthlist__44u5__p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44u5__p7_1,
- NULL,
- &_vq_auxt__44u5__p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u5__p8_0[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44u5__p8_0[] = {
- 1, 4, 4, 6, 6, 8, 8, 9, 9,10,10, 4, 6, 6, 7, 7,
- 9, 9,10,10,11,11, 4, 6, 6, 7, 7, 9, 9,10,10,11,
- 11, 6, 8, 8, 9, 9,10,10,12,11,13,12, 6, 7, 8, 9,
- 9,10,10,11,11,12,12, 8, 9, 9,10,10,11,12,12,12,
- 14,13, 8, 9, 9,10,10,11,11,12,13,14,13,10,11,10,
- 12,12,13,13,14,13,15,14,10,11,11,12,12,12,13,13,
- 13,15,15,11,12,12,13,12,13,14,14,14,15,14,11,11,
- 12,13,13,13,14,14,14,15,15,
- };
- static float _vq_quantthresh__44u5__p8_0[] = {
- -49.5, -38.5, -27.5, -16.5, -5.5, 5.5, 16.5, 27.5,
- 38.5, 49.5,
- };
- static long _vq_quantmap__44u5__p8_0[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44u5__p8_0 = {
- _vq_quantthresh__44u5__p8_0,
- _vq_quantmap__44u5__p8_0,
- 11,
- 11
- };
- static static_codebook _44u5__p8_0 = {
- 2, 121,
- _vq_lengthlist__44u5__p8_0,
- 1, -524582912, 1618345984, 4, 0,
- _vq_quantlist__44u5__p8_0,
- NULL,
- &_vq_auxt__44u5__p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u5__p8_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44u5__p8_1[] = {
- 3, 5, 5, 6, 6, 7, 7, 7, 7, 8, 8, 5, 6, 5, 6, 6,
- 7, 7, 8, 8, 8, 8, 5, 6, 6, 6, 6, 7, 7, 8, 8, 8,
- 8, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 6, 6, 7, 7,
- 7, 7, 7, 8, 8, 8, 8, 7, 7, 7, 7, 7, 8, 8, 8, 8,
- 8, 8, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 7, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 7, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44u5__p8_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44u5__p8_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44u5__p8_1 = {
- _vq_quantthresh__44u5__p8_1,
- _vq_quantmap__44u5__p8_1,
- 11,
- 11
- };
- static static_codebook _44u5__p8_1 = {
- 2, 121,
- _vq_lengthlist__44u5__p8_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44u5__p8_1,
- NULL,
- &_vq_auxt__44u5__p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u5__p9_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u5__p9_0[] = {
- 1, 3, 3,12,10,12,12,12,12,12,12,12,12, 3, 8, 9,
- 12,12,12,12,12,12,12,12,12,12, 4, 9, 9,12,12,12,
- 12,12,12,12,12,12,12,11,12,12,12,12,12,12,12,12,
- 12,12,12,12, 9,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,
- };
- static float _vq_quantthresh__44u5__p9_0[] = {
- -1402.5, -1147.5, -892.5, -637.5, -382.5, -127.5, 127.5, 382.5,
- 637.5, 892.5, 1147.5, 1402.5,
- };
- static long _vq_quantmap__44u5__p9_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u5__p9_0 = {
- _vq_quantthresh__44u5__p9_0,
- _vq_quantmap__44u5__p9_0,
- 13,
- 13
- };
- static static_codebook _44u5__p9_0 = {
- 2, 169,
- _vq_lengthlist__44u5__p9_0,
- 1, -514332672, 1627381760, 4, 0,
- _vq_quantlist__44u5__p9_0,
- NULL,
- &_vq_auxt__44u5__p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u5__p9_1[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__44u5__p9_1[] = {
- 1, 4, 4, 7, 7, 8, 9, 7, 7, 8, 8, 9, 9,10,10, 5,
- 6, 6, 9, 8,10,10, 9, 8, 9, 9,10, 9,11,10, 4, 6,
- 6, 8, 9, 9,10, 8, 9, 9,10,10,10,11,10, 7, 8, 8,
- 10,10,11,11,10,10,11,11,11,11,11,11, 7, 8, 8,10,
- 10,11,11,10,10,11,11,11,11,11,12, 8, 9,10,11,10,
- 12,12,11,11,11,11,12,12,12,13, 8, 9, 9,11,11,11,
- 12,11,11,11,11,12,12,12,12, 8, 9, 9,10,10,11,11,
- 12,11,12,12,12,13,13,13, 8, 9, 9,10,10,11,11,12,
- 11,12,12,13,13,12,13, 9,10,10,11,11,12,11,12,13,
- 14,14,15,15,15,14, 9,10,10,11,11,12,12,12,12,13,
- 13,14,14,14,14, 9,10,11,12,11,12,13,14,13,14,13,
- 14,14,14,14, 9,11,11,11,11,12,13,13,13,14,13,15,
- 15,14,14,10,11,11,12,12,13,13,13,13,14,14,14,15,
- 15,15,10,11,11,12,12,12,13,13,13,15,14,15,14,14,
- 14,
- };
- static float _vq_quantthresh__44u5__p9_1[] = {
- -110.5, -93.5, -76.5, -59.5, -42.5, -25.5, -8.5, 8.5,
- 25.5, 42.5, 59.5, 76.5, 93.5, 110.5,
- };
- static long _vq_quantmap__44u5__p9_1[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__44u5__p9_1 = {
- _vq_quantthresh__44u5__p9_1,
- _vq_quantmap__44u5__p9_1,
- 15,
- 15
- };
- static static_codebook _44u5__p9_1 = {
- 2, 225,
- _vq_lengthlist__44u5__p9_1,
- 1, -522338304, 1620115456, 4, 0,
- _vq_quantlist__44u5__p9_1,
- NULL,
- &_vq_auxt__44u5__p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u5__p9_2[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44u5__p9_2[] = {
- 3, 5, 5, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 5, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9,
- 9, 9, 5, 6, 6, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 7, 7, 7, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 7, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 7, 8, 8, 8, 8, 9, 8, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 8, 8, 8, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9,10, 9, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9,10, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9,10, 9, 9,10, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9,10, 9,10, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9,10, 9, 9, 9, 9, 9,10, 9, 9, 9,
- 9, 9, 9, 9, 9, 9,10,10,10,10, 9,10,10,10,10, 9,
- 9, 9, 9, 9, 9, 9, 9, 9,10,10,10, 9, 9, 9, 9,10,
- 9, 9, 9, 9, 9, 9, 9,10, 9,10, 9, 9, 9,10,10, 9,
- 9,
- };
- static float _vq_quantthresh__44u5__p9_2[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44u5__p9_2[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44u5__p9_2 = {
- _vq_quantthresh__44u5__p9_2,
- _vq_quantmap__44u5__p9_2,
- 17,
- 17
- };
- static static_codebook _44u5__p9_2 = {
- 2, 289,
- _vq_lengthlist__44u5__p9_2,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44u5__p9_2,
- NULL,
- &_vq_auxt__44u5__p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u5__short[] = {
- 4,11,16,14,18,15,18,15,17,17, 4, 6, 9, 9,12, 9,
- 14,10,14,17, 6, 6, 5, 7, 6, 8,10,10,16,17, 7, 8,
- 7, 9, 9,10,12,12,14,17, 8, 6, 5, 7, 4, 7, 5, 7,
- 14,17, 9, 9, 8, 9, 7,10, 8,10,14,17,11, 9, 7, 9,
- 4, 7, 3, 6,15,17,11,10,10,10, 6, 9, 5, 6,14,17,
- 17,17,10,15, 4, 8, 3, 5,12,17,17,17,12,16, 7,11,
- 6, 8,16,17,
- };
- static static_codebook _huff_book__44u5__short = {
- 2, 100,
- _huff_lengthlist__44u5__short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u6__long[] = {
- 3, 9,14,13,15,13,16,12,12,12, 5, 4, 6, 7, 8, 9,
- 10,10,13,12,10, 5, 5, 6, 6, 9, 9,10,14,14,10, 6,
- 6, 7, 6, 8, 9, 9,13,12,13, 7, 5, 6, 4, 6, 6, 7,
- 11,15,10, 8, 7, 7, 6, 7, 7, 7,11,13,16,10, 8, 8,
- 5, 6, 4, 6,10,14, 9, 9, 9, 8, 6, 6, 5, 4, 7,11,
- 11,11,12,11,10, 9, 9, 5, 5, 9,10,13,14,14,14,14,
- 15, 8, 7, 8,
- };
- static static_codebook _huff_book__44u6__long = {
- 2, 100,
- _huff_lengthlist__44u6__long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44u6__p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u6__p1_0[] = {
- 1, 4, 4, 4, 8, 7, 5, 7, 7, 5, 8, 8, 8,10,10, 7,
- 9,10, 5, 8, 8, 7,10, 9, 8,10,10, 5, 8, 8, 8,11,
- 10, 8,10,10, 8,11,10,10,12,13,10,13,13, 7,10,10,
- 10,13,11,10,13,13, 5, 8, 8, 8,11,10, 8,10,10, 7,
- 10,10,10,13,13, 9,11,13, 8,10,11,10,13,13,10,13,
- 12,
- };
- static float _vq_quantthresh__44u6__p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u6__p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u6__p1_0 = {
- _vq_quantthresh__44u6__p1_0,
- _vq_quantmap__44u6__p1_0,
- 3,
- 3
- };
- static static_codebook _44u6__p1_0 = {
- 4, 81,
- _vq_lengthlist__44u6__p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u6__p1_0,
- NULL,
- &_vq_auxt__44u6__p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u6__p2_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u6__p2_0[] = {
- 3, 5, 4, 5, 6, 6, 5, 6, 6, 5, 6, 6, 6, 7, 8, 6,
- 7, 8, 5, 6, 6, 6, 8, 7, 6, 8, 7, 5, 6, 6, 6, 8,
- 7, 6, 7, 8, 6, 8, 8, 8, 8, 9, 8, 9, 9, 6, 7, 7,
- 7, 9, 8, 8, 9, 9, 5, 6, 6, 6, 8, 7, 6, 7, 8, 6,
- 7, 7, 8, 9, 9, 7, 8, 9, 6, 8, 8, 8, 9, 9, 8, 9,
- 8,
- };
- static float _vq_quantthresh__44u6__p2_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u6__p2_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u6__p2_0 = {
- _vq_quantthresh__44u6__p2_0,
- _vq_quantmap__44u6__p2_0,
- 3,
- 3
- };
- static static_codebook _44u6__p2_0 = {
- 4, 81,
- _vq_lengthlist__44u6__p2_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u6__p2_0,
- NULL,
- &_vq_auxt__44u6__p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u6__p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u6__p3_0[] = {
- 2, 4, 5, 8, 8, 5, 7, 6, 9, 9, 5, 6, 7, 9, 9, 8,
- 10, 9,13,12, 8, 9,10,12,13, 5, 7, 7,10, 9, 7, 9,
- 9,11,11, 7, 8, 9,10,11,10,11,11,13,14, 9,10,11,
- 13,13, 5, 7, 7, 9, 9, 7, 9, 8,11,10, 7, 9, 9,11,
- 11, 9,11,10,14,13,10,11,11,14,13, 8,10,10,14,13,
- 10,12,11,15,14, 9,11,11,15,14,13,15,14,20,16,13,
- 13,14,16,16, 8,10,10,13,14, 9,11,11,14,15,10,11,
- 12,14,15,13,13,14,16,16,13,14,14,16,17, 5, 7, 7,
- 10,10, 7, 9, 9,11,11, 7, 9, 9,11,11,10,11,11,15,
- 14,10,11,11,14,14, 7, 9, 9,12,11, 9,11,11,12,13,
- 9,11,11,13,13,11,12,13,14,16,11,12,13,16,16, 6,
- 9, 8,11,11, 8,11,10,13,12, 9,10,11,12,13,11,13,
- 11,15,14,11,13,13,15,15,10,12,11,15,14,11,12,13,
- 17,16,11,13,13,16,17,14,15,16,17,17,14,15,16,20,
- 0, 9,11,11,14,15,10,13,12,16,16,11,13,13,17,17,
- 13,15,14,17,15,15,16,16, 0, 0, 5, 7, 7,10,10, 7,
- 9, 9,11,11, 7, 8, 9,11,11,10,11,11,14,14,10,11,
- 11,14,14, 6, 9, 9,11,11, 9,11,11,14,12, 8,10,11,
- 12,13,11,13,13,16,16,11,11,13,14,16, 7, 9, 9,11,
- 12, 9,11,11,13,13, 9,11,11,13,12,11,13,12,16,16,
- 12,13,12,16,14, 9,11,11,16,15,11,13,13,17,15,10,
- 12,12,15,16,14,16,16, 0,17,13,14,15,15,17,10,11,
- 12,15,15,11,13,13,17,17,11,13,13,15,16,14,15,15,
- 19,18,14,15,15,19,16, 8,10,10,14,14,10,12,11,15,
- 16,10,11,11,15,17,13,16,15,19,19,13,15,14,17,17,
- 9,11,12,15,16,11,13,13,18,19,11,13,13,16,17,16,
- 16,17, 0, 0,15,15,16, 0,19, 9,11,11,15,16,10,13,
- 12,17,15,11,13,13,16,17,14,17,15,18,17,15,16,15,
- 18, 0,13,14,15, 0,19,14,16,16, 0,17,15,16,16, 0,
- 17,16,17, 0, 0, 0,16,17,19, 0, 0,12,14,14,17,17,
- 13,15,13, 0,19,14,16,16,18,19,16,18,15,19,18,17,
- 18,17,19, 0, 8,10,10,14,13,10,11,11,16,15,10,11,
- 11,15,15,13,15,15,19,18,14,15,16, 0,18, 9,11,11,
- 15,14,11,13,13, 0,16,10,12,13,15,17,14,16,16, 0,
- 18,15,16,17,17, 0, 9,11,11,16,15,11,13,13,16,16,
- 11,14,13,18,18,15,17,15,18,17,15,16,18, 0, 0,12,
- 14,14,18,19,14,15,16, 0,18,13,14,15,18, 0,17,17,
- 17, 0, 0,16,15,18,17, 0,12,14,15,17,19,14,16,16,
- 19, 0,14,17,16, 0,18,17,19,17, 0, 0,16,18,17, 0,
- 17,
- };
- static float _vq_quantthresh__44u6__p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u6__p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u6__p3_0 = {
- _vq_quantthresh__44u6__p3_0,
- _vq_quantmap__44u6__p3_0,
- 5,
- 5
- };
- static static_codebook _44u6__p3_0 = {
- 4, 625,
- _vq_lengthlist__44u6__p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u6__p3_0,
- NULL,
- &_vq_auxt__44u6__p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u6__p4_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u6__p4_0[] = {
- 4, 6, 6, 8, 8, 6, 7, 6, 9, 9, 6, 6, 7, 9, 9, 8,
- 9, 9,11,11, 8, 9, 9,11,11, 6, 7, 7, 9, 9, 7, 8,
- 8,10,10, 6, 7, 8, 9,10, 9,10,10,11,12, 9, 9,10,
- 11,12, 6, 7, 7, 9, 9, 7, 8, 7,10, 9, 7, 8, 8,10,
- 10, 9,10, 9,12,11, 9,10,10,12,11, 8, 9, 9,11,11,
- 9,10,10,12,12, 9, 9,10,12,12,11,12,12,13,13,11,
- 11,12,12,13, 8, 9, 9,11,11, 9,10,10,12,12, 9,10,
- 10,12,12,11,12,11,13,13,11,12,12,13,13, 6, 7, 7,
- 9, 9, 7, 8, 7,10, 9, 7, 7, 8, 9,10, 9,10,10,12,
- 11, 9,10,10,11,12, 7, 8, 8,10,10, 8, 8, 9,10,10,
- 8, 8, 8,10,10,10,10,11,12,12,10,10,11,12,12, 6,
- 7, 7,10,10, 7, 8, 8,11,10, 8, 8, 9,10,11,10,11,
- 10,12,11,10,10,11,12,12, 9,10,10,12,12,10,10,11,
- 12,12,10,11,10,13,12,12,12,12,12,14,12,12,12,13,
- 14, 9,10,10,12,12, 9,10,10,12,12,10,10,11,12,13,
- 11,12,11,14,12,12,12,13,14,14, 6, 7, 7, 9, 9, 7,
- 8, 7,10, 9, 7, 7, 8,10,10, 9,10,10,12,11, 9,10,
- 10,11,12, 6, 7, 7,10,10, 8, 9, 8,11,10, 7, 8, 8,
- 10,10,10,10,11,12,12,10,10,10,11,12, 7, 8, 8,10,
- 10, 8, 8, 8,10,10, 8, 8, 8,10,10,10,11,10,12,12,
- 10,11,10,12,11, 9,10,10,12,12,10,11,10,13,12, 9,
- 10,10,12,12,12,12,12,14,14,11,11,12,12,13, 9,10,
- 10,12,12,10,11,11,12,12,10,11,10,12,12,12,12,12,
- 14,14,12,12,12,14,12, 8, 9, 9,11,11, 9,10,10,12,
- 12, 9,10,10,12,12,11,12,12,13,13,11,12,12,13,13,
- 9,10,10,12,12,10,10,11,12,13,10,11,10,12,12,12,
- 12,13,13,14,12,12,12,14,14, 9,10,10,12,12, 9,10,
- 10,12,12,10,10,10,12,12,12,12,12,14,13,12,12,12,
- 14,14,11,12,12,13,13,11,12,12,14,14,12,12,12,14,
- 14,13,12,14,12,15,13,14,14,15,15,11,11,11,13,13,
- 11,12,11,14,13,12,12,12,14,14,12,14,12,15,12,13,
- 14,14,15,16, 8, 9, 9,11,11, 9,10,10,12,12, 9,10,
- 10,12,12,11,12,12,13,13,11,12,12,13,14, 9,10,10,
- 12,12,10,11,10,13,12, 9,10,10,12,13,12,12,12,15,
- 14,12,12,13,13,14, 9,10,10,12,12,10,10,11,12,12,
- 10,11,10,12,12,12,13,12,14,14,12,13,12,14,13,11,
- 11,11,13,13,12,12,12,14,13,11,11,12,13,14,13,14,
- 14,15,15,12,12,14,12,15,11,12,12,13,14,12,12,12,
- 14,14,11,12,12,14,14,13,14,14,15,15,13,14,12,16,
- 12,
- };
- static float _vq_quantthresh__44u6__p4_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u6__p4_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u6__p4_0 = {
- _vq_quantthresh__44u6__p4_0,
- _vq_quantmap__44u6__p4_0,
- 5,
- 5
- };
- static static_codebook _44u6__p4_0 = {
- 4, 625,
- _vq_lengthlist__44u6__p4_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u6__p4_0,
- NULL,
- &_vq_auxt__44u6__p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u6__p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u6__p5_0[] = {
- 2, 3, 3, 6, 6, 8, 8,10,10, 4, 5, 5, 8, 7, 8, 8,
- 11,11, 3, 5, 5, 7, 8, 8, 8,11,11, 6, 8, 7,10, 9,
- 10, 9,12,12, 6, 7, 8, 9,10, 9,10,12,12, 8, 8, 8,
- 10, 9,12,11,13,13, 8, 8, 8, 9,10,11,12,12,13,10,
- 11,11,12,11,13,12,14,14,10,10,11,11,12,13,13,14,
- 14,
- };
- static float _vq_quantthresh__44u6__p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44u6__p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u6__p5_0 = {
- _vq_quantthresh__44u6__p5_0,
- _vq_quantmap__44u6__p5_0,
- 9,
- 9
- };
- static static_codebook _44u6__p5_0 = {
- 2, 81,
- _vq_lengthlist__44u6__p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44u6__p5_0,
- NULL,
- &_vq_auxt__44u6__p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u6__p6_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u6__p6_0[] = {
- 3, 4, 4, 5, 5, 7, 7, 9, 9, 4, 5, 4, 6, 6, 7, 7,
- 9, 9, 4, 4, 5, 6, 6, 7, 7, 9, 9, 5, 6, 6, 7, 7,
- 8, 8,10,10, 6, 6, 6, 7, 7, 8, 8,10,10, 7, 7, 7,
- 8, 8, 9, 9,10,10, 7, 7, 7, 8, 8, 9, 9,10,11, 9,
- 9, 9,10,10,11,11,11,11, 9, 9, 9,10,10,10,11,11,
- 11,
- };
- static float _vq_quantthresh__44u6__p6_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44u6__p6_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u6__p6_0 = {
- _vq_quantthresh__44u6__p6_0,
- _vq_quantmap__44u6__p6_0,
- 9,
- 9
- };
- static static_codebook _44u6__p6_0 = {
- 2, 81,
- _vq_lengthlist__44u6__p6_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44u6__p6_0,
- NULL,
- &_vq_auxt__44u6__p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u6__p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u6__p7_0[] = {
- 1, 4, 4, 5, 7, 7, 5, 7, 7, 5, 9, 8, 8,11,10, 8,
- 11,10, 5, 8, 9, 7,10,10, 8,10,11, 4, 9, 9, 9,12,
- 11, 9,11,12, 8,11,12,11,12,13,10,13,12, 7,12,11,
- 10,12,12,10,13,13, 4, 9, 9, 8,11,11, 9,11,12, 7,
- 12,12,10,13,13,10,12,13, 8,12,12,10,13,13,11,13,
- 12,
- };
- static float _vq_quantthresh__44u6__p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44u6__p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u6__p7_0 = {
- _vq_quantthresh__44u6__p7_0,
- _vq_quantmap__44u6__p7_0,
- 3,
- 3
- };
- static static_codebook _44u6__p7_0 = {
- 4, 81,
- _vq_lengthlist__44u6__p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44u6__p7_0,
- NULL,
- &_vq_auxt__44u6__p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u6__p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44u6__p7_1[] = {
- 3, 4, 4, 6, 6, 7, 7, 8, 8, 8, 8, 4, 5, 5, 6, 6,
- 8, 7, 8, 8, 8, 8, 4, 5, 5, 6, 6, 7, 8, 8, 8, 8,
- 8, 6, 7, 6, 7, 7, 8, 8, 9, 9, 9, 9, 6, 6, 7, 7,
- 7, 8, 8, 9, 9, 9, 9, 7, 8, 7, 8, 8, 9, 9, 9, 9,
- 9, 9, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 8, 8, 8,
- 9, 9, 9, 9, 9, 9, 9, 9, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9, 9, 8, 8, 8, 9, 9, 9, 9, 9, 9,10,10, 8, 8,
- 8, 9, 9, 9, 9, 9, 9,10,10,
- };
- static float _vq_quantthresh__44u6__p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44u6__p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44u6__p7_1 = {
- _vq_quantthresh__44u6__p7_1,
- _vq_quantmap__44u6__p7_1,
- 11,
- 11
- };
- static static_codebook _44u6__p7_1 = {
- 2, 121,
- _vq_lengthlist__44u6__p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44u6__p7_1,
- NULL,
- &_vq_auxt__44u6__p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u6__p8_0[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44u6__p8_0[] = {
- 1, 4, 4, 6, 6, 8, 8, 9, 9,10,10, 4, 6, 6, 7, 7,
- 9, 9,10,10,11,11, 4, 6, 6, 7, 7, 9, 9,10,10,11,
- 11, 6, 8, 8, 9, 9,10,10,11,11,12,12, 6, 8, 8, 9,
- 9,10,10,11,11,12,12, 8, 9, 9,10,10,11,11,12,12,
- 13,13, 8, 9, 9,10,10,11,11,12,12,13,13,10,10,10,
- 11,11,12,12,13,13,14,14,10,10,10,11,11,12,13,13,
- 13,14,14,11,12,12,13,13,13,13,14,14,15,14,11,11,
- 11,13,13,14,13,14,14,15,14,
- };
- static float _vq_quantthresh__44u6__p8_0[] = {
- -49.5, -38.5, -27.5, -16.5, -5.5, 5.5, 16.5, 27.5,
- 38.5, 49.5,
- };
- static long _vq_quantmap__44u6__p8_0[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44u6__p8_0 = {
- _vq_quantthresh__44u6__p8_0,
- _vq_quantmap__44u6__p8_0,
- 11,
- 11
- };
- static static_codebook _44u6__p8_0 = {
- 2, 121,
- _vq_lengthlist__44u6__p8_0,
- 1, -524582912, 1618345984, 4, 0,
- _vq_quantlist__44u6__p8_0,
- NULL,
- &_vq_auxt__44u6__p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u6__p8_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44u6__p8_1[] = {
- 3, 5, 5, 6, 6, 7, 7, 7, 7, 8, 8, 5, 6, 6, 7, 6,
- 7, 7, 7, 7, 8, 8, 5, 6, 6, 6, 7, 7, 7, 7, 7, 8,
- 8, 6, 7, 6, 7, 7, 7, 7, 8, 8, 8, 8, 6, 6, 7, 7,
- 7, 7, 7, 8, 8, 8, 8, 7, 7, 7, 7, 7, 8, 8, 8, 8,
- 8, 8, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 7, 7, 7,
- 8, 8, 8, 8, 8, 8, 8, 8, 7, 7, 7, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44u6__p8_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44u6__p8_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44u6__p8_1 = {
- _vq_quantthresh__44u6__p8_1,
- _vq_quantmap__44u6__p8_1,
- 11,
- 11
- };
- static static_codebook _44u6__p8_1 = {
- 2, 121,
- _vq_lengthlist__44u6__p8_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44u6__p8_1,
- NULL,
- &_vq_auxt__44u6__p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u6__p9_0[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__44u6__p9_0[] = {
- 1, 3, 3,10,12,13,13,13,13,13,13,13,13,13,13, 3,
- 9, 9,13,13,13,13,13,13,13,13,13,13,12,12, 4, 9,
- 9,12,12,12,12,12,12,12,12,12,12,12,12, 9,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12, 9,11,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,
- 12,
- };
- static float _vq_quantthresh__44u6__p9_0[] = {
- -1657.5, -1402.5, -1147.5, -892.5, -637.5, -382.5, -127.5, 127.5,
- 382.5, 637.5, 892.5, 1147.5, 1402.5, 1657.5,
- };
- static long _vq_quantmap__44u6__p9_0[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__44u6__p9_0 = {
- _vq_quantthresh__44u6__p9_0,
- _vq_quantmap__44u6__p9_0,
- 15,
- 15
- };
- static static_codebook _44u6__p9_0 = {
- 2, 225,
- _vq_lengthlist__44u6__p9_0,
- 1, -514071552, 1627381760, 4, 0,
- _vq_quantlist__44u6__p9_0,
- NULL,
- &_vq_auxt__44u6__p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u6__p9_1[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__44u6__p9_1[] = {
- 1, 4, 4, 7, 7, 8, 8, 7, 7, 8, 8, 9, 9, 9, 9, 5,
- 6, 6, 8, 8,10,10, 9, 9,10, 9,10, 9,10,10, 4, 6,
- 6, 8, 9,10,10, 8, 9, 9,10,10,10,10,10, 7, 9, 8,
- 10,10,11,11,10,10,11,11,11,11,12,12, 7, 8, 8,10,
- 10,11,11,10,10,10,11,11,11,11,12, 8,10,10,11,11,
- 12,12,11,11,11,11,12,12,12,13, 8, 9, 9,11,11,12,
- 12,11,11,12,12,12,12,12,12, 8, 9, 9,10,10,11,11,
- 13,12,13,12,13,13,13,13, 8, 9, 9,10,10,11,11,12,
- 12,12,12,13,12,13,12, 9,10,10,11,11,12,12,13,13,
- 14,12,13,13,14,13, 9,10,10,11,11,12,12,12,12,13,
- 13,13,13,14,14, 9,11,10,11,11,12,13,13,12,13,13,
- 15,13,14,14, 9,10,10,11,12,12,13,13,13,13,13,14,
- 14,14,14,10,11,11,12,12,13,12,13,13,14,14,14,14,
- 14,15,10,11,11,11,12,13,13,13,13,14,14,14,14,14,
- 14,
- };
- static float _vq_quantthresh__44u6__p9_1[] = {
- -110.5, -93.5, -76.5, -59.5, -42.5, -25.5, -8.5, 8.5,
- 25.5, 42.5, 59.5, 76.5, 93.5, 110.5,
- };
- static long _vq_quantmap__44u6__p9_1[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__44u6__p9_1 = {
- _vq_quantthresh__44u6__p9_1,
- _vq_quantmap__44u6__p9_1,
- 15,
- 15
- };
- static static_codebook _44u6__p9_1 = {
- 2, 225,
- _vq_lengthlist__44u6__p9_1,
- 1, -522338304, 1620115456, 4, 0,
- _vq_quantlist__44u6__p9_1,
- NULL,
- &_vq_auxt__44u6__p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u6__p9_2[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44u6__p9_2[] = {
- 3, 5, 5, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9,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 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44u6__p9_2 = {
- _vq_quantthresh__44u6__p9_2,
- _vq_quantmap__44u6__p9_2,
- 17,
- 17
- };
- static static_codebook _44u6__p9_2 = {
- 2, 289,
- _vq_lengthlist__44u6__p9_2,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44u6__p9_2,
- NULL,
- &_vq_auxt__44u6__p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u6__short[] = {
- 5,11,15,14,17,14,17,15,17,17, 4, 6, 9, 9,14, 9,
- 17,10,15,17, 6, 6, 5, 7, 7, 9,11,10,15,17, 6, 8,
- 8,10, 9,11,14,13,16,17, 7, 6, 5, 7, 5, 7, 5, 8,
- 15,17, 9, 8, 8, 9, 8,10,10,11,14,17,10, 8, 7, 9,
- 4, 7, 3, 5,11,17,10,10,10,10, 6, 9, 4, 5,11,17,
- 16,16,13,15, 5,10, 4, 3, 9,16,17,17,14,17, 7,11,
- 6, 6,11,17,
- };
- static static_codebook _huff_book__44u6__short = {
- 2, 100,
- _huff_lengthlist__44u6__short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u7__long[] = {
- 3, 9,15,13,16,13,16,12,12,12, 5, 5, 7, 8, 8,10,
- 11,10,13,13,10, 5, 5, 6, 6, 9, 9,10,14,14, 9, 6,
- 6, 7, 6, 8, 9,10,13,12,13, 7, 5, 6, 4, 6, 6, 8,
- 12,13,11, 8, 7, 8, 6, 7, 7, 7,11,13,15,10, 8, 8,
- 5, 6, 4, 5, 9,13, 9, 9, 8, 9, 7, 7, 4, 4, 6,11,
- 11,11,12,12,10,10, 8, 5, 5, 9,10,12,13,15,13,13,
- 12, 7, 6, 8,
- };
- static static_codebook _huff_book__44u7__long = {
- 2, 100,
- _huff_lengthlist__44u7__long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44u7__p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u7__p1_0[] = {
- 1, 4, 4, 5, 7, 7, 4, 7, 7, 5, 8, 8, 8,10,10, 7,
- 10,10, 5, 8, 8, 7,10, 9, 8,10,10, 5, 8, 8, 8,11,
- 10, 8,10,10, 8,11,10,10,12,13,11,13,13, 7,10,10,
- 10,13,11,11,13,13, 5, 8, 8, 8,11,10, 8,10,10, 7,
- 10,10,11,13,13,10,11,13, 8,11,11,10,13,13,10,13,
- 12,
- };
- static float _vq_quantthresh__44u7__p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u7__p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u7__p1_0 = {
- _vq_quantthresh__44u7__p1_0,
- _vq_quantmap__44u7__p1_0,
- 3,
- 3
- };
- static static_codebook _44u7__p1_0 = {
- 4, 81,
- _vq_lengthlist__44u7__p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u7__p1_0,
- NULL,
- &_vq_auxt__44u7__p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u7__p2_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u7__p2_0[] = {
- 3, 5, 4, 5, 6, 6, 5, 6, 6, 5, 6, 6, 6, 7, 8, 6,
- 7, 7, 5, 6, 6, 6, 7, 7, 6, 8, 8, 5, 6, 6, 6, 8,
- 7, 6, 7, 8, 6, 8, 8, 8, 9, 9, 8, 9, 9, 6, 7, 7,
- 7, 9, 8, 8, 9, 9, 5, 6, 6, 6, 8, 7, 6, 7, 8, 6,
- 7, 7, 8, 9, 9, 7, 8, 9, 6, 8, 8, 8, 9, 9, 8, 9,
- 9,
- };
- static float _vq_quantthresh__44u7__p2_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u7__p2_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u7__p2_0 = {
- _vq_quantthresh__44u7__p2_0,
- _vq_quantmap__44u7__p2_0,
- 3,
- 3
- };
- static static_codebook _44u7__p2_0 = {
- 4, 81,
- _vq_lengthlist__44u7__p2_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u7__p2_0,
- NULL,
- &_vq_auxt__44u7__p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u7__p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u7__p3_0[] = {
- 2, 5, 5, 8, 8, 5, 7, 6, 9, 9, 5, 6, 7, 9, 9, 8,
- 9, 9,12,12, 8, 9, 9,12,12, 5, 7, 7,10, 9, 7, 9,
- 9,11,11, 6, 8, 9,10,11,10,11,11,13,14, 9,10,11,
- 13,13, 5, 7, 7, 9, 9, 6, 9, 8,11,10, 7, 9, 9,11,
- 11, 9,11,10,13,13,10,11,11,14,13, 8,10,10,14,13,
- 10,11,11,16,14, 9,11,11,14,14,13,15,14,17,16,12,
- 13,14,16,15, 8, 9,10,13,14, 9,11,11,14,14,10,11,
- 11,14,15,13,13,14,17,17,13,14,15,16,17, 5, 7, 7,
- 10,10, 7, 9, 8,11,11, 7, 8, 9,11,11,10,11,11,14,
- 14,10,11,11,14,14, 7, 9, 9,11,11, 9,11,11,13,13,
- 9,11,11,13,13,11,12,13,15,17,11,12,13,16,18, 6,
- 8, 8,11,11, 8,10,10,13,12, 9,11,11,12,13,11,13,
- 11,16,14,11,13,12,16,16,10,11,11,15,15,11,13,13,
- 16,16,11,13,13,18,16,14,14,15,17,16,14,15,17,19,
- 0, 9,11,11,14,15,10,12,12,15,17,11,13,13,15,17,
- 14,15,13, 0,15,15,17,16,18, 0, 5, 7, 7, 9,10, 7,
- 9, 9,11,11, 7, 8, 9,11,11,10,11,11,14,14,10,11,
- 11,14,14, 6, 8, 9,11,11, 9,11,11,14,13, 8,10,10,
- 11,14,11,13,13,17,15,11,12,13,14,16, 7, 9, 9,11,
- 11, 9,11,11,13,12, 9,11,11,12,13,11,13,12,15,15,
- 11,13,12,16,15, 9,11,11,15,15,11,12,13,16,15,10,
- 11,12,16,15,15,16,16, 0, 0,14,13,15,16,19, 9,11,
- 12,15,15,11,13,13,17,16,11,13,12,15,17,14,16,16,
- 18, 0,15,15,16,18,17, 8,10,10,13,14,10,11,11,15,
- 16,10,11,11,15,16,14,15,15,17,19,14,14,15,19,19,
- 9,11,11,16,15,11,13,13,17,17,11,13,13,17,17,15,
- 17,16, 0, 0,15,17,17, 0,17, 9,11,11,15,15,11,13,
- 12,16,16,11,13,13,18,17,15,16,15,19,19,14,16,18,
- 17,19,13,15,15, 0,18,14,16,17,17,18,14,16,16,19,
- 19,18,19,19, 0, 0,16,17,18,19, 0,12,14,14,16,18,
- 13,16,14, 0,19,14,16,17,19, 0,16,19,16,19,17,17,
- 18,18, 0, 0, 8,10,10,14,13, 9,11,11,15,14,10,11,
- 12,14,16,13,15,14,19,19,14,16,16,18,17, 9,11,11,
- 16,15,11,13,13, 0,17,10,12,13,15,16,15,18,16,19,
- 19,14,15,16,18,18, 9,11,12,15,15,11,13,13,17,19,
- 11,13,13,17,17,15,17,16,19,19,15,17,16, 0, 0,12,
- 14,14, 0,19,14,16,15, 0,19,13,14,16,19, 0,16,18,
- 18, 0, 0,16,16,17,17, 0,13,14,14,17, 0,14,17,16,
- 0,19,14,16,16,19,18,17,19,17, 0, 0,18,18,17, 0,
- 0,
- };
- static float _vq_quantthresh__44u7__p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u7__p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u7__p3_0 = {
- _vq_quantthresh__44u7__p3_0,
- _vq_quantmap__44u7__p3_0,
- 5,
- 5
- };
- static static_codebook _44u7__p3_0 = {
- 4, 625,
- _vq_lengthlist__44u7__p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u7__p3_0,
- NULL,
- &_vq_auxt__44u7__p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u7__p4_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u7__p4_0[] = {
- 5, 6, 6, 8, 8, 6, 7, 6, 9, 9, 6, 6, 7, 9, 9, 8,
- 9, 9,11,11, 8, 9, 9,11,11, 6, 7, 7, 9, 9, 7, 8,
- 7,10,10, 6, 7, 8, 9,10, 9,10,10,11,12, 9, 9,10,
- 11,12, 6, 7, 7, 9, 9, 6, 7, 7,10, 9, 7, 7, 8,10,
- 10, 9,10, 9,12,11, 9,10,10,12,11, 8, 9, 9,11,11,
- 9,10,10,12,12, 9,10,10,11,12,11,12,12,13,13,11,
- 11,12,12,13, 8, 9, 9,11,11, 9,10,10,12,11, 9,10,
- 10,12,12,11,12,11,13,12,11,12,12,13,14, 6, 7, 7,
- 9, 9, 7, 8, 7,10, 9, 7, 7, 8, 9,10, 9,10,10,12,
- 11, 9,10,10,11,12, 7, 8, 8,10,10, 8, 8, 8,10,10,
- 8, 8, 8,10,10,10,10,11,12,12,10,10,11,12,12, 6,
- 7, 7,10,10, 7, 8, 8,10,10, 8, 8, 8,10,11, 9,10,
- 10,12,11,10,10,11,12,12, 9,10,10,12,12,10,10,10,
- 12,12,10,11,10,12,12,12,12,12,13,14,12,12,12,13,
- 14, 9,10,10,11,12, 9,10,10,12,12,10,10,11,12,12,
- 11,12,11,14,12,12,12,12,14,14, 6, 7, 7, 9, 9, 7,
- 8, 7,10, 9, 7, 7, 8, 9,10, 9,10,10,12,11, 9,10,
- 10,11,12, 6, 7, 7,10,10, 8, 8, 8,11,10, 7, 8, 8,
- 10,10,10,10,10,12,12,10,10,10,11,12, 7, 8, 8,10,
- 10, 8, 8, 8,10,10, 8, 8, 8,10,10,10,11,10,12,12,
- 10,11,10,12,12, 9,10,10,12,12,10,11,10,13,12, 9,
- 10,10,12,12,12,12,12,14,14,11,11,12,12,14, 9,10,
- 10,12,12,10,10,10,12,12,10,11,10,12,12,12,12,12,
- 14,14,12,12,12,14,13, 8, 9, 9,11,11, 9,10,10,12,
- 12, 9,10,10,12,12,11,12,12,14,13,11,12,12,13,13,
- 9,10,10,12,12,10,10,10,12,12,10,11,11,12,12,12,
- 12,13,14,14,12,12,12,14,14, 9,10, 9,12,12, 9,10,
- 10,12,12,10,10,11,12,12,12,12,11,14,13,12,12,12,
- 13,14,11,12,12,13,13,12,12,12,14,14,12,13,12,14,
- 14,13,13,14,13,15,14,14,14,15,15,11,11,11,13,13,
- 11,12,11,14,13,12,12,12,14,14,12,13,12,15,12,13,
- 14,14,15,15, 8, 9, 9,11,11, 9,10,10,12,12, 9,10,
- 10,12,12,11,12,12,13,13,11,12,12,13,14, 9,10,10,
- 12,11,10,10,10,12,12, 9,10,10,12,12,12,13,12,14,
- 13,11,12,12,13,14, 9,10,10,12,12,10,10,10,12,12,
- 10,11,11,12,12,12,12,12,14,14,12,13,12,14,13,11,
- 11,11,13,13,12,12,12,14,13,11,11,12,13,14,13,14,
- 14,15,15,13,12,13,12,15,11,12,12,13,14,12,12,12,
- 14,14,11,12,12,14,14,13,14,14,15,15,13,14,13,15,
- 13,
- };
- static float _vq_quantthresh__44u7__p4_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u7__p4_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u7__p4_0 = {
- _vq_quantthresh__44u7__p4_0,
- _vq_quantmap__44u7__p4_0,
- 5,
- 5
- };
- static static_codebook _44u7__p4_0 = {
- 4, 625,
- _vq_lengthlist__44u7__p4_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u7__p4_0,
- NULL,
- &_vq_auxt__44u7__p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u7__p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u7__p5_0[] = {
- 2, 3, 3, 6, 6, 8, 8,10,10, 3, 5, 5, 8, 7, 8, 8,
- 11,11, 4, 5, 5, 7, 8, 8, 8,11,11, 6, 8, 7, 9, 9,
- 10, 9,12,12, 6, 7, 8, 9,10, 9,10,12,12, 8, 8, 8,
- 10, 9,12,11,13,13, 8, 8, 8, 9,10,11,12,13,13,10,
- 11,11,12,11,13,13,14,14,10,11,11,12,12,13,13,14,
- 14,
- };
- static float _vq_quantthresh__44u7__p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44u7__p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u7__p5_0 = {
- _vq_quantthresh__44u7__p5_0,
- _vq_quantmap__44u7__p5_0,
- 9,
- 9
- };
- static static_codebook _44u7__p5_0 = {
- 2, 81,
- _vq_lengthlist__44u7__p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44u7__p5_0,
- NULL,
- &_vq_auxt__44u7__p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u7__p6_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u7__p6_0[] = {
- 4, 4, 4, 5, 5, 7, 7, 9, 9, 4, 4, 4, 6, 6, 7, 7,
- 9, 9, 4, 4, 5, 6, 6, 7, 7, 9, 9, 5, 6, 6, 7, 7,
- 8, 8, 9, 9, 5, 6, 6, 6, 7, 8, 8, 9, 9, 7, 7, 7,
- 8, 8, 9, 9,10,10, 7, 7, 7, 8, 8, 9, 9,10,10, 9,
- 9, 9,10, 9,10,10,11,11, 9, 9, 9, 9,10,10,10,11,
- 11,
- };
- static float _vq_quantthresh__44u7__p6_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44u7__p6_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u7__p6_0 = {
- _vq_quantthresh__44u7__p6_0,
- _vq_quantmap__44u7__p6_0,
- 9,
- 9
- };
- static static_codebook _44u7__p6_0 = {
- 2, 81,
- _vq_lengthlist__44u7__p6_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44u7__p6_0,
- NULL,
- &_vq_auxt__44u7__p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u7__p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u7__p7_0[] = {
- 1, 4, 4, 5, 7, 7, 5, 7, 7, 5, 9, 8, 8,10,10, 8,
- 10,10, 5, 8, 9, 8,10,10, 8,10,10, 4, 9, 9, 9,11,
- 12, 8,12,11, 8,12,11,11,12,13,10,13,13, 7,12,11,
- 10,13,12,10,13,13, 4, 9, 9, 8,11,12, 9,11,12, 7,
- 11,12,10,13,13,10,12,13, 8,11,12,10,13,13,10,13,
- 12,
- };
- static float _vq_quantthresh__44u7__p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44u7__p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u7__p7_0 = {
- _vq_quantthresh__44u7__p7_0,
- _vq_quantmap__44u7__p7_0,
- 3,
- 3
- };
- static static_codebook _44u7__p7_0 = {
- 4, 81,
- _vq_lengthlist__44u7__p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44u7__p7_0,
- NULL,
- &_vq_auxt__44u7__p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u7__p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44u7__p7_1[] = {
- 3, 5, 4, 6, 6, 7, 7, 8, 8, 8, 8, 5, 5, 5, 6, 6,
- 7, 7, 8, 8, 8, 8, 5, 5, 5, 6, 6, 7, 7, 8, 8, 8,
- 8, 6, 6, 6, 7, 7, 8, 7, 8, 8, 8, 8, 6, 6, 6, 7,
- 7, 7, 8, 8, 8, 8, 8, 7, 7, 7, 8, 7, 8, 8, 9, 9,
- 9, 9, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9, 9, 8, 8, 8,
- 8, 8, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 9, 9, 9,
- 9, 9, 9, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 8, 8,
- 8, 8, 8, 9, 9, 9, 9, 9, 9,
- };
- static float _vq_quantthresh__44u7__p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44u7__p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44u7__p7_1 = {
- _vq_quantthresh__44u7__p7_1,
- _vq_quantmap__44u7__p7_1,
- 11,
- 11
- };
- static static_codebook _44u7__p7_1 = {
- 2, 121,
- _vq_lengthlist__44u7__p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44u7__p7_1,
- NULL,
- &_vq_auxt__44u7__p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u7__p8_0[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44u7__p8_0[] = {
- 1, 4, 4, 6, 6, 8, 8, 9, 9,10,10, 4, 6, 6, 7, 7,
- 9, 9,10,10,11,11, 4, 6, 6, 7, 7, 9, 9,10,10,11,
- 11, 6, 8, 8, 9, 9,10,10,11,11,12,12, 6, 8, 8, 9,
- 9,10,10,11,11,12,12, 8, 9, 9,10,10,11,11,12,12,
- 14,13, 8, 9, 9,10,10,11,11,12,12,13,13,10,10,10,
- 11,11,12,12,13,13,14,14,10,10,10,11,11,12,13,13,
- 13,14,14,11,12,11,13,12,13,14,14,14,15,15,11,11,
- 12,13,13,13,13,14,14,15,15,
- };
- static float _vq_quantthresh__44u7__p8_0[] = {
- -49.5, -38.5, -27.5, -16.5, -5.5, 5.5, 16.5, 27.5,
- 38.5, 49.5,
- };
- static long _vq_quantmap__44u7__p8_0[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44u7__p8_0 = {
- _vq_quantthresh__44u7__p8_0,
- _vq_quantmap__44u7__p8_0,
- 11,
- 11
- };
- static static_codebook _44u7__p8_0 = {
- 2, 121,
- _vq_lengthlist__44u7__p8_0,
- 1, -524582912, 1618345984, 4, 0,
- _vq_quantlist__44u7__p8_0,
- NULL,
- &_vq_auxt__44u7__p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u7__p8_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44u7__p8_1[] = {
- 3, 5, 5, 6, 6, 7, 7, 7, 7, 8, 8, 5, 6, 6, 7, 6,
- 7, 7, 7, 7, 8, 8, 5, 6, 6, 6, 7, 7, 7, 7, 7, 8,
- 8, 6, 7, 6, 7, 7, 7, 7, 8, 8, 8, 8, 6, 6, 7, 7,
- 7, 7, 7, 8, 8, 8, 8, 7, 7, 7, 7, 7, 8, 8, 8, 8,
- 8, 8, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 7, 7, 7,
- 8, 8, 8, 8, 8, 8, 8, 8, 7, 7, 7, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44u7__p8_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44u7__p8_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44u7__p8_1 = {
- _vq_quantthresh__44u7__p8_1,
- _vq_quantmap__44u7__p8_1,
- 11,
- 11
- };
- static static_codebook _44u7__p8_1 = {
- 2, 121,
- _vq_lengthlist__44u7__p8_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44u7__p8_1,
- NULL,
- &_vq_auxt__44u7__p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u7__p9_0[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44u7__p9_0[] = {
- 1, 4, 4, 9, 9, 9, 9, 9, 9, 9, 9, 5, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 4, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44u7__p9_0[] = {
- -2866.5, -2229.5, -1592.5, -955.5, -318.5, 318.5, 955.5, 1592.5,
- 2229.5, 2866.5,
- };
- static long _vq_quantmap__44u7__p9_0[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44u7__p9_0 = {
- _vq_quantthresh__44u7__p9_0,
- _vq_quantmap__44u7__p9_0,
- 11,
- 11
- };
- static static_codebook _44u7__p9_0 = {
- 2, 121,
- _vq_lengthlist__44u7__p9_0,
- 1, -512171520, 1630791680, 4, 0,
- _vq_quantlist__44u7__p9_0,
- NULL,
- &_vq_auxt__44u7__p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u7__p9_1[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u7__p9_1[] = {
- 1, 4, 4, 5, 5, 7, 7,10, 9,11,11,12,12, 4, 7, 6,
- 8, 8, 9, 9,11,10,13,12,13,13, 4, 6, 7, 8, 8, 9,
- 9,10,11,13,13,12,13, 5, 8, 8,10, 9,12,11,12,12,
- 13,13,15,14, 6, 8, 8,10,10,11,11,13,12,13,14,14,
- 15, 8,10,10,12,11,13,13,14,15,15,16,15,16, 8, 9,
- 10,12,12,13,13,16,15,15,15,15,15,10,11,11,14,13,
- 14,14,16,16,15,16,16,16,10,12,12,12,14,14,14,15,
- 16,15,16,15,16,11,12,12,14,14,16,16,15,16,16,16,
- 16,16,12,12,13,13,15,15,14,15,16,16,16,16,16,12,
- 14,14,15,14,16,16,16,16,16,16,16,16,13,14,13,14,
- 15,16,15,16,16,16,16,16,16,
- };
- static float _vq_quantthresh__44u7__p9_1[] = {
- -269.5, -220.5, -171.5, -122.5, -73.5, -24.5, 24.5, 73.5,
- 122.5, 171.5, 220.5, 269.5,
- };
- static long _vq_quantmap__44u7__p9_1[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u7__p9_1 = {
- _vq_quantthresh__44u7__p9_1,
- _vq_quantmap__44u7__p9_1,
- 13,
- 13
- };
- static static_codebook _44u7__p9_1 = {
- 2, 169,
- _vq_lengthlist__44u7__p9_1,
- 1, -518889472, 1622704128, 4, 0,
- _vq_quantlist__44u7__p9_1,
- NULL,
- &_vq_auxt__44u7__p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u7__p9_2[] = {
- 24,
- 23,
- 25,
- 22,
- 26,
- 21,
- 27,
- 20,
- 28,
- 19,
- 29,
- 18,
- 30,
- 17,
- 31,
- 16,
- 32,
- 15,
- 33,
- 14,
- 34,
- 13,
- 35,
- 12,
- 36,
- 11,
- 37,
- 10,
- 38,
- 9,
- 39,
- 8,
- 40,
- 7,
- 41,
- 6,
- 42,
- 5,
- 43,
- 4,
- 44,
- 3,
- 45,
- 2,
- 46,
- 1,
- 47,
- 0,
- 48,
- };
- static long _vq_lengthlist__44u7__p9_2[] = {
- 2, 4, 3, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6,
- 6, 7, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8,
- };
- static float _vq_quantthresh__44u7__p9_2[] = {
- -23.5, -22.5, -21.5, -20.5, -19.5, -18.5, -17.5, -16.5,
- -15.5, -14.5, -13.5, -12.5, -11.5, -10.5, -9.5, -8.5,
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- 8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5,
- 16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 22.5, 23.5,
- };
- static long _vq_quantmap__44u7__p9_2[] = {
- 47, 45, 43, 41, 39, 37, 35, 33,
- 31, 29, 27, 25, 23, 21, 19, 17,
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16, 18, 20, 22, 24, 26, 28, 30,
- 32, 34, 36, 38, 40, 42, 44, 46,
- 48,
- };
- static encode_aux_threshmatch _vq_auxt__44u7__p9_2 = {
- _vq_quantthresh__44u7__p9_2,
- _vq_quantmap__44u7__p9_2,
- 49,
- 49
- };
- static static_codebook _44u7__p9_2 = {
- 1, 49,
- _vq_lengthlist__44u7__p9_2,
- 1, -526909440, 1611661312, 6, 0,
- _vq_quantlist__44u7__p9_2,
- NULL,
- &_vq_auxt__44u7__p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u7__short[] = {
- 6,14,18,18,18,18,17,17,17,17, 4, 8,11,12,13,11,
- 13,11,16,17, 6, 7, 8, 9, 8, 9,12, 9,14,17, 6, 9,
- 11,12,12,12,15,12,17,17, 6, 6, 6, 8, 5, 7, 7, 8,
- 14,17, 7, 9, 9,11, 8,10,10,11,14,16, 8, 7, 7, 8,
- 5, 7, 4, 5,11,17, 9, 8,10, 9, 7, 9, 4, 2, 9,16,
- 15,14,16,14, 8,14, 4, 3, 7,16,17,17,16,17, 9,15,
- 6, 5,10,17,
- };
- static static_codebook _huff_book__44u7__short = {
- 2, 100,
- _huff_lengthlist__44u7__short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u8__long[] = {
- 3, 9,13,13,14,13,13,13,13,14, 5, 4, 6, 8,10,12,
- 13,15,13,14, 9, 5, 3, 5, 8,10,12,14,13,13,11, 7,
- 4, 3, 5, 7,10,11,12,14,11, 9, 7, 4, 4, 6, 8,10,
- 13,14,10,11, 9, 7, 6, 6, 7, 9,12,15,12,11,11, 8,
- 7, 6, 6, 7,11,14,12,12,12,10, 8, 7, 6, 7, 9,13,
- 11,12,13,12,11, 8, 8, 7, 9,12,11,14,16,16,15,11,
- 10, 9, 9,11,
- };
- static static_codebook _huff_book__44u8__long = {
- 2, 100,
- _huff_lengthlist__44u8__long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u8__short[] = {
- 7,15,18,18,18,18,18,18,18,18, 4, 6, 9,10,10,11,
- 16,15,18,18, 5, 6, 6, 6, 8,10,15,15,18,18, 5, 6,
- 5, 4, 6, 9,12,15,17,18, 7, 6, 6, 5, 6, 5, 8,11,
- 15,18,10, 9, 9, 7, 4, 3, 6,10,16,17,13,12,12, 6,
- 6, 4, 5, 9,14,16,16,17,13, 5, 5, 4, 5, 8,13,16,
- 17,17,14, 7, 7, 6, 7,10,15,17,17,17,17,11,12,12,
- 12,14,17,17,
- };
- static static_codebook _huff_book__44u8__short = {
- 2, 100,
- _huff_lengthlist__44u8__short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44u8_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u8_p1_0[] = {
- 1, 5, 5, 5, 7, 7, 5, 7, 7, 5, 7, 7, 8, 9, 9, 7,
- 8, 9, 5, 7, 7, 7, 9, 8, 8, 9, 9, 5, 7, 7, 7, 9,
- 9, 7, 9, 9, 8, 9, 9, 9,10,11, 9,10,10, 7, 9, 9,
- 9,10, 9, 9,10,11, 5, 7, 7, 7, 9, 9, 8, 9, 9, 7,
- 9, 9, 9,11,10, 9, 9,10, 8, 9, 9, 9,10,10, 9,11,
- 10,
- };
- static float _vq_quantthresh__44u8_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u8_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u8_p1_0 = {
- _vq_quantthresh__44u8_p1_0,
- _vq_quantmap__44u8_p1_0,
- 3,
- 3
- };
- static static_codebook _44u8_p1_0 = {
- 4, 81,
- _vq_lengthlist__44u8_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u8_p1_0,
- NULL,
- &_vq_auxt__44u8_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u8_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u8_p2_0[] = {
- 4, 5, 5, 8, 8, 6, 7, 6, 9, 9, 5, 6, 7, 9, 9, 8,
- 9, 9,11,11, 8, 9, 9,11,11, 6, 7, 7, 9, 9, 7, 8,
- 8,10,10, 7, 7, 8, 9,10, 9,10,10,12,12, 9, 9,10,
- 11,12, 6, 7, 7, 9, 9, 7, 8, 7,10, 9, 7, 8, 8,10,
- 10, 9,10, 9,12,11, 9,10,10,12,12, 8, 9, 9,11,11,
- 9,10,10,12,12, 9,10,10,12,12,11,12,12,13,13,11,
- 11,12,13,13, 8, 9, 9,11,11, 9,10,10,12,12, 9,10,
- 10,12,12,11,12,11,13,13,11,12,12,14,13, 5, 7, 7,
- 9, 9, 7, 8, 8,10,10, 7, 8, 8,10,10, 9,10,10,12,
- 12, 9,10,10,11,12, 7, 8, 8,10,10, 8, 9, 9,11,11,
- 8, 9, 9,10,11,10,11,11,12,12,10,10,11,12,13, 6,
- 8, 8,10,10, 7, 8, 8,11,10, 8, 8, 9,10,11,10,11,
- 10,12,11,10,11,11,12,12, 9,10,10,12,12,10,11,11,
- 13,13,10,11,11,13,13,12,12,13,13,14,12,12,13,14,
- 14, 9,10,10,12,12, 9,10,10,12,12,10,11,11,12,13,
- 11,12,11,14,12,12,12,12,14,14, 5, 7, 7, 9, 9, 7,
- 8, 8,10,10, 7, 8, 8,10,10, 9,10,10,12,11, 9,10,
- 10,12,12, 6, 8, 8,10,10, 8, 9, 8,11,10, 7, 8, 8,
- 10,11,10,11,11,13,12,10,10,11,11,13, 7, 8, 8,10,
- 10, 8, 9, 9,11,10, 8, 9, 9,11,11,10,11,10,13,12,
- 10,11,11,12,12, 9,10,10,12,12,10,11,11,13,12, 9,
- 10,10,12,12,12,13,13,14,14,11,11,12,12,14, 9,10,
- 10,12,12,10,11,11,13,13,10,11,11,13,12,12,13,12,
- 14,14,12,13,12,14,13, 8, 9, 9,11,11, 9,10,10,12,
- 12, 9,10,10,12,12,11,12,12,14,13,11,12,12,13,14,
- 9,10,10,12,12,10,11,11,13,13,10,11,11,13,13,12,
- 13,13,14,15,12,12,13,14,14, 9,10,10,12,12, 9,11,
- 10,13,12,10,11,11,12,13,12,13,12,14,13,12,12,13,
- 14,14,11,12,12,14,14,12,12,12,14,14,12,13,13,14,
- 14,13,13,14,14,16,14,14,14,15,15,11,12,12,14,14,
- 11,12,11,14,13,12,12,13,14,14,13,14,12,15,13,14,
- 14,14,15,16, 8, 9, 9,11,11, 9,10,10,12,12, 9,10,
- 10,12,12,11,12,12,14,13,11,12,12,13,14, 9,10,10,
- 12,12,10,11,10,13,12, 9,10,11,12,13,12,13,12,14,
- 14,12,12,13,13,14, 9,10,10,12,12,10,11,11,13,13,
- 10,11,11,13,13,12,12,12,14,14,12,13,12,15,14,11,
- 12,11,14,13,12,13,12,14,14,11,11,12,13,14,13,14,
- 14,16,15,13,12,14,13,15,11,12,12,13,14,12,13,13,
- 14,14,12,13,12,14,14,14,14,14,15,16,13,14,13,15,
- 14,
- };
- static float _vq_quantthresh__44u8_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u8_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u8_p2_0 = {
- _vq_quantthresh__44u8_p2_0,
- _vq_quantmap__44u8_p2_0,
- 5,
- 5
- };
- static static_codebook _44u8_p2_0 = {
- 4, 625,
- _vq_lengthlist__44u8_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u8_p2_0,
- NULL,
- &_vq_auxt__44u8_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u8_p3_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u8_p3_0[] = {
- 3, 4, 4, 5, 5, 7, 7, 9, 9, 4, 5, 4, 6, 6, 7, 7,
- 9, 9, 4, 4, 5, 6, 6, 7, 7, 9, 9, 5, 6, 6, 7, 7,
- 8, 8,10,10, 6, 6, 6, 7, 7, 8, 8, 9,10, 7, 7, 7,
- 8, 8, 9, 9,11,10, 7, 7, 7, 8, 8, 9, 9,10,11, 9,
- 9, 9,10,10,11,10,12,12, 9, 9, 9,10,10,10,11,12,
- 12,
- };
- static float _vq_quantthresh__44u8_p3_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44u8_p3_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u8_p3_0 = {
- _vq_quantthresh__44u8_p3_0,
- _vq_quantmap__44u8_p3_0,
- 9,
- 9
- };
- static static_codebook _44u8_p3_0 = {
- 2, 81,
- _vq_lengthlist__44u8_p3_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44u8_p3_0,
- NULL,
- &_vq_auxt__44u8_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u8_p4_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44u8_p4_0[] = {
- 4, 4, 4, 6, 6, 7, 7, 8, 8, 8, 8,10,10,11,11,11,
- 11, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11,11,
- 12,12, 5, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9,10,10,11,
- 11,11,12, 6, 6, 6, 7, 7, 8, 7, 9, 9, 9, 9,10,10,
- 11,11,12,12, 6, 6, 6, 7, 7, 7, 8, 8, 9, 9, 9,10,
- 10,11,11,12,12, 7, 7, 7, 8, 7, 9, 8, 9, 9,10, 9,
- 11,10,11,11,12,12, 7, 7, 7, 7, 8, 8, 8, 9, 9, 9,
- 10,10,10,11,11,12,12, 8, 8, 8, 9, 9, 9, 9,10,10,
- 10,10,11,11,11,11,12,12, 8, 8, 8, 8, 9, 9, 9,10,
- 10,10,10,11,11,11,12,12,12, 9, 9, 9, 9, 9,10, 9,
- 10,10,11,10,11,11,12,12,12,12, 9, 9, 9, 9, 9, 9,
- 10,10,10,11,11,11,11,12,12,12,13,10,10,10,10,10,
- 11,10,11,11,11,11,12,12,12,12,12,13,10,10,10,10,
- 10,10,11,11,11,11,11,12,12,12,12,13,12,11,11,11,
- 11,11,11,11,12,12,12,12,12,12,12,13,13,13,11,11,
- 11,11,11,11,11,12,12,12,12,12,12,13,12,13,13,11,
- 12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,
- 12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,
- 13,
- };
- static float _vq_quantthresh__44u8_p4_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44u8_p4_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44u8_p4_0 = {
- _vq_quantthresh__44u8_p4_0,
- _vq_quantmap__44u8_p4_0,
- 17,
- 17
- };
- static static_codebook _44u8_p4_0 = {
- 2, 289,
- _vq_lengthlist__44u8_p4_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44u8_p4_0,
- NULL,
- &_vq_auxt__44u8_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u8_p5_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u8_p5_0[] = {
- 1, 5, 5, 5, 7, 7, 5, 7, 7, 5, 8, 7, 7, 8, 9, 7,
- 9, 9, 5, 7, 8, 7, 9, 9, 7, 9, 8, 5, 7, 7, 8, 9,
- 9, 7, 9, 9, 7, 9, 9, 8, 9,11, 9,11,11, 7, 9, 9,
- 9,11,10, 9,11,11, 5, 7, 8, 7, 9, 9, 8, 9, 9, 7,
- 9, 9, 9,11,11, 9,10,11, 7, 9, 9, 9,11,11, 8,11,
- 9,
- };
- static float _vq_quantthresh__44u8_p5_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44u8_p5_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u8_p5_0 = {
- _vq_quantthresh__44u8_p5_0,
- _vq_quantmap__44u8_p5_0,
- 3,
- 3
- };
- static static_codebook _44u8_p5_0 = {
- 4, 81,
- _vq_lengthlist__44u8_p5_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44u8_p5_0,
- NULL,
- &_vq_auxt__44u8_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u8_p5_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44u8_p5_1[] = {
- 4, 5, 5, 6, 6, 7, 7, 7, 7, 7, 8, 5, 6, 6, 6, 6,
- 7, 7, 7, 7, 8, 8, 5, 6, 6, 6, 6, 7, 7, 7, 7, 8,
- 8, 6, 6, 6, 7, 7, 7, 7, 8, 7, 8, 8, 6, 6, 6, 7,
- 7, 7, 7, 7, 8, 8, 8, 7, 7, 7, 7, 7, 8, 8, 8, 8,
- 8, 8, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 7, 7, 7,
- 7, 7, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44u8_p5_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44u8_p5_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44u8_p5_1 = {
- _vq_quantthresh__44u8_p5_1,
- _vq_quantmap__44u8_p5_1,
- 11,
- 11
- };
- static static_codebook _44u8_p5_1 = {
- 2, 121,
- _vq_lengthlist__44u8_p5_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44u8_p5_1,
- NULL,
- &_vq_auxt__44u8_p5_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u8_p6_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u8_p6_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 8, 8, 9,10,10,10, 5, 6, 6,
- 7, 7, 8, 8, 9, 9,10,10,11,11, 5, 6, 6, 7, 7, 8,
- 9, 9, 9,10,10,11,11, 7, 7, 7, 8, 8, 9, 9,10,10,
- 11,11,11,11, 7, 7, 7, 8, 8, 9, 9,10,10,10,11,11,
- 11, 8, 9, 9, 9, 9,10,10,10,10,11,11,12,12, 8, 9,
- 9, 9, 9,10,10,10,11,11,11,12,12, 8, 9, 9,10,10,
- 11,10,11,11,12,12,12,12, 9, 9, 9,10,10,11,11,11,
- 11,12,12,12,12,10,10,10,11,11,11,11,12,12,12,12,
- 13,13,10,10,10,11,11,11,11,12,12,12,12,13,13,11,
- 11,11,12,12,12,12,12,12,13,13,13,13,11,11,11,12,
- 12,12,12,12,12,13,13,13,13,
- };
- static float _vq_quantthresh__44u8_p6_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44u8_p6_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u8_p6_0 = {
- _vq_quantthresh__44u8_p6_0,
- _vq_quantmap__44u8_p6_0,
- 13,
- 13
- };
- static static_codebook _44u8_p6_0 = {
- 2, 169,
- _vq_lengthlist__44u8_p6_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44u8_p6_0,
- NULL,
- &_vq_auxt__44u8_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u8_p6_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u8_p6_1[] = {
- 3, 4, 4, 5, 5, 4, 5, 5, 5, 5, 4, 5, 5, 5, 5, 5,
- 5, 5, 5, 5, 5, 5, 5, 5, 5,
- };
- static float _vq_quantthresh__44u8_p6_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u8_p6_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u8_p6_1 = {
- _vq_quantthresh__44u8_p6_1,
- _vq_quantmap__44u8_p6_1,
- 5,
- 5
- };
- static static_codebook _44u8_p6_1 = {
- 2, 25,
- _vq_lengthlist__44u8_p6_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u8_p6_1,
- NULL,
- &_vq_auxt__44u8_p6_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u8_p7_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u8_p7_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 8, 8, 9, 9,10,10, 4, 6, 6,
- 8, 8, 9, 8, 9, 9,10,10,11,11, 4, 6, 6, 8, 8, 8,
- 9, 9, 9,10,10,11,11, 7, 8, 8, 9, 9,10,10,10,10,
- 11,11,12,12, 7, 8, 8, 9, 9,10,10,10,10,11,11,12,
- 12, 8, 9, 9,10,10,10,10,11,11,12,12,13,13, 8, 9,
- 9,10,10,10,11,11,11,12,13,13,13, 9, 9, 9,10,10,
- 11,11,12,12,13,13,14,14, 9, 9, 9,10,10,11,11,12,
- 12,13,13,14,14,10,10,10,11,11,12,12,13,13,14,14,
- 14,14,10,10,11,11,12,12,12,13,13,13,14,14,15,11,
- 11,11,12,12,13,13,14,14,14,14,16,15,11,11,11,12,
- 12,13,13,14,14,14,14,16,15,
- };
- static float _vq_quantthresh__44u8_p7_0[] = {
- -60.5, -49.5, -38.5, -27.5, -16.5, -5.5, 5.5, 16.5,
- 27.5, 38.5, 49.5, 60.5,
- };
- static long _vq_quantmap__44u8_p7_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u8_p7_0 = {
- _vq_quantthresh__44u8_p7_0,
- _vq_quantmap__44u8_p7_0,
- 13,
- 13
- };
- static static_codebook _44u8_p7_0 = {
- 2, 169,
- _vq_lengthlist__44u8_p7_0,
- 1, -523206656, 1618345984, 4, 0,
- _vq_quantlist__44u8_p7_0,
- NULL,
- &_vq_auxt__44u8_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u8_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44u8_p7_1[] = {
- 4, 5, 5, 6, 6, 7, 7, 7, 7, 7, 7, 5, 6, 6, 7, 7,
- 7, 7, 7, 7, 7, 7, 5, 6, 6, 7, 7, 7, 7, 7, 7, 7,
- 7, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 6, 7, 7, 7,
- 7, 7, 7, 7, 7, 8, 8, 7, 7, 7, 7, 7, 7, 7, 8, 8,
- 8, 8, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 7, 7, 7,
- 7, 7, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 8, 8, 8,
- 8, 8, 8, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 7, 7,
- 7, 8, 8, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44u8_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44u8_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44u8_p7_1 = {
- _vq_quantthresh__44u8_p7_1,
- _vq_quantmap__44u8_p7_1,
- 11,
- 11
- };
- static static_codebook _44u8_p7_1 = {
- 2, 121,
- _vq_lengthlist__44u8_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44u8_p7_1,
- NULL,
- &_vq_auxt__44u8_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u8_p8_0[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__44u8_p8_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 8, 7, 9, 8,10,10,11,11, 4,
- 6, 6, 8, 8,10,10, 9, 9,10,10,11,10,12,12, 4, 6,
- 6, 8, 8, 9,10, 9, 9,10,10,11,11,11,12, 7, 8, 8,
- 10,10,11,11,11,10,11,11,13,12,13,12, 7, 8, 8,10,
- 10,11,11,10,11,11,11,12,12,13,13, 8,10, 9,11,11,
- 12,12,11,11,12,12,13,13,14,14, 8, 9, 9,11,11,12,
- 12,11,11,12,12,14,13,13,13, 8, 9, 9,11,10,12,11,
- 12,12,13,13,14,13,14,13, 8, 9, 9,11,11,11,12,12,
- 12,13,13,13,14,14,14, 9,10,10,12,11,12,12,13,13,
- 14,14,15,13,14,14, 9,10,10,11,12,12,12,13,13,14,
- 14,15,14,14,14,10,11,11,12,12,13,13,14,13,14,14,
- 15,14,15,15,10,11,11,12,12,13,13,13,14,14,14,14,
- 15,16,15,11,12,12,13,12,14,14,14,13,15,14,16,15,
- 16,15,11,12,12,13,13,13,14,14,15,15,15,15,16,15,
- 15,
- };
- static float _vq_quantthresh__44u8_p8_0[] = {
- -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5, 10.5,
- 31.5, 52.5, 73.5, 94.5, 115.5, 136.5,
- };
- static long _vq_quantmap__44u8_p8_0[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__44u8_p8_0 = {
- _vq_quantthresh__44u8_p8_0,
- _vq_quantmap__44u8_p8_0,
- 15,
- 15
- };
- static static_codebook _44u8_p8_0 = {
- 2, 225,
- _vq_lengthlist__44u8_p8_0,
- 1, -520986624, 1620377600, 4, 0,
- _vq_quantlist__44u8_p8_0,
- NULL,
- &_vq_auxt__44u8_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u8_p8_1[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__44u8_p8_1[] = {
- 4, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 6, 6, 7, 7, 7, 8, 8, 8, 8, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 6, 7, 6, 7, 7, 8,
- 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 7,
- 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 7, 7, 7, 8, 8, 8, 8, 9, 8, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 8, 8, 8, 8, 8, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9,10, 9, 9,10, 9,10, 8, 8,
- 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9,10, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 10, 9,10,10, 9,10, 9,10, 8, 8, 8, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9,10,10, 9,10,10, 9,10, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10, 9,10,10,10,
- 10,10, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,
- 10,10,10,10,10,10,10, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9,10, 9,10,10,10,10,10,10,10,10, 9, 9, 9, 9,
- 9, 9, 9, 9, 9,10, 9, 9,10,10,10,10,10,10,10,10,
- 10, 9, 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,10,10,10,
- 10,10,10,10,10,10, 9, 9, 9, 9, 9, 9, 9, 9,10,10,
- 10,10,10,10,10,10,10,10,10,10,10, 9, 9, 9, 9,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 9, 9, 9, 9, 9, 9,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10, 9, 9, 9, 9, 9, 9, 9, 9,10,10,10,
- 10,10,10,10,10,10,10,10,10,10, 9, 9, 9, 9, 9, 9,
- 10,10, 9,10,10,10,10,10,10,10,10,10,10,10,10, 9,
- 9, 9, 9, 9, 9,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10, 9, 9, 9, 9, 9,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,
- };
- static float _vq_quantthresh__44u8_p8_1[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__44u8_p8_1[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__44u8_p8_1 = {
- _vq_quantthresh__44u8_p8_1,
- _vq_quantmap__44u8_p8_1,
- 21,
- 21
- };
- static static_codebook _44u8_p8_1 = {
- 2, 441,
- _vq_lengthlist__44u8_p8_1,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__44u8_p8_1,
- NULL,
- &_vq_auxt__44u8_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u8_p9_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u8_p9_0[] = {
- 1, 4, 4, 9, 9, 9, 9, 9, 9, 5, 9, 9, 8, 8, 8, 8,
- 8, 8, 4, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8,
- };
- static float _vq_quantthresh__44u8_p9_0[] = {
- -3258.5, -2327.5, -1396.5, -465.5, 465.5, 1396.5, 2327.5, 3258.5,
- };
- static long _vq_quantmap__44u8_p9_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u8_p9_0 = {
- _vq_quantthresh__44u8_p9_0,
- _vq_quantmap__44u8_p9_0,
- 9,
- 9
- };
- static static_codebook _44u8_p9_0 = {
- 2, 81,
- _vq_lengthlist__44u8_p9_0,
- 1, -511895552, 1631393792, 4, 0,
- _vq_quantlist__44u8_p9_0,
- NULL,
- &_vq_auxt__44u8_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u8_p9_1[] = {
- 9,
- 8,
- 10,
- 7,
- 11,
- 6,
- 12,
- 5,
- 13,
- 4,
- 14,
- 3,
- 15,
- 2,
- 16,
- 1,
- 17,
- 0,
- 18,
- };
- static long _vq_lengthlist__44u8_p9_1[] = {
- 1, 4, 4, 7, 7, 8, 8, 7, 8, 9, 9,10,10,11,11,12,
- 12,12,12, 4, 7, 6, 9, 9, 9, 9, 9, 8, 9, 9,11,10,
- 12,11,13,12,13,14, 4, 6, 6, 9, 9, 9, 9, 8, 9, 9,
- 10,10,11,12,12,12,12,13,12, 7, 9, 8,11,10,10,10,
- 10,10,11,11,12,11,14,12,13,14,14,13, 7, 8, 9,10,
- 10,10,10,10,10,11,11,12,13,13,13,14,15,15,13, 8,
- 9, 9,11,11,11,11,11,12,13,12,14,14,14,14,14,14,
- 15,13, 8, 9, 9,10,11,11,11,12,12,13,12,13,14,13,
- 15,14,15,15,15, 8, 9, 9,10,10,12,11,13,12,13,13,
- 14,14,13,15,14,15,14,14, 8, 9, 9,10,11,12,12,13,
- 13,14,14,14,14,15,15,15,12,14,14, 9,11,10,11,11,
- 14,12,13,14,15,14,14,14,14,15,15,15,15,15, 9,10,
- 11,11,12,12,13,13,14,14,14,14,15,15,14,15,15,15,
- 15,10,11,11,12,12,14,14,13,14,14,15,15,15,15,15,
- 15,15,15,15,10,11,11,12,13,13,13,14,14,15,15,14,
- 14,15,15,15,15,14,15,11,12,13,15,13,14,15,15,15,
- 15,14,15,15,15,15,15,15,15,15,11,12,12,14,14,14,
- 13,14,15,15,14,15,15,15,15,15,15,15,15,13,13,14,
- 13,13,14,14,15,14,15,15,15,15,15,15,15,15,15,15,
- 11,14,13,14,14,15,14,14,15,15,15,15,15,15,15,15,
- 15,15,15,12,12,13,14,13,13,14,15,14,15,15,15,15,
- 15,15,15,15,15,15,13,13,14,14,13,15,14,14,15,15,
- 14,15,15,15,15,15,15,15,15,
- };
- static float _vq_quantthresh__44u8_p9_1[] = {
- -416.5, -367.5, -318.5, -269.5, -220.5, -171.5, -122.5, -73.5,
- -24.5, 24.5, 73.5, 122.5, 171.5, 220.5, 269.5, 318.5,
- 367.5, 416.5,
- };
- static long _vq_quantmap__44u8_p9_1[] = {
- 17, 15, 13, 11, 9, 7, 5, 3,
- 1, 0, 2, 4, 6, 8, 10, 12,
- 14, 16, 18,
- };
- static encode_aux_threshmatch _vq_auxt__44u8_p9_1 = {
- _vq_quantthresh__44u8_p9_1,
- _vq_quantmap__44u8_p9_1,
- 19,
- 19
- };
- static static_codebook _44u8_p9_1 = {
- 2, 361,
- _vq_lengthlist__44u8_p9_1,
- 1, -518287360, 1622704128, 5, 0,
- _vq_quantlist__44u8_p9_1,
- NULL,
- &_vq_auxt__44u8_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u8_p9_2[] = {
- 24,
- 23,
- 25,
- 22,
- 26,
- 21,
- 27,
- 20,
- 28,
- 19,
- 29,
- 18,
- 30,
- 17,
- 31,
- 16,
- 32,
- 15,
- 33,
- 14,
- 34,
- 13,
- 35,
- 12,
- 36,
- 11,
- 37,
- 10,
- 38,
- 9,
- 39,
- 8,
- 40,
- 7,
- 41,
- 6,
- 42,
- 5,
- 43,
- 4,
- 44,
- 3,
- 45,
- 2,
- 46,
- 1,
- 47,
- 0,
- 48,
- };
- static long _vq_lengthlist__44u8_p9_2[] = {
- 2, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6,
- 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7,
- };
- static float _vq_quantthresh__44u8_p9_2[] = {
- -23.5, -22.5, -21.5, -20.5, -19.5, -18.5, -17.5, -16.5,
- -15.5, -14.5, -13.5, -12.5, -11.5, -10.5, -9.5, -8.5,
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- 8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5,
- 16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 22.5, 23.5,
- };
- static long _vq_quantmap__44u8_p9_2[] = {
- 47, 45, 43, 41, 39, 37, 35, 33,
- 31, 29, 27, 25, 23, 21, 19, 17,
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16, 18, 20, 22, 24, 26, 28, 30,
- 32, 34, 36, 38, 40, 42, 44, 46,
- 48,
- };
- static encode_aux_threshmatch _vq_auxt__44u8_p9_2 = {
- _vq_quantthresh__44u8_p9_2,
- _vq_quantmap__44u8_p9_2,
- 49,
- 49
- };
- static static_codebook _44u8_p9_2 = {
- 1, 49,
- _vq_lengthlist__44u8_p9_2,
- 1, -526909440, 1611661312, 6, 0,
- _vq_quantlist__44u8_p9_2,
- NULL,
- &_vq_auxt__44u8_p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u9__long[] = {
- 3, 9,13,13,14,14,13,14,14,13, 5, 5, 9,10,12,13,
- 13,14,14,14, 9, 5, 6, 6, 8,11,12,14,14,14,11, 7,
- 5, 3, 5, 8,10,12,13,12,12,10, 7, 4, 3, 5, 8,10,
- 12,13,10,12, 9, 7, 4, 4, 6, 8,11,13,12,12,11, 9,
- 7, 5, 6, 7, 9,13,12,12,12,11, 8, 7, 6, 6, 8,12,
- 12,12,13,12,10, 9, 7, 7, 8,11,11,13,15,15,14,12,
- 10, 9, 9,10,
- };
- static static_codebook _huff_book__44u9__long = {
- 2, 100,
- _huff_lengthlist__44u9__long,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _huff_lengthlist__44u9__short[] = {
- 10,17,18,18,18,18,18,18,18,18, 5, 8,12,13,14,13,
- 16,17,16,17, 5, 6, 8, 8,10, 9,12,16,16,17, 5, 6,
- 7, 5, 6, 9,12,15,16,16, 7, 6, 6, 4, 5, 7, 9,14,
- 15,17,10, 8, 8, 6, 6, 3, 5, 9,13,18,14,11,11,10,
- 6, 3, 4, 7,13,17,15,16,16,10, 5, 6, 4, 4, 9,13,
- 18,18,18,11, 6, 8, 5, 6,10,15,18,18,18,14,10,11,
- 9,10,16,18,
- };
- static static_codebook _huff_book__44u9__short = {
- 2, 100,
- _huff_lengthlist__44u9__short,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__44u9_p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u9_p1_0[] = {
- 1, 5, 5, 5, 7, 7, 5, 7, 7, 5, 7, 7, 8, 9, 9, 7,
- 9, 9, 5, 7, 7, 7, 9, 9, 7, 9, 9, 5, 7, 7, 7, 9,
- 9, 7, 9, 9, 8, 9, 9, 9,10,11, 9,11,10, 7, 9, 9,
- 9,11,10, 9,10,11, 5, 7, 7, 7, 9, 9, 7, 9, 9, 7,
- 9, 9, 9,11,11, 9,10,11, 8, 9, 9, 9,10,10, 9,11,
- 10,
- };
- static float _vq_quantthresh__44u9_p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__44u9_p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u9_p1_0 = {
- _vq_quantthresh__44u9_p1_0,
- _vq_quantmap__44u9_p1_0,
- 3,
- 3
- };
- static static_codebook _44u9_p1_0 = {
- 4, 81,
- _vq_lengthlist__44u9_p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__44u9_p1_0,
- NULL,
- &_vq_auxt__44u9_p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u9_p2_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u9_p2_0[] = {
- 3, 6, 5, 8, 8, 6, 7, 7, 9, 9, 6, 7, 7, 9, 9, 8,
- 9, 9,11,10, 8, 9, 9,10,11, 6, 7, 7, 9, 9, 7, 8,
- 8,10,10, 7, 8, 8, 9,10, 9,10,10,11,11, 9, 9,10,
- 11,11, 6, 7, 7, 9, 9, 7, 8, 7,10, 9, 7, 8, 8,10,
- 10, 9,10, 9,11,11, 9,10,10,11,11, 8, 9, 9,11,11,
- 9,10,10,12,11, 9,10,10,11,11,11,12,12,13,13,11,
- 11,11,12,13, 8, 9, 9,11,11, 9,10,10,11,11, 9,10,
- 10,12,12,11,11,11,13,12,11,11,11,13,13, 6, 7, 7,
- 9, 9, 7, 8, 8,10, 9, 7, 8, 8, 9,10, 9,10,10,11,
- 11, 9,10,10,11,11, 7, 8, 8,10,10, 8, 9, 9,10,10,
- 8, 9, 9,10,10,10,10,10,12,12,10,10,10,11,12, 7,
- 8, 8,10,10, 8, 9, 8,10,10, 8, 9, 9,10,10, 9,10,
- 10,12,11,10,10,10,12,12, 9,10,10,12,11,10,10,10,
- 12,12,10,10,10,12,12,12,12,12,12,13,11,12,12,13,
- 13, 9,10,10,11,11, 9,10,10,12,11,10,10,10,12,12,
- 11,12,11,13,12,12,12,12,13,13, 6, 7, 7, 9, 9, 7,
- 8, 8,10, 9, 7, 8, 8, 9,10, 9,10,10,12,11, 9,10,
- 10,11,11, 7, 8, 8,10, 9, 8, 9, 9,11,10, 8, 8, 9,
- 10,10,10,10,10,12,12,10,10,10,11,12, 7, 8, 8,10,
- 10, 8, 9, 9,10,10, 8, 9, 9,10,10,10,10,10,12,12,
- 10,10,10,12,12, 9,10,10,11,11,10,11,10,12,12, 9,
- 10,10,11,12,11,12,12,13,13,11,11,12,11,13, 9,10,
- 10,11,12,10,10,10,12,12,10,10,10,12,12,11,12,12,
- 13,13,12,12,12,13,13, 8, 9, 9,11,11, 9,10,10,12,
- 11, 9,10,10,11,12,11,12,12,13,13,11,11,12,13,13,
- 9,10,10,12,12,10,10,10,12,12,10,11,10,12,12,12,
- 12,12,13,13,12,12,12,13,13, 9,10,10,12,11,10,10,
- 10,12,11,10,10,10,12,12,11,12,12,13,13,12,12,12,
- 13,14,11,12,12,13,13,11,12,12,13,13,11,12,12,13,
- 13,13,13,14,13,15,13,13,13,14,14,11,11,11,13,13,
- 11,12,11,13,13,11,12,12,13,13,12,13,12,14,12,13,
- 13,13,15,14, 8, 9, 9,11,11, 9,10,10,11,11, 9,10,
- 10,11,12,11,12,11,13,13,11,12,12,13,13, 9,10,10,
- 11,11,10,11,10,12,12, 9,10,10,12,12,12,12,12,13,
- 13,11,11,12,12,13, 9,10,10,12,12,10,10,11,12,12,
- 10,11,10,12,12,11,12,12,13,13,12,12,12,13,13,11,
- 11,11,13,13,11,12,12,13,13,11,11,12,13,13,13,13,
- 13,14,14,12,12,13,12,14,11,11,12,13,13,12,12,12,
- 14,13,11,12,12,13,13,13,13,13,14,14,13,13,13,14,
- 13,
- };
- static float _vq_quantthresh__44u9_p2_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u9_p2_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u9_p2_0 = {
- _vq_quantthresh__44u9_p2_0,
- _vq_quantmap__44u9_p2_0,
- 5,
- 5
- };
- static static_codebook _44u9_p2_0 = {
- 4, 625,
- _vq_lengthlist__44u9_p2_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u9_p2_0,
- NULL,
- &_vq_auxt__44u9_p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u9_p3_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__44u9_p3_0[] = {
- 3, 4, 4, 5, 5, 7, 7, 9, 8, 4, 5, 5, 6, 6, 7, 7,
- 9, 9, 4, 5, 5, 6, 6, 7, 7, 9, 9, 5, 6, 6, 7, 6,
- 8, 7, 9, 9, 5, 6, 6, 6, 7, 7, 8, 9, 9, 7, 7, 7,
- 8, 7, 9, 8,10,10, 7, 7, 7, 7, 8, 8, 9,10,10, 9,
- 9, 9, 9, 9,10,10,11,11, 9, 9, 9, 9, 9,10,10,11,
- 11,
- };
- static float _vq_quantthresh__44u9_p3_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__44u9_p3_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__44u9_p3_0 = {
- _vq_quantthresh__44u9_p3_0,
- _vq_quantmap__44u9_p3_0,
- 9,
- 9
- };
- static static_codebook _44u9_p3_0 = {
- 2, 81,
- _vq_lengthlist__44u9_p3_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__44u9_p3_0,
- NULL,
- &_vq_auxt__44u9_p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u9_p4_0[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__44u9_p4_0[] = {
- 4, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 9, 9,10,10,11,
- 11, 5, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8,10, 9,11,10,
- 12,11, 5, 5, 5, 6, 6, 7, 7, 8, 8, 8, 8, 9,10,10,
- 11,11,11, 6, 6, 6, 7, 6, 7, 7, 8, 8, 9, 9,10,10,
- 11,11,12,12, 6, 6, 6, 6, 7, 7, 7, 8, 8, 9, 9,10,
- 10,11,11,12,12, 7, 7, 7, 7, 7, 8, 8, 9, 8, 9, 9,
- 10,10,11,11,12,12, 7, 7, 7, 7, 7, 8, 8, 8, 9, 9,
- 9,10,10,11,11,12,12, 8, 8, 8, 8, 8, 9, 8, 9, 9,
- 10,10,11,10,12,11,12,12, 8, 8, 8, 8, 8, 8, 9, 9,
- 9,10,10,10,11,11,12,12,13, 8, 8, 8, 9, 9, 9, 9,
- 10,10,11,10,11,11,12,12,13,12, 8, 8, 9, 9, 9, 9,
- 9,10,10,10,11,11,11,12,12,12,13, 9,10, 9,10,10,
- 10,10,11,10,11,11,12,11,13,12,13,13, 9, 9,10,10,
- 10,10,10,10,11,11,11,11,12,12,13,13,13,10,11,10,
- 11,11,11,11,12,11,12,12,13,12,13,13,14,13,10,10,
- 11,11,11,11,11,11,12,12,12,12,13,13,13,13,14,11,
- 12,11,12,12,12,12,12,12,13,13,13,13,14,13,14,14,
- 11,11,12,12,12,12,12,12,12,12,13,13,13,13,14,14,
- 14,
- };
- static float _vq_quantthresh__44u9_p4_0[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__44u9_p4_0[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__44u9_p4_0 = {
- _vq_quantthresh__44u9_p4_0,
- _vq_quantmap__44u9_p4_0,
- 17,
- 17
- };
- static static_codebook _44u9_p4_0 = {
- 2, 289,
- _vq_lengthlist__44u9_p4_0,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__44u9_p4_0,
- NULL,
- &_vq_auxt__44u9_p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u9_p5_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__44u9_p5_0[] = {
- 1, 5, 5, 5, 7, 7, 5, 7, 7, 5, 8, 7, 7, 8, 9, 7,
- 8, 9, 5, 7, 8, 7, 9, 8, 7, 9, 8, 5, 8, 8, 8, 9,
- 9, 7, 9, 9, 7, 9, 9, 8, 9,11, 9,11,10, 7, 9, 9,
- 9,11, 9, 9,10,11, 5, 7, 8, 7, 9, 9, 8, 9, 9, 7,
- 9, 9, 9,11,10, 9, 9,11, 7, 9, 9, 9,10,11, 8,11,
- 9,
- };
- static float _vq_quantthresh__44u9_p5_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__44u9_p5_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__44u9_p5_0 = {
- _vq_quantthresh__44u9_p5_0,
- _vq_quantmap__44u9_p5_0,
- 3,
- 3
- };
- static static_codebook _44u9_p5_0 = {
- 4, 81,
- _vq_lengthlist__44u9_p5_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__44u9_p5_0,
- NULL,
- &_vq_auxt__44u9_p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u9_p5_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44u9_p5_1[] = {
- 5, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6,
- 7, 7, 7, 7, 7, 7, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7,
- 7, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8,
- 8, 8, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 7, 7, 7,
- 7, 7, 8, 8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, 8, 8,
- 8, 8, 8, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 7, 7,
- 7, 7, 7, 8, 8, 8, 8, 8, 8,
- };
- static float _vq_quantthresh__44u9_p5_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44u9_p5_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44u9_p5_1 = {
- _vq_quantthresh__44u9_p5_1,
- _vq_quantmap__44u9_p5_1,
- 11,
- 11
- };
- static static_codebook _44u9_p5_1 = {
- 2, 121,
- _vq_lengthlist__44u9_p5_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44u9_p5_1,
- NULL,
- &_vq_auxt__44u9_p5_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u9_p6_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u9_p6_0[] = {
- 2, 4, 4, 6, 6, 7, 7, 8, 8, 9, 9,10,10, 4, 5, 5,
- 7, 7, 8, 8, 8, 8,10,10,11,11, 4, 5, 5, 7, 7, 8,
- 8, 8, 8,10,10,11,11, 6, 7, 7, 8, 7, 8, 8, 9, 9,
- 10,10,11,11, 6, 7, 7, 8, 7, 8, 8, 9, 9,10,10,11,
- 11, 7, 8, 8, 8, 8, 9, 9, 9,10,11,11,12,12, 7, 8,
- 8, 8, 8, 9, 9,10, 9,11,11,12,12, 8, 9, 8, 9, 9,
- 10,10,10,10,11,11,12,12, 8, 8, 8, 9, 9,10, 9,10,
- 10,11,11,12,12, 9,10,10,10,10,11,11,11,11,12,12,
- 13,13, 9,10,10,10,10,11,11,11,11,12,12,13,12,10,
- 11,11,11,11,12,12,12,12,12,12,13,13,10,11,11,11,
- 11,12,12,12,12,13,12,13,13,
- };
- static float _vq_quantthresh__44u9_p6_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__44u9_p6_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u9_p6_0 = {
- _vq_quantthresh__44u9_p6_0,
- _vq_quantmap__44u9_p6_0,
- 13,
- 13
- };
- static static_codebook _44u9_p6_0 = {
- 2, 169,
- _vq_lengthlist__44u9_p6_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__44u9_p6_0,
- NULL,
- &_vq_auxt__44u9_p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u9_p6_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__44u9_p6_1[] = {
- 4, 4, 4, 5, 5, 4, 5, 4, 5, 5, 4, 4, 5, 5, 5, 5,
- 5, 5, 5, 5, 5, 5, 5, 5, 5,
- };
- static float _vq_quantthresh__44u9_p6_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__44u9_p6_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__44u9_p6_1 = {
- _vq_quantthresh__44u9_p6_1,
- _vq_quantmap__44u9_p6_1,
- 5,
- 5
- };
- static static_codebook _44u9_p6_1 = {
- 2, 25,
- _vq_lengthlist__44u9_p6_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__44u9_p6_1,
- NULL,
- &_vq_auxt__44u9_p6_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u9_p7_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__44u9_p7_0[] = {
- 1, 5, 4, 6, 6, 7, 7, 8, 8, 9, 9,10,10, 5, 6, 6,
- 7, 7, 8, 8, 9, 9,10,10,11,11, 5, 6, 6, 7, 7, 8,
- 8, 9, 9,10,10,11,11, 6, 7, 7, 8, 8, 9, 9,10,10,
- 11,11,12,12, 7, 7, 7, 8, 8, 9, 9,10,10,11,11,12,
- 12, 8, 8, 8, 9, 9,10,10,11,10,12,12,13,12, 8, 8,
- 8, 9, 9,10,10,11,11,12,12,12,13, 9, 9, 9,10,10,
- 11,11,12,11,13,13,13,14, 9, 9, 9,10,10,11,11,11,
- 12,13,12,13,13,10,10,10,11,11,12,12,13,12,13,13,
- 14,14,10,10,10,11,11,11,12,12,12,13,13,14,14,11,
- 11,11,12,12,13,13,13,13,14,14,15,14,11,11,11,12,
- 12,13,13,13,14,14,15,15,15,
- };
- static float _vq_quantthresh__44u9_p7_0[] = {
- -60.5, -49.5, -38.5, -27.5, -16.5, -5.5, 5.5, 16.5,
- 27.5, 38.5, 49.5, 60.5,
- };
- static long _vq_quantmap__44u9_p7_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__44u9_p7_0 = {
- _vq_quantthresh__44u9_p7_0,
- _vq_quantmap__44u9_p7_0,
- 13,
- 13
- };
- static static_codebook _44u9_p7_0 = {
- 2, 169,
- _vq_lengthlist__44u9_p7_0,
- 1, -523206656, 1618345984, 4, 0,
- _vq_quantlist__44u9_p7_0,
- NULL,
- &_vq_auxt__44u9_p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u9_p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__44u9_p7_1[] = {
- 5, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 6, 6, 6, 7, 7,
- 7, 7, 7, 7, 7, 7, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 8, 8, 7, 7, 7, 7, 7, 7, 7, 8, 7, 8, 8, 7, 7,
- 7, 7, 7, 7, 7, 7, 8, 8, 8,
- };
- static float _vq_quantthresh__44u9_p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__44u9_p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__44u9_p7_1 = {
- _vq_quantthresh__44u9_p7_1,
- _vq_quantmap__44u9_p7_1,
- 11,
- 11
- };
- static static_codebook _44u9_p7_1 = {
- 2, 121,
- _vq_lengthlist__44u9_p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__44u9_p7_1,
- NULL,
- &_vq_auxt__44u9_p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u9_p8_0[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__44u9_p8_0[] = {
- 1, 4, 4, 7, 7, 8, 8, 8, 7, 9, 9,10,10,11,11, 4,
- 6, 6, 8, 8, 9, 9, 9, 9,10,10,11,10,12,11, 4, 6,
- 6, 8, 8, 9,10, 9, 9,10,10,11,11,12,12, 7, 8, 8,
- 10,10,11,11,11,10,11,11,12,12,13,12, 7, 8, 8,10,
- 10,11,11,10,10,11,12,12,12,13,13, 8,10, 9,11,11,
- 12,12,11,12,12,12,13,13,14,14, 8, 9, 9,11,11,12,
- 12,11,12,12,13,13,13,14,14, 8, 9, 9,10,10,11,11,
- 13,12,13,13,14,14,15,14, 8, 9, 9,10,10,11,12,12,
- 13,13,13,14,14,14,15, 9,10,10,11,11,13,12,13,13,
- 14,14,15,15,15,15, 9,10,10,11,12,12,12,13,13,14,
- 15,14,15,15,15,10,11,11,12,12,13,13,14,14,15,15,
- 15,16,16,15,10,11,11,12,12,13,14,14,14,15,14,15,
- 16,16,17,11,12,12,13,13,14,14,15,14,16,15,15,16,
- 16,16,11,12,12,13,13,14,14,14,15,15,15,16,16,17,
- 16,
- };
- static float _vq_quantthresh__44u9_p8_0[] = {
- -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5, 10.5,
- 31.5, 52.5, 73.5, 94.5, 115.5, 136.5,
- };
- static long _vq_quantmap__44u9_p8_0[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__44u9_p8_0 = {
- _vq_quantthresh__44u9_p8_0,
- _vq_quantmap__44u9_p8_0,
- 15,
- 15
- };
- static static_codebook _44u9_p8_0 = {
- 2, 225,
- _vq_lengthlist__44u9_p8_0,
- 1, -520986624, 1620377600, 4, 0,
- _vq_quantlist__44u9_p8_0,
- NULL,
- &_vq_auxt__44u9_p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u9_p8_1[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__44u9_p8_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,10,
- 10,10,10,10,10, 9, 9, 9, 9, 9, 9, 9,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10, 9, 9, 9, 9, 9, 9,
- 9,10,10,10,10,10,10,10,10,10,10,10,10,10,10, 9,
- 9, 9, 9, 9,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10, 9, 9, 9, 9, 9, 9,10,10, 9,10,10,10,
- 10,10,10,10,10,10,10,10,10,
- };
- static float _vq_quantthresh__44u9_p8_1[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__44u9_p8_1[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__44u9_p8_1 = {
- _vq_quantthresh__44u9_p8_1,
- _vq_quantmap__44u9_p8_1,
- 21,
- 21
- };
- static static_codebook _44u9_p8_1 = {
- 2, 441,
- _vq_lengthlist__44u9_p8_1,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__44u9_p8_1,
- NULL,
- &_vq_auxt__44u9_p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u9_p9_0[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__44u9_p9_0[] = {
- 1, 5, 5,10,10,10,10,10,10,10,10,10,10,10,10, 5,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10, 5,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9,
- 9,
- };
- static float _vq_quantthresh__44u9_p9_0[] = {
- -6051.5, -5120.5, -4189.5, -3258.5, -2327.5, -1396.5, -465.5, 465.5,
- 1396.5, 2327.5, 3258.5, 4189.5, 5120.5, 6051.5,
- };
- static long _vq_quantmap__44u9_p9_0[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__44u9_p9_0 = {
- _vq_quantthresh__44u9_p9_0,
- _vq_quantmap__44u9_p9_0,
- 15,
- 15
- };
- static static_codebook _44u9_p9_0 = {
- 2, 225,
- _vq_lengthlist__44u9_p9_0,
- 1, -510036736, 1631393792, 4, 0,
- _vq_quantlist__44u9_p9_0,
- NULL,
- &_vq_auxt__44u9_p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__44u9_p9_1[] = {
- 9,
- 8,
- 10,
- 7,
- 11,
- 6,
- 12,
- 5,
- 13,
- 4,
- 14,
- 3,
- 15,
- 2,
- 16,
- 1,
- 17,
- 0,
- 18,
- };
- static long _vq_lengthlist__44u9_p9_1[] = {
- 1, 4, 4, 7, 7, 8, 8, 7, 7, 9, 9,10,10,12,11,12,
- 11,12,12, 4, 7, 6, 9, 9, 9, 9, 9, 9,10, 9,11, 9,
- 11,11,13,12,14,12, 4, 6, 6, 9, 9, 9, 9, 8, 9,10,
- 10,11,11,12,12,12,13,13,13, 7, 9, 8,11,11,11,11,
- 10,10,11,11,12,12,14,13,14,14,15,13, 7, 9, 9,10,
- 10,10,10,10,10,11,11,12,13,13,13,14,14,15,13, 8,
- 9, 9,12,10,11,11,12,11,12,12,13,13,14,14,15,16,
- 15,14, 8, 9, 9,10,11,12,11,11,12,13,12,14,14,13,
- 15,16,15,14,16, 7, 9, 9,10,10,12,11,12,13,16,13,
- 14,16,14,15,15,15,15,15, 7, 9, 9,10,11,11,12,12,
- 13,14,16,14,14,16,16,14,14,14,15, 9,10,11,12,12,
- 12,13,13,13,16,15,16,15,14,15,15,15,16,16, 9,10,
- 11,12,13,13,14,13,14,15,14,14,16,16,16,16,16,16,
- 16,10,11,11,13,13,15,13,15,13,14,16,16,16,16,16,
- 16,15,14,16,11,11,12,12,13,13,15,13,15,14,15,16,
- 16,16,16,16,16,16,16,12,13,13,13,13,15,14,15,16,
- 16,16,16,14,16,16,16,16,16,16,13,12,12,14,14,13,
- 15,14,16,15,16,16,16,16,16,16,16,16,15,12,12,13,
- 13,14,16,15,16,15,16,16,16,16,16,16,16,16,16,16,
- 12,13,13,14,15,14,14,16,16,15,16,16,16,16,16,16,
- 15,16,16,13,14,14,13,14,14,15,16,15,16,16,16,16,
- 16,16,16,16,15,16,12,13,13,14,14,14,14,16,16,16,
- 16,16,16,15,16,16,16,16,16,
- };
- static float _vq_quantthresh__44u9_p9_1[] = {
- -416.5, -367.5, -318.5, -269.5, -220.5, -171.5, -122.5, -73.5,
- -24.5, 24.5, 73.5, 122.5, 171.5, 220.5, 269.5, 318.5,
- 367.5, 416.5,
- };
- static long _vq_quantmap__44u9_p9_1[] = {
- 17, 15, 13, 11, 9, 7, 5, 3,
- 1, 0, 2, 4, 6, 8, 10, 12,
- 14, 16, 18,
- };
- static encode_aux_threshmatch _vq_auxt__44u9_p9_1 = {
- _vq_quantthresh__44u9_p9_1,
- _vq_quantmap__44u9_p9_1,
- 19,
- 19
- };
- static static_codebook _44u9_p9_1 = {
- 2, 361,
- _vq_lengthlist__44u9_p9_1,
- 1, -518287360, 1622704128, 5, 0,
- _vq_quantlist__44u9_p9_1,
- NULL,
- &_vq_auxt__44u9_p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__44u9_p9_2[] = {
- 24,
- 23,
- 25,
- 22,
- 26,
- 21,
- 27,
- 20,
- 28,
- 19,
- 29,
- 18,
- 30,
- 17,
- 31,
- 16,
- 32,
- 15,
- 33,
- 14,
- 34,
- 13,
- 35,
- 12,
- 36,
- 11,
- 37,
- 10,
- 38,
- 9,
- 39,
- 8,
- 40,
- 7,
- 41,
- 6,
- 42,
- 5,
- 43,
- 4,
- 44,
- 3,
- 45,
- 2,
- 46,
- 1,
- 47,
- 0,
- 48,
- };
- static long _vq_lengthlist__44u9_p9_2[] = {
- 2, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6,
- 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7,
- };
- static float _vq_quantthresh__44u9_p9_2[] = {
- -23.5, -22.5, -21.5, -20.5, -19.5, -18.5, -17.5, -16.5,
- -15.5, -14.5, -13.5, -12.5, -11.5, -10.5, -9.5, -8.5,
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- 8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5,
- 16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 22.5, 23.5,
- };
- static long _vq_quantmap__44u9_p9_2[] = {
- 47, 45, 43, 41, 39, 37, 35, 33,
- 31, 29, 27, 25, 23, 21, 19, 17,
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16, 18, 20, 22, 24, 26, 28, 30,
- 32, 34, 36, 38, 40, 42, 44, 46,
- 48,
- };
- static encode_aux_threshmatch _vq_auxt__44u9_p9_2 = {
- _vq_quantthresh__44u9_p9_2,
- _vq_quantmap__44u9_p9_2,
- 49,
- 49
- };
- static static_codebook _44u9_p9_2 = {
- 1, 49,
- _vq_lengthlist__44u9_p9_2,
- 1, -526909440, 1611661312, 6, 0,
- _vq_quantlist__44u9_p9_2,
- NULL,
- &_vq_auxt__44u9_p9_2,
- NULL,
- 0
- };
- static long _vq_quantlist__8u0__p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__8u0__p1_0[] = {
- 1, 4, 4, 5, 7, 7, 5, 7, 7, 5, 8, 8, 8,10,10, 7,
- 10,10, 5, 8, 8, 7,10,10, 8,10,10, 4, 9, 8, 8,11,
- 11, 8,11,11, 7,11,11,10,11,13,10,13,13, 7,11,11,
- 10,13,12,10,13,13, 5, 9, 8, 8,11,11, 8,11,11, 7,
- 11,11, 9,13,13,10,12,13, 7,11,11,10,13,13,10,13,
- 11,
- };
- static float _vq_quantthresh__8u0__p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__8u0__p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__8u0__p1_0 = {
- _vq_quantthresh__8u0__p1_0,
- _vq_quantmap__8u0__p1_0,
- 3,
- 3
- };
- static static_codebook _8u0__p1_0 = {
- 4, 81,
- _vq_lengthlist__8u0__p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__8u0__p1_0,
- NULL,
- &_vq_auxt__8u0__p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u0__p2_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__8u0__p2_0[] = {
- 2, 4, 4, 5, 6, 6, 5, 6, 6, 5, 7, 7, 6, 7, 8, 6,
- 7, 8, 5, 7, 7, 6, 8, 8, 7, 9, 7, 5, 7, 7, 7, 9,
- 9, 7, 8, 8, 6, 9, 8, 7, 7,10, 8,10,10, 6, 8, 8,
- 8,10, 8, 8,10,10, 5, 7, 7, 7, 8, 8, 7, 8, 9, 6,
- 8, 8, 8,10,10, 8, 8,10, 6, 8, 9, 8,10,10, 7,10,
- 8,
- };
- static float _vq_quantthresh__8u0__p2_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__8u0__p2_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__8u0__p2_0 = {
- _vq_quantthresh__8u0__p2_0,
- _vq_quantmap__8u0__p2_0,
- 3,
- 3
- };
- static static_codebook _8u0__p2_0 = {
- 4, 81,
- _vq_lengthlist__8u0__p2_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__8u0__p2_0,
- NULL,
- &_vq_auxt__8u0__p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u0__p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__8u0__p3_0[] = {
- 1, 5, 5, 7, 7, 6, 7, 7, 9, 9, 6, 7, 7, 9, 9, 8,
- 10, 9,11,11, 8, 9, 9,11,11, 6, 8, 8,10,10, 8,10,
- 10,11,11, 8,10,10,11,11,10,11,11,12,12,10,11,11,
- 12,13, 6, 8, 8,10,10, 8,10,10,11,11, 8,10,10,11,
- 11, 9,10,11,12,12,10,11,11,12,12, 8,11,11,14,13,
- 10,12,11,15,13,10,12,11,14,14,12,13,12,16,14,12,
- 14,12,16,15, 8,11,11,13,14,10,11,12,13,15,10,11,
- 12,13,15,11,12,13,14,15,12,12,14,14,16, 5, 8, 8,
- 11,11, 9,11,11,12,12, 8,10,11,12,12,11,12,12,15,
- 14,11,12,12,14,14, 7,11,10,13,12,10,11,12,13,14,
- 10,12,12,14,13,12,13,13,14,15,12,13,13,15,15, 7,
- 10,11,12,13,10,12,11,14,13,10,12,13,13,15,12,13,
- 12,14,14,11,13,13,15,16, 9,12,12,15,14,11,13,13,
- 15,16,11,13,13,16,16,13,14,15,15,15,12,14,15,17,
- 16, 9,12,12,14,15,11,13,13,15,16,11,13,13,16,18,
- 13,14,14,17,16,13,15,15,17,18, 5, 8, 9,11,11, 8,
- 11,11,12,12, 8,10,11,12,12,11,12,12,14,14,11,12,
- 12,14,15, 7,11,10,12,13,10,12,12,14,13,10,11,12,
- 13,14,11,13,13,15,14,12,13,13,14,15, 7,10,11,13,
- 13,10,12,12,13,14,10,12,12,13,13,11,13,13,16,16,
- 12,13,13,15,14, 9,12,12,16,15,10,13,13,15,15,11,
- 13,13,17,15,12,15,15,18,17,13,14,14,15,16, 9,12,
- 12,15,15,11,13,13,15,16,11,13,13,15,15,12,15,15,
- 16,16,13,15,14,17,15, 7,11,11,15,15,10,13,13,16,
- 15,10,13,13,15,16,14,15,15,17,19,13,15,14,15,18,
- 9,12,12,16,16,11,13,14,17,16,11,13,13,17,16,15,
- 15,16,17,19,13,15,16, 0,18, 9,12,12,16,15,11,14,
- 13,17,17,11,13,14,16,16,15,16,16,19,18,13,15,15,
- 17,19,11,14,14,19,16,12,14,15, 0,18,12,16,15,18,
- 17,15,15,18,16,19,14,15,17,19,19,11,14,14,18,19,
- 13,15,14,19,19,12,16,15,18,17,15,17,15, 0,16,14,
- 17,16,19, 0, 7,11,11,14,14,10,12,12,15,15,10,13,
- 13,16,15,13,15,15,17, 0,14,15,15,16,19, 9,12,12,
- 16,16,11,14,14,16,16,11,13,13,16,16,14,17,16,19,
- 0,14,18,17,17,19, 9,12,12,15,16,11,13,13,15,17,
- 12,14,13,19,16,13,15,15,17,19,15,17,16,17,19,11,
- 14,14,19,16,12,15,15,19,17,13,14,15,17,19,14,16,
- 17,19,19,16,15,16,17,19,11,15,14,16,16,12,15,15,
- 19, 0,12,14,15,19,19,14,16,16, 0,18,15,19,14,18,
- 16,
- };
- static float _vq_quantthresh__8u0__p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__8u0__p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__8u0__p3_0 = {
- _vq_quantthresh__8u0__p3_0,
- _vq_quantmap__8u0__p3_0,
- 5,
- 5
- };
- static static_codebook _8u0__p3_0 = {
- 4, 625,
- _vq_lengthlist__8u0__p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__8u0__p3_0,
- NULL,
- &_vq_auxt__8u0__p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u0__p4_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__8u0__p4_0[] = {
- 3, 5, 5, 8, 8, 5, 6, 7, 9, 9, 6, 7, 6, 9, 9, 9,
- 9, 9,10,11, 9, 9, 9,11,10, 6, 7, 7,10,10, 7, 7,
- 8,10,10, 7, 8, 8,10,10,10,10,10,10,11, 9,10,10,
- 11,12, 6, 7, 7,10,10, 7, 8, 8,10,10, 7, 8, 7,10,
- 10, 9,10,10,12,11,10,10,10,11,10, 9,10,10,12,11,
- 10,10,10,13,11, 9,10,10,12,12,11,11,12,12,13,11,
- 11,11,12,13, 9,10,10,12,12,10,10,11,12,12,10,10,
- 11,12,12,11,11,11,13,13,11,12,12,13,13, 5, 7, 7,
- 10,10, 7, 8, 8,10,10, 7, 8, 8,10,10,10,11,11,12,
- 12,10,11,10,12,12, 7, 8, 8,11,11, 7, 8, 9,10,11,
- 8, 9, 9,11,11,11,10,11,10,12,10,11,11,12,13, 7,
- 8, 8,10,11, 8, 9, 8,12,10, 8, 9, 9,11,12,10,11,
- 10,13,11,10,11,11,13,12, 9,11,10,13,12,10,10,11,
- 12,12,10,11,11,13,13,12,10,13,11,14,11,12,12,15,
- 13, 9,11,11,13,13,10,11,11,13,12,10,11,11,12,14,
- 12,13,11,14,12,12,12,12,14,14, 5, 7, 7,10,10, 7,
- 8, 8,10,10, 7, 8, 8,11,10,10,11,11,12,12,10,11,
- 10,12,12, 7, 8, 8,10,11, 8, 9, 9,12,11, 8, 8, 9,
- 10,11,10,11,11,12,13,11,10,11,11,13, 6, 8, 8,10,
- 11, 8, 9, 9,11,11, 7, 9, 7,11,10,10,11,11,12,12,
- 10,11,10,13,10, 9,11,10,13,12,10,12,11,13,13,10,
- 10,11,12,13,11,12,13,15,14,11,11,13,12,13, 9,10,
- 11,12,13,10,11,11,12,13,10,11,10,13,12,12,13,13,
- 13,14,12,12,11,14,11, 8,10,10,12,13,10,11,11,13,
- 13,10,11,10,13,13,12,13,14,15,14,12,12,12,14,13,
- 9,10,10,13,12,10,10,12,13,13,10,11,11,15,12,12,
- 12,13,15,14,12,13,13,15,13, 9,10,11,12,13,10,12,
- 10,13,12,10,11,11,12,13,12,14,12,15,13,12,12,12,
- 15,14,11,12,11,14,13,11,11,12,14,14,12,13,13,14,
- 13,13,11,15,11,15,14,14,14,16,15,11,12,12,13,14,
- 11,13,11,14,14,12,12,13,14,15,12,14,12,15,12,13,
- 15,14,16,15, 8,10,10,12,12,10,10,10,12,13,10,11,
- 11,13,13,12,12,12,13,14,13,13,13,15,15, 9,10,10,
- 12,12,10,11,11,13,12,10,10,11,13,13,12,12,12,14,
- 14,12,12,13,15,14, 9,10,10,13,12,10,10,12,12,13,
- 10,11,10,13,13,12,13,13,14,14,12,13,12,14,13,11,
- 12,12,14,13,12,13,12,14,14,10,12,12,14,14,14,14,
- 14,16,14,13,12,14,12,15,10,12,12,14,15,12,13,13,
- 14,16,11,12,11,15,14,13,14,14,14,15,13,14,11,14,
- 12,
- };
- static float _vq_quantthresh__8u0__p4_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__8u0__p4_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__8u0__p4_0 = {
- _vq_quantthresh__8u0__p4_0,
- _vq_quantmap__8u0__p4_0,
- 5,
- 5
- };
- static static_codebook _8u0__p4_0 = {
- 4, 625,
- _vq_lengthlist__8u0__p4_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__8u0__p4_0,
- NULL,
- &_vq_auxt__8u0__p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u0__p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__8u0__p5_0[] = {
- 1, 4, 4, 7, 7, 7, 7, 9, 9, 4, 6, 6, 8, 7, 8, 8,
- 10,10, 4, 6, 6, 8, 8, 8, 8,10,10, 6, 8, 8, 9, 9,
- 9, 9,11,11, 7, 8, 8, 9, 9, 9, 9,11,11, 7, 8, 8,
- 9, 9,10,10,12,11, 7, 8, 8, 9, 9,10,10,11,11, 9,
- 10,10,11,11,11,12,12,12, 9,10,10,11,11,12,12,12,
- 12,
- };
- static float _vq_quantthresh__8u0__p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__8u0__p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__8u0__p5_0 = {
- _vq_quantthresh__8u0__p5_0,
- _vq_quantmap__8u0__p5_0,
- 9,
- 9
- };
- static static_codebook _8u0__p5_0 = {
- 2, 81,
- _vq_lengthlist__8u0__p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__8u0__p5_0,
- NULL,
- &_vq_auxt__8u0__p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u0__p6_0[] = {
- 6,
- 5,
- 7,
- 4,
- 8,
- 3,
- 9,
- 2,
- 10,
- 1,
- 11,
- 0,
- 12,
- };
- static long _vq_lengthlist__8u0__p6_0[] = {
- 1, 4, 4, 7, 7, 9, 9,11,11,12,12,16,16, 3, 6, 6,
- 9, 9,11,11,12,12,13,14,18,16, 3, 6, 7, 9, 9,11,
- 11,13,12,14,14,17,16, 7, 9, 9,11,11,12,12,14,14,
- 14,14,17,16, 7, 9, 9,11,11,13,12,13,13,14,14,17,
- 0, 9,11,11,12,13,14,14,14,13,15,14,17,17, 9,11,
- 11,12,12,14,14,13,14,14,15, 0, 0,11,12,12,15,14,
- 15,14,15,14,15,16,17, 0,11,12,13,13,13,14,14,15,
- 14,15,15, 0, 0,12,14,14,15,15,14,16,15,15,17,16,
- 0,18,13,14,14,15,14,15,14,15,16,17,16, 0, 0,17,
- 17,18, 0,16,18,16, 0, 0, 0,17, 0, 0,16, 0, 0,16,
- 16, 0,15, 0,17, 0, 0, 0, 0,
- };
- static float _vq_quantthresh__8u0__p6_0[] = {
- -27.5, -22.5, -17.5, -12.5, -7.5, -2.5, 2.5, 7.5,
- 12.5, 17.5, 22.5, 27.5,
- };
- static long _vq_quantmap__8u0__p6_0[] = {
- 11, 9, 7, 5, 3, 1, 0, 2,
- 4, 6, 8, 10, 12,
- };
- static encode_aux_threshmatch _vq_auxt__8u0__p6_0 = {
- _vq_quantthresh__8u0__p6_0,
- _vq_quantmap__8u0__p6_0,
- 13,
- 13
- };
- static static_codebook _8u0__p6_0 = {
- 2, 169,
- _vq_lengthlist__8u0__p6_0,
- 1, -526516224, 1616117760, 4, 0,
- _vq_quantlist__8u0__p6_0,
- NULL,
- &_vq_auxt__8u0__p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u0__p6_1[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__8u0__p6_1[] = {
- 1, 4, 4, 6, 6, 4, 6, 5, 7, 7, 4, 5, 6, 7, 7, 6,
- 7, 7, 7, 7, 6, 7, 7, 7, 7,
- };
- static float _vq_quantthresh__8u0__p6_1[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__8u0__p6_1[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__8u0__p6_1 = {
- _vq_quantthresh__8u0__p6_1,
- _vq_quantmap__8u0__p6_1,
- 5,
- 5
- };
- static static_codebook _8u0__p6_1 = {
- 2, 25,
- _vq_lengthlist__8u0__p6_1,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__8u0__p6_1,
- NULL,
- &_vq_auxt__8u0__p6_1,
- NULL,
- 0
- };
- static long _vq_quantlist__8u0__p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__8u0__p7_0[] = {
- 1, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7,
- 7,
- };
- static float _vq_quantthresh__8u0__p7_0[] = {
- -157.5, 157.5,
- };
- static long _vq_quantmap__8u0__p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__8u0__p7_0 = {
- _vq_quantthresh__8u0__p7_0,
- _vq_quantmap__8u0__p7_0,
- 3,
- 3
- };
- static static_codebook _8u0__p7_0 = {
- 4, 81,
- _vq_lengthlist__8u0__p7_0,
- 1, -518803456, 1628680192, 2, 0,
- _vq_quantlist__8u0__p7_0,
- NULL,
- &_vq_auxt__8u0__p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u0__p7_1[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__8u0__p7_1[] = {
- 1, 5, 5, 5, 5,10,10,11,11,11,11,11,11,11,11, 5,
- 7, 6, 8, 8, 9,10,11,11,11,11,11,11,11,11, 6, 6,
- 7, 9, 7,11,10,11,11,11,11,11,11,11,11, 5, 6, 6,
- 11, 8,11,11,11,11,11,11,11,11,11,11, 5, 6, 6, 9,
- 10,11,10,11,11,11,11,11,11,11,11, 7,10,10,11,11,
- 11,11,11,11,11,11,11,11,11,11, 7,11, 8,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,
- };
- static float _vq_quantthresh__8u0__p7_1[] = {
- -136.5, -115.5, -94.5, -73.5, -52.5, -31.5, -10.5, 10.5,
- 31.5, 52.5, 73.5, 94.5, 115.5, 136.5,
- };
- static long _vq_quantmap__8u0__p7_1[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__8u0__p7_1 = {
- _vq_quantthresh__8u0__p7_1,
- _vq_quantmap__8u0__p7_1,
- 15,
- 15
- };
- static static_codebook _8u0__p7_1 = {
- 2, 225,
- _vq_lengthlist__8u0__p7_1,
- 1, -520986624, 1620377600, 4, 0,
- _vq_quantlist__8u0__p7_1,
- NULL,
- &_vq_auxt__8u0__p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__8u0__p7_2[] = {
- 10,
- 9,
- 11,
- 8,
- 12,
- 7,
- 13,
- 6,
- 14,
- 5,
- 15,
- 4,
- 16,
- 3,
- 17,
- 2,
- 18,
- 1,
- 19,
- 0,
- 20,
- };
- static long _vq_lengthlist__8u0__p7_2[] = {
- 1, 6, 5, 7, 7, 9, 9, 9, 9,10,12,12,10,11,11,10,
- 11,11,11,10,11, 6, 8, 8, 9, 9,10,10, 9,10,11,11,
- 10,11,11,11,11,10,11,11,11,11, 6, 7, 8, 9, 9, 9,
- 10,11,10,11,12,11,10,11,11,11,11,11,11,12,10, 8,
- 9, 9,10, 9,10,10, 9,10,10,10,10,10, 9,10,10,10,
- 10, 9,10,10, 9, 9, 9, 9,10,10, 9, 9,10,10,11,10,
- 9,12,10,11,10, 9,10,10,10, 8, 9, 9,10, 9,10, 9,
- 9,10,10, 9,10, 9,11,10,10,10,10,10, 9,10, 8, 8,
- 9, 9,10, 9,11, 9, 8, 9, 9,10,11,10,10,10,11,12,
- 9, 9,11, 8, 9, 8,11,10,11,10,10, 9,11,10,10,10,
- 10,10,10,10,11,11,11,11, 8, 9, 9, 9,10,10,10,11,
- 11,12,11,12,11,10,10,10,12,11,11,11,10, 8,10, 9,
- 11,10,10,11,12,10,11,12,11,11,12,11,12,12,10,11,
- 11,10, 9, 9,10,11,12,10,10,10,11,10,11,11,10,12,
- 12,10,11,10,11,12,10, 9,10,10,11,10,11,11,11,11,
- 11,12,11,11,11, 9,11,10,11,10,11,10, 9, 9,10,11,
- 11,11,10,10,11,12,12,11,12,11,11,11,12,12,12,12,
- 11, 9,11,11,12,10,11,11,11,11,11,11,12,11,11,12,
- 11,11,11,10,11,11, 9,11,10,11,11,11,10,10,10,11,
- 11,11,12,10,11,10,11,11,11,11,12, 9,11,10,11,11,
- 10,10,11,11, 9,11,11,12,10,10,10,10,10,11,11,10,
- 9,10,11,11,12,11,10,10,12,11,11,12,11,12,11,11,
- 10,10,11,11,10,12,11,10,11,10,11,10,10,10,11,11,
- 10,10,11,11,11,11,10,10,10,12,11,11,11,11,10, 9,
- 10,11,11,11,12,11,11,11,12,10,11,11,11, 9,10,11,
- 11,11,11,11,11,10,10,11,11,12,11,10,11,12,11,10,
- 10,11, 9,10,11,11,11,11,11,10,11,11,10,12,11,11,
- 11,12,11,11,11,10,10,11,11,
- };
- static float _vq_quantthresh__8u0__p7_2[] = {
- -9.5, -8.5, -7.5, -6.5, -5.5, -4.5, -3.5, -2.5,
- -1.5, -0.5, 0.5, 1.5, 2.5, 3.5, 4.5, 5.5,
- 6.5, 7.5, 8.5, 9.5,
- };
- static long _vq_quantmap__8u0__p7_2[] = {
- 19, 17, 15, 13, 11, 9, 7, 5,
- 3, 1, 0, 2, 4, 6, 8, 10,
- 12, 14, 16, 18, 20,
- };
- static encode_aux_threshmatch _vq_auxt__8u0__p7_2 = {
- _vq_quantthresh__8u0__p7_2,
- _vq_quantmap__8u0__p7_2,
- 21,
- 21
- };
- static static_codebook _8u0__p7_2 = {
- 2, 441,
- _vq_lengthlist__8u0__p7_2,
- 1, -529268736, 1611661312, 5, 0,
- _vq_quantlist__8u0__p7_2,
- NULL,
- &_vq_auxt__8u0__p7_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__8u0__single[] = {
- 4, 7,11, 9,12, 8, 7,10, 6, 4, 5, 5, 7, 5, 6,16,
- 9, 5, 5, 6, 7, 7, 9,16, 7, 4, 6, 5, 7, 5, 7,17,
- 10, 7, 7, 8, 7, 7, 8,18, 7, 5, 6, 4, 5, 4, 5,15,
- 7, 6, 7, 5, 6, 4, 5,15,12,13,18,12,17,11, 9,17,
- };
- static static_codebook _huff_book__8u0__single = {
- 2, 64,
- _huff_lengthlist__8u0__single,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- static long _vq_quantlist__8u1__p1_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__8u1__p1_0[] = {
- 1, 4, 4, 5, 7, 7, 5, 7, 7, 5, 8, 8, 7, 9,10, 7,
- 9, 9, 5, 8, 8, 7,10, 9, 7, 9, 9, 5, 8, 8, 8,10,
- 10, 8,10,10, 7,10,10, 9,10,12,10,12,12, 7,10,10,
- 9,12,11,10,12,12, 5, 8, 8, 8,10,10, 8,10,10, 7,
- 10,10,10,12,12, 9,11,12, 7,10,10,10,12,12, 9,12,
- 10,
- };
- static float _vq_quantthresh__8u1__p1_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__8u1__p1_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__8u1__p1_0 = {
- _vq_quantthresh__8u1__p1_0,
- _vq_quantmap__8u1__p1_0,
- 3,
- 3
- };
- static static_codebook _8u1__p1_0 = {
- 4, 81,
- _vq_lengthlist__8u1__p1_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__8u1__p1_0,
- NULL,
- &_vq_auxt__8u1__p1_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u1__p2_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__8u1__p2_0[] = {
- 3, 4, 5, 5, 6, 6, 5, 6, 6, 5, 7, 6, 6, 7, 8, 6,
- 7, 8, 5, 6, 6, 6, 8, 7, 6, 8, 7, 5, 6, 6, 7, 8,
- 8, 6, 7, 7, 6, 8, 7, 7, 7, 9, 8, 9, 9, 6, 7, 8,
- 7, 9, 7, 8, 9, 9, 5, 6, 6, 6, 7, 7, 7, 8, 8, 6,
- 8, 7, 8, 9, 9, 7, 7, 9, 6, 7, 8, 8, 9, 9, 7, 9,
- 7,
- };
- static float _vq_quantthresh__8u1__p2_0[] = {
- -0.5, 0.5,
- };
- static long _vq_quantmap__8u1__p2_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__8u1__p2_0 = {
- _vq_quantthresh__8u1__p2_0,
- _vq_quantmap__8u1__p2_0,
- 3,
- 3
- };
- static static_codebook _8u1__p2_0 = {
- 4, 81,
- _vq_lengthlist__8u1__p2_0,
- 1, -535822336, 1611661312, 2, 0,
- _vq_quantlist__8u1__p2_0,
- NULL,
- &_vq_auxt__8u1__p2_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u1__p3_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__8u1__p3_0[] = {
- 1, 5, 5, 7, 7, 6, 7, 7, 9, 9, 6, 7, 7, 9, 9, 8,
- 10, 9,11,11, 9, 9, 9,11,11, 6, 8, 8,10,10, 8,10,
- 10,11,11, 8, 9,10,11,11,10,11,11,12,12,10,11,11,
- 12,13, 6, 8, 8,10,10, 8,10, 9,11,11, 8,10, 9,11,
- 11,10,11,11,12,12,10,11,11,12,12, 9,11,11,14,13,
- 10,12,11,14,14,10,12,11,14,13,12,13,13,15,14,12,
- 13,13,15,14, 8,11,11,13,14,10,11,12,13,15,10,11,
- 12,14,14,12,13,13,14,15,12,13,13,14,15, 5, 8, 8,
- 11,11, 8,10,10,12,12, 8,10,10,12,12,11,12,12,14,
- 13,11,12,12,13,14, 8,10,10,12,12, 9,11,12,13,14,
- 10,12,12,13,13,12,12,13,14,14,11,13,13,15,15, 7,
- 10,10,12,12, 9,12,11,14,12,10,11,12,13,14,12,13,
- 12,14,14,12,13,13,15,16,10,12,12,15,14,11,12,13,
- 15,15,11,13,13,15,16,14,14,15,15,16,13,14,15,17,
- 15, 9,12,12,14,15,11,13,12,15,15,11,13,13,15,15,
- 13,14,13,15,14,13,14,14,17, 0, 5, 8, 8,11,11, 8,
- 10,10,12,12, 8,10,10,12,12,11,12,12,14,14,11,12,
- 12,14,14, 7,10,10,12,12,10,12,12,13,13, 9,11,12,
- 12,13,11,12,13,15,15,11,12,13,14,15, 8,10,10,12,
- 12,10,12,11,13,13,10,12,11,13,13,11,13,13,15,14,
- 12,13,12,15,13, 9,12,12,14,14,11,13,13,16,15,11,
- 12,13,16,15,13,14,15,16,16,13,13,15,15,16,10,12,
- 12,15,14,11,13,13,14,16,11,13,13,15,16,13,15,15,
- 16,17,13,15,14,16,15, 8,11,11,14,15,10,12,12,15,
- 15,10,12,12,15,16,14,15,15,16,17,13,14,14,16,16,
- 9,12,12,15,15,11,13,14,15,17,11,13,13,15,16,14,
- 15,16,19,17,13,15,15, 0,17, 9,12,12,15,15,11,14,
- 13,16,15,11,13,13,15,16,15,15,15,18,17,13,15,15,
- 17,17,11,15,14,18,16,12,14,15,17,17,12,15,15,18,
- 18,15,15,16,15,19,14,16,16, 0, 0,11,14,14,16,17,
- 12,15,14,18,17,12,15,15,18,18,15,17,15,18,16,14,
- 16,16,18,18, 7,11,11,14,14,10,12,12,15,15,10,12,
- 13,15,15,13,14,15,16,16,14,15,15,18,18, 9,12,12,
- 15,15,11,13,13,16,15,11,12,13,16,16,14,15,15,17,
- 16,15,16,16,17,17, 9,12,12,15,15,11,13,13,15,17,
- 11,14,13,16,15,13,15,15,17,17,15,15,15,18,17,11,
- 14,14,17,15,12,14,15,17,18,13,13,15,17,17,14,16,
- 16,19,18,16,15,17,17, 0,11,14,14,17,17,12,15,15,
- 18, 0,12,15,14,18,16,14,17,17,19, 0,16,18,15, 0,
- 16,
- };
- static float _vq_quantthresh__8u1__p3_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__8u1__p3_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__8u1__p3_0 = {
- _vq_quantthresh__8u1__p3_0,
- _vq_quantmap__8u1__p3_0,
- 5,
- 5
- };
- static static_codebook _8u1__p3_0 = {
- 4, 625,
- _vq_lengthlist__8u1__p3_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__8u1__p3_0,
- NULL,
- &_vq_auxt__8u1__p3_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u1__p4_0[] = {
- 2,
- 1,
- 3,
- 0,
- 4,
- };
- static long _vq_lengthlist__8u1__p4_0[] = {
- 4, 5, 5, 9, 9, 6, 7, 7, 9, 9, 6, 7, 7, 9, 9, 9,
- 9, 9,11,11, 9, 9, 9,11,11, 6, 7, 7, 9, 9, 7, 7,
- 8, 9,10, 7, 7, 8, 9,10, 9, 9,10,10,11, 9, 9,10,
- 10,12, 6, 7, 7, 9, 9, 7, 8, 7,10, 9, 7, 8, 7,10,
- 9, 9,10, 9,12,11,10,10, 9,12,10, 9,10,10,12,11,
- 9,10,10,12,11, 9,10,10,12,12,11,11,12,12,13,11,
- 11,12,12,13, 9, 9,10,12,11, 9,10,10,12,12,10,10,
- 10,12,12,11,12,11,13,12,11,12,11,13,12, 6, 7, 7,
- 9, 9, 7, 8, 8,10,10, 7, 8, 7,10, 9,10,10,10,12,
- 12,10,10,10,12,11, 7, 8, 7,10,10, 7, 7, 9,10,11,
- 8, 9, 9,11,10,10,10,11,10,12,10,10,11,12,12, 7,
- 8, 8,10,10, 7, 9, 8,11,10, 8, 8, 9,11,11,10,11,
- 10,12,11,10,11,11,12,12, 9,10,10,12,12, 9,10,10,
- 12,12,10,11,11,13,12,11,10,12,10,14,12,12,12,13,
- 14, 9,10,10,12,12, 9,11,10,12,12,10,11,11,12,12,
- 11,12,11,14,12,12,12,12,14,14, 5, 7, 7, 9, 9, 7,
- 7, 7, 9,10, 7, 8, 8,10,10,10,10,10,11,11,10,10,
- 10,12,12, 7, 8, 8,10,10, 8, 9, 8,11,10, 7, 8, 9,
- 10,11,10,10,10,11,12,10,10,11,11,13, 6, 7, 8,10,
- 10, 8, 9, 9,10,10, 7, 9, 7,11,10,10,11,10,12,12,
- 10,11,10,12,10, 9,10,10,12,12,10,11,11,13,12, 9,
- 10,10,12,12,12,12,12,14,13,11,11,12,11,14, 9,10,
- 10,11,12,10,11,11,12,13, 9,10,10,12,12,12,12,12,
- 14,13,11,12,10,14,11, 9, 9,10,11,12, 9,10,10,12,
- 12, 9,10,10,12,12,12,12,12,14,14,11,12,12,13,12,
- 9,10, 9,12,12, 9,10,11,12,13,10,11,10,13,11,12,
- 12,13,13,14,12,12,12,13,13, 9,10,10,12,12,10,11,
- 10,13,12,10,10,11,12,13,12,13,12,14,13,12,12,12,
- 13,14,11,12,11,14,13,10,10,11,13,13,12,12,12,14,
- 13,12,10,14,10,15,13,14,14,14,14,11,11,12,13,14,
- 10,12,11,13,13,12,12,12,13,15,12,13,11,15,12,13,
- 13,14,14,14, 9,10, 9,12,12, 9,10,10,12,12,10,10,
- 10,12,12,11,11,12,12,13,12,12,12,14,14, 9,10,10,
- 12,12,10,11,10,13,12,10,10,11,12,13,12,12,12,14,
- 13,12,12,13,13,14, 9,10,10,12,13,10,10,11,11,12,
- 9,11,10,13,12,12,12,12,13,14,12,13,12,14,13,11,
- 12,11,13,13,12,13,12,14,13,10,11,12,13,13,13,13,
- 13,14,15,12,11,14,12,14,11,11,12,12,13,12,12,12,
- 13,14,10,12,10,14,13,13,13,13,14,15,12,14,11,15,
- 10,
- };
- static float _vq_quantthresh__8u1__p4_0[] = {
- -1.5, -0.5, 0.5, 1.5,
- };
- static long _vq_quantmap__8u1__p4_0[] = {
- 3, 1, 0, 2, 4,
- };
- static encode_aux_threshmatch _vq_auxt__8u1__p4_0 = {
- _vq_quantthresh__8u1__p4_0,
- _vq_quantmap__8u1__p4_0,
- 5,
- 5
- };
- static static_codebook _8u1__p4_0 = {
- 4, 625,
- _vq_lengthlist__8u1__p4_0,
- 1, -533725184, 1611661312, 3, 0,
- _vq_quantlist__8u1__p4_0,
- NULL,
- &_vq_auxt__8u1__p4_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u1__p5_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__8u1__p5_0[] = {
- 1, 4, 4, 7, 7, 7, 7, 9, 9, 4, 6, 5, 8, 7, 8, 8,
- 10,10, 4, 6, 6, 8, 8, 8, 8,10,10, 7, 8, 8, 9, 9,
- 9, 9,11,11, 7, 8, 8, 9, 9, 9, 9,11,11, 8, 8, 8,
- 9, 9,10,10,12,11, 8, 8, 8, 9, 9,10,10,11,11, 9,
- 10,10,11,11,11,11,13,12, 9,10,10,11,11,12,12,12,
- 13,
- };
- static float _vq_quantthresh__8u1__p5_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__8u1__p5_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__8u1__p5_0 = {
- _vq_quantthresh__8u1__p5_0,
- _vq_quantmap__8u1__p5_0,
- 9,
- 9
- };
- static static_codebook _8u1__p5_0 = {
- 2, 81,
- _vq_lengthlist__8u1__p5_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__8u1__p5_0,
- NULL,
- &_vq_auxt__8u1__p5_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u1__p6_0[] = {
- 4,
- 3,
- 5,
- 2,
- 6,
- 1,
- 7,
- 0,
- 8,
- };
- static long _vq_lengthlist__8u1__p6_0[] = {
- 3, 4, 4, 6, 6, 7, 7, 9, 9, 4, 4, 5, 6, 6, 7, 7,
- 9, 9, 4, 4, 4, 6, 6, 7, 7, 9, 9, 6, 6, 6, 7, 7,
- 8, 8, 9, 9, 6, 6, 6, 7, 7, 8, 8, 9, 9, 7, 7, 7,
- 8, 8, 8, 9,10,10, 7, 7, 7, 8, 8, 9, 8,10,10, 9,
- 9, 9, 9, 9,10,10,10,10, 9, 9, 9, 9, 9,10,10,10,
- 10,
- };
- static float _vq_quantthresh__8u1__p6_0[] = {
- -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5, 3.5,
- };
- static long _vq_quantmap__8u1__p6_0[] = {
- 7, 5, 3, 1, 0, 2, 4, 6,
- 8,
- };
- static encode_aux_threshmatch _vq_auxt__8u1__p6_0 = {
- _vq_quantthresh__8u1__p6_0,
- _vq_quantmap__8u1__p6_0,
- 9,
- 9
- };
- static static_codebook _8u1__p6_0 = {
- 2, 81,
- _vq_lengthlist__8u1__p6_0,
- 1, -531628032, 1611661312, 4, 0,
- _vq_quantlist__8u1__p6_0,
- NULL,
- &_vq_auxt__8u1__p6_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u1__p7_0[] = {
- 1,
- 0,
- 2,
- };
- static long _vq_lengthlist__8u1__p7_0[] = {
- 1, 4, 4, 5, 7, 7, 5, 7, 7, 5, 9, 9, 8,10,10, 8,
- 10,10, 5, 9, 9, 7,10,10, 8,10,10, 4,10,10, 9,12,
- 12, 9,11,11, 7,12,11,10,11,13,10,13,13, 7,12,12,
- 10,13,12,10,13,13, 4,10,10, 9,12,12, 9,12,12, 7,
- 12,12,10,13,13,10,12,13, 7,11,12,10,13,13,10,13,
- 11,
- };
- static float _vq_quantthresh__8u1__p7_0[] = {
- -5.5, 5.5,
- };
- static long _vq_quantmap__8u1__p7_0[] = {
- 1, 0, 2,
- };
- static encode_aux_threshmatch _vq_auxt__8u1__p7_0 = {
- _vq_quantthresh__8u1__p7_0,
- _vq_quantmap__8u1__p7_0,
- 3,
- 3
- };
- static static_codebook _8u1__p7_0 = {
- 4, 81,
- _vq_lengthlist__8u1__p7_0,
- 1, -529137664, 1618345984, 2, 0,
- _vq_quantlist__8u1__p7_0,
- NULL,
- &_vq_auxt__8u1__p7_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u1__p7_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__8u1__p7_1[] = {
- 2, 4, 4, 6, 6, 7, 7, 8, 8, 8, 8, 4, 5, 5, 7, 7,
- 8, 8, 9, 9, 9, 9, 4, 5, 5, 7, 7, 8, 8, 9, 9, 9,
- 9, 6, 7, 7, 8, 8, 8, 8, 9, 9, 9, 9, 6, 7, 7, 8,
- 8, 8, 8, 9, 9, 9, 9, 8, 8, 8, 8, 8, 9, 9, 9, 9,
- 9, 9, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 8, 9, 9,
- 9, 9, 9, 9,10,10,10,10, 8, 9, 9, 9, 9, 9, 9,10,
- 10,10,10, 8, 9, 9, 9, 9, 9, 9,10,10,10,10, 8, 9,
- 9, 9, 9, 9, 9,10,10,10,10,
- };
- static float _vq_quantthresh__8u1__p7_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__8u1__p7_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__8u1__p7_1 = {
- _vq_quantthresh__8u1__p7_1,
- _vq_quantmap__8u1__p7_1,
- 11,
- 11
- };
- static static_codebook _8u1__p7_1 = {
- 2, 121,
- _vq_lengthlist__8u1__p7_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__8u1__p7_1,
- NULL,
- &_vq_auxt__8u1__p7_1,
- NULL,
- 0
- };
- static long _vq_quantlist__8u1__p8_0[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__8u1__p8_0[] = {
- 1, 4, 4, 6, 6, 8, 8,10,10,11,11, 4, 6, 6, 7, 7,
- 9, 9,11,11,13,12, 4, 6, 6, 7, 7, 9, 9,11,11,12,
- 12, 6, 7, 7, 9, 9,11,11,12,12,13,13, 6, 7, 7, 9,
- 9,11,11,12,12,13,13, 8, 9, 9,11,11,12,12,13,13,
- 14,14, 8, 9, 9,11,11,12,12,13,13,14,14, 9,11,11,
- 12,12,13,13,14,14,15,15, 9,11,11,12,12,13,13,14,
- 14,15,14,11,12,12,13,13,14,14,15,15,16,16,11,12,
- 12,13,13,14,14,15,15,15,15,
- };
- static float _vq_quantthresh__8u1__p8_0[] = {
- -49.5, -38.5, -27.5, -16.5, -5.5, 5.5, 16.5, 27.5,
- 38.5, 49.5,
- };
- static long _vq_quantmap__8u1__p8_0[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__8u1__p8_0 = {
- _vq_quantthresh__8u1__p8_0,
- _vq_quantmap__8u1__p8_0,
- 11,
- 11
- };
- static static_codebook _8u1__p8_0 = {
- 2, 121,
- _vq_lengthlist__8u1__p8_0,
- 1, -524582912, 1618345984, 4, 0,
- _vq_quantlist__8u1__p8_0,
- NULL,
- &_vq_auxt__8u1__p8_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u1__p8_1[] = {
- 5,
- 4,
- 6,
- 3,
- 7,
- 2,
- 8,
- 1,
- 9,
- 0,
- 10,
- };
- static long _vq_lengthlist__8u1__p8_1[] = {
- 2, 5, 5, 6, 6, 7, 7, 7, 7, 8, 8, 5, 6, 6, 7, 7,
- 7, 7, 8, 8, 8, 8, 5, 6, 6, 7, 7, 7, 7, 8, 8, 8,
- 8, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 6, 7, 7, 7,
- 7, 8, 8, 8, 8, 8, 8, 7, 7, 7, 8, 8, 8, 8, 8, 8,
- 8, 8, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8,
- 8, 8, 8, 8, 9, 8, 9, 9, 7, 8, 8, 8, 8, 8, 8, 9,
- 8, 9, 9, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 8, 8,
- 8, 8, 8, 8, 8, 9, 9, 9, 9,
- };
- static float _vq_quantthresh__8u1__p8_1[] = {
- -4.5, -3.5, -2.5, -1.5, -0.5, 0.5, 1.5, 2.5,
- 3.5, 4.5,
- };
- static long _vq_quantmap__8u1__p8_1[] = {
- 9, 7, 5, 3, 1, 0, 2, 4,
- 6, 8, 10,
- };
- static encode_aux_threshmatch _vq_auxt__8u1__p8_1 = {
- _vq_quantthresh__8u1__p8_1,
- _vq_quantmap__8u1__p8_1,
- 11,
- 11
- };
- static static_codebook _8u1__p8_1 = {
- 2, 121,
- _vq_lengthlist__8u1__p8_1,
- 1, -531365888, 1611661312, 4, 0,
- _vq_quantlist__8u1__p8_1,
- NULL,
- &_vq_auxt__8u1__p8_1,
- NULL,
- 0
- };
- static long _vq_quantlist__8u1__p9_0[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__8u1__p9_0[] = {
- 1, 4, 4,11,11,11,11,11,11,11,11,11,11,11,11, 3,
- 11, 8,11,11,11,11,11,11,11,11,11,11,11,11, 3, 9,
- 9,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,
- 11,11,11,11,11,11,11,11,11,11,10,10,10,10,10,10,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,
- };
- static float _vq_quantthresh__8u1__p9_0[] = {
- -1657.5, -1402.5, -1147.5, -892.5, -637.5, -382.5, -127.5, 127.5,
- 382.5, 637.5, 892.5, 1147.5, 1402.5, 1657.5,
- };
- static long _vq_quantmap__8u1__p9_0[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__8u1__p9_0 = {
- _vq_quantthresh__8u1__p9_0,
- _vq_quantmap__8u1__p9_0,
- 15,
- 15
- };
- static static_codebook _8u1__p9_0 = {
- 2, 225,
- _vq_lengthlist__8u1__p9_0,
- 1, -514071552, 1627381760, 4, 0,
- _vq_quantlist__8u1__p9_0,
- NULL,
- &_vq_auxt__8u1__p9_0,
- NULL,
- 0
- };
- static long _vq_quantlist__8u1__p9_1[] = {
- 7,
- 6,
- 8,
- 5,
- 9,
- 4,
- 10,
- 3,
- 11,
- 2,
- 12,
- 1,
- 13,
- 0,
- 14,
- };
- static long _vq_lengthlist__8u1__p9_1[] = {
- 1, 4, 4, 7, 7, 9, 9, 7, 7, 8, 8,10,10,11,11, 4,
- 7, 7, 9, 9,10,10, 8, 8,10,10,10,11,10,11, 4, 7,
- 7, 9, 9,10,10, 8, 8,10, 9,11,11,11,11, 7, 9, 9,
- 12,12,11,12,10,10,11,10,12,11,11,11, 7, 9, 9,11,
- 11,13,12, 9, 9,11,10,11,11,12,11, 9,10,10,12,12,
- 14,14,10,10,11,12,12,11,11,11, 9,10,11,11,13,14,
- 13,10,11,11,11,12,11,12,12, 7, 8, 8,10, 9,11,10,
- 11,12,12,11,12,14,12,13, 7, 8, 8, 9,10,10,11,12,
- 12,12,11,12,12,12,13, 9, 9, 9,11,11,13,12,12,12,
- 12,11,12,12,13,12, 8,10,10,11,10,11,12,12,12,12,
- 12,12,14,12,12, 9,11,11,11,12,12,12,12,13,13,12,
- 12,13,13,12,10,11,11,12,11,12,12,12,11,12,13,12,
- 12,12,13,11,11,12,12,12,13,12,12,11,12,13,13,12,
- 12,13,12,11,12,12,13,13,12,13,12,13,13,13,13,14,
- 13,
- };
- static float _vq_quantthresh__8u1__p9_1[] = {
- -110.5, -93.5, -76.5, -59.5, -42.5, -25.5, -8.5, 8.5,
- 25.5, 42.5, 59.5, 76.5, 93.5, 110.5,
- };
- static long _vq_quantmap__8u1__p9_1[] = {
- 13, 11, 9, 7, 5, 3, 1, 0,
- 2, 4, 6, 8, 10, 12, 14,
- };
- static encode_aux_threshmatch _vq_auxt__8u1__p9_1 = {
- _vq_quantthresh__8u1__p9_1,
- _vq_quantmap__8u1__p9_1,
- 15,
- 15
- };
- static static_codebook _8u1__p9_1 = {
- 2, 225,
- _vq_lengthlist__8u1__p9_1,
- 1, -522338304, 1620115456, 4, 0,
- _vq_quantlist__8u1__p9_1,
- NULL,
- &_vq_auxt__8u1__p9_1,
- NULL,
- 0
- };
- static long _vq_quantlist__8u1__p9_2[] = {
- 8,
- 7,
- 9,
- 6,
- 10,
- 5,
- 11,
- 4,
- 12,
- 3,
- 13,
- 2,
- 14,
- 1,
- 15,
- 0,
- 16,
- };
- static long _vq_lengthlist__8u1__p9_2[] = {
- 2, 5, 4, 6, 6, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9,
- 9, 5, 6, 6, 7, 7, 8, 8, 9, 8, 9, 9, 9, 9, 9, 9,
- 9, 9, 5, 6, 6, 7, 7, 8, 8, 8, 9, 9, 9, 9, 9, 9,
- 9, 9, 9, 7, 7, 7, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9,
- 9,10,10, 9, 7, 7, 7, 8, 8, 9, 9, 9, 9, 9, 9, 9,
- 9, 9, 9,10,10, 8, 8, 8, 9, 9, 9, 9,10,10,10, 9,
- 10,10,10,10,10,10, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9,
- 10,10,10,10,10,10,10, 9, 9, 9, 9, 9, 9, 9, 9,10,
- 10,10,10,10,10,10,10,10, 9, 9, 9, 9, 9,10,10,10,
- 10,10,10,10,10,10,10,10,10, 9, 9, 9, 9, 9, 9,10,
- 10,10,10,10,10,10,10,10,10,10, 9, 9, 9, 9, 9,10,
- 10,10,10,10,10,10,10,10,10,10,10, 9, 9, 9, 9,10,
- 10,10,10,10,10,10,10,10,10,10,10,10, 9, 9, 9, 9,
- 9,10,10,10,10,10,10,10,10,10,10,10,10, 9, 9, 9,
- 10,10,10,10,10,10,10,10,10,10,10,10,10,10, 9,10,
- 9, 9, 9,10,10,10,10,10,10,10,10,10,10,10,10, 9,
- 10, 9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 9, 9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,
- 10,
- };
- static float _vq_quantthresh__8u1__p9_2[] = {
- -7.5, -6.5, -5.5, -4.5, -3.5, -2.5, -1.5, -0.5,
- 0.5, 1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5,
- };
- static long _vq_quantmap__8u1__p9_2[] = {
- 15, 13, 11, 9, 7, 5, 3, 1,
- 0, 2, 4, 6, 8, 10, 12, 14,
- 16,
- };
- static encode_aux_threshmatch _vq_auxt__8u1__p9_2 = {
- _vq_quantthresh__8u1__p9_2,
- _vq_quantmap__8u1__p9_2,
- 17,
- 17
- };
- static static_codebook _8u1__p9_2 = {
- 2, 289,
- _vq_lengthlist__8u1__p9_2,
- 1, -529530880, 1611661312, 5, 0,
- _vq_quantlist__8u1__p9_2,
- NULL,
- &_vq_auxt__8u1__p9_2,
- NULL,
- 0
- };
- static long _huff_lengthlist__8u1__single[] = {
- 4, 7,13, 9,15, 9,16, 8,10,13, 7, 5, 8, 6, 9, 7,
- 10, 7,10,11,11, 6, 7, 8, 8, 9, 9, 9,12,16, 8, 5,
- 8, 6, 8, 6, 9, 7,10,12,11, 7, 7, 7, 6, 7, 7, 7,
- 11,15, 7, 5, 8, 6, 7, 5, 7, 6, 9,13,13, 9, 9, 8,
- 6, 6, 5, 5, 9,14, 8, 6, 8, 6, 6, 4, 5, 3, 5,13,
- 9, 9,11, 8,10, 7, 8, 4, 5,12,11,16,17,15,17,12,
- 13, 8, 8,15,
- };
- static static_codebook _huff_book__8u1__single = {
- 2, 100,
- _huff_lengthlist__8u1__single,
- 0, 0, 0, 0, 0,
- NULL,
- NULL,
- NULL,
- NULL,
- 0
- };
- /***** residue backends *********************************************/
- static vorbis_info_residue0 _residue_44_low_un={
- 0,-1, -1, 8,-1,
- {0},
- {-1},
- { .5, 1.5, 1.5, 2.5, 2.5, 4.5, 28.5},
- { -1, 25, -1, 45, -1, -1, -1}
- };
- static vorbis_info_residue0 _residue_44_mid_un={
- 0,-1, -1, 10,-1,
- /* 0 1 2 3 4 5 6 7 8 9 */
- {0},
- {-1},
- { .5, 1.5, 1.5, 2.5, 2.5, 4.5, 4.5, 16.5, 60.5},
- { -1, 30, -1, 50, -1, 80, -1, -1, -1}
- };
- static vorbis_info_residue0 _residue_44_hi_un={
- 0,-1, -1, 10,-1,
- /* 0 1 2 3 4 5 6 7 8 9 */
- {0},
- {-1},
- { .5, 1.5, 2.5, 4.5, 8.5, 16.5, 32.5, 71.5,157.5},
- { -1, -1, -1, -1, -1, -1, -1, -1, -1}
- };
- /* mapping conventions:
- only one submap (this would change for efficient 5.1 support for example)*/
- /* Four psychoacoustic profiles are used, one for each blocktype */
- static vorbis_info_mapping0 _map_nominal_u[2]={
- {1, {0,0}, {0}, {0}, 0,{0},{0}},
- {1, {0,0}, {1}, {1}, 0,{0},{0}}
- };
- static static_bookblock _resbook_44u_0={
- {
- {0},
- {0,0,&_44u0__p1_0},
- {0,0,&_44u0__p2_0},
- {0,0,&_44u0__p3_0},
- {0,0,&_44u0__p4_0},
- {0,0,&_44u0__p5_0},
- {&_44u0__p6_0,&_44u0__p6_1},
- {&_44u0__p7_0,&_44u0__p7_1,&_44u0__p7_2}
- }
- };
- static static_bookblock _resbook_44u_1={
- {
- {0},
- {0,0,&_44u1__p1_0},
- {0,0,&_44u1__p2_0},
- {0,0,&_44u1__p3_0},
- {0,0,&_44u1__p4_0},
- {0,0,&_44u1__p5_0},
- {&_44u1__p6_0,&_44u1__p6_1},
- {&_44u1__p7_0,&_44u1__p7_1,&_44u1__p7_2}
- }
- };
- static static_bookblock _resbook_44u_2={
- {
- {0},
- {0,0,&_44u2__p1_0},
- {0,0,&_44u2__p2_0},
- {0,0,&_44u2__p3_0},
- {0,0,&_44u2__p4_0},
- {0,0,&_44u2__p5_0},
- {&_44u2__p6_0,&_44u2__p6_1},
- {&_44u2__p7_0,&_44u2__p7_1,&_44u2__p7_2}
- }
- };
- static static_bookblock _resbook_44u_3={
- {
- {0},
- {0,0,&_44u3__p1_0},
- {0,0,&_44u3__p2_0},
- {0,0,&_44u3__p3_0},
- {0,0,&_44u3__p4_0},
- {0,0,&_44u3__p5_0},
- {&_44u3__p6_0,&_44u3__p6_1},
- {&_44u3__p7_0,&_44u3__p7_1,&_44u3__p7_2}
- }
- };
- static static_bookblock _resbook_44u_4={
- {
- {0},
- {0,0,&_44u4__p1_0},
- {0,0,&_44u4__p2_0},
- {0,0,&_44u4__p3_0},
- {0,0,&_44u4__p4_0},
- {0,0,&_44u4__p5_0},
- {&_44u4__p6_0,&_44u4__p6_1},
- {&_44u4__p7_0,&_44u4__p7_1,&_44u4__p7_2}
- }
- };
- static static_bookblock _resbook_44u_5={
- {
- {0},
- {0,0,&_44u5__p1_0},
- {0,0,&_44u5__p2_0},
- {0,0,&_44u5__p3_0},
- {0,0,&_44u5__p4_0},
- {0,0,&_44u5__p5_0},
- {0,0,&_44u5__p6_0},
- {&_44u5__p7_0,&_44u5__p7_1},
- {&_44u5__p8_0,&_44u5__p8_1},
- {&_44u5__p9_0,&_44u5__p9_1,&_44u5__p9_2}
- }
- };
- static static_bookblock _resbook_44u_6={
- {
- {0},
- {0,0,&_44u6__p1_0},
- {0,0,&_44u6__p2_0},
- {0,0,&_44u6__p3_0},
- {0,0,&_44u6__p4_0},
- {0,0,&_44u6__p5_0},
- {0,0,&_44u6__p6_0},
- {&_44u6__p7_0,&_44u6__p7_1},
- {&_44u6__p8_0,&_44u6__p8_1},
- {&_44u6__p9_0,&_44u6__p9_1,&_44u6__p9_2}
- }
- };
- static static_bookblock _resbook_44u_7={
- {
- {0},
- {0,0,&_44u7__p1_0},
- {0,0,&_44u7__p2_0},
- {0,0,&_44u7__p3_0},
- {0,0,&_44u7__p4_0},
- {0,0,&_44u7__p5_0},
- {0,0,&_44u7__p6_0},
- {&_44u7__p7_0,&_44u7__p7_1},
- {&_44u7__p8_0,&_44u7__p8_1},
- {&_44u7__p9_0,&_44u7__p9_1,&_44u7__p9_2}
- }
- };
- static static_bookblock _resbook_44u_8={
- {
- {0},
- {0,0,&_44u8_p1_0},
- {0,0,&_44u8_p2_0},
- {0,0,&_44u8_p3_0},
- {0,0,&_44u8_p4_0},
- {&_44u8_p5_0,&_44u8_p5_1},
- {&_44u8_p6_0,&_44u8_p6_1},
- {&_44u8_p7_0,&_44u8_p7_1},
- {&_44u8_p8_0,&_44u8_p8_1},
- {&_44u8_p9_0,&_44u8_p9_1,&_44u8_p9_2}
- }
- };
- static static_bookblock _resbook_44u_9={
- {
- {0},
- {0,0,&_44u9_p1_0},
- {0,0,&_44u9_p2_0},
- {0,0,&_44u9_p3_0},
- {0,0,&_44u9_p4_0},
- {&_44u9_p5_0,&_44u9_p5_1},
- {&_44u9_p6_0,&_44u9_p6_1},
- {&_44u9_p7_0,&_44u9_p7_1},
- {&_44u9_p8_0,&_44u9_p8_1},
- {&_44u9_p9_0,&_44u9_p9_1,&_44u9_p9_2}
- }
- };
- static vorbis_residue_template _res_44u_0[]={
- {1,0, &_residue_44_low_un,
- &_huff_book__44u0__short,&_huff_book__44u0__short,
- &_resbook_44u_0,&_resbook_44u_0},
- {1,0, &_residue_44_low_un,
- &_huff_book__44u0__long,&_huff_book__44u0__long,
- &_resbook_44u_0,&_resbook_44u_0}
- };
- static vorbis_residue_template _res_44u_1[]={
- {1,0, &_residue_44_low_un,
- &_huff_book__44u1__short,&_huff_book__44u1__short,
- &_resbook_44u_1,&_resbook_44u_1},
- {1,0, &_residue_44_low_un,
- &_huff_book__44u1__long,&_huff_book__44u1__long,
- &_resbook_44u_1,&_resbook_44u_1}
- };
- static vorbis_residue_template _res_44u_2[]={
- {1,0, &_residue_44_low_un,
- &_huff_book__44u2__short,&_huff_book__44u2__short,
- &_resbook_44u_2,&_resbook_44u_2},
- {1,0, &_residue_44_low_un,
- &_huff_book__44u2__long,&_huff_book__44u2__long,
- &_resbook_44u_2,&_resbook_44u_2}
- };
- static vorbis_residue_template _res_44u_3[]={
- {1,0, &_residue_44_low_un,
- &_huff_book__44u3__short,&_huff_book__44u3__short,
- &_resbook_44u_3,&_resbook_44u_3},
- {1,0, &_residue_44_low_un,
- &_huff_book__44u3__long,&_huff_book__44u3__long,
- &_resbook_44u_3,&_resbook_44u_3}
- };
- static vorbis_residue_template _res_44u_4[]={
- {1,0, &_residue_44_low_un,
- &_huff_book__44u4__short,&_huff_book__44u4__short,
- &_resbook_44u_4,&_resbook_44u_4},
- {1,0, &_residue_44_low_un,
- &_huff_book__44u4__long,&_huff_book__44u4__long,
- &_resbook_44u_4,&_resbook_44u_4}
- };
- static vorbis_residue_template _res_44u_5[]={
- {1,0, &_residue_44_mid_un,
- &_huff_book__44u5__short,&_huff_book__44u5__short,
- &_resbook_44u_5,&_resbook_44u_5},
- {1,0, &_residue_44_mid_un,
- &_huff_book__44u5__long,&_huff_book__44u5__long,
- &_resbook_44u_5,&_resbook_44u_5}
- };
- static vorbis_residue_template _res_44u_6[]={
- {1,0, &_residue_44_mid_un,
- &_huff_book__44u6__short,&_huff_book__44u6__short,
- &_resbook_44u_6,&_resbook_44u_6},
- {1,0, &_residue_44_mid_un,
- &_huff_book__44u6__long,&_huff_book__44u6__long,
- &_resbook_44u_6,&_resbook_44u_6}
- };
- static vorbis_residue_template _res_44u_7[]={
- {1,0, &_residue_44_mid_un,
- &_huff_book__44u7__short,&_huff_book__44u7__short,
- &_resbook_44u_7,&_resbook_44u_7},
- {1,0, &_residue_44_mid_un,
- &_huff_book__44u7__long,&_huff_book__44u7__long,
- &_resbook_44u_7,&_resbook_44u_7}
- };
- static vorbis_residue_template _res_44u_8[]={
- {1,0, &_residue_44_hi_un,
- &_huff_book__44u8__short,&_huff_book__44u8__short,
- &_resbook_44u_8,&_resbook_44u_8},
- {1,0, &_residue_44_hi_un,
- &_huff_book__44u8__long,&_huff_book__44u8__long,
- &_resbook_44u_8,&_resbook_44u_8}
- };
- static vorbis_residue_template _res_44u_9[]={
- {1,0, &_residue_44_hi_un,
- &_huff_book__44u9__short,&_huff_book__44u9__short,
- &_resbook_44u_9,&_resbook_44u_9},
- {1,0, &_residue_44_hi_un,
- &_huff_book__44u9__long,&_huff_book__44u9__long,
- &_resbook_44u_9,&_resbook_44u_9}
- };
- static vorbis_mapping_template _mapres_template_44_uncoupled[]={
- { _map_nominal_u, _res_44u_0 }, /* 0 */
- { _map_nominal_u, _res_44u_1 }, /* 1 */
- { _map_nominal_u, _res_44u_2 }, /* 2 */
- { _map_nominal_u, _res_44u_3 }, /* 3 */
- { _map_nominal_u, _res_44u_4 }, /* 4 */
- { _map_nominal_u, _res_44u_5 }, /* 5 */
- { _map_nominal_u, _res_44u_6 }, /* 6 */
- { _map_nominal_u, _res_44u_7 }, /* 7 */
- { _map_nominal_u, _res_44u_8 }, /* 8 */
- { _map_nominal_u, _res_44u_9 }, /* 9 */
- };
- static double rate_mapping_44_un[11]={
- 48000.,60000.,70000.,80000.,86000.,
- 96000.,110000.,120000.,140000.,160000.,240001.
- };
- static double rate_mapping_44_un_low[2]={
- 32000.,48000.
- };
- ve_setup_data_template ve_setup_44_uncoupled={
- 10,
- rate_mapping_44_un,
- quality_mapping_44,
- -1,
- 40000,
- 50000,
-
- blocksize_short_44,
- blocksize_long_44,
- _psy_tone_masteratt_44,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_otherblock,
- _vp_tonemask_adj_longblock,
- _vp_tonemask_adj_otherblock,
- _psy_noiseguards_44,
- _psy_noisebias_impulse,
- _psy_noisebias_padding,
- _psy_noisebias_trans,
- _psy_noisebias_long,
- _psy_noise_suppress,
-
- _psy_compand_44,
- _psy_compand_short_mapping,
- _psy_compand_long_mapping,
- {_noise_start_short_44,_noise_start_long_44},
- {_noise_part_short_44,_noise_part_long_44},
- _noise_thresh_44_2,
- _psy_ath_floater,
- _psy_ath_abs,
-
- _psy_lowpass_44,
- _psy_global_44,
- _global_mapping_44,
- NULL,
- _floor_books,
- _floor,
- _floor_short_mapping_44,
- _floor_long_mapping_44,
- _mapres_template_44_uncoupled
- };
- ve_setup_data_template ve_setup_44_uncoupled_low={
- 1,
- rate_mapping_44_un_low,
- quality_mapping_44_stereo_low,
- -1,
- 40000,
- 50000,
-
- blocksize_short_44_low,
- blocksize_long_44_low,
- _psy_tone_masteratt_44_low,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_otherblock,
- _vp_tonemask_adj_longblock,
- _vp_tonemask_adj_otherblock,
- _psy_noiseguards_44,
- _psy_noisebias_trans_low,
- _psy_noisebias_trans_low,
- _psy_noisebias_trans_low,
- _psy_noisebias_long_low,
- _psy_noise_suppress,
-
- _psy_compand_44,
- _psy_compand_short_mapping,
- _psy_compand_long_mapping,
- {_noise_start_short_44_low,_noise_start_long_44_low},
- {_noise_part_short_44,_noise_part_long_44},
- _noise_thresh_44_2,
- _psy_ath_floater,
- _psy_ath_abs,
-
- _psy_lowpass_44_low,
- _psy_global_44,
- _global_mapping_44_low,
- NULL,
- _floor_books,
- _floor,
- _floor_short_mapping_44_low,
- _floor_long_mapping_44_low,
- _mapres_template_44_uncoupled
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: toplevel settings for 32kHz
- last mod: $Id: setup_32.h,v 1.4 2002/07/13 06:12:49 xiphmont Exp $
- ********************************************************************/
- static double rate_mapping_32[11]={
- 28000.,35000.,45000.,56000.,60000.,
- 75000.,90000.,100000.,115000.,150000.,190000.,
- };
- static double rate_mapping_32_un[11]={
- 42000.,52000.,64000.,72000.,78000.,
- 86000.,92000.,110000.,120000.,140000.,190000.,
- };
- static double rate_mapping_32_low[2]={
- 20000.,28000.
- };
- static double rate_mapping_32_un_low[2]={
- 24000.,42000.,
- };
- static double _psy_lowpass_32_low[2]={
- 13.,13.,
- };
- static double _psy_lowpass_32[11]={
- 13.,13.,14.,15.,99.,99.,99.,99.,99.,99.,99.
- };
- ve_setup_data_template ve_setup_32_stereo={
- 10,
- rate_mapping_32,
- quality_mapping_44,
- 2,
- 26000,
- 40000,
-
- blocksize_short_44,
- blocksize_long_44,
- _psy_tone_masteratt_44,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_otherblock,
- _vp_tonemask_adj_longblock,
- _vp_tonemask_adj_otherblock,
- _psy_noiseguards_44,
- _psy_noisebias_impulse,
- _psy_noisebias_padding,
- _psy_noisebias_trans,
- _psy_noisebias_long,
- _psy_noise_suppress,
-
- _psy_compand_44,
- _psy_compand_short_mapping,
- _psy_compand_long_mapping,
- {_noise_start_short_44,_noise_start_long_44},
- {_noise_part_short_44,_noise_part_long_44},
- _noise_thresh_44,
- _psy_ath_floater,
- _psy_ath_abs,
-
- _psy_lowpass_32,
- _psy_global_44,
- _global_mapping_44,
- _psy_stereo_modes_44,
- _floor_books,
- _floor,
- _floor_short_mapping_44,
- _floor_long_mapping_44,
- _mapres_template_44_stereo
- };
- ve_setup_data_template ve_setup_32_uncoupled={
- 10,
- rate_mapping_32_un,
- quality_mapping_44,
- -1,
- 26000,
- 40000,
-
- blocksize_short_44,
- blocksize_long_44,
- _psy_tone_masteratt_44,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_otherblock,
- _vp_tonemask_adj_longblock,
- _vp_tonemask_adj_otherblock,
- _psy_noiseguards_44,
- _psy_noisebias_impulse,
- _psy_noisebias_padding,
- _psy_noisebias_trans,
- _psy_noisebias_long,
- _psy_noise_suppress,
-
- _psy_compand_44,
- _psy_compand_short_mapping,
- _psy_compand_long_mapping,
- {_noise_start_short_44,_noise_start_long_44},
- {_noise_part_short_44,_noise_part_long_44},
- _noise_thresh_44_2,
- _psy_ath_floater,
- _psy_ath_abs,
-
- _psy_lowpass_32,
- _psy_global_44,
- _global_mapping_44,
- NULL,
- _floor_books,
- _floor,
- _floor_short_mapping_44,
- _floor_long_mapping_44,
- _mapres_template_44_uncoupled
- };
- ve_setup_data_template ve_setup_32_stereo_low={
- 1,
- rate_mapping_32_low,
- quality_mapping_44_stereo_low,
- 2,
- 26000,
- 40000,
-
- blocksize_short_44_low,
- blocksize_long_44_low,
- _psy_tone_masteratt_44_low,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_otherblock,
- _vp_tonemask_adj_longblock,
- _vp_tonemask_adj_otherblock,
- _psy_noiseguards_44,
- _psy_noisebias_trans_low,
- _psy_noisebias_trans_low,
- _psy_noisebias_trans_low,
- _psy_noisebias_long_low,
- _psy_noise_suppress,
-
- _psy_compand_44,
- _psy_compand_short_mapping,
- _psy_compand_long_mapping,
- {_noise_start_short_44_low,_noise_start_long_44_low},
- {_noise_part_short_44,_noise_part_long_44},
- _noise_thresh_44,
- _psy_ath_floater,
- _psy_ath_abs,
-
- _psy_lowpass_32_low,
- _psy_global_44,
- _global_mapping_44,
- _psy_stereo_modes_44_low,
- _floor_books,
- _floor,
- _floor_short_mapping_44_low,
- _floor_long_mapping_44_low,
- _mapres_template_44_stereo
- };
- ve_setup_data_template ve_setup_32_uncoupled_low={
- 1,
- rate_mapping_32_un_low,
- quality_mapping_44_stereo_low,
- -1,
- 26000,
- 40000,
-
- blocksize_short_44_low,
- blocksize_long_44_low,
- _psy_tone_masteratt_44_low,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_otherblock,
- _vp_tonemask_adj_longblock,
- _vp_tonemask_adj_otherblock,
- _psy_noiseguards_44,
- _psy_noisebias_trans_low,
- _psy_noisebias_trans_low,
- _psy_noisebias_trans_low,
- _psy_noisebias_long_low,
- _psy_noise_suppress,
-
- _psy_compand_44,
- _psy_compand_short_mapping,
- _psy_compand_long_mapping,
- {_noise_start_short_44_low,_noise_start_long_44_low},
- {_noise_part_short_44,_noise_part_long_44},
- _noise_thresh_44_2,
- _psy_ath_floater,
- _psy_ath_abs,
-
- _psy_lowpass_32_low,
- _psy_global_44,
- _global_mapping_44,
- NULL,
- _floor_books,
- _floor,
- _floor_short_mapping_44_low,
- _floor_long_mapping_44_low,
- _mapres_template_44_uncoupled
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: 8kHz settings
- last mod: $Id: setup_8.h,v 1.2 2002/07/11 06:41:05 xiphmont Exp $
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: 8kHz psychoacoustic settings
- last mod: $Id: psych_8.h,v 1.3 2003/09/02 06:05:47 xiphmont Exp $
- ********************************************************************/
- static att3 _psy_tone_masteratt_8[3]={
- {{ 32, 25, 12}, 0, 0}, /* 0 */
- {{ 30, 25, 12}, 0, 0}, /* 0 */
- {{ 20, 0, -14}, 0, 0}, /* 0 */
- };
- static vp_adjblock _vp_tonemask_adj_8[3]={
- /* adjust for mode zero */
- /* 63 125 250 500 1 2 4 8 16 */
- {{-15,-15,-15,-15,-10,-10, -6, 0, 0, 0, 0,10, 0, 0,99,99,99}}, /* 1 */
- {{-15,-15,-15,-15,-10,-10, -6, 0, 0, 0, 0,10, 0, 0,99,99,99}}, /* 1 */
- {{-15,-15,-15,-15,-10,-10, -6, 0, 0, 0, 0, 0, 0, 0,99,99,99}}, /* 1 */
- };
- static noise3 _psy_noisebias_8[3]={
- /* 63 125 250 500 1k 2k 4k 8k 16k*/
- {{{-10,-10,-10,-10, -5, -5, -5, 0, 4, 8, 8, 8, 10, 10, 99, 99, 99},
- {-10,-10,-10,-10, -5, -5, -5, 0, 0, 4, 4, 4, 4, 4, 99, 99, 99},
- {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, 99, 99, 99}}},
- {{{-10,-10,-10,-10, -5, -5, -5, 0, 4, 8, 8, 8, 10, 10, 99, 99, 99},
- {-10,-10,-10,-10,-10,-10, -5, -5, -5, 0, 0, 0, 0, 0, 99, 99, 99},
- {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, 99, 99, 99}}},
- {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 4, 4, 5, 5, 99, 99, 99},
- {-30,-30,-30,-30,-26,-22,-20,-14,-12,-12,-10,-10,-10,-10, 99, 99, 99},
- {-30,-30,-30,-30,-26,-26,-26,-26,-26,-26,-26,-26,-26,-24, 99, 99, 99}}},
- };
- /* stereo mode by base quality level */
- static adj_stereo _psy_stereo_modes_8[3]={
- /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 */
- {{ 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3},
- { 6, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
- { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- {{ 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3},
- { 6, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
- { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- {{ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3},
- { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
- { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- };
- static noiseguard _psy_noiseguards_8[2]={
- {10,10,-1},
- {10,10,-1},
- };
- static compandblock _psy_compand_8[2]={
- {{
- 0, 1, 2, 3, 4, 5, 6, 7, /* 7dB */
- 8, 8, 9, 9,10,10,11, 11, /* 15dB */
- 12,12,13,13,14,14,15, 15, /* 23dB */
- 16,16,17,17,17,18,18, 19, /* 31dB */
- 19,19,20,21,22,23,24, 25, /* 39dB */
- }},
- {{
- 0, 1, 2, 3, 4, 5, 6, 6, /* 7dB */
- 7, 7, 6, 6, 5, 5, 4, 4, /* 15dB */
- 3, 3, 3, 4, 5, 6, 7, 8, /* 23dB */
- 9,10,11,12,13,14,15, 16, /* 31dB */
- 17,18,19,20,21,22,23, 24, /* 39dB */
- }},
- };
- static double _psy_lowpass_8[3]={3.,4.,4.};
- static int _noise_start_8[2]={
- 64,64,
- };
- static int _noise_part_8[2]={
- 8,8,
- };
- static int _psy_ath_floater_8[3]={
- -100,-100,-105,
- };
- static int _psy_ath_abs_8[3]={
- -130,-130,-140,
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: toplevel residue templates 8/11kHz
- last mod: $Id: residue_8.h,v 1.2 2002/07/11 06:41:04 xiphmont Exp $
- ********************************************************************/
- /***** residue backends *********************************************/
- static static_bookblock _resbook_8s_0={
- {
- {0},{0,0,&_8c0_s_p1_0},{0,0,&_8c0_s_p2_0},{0,0,&_8c0_s_p3_0},
- {0,0,&_8c0_s_p4_0},{0,0,&_8c0_s_p5_0},{0,0,&_8c0_s_p6_0},
- {&_8c0_s_p7_0,&_8c0_s_p7_1},{&_8c0_s_p8_0,&_8c0_s_p8_1},
- {&_8c0_s_p9_0,&_8c0_s_p9_1,&_8c0_s_p9_2}
- }
- };
- static static_bookblock _resbook_8s_1={
- {
- {0},{0,0,&_8c1_s_p1_0},{0,0,&_8c1_s_p2_0},{0,0,&_8c1_s_p3_0},
- {0,0,&_8c1_s_p4_0},{0,0,&_8c1_s_p5_0},{0,0,&_8c1_s_p6_0},
- {&_8c1_s_p7_0,&_8c1_s_p7_1},{&_8c1_s_p8_0,&_8c1_s_p8_1},
- {&_8c1_s_p9_0,&_8c1_s_p9_1,&_8c1_s_p9_2}
- }
- };
- static vorbis_residue_template _res_8s_0[]={
- {2,0, &_residue_44_mid,
- &_huff_book__8c0_s_single,&_huff_book__8c0_s_single,
- &_resbook_8s_0,&_resbook_8s_0},
- };
- static vorbis_residue_template _res_8s_1[]={
- {2,0, &_residue_44_mid,
- &_huff_book__8c1_s_single,&_huff_book__8c1_s_single,
- &_resbook_8s_1,&_resbook_8s_1},
- };
- static vorbis_mapping_template _mapres_template_8_stereo[2]={
- { _map_nominal, _res_8s_0 }, /* 0 */
- { _map_nominal, _res_8s_1 }, /* 1 */
- };
- static static_bookblock _resbook_8u_0={
- {
- {0},
- {0,0,&_8u0__p1_0},
- {0,0,&_8u0__p2_0},
- {0,0,&_8u0__p3_0},
- {0,0,&_8u0__p4_0},
- {0,0,&_8u0__p5_0},
- {&_8u0__p6_0,&_8u0__p6_1},
- {&_8u0__p7_0,&_8u0__p7_1,&_8u0__p7_2}
- }
- };
- static static_bookblock _resbook_8u_1={
- {
- {0},
- {0,0,&_8u1__p1_0},
- {0,0,&_8u1__p2_0},
- {0,0,&_8u1__p3_0},
- {0,0,&_8u1__p4_0},
- {0,0,&_8u1__p5_0},
- {0,0,&_8u1__p6_0},
- {&_8u1__p7_0,&_8u1__p7_1},
- {&_8u1__p8_0,&_8u1__p8_1},
- {&_8u1__p9_0,&_8u1__p9_1,&_8u1__p9_2}
- }
- };
- static vorbis_residue_template _res_8u_0[]={
- {1,0, &_residue_44_low_un,
- &_huff_book__8u0__single,&_huff_book__8u0__single,
- &_resbook_8u_0,&_resbook_8u_0},
- };
- static vorbis_residue_template _res_8u_1[]={
- {1,0, &_residue_44_mid_un,
- &_huff_book__8u1__single,&_huff_book__8u1__single,
- &_resbook_8u_1,&_resbook_8u_1},
- };
- static vorbis_mapping_template _mapres_template_8_uncoupled[2]={
- { _map_nominal_u, _res_8u_0 }, /* 0 */
- { _map_nominal_u, _res_8u_1 }, /* 1 */
- };
- static int blocksize_8[2]={
- 512,512
- };
- static int _floor_mapping_8[2]={
- 1,1,
- };
- static double rate_mapping_8[3]={
- 6000.,9000.,32000.,
- };
- static double rate_mapping_8_uncoupled[3]={
- 8000.,14000.,42000.,
- };
- static double quality_mapping_8[3]={
- -.1,.0,1.
- };
- static double _psy_compand_8_mapping[3]={ 0., 1., 1.};
- static double _global_mapping_8[3]={ 1., 2., 3. };
- ve_setup_data_template ve_setup_8_stereo={
- 2,
- rate_mapping_8,
- quality_mapping_8,
- 2,
- 8000,
- 9000,
-
- blocksize_8,
- blocksize_8,
- _psy_tone_masteratt_8,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_8,
- NULL,
- _vp_tonemask_adj_8,
- _psy_noiseguards_8,
- _psy_noisebias_8,
- _psy_noisebias_8,
- NULL,
- NULL,
- _psy_noise_suppress,
-
- _psy_compand_8,
- _psy_compand_8_mapping,
- NULL,
- {_noise_start_8,_noise_start_8},
- {_noise_part_8,_noise_part_8},
- _noise_thresh_44_2,
- _psy_ath_floater_8,
- _psy_ath_abs_8,
-
- _psy_lowpass_8,
- _psy_global_44,
- _global_mapping_8,
- _psy_stereo_modes_8,
- _floor_books,
- _floor,
- _floor_mapping_8,
- NULL,
- _mapres_template_8_stereo
- };
- ve_setup_data_template ve_setup_8_uncoupled={
- 2,
- rate_mapping_8_uncoupled,
- quality_mapping_8,
- -1,
- 8000,
- 9000,
-
- blocksize_8,
- blocksize_8,
- _psy_tone_masteratt_8,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_8,
- NULL,
- _vp_tonemask_adj_8,
- _psy_noiseguards_8,
- _psy_noisebias_8,
- _psy_noisebias_8,
- NULL,
- NULL,
- _psy_noise_suppress,
-
- _psy_compand_8,
- _psy_compand_8_mapping,
- NULL,
- {_noise_start_8,_noise_start_8},
- {_noise_part_8,_noise_part_8},
- _noise_thresh_44_2,
- _psy_ath_floater_8,
- _psy_ath_abs_8,
-
- _psy_lowpass_8,
- _psy_global_44,
- _global_mapping_8,
- _psy_stereo_modes_8,
- _floor_books,
- _floor,
- _floor_mapping_8,
- NULL,
- _mapres_template_8_uncoupled
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: 11kHz settings
- last mod: $Id: setup_11.h,v 1.2 2002/07/11 06:41:04 xiphmont Exp $
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: 11kHz settings
- last mod: $Id: psych_11.h,v 1.1 2002/07/10 03:04:22 xiphmont Exp $
- ********************************************************************/
- static double _psy_lowpass_11[3]={4.5,5.5,30.,};
- static att3 _psy_tone_masteratt_11[3]={
- {{ 30, 25, 12}, 0, 0}, /* 0 */
- {{ 30, 25, 12}, 0, 0}, /* 0 */
- {{ 20, 0, -14}, 0, 1.}, /* 0 */
- };
- static vp_adjblock _vp_tonemask_adj_11[3]={
- /* adjust for mode zero */
- /* 63 125 250 500 1 2 4 8 16 */
- {{-20,-20,-20,-20,-20,-16,-10, 0, 0, 0, 0,10, 2, 0,99,99,99}}, /* 0 */
- {{-20,-20,-20,-20,-20,-16,-10, 0, 0, 0, 0, 5, 0, 0,99,99,99}}, /* 1 */
- {{-20,-20,-20,-20,-20,-16,-10, 0, 0, 0, 0, 0, 0, 0,99,99,99}}, /* 2 */
- };
- static noise3 _psy_noisebias_11[3]={
- /* 63 125 250 500 1k 2k 4k 8k 16k*/
- {{{-10,-10,-10,-10, -5, -5, -5, 0, 4, 10, 10, 12, 12, 12, 99, 99, 99},
- {-15,-15,-15,-15,-10,-10, -5, 0, 0, 4, 4, 5, 5, 10, 99, 99, 99},
- {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, 99, 99, 99}}},
- {{{-10,-10,-10,-10, -5, -5, -5, 0, 4, 10, 10, 12, 12, 12, 99, 99, 99},
- {-15,-15,-15,-15,-10,-10, -5, -5, -5, 0, 0, 0, 0, 0, 99, 99, 99},
- {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, 99, 99, 99}}},
- {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 4, 4, 5, 5, 99, 99, 99},
- {-30,-30,-30,-30,-26,-22,-20,-14,-12,-12,-10,-10,-10,-10, 99, 99, 99},
- {-30,-30,-30,-30,-26,-26,-26,-26,-26,-26,-26,-26,-26,-24, 99, 99, 99}}},
- };
- static double _noise_thresh_11[3]={ .3,.5,.5 };
- static int blocksize_11[2]={
- 512,512
- };
- static int _floor_mapping_11[2]={
- 1,1,
- };
- static double rate_mapping_11[3]={
- 8000.,13000.,44000.,
- };
- static double rate_mapping_11_uncoupled[3]={
- 12000.,20000.,50000.,
- };
- static double quality_mapping_11[3]={
- -.1,.0,1.
- };
- ve_setup_data_template ve_setup_11_stereo={
- 2,
- rate_mapping_11,
- quality_mapping_11,
- 2,
- 9000,
- 15000,
-
- blocksize_11,
- blocksize_11,
- _psy_tone_masteratt_11,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_11,
- NULL,
- _vp_tonemask_adj_11,
- _psy_noiseguards_8,
- _psy_noisebias_11,
- _psy_noisebias_11,
- NULL,
- NULL,
- _psy_noise_suppress,
-
- _psy_compand_8,
- _psy_compand_8_mapping,
- NULL,
- {_noise_start_8,_noise_start_8},
- {_noise_part_8,_noise_part_8},
- _noise_thresh_11,
- _psy_ath_floater_8,
- _psy_ath_abs_8,
-
- _psy_lowpass_11,
- _psy_global_44,
- _global_mapping_8,
- _psy_stereo_modes_8,
- _floor_books,
- _floor,
- _floor_mapping_11,
- NULL,
- _mapres_template_8_stereo
- };
- ve_setup_data_template ve_setup_11_uncoupled={
- 2,
- rate_mapping_11_uncoupled,
- quality_mapping_11,
- -1,
- 9000,
- 15000,
-
- blocksize_11,
- blocksize_11,
- _psy_tone_masteratt_11,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_11,
- NULL,
- _vp_tonemask_adj_11,
- _psy_noiseguards_8,
- _psy_noisebias_11,
- _psy_noisebias_11,
- NULL,
- NULL,
- _psy_noise_suppress,
-
- _psy_compand_8,
- _psy_compand_8_mapping,
- NULL,
- {_noise_start_8,_noise_start_8},
- {_noise_part_8,_noise_part_8},
- _noise_thresh_11,
- _psy_ath_floater_8,
- _psy_ath_abs_8,
-
- _psy_lowpass_11,
- _psy_global_44,
- _global_mapping_8,
- _psy_stereo_modes_8,
- _floor_books,
- _floor,
- _floor_mapping_11,
- NULL,
- _mapres_template_8_uncoupled
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: 16kHz settings
- last mod: $Id: setup_16.h,v 1.5 2002/10/11 11:14:42 xiphmont Exp $
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: 16kHz settings
- last mod: $Id: psych_16.h,v 1.3 2003/09/02 06:05:47 xiphmont Exp $
- ********************************************************************/
- /* stereo mode by base quality level */
- static adj_stereo _psy_stereo_modes_16[4]={
- /* 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 */
- {{ 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3},
- { 6, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
- { 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 4, 4},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- {{ 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3},
- { 6, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
- { 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- {{ 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3},
- { 5, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3},
- { 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- {{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
- { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
- { 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8},
- { 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99, 99}},
- };
- static double _psy_lowpass_16[4]={6.5,8,30.,99.};
- static att3 _psy_tone_masteratt_16[4]={
- {{ 30, 25, 12}, 0, 0}, /* 0 */
- {{ 25, 22, 12}, 0, 0}, /* 0 */
- {{ 20, 12, 0}, 0, 0}, /* 0 */
- {{ 15, 0, -14}, 0, 0}, /* 0 */
- };
- static vp_adjblock _vp_tonemask_adj_16[4]={
- /* adjust for mode zero */
- /* 63 125 250 500 1 2 4 8 16 */
- {{-20,-20,-20,-20,-20,-16,-10, 0, 0, 0, 0,10, 0, 0, 0, 0, 0}}, /* 0 */
- {{-20,-20,-20,-20,-20,-16,-10, 0, 0, 0, 0,10, 0, 0, 0, 0, 0}}, /* 1 */
- {{-20,-20,-20,-20,-20,-16,-10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 2 */
- {{-30,-30,-30,-30,-30,-26,-20,-10, -5, 0, 0, 0, 0, 0, 0, 0, 0}}, /* 2 */
- };
- static noise3 _psy_noisebias_16_short[4]={
- /* 63 125 250 500 1k 2k 4k 8k 16k*/
- {{{-15,-15,-15,-15,-15,-10,-10,-5, 4, 10, 10, 10, 10, 12, 12, 14, 20},
- {-15,-15,-15,-15,-15,-10,-10, -5, 0, 0, 4, 5, 5, 6, 8, 8, 15},
- {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, -6, -6, -6}}},
- {{{-15,-15,-15,-15,-15,-10,-10,-5, 4, 6, 6, 6, 6, 8, 10, 12, 20},
- {-15,-15,-15,-15,-15,-15,-15,-10, -5, -5, -5, 4, 5, 6, 8, 8, 15},
- {-30,-30,-30,-30,-30,-24,-20,-14,-10,-10,-10,-10,-10,-10,-10,-10,-10}}},
- {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 4, 4, 5, 5, 5, 8, 12},
- {-20,-20,-20,-20,-16,-12,-20,-14,-10,-10, -8, 0, 0, 0, 0, 2, 5},
- {-30,-30,-30,-30,-26,-26,-26,-26,-26,-26,-26,-26,-26,-24,-20,-20,-20}}},
- {{{-15,-15,-15,-15,-15,-12,-10, -8, -5, -5, -5, -5, -5, 0, 0, 0, 6},
- {-30,-30,-30,-30,-26,-22,-20,-14,-12,-12,-10,-10,-10,-10,-10,-10, -6},
- {-30,-30,-30,-30,-26,-26,-26,-26,-26,-26,-26,-26,-26,-24,-20,-20,-20}}},
- };
- static noise3 _psy_noisebias_16_impulse[4]={
- /* 63 125 250 500 1k 2k 4k 8k 16k*/
- {{{-15,-15,-15,-15,-15,-10,-10,-5, 4, 10, 10, 10, 10, 12, 12, 14, 20},
- {-15,-15,-15,-15,-15,-10,-10, -5, 0, 0, 4, 5, 5, 6, 8, 8, 15},
- {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, -6, -6, -6}}},
- {{{-15,-15,-15,-15,-15,-10,-10,-5, 4, 4, 4, 4, 5, 5, 6, 8, 15},
- {-15,-15,-15,-15,-15,-15,-15,-10, -5, -5, -5, 0, 0, 0, 0, 4, 10},
- {-30,-30,-30,-30,-30,-24,-20,-14,-10,-10,-10,-10,-10,-10,-10,-10,-10}}},
- {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 0, 0, 0, 0, 0, 0, 4, 10},
- {-20,-20,-20,-20,-16,-12,-20,-14,-10,-10,-10,-10,-10,-10,-10, -7, -5},
- {-30,-30,-30,-30,-26,-26,-26,-26,-26,-26,-26,-26,-26,-24,-20,-20,-20}}},
- {{{-15,-15,-15,-15,-15,-12,-10, -8, -5, -5, -5, -5, -5, 0, 0, 0, 6},
- {-30,-30,-30,-30,-26,-22,-20,-18,-18,-18,-20,-20,-20,-20,-20,-20,-16},
- {-30,-30,-30,-30,-26,-26,-26,-26,-26,-26,-26,-26,-26,-24,-20,-20,-20}}},
- };
- static noise3 _psy_noisebias_16[4]={
- /* 63 125 250 500 1k 2k 4k 8k 16k*/
- {{{-10,-10,-10,-10, -5, -5, -5, 0, 4, 6, 8, 8, 10, 10, 10, 14, 20},
- {-10,-10,-10,-10,-10, -5, -2, -2, 0, 0, 0, 4, 5, 6, 8, 8, 15},
- {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, -6, -6, -6}}},
- {{{-10,-10,-10,-10, -5, -5, -5, 0, 4, 6, 6, 6, 6, 8, 10, 12, 20},
- {-15,-15,-15,-15,-15,-10, -5, -5, 0, 0, 0, 4, 5, 6, 8, 8, 15},
- {-30,-30,-30,-30,-30,-24,-20,-14,-10, -6, -8, -8, -6, -6, -6, -6, -6}}},
- {{{-15,-15,-15,-15,-15,-12,-10, -8, 0, 2, 4, 4, 5, 5, 5, 8, 12},
- {-20,-20,-20,-20,-16,-12,-20,-10, -5, -5, 0, 0, 0, 0, 0, 2, 5},
- {-30,-30,-30,-30,-26,-26,-26,-26,-26,-26,-26,-26,-26,-24,-20,-20,-20}}},
- {{{-15,-15,-15,-15,-15,-12,-10, -8, -5, -5, -5, -5, -5, 0, 0, 0, 6},
- {-30,-30,-30,-30,-26,-22,-20,-14,-12,-12,-10,-10,-10,-10,-10,-10, -6},
- {-30,-30,-30,-30,-26,-26,-26,-26,-26,-26,-26,-26,-26,-24,-20,-20,-20}}},
- };
- static double _noise_thresh_16[4]={ .3,.5,.5,.5 };
- static int _noise_start_16[3]={ 256,256,9999 };
- static int _noise_part_16[4]={ 8,8,8,8 };
- static int _psy_ath_floater_16[4]={
- -100,-100,-100,-105,
- };
- static int _psy_ath_abs_16[4]={
- -130,-130,-130,-140,
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: toplevel residue templates 16/22kHz
- last mod: $Id: residue_16.h,v 1.3 2002/07/11 10:27:55 xiphmont Exp $
- ********************************************************************/
- /***** residue backends *********************************************/
- static static_bookblock _resbook_16s_0={
- {
- {0},
- {0,0,&_16c0_s_p1_0},
- {0,0,&_16c0_s_p2_0},
- {0,0,&_16c0_s_p3_0},
- {0,0,&_16c0_s_p4_0},
- {0,0,&_16c0_s_p5_0},
- {0,0,&_16c0_s_p6_0},
- {&_16c0_s_p7_0,&_16c0_s_p7_1},
- {&_16c0_s_p8_0,&_16c0_s_p8_1},
- {&_16c0_s_p9_0,&_16c0_s_p9_1,&_16c0_s_p9_2}
- }
- };
- static static_bookblock _resbook_16s_1={
- {
- {0},
- {0,0,&_16c1_s_p1_0},
- {0,0,&_16c1_s_p2_0},
- {0,0,&_16c1_s_p3_0},
- {0,0,&_16c1_s_p4_0},
- {0,0,&_16c1_s_p5_0},
- {0,0,&_16c1_s_p6_0},
- {&_16c1_s_p7_0,&_16c1_s_p7_1},
- {&_16c1_s_p8_0,&_16c1_s_p8_1},
- {&_16c1_s_p9_0,&_16c1_s_p9_1,&_16c1_s_p9_2}
- }
- };
- static static_bookblock _resbook_16s_2={
- {
- {0},
- {0,0,&_16c2_s_p1_0},
- {0,0,&_16c2_s_p2_0},
- {0,0,&_16c2_s_p3_0},
- {0,0,&_16c2_s_p4_0},
- {&_16c2_s_p5_0,&_16c2_s_p5_1},
- {&_16c2_s_p6_0,&_16c2_s_p6_1},
- {&_16c2_s_p7_0,&_16c2_s_p7_1},
- {&_16c2_s_p8_0,&_16c2_s_p8_1},
- {&_16c2_s_p9_0,&_16c2_s_p9_1,&_16c2_s_p9_2}
- }
- };
- static vorbis_residue_template _res_16s_0[]={
- {2,0, &_residue_44_mid,
- &_huff_book__16c0_s_single,&_huff_book__16c0_s_single,
- &_resbook_16s_0,&_resbook_16s_0},
- };
- static vorbis_residue_template _res_16s_1[]={
- {2,0, &_residue_44_mid,
- &_huff_book__16c1_s_short,&_huff_book__16c1_s_short,
- &_resbook_16s_1,&_resbook_16s_1},
-
- {2,0, &_residue_44_mid,
- &_huff_book__16c1_s_long,&_huff_book__16c1_s_long,
- &_resbook_16s_1,&_resbook_16s_1}
- };
- static vorbis_residue_template _res_16s_2[]={
- {2,0, &_residue_44_high,
- &_huff_book__16c2_s_short,&_huff_book__16c2_s_short,
- &_resbook_16s_2,&_resbook_16s_2},
-
- {2,0, &_residue_44_high,
- &_huff_book__16c2_s_long,&_huff_book__16c2_s_long,
- &_resbook_16s_2,&_resbook_16s_2}
- };
- static vorbis_mapping_template _mapres_template_16_stereo[3]={
- { _map_nominal, _res_16s_0 }, /* 0 */
- { _map_nominal, _res_16s_1 }, /* 1 */
- { _map_nominal, _res_16s_2 }, /* 2 */
- };
- static static_bookblock _resbook_16u_0={
- {
- {0},
- {0,0,&_16u0__p1_0},
- {0,0,&_16u0__p2_0},
- {0,0,&_16u0__p3_0},
- {0,0,&_16u0__p4_0},
- {0,0,&_16u0__p5_0},
- {&_16u0__p6_0,&_16u0__p6_1},
- {&_16u0__p7_0,&_16u0__p7_1,&_16u0__p7_2}
- }
- };
- static static_bookblock _resbook_16u_1={
- {
- {0},
- {0,0,&_16u1__p1_0},
- {0,0,&_16u1__p2_0},
- {0,0,&_16u1__p3_0},
- {0,0,&_16u1__p4_0},
- {0,0,&_16u1__p5_0},
- {0,0,&_16u1__p6_0},
- {&_16u1__p7_0,&_16u1__p7_1},
- {&_16u1__p8_0,&_16u1__p8_1},
- {&_16u1__p9_0,&_16u1__p9_1,&_16u1__p9_2}
- }
- };
- static static_bookblock _resbook_16u_2={
- {
- {0},
- {0,0,&_16u2_p1_0},
- {0,0,&_16u2_p2_0},
- {0,0,&_16u2_p3_0},
- {0,0,&_16u2_p4_0},
- {&_16u2_p5_0,&_16u2_p5_1},
- {&_16u2_p6_0,&_16u2_p6_1},
- {&_16u2_p7_0,&_16u2_p7_1},
- {&_16u2_p8_0,&_16u2_p8_1},
- {&_16u2_p9_0,&_16u2_p9_1,&_16u2_p9_2}
- }
- };
- static vorbis_residue_template _res_16u_0[]={
- {1,0, &_residue_44_low_un,
- &_huff_book__16u0__single,&_huff_book__16u0__single,
- &_resbook_16u_0,&_resbook_16u_0},
- };
- static vorbis_residue_template _res_16u_1[]={
- {1,0, &_residue_44_mid_un,
- &_huff_book__16u1__short,&_huff_book__16u1__short,
- &_resbook_16u_1,&_resbook_16u_1},
-
- {1,0, &_residue_44_mid_un,
- &_huff_book__16u1__long,&_huff_book__16u1__long,
- &_resbook_16u_1,&_resbook_16u_1}
- };
- static vorbis_residue_template _res_16u_2[]={
- {1,0, &_residue_44_hi_un,
- &_huff_book__16u2__short,&_huff_book__16u2__short,
- &_resbook_16u_2,&_resbook_16u_2},
-
- {1,0, &_residue_44_hi_un,
- &_huff_book__16u2__long,&_huff_book__16u2__long,
- &_resbook_16u_2,&_resbook_16u_2}
- };
- static vorbis_mapping_template _mapres_template_16_uncoupled[3]={
- { _map_nominal_u, _res_16u_0 }, /* 0 */
- { _map_nominal_u, _res_16u_1 }, /* 1 */
- { _map_nominal_u, _res_16u_2 }, /* 2 */
- };
- static int blocksize_16_short[3]={
- 1024,512,512
- };
- static int blocksize_16_long[3]={
- 1024,1024,1024
- };
- static int _floor_mapping_16_short[3]={
- 9,3,3
- };
- static int _floor_mapping_16[3]={
- 9,9,9
- };
- static double rate_mapping_16[4]={
- 12000.,20000.,44000.,86000.
- };
- static double rate_mapping_16_uncoupled[4]={
- 16000.,28000.,64000.,100000.
- };
- static double _global_mapping_16[4]={ 1., 2., 3., 4. };
- static double quality_mapping_16[4]={ -.1,.05,.5,1. };
- static double _psy_compand_16_mapping[4]={ 0., .8, 1., 1.};
- ve_setup_data_template ve_setup_16_stereo={
- 3,
- rate_mapping_16,
- quality_mapping_16,
- 2,
- 15000,
- 19000,
-
- blocksize_16_short,
- blocksize_16_long,
- _psy_tone_masteratt_16,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_16,
- _vp_tonemask_adj_16,
- _vp_tonemask_adj_16,
- _psy_noiseguards_8,
- _psy_noisebias_16_impulse,
- _psy_noisebias_16_short,
- _psy_noisebias_16_short,
- _psy_noisebias_16,
- _psy_noise_suppress,
-
- _psy_compand_8,
- _psy_compand_16_mapping,
- _psy_compand_16_mapping,
- {_noise_start_16,_noise_start_16},
- { _noise_part_16, _noise_part_16},
- _noise_thresh_16,
- _psy_ath_floater_16,
- _psy_ath_abs_16,
-
- _psy_lowpass_16,
- _psy_global_44,
- _global_mapping_16,
- _psy_stereo_modes_16,
- _floor_books,
- _floor,
- _floor_mapping_16_short,
- _floor_mapping_16,
- _mapres_template_16_stereo
- };
- ve_setup_data_template ve_setup_16_uncoupled={
- 3,
- rate_mapping_16_uncoupled,
- quality_mapping_16,
- -1,
- 15000,
- 19000,
-
- blocksize_16_short,
- blocksize_16_long,
- _psy_tone_masteratt_16,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_16,
- _vp_tonemask_adj_16,
- _vp_tonemask_adj_16,
- _psy_noiseguards_8,
- _psy_noisebias_16_impulse,
- _psy_noisebias_16_short,
- _psy_noisebias_16_short,
- _psy_noisebias_16,
- _psy_noise_suppress,
-
- _psy_compand_8,
- _psy_compand_16_mapping,
- _psy_compand_16_mapping,
- {_noise_start_16,_noise_start_16},
- { _noise_part_16, _noise_part_16},
- _noise_thresh_16,
- _psy_ath_floater_16,
- _psy_ath_abs_16,
-
- _psy_lowpass_16,
- _psy_global_44,
- _global_mapping_16,
- _psy_stereo_modes_16,
- _floor_books,
- _floor,
- _floor_mapping_16_short,
- _floor_mapping_16,
- _mapres_template_16_uncoupled
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: 22kHz settings
- last mod: $Id: setup_22.h,v 1.3 2002/07/11 10:02:29 xiphmont Exp $
- ********************************************************************/
- static double rate_mapping_22[4]={
- 15000.,20000.,44000.,86000.
- };
- static double rate_mapping_22_uncoupled[4]={
- 16000.,28000.,50000.,90000.
- };
- static double _psy_lowpass_22[4]={9.5,11.,30.,99.};
- ve_setup_data_template ve_setup_22_stereo={
- 3,
- rate_mapping_22,
- quality_mapping_16,
- 2,
- 19000,
- 26000,
-
- blocksize_16_short,
- blocksize_16_long,
- _psy_tone_masteratt_16,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_16,
- _vp_tonemask_adj_16,
- _vp_tonemask_adj_16,
- _psy_noiseguards_8,
- _psy_noisebias_16_impulse,
- _psy_noisebias_16_short,
- _psy_noisebias_16_short,
- _psy_noisebias_16,
- _psy_noise_suppress,
-
- _psy_compand_8,
- _psy_compand_8_mapping,
- _psy_compand_8_mapping,
- {_noise_start_16,_noise_start_16},
- { _noise_part_16, _noise_part_16},
- _noise_thresh_16,
- _psy_ath_floater_16,
- _psy_ath_abs_16,
-
- _psy_lowpass_22,
- _psy_global_44,
- _global_mapping_16,
- _psy_stereo_modes_16,
- _floor_books,
- _floor,
- _floor_mapping_16_short,
- _floor_mapping_16,
- _mapres_template_16_stereo
- };
- ve_setup_data_template ve_setup_22_uncoupled={
- 3,
- rate_mapping_22_uncoupled,
- quality_mapping_16,
- -1,
- 19000,
- 26000,
-
- blocksize_16_short,
- blocksize_16_long,
- _psy_tone_masteratt_16,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_16,
- _vp_tonemask_adj_16,
- _vp_tonemask_adj_16,
- _psy_noiseguards_8,
- _psy_noisebias_16_impulse,
- _psy_noisebias_16_short,
- _psy_noisebias_16_short,
- _psy_noisebias_16,
- _psy_noise_suppress,
-
- _psy_compand_8,
- _psy_compand_8_mapping,
- _psy_compand_8_mapping,
- {_noise_start_16,_noise_start_16},
- { _noise_part_16, _noise_part_16},
- _noise_thresh_16,
- _psy_ath_floater_16,
- _psy_ath_abs_16,
-
- _psy_lowpass_22,
- _psy_global_44,
- _global_mapping_16,
- _psy_stereo_modes_16,
- _floor_books,
- _floor,
- _floor_mapping_16_short,
- _floor_mapping_16,
- _mapres_template_16_uncoupled
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: catch-all toplevel settings for q modes only
- last mod: $Id: setup_X.h,v 1.3 2002/07/11 06:41:05 xiphmont Exp $
- ********************************************************************/
- static double rate_mapping_X[11]={
- -1.,-1.,-1.,-1.,-1.,
- -1.,-1.,-1.,-1.,-1.,-1.
- };
- ve_setup_data_template ve_setup_X_stereo={
- 10,
- rate_mapping_X,
- quality_mapping_44,
- 2,
- 50000,
- 200000,
-
- blocksize_short_44,
- blocksize_long_44,
- _psy_tone_masteratt_44,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_otherblock,
- _vp_tonemask_adj_longblock,
- _vp_tonemask_adj_otherblock,
- _psy_noiseguards_44,
- _psy_noisebias_impulse,
- _psy_noisebias_padding,
- _psy_noisebias_trans,
- _psy_noisebias_long,
- _psy_noise_suppress,
-
- _psy_compand_44,
- _psy_compand_short_mapping,
- _psy_compand_long_mapping,
- {_noise_start_short_44,_noise_start_long_44},
- {_noise_part_short_44,_noise_part_long_44},
- _noise_thresh_44,
- _psy_ath_floater,
- _psy_ath_abs,
-
- _psy_lowpass_44,
- _psy_global_44,
- _global_mapping_44,
- _psy_stereo_modes_44,
- _floor_books,
- _floor,
- _floor_short_mapping_44,
- _floor_long_mapping_44,
- _mapres_template_44_stereo
- };
- ve_setup_data_template ve_setup_X_uncoupled={
- 10,
- rate_mapping_X,
- quality_mapping_44,
- -1,
- 50000,
- 200000,
-
- blocksize_short_44,
- blocksize_long_44,
- _psy_tone_masteratt_44,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_otherblock,
- _vp_tonemask_adj_longblock,
- _vp_tonemask_adj_otherblock,
- _psy_noiseguards_44,
- _psy_noisebias_impulse,
- _psy_noisebias_padding,
- _psy_noisebias_trans,
- _psy_noisebias_long,
- _psy_noise_suppress,
-
- _psy_compand_44,
- _psy_compand_short_mapping,
- _psy_compand_long_mapping,
- {_noise_start_short_44,_noise_start_long_44},
- {_noise_part_short_44,_noise_part_long_44},
- _noise_thresh_44_2,
- _psy_ath_floater,
- _psy_ath_abs,
-
- _psy_lowpass_44,
- _psy_global_44,
- _global_mapping_44,
- NULL,
- _floor_books,
- _floor,
- _floor_short_mapping_44,
- _floor_long_mapping_44,
- _mapres_template_44_uncoupled
- };
- ve_setup_data_template ve_setup_X_stereo_low={
- 1,
- rate_mapping_X,
- quality_mapping_44_stereo_low,
- 2,
- 50000,
- 200000,
-
- blocksize_short_44_low,
- blocksize_long_44_low,
- _psy_tone_masteratt_44_low,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_otherblock,
- _vp_tonemask_adj_longblock,
- _vp_tonemask_adj_otherblock,
- _psy_noiseguards_44,
- _psy_noisebias_trans_low,
- _psy_noisebias_trans_low,
- _psy_noisebias_trans_low,
- _psy_noisebias_long_low,
- _psy_noise_suppress,
-
- _psy_compand_44,
- _psy_compand_short_mapping,
- _psy_compand_long_mapping,
- {_noise_start_short_44_low,_noise_start_long_44_low},
- {_noise_part_short_44,_noise_part_long_44},
- _noise_thresh_44,
- _psy_ath_floater,
- _psy_ath_abs,
-
- _psy_lowpass_44_low,
- _psy_global_44,
- _global_mapping_44,
- _psy_stereo_modes_44_low,
- _floor_books,
- _floor,
- _floor_short_mapping_44_low,
- _floor_long_mapping_44_low,
- _mapres_template_44_stereo
- };
- ve_setup_data_template ve_setup_X_uncoupled_low={
- 1,
- rate_mapping_X,
- quality_mapping_44_stereo_low,
- -1,
- 50000,
- 200000,
-
- blocksize_short_44_low,
- blocksize_long_44_low,
- _psy_tone_masteratt_44_low,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_otherblock,
- _vp_tonemask_adj_longblock,
- _vp_tonemask_adj_otherblock,
- _psy_noiseguards_44,
- _psy_noisebias_trans_low,
- _psy_noisebias_trans_low,
- _psy_noisebias_trans_low,
- _psy_noisebias_long_low,
- _psy_noise_suppress,
-
- _psy_compand_44,
- _psy_compand_short_mapping,
- _psy_compand_long_mapping,
- {_noise_start_short_44_low,_noise_start_long_44_low},
- {_noise_part_short_44,_noise_part_long_44},
- _noise_thresh_44_2,
- _psy_ath_floater,
- _psy_ath_abs,
-
- _psy_lowpass_44_low,
- _psy_global_44,
- _global_mapping_44,
- NULL,
- _floor_books,
- _floor,
- _floor_short_mapping_44_low,
- _floor_long_mapping_44_low,
- _mapres_template_44_uncoupled
- };
- ve_setup_data_template ve_setup_XX_stereo={
- 2,
- rate_mapping_X,
- quality_mapping_8,
- 2,
- 0,
- 8000,
-
- blocksize_8,
- blocksize_8,
- _psy_tone_masteratt_8,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_8,
- NULL,
- _vp_tonemask_adj_8,
- _psy_noiseguards_8,
- _psy_noisebias_8,
- _psy_noisebias_8,
- NULL,
- NULL,
- _psy_noise_suppress,
-
- _psy_compand_8,
- _psy_compand_8_mapping,
- NULL,
- {_noise_start_8,_noise_start_8},
- {_noise_part_8,_noise_part_8},
- _noise_thresh_44_2,
- _psy_ath_floater_8,
- _psy_ath_abs_8,
-
- _psy_lowpass_8,
- _psy_global_44,
- _global_mapping_8,
- _psy_stereo_modes_8,
- _floor_books,
- _floor,
- _floor_mapping_8,
- NULL,
- _mapres_template_8_stereo
- };
- ve_setup_data_template ve_setup_XX_uncoupled={
- 2,
- rate_mapping_X,
- quality_mapping_8,
- -1,
- 0,
- 8000,
-
- blocksize_8,
- blocksize_8,
- _psy_tone_masteratt_8,
- _psy_tone_0dB,
- _psy_tone_suppress,
- _vp_tonemask_adj_8,
- NULL,
- _vp_tonemask_adj_8,
- _psy_noiseguards_8,
- _psy_noisebias_8,
- _psy_noisebias_8,
- NULL,
- NULL,
- _psy_noise_suppress,
-
- _psy_compand_8,
- _psy_compand_8_mapping,
- NULL,
- {_noise_start_8,_noise_start_8},
- {_noise_part_8,_noise_part_8},
- _noise_thresh_44_2,
- _psy_ath_floater_8,
- _psy_ath_abs_8,
-
- _psy_lowpass_8,
- _psy_global_44,
- _global_mapping_8,
- _psy_stereo_modes_8,
- _floor_books,
- _floor,
- _floor_mapping_8,
- NULL,
- _mapres_template_8_uncoupled
- };
- static ve_setup_data_template *setup_list[]={
- &ve_setup_44_stereo,
- &ve_setup_44_stereo_low,
- &ve_setup_44_uncoupled,
- &ve_setup_44_uncoupled_low,
- &ve_setup_32_stereo,
- &ve_setup_32_stereo_low,
- &ve_setup_32_uncoupled,
- &ve_setup_32_uncoupled_low,
- &ve_setup_22_stereo,
- &ve_setup_22_uncoupled,
- &ve_setup_16_stereo,
- &ve_setup_16_uncoupled,
- &ve_setup_11_stereo,
- &ve_setup_11_uncoupled,
- &ve_setup_8_stereo,
- &ve_setup_8_uncoupled,
- &ve_setup_X_stereo,
- &ve_setup_X_uncoupled,
- &ve_setup_X_stereo_low,
- &ve_setup_X_uncoupled_low,
- &ve_setup_XX_stereo,
- &ve_setup_XX_uncoupled,
- 0
- };
- static int vorbis_encode_toplevel_setup(vorbis_info *vi,int ch,long rate){
- if(vi && vi->codec_setup){
- vi->version=0;
- vi->channels=ch;
- vi->rate=rate;
- return(0);
- }
- return(OV_EINVAL);
- }
- static void vorbis_encode_floor_setup(vorbis_info *vi,double s,int block,
- static_codebook ***books,
- vorbis_info_floor1 *in,
- int *x){
- int i,k,is=s;
- vorbis_info_floor1 *f=_ogg_calloc(1,sizeof(*f));
- codec_setup_info *ci=vi->codec_setup;
- memcpy(f,in+x[is],sizeof(*f));
- /* fill in the lowpass field, even if it's temporary */
- f->n=ci->blocksizes[block]>>1;
- /* books */
- {
- int partitions=f->partitions;
- int maxclass=-1;
- int maxbook=-1;
- for(i=0;i<partitions;i++)
- if(f->partitionclass[i]>maxclass)maxclass=f->partitionclass[i];
- for(i=0;i<=maxclass;i++){
- if(f->class_book[i]>maxbook)maxbook=f->class_book[i];
- f->class_book[i]+=ci->books;
- for(k=0;k<(1<<f->class_subs[i]);k++){
- if(f->class_subbook[i][k]>maxbook)maxbook=f->class_subbook[i][k];
- if(f->class_subbook[i][k]>=0)f->class_subbook[i][k]+=ci->books;
- }
- }
- for(i=0;i<=maxbook;i++)
- ci->book_param[ci->books++]=books[x[is]][i];
- }
- /* for now, we're only using floor 1 */
- ci->floor_type[ci->floors]=1;
- ci->floor_param[ci->floors]=f;
- ci->floors++;
- return;
- }
- static void vorbis_encode_global_psych_setup(vorbis_info *vi,double s,
- vorbis_info_psy_global *in,
- double *x){
- int i,is=s;
- double ds=s-is;
- codec_setup_info *ci=vi->codec_setup;
- vorbis_info_psy_global *g=&ci->psy_g_param;
-
- memcpy(g,in+(int)x[is],sizeof(*g));
-
- ds=x[is]*(1.-ds)+x[is+1]*ds;
- is=(int)ds;
- ds-=is;
- if(ds==0 && is>0){
- is--;
- ds=1.;
- }
-
- /* interpolate the trigger threshholds */
- for(i=0;i<4;i++){
- g->preecho_thresh[i]=in[is].preecho_thresh[i]*(1.-ds)+in[is+1].preecho_thresh[i]*ds;
- g->postecho_thresh[i]=in[is].postecho_thresh[i]*(1.-ds)+in[is+1].postecho_thresh[i]*ds;
- }
- g->ampmax_att_per_sec=ci->hi.amplitude_track_dBpersec;
- return;
- }
- static void vorbis_encode_global_stereo(vorbis_info *vi,
- highlevel_encode_setup *hi,
- adj_stereo *p){
- float s=hi->stereo_point_setting;
- int i,is=s;
- double ds=s-is;
- codec_setup_info *ci=vi->codec_setup;
- vorbis_info_psy_global *g=&ci->psy_g_param;
- if(p){
- memcpy(g->coupling_prepointamp,p[is].pre,sizeof(*p[is].pre)*PACKETBLOBS);
- memcpy(g->coupling_postpointamp,p[is].post,sizeof(*p[is].post)*PACKETBLOBS);
- if(hi->managed){
- /* interpolate the kHz threshholds */
- for(i=0;i<PACKETBLOBS;i++){
- float kHz=p[is].kHz[i]*(1.-ds)+p[is+1].kHz[i]*ds;
- g->coupling_pointlimit[0][i]=kHz*1000./vi->rate*ci->blocksizes[0];
- g->coupling_pointlimit[1][i]=kHz*1000./vi->rate*ci->blocksizes[1];
- g->coupling_pkHz[i]=kHz;
-
- kHz=p[is].lowpasskHz[i]*(1.-ds)+p[is+1].lowpasskHz[i]*ds;
- g->sliding_lowpass[0][i]=kHz*1000./vi->rate*ci->blocksizes[0];
- g->sliding_lowpass[1][i]=kHz*1000./vi->rate*ci->blocksizes[1];
-
- }
- }else{
- float kHz=p[is].kHz[PACKETBLOBS/2]*(1.-ds)+p[is+1].kHz[PACKETBLOBS/2]*ds;
- for(i=0;i<PACKETBLOBS;i++){
- g->coupling_pointlimit[0][i]=kHz*1000./vi->rate*ci->blocksizes[0];
- g->coupling_pointlimit[1][i]=kHz*1000./vi->rate*ci->blocksizes[1];
- g->coupling_pkHz[i]=kHz;
- }
-
- kHz=p[is].lowpasskHz[PACKETBLOBS/2]*(1.-ds)+p[is+1].lowpasskHz[PACKETBLOBS/2]*ds;
- for(i=0;i<PACKETBLOBS;i++){
- g->sliding_lowpass[0][i]=kHz*1000./vi->rate*ci->blocksizes[0];
- g->sliding_lowpass[1][i]=kHz*1000./vi->rate*ci->blocksizes[1];
- }
- }
- }else{
- for(i=0;i<PACKETBLOBS;i++){
- g->sliding_lowpass[0][i]=ci->blocksizes[0];
- g->sliding_lowpass[1][i]=ci->blocksizes[1];
- }
- }
- return;
- }
- static void vorbis_encode_psyset_setup(vorbis_info *vi,double s,
- int *nn_start,
- int *nn_partition,
- double *nn_thresh,
- int block){
- codec_setup_info *ci=vi->codec_setup;
- vorbis_info_psy *p=ci->psy_param[block];
- highlevel_encode_setup *hi=&ci->hi;
- int is=s;
-
- if(block>=ci->psys)
- ci->psys=block+1;
- if(!p){
- p=_ogg_calloc(1,sizeof(*p));
- ci->psy_param[block]=p;
- }
-
- memcpy(p,&_psy_info_template,sizeof(*p));
- p->blockflag=block>>1;
- if(hi->noise_normalize_p){
- p->normal_channel_p=1;
- p->normal_point_p=1;
- p->normal_start=nn_start[is];
- p->normal_partition=nn_partition[is];
- p->normal_thresh=nn_thresh[is];
- }
-
- return;
- }
- static void vorbis_encode_tonemask_setup(vorbis_info *vi,double s,int block,
- att3 *att,
- int *max,
- vp_adjblock *in){
- int i,is=s;
- double ds=s-is;
- codec_setup_info *ci=vi->codec_setup;
- vorbis_info_psy *p=ci->psy_param[block];
- /* 0 and 2 are only used by bitmanagement, but there's no harm to always
- filling the values in here */
- p->tone_masteratt[0]=att[is].att[0]*(1.-ds)+att[is+1].att[0]*ds;
- p->tone_masteratt[1]=att[is].att[1]*(1.-ds)+att[is+1].att[1]*ds;
- p->tone_masteratt[2]=att[is].att[2]*(1.-ds)+att[is+1].att[2]*ds;
- p->tone_centerboost=att[is].boost*(1.-ds)+att[is+1].boost*ds;
- p->tone_decay=att[is].decay*(1.-ds)+att[is+1].decay*ds;
- p->max_curve_dB=max[is]*(1.-ds)+max[is+1]*ds;
- for(i=0;i<P_BANDS;i++)
- p->toneatt[i]=in[is].block[i]*(1.-ds)+in[is+1].block[i]*ds;
- return;
- }
- static void vorbis_encode_compand_setup(vorbis_info *vi,double s,int block,
- compandblock *in, double *x){
- int i,is=s;
- double ds=s-is;
- codec_setup_info *ci=vi->codec_setup;
- vorbis_info_psy *p=ci->psy_param[block];
- ds=x[is]*(1.-ds)+x[is+1]*ds;
- is=(int)ds;
- ds-=is;
- if(ds==0 && is>0){
- is--;
- ds=1.;
- }
- /* interpolate the compander settings */
- for(i=0;i<NOISE_COMPAND_LEVELS;i++)
- p->noisecompand[i]=in[is].data[i]*(1.-ds)+in[is+1].data[i]*ds;
- return;
- }
- static void vorbis_encode_peak_setup(vorbis_info *vi,double s,int block,
- int *suppress){
- int is=s;
- double ds=s-is;
- codec_setup_info *ci=vi->codec_setup;
- vorbis_info_psy *p=ci->psy_param[block];
- p->tone_abs_limit=suppress[is]*(1.-ds)+suppress[is+1]*ds;
- return;
- }
- static void vorbis_encode_noisebias_setup(vorbis_info *vi,double s,int block,
- int *suppress,
- noise3 *in,
- noiseguard *guard,
- double userbias){
- int i,is=s,j;
- double ds=s-is;
- codec_setup_info *ci=vi->codec_setup;
- vorbis_info_psy *p=ci->psy_param[block];
- p->noisemaxsupp=suppress[is]*(1.-ds)+suppress[is+1]*ds;
- p->noisewindowlomin=guard[block].lo;
- p->noisewindowhimin=guard[block].hi;
- p->noisewindowfixed=guard[block].fixed;
- for(j=0;j<P_NOISECURVES;j++)
- for(i=0;i<P_BANDS;i++)
- p->noiseoff[j][i]=in[is].data[j][i]*(1.-ds)+in[is+1].data[j][i]*ds;
- /* impulse blocks may take a user specified bias to boost the
- nominal/high noise encoding depth */
- for(j=0;j<P_NOISECURVES;j++){
- float min=p->noiseoff[j][0]+6; /* the lowest it can go */
- for(i=0;i<P_BANDS;i++){
- p->noiseoff[j][i]+=userbias;
- if(p->noiseoff[j][i]<min)p->noiseoff[j][i]=min;
- }
- }
- return;
- }
- static void vorbis_encode_ath_setup(vorbis_info *vi,int block){
- codec_setup_info *ci=vi->codec_setup;
- vorbis_info_psy *p=ci->psy_param[block];
- p->ath_adjatt=ci->hi.ath_floating_dB;
- p->ath_maxatt=ci->hi.ath_absolute_dB;
- return;
- }
- static int book_dup_or_new(codec_setup_info *ci,static_codebook *book){
- int i;
- for(i=0;i<ci->books;i++)
- if(ci->book_param[i]==book)return(i);
-
- return(ci->books++);
- }
- static void vorbis_encode_blocksize_setup(vorbis_info *vi,double s,
- int *shortb,int *longb){
- codec_setup_info *ci=vi->codec_setup;
- int is=s;
-
- int blockshort=shortb[is];
- int blocklong=longb[is];
- ci->blocksizes[0]=blockshort;
- ci->blocksizes[1]=blocklong;
- }
- static void vorbis_encode_residue_setup(vorbis_info *vi,
- int number, int block,
- vorbis_residue_template *res){
- codec_setup_info *ci=vi->codec_setup;
- int i,n;
-
- vorbis_info_residue0 *r=ci->residue_param[number]=
- _ogg_malloc(sizeof(*r));
-
- memcpy(r,res->res,sizeof(*r));
- if(ci->residues<=number)ci->residues=number+1;
- switch(ci->blocksizes[block]){
- case 64:case 128:case 256:
- r->grouping=16;
- break;
- default:
- r->grouping=32;
- break;
- }
- ci->residue_type[number]=res->res_type;
- /* to be adjusted by lowpass/pointlimit later */
- n=r->end=ci->blocksizes[block]>>1;
- if(res->res_type==2)
- n=r->end*=vi->channels;
-
- /* fill in all the books */
- {
- int booklist=0,k;
-
- if(ci->hi.managed){
- for(i=0;i<r->partitions;i++)
- for(k=0;k<3;k++)
- if(res->books_base_managed->books[i][k])
- r->secondstages[i]|=(1<<k);
- r->groupbook=book_dup_or_new(ci,res->book_aux_managed);
- ci->book_param[r->groupbook]=res->book_aux_managed;
-
- for(i=0;i<r->partitions;i++){
- for(k=0;k<3;k++){
- if(res->books_base_managed->books[i][k]){
- int bookid=book_dup_or_new(ci,res->books_base_managed->books[i][k]);
- r->booklist[booklist++]=bookid;
- ci->book_param[bookid]=res->books_base_managed->books[i][k];
- }
- }
- }
- }else{
- for(i=0;i<r->partitions;i++)
- for(k=0;k<3;k++)
- if(res->books_base->books[i][k])
- r->secondstages[i]|=(1<<k);
-
- r->groupbook=book_dup_or_new(ci,res->book_aux);
- ci->book_param[r->groupbook]=res->book_aux;
-
- for(i=0;i<r->partitions;i++){
- for(k=0;k<3;k++){
- if(res->books_base->books[i][k]){
- int bookid=book_dup_or_new(ci,res->books_base->books[i][k]);
- r->booklist[booklist++]=bookid;
- ci->book_param[bookid]=res->books_base->books[i][k];
- }
- }
- }
- }
- }
-
- /* lowpass setup/pointlimit */
- {
- double freq=ci->hi.lowpass_kHz*1000.;
- vorbis_info_floor1 *f=ci->floor_param[block]; /* by convention */
- double nyq=vi->rate/2.;
- long blocksize=ci->blocksizes[block]>>1;
- /* lowpass needs to be set in the floor and the residue. */
- if(freq>nyq)freq=nyq;
- /* in the floor, the granularity can be very fine; it doesn't alter
- the encoding structure, only the samples used to fit the floor
- approximation */
- f->n=freq/nyq*blocksize;
- /* this res may by limited by the maximum pointlimit of the mode,
- not the lowpass. the floor is always lowpass limited. */
- if(res->limit_type){
- if(ci->hi.managed)
- freq=ci->psy_g_param.coupling_pkHz[PACKETBLOBS-1]*1000.;
- else
- freq=ci->psy_g_param.coupling_pkHz[PACKETBLOBS/2]*1000.;
- if(freq>nyq)freq=nyq;
- }
-
- /* in the residue, we're constrained, physically, by partition
- boundaries. We still lowpass 'wherever', but we have to round up
- here to next boundary, or the vorbis spec will round it *down* to
- previous boundary in encode/decode */
- if(ci->residue_type[block]==2)
- r->end=(int)((freq/nyq*blocksize*2)/r->grouping+.9)* /* round up only if we're well past */
- r->grouping;
- else
- r->end=(int)((freq/nyq*blocksize)/r->grouping+.9)* /* round up only if we're well past */
- r->grouping;
- }
- }
- /* we assume two maps in this encoder */
- static void vorbis_encode_map_n_res_setup(vorbis_info *vi,double s,
- vorbis_mapping_template *maps){
- codec_setup_info *ci=vi->codec_setup;
- int i,j,is=s,modes=2;
- vorbis_info_mapping0 *map=maps[is].map;
- vorbis_info_mode *mode=_mode_template;
- vorbis_residue_template *res=maps[is].res;
- if(ci->blocksizes[0]==ci->blocksizes[1])modes=1;
- for(i=0;i<modes;i++){
- ci->map_param[i]=_ogg_calloc(1,sizeof(*map));
- ci->mode_param[i]=_ogg_calloc(1,sizeof(*mode));
-
- memcpy(ci->mode_param[i],mode+i,sizeof(*_mode_template));
- if(i>=ci->modes)ci->modes=i+1;
- ci->map_type[i]=0;
- memcpy(ci->map_param[i],map+i,sizeof(*map));
- if(i>=ci->maps)ci->maps=i+1;
-
- for(j=0;j<map[i].submaps;j++)
- vorbis_encode_residue_setup(vi,map[i].residuesubmap[j],i
- ,res+map[i].residuesubmap[j]);
- }
- }
- static double setting_to_approx_bitrate(vorbis_info *vi){
- codec_setup_info *ci=vi->codec_setup;
- highlevel_encode_setup *hi=&ci->hi;
- ve_setup_data_template *setup=(ve_setup_data_template *)hi->setup;
- int is=hi->base_setting;
- double ds=hi->base_setting-is;
- int ch=vi->channels;
- double *r=setup->rate_mapping;
- if(r==NULL)
- return(-1);
-
- return((r[is]*(1.-ds)+r[is+1]*ds)*ch);
- }
- static void get_setup_template(vorbis_info *vi,
- long ch,long srate,
- double req,int q_or_bitrate){
- int i=0,j;
- codec_setup_info *ci=vi->codec_setup;
- highlevel_encode_setup *hi=&ci->hi;
- if(q_or_bitrate)req/=ch;
- while(setup_list[i]){
- if(setup_list[i]->coupling_restriction==-1 ||
- setup_list[i]->coupling_restriction==ch){
- if(srate>=setup_list[i]->samplerate_min_restriction &&
- srate<=setup_list[i]->samplerate_max_restriction){
- int mappings=setup_list[i]->mappings;
- double *map=(q_or_bitrate?
- setup_list[i]->rate_mapping:
- setup_list[i]->quality_mapping);
- /* the template matches. Does the requested quality mode
- fall within this template's modes? */
- if(req<map[0]){++i;continue;}
- if(req>map[setup_list[i]->mappings]){++i;continue;}
- for(j=0;j<mappings;j++)
- if(req>=map[j] && req<map[j+1])break;
- /* an all-points match */
- hi->setup=setup_list[i];
- if(j==mappings)
- hi->base_setting=j-.001;
- else{
- float low=map[j];
- float high=map[j+1];
- float del=(req-low)/(high-low);
- hi->base_setting=j+del;
- }
- return;
- }
- }
- i++;
- }
-
- hi->setup=NULL;
- }
- /* encoders will need to use vorbis_info_init beforehand and call
- vorbis_info clear when all done */
- /* two interfaces; this, more detailed one, and later a convenience
- layer on top */
- /* the final setup call */
- int vorbis_encode_setup_init(vorbis_info *vi){
- int i0=0,singleblock=0;
- codec_setup_info *ci=vi->codec_setup;
- ve_setup_data_template *setup=NULL;
- highlevel_encode_setup *hi=&ci->hi;
- if(ci==NULL)return(OV_EINVAL);
- if(!hi->impulse_block_p)i0=1;
- /* too low/high an ATH floater is nonsensical, but doesn't break anything */
- if(hi->ath_floating_dB>-80)hi->ath_floating_dB=-80;
- if(hi->ath_floating_dB<-200)hi->ath_floating_dB=-200;
- /* again, bound this to avoid the app shooting itself int he foot
- too badly */
- if(hi->amplitude_track_dBpersec>0.)hi->amplitude_track_dBpersec=0.;
- if(hi->amplitude_track_dBpersec<-99999.)hi->amplitude_track_dBpersec=-99999.;
-
- /* get the appropriate setup template; matches the fetch in previous
- stages */
- setup=(ve_setup_data_template *)hi->setup;
- if(setup==NULL)return(OV_EINVAL);
- hi->set_in_stone=1;
- /* choose block sizes from configured sizes as well as paying
- attention to long_block_p and short_block_p. If the configured
- short and long blocks are the same length, we set long_block_p
- and unset short_block_p */
- vorbis_encode_blocksize_setup(vi,hi->base_setting,
- setup->blocksize_short,
- setup->blocksize_long);
- if(ci->blocksizes[0]==ci->blocksizes[1])singleblock=1;
-
- /* floor setup; choose proper floor params. Allocated on the floor
- stack in order; if we alloc only long floor, it's 0 */
- vorbis_encode_floor_setup(vi,hi->short_setting,0,
- setup->floor_books,
- setup->floor_params,
- setup->floor_short_mapping);
- if(!singleblock)
- vorbis_encode_floor_setup(vi,hi->long_setting,1,
- setup->floor_books,
- setup->floor_params,
- setup->floor_long_mapping);
-
- /* setup of [mostly] short block detection and stereo*/
- vorbis_encode_global_psych_setup(vi,hi->trigger_setting,
- setup->global_params,
- setup->global_mapping);
- vorbis_encode_global_stereo(vi,hi,setup->stereo_modes);
- /* basic psych setup and noise normalization */
- vorbis_encode_psyset_setup(vi,hi->short_setting,
- setup->psy_noise_normal_start[0],
- setup->psy_noise_normal_partition[0],
- setup->psy_noise_normal_thresh,
- 0);
- vorbis_encode_psyset_setup(vi,hi->short_setting,
- setup->psy_noise_normal_start[0],
- setup->psy_noise_normal_partition[0],
- setup->psy_noise_normal_thresh,
- 1);
- if(!singleblock){
- vorbis_encode_psyset_setup(vi,hi->long_setting,
- setup->psy_noise_normal_start[1],
- setup->psy_noise_normal_partition[1],
- setup->psy_noise_normal_thresh,
- 2);
- vorbis_encode_psyset_setup(vi,hi->long_setting,
- setup->psy_noise_normal_start[1],
- setup->psy_noise_normal_partition[1],
- setup->psy_noise_normal_thresh,
- 3);
- }
- /* tone masking setup */
- vorbis_encode_tonemask_setup(vi,hi->block[i0].tone_mask_setting,0,
- setup->psy_tone_masteratt,
- setup->psy_tone_0dB,
- setup->psy_tone_adj_impulse);
- vorbis_encode_tonemask_setup(vi,hi->block[1].tone_mask_setting,1,
- setup->psy_tone_masteratt,
- setup->psy_tone_0dB,
- setup->psy_tone_adj_other);
- if(!singleblock){
- vorbis_encode_tonemask_setup(vi,hi->block[2].tone_mask_setting,2,
- setup->psy_tone_masteratt,
- setup->psy_tone_0dB,
- setup->psy_tone_adj_other);
- vorbis_encode_tonemask_setup(vi,hi->block[3].tone_mask_setting,3,
- setup->psy_tone_masteratt,
- setup->psy_tone_0dB,
- setup->psy_tone_adj_long);
- }
- /* noise companding setup */
- vorbis_encode_compand_setup(vi,hi->block[i0].noise_compand_setting,0,
- setup->psy_noise_compand,
- setup->psy_noise_compand_short_mapping);
- vorbis_encode_compand_setup(vi,hi->block[1].noise_compand_setting,1,
- setup->psy_noise_compand,
- setup->psy_noise_compand_short_mapping);
- if(!singleblock){
- vorbis_encode_compand_setup(vi,hi->block[2].noise_compand_setting,2,
- setup->psy_noise_compand,
- setup->psy_noise_compand_long_mapping);
- vorbis_encode_compand_setup(vi,hi->block[3].noise_compand_setting,3,
- setup->psy_noise_compand,
- setup->psy_noise_compand_long_mapping);
- }
- /* peak guarding setup */
- vorbis_encode_peak_setup(vi,hi->block[i0].tone_peaklimit_setting,0,
- setup->psy_tone_dBsuppress);
- vorbis_encode_peak_setup(vi,hi->block[1].tone_peaklimit_setting,1,
- setup->psy_tone_dBsuppress);
- if(!singleblock){
- vorbis_encode_peak_setup(vi,hi->block[2].tone_peaklimit_setting,2,
- setup->psy_tone_dBsuppress);
- vorbis_encode_peak_setup(vi,hi->block[3].tone_peaklimit_setting,3,
- setup->psy_tone_dBsuppress);
- }
- /* noise bias setup */
- vorbis_encode_noisebias_setup(vi,hi->block[i0].noise_bias_setting,0,
- setup->psy_noise_dBsuppress,
- setup->psy_noise_bias_impulse,
- setup->psy_noiseguards,
- (i0==0?hi->impulse_noisetune:0.));
- vorbis_encode_noisebias_setup(vi,hi->block[1].noise_bias_setting,1,
- setup->psy_noise_dBsuppress,
- setup->psy_noise_bias_padding,
- setup->psy_noiseguards,0.);
- if(!singleblock){
- vorbis_encode_noisebias_setup(vi,hi->block[2].noise_bias_setting,2,
- setup->psy_noise_dBsuppress,
- setup->psy_noise_bias_trans,
- setup->psy_noiseguards,0.);
- vorbis_encode_noisebias_setup(vi,hi->block[3].noise_bias_setting,3,
- setup->psy_noise_dBsuppress,
- setup->psy_noise_bias_long,
- setup->psy_noiseguards,0.);
- }
- vorbis_encode_ath_setup(vi,0);
- vorbis_encode_ath_setup(vi,1);
- if(!singleblock){
- vorbis_encode_ath_setup(vi,2);
- vorbis_encode_ath_setup(vi,3);
- }
- vorbis_encode_map_n_res_setup(vi,hi->base_setting,setup->maps);
- /* set bitrate readonlies and management */
- vi->bitrate_nominal=setting_to_approx_bitrate(vi);
- vi->bitrate_lower=hi->bitrate_min;
- vi->bitrate_upper=hi->bitrate_max;
- vi->bitrate_window=hi->bitrate_limit_window;
- if(hi->managed){
- ci->bi.queue_avg_time=hi->bitrate_av_window;
- ci->bi.queue_avg_center=hi->bitrate_av_window_center;
- ci->bi.queue_minmax_time=hi->bitrate_limit_window;
- ci->bi.queue_hardmin=hi->bitrate_min;
- ci->bi.queue_hardmax=hi->bitrate_max;
- ci->bi.queue_avgmin=hi->bitrate_av_lo;
- ci->bi.queue_avgmax=hi->bitrate_av_hi;
- ci->bi.avgfloat_downslew_max=-999999.f;
- ci->bi.avgfloat_upslew_max=999999.f;
- }
- return(0);
-
- }
- static int vorbis_encode_setup_setting(vorbis_info *vi,
- long channels,
- long rate){
- int ret=0,i,is;
- codec_setup_info *ci=vi->codec_setup;
- highlevel_encode_setup *hi=&ci->hi;
- ve_setup_data_template *setup=hi->setup;
- double ds;
- ret=vorbis_encode_toplevel_setup(vi,channels,rate);
- if(ret)return(ret);
- is=hi->base_setting;
- ds=hi->base_setting-is;
- hi->short_setting=hi->base_setting;
- hi->long_setting=hi->base_setting;
- hi->managed=0;
- hi->impulse_block_p=1;
- hi->noise_normalize_p=1;
- hi->stereo_point_setting=hi->base_setting;
- hi->lowpass_kHz=
- setup->psy_lowpass[is]*(1.-ds)+setup->psy_lowpass[is+1]*ds;
-
- hi->ath_floating_dB=setup->psy_ath_float[is]*(1.-ds)+
- setup->psy_ath_float[is+1]*ds;
- hi->ath_absolute_dB=setup->psy_ath_abs[is]*(1.-ds)+
- setup->psy_ath_abs[is+1]*ds;
- hi->amplitude_track_dBpersec=-6.;
- hi->trigger_setting=hi->base_setting;
- for(i=0;i<4;i++){
- hi->block[i].tone_mask_setting=hi->base_setting;
- hi->block[i].tone_peaklimit_setting=hi->base_setting;
- hi->block[i].noise_bias_setting=hi->base_setting;
- hi->block[i].noise_compand_setting=hi->base_setting;
- }
- return(ret);
- }
- int vorbis_encode_setup_vbr(vorbis_info *vi,
- long channels,
- long rate,
- float quality){
- codec_setup_info *ci=vi->codec_setup;
- highlevel_encode_setup *hi=&ci->hi;
- quality+=.00001;
- if(quality>=1.)quality=.9999;
- get_setup_template(vi,channels,rate,quality,0);
- if(!hi->setup)return OV_EIMPL;
-
- return vorbis_encode_setup_setting(vi,channels,rate);
- }
- int vorbis_encode_init_vbr(vorbis_info *vi,
- long channels,
- long rate,
-
- float base_quality /* 0. to 1. */
- ){
- int ret=0;
- ret=vorbis_encode_setup_vbr(vi,channels,rate,base_quality);
-
- if(ret){
- vorbis_info_clear(vi);
- return ret;
- }
- ret=vorbis_encode_setup_init(vi);
- if(ret)
- vorbis_info_clear(vi);
- return(ret);
- }
- int vorbis_encode_setup_managed(vorbis_info *vi,
- long channels,
- long rate,
-
- long max_bitrate,
- long nominal_bitrate,
- long min_bitrate){
- codec_setup_info *ci=vi->codec_setup;
- highlevel_encode_setup *hi=&ci->hi;
- double tnominal=nominal_bitrate;
- int ret=0;
- if(nominal_bitrate<=0.){
- if(max_bitrate>0.){
- nominal_bitrate=max_bitrate*.875;
- }else{
- if(min_bitrate>0.){
- nominal_bitrate=min_bitrate;
- }else{
- return(OV_EINVAL);
- }
- }
- }
- get_setup_template(vi,channels,rate,nominal_bitrate,1);
- if(!hi->setup)return OV_EIMPL;
-
- ret=vorbis_encode_setup_setting(vi,channels,rate);
- if(ret){
- vorbis_info_clear(vi);
- return ret;
- }
- /* initialize management with sane defaults */
- /* initialize management with sane defaults */
- hi->managed=1;
- hi->bitrate_av_window=4.;
- hi->bitrate_av_window_center=.5;
- hi->bitrate_limit_window=2.;
- hi->bitrate_min=min_bitrate;
- hi->bitrate_max=max_bitrate;
- hi->bitrate_av_lo=tnominal;
- hi->bitrate_av_hi=tnominal;
- return(ret);
- }
- int vorbis_encode_init(vorbis_info *vi,
- long channels,
- long rate,
- long max_bitrate,
- long nominal_bitrate,
- long min_bitrate){
- int ret=vorbis_encode_setup_managed(vi,channels,rate,
- max_bitrate,
- nominal_bitrate,
- min_bitrate);
- if(ret){
- vorbis_info_clear(vi);
- return(ret);
- }
- ret=vorbis_encode_setup_init(vi);
- if(ret)
- vorbis_info_clear(vi);
- return(ret);
- }
- int vorbis_encode_ctl(vorbis_info *vi,int number,void *arg){
- if(vi){
- codec_setup_info *ci=vi->codec_setup;
- highlevel_encode_setup *hi=&ci->hi;
- int setp=(number&0xf); /* a read request has a low nibble of 0 */
- if(setp && hi->set_in_stone)return(OV_EINVAL);
- switch(number){
- case OV_ECTL_RATEMANAGE_GET:
- {
-
- struct ovectl_ratemanage_arg *ai=
- (struct ovectl_ratemanage_arg *)arg;
-
- ai->management_active=hi->managed;
- ai->bitrate_av_window=hi->bitrate_av_window;
- ai->bitrate_av_window_center=hi->bitrate_av_window_center;
- ai->bitrate_hard_window=hi->bitrate_limit_window;
- ai->bitrate_hard_min=hi->bitrate_min;
- ai->bitrate_hard_max=hi->bitrate_max;
- ai->bitrate_av_lo=hi->bitrate_av_lo;
- ai->bitrate_av_hi=hi->bitrate_av_hi;
-
- }
- return(0);
-
- case OV_ECTL_RATEMANAGE_SET:
- {
- struct ovectl_ratemanage_arg *ai=
- (struct ovectl_ratemanage_arg *)arg;
- if(ai==NULL){
- hi->managed=0;
- }else{
- hi->managed=ai->management_active;
- vorbis_encode_ctl(vi,OV_ECTL_RATEMANAGE_AVG,arg);
- vorbis_encode_ctl(vi,OV_ECTL_RATEMANAGE_HARD,arg);
- }
- }
- return 0;
- case OV_ECTL_RATEMANAGE_AVG:
- {
- struct ovectl_ratemanage_arg *ai=
- (struct ovectl_ratemanage_arg *)arg;
- if(ai==NULL){
- hi->bitrate_av_lo=0;
- hi->bitrate_av_hi=0;
- hi->bitrate_av_window=0;
- }else{
- hi->bitrate_av_window=ai->bitrate_av_window;
- hi->bitrate_av_window_center=ai->bitrate_av_window_center;
- hi->bitrate_av_lo=ai->bitrate_av_lo;
- hi->bitrate_av_hi=ai->bitrate_av_hi;
- }
- if(hi->bitrate_av_window<.25)hi->bitrate_av_window=.25;
- if(hi->bitrate_av_window>10.)hi->bitrate_av_window=10.;
- if(hi->bitrate_av_window_center<0.)hi->bitrate_av_window=0.;
- if(hi->bitrate_av_window_center>1.)hi->bitrate_av_window=1.;
-
- if( ( (hi->bitrate_av_lo<=0 && hi->bitrate_av_hi<=0)||
- (hi->bitrate_av_window<=0) ) &&
- ( (hi->bitrate_min<=0 && hi->bitrate_max<=0)||
- (hi->bitrate_limit_window<=0) ))
- hi->managed=0;
- }
- return(0);
- case OV_ECTL_RATEMANAGE_HARD:
- {
- struct ovectl_ratemanage_arg *ai=
- (struct ovectl_ratemanage_arg *)arg;
- if(ai==NULL){
- hi->bitrate_min=0;
- hi->bitrate_max=0;
- hi->bitrate_limit_window=0;
- }else{
- hi->bitrate_limit_window=ai->bitrate_hard_window;
- hi->bitrate_min=ai->bitrate_hard_min;
- hi->bitrate_max=ai->bitrate_hard_max;
- }
- if(hi->bitrate_limit_window<0.)hi->bitrate_limit_window=0.;
- if(hi->bitrate_limit_window>10.)hi->bitrate_limit_window=10.;
-
- if( ( (hi->bitrate_av_lo<=0 && hi->bitrate_av_hi<=0)||
- (hi->bitrate_av_window<=0) ) &&
- ( (hi->bitrate_min<=0 && hi->bitrate_max<=0)||
- (hi->bitrate_limit_window<=0) ))
- hi->managed=0;
- }
- return(0);
- case OV_ECTL_LOWPASS_GET:
- {
- double *farg=(double *)arg;
- *farg=hi->lowpass_kHz;
- }
- return(0);
- case OV_ECTL_LOWPASS_SET:
- {
- double *farg=(double *)arg;
- hi->lowpass_kHz=*farg;
- if(hi->lowpass_kHz<2.)hi->lowpass_kHz=2.;
- if(hi->lowpass_kHz>99.)hi->lowpass_kHz=99.;
- }
- return(0);
- case OV_ECTL_IBLOCK_GET:
- {
- double *farg=(double *)arg;
- *farg=hi->impulse_noisetune;
- }
- return(0);
- case OV_ECTL_IBLOCK_SET:
- {
- double *farg=(double *)arg;
- hi->impulse_noisetune=*farg;
- if(hi->impulse_noisetune>0.)hi->impulse_noisetune=0.;
- if(hi->impulse_noisetune<-15.)hi->impulse_noisetune=-15.;
- }
- return(0);
- }
- return(OV_EIMPL);
- }
- return(OV_EINVAL);
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: stdio-based convenience library for opening/seeking/decoding
- last mod: $Id: vorbisfile.c,v 1.75 2003/09/16 20:28:14 xiphmont Exp $
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2001 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: stdio-based convenience library for opening/seeking/decoding
- last mod: $Id: vorbisfile.h,v 1.20 2003/08/18 05:34:01 xiphmont Exp $
- ********************************************************************/
- #define _OV_FILE_H_
- /* The function prototypes for the callbacks are basically the same as for
- * the stdio functions fread, fseek, fclose, ftell.
- * The one difference is that the FILE * arguments have been replaced with
- * a void * - this is to be used as a pointer to whatever internal data these
- * functions might need. In the stdio case, it's just a FILE * cast to a void *
- *
- * If you use other functions, check the docs for these functions and return
- * the right values. For seek_func(), you *MUST* return -1 if the stream is
- * unseekable
- */
- typedef struct {
- size_t (*read_func) (void *ptr, size_t size, size_t nmemb, void *datasource);
- int (*seek_func) (void *datasource, ogg_int64_t offset, int whence);
- int (*close_func) (void *datasource);
- long (*tell_func) (void *datasource);
- } ov_callbacks;
- #define NOTOPEN 0
- #define PARTOPEN 1
- #define OPENED 2
- #define STREAMSET 3
- #define INITSET 4
- typedef struct OggVorbis_File {
- void *datasource; /* Pointer to a FILE *, etc. */
- int seekable;
- ogg_int64_t offset;
- ogg_int64_t end;
- ogg_sync_state oy;
- /* If the FILE handle isn't seekable (eg, a pipe), only the current
- stream appears */
- int links;
- ogg_int64_t *offsets;
- ogg_int64_t *dataoffsets;
- long *serialnos;
- ogg_int64_t *pcmlengths; /* overloaded to maintain binary
- compatability; x2 size, stores both
- beginning and end values */
- vorbis_info *vi;
- vorbis_comment *vc;
- /* Decoding working state local storage */
- ogg_int64_t pcm_offset;
- int ready_state;
- long current_serialno;
- int current_link;
- double bittrack;
- double samptrack;
- ogg_stream_state os; /* take physical pages, weld into a logical
- stream of packets */
- vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */
- vorbis_block vb; /* local working space for packet->PCM decode */
- ov_callbacks callbacks;
- } OggVorbis_File;
- extern int ov_clear(OggVorbis_File *vf);
- extern int ov_open(FILE *f,OggVorbis_File *vf,char *initial,long ibytes);
- extern int ov_open_callbacks(void *datasource, OggVorbis_File *vf,
- char *initial, long ibytes, ov_callbacks callbacks);
- extern int ov_test(FILE *f,OggVorbis_File *vf,char *initial,long ibytes);
- extern int ov_test_callbacks(void *datasource, OggVorbis_File *vf,
- char *initial, long ibytes, ov_callbacks callbacks);
- extern int ov_test_open(OggVorbis_File *vf);
- extern long ov_bitrate(OggVorbis_File *vf,int i);
- extern long ov_bitrate_instant(OggVorbis_File *vf);
- extern long ov_streams(OggVorbis_File *vf);
- extern long ov_seekable(OggVorbis_File *vf);
- extern long ov_serialnumber(OggVorbis_File *vf,int i);
- extern ogg_int64_t ov_raw_total(OggVorbis_File *vf,int i);
- extern ogg_int64_t ov_pcm_total(OggVorbis_File *vf,int i);
- extern double ov_time_total(OggVorbis_File *vf,int i);
- extern int ov_raw_seek(OggVorbis_File *vf,ogg_int64_t pos);
- extern int ov_pcm_seek(OggVorbis_File *vf,ogg_int64_t pos);
- extern int ov_pcm_seek_page(OggVorbis_File *vf,ogg_int64_t pos);
- extern int ov_time_seek(OggVorbis_File *vf,double pos);
- extern int ov_time_seek_page(OggVorbis_File *vf,double pos);
- extern int ov_raw_seek_lap(OggVorbis_File *vf,ogg_int64_t pos);
- extern int ov_pcm_seek_lap(OggVorbis_File *vf,ogg_int64_t pos);
- extern int ov_pcm_seek_page_lap(OggVorbis_File *vf,ogg_int64_t pos);
- extern int ov_time_seek_lap(OggVorbis_File *vf,double pos);
- extern int ov_time_seek_page_lap(OggVorbis_File *vf,double pos);
- extern ogg_int64_t ov_raw_tell(OggVorbis_File *vf);
- extern ogg_int64_t ov_pcm_tell(OggVorbis_File *vf);
- extern double ov_time_tell(OggVorbis_File *vf);
- extern vorbis_info *ov_info(OggVorbis_File *vf,int link);
- extern vorbis_comment *ov_comment(OggVorbis_File *vf,int link);
- extern long ov_read_float(OggVorbis_File *vf,float ***pcm_channels,int samples,
- int *bitstream);
- extern long ov_read(OggVorbis_File *vf,char *buffer,int length,
- int bigendianp,int word,int sgned,int *bitstream);
- extern int ov_crosslap(OggVorbis_File *vf1,OggVorbis_File *vf2);
- extern int ov_halfrate(OggVorbis_File *vf,int flag);
- extern int ov_halfrate_p(OggVorbis_File *vf);
- /* A 'chained bitstream' is a Vorbis bitstream that contains more than
- one logical bitstream arranged end to end (the only form of Ogg
- multiplexing allowed in a Vorbis bitstream; grouping [parallel
- multiplexing] is not allowed in Vorbis) */
- /* A Vorbis file can be played beginning to end (streamed) without
- worrying ahead of time about chaining (see decoder_example.c). If
- we have the whole file, however, and want random access
- (seeking/scrubbing) or desire to know the total length/time of a
- file, we need to account for the possibility of chaining. */
- /* We can handle things a number of ways; we can determine the entire
- bitstream structure right off the bat, or find pieces on demand.
- This example determines and caches structure for the entire
- bitstream, but builds a virtual decoder on the fly when moving
- between links in the chain. */
- /* There are also different ways to implement seeking. Enough
- information exists in an Ogg bitstream to seek to
- sample-granularity positions in the output. Or, one can seek by
- picking some portion of the stream roughly in the desired area if
- we only want coarse navigation through the stream. */
- /*************************************************************************
- * Many, many internal helpers. The intention is not to be confusing;
- * rampant duplication and monolithic function implementation would be
- * harder to understand anyway. The high level functions are last. Begin
- * grokking near the end of the file */
- /* read a little more data from the file/pipe into the ogg_sync framer
- */
- #define CHUNKSIZE 8500 /* a shade over 8k; anyone using pages well
- over 8k gets what they deserve */
- static long _get_data(OggVorbis_File *vf){
- errno=0;
- if(vf->datasource){
- char *buffer=ogg_sync_buffer(&vf->oy,CHUNKSIZE);
- long bytes=(vf->callbacks.read_func)(buffer,1,CHUNKSIZE,vf->datasource);
- if(bytes>0)ogg_sync_wrote(&vf->oy,bytes);
- if(bytes==0 && errno)return(-1);
- return(bytes);
- }else
- return(0);
- }
- /* save a tiny smidge of verbosity to make the code more readable */
- static void _seek_helper(OggVorbis_File *vf,ogg_int64_t offset){
- if(vf->datasource){
- (vf->callbacks.seek_func)(vf->datasource, offset, SEEK_SET);
- vf->offset=offset;
- ogg_sync_reset(&vf->oy);
- }else{
- /* shouldn't happen unless someone writes a broken callback */
- return;
- }
- }
- /* The read/seek functions track absolute position within the stream */
- /* from the head of the stream, get the next page. boundary specifies
- if the function is allowed to fetch more data from the stream (and
- how much) or only use internally buffered data.
- boundary: -1) unbounded search
- 0) read no additional data; use cached only
- n) search for a new page beginning for n bytes
- return: <0) did not find a page (OV_FALSE, OV_EOF, OV_EREAD)
- n) found a page at absolute offset n */
- static ogg_int64_t _get_next_page(OggVorbis_File *vf,ogg_page *og,
- ogg_int64_t boundary){
- if(boundary>0)boundary+=vf->offset;
- while(1){
- long more;
- if(boundary>0 && vf->offset>=boundary)return(OV_FALSE);
- more=ogg_sync_pageseek(&vf->oy,og);
-
- if(more<0){
- /* skipped n bytes */
- vf->offset-=more;
- }else{
- if(more==0){
- /* send more paramedics */
- if(!boundary)return(OV_FALSE);
- {
- long ret=_get_data(vf);
- if(ret==0)return(OV_EOF);
- if(ret<0)return(OV_EREAD);
- }
- }else{
- /* got a page. Return the offset at the page beginning,
- advance the internal offset past the page end */
- ogg_int64_t ret=vf->offset;
- vf->offset+=more;
- return(ret);
-
- }
- }
- }
- }
- /* find the latest page beginning before the current stream cursor
- position. Much dirtier than the above as Ogg doesn't have any
- backward search linkage. no 'readp' as it will certainly have to
- read. */
- /* returns offset or OV_EREAD, OV_FAULT */
- static ogg_int64_t _get_prev_page(OggVorbis_File *vf,ogg_page *og){
- ogg_int64_t begin=vf->offset;
- ogg_int64_t end=begin;
- ogg_int64_t ret;
- ogg_int64_t offset=-1;
- while(offset==-1){
- begin-=CHUNKSIZE;
- if(begin<0)
- begin=0;
- _seek_helper(vf,begin);
- while(vf->offset<end){
- ret=_get_next_page(vf,og,end-vf->offset);
- if(ret==OV_EREAD)return(OV_EREAD);
- if(ret<0){
- break;
- }else{
- offset=ret;
- }
- }
- }
- /* we have the offset. Actually snork and hold the page now */
- _seek_helper(vf,offset);
- ret=_get_next_page(vf,og,CHUNKSIZE);
- if(ret<0)
- /* this shouldn't be possible */
- return(OV_EFAULT);
- return(offset);
- }
- /* finds each bitstream link one at a time using a bisection search
- (has to begin by knowing the offset of the lb's initial page).
- Recurses for each link so it can alloc the link storage after
- finding them all, then unroll and fill the cache at the same time */
- static int _bisect_forward_serialno(OggVorbis_File *vf,
- ogg_int64_t begin,
- ogg_int64_t searched,
- ogg_int64_t end,
- long currentno,
- long m){
- ogg_int64_t endsearched=end;
- ogg_int64_t next=end;
- ogg_page og;
- ogg_int64_t ret;
-
- /* the below guards against garbage seperating the last and
- first pages of two links. */
- while(searched<endsearched){
- ogg_int64_t bisect;
-
- if(endsearched-searched<CHUNKSIZE){
- bisect=searched;
- }else{
- bisect=(searched+endsearched)/2;
- }
-
- _seek_helper(vf,bisect);
- ret=_get_next_page(vf,&og,-1);
- if(ret==OV_EREAD)return(OV_EREAD);
- if(ret<0 || ogg_page_serialno(&og)!=currentno){
- endsearched=bisect;
- if(ret>=0)next=ret;
- }else{
- searched=ret+og.header_len+og.body_len;
- }
- }
- _seek_helper(vf,next);
- ret=_get_next_page(vf,&og,-1);
- if(ret==OV_EREAD)return(OV_EREAD);
-
- if(searched>=end || ret<0){
- vf->links=m+1;
- vf->offsets=_ogg_malloc((vf->links+1)*sizeof(*vf->offsets));
- vf->serialnos=_ogg_malloc(vf->links*sizeof(*vf->serialnos));
- vf->offsets[m+1]=searched;
- }else{
- ret=_bisect_forward_serialno(vf,next,vf->offset,
- end,ogg_page_serialno(&og),m+1);
- if(ret==OV_EREAD)return(OV_EREAD);
- }
-
- vf->offsets[m]=begin;
- vf->serialnos[m]=currentno;
- return(0);
- }
- /* uses the local ogg_stream storage in vf; this is important for
- non-streaming input sources */
- static int _fetch_headers(OggVorbis_File *vf,vorbis_info *vi,vorbis_comment *vc,
- long *serialno,ogg_page *og_ptr){
- ogg_page og;
- ogg_packet op;
- int i,ret;
-
- if(!og_ptr){
- ogg_int64_t llret=_get_next_page(vf,&og,CHUNKSIZE);
- if(llret==OV_EREAD)return(OV_EREAD);
- if(llret<0)return OV_ENOTVORBIS;
- og_ptr=&og;
- }
- ogg_stream_reset_serialno(&vf->os,ogg_page_serialno(og_ptr));
- if(serialno)*serialno=vf->os.serialno;
- vf->ready_state=STREAMSET;
-
- /* extract the initial header from the first page and verify that the
- Ogg bitstream is in fact Vorbis data */
-
- vorbis_info_init(vi);
- vorbis_comment_init(vc);
-
- i=0;
- while(i<3){
- ogg_stream_pagein(&vf->os,og_ptr);
- while(i<3){
- int result=ogg_stream_packetout(&vf->os,&op);
- if(result==0)break;
- if(result==-1){
- ret=OV_EBADHEADER;
- goto bail_header;
- }
- if((ret=vorbis_synthesis_headerin(vi,vc,&op))){
- goto bail_header;
- }
- i++;
- }
- if(i<3)
- if(_get_next_page(vf,og_ptr,CHUNKSIZE)<0){
- ret=OV_EBADHEADER;
- goto bail_header;
- }
- }
- return 0;
- bail_header:
- vorbis_info_clear(vi);
- vorbis_comment_clear(vc);
- vf->ready_state=OPENED;
- return ret;
- }
- /* last step of the OggVorbis_File initialization; get all the
- vorbis_info structs and PCM positions. Only called by the seekable
- initialization (local stream storage is hacked slightly; pay
- attention to how that's done) */
- /* this is void and does not propogate errors up because we want to be
- able to open and use damaged bitstreams as well as we can. Just
- watch out for missing information for links in the OggVorbis_File
- struct */
- static void _prefetch_all_headers(OggVorbis_File *vf, ogg_int64_t dataoffset){
- ogg_page og;
- int i;
- ogg_int64_t ret;
-
- vf->vi=_ogg_realloc(vf->vi,vf->links*sizeof(*vf->vi));
- vf->vc=_ogg_realloc(vf->vc,vf->links*sizeof(*vf->vc));
- vf->dataoffsets=_ogg_malloc(vf->links*sizeof(*vf->dataoffsets));
- vf->pcmlengths=_ogg_malloc(vf->links*2*sizeof(*vf->pcmlengths));
-
- for(i=0;i<vf->links;i++){
- if(i==0){
- /* we already grabbed the initial header earlier. Just set the offset */
- vf->dataoffsets[i]=dataoffset;
- _seek_helper(vf,dataoffset);
- }else{
- /* seek to the location of the initial header */
- _seek_helper(vf,vf->offsets[i]);
- if(_fetch_headers(vf,vf->vi+i,vf->vc+i,NULL,NULL)<0){
- vf->dataoffsets[i]=-1;
- }else{
- vf->dataoffsets[i]=vf->offset;
- }
- }
- /* fetch beginning PCM offset */
- if(vf->dataoffsets[i]!=-1){
- ogg_int64_t accumulated=0;
- long lastblock=-1;
- int result;
- ogg_stream_reset_serialno(&vf->os,vf->serialnos[i]);
- while(1){
- ogg_packet op;
- ret=_get_next_page(vf,&og,-1);
- if(ret<0)
- /* this should not be possible unless the file is
- truncated/mangled */
- break;
-
- if(ogg_page_serialno(&og)!=vf->serialnos[i])
- break;
-
- /* count blocksizes of all frames in the page */
- ogg_stream_pagein(&vf->os,&og);
- while((result=ogg_stream_packetout(&vf->os,&op))){
- if(result>0){ /* ignore holes */
- long thisblock=vorbis_packet_blocksize(vf->vi+i,&op);
- if(lastblock!=-1)
- accumulated+=(lastblock+thisblock)>>2;
- lastblock=thisblock;
- }
- }
- if(ogg_page_granulepos(&og)!=-1){
- /* pcm offset of last packet on the first audio page */
- accumulated= ogg_page_granulepos(&og)-accumulated;
- break;
- }
- }
- /* less than zero? This is a stream with samples trimmed off
- the beginning, a normal occurrence; set the offset to zero */
- if(accumulated<0)accumulated=0;
- vf->pcmlengths[i*2]=accumulated;
- }
- /* get the PCM length of this link. To do this,
- get the last page of the stream */
- {
- ogg_int64_t end=vf->offsets[i+1];
- _seek_helper(vf,end);
- while(1){
- ret=_get_prev_page(vf,&og);
- if(ret<0){
- /* this should not be possible */
- vorbis_info_clear(vf->vi+i);
- vorbis_comment_clear(vf->vc+i);
- break;
- }
- if(ogg_page_granulepos(&og)!=-1){
- vf->pcmlengths[i*2+1]=ogg_page_granulepos(&og)-vf->pcmlengths[i*2];
- break;
- }
- vf->offset=ret;
- }
- }
- }
- }
- static int _make_decode_ready(OggVorbis_File *vf){
- if(vf->ready_state>STREAMSET)return 0;
- if(vf->ready_state<STREAMSET)return OV_EFAULT;
- if(vf->seekable){
- if(vorbis_synthesis_init(&vf->vd,vf->vi+vf->current_link))
- return OV_EBADLINK;
- }else{
- if(vorbis_synthesis_init(&vf->vd,vf->vi))
- return OV_EBADLINK;
- }
- vorbis_block_init(&vf->vd,&vf->vb);
- vf->ready_state=INITSET;
- vf->bittrack=0.f;
- vf->samptrack=0.f;
- return 0;
- }
- static int _open_seekable2(OggVorbis_File *vf){
- long serialno=vf->current_serialno;
- ogg_int64_t dataoffset=vf->offset, end;
- ogg_page og;
- /* we're partially open and have a first link header state in
- storage in vf */
- /* we can seek, so set out learning all about this file */
- (vf->callbacks.seek_func)(vf->datasource,0,SEEK_END);
- vf->offset=vf->end=(vf->callbacks.tell_func)(vf->datasource);
-
- /* We get the offset for the last page of the physical bitstream.
- Most OggVorbis files will contain a single logical bitstream */
- end=_get_prev_page(vf,&og);
- if(end<0)return(end);
- /* more than one logical bitstream? */
- if(ogg_page_serialno(&og)!=serialno){
- /* Chained bitstream. Bisect-search each logical bitstream
- section. Do so based on serial number only */
- if(_bisect_forward_serialno(vf,0,0,end+1,serialno,0)<0)return(OV_EREAD);
- }else{
- /* Only one logical bitstream */
- if(_bisect_forward_serialno(vf,0,end,end+1,serialno,0))return(OV_EREAD);
- }
- /* the initial header memory is referenced by vf after; don't free it */
- _prefetch_all_headers(vf,dataoffset);
- return(ov_raw_seek(vf,0));
- }
- /* clear out the current logical bitstream decoder */
- static void _decode_clear(OggVorbis_File *vf){
- vorbis_dsp_clear(&vf->vd);
- vorbis_block_clear(&vf->vb);
- vf->ready_state=OPENED;
- }
- /* fetch and process a packet. Handles the case where we're at a
- bitstream boundary and dumps the decoding machine. If the decoding
- machine is unloaded, it loads it. It also keeps pcm_offset up to
- date (seek and read both use this. seek uses a special hack with
- readp).
- return: <0) error, OV_HOLE (lost packet) or OV_EOF
- 0) need more data (only if readp==0)
- 1) got a packet
- */
- static int _fetch_and_process_packet(OggVorbis_File *vf,
- ogg_packet *op_in,
- int readp,
- int spanp){
- ogg_page og;
- /* handle one packet. Try to fetch it from current stream state */
- /* extract packets from page */
- while(1){
-
- /* process a packet if we can. If the machine isn't loaded,
- neither is a page */
- if(vf->ready_state==INITSET){
- while(1) {
- ogg_packet op;
- ogg_packet *op_ptr=(op_in?op_in:&op);
- int result=ogg_stream_packetout(&vf->os,op_ptr);
- ogg_int64_t granulepos;
- op_in=NULL;
- if(result==-1)return(OV_HOLE); /* hole in the data. */
- if(result>0){
- /* got a packet. process it */
- granulepos=op_ptr->granulepos;
- if(!vorbis_synthesis(&vf->vb,op_ptr)){ /* lazy check for lazy
- header handling. The
- header packets aren't
- audio, so if/when we
- submit them,
- vorbis_synthesis will
- reject them */
- /* suck in the synthesis data and track bitrate */
- {
- int oldsamples=vorbis_synthesis_pcmout(&vf->vd,NULL);
- /* for proper use of libvorbis within libvorbisfile,
- oldsamples will always be zero. */
- if(oldsamples)return(OV_EFAULT);
-
- vorbis_synthesis_blockin(&vf->vd,&vf->vb);
- vf->samptrack+=vorbis_synthesis_pcmout(&vf->vd,NULL)-oldsamples;
- vf->bittrack+=op_ptr->bytes*8;
- }
-
- /* update the pcm offset. */
- if(granulepos!=-1 && !op_ptr->e_o_s){
- int link=(vf->seekable?vf->current_link:0);
- int i,samples;
-
- /* this packet has a pcm_offset on it (the last packet
- completed on a page carries the offset) After processing
- (above), we know the pcm position of the *last* sample
- ready to be returned. Find the offset of the *first*
- As an aside, this trick is inaccurate if we begin
- reading anew right at the last page; the end-of-stream
- granulepos declares the last frame in the stream, and the
- last packet of the last page may be a partial frame.
- So, we need a previous granulepos from an in-sequence page
- to have a reference point. Thus the !op_ptr->e_o_s clause
- above */
- if(vf->seekable && link>0)
- granulepos-=vf->pcmlengths[link*2];
- if(granulepos<0)granulepos=0; /* actually, this
- shouldn't be possible
- here unless the stream
- is very broken */
- samples=vorbis_synthesis_pcmout(&vf->vd,NULL);
-
- granulepos-=samples;
- for(i=0;i<link;i++)
- granulepos+=vf->pcmlengths[i*2+1];
- vf->pcm_offset=granulepos;
- }
- return(1);
- }
- }
- else
- break;
- }
- }
- if(vf->ready_state>=OPENED){
- int ret;
- if(!readp)return(0);
- if((ret=_get_next_page(vf,&og,-1))<0){
- return(OV_EOF); /* eof.
- leave unitialized */
- }
- /* bitrate tracking; add the header's bytes here, the body bytes
- are done by packet above */
- vf->bittrack+=og.header_len*8;
-
- /* has our decoding just traversed a bitstream boundary? */
- if(vf->ready_state==INITSET){
- if(vf->current_serialno!=ogg_page_serialno(&og)){
- if(!spanp)
- return(OV_EOF);
- _decode_clear(vf);
-
- if(!vf->seekable){
- vorbis_info_clear(vf->vi);
- vorbis_comment_clear(vf->vc);
- }
- }
- }
- }
- /* Do we need to load a new machine before submitting the page? */
- /* This is different in the seekable and non-seekable cases.
- In the seekable case, we already have all the header
- information loaded and cached; we just initialize the machine
- with it and continue on our merry way.
- In the non-seekable (streaming) case, we'll only be at a
- boundary if we just left the previous logical bitstream and
- we're now nominally at the header of the next bitstream
- */
- if(vf->ready_state!=INITSET){
- int link;
- if(vf->ready_state<STREAMSET){
- if(vf->seekable){
- vf->current_serialno=ogg_page_serialno(&og);
-
- /* match the serialno to bitstream section. We use this rather than
- offset positions to avoid problems near logical bitstream
- boundaries */
- for(link=0;link<vf->links;link++)
- if(vf->serialnos[link]==vf->current_serialno)break;
- if(link==vf->links)return(OV_EBADLINK); /* sign of a bogus
- stream. error out,
- leave machine
- uninitialized */
-
- vf->current_link=link;
-
- ogg_stream_reset_serialno(&vf->os,vf->current_serialno);
- vf->ready_state=STREAMSET;
-
- }else{
- /* we're streaming */
- /* fetch the three header packets, build the info struct */
-
- int ret=_fetch_headers(vf,vf->vi,vf->vc,&vf->current_serialno,&og);
- if(ret)return(ret);
- vf->current_link++;
- link=0;
- }
- }
-
- {
- int ret=_make_decode_ready(vf);
- if(ret<0)return ret;
- }
- }
- ogg_stream_pagein(&vf->os,&og);
- }
- }
- /* if, eg, 64 bit stdio is configured by default, this will build with
- fseek64 */
- static int _fseek64_wrap(FILE *f,ogg_int64_t off,int whence){
- if(f==NULL)return(-1);
- return fseek(f,off,whence);
- }
- static int _ov_open1(void *f,OggVorbis_File *vf,char *initial,
- long ibytes, ov_callbacks callbacks){
- int offsettest=(f?callbacks.seek_func(f,0,SEEK_CUR):-1);
- int ret;
- memset(vf,0,sizeof(*vf));
- vf->datasource=f;
- vf->callbacks = callbacks;
- /* init the framing state */
- ogg_sync_init(&vf->oy);
- /* perhaps some data was previously read into a buffer for testing
- against other stream types. Allow initialization from this
- previously read data (as we may be reading from a non-seekable
- stream) */
- if(initial){
- char *buffer=ogg_sync_buffer(&vf->oy,ibytes);
- memcpy(buffer,initial,ibytes);
- ogg_sync_wrote(&vf->oy,ibytes);
- }
- /* can we seek? Stevens suggests the seek test was portable */
- if(offsettest!=-1)vf->seekable=1;
- /* No seeking yet; Set up a 'single' (current) logical bitstream
- entry for partial open */
- vf->links=1;
- vf->vi=_ogg_calloc(vf->links,sizeof(*vf->vi));
- vf->vc=_ogg_calloc(vf->links,sizeof(*vf->vc));
- ogg_stream_init(&vf->os,-1); /* fill in the serialno later */
- /* Try to fetch the headers, maintaining all the storage */
- if((ret=_fetch_headers(vf,vf->vi,vf->vc,&vf->current_serialno,NULL))<0){
- vf->datasource=NULL;
- ov_clear(vf);
- }else
- vf->ready_state=PARTOPEN;
- return(ret);
- }
- static int _ov_open2(OggVorbis_File *vf){
- if(vf->ready_state != PARTOPEN) return OV_EINVAL;
- vf->ready_state=OPENED;
- if(vf->seekable){
- int ret=_open_seekable2(vf);
- if(ret){
- vf->datasource=NULL;
- ov_clear(vf);
- }
- return(ret);
- }else
- vf->ready_state=STREAMSET;
- return 0;
- }
- /* clear out the OggVorbis_File struct */
- int ov_clear(OggVorbis_File *vf){
- if(vf){
- vorbis_block_clear(&vf->vb);
- vorbis_dsp_clear(&vf->vd);
- ogg_stream_clear(&vf->os);
-
- if(vf->vi && vf->links){
- int i;
- for(i=0;i<vf->links;i++){
- vorbis_info_clear(vf->vi+i);
- vorbis_comment_clear(vf->vc+i);
- }
- _ogg_free(vf->vi);
- _ogg_free(vf->vc);
- }
- if(vf->dataoffsets)_ogg_free(vf->dataoffsets);
- if(vf->pcmlengths)_ogg_free(vf->pcmlengths);
- if(vf->serialnos)_ogg_free(vf->serialnos);
- if(vf->offsets)_ogg_free(vf->offsets);
- ogg_sync_clear(&vf->oy);
- if(vf->datasource)(vf->callbacks.close_func)(vf->datasource);
- memset(vf,0,sizeof(*vf));
- }
- #ifdef DEBUG_LEAKS
- _VDBG_dump();
- #endif
- return(0);
- }
- /* inspects the OggVorbis file and finds/documents all the logical
- bitstreams contained in it. Tries to be tolerant of logical
- bitstream sections that are truncated/woogie.
- return: -1) error
- 0) OK
- */
- int ov_open_callbacks(void *f,OggVorbis_File *vf,char *initial,long ibytes,
- ov_callbacks callbacks){
- int ret=_ov_open1(f,vf,initial,ibytes,callbacks);
- if(ret)return ret;
- return _ov_open2(vf);
- }
- int ov_open(FILE *f,OggVorbis_File *vf,char *initial,long ibytes){
- ov_callbacks callbacks = {
- (size_t (*)(void *, size_t, size_t, void *)) fread,
- (int (*)(void *, ogg_int64_t, int)) _fseek64_wrap,
- (int (*)(void *)) fclose,
- (long (*)(void *)) ftell
- };
- return ov_open_callbacks((void *)f, vf, initial, ibytes, callbacks);
- }
-
- /* cheap hack for game usage where downsampling is desirable; there's
- no need for SRC as we can just do it cheaply in libvorbis. */
-
- int ov_halfrate(OggVorbis_File *vf,int flag){
- int i;
- if(vf->vi==NULL)return OV_EINVAL;
- if(!vf->seekable)return OV_EINVAL;
- if(vf->ready_state>=STREAMSET)
- _decode_clear(vf); /* clear out stream state; later on libvorbis
- will be able to swap this on the fly, but
- for now dumping the decode machine is needed
- to reinit the MDCT lookups. 1.1 libvorbis
- is planned to be able to switch on the fly */
-
- for(i=0;i<vf->links;i++){
- if(vorbis_synthesis_halfrate(vf->vi+i,flag)){
- ov_halfrate(vf,0);
- return OV_EINVAL;
- }
- }
- return 0;
- }
- int ov_halfrate_p(OggVorbis_File *vf){
- if(vf->vi==NULL)return OV_EINVAL;
- return vorbis_synthesis_halfrate_p(vf->vi);
- }
- /* Only partially open the vorbis file; test for Vorbisness, and load
- the headers for the first chain. Do not seek (although test for
- seekability). Use ov_test_open to finish opening the file, else
- ov_clear to close/free it. Same return codes as open. */
- int ov_test_callbacks(void *f,OggVorbis_File *vf,char *initial,long ibytes,
- ov_callbacks callbacks)
- {
- return _ov_open1(f,vf,initial,ibytes,callbacks);
- }
- int ov_test(FILE *f,OggVorbis_File *vf,char *initial,long ibytes){
- ov_callbacks callbacks = {
- (size_t (*)(void *, size_t, size_t, void *)) fread,
- (int (*)(void *, ogg_int64_t, int)) _fseek64_wrap,
- (int (*)(void *)) fclose,
- (long (*)(void *)) ftell
- };
- return ov_test_callbacks((void *)f, vf, initial, ibytes, callbacks);
- }
-
- int ov_test_open(OggVorbis_File *vf){
- if(vf->ready_state!=PARTOPEN)return(OV_EINVAL);
- return _ov_open2(vf);
- }
- /* How many logical bitstreams in this physical bitstream? */
- long ov_streams(OggVorbis_File *vf){
- return vf->links;
- }
- /* Is the FILE * associated with vf seekable? */
- long ov_seekable(OggVorbis_File *vf){
- return vf->seekable;
- }
- /* returns the bitrate for a given logical bitstream or the entire
- physical bitstream. If the file is open for random access, it will
- find the *actual* average bitrate. If the file is streaming, it
- returns the nominal bitrate (if set) else the average of the
- upper/lower bounds (if set) else -1 (unset).
- If you want the actual bitrate field settings, get them from the
- vorbis_info structs */
- long ov_bitrate(OggVorbis_File *vf,int i){
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- if(i>=vf->links)return(OV_EINVAL);
- if(!vf->seekable && i!=0)return(ov_bitrate(vf,0));
- if(i<0){
- ogg_int64_t bits=0;
- int i;
- float br;
- for(i=0;i<vf->links;i++)
- bits+=(vf->offsets[i+1]-vf->dataoffsets[i])*8;
- /* This once read: return(rint(bits/ov_time_total(vf,-1)));
- * gcc 3.x on x86 miscompiled this at optimisation level 2 and above,
- * so this is slightly transformed to make it work.
- */
- br = bits/ov_time_total(vf,-1);
- return(rint(br));
- }else{
- if(vf->seekable){
- /* return the actual bitrate */
- return(rint((vf->offsets[i+1]-vf->dataoffsets[i])*8/ov_time_total(vf,i)));
- }else{
- /* return nominal if set */
- if(vf->vi[i].bitrate_nominal>0){
- return vf->vi[i].bitrate_nominal;
- }else{
- if(vf->vi[i].bitrate_upper>0){
- if(vf->vi[i].bitrate_lower>0){
- return (vf->vi[i].bitrate_upper+vf->vi[i].bitrate_lower)/2;
- }else{
- return vf->vi[i].bitrate_upper;
- }
- }
- return(OV_FALSE);
- }
- }
- }
- }
- /* returns the actual bitrate since last call. returns -1 if no
- additional data to offer since last call (or at beginning of stream),
- EINVAL if stream is only partially open
- */
- long ov_bitrate_instant(OggVorbis_File *vf){
- int link=(vf->seekable?vf->current_link:0);
- long ret;
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- if(vf->samptrack==0)return(OV_FALSE);
- ret=vf->bittrack/vf->samptrack*vf->vi[link].rate+.5;
- vf->bittrack=0.f;
- vf->samptrack=0.f;
- return(ret);
- }
- /* Guess */
- long ov_serialnumber(OggVorbis_File *vf,int i){
- if(i>=vf->links)return(ov_serialnumber(vf,vf->links-1));
- if(!vf->seekable && i>=0)return(ov_serialnumber(vf,-1));
- if(i<0){
- return(vf->current_serialno);
- }else{
- return(vf->serialnos[i]);
- }
- }
- /* returns: total raw (compressed) length of content if i==-1
- raw (compressed) length of that logical bitstream for i==0 to n
- OV_EINVAL if the stream is not seekable (we can't know the length)
- or if stream is only partially open
- */
- ogg_int64_t ov_raw_total(OggVorbis_File *vf,int i){
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- if(!vf->seekable || i>=vf->links)return(OV_EINVAL);
- if(i<0){
- ogg_int64_t acc=0;
- int i;
- for(i=0;i<vf->links;i++)
- acc+=ov_raw_total(vf,i);
- return(acc);
- }else{
- return(vf->offsets[i+1]-vf->offsets[i]);
- }
- }
- /* returns: total PCM length (samples) of content if i==-1 PCM length
- (samples) of that logical bitstream for i==0 to n
- OV_EINVAL if the stream is not seekable (we can't know the
- length) or only partially open
- */
- ogg_int64_t ov_pcm_total(OggVorbis_File *vf,int i){
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- if(!vf->seekable || i>=vf->links)return(OV_EINVAL);
- if(i<0){
- ogg_int64_t acc=0;
- int i;
- for(i=0;i<vf->links;i++)
- acc+=ov_pcm_total(vf,i);
- return(acc);
- }else{
- return(vf->pcmlengths[i*2+1]);
- }
- }
- /* returns: total seconds of content if i==-1
- seconds in that logical bitstream for i==0 to n
- OV_EINVAL if the stream is not seekable (we can't know the
- length) or only partially open
- */
- double ov_time_total(OggVorbis_File *vf,int i){
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- if(!vf->seekable || i>=vf->links)return(OV_EINVAL);
- if(i<0){
- double acc=0;
- int i;
- for(i=0;i<vf->links;i++)
- acc+=ov_time_total(vf,i);
- return(acc);
- }else{
- return((double)(vf->pcmlengths[i*2+1])/vf->vi[i].rate);
- }
- }
- /* seek to an offset relative to the *compressed* data. This also
- scans packets to update the PCM cursor. It will cross a logical
- bitstream boundary, but only if it can't get any packets out of the
- tail of the bitstream we seek to (so no surprises).
- returns zero on success, nonzero on failure */
- int ov_raw_seek(OggVorbis_File *vf,ogg_int64_t pos){
- ogg_stream_state work_os;
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- if(!vf->seekable)
- return(OV_ENOSEEK); /* don't dump machine if we can't seek */
- if(pos<0 || pos>vf->end)return(OV_EINVAL);
- /* don't yet clear out decoding machine (if it's initialized), in
- the case we're in the same link. Restart the decode lapping, and
- let _fetch_and_process_packet deal with a potential bitstream
- boundary */
- vf->pcm_offset=-1;
- ogg_stream_reset_serialno(&vf->os,
- vf->current_serialno); /* must set serialno */
- vorbis_synthesis_restart(&vf->vd);
-
- _seek_helper(vf,pos);
- /* we need to make sure the pcm_offset is set, but we don't want to
- advance the raw cursor past good packets just to get to the first
- with a granulepos. That's not equivalent behavior to beginning
- decoding as immediately after the seek position as possible.
- So, a hack. We use two stream states; a local scratch state and
- the shared vf->os stream state. We use the local state to
- scan, and the shared state as a buffer for later decode.
- Unfortuantely, on the last page we still advance to last packet
- because the granulepos on the last page is not necessarily on a
- packet boundary, and we need to make sure the granpos is
- correct.
- */
- {
- ogg_page og;
- ogg_packet op;
- int lastblock=0;
- int accblock=0;
- int thisblock;
- int eosflag;
- ogg_stream_init(&work_os,vf->current_serialno); /* get the memory ready */
- ogg_stream_reset(&work_os); /* eliminate the spurious OV_HOLE
- return from not necessarily
- starting from the beginning */
- while(1){
- if(vf->ready_state>=STREAMSET){
- /* snarf/scan a packet if we can */
- int result=ogg_stream_packetout(&work_os,&op);
-
- if(result>0){
- if(vf->vi[vf->current_link].codec_setup){
- thisblock=vorbis_packet_blocksize(vf->vi+vf->current_link,&op);
- if(thisblock<0){
- ogg_stream_packetout(&vf->os,NULL);
- thisblock=0;
- }else{
-
- if(eosflag)
- ogg_stream_packetout(&vf->os,NULL);
- else
- if(lastblock)accblock+=(lastblock+thisblock)>>2;
- }
- if(op.granulepos!=-1){
- int i,link=vf->current_link;
- ogg_int64_t granulepos=op.granulepos-vf->pcmlengths[link*2];
- if(granulepos<0)granulepos=0;
-
- for(i=0;i<link;i++)
- granulepos+=vf->pcmlengths[i*2+1];
- vf->pcm_offset=granulepos-accblock;
- break;
- }
- lastblock=thisblock;
- continue;
- }else
- ogg_stream_packetout(&vf->os,NULL);
- }
- }
-
- if(!lastblock){
- if(_get_next_page(vf,&og,-1)<0){
- vf->pcm_offset=ov_pcm_total(vf,-1);
- break;
- }
- }else{
- /* huh? Bogus stream with packets but no granulepos */
- vf->pcm_offset=-1;
- break;
- }
-
- /* has our decoding just traversed a bitstream boundary? */
- if(vf->ready_state>=STREAMSET)
- if(vf->current_serialno!=ogg_page_serialno(&og)){
- _decode_clear(vf); /* clear out stream state */
- ogg_stream_clear(&work_os);
- }
- if(vf->ready_state<STREAMSET){
- int link;
-
- vf->current_serialno=ogg_page_serialno(&og);
- for(link=0;link<vf->links;link++)
- if(vf->serialnos[link]==vf->current_serialno)break;
- if(link==vf->links)goto seek_error; /* sign of a bogus stream.
- error out, leave
- machine uninitialized */
- vf->current_link=link;
-
- ogg_stream_reset_serialno(&vf->os,vf->current_serialno);
- ogg_stream_reset_serialno(&work_os,vf->current_serialno);
- vf->ready_state=STREAMSET;
-
- }
-
- ogg_stream_pagein(&vf->os,&og);
- ogg_stream_pagein(&work_os,&og);
- eosflag=ogg_page_eos(&og);
- }
- }
- ogg_stream_clear(&work_os);
- vf->bittrack=0.f;
- vf->samptrack=0.f;
- return(0);
- seek_error:
- /* dump the machine so we're in a known state */
- vf->pcm_offset=-1;
- ogg_stream_clear(&work_os);
- _decode_clear(vf);
- return OV_EBADLINK;
- }
- /* Page granularity seek (faster than sample granularity because we
- don't do the last bit of decode to find a specific sample).
- Seek to the last [granule marked] page preceeding the specified pos
- location, such that decoding past the returned point will quickly
- arrive at the requested position. */
- int ov_pcm_seek_page(OggVorbis_File *vf,ogg_int64_t pos){
- int link=-1;
- ogg_int64_t result=0;
- ogg_int64_t total=ov_pcm_total(vf,-1);
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- if(!vf->seekable)return(OV_ENOSEEK);
- if(pos<0 || pos>total)return(OV_EINVAL);
-
- /* which bitstream section does this pcm offset occur in? */
- for(link=vf->links-1;link>=0;link--){
- total-=vf->pcmlengths[link*2+1];
- if(pos>=total)break;
- }
- /* search within the logical bitstream for the page with the highest
- pcm_pos preceeding (or equal to) pos. There is a danger here;
- missing pages or incorrect frame number information in the
- bitstream could make our task impossible. Account for that (it
- would be an error condition) */
- /* new search algorithm by HB (Nicholas Vinen) */
- {
- ogg_int64_t end=vf->offsets[link+1];
- ogg_int64_t begin=vf->offsets[link];
- ogg_int64_t begintime = vf->pcmlengths[link*2];
- ogg_int64_t endtime = vf->pcmlengths[link*2+1]+begintime;
- ogg_int64_t target=pos-total+begintime;
- ogg_int64_t best=begin;
-
- ogg_page og;
- while(begin<end){
- ogg_int64_t bisect;
-
- if(end-begin<CHUNKSIZE){
- bisect=begin;
- }else{
- /* take a (pretty decent) guess. */
- bisect=begin +
- (target-begintime)*(end-begin)/(endtime-begintime) - CHUNKSIZE;
- if(bisect<=begin)
- bisect=begin+1;
- }
-
- _seek_helper(vf,bisect);
-
- while(begin<end){
- result=_get_next_page(vf,&og,end-vf->offset);
- if(result==OV_EREAD) goto seek_error;
- if(result<0){
- if(bisect<=begin+1)
- end=begin; /* found it */
- else{
- if(bisect==0) goto seek_error;
- bisect-=CHUNKSIZE;
- if(bisect<=begin)bisect=begin+1;
- _seek_helper(vf,bisect);
- }
- }else{
- ogg_int64_t granulepos=ogg_page_granulepos(&og);
- if(granulepos==-1)continue;
- if(granulepos<target){
- best=result; /* raw offset of packet with granulepos */
- begin=vf->offset; /* raw offset of next page */
- begintime=granulepos;
-
- if(target-begintime>44100)break;
- bisect=begin; /* *not* begin + 1 */
- }else{
- if(bisect<=begin+1)
- end=begin; /* found it */
- else{
- if(end==vf->offset){ /* we're pretty close - we'd be stuck in */
- end=result;
- bisect-=CHUNKSIZE; /* an endless loop otherwise. */
- if(bisect<=begin)bisect=begin+1;
- _seek_helper(vf,bisect);
- }else{
- end=result;
- endtime=granulepos;
- break;
- }
- }
- }
- }
- }
- }
- /* found our page. seek to it, update pcm offset. Easier case than
- raw_seek, don't keep packets preceeding granulepos. */
- {
- ogg_page og;
- ogg_packet op;
-
- /* seek */
- _seek_helper(vf,best);
- vf->pcm_offset=-1;
-
- if(_get_next_page(vf,&og,-1)<0)return(OV_EOF); /* shouldn't happen */
-
- if(link!=vf->current_link){
- /* Different link; dump entire decode machine */
- _decode_clear(vf);
-
- vf->current_link=link;
- vf->current_serialno=ogg_page_serialno(&og);
- vf->ready_state=STREAMSET;
-
- }else{
- vorbis_synthesis_restart(&vf->vd);
- }
- ogg_stream_reset_serialno(&vf->os,vf->current_serialno);
- ogg_stream_pagein(&vf->os,&og);
- /* pull out all but last packet; the one with granulepos */
- while(1){
- result=ogg_stream_packetpeek(&vf->os,&op);
- if(result==0){
- /* !!! the packet finishing this page originated on a
- preceeding page. Keep fetching previous pages until we
- get one with a granulepos or without the 'continued' flag
- set. Then just use raw_seek for simplicity. */
-
- _seek_helper(vf,best);
-
- while(1){
- result=_get_prev_page(vf,&og);
- if(result<0) goto seek_error;
- if(ogg_page_granulepos(&og)>-1 ||
- !ogg_page_continued(&og)){
- return ov_raw_seek(vf,result);
- }
- vf->offset=result;
- }
- }
- if(result<0){
- result = OV_EBADPACKET;
- goto seek_error;
- }
- if(op.granulepos!=-1){
- vf->pcm_offset=op.granulepos-vf->pcmlengths[vf->current_link*2];
- if(vf->pcm_offset<0)vf->pcm_offset=0;
- vf->pcm_offset+=total;
- break;
- }else
- result=ogg_stream_packetout(&vf->os,NULL);
- }
- }
- }
-
- /* verify result */
- if(vf->pcm_offset>pos || pos>ov_pcm_total(vf,-1)){
- result=OV_EFAULT;
- goto seek_error;
- }
- vf->bittrack=0.f;
- vf->samptrack=0.f;
- return(0);
-
- seek_error:
- /* dump machine so we're in a known state */
- vf->pcm_offset=-1;
- _decode_clear(vf);
- return (int)result;
- }
- /* seek to a sample offset relative to the decompressed pcm stream
- returns zero on success, nonzero on failure */
- int ov_pcm_seek(OggVorbis_File *vf,ogg_int64_t pos){
- int thisblock,lastblock=0;
- int ret=ov_pcm_seek_page(vf,pos);
- if(ret<0)return(ret);
- if((ret=_make_decode_ready(vf)))return ret;
- /* discard leading packets we don't need for the lapping of the
- position we want; don't decode them */
- while(1){
- ogg_packet op;
- ogg_page og;
- int ret=ogg_stream_packetpeek(&vf->os,&op);
- if(ret>0){
- thisblock=vorbis_packet_blocksize(vf->vi+vf->current_link,&op);
- if(thisblock<0){
- ogg_stream_packetout(&vf->os,NULL);
- continue; /* non audio packet */
- }
- if(lastblock)vf->pcm_offset+=(lastblock+thisblock)>>2;
-
- if(vf->pcm_offset+((thisblock+
- vorbis_info_blocksize(vf->vi,1))>>2)>=pos)break;
-
- /* remove the packet from packet queue and track its granulepos */
- ogg_stream_packetout(&vf->os,NULL);
- vorbis_synthesis_trackonly(&vf->vb,&op); /* set up a vb with
- only tracking, no
- pcm_decode */
- vorbis_synthesis_blockin(&vf->vd,&vf->vb);
-
- /* end of logical stream case is hard, especially with exact
- length positioning. */
-
- if(op.granulepos>-1){
- int i;
- /* always believe the stream markers */
- vf->pcm_offset=op.granulepos-vf->pcmlengths[vf->current_link*2];
- if(vf->pcm_offset<0)vf->pcm_offset=0;
- for(i=0;i<vf->current_link;i++)
- vf->pcm_offset+=vf->pcmlengths[i*2+1];
- }
-
- lastblock=thisblock;
-
- }else{
- if(ret<0 && ret!=OV_HOLE)break;
-
- /* suck in a new page */
- if(_get_next_page(vf,&og,-1)<0)break;
- if(vf->current_serialno!=ogg_page_serialno(&og))_decode_clear(vf);
-
- if(vf->ready_state<STREAMSET){
- int link;
-
- vf->current_serialno=ogg_page_serialno(&og);
- for(link=0;link<vf->links;link++)
- if(vf->serialnos[link]==vf->current_serialno)break;
- if(link==vf->links)return(OV_EBADLINK);
- vf->current_link=link;
-
- ogg_stream_reset_serialno(&vf->os,vf->current_serialno);
- vf->ready_state=STREAMSET;
- ret=_make_decode_ready(vf);
- if(ret)return ret;
- lastblock=0;
- }
- ogg_stream_pagein(&vf->os,&og);
- }
- }
- vf->bittrack=0.f;
- vf->samptrack=0.f;
- /* discard samples until we reach the desired position. Crossing a
- logical bitstream boundary with abandon is OK. */
- while(vf->pcm_offset<pos){
- ogg_int64_t target=pos-vf->pcm_offset;
- long samples=vorbis_synthesis_pcmout(&vf->vd,NULL);
- if(samples>target)samples=target;
- vorbis_synthesis_read(&vf->vd,samples);
- vf->pcm_offset+=samples;
-
- if(samples<target)
- if(_fetch_and_process_packet(vf,NULL,1,1)<=0)
- vf->pcm_offset=ov_pcm_total(vf,-1); /* eof */
- }
- return 0;
- }
- /* seek to a playback time relative to the decompressed pcm stream
- returns zero on success, nonzero on failure */
- int ov_time_seek(OggVorbis_File *vf,double seconds){
- /* translate time to PCM position and call ov_pcm_seek */
- int link=-1;
- ogg_int64_t pcm_total=ov_pcm_total(vf,-1);
- double time_total=ov_time_total(vf,-1);
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- if(!vf->seekable)return(OV_ENOSEEK);
- if(seconds<0 || seconds>time_total)return(OV_EINVAL);
-
- /* which bitstream section does this time offset occur in? */
- for(link=vf->links-1;link>=0;link--){
- pcm_total-=vf->pcmlengths[link*2+1];
- time_total-=ov_time_total(vf,link);
- if(seconds>=time_total)break;
- }
- /* enough information to convert time offset to pcm offset */
- {
- ogg_int64_t target=pcm_total+(seconds-time_total)*vf->vi[link].rate;
- return(ov_pcm_seek(vf,target));
- }
- }
- /* page-granularity version of ov_time_seek
- returns zero on success, nonzero on failure */
- int ov_time_seek_page(OggVorbis_File *vf,double seconds){
- /* translate time to PCM position and call ov_pcm_seek */
- int link=-1;
- ogg_int64_t pcm_total=ov_pcm_total(vf,-1);
- double time_total=ov_time_total(vf,-1);
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- if(!vf->seekable)return(OV_ENOSEEK);
- if(seconds<0 || seconds>time_total)return(OV_EINVAL);
-
- /* which bitstream section does this time offset occur in? */
- for(link=vf->links-1;link>=0;link--){
- pcm_total-=vf->pcmlengths[link*2+1];
- time_total-=ov_time_total(vf,link);
- if(seconds>=time_total)break;
- }
- /* enough information to convert time offset to pcm offset */
- {
- ogg_int64_t target=pcm_total+(seconds-time_total)*vf->vi[link].rate;
- return(ov_pcm_seek_page(vf,target));
- }
- }
- /* tell the current stream offset cursor. Note that seek followed by
- tell will likely not give the set offset due to caching */
- ogg_int64_t ov_raw_tell(OggVorbis_File *vf){
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- return(vf->offset);
- }
- /* return PCM offset (sample) of next PCM sample to be read */
- ogg_int64_t ov_pcm_tell(OggVorbis_File *vf){
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- return(vf->pcm_offset);
- }
- /* return time offset (seconds) of next PCM sample to be read */
- double ov_time_tell(OggVorbis_File *vf){
- int link=0;
- ogg_int64_t pcm_total=0;
- double time_total=0.f;
-
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- if(vf->seekable){
- pcm_total=ov_pcm_total(vf,-1);
- time_total=ov_time_total(vf,-1);
-
- /* which bitstream section does this time offset occur in? */
- for(link=vf->links-1;link>=0;link--){
- pcm_total-=vf->pcmlengths[link*2+1];
- time_total-=ov_time_total(vf,link);
- if(vf->pcm_offset>=pcm_total)break;
- }
- }
- return((double)time_total+(double)(vf->pcm_offset-pcm_total)/vf->vi[link].rate);
- }
- /* link: -1) return the vorbis_info struct for the bitstream section
- currently being decoded
- 0-n) to request information for a specific bitstream section
-
- In the case of a non-seekable bitstream, any call returns the
- current bitstream. NULL in the case that the machine is not
- initialized */
- vorbis_info *ov_info(OggVorbis_File *vf,int link){
- if(vf->seekable){
- if(link<0)
- if(vf->ready_state>=STREAMSET)
- return vf->vi+vf->current_link;
- else
- return vf->vi;
- else
- if(link>=vf->links)
- return NULL;
- else
- return vf->vi+link;
- }else{
- return vf->vi;
- }
- }
- /* grr, strong typing, grr, no templates/inheritence, grr */
- vorbis_comment *ov_comment(OggVorbis_File *vf,int link){
- if(vf->seekable){
- if(link<0)
- if(vf->ready_state>=STREAMSET)
- return vf->vc+vf->current_link;
- else
- return vf->vc;
- else
- if(link>=vf->links)
- return NULL;
- else
- return vf->vc+link;
- }else{
- return vf->vc;
- }
- }
- static int host_is_big_endian() {
- ogg_int32_t pattern = 0xfeedface; /* deadbeef */
- unsigned char *bytewise = (unsigned char *)&pattern;
- if (bytewise[0] == 0xfe) return 1;
- return 0;
- }
- /* up to this point, everything could more or less hide the multiple
- logical bitstream nature of chaining from the toplevel application
- if the toplevel application didn't particularly care. However, at
- the point that we actually read audio back, the multiple-section
- nature must surface: Multiple bitstream sections do not necessarily
- have to have the same number of channels or sampling rate.
- ov_read returns the sequential logical bitstream number currently
- being decoded along with the PCM data in order that the toplevel
- application can take action on channel/sample rate changes. This
- number will be incremented even for streamed (non-seekable) streams
- (for seekable streams, it represents the actual logical bitstream
- index within the physical bitstream. Note that the accessor
- functions above are aware of this dichotomy).
- input values: buffer) a buffer to hold packed PCM data for return
- length) the byte length requested to be placed into buffer
- bigendianp) should the data be packed LSB first (0) or
- MSB first (1)
- word) word size for output. currently 1 (byte) or
- 2 (16 bit short)
- return values: <0) error/hole in data (OV_HOLE), partial open (OV_EINVAL)
- 0) EOF
- n) number of bytes of PCM actually returned. The
- below works on a packet-by-packet basis, so the
- return length is not related to the 'length' passed
- in, just guaranteed to fit.
- *section) set to the logical bitstream number */
- long ov_read(OggVorbis_File *vf,char *buffer,int length,
- int bigendianp,int word,int sgned,int *bitstream){
- int i,j;
- int host_endian = host_is_big_endian();
- float **pcm;
- long samples;
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- while(1){
- if(vf->ready_state==INITSET){
- samples=vorbis_synthesis_pcmout(&vf->vd,&pcm);
- if(samples)break;
- }
- /* suck in another packet */
- {
- int ret=_fetch_and_process_packet(vf,NULL,1,1);
- if(ret==OV_EOF)
- return(0);
- if(ret<=0)
- return(ret);
- }
- }
- if(samples>0){
-
- /* yay! proceed to pack data into the byte buffer */
-
- long channels=ov_info(vf,-1)->channels;
- long bytespersample=word * channels;
- vorbis_fpu_control fpu;
- if(samples>length/bytespersample)samples=length/bytespersample;
- if(samples <= 0)
- return OV_EINVAL;
-
- /* a tight loop to pack each size */
- {
- int val;
- if(word==1){
- int off=(sgned?0:128);
- vorbis_fpu_setround(&fpu);
- for(j=0;j<samples;j++)
- for(i=0;i<channels;i++){
- val=vorbis_ftoi(pcm[i][j]*128.f);
- if(val>127)val=127;
- else if(val<-128)val=-128;
- *buffer++=val+off;
- }
- vorbis_fpu_restore(fpu);
- }else{
- int off=(sgned?0:32768);
-
- if(host_endian==bigendianp){
- if(sgned){
-
- vorbis_fpu_setround(&fpu);
- for(i=0;i<channels;i++) { /* It's faster in this order */
- float *src=pcm[i];
- short *dest=((short *)buffer)+i;
- for(j=0;j<samples;j++) {
- val=vorbis_ftoi(src[j]*32768.f);
- if(val>32767)val=32767;
- else if(val<-32768)val=-32768;
- *dest=val;
- dest+=channels;
- }
- }
- vorbis_fpu_restore(fpu);
-
- }else{
-
- vorbis_fpu_setround(&fpu);
- for(i=0;i<channels;i++) {
- float *src=pcm[i];
- short *dest=((short *)buffer)+i;
- for(j=0;j<samples;j++) {
- val=vorbis_ftoi(src[j]*32768.f);
- if(val>32767)val=32767;
- else if(val<-32768)val=-32768;
- *dest=val+off;
- dest+=channels;
- }
- }
- vorbis_fpu_restore(fpu);
-
- }
- }else if(bigendianp){
-
- vorbis_fpu_setround(&fpu);
- for(j=0;j<samples;j++)
- for(i=0;i<channels;i++){
- val=vorbis_ftoi(pcm[i][j]*32768.f);
- if(val>32767)val=32767;
- else if(val<-32768)val=-32768;
- val+=off;
- *buffer++=(val>>8);
- *buffer++=(val&0xff);
- }
- vorbis_fpu_restore(fpu);
-
- }else{
- int val;
- vorbis_fpu_setround(&fpu);
- for(j=0;j<samples;j++)
- for(i=0;i<channels;i++){
- val=vorbis_ftoi(pcm[i][j]*32768.f);
- if(val>32767)val=32767;
- else if(val<-32768)val=-32768;
- val+=off;
- *buffer++=(val&0xff);
- *buffer++=(val>>8);
- }
- vorbis_fpu_restore(fpu);
-
- }
- }
- }
-
- vorbis_synthesis_read(&vf->vd,samples);
- vf->pcm_offset+=samples;
- if(bitstream)*bitstream=vf->current_link;
- return(samples*bytespersample);
- }else{
- return(samples);
- }
- }
- /* input values: pcm_channels) a float vector per channel of output
- length) the sample length being read by the app
- return values: <0) error/hole in data (OV_HOLE), partial open (OV_EINVAL)
- 0) EOF
- n) number of samples of PCM actually returned. The
- below works on a packet-by-packet basis, so the
- return length is not related to the 'length' passed
- in, just guaranteed to fit.
- *section) set to the logical bitstream number */
- long ov_read_float(OggVorbis_File *vf,float ***pcm_channels,int length,
- int *bitstream){
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- while(1){
- if(vf->ready_state==INITSET){
- float **pcm;
- long samples=vorbis_synthesis_pcmout(&vf->vd,&pcm);
- if(samples){
- if(pcm_channels)*pcm_channels=pcm;
- if(samples>length)samples=length;
- vorbis_synthesis_read(&vf->vd,samples);
- vf->pcm_offset+=samples;
- if(bitstream)*bitstream=vf->current_link;
- return samples;
- }
- }
- /* suck in another packet */
- {
- int ret=_fetch_and_process_packet(vf,NULL,1,1);
- if(ret==OV_EOF)return(0);
- if(ret<=0)return(ret);
- }
- }
- }
- extern float *vorbis_window(vorbis_dsp_state *v,int W);
- extern void _analysis_output_always(char *base,int i,float *v,int n,int bark,int dB,
- ogg_int64_t off);
- static void _ov_splice(float **pcm,float **lappcm,
- int n1, int n2,
- int ch1, int ch2,
- float *w1, float *w2){
- int i,j;
- float *w=w1;
- int n=n1;
- if(n1>n2){
- n=n2;
- w=w2;
- }
- /* splice */
- for(j=0;j<ch1 && j<ch2;j++){
- float *s=lappcm[j];
- float *d=pcm[j];
- for(i=0;i<n;i++){
- float wd=w[i]*w[i];
- float ws=1.-wd;
- d[i]=d[i]*wd + s[i]*ws;
- }
- }
- /* window from zero */
- for(;j<ch2;j++){
- float *d=pcm[j];
- for(i=0;i<n;i++){
- float wd=w[i]*w[i];
- d[i]=d[i]*wd;
- }
- }
- }
-
- /* make sure vf is INITSET */
- static int _ov_initset(OggVorbis_File *vf){
- while(1){
- if(vf->ready_state==INITSET)break;
- /* suck in another packet */
- {
- int ret=_fetch_and_process_packet(vf,NULL,1,0);
- if(ret<0 && ret!=OV_HOLE)return(ret);
- }
- }
- return 0;
- }
- /* make sure vf is INITSET and that we have a primed buffer; if
- we're crosslapping at a stream section boundary, this also makes
- sure we're sanity checking against the right stream information */
- static int _ov_initprime(OggVorbis_File *vf){
- vorbis_dsp_state *vd=&vf->vd;
- while(1){
- if(vf->ready_state==INITSET)
- if(vorbis_synthesis_pcmout(vd,NULL))break;
-
- /* suck in another packet */
- {
- int ret=_fetch_and_process_packet(vf,NULL,1,0);
- if(ret<0 && ret!=OV_HOLE)return(ret);
- }
- }
- return 0;
- }
- /* grab enough data for lapping from vf; this may be in the form of
- unreturned, already-decoded pcm, remaining PCM we will need to
- decode, or synthetic postextrapolation from last packets. */
- static void _ov_getlap(OggVorbis_File *vf,vorbis_info *vi,vorbis_dsp_state *vd,
- float **lappcm,int lapsize){
- int lapcount=0,i;
- float **pcm;
- /* try first to decode the lapping data */
- while(lapcount<lapsize){
- int samples=vorbis_synthesis_pcmout(vd,&pcm);
- if(samples){
- if(samples>lapsize-lapcount)samples=lapsize-lapcount;
- for(i=0;i<vi->channels;i++)
- memcpy(lappcm[i]+lapcount,pcm[i],sizeof(**pcm)*samples);
- lapcount+=samples;
- vorbis_synthesis_read(vd,samples);
- }else{
- /* suck in another packet */
- int ret=_fetch_and_process_packet(vf,NULL,1,0); /* do *not* span */
- if(ret==OV_EOF)break;
- }
- }
- if(lapcount<lapsize){
- /* failed to get lapping data from normal decode; pry it from the
- postextrapolation buffering, or the second half of the MDCT
- from the last packet */
- int samples=vorbis_synthesis_lapout(&vf->vd,&pcm);
- if(samples==0){
- for(i=0;i<vi->channels;i++)
- memset(lappcm[i]+lapcount,0,sizeof(**pcm)*lapsize-lapcount);
- lapcount=lapsize;
- }else{
- if(samples>lapsize-lapcount)samples=lapsize-lapcount;
- for(i=0;i<vi->channels;i++)
- memcpy(lappcm[i]+lapcount,pcm[i],sizeof(**pcm)*samples);
- lapcount+=samples;
- }
- }
- }
- /* this sets up crosslapping of a sample by using trailing data from
- sample 1 and lapping it into the windowing buffer of sample 2 */
- int ov_crosslap(OggVorbis_File *vf1, OggVorbis_File *vf2){
- vorbis_info *vi1,*vi2;
- float **lappcm;
- float **pcm;
- float *w1,*w2;
- int n1,n2,i,ret,hs1,hs2;
- if(vf1==vf2)return(0); /* degenerate case */
- if(vf1->ready_state<OPENED)return(OV_EINVAL);
- if(vf2->ready_state<OPENED)return(OV_EINVAL);
- /* the relevant overlap buffers must be pre-checked and pre-primed
- before looking at settings in the event that priming would cross
- a bitstream boundary. So, do it now */
- ret=_ov_initset(vf1);
- if(ret)return(ret);
- ret=_ov_initprime(vf2);
- if(ret)return(ret);
- vi1=ov_info(vf1,-1);
- vi2=ov_info(vf2,-1);
- hs1=ov_halfrate_p(vf1);
- hs2=ov_halfrate_p(vf2);
- lappcm=alloca(sizeof(*lappcm)*vi1->channels);
- n1=vorbis_info_blocksize(vi1,0)>>(1+hs1);
- n2=vorbis_info_blocksize(vi2,0)>>(1+hs2);
- w1=vorbis_window(&vf1->vd,0);
- w2=vorbis_window(&vf2->vd,0);
- for(i=0;i<vi1->channels;i++)
- lappcm[i]=alloca(sizeof(**lappcm)*n1);
- _ov_getlap(vf1,vi1,&vf1->vd,lappcm,n1);
- /* have a lapping buffer from vf1; now to splice it into the lapping
- buffer of vf2 */
- /* consolidate and expose the buffer. */
- vorbis_synthesis_lapout(&vf2->vd,&pcm);
- _analysis_output_always("pcmL",0,pcm[0],n1*2,0,0,0);
- _analysis_output_always("pcmR",0,pcm[1],n1*2,0,0,0);
- /* splice */
- _ov_splice(pcm,lappcm,n1,n2,vi1->channels,vi2->channels,w1,w2);
-
- /* done */
- return(0);
- }
- static int _ov_64_seek_lap(OggVorbis_File *vf,ogg_int64_t pos,
- int (*localseek)(OggVorbis_File *,ogg_int64_t)){
- vorbis_info *vi;
- float **lappcm;
- float **pcm;
- float *w1,*w2;
- int n1,n2,ch1,ch2,hs;
- int i,ret;
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- ret=_ov_initset(vf);
- if(ret)return(ret);
- vi=ov_info(vf,-1);
- hs=ov_halfrate_p(vf);
-
- ch1=vi->channels;
- n1=vorbis_info_blocksize(vi,0)>>(1+hs);
- w1=vorbis_window(&vf->vd,0); /* window arrays from libvorbis are
- persistent; even if the decode state
- from this link gets dumped, this
- window array continues to exist */
- lappcm=alloca(sizeof(*lappcm)*ch1);
- for(i=0;i<ch1;i++)
- lappcm[i]=alloca(sizeof(**lappcm)*n1);
- _ov_getlap(vf,vi,&vf->vd,lappcm,n1);
- /* have lapping data; seek and prime the buffer */
- ret=localseek(vf,pos);
- if(ret)return ret;
- ret=_ov_initprime(vf);
- if(ret)return(ret);
- /* Guard against cross-link changes; they're perfectly legal */
- vi=ov_info(vf,-1);
- ch2=vi->channels;
- n2=vorbis_info_blocksize(vi,0)>>(1+hs);
- w2=vorbis_window(&vf->vd,0);
- /* consolidate and expose the buffer. */
- vorbis_synthesis_lapout(&vf->vd,&pcm);
- /* splice */
- _ov_splice(pcm,lappcm,n1,n2,ch1,ch2,w1,w2);
- /* done */
- return(0);
- }
- int ov_raw_seek_lap(OggVorbis_File *vf,ogg_int64_t pos){
- return _ov_64_seek_lap(vf,pos,ov_raw_seek);
- }
- int ov_pcm_seek_lap(OggVorbis_File *vf,ogg_int64_t pos){
- return _ov_64_seek_lap(vf,pos,ov_pcm_seek);
- }
- int ov_pcm_seek_page_lap(OggVorbis_File *vf,ogg_int64_t pos){
- return _ov_64_seek_lap(vf,pos,ov_pcm_seek_page);
- }
- static int _ov_d_seek_lap(OggVorbis_File *vf,double pos,
- int (*localseek)(OggVorbis_File *,double)){
- vorbis_info *vi;
- float **lappcm;
- float **pcm;
- float *w1,*w2;
- int n1,n2,ch1,ch2,hs;
- int i,ret;
- if(vf->ready_state<OPENED)return(OV_EINVAL);
- ret=_ov_initset(vf);
- if(ret)return(ret);
- vi=ov_info(vf,-1);
- hs=ov_halfrate_p(vf);
- ch1=vi->channels;
- n1=vorbis_info_blocksize(vi,0)>>(1+hs);
- w1=vorbis_window(&vf->vd,0); /* window arrays from libvorbis are
- persistent; even if the decode state
- from this link gets dumped, this
- window array continues to exist */
- lappcm=alloca(sizeof(*lappcm)*ch1);
- for(i=0;i<ch1;i++)
- lappcm[i]=alloca(sizeof(**lappcm)*n1);
- _ov_getlap(vf,vi,&vf->vd,lappcm,n1);
- /* have lapping data; seek and prime the buffer */
- ret=localseek(vf,pos);
- if(ret)return ret;
- ret=_ov_initprime(vf);
- if(ret)return(ret);
- /* Guard against cross-link changes; they're perfectly legal */
- vi=ov_info(vf,-1);
- ch2=vi->channels;
- n2=vorbis_info_blocksize(vi,0)>>(1+hs);
- w2=vorbis_window(&vf->vd,0);
- /* consolidate and expose the buffer. */
- vorbis_synthesis_lapout(&vf->vd,&pcm);
- /* splice */
- _ov_splice(pcm,lappcm,n1,n2,ch1,ch2,w1,w2);
- /* done */
- return(0);
- }
- int ov_time_seek_lap(OggVorbis_File *vf,double pos){
- return _ov_d_seek_lap(vf,pos,ov_time_seek);
- }
- int ov_time_seek_page_lap(OggVorbis_File *vf,double pos){
- return _ov_d_seek_lap(vf,pos,ov_time_seek_page);
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2003 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: maintain the info structure, info <-> header packets
- last mod: $Id: info.c,v 1.62 2003/09/10 01:10:18 xiphmont Exp $
- ********************************************************************/
- /* general handling of the header and the vorbis_info structure (and
- substructures) */
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: registry for time, floor, res backends and channel mappings
- last mod: $Id: registry.h,v 1.13 2002/07/11 06:40:50 xiphmont Exp $
- ********************************************************************/
- #define _V_REG_H_
- #define VI_TRANSFORMB 1
- #define VI_WINDOWB 1
- #define VI_TIMEB 1
- #define VI_FLOORB 2
- #define VI_RESB 3
- #define VI_MAPB 1
- extern vorbis_func_floor *_floor_P[];
- extern vorbis_func_residue *_residue_P[];
- extern vorbis_func_mapping *_mapping_P[];
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: window functions
- last mod: $Id: window.h,v 1.14 2003/09/05 22:17:41 giles Exp $
- ********************************************************************/
- #define _V_WINDOW_
- extern float *_vorbis_window_get(int n);
- extern void _vorbis_apply_window(float *d,int *winno,long *blocksizes,
- int lW,int W,int nW);
- /* helpers */
- static int ilog2(unsigned int v){
- int ret=0;
- if(v)--v;
- while(v){
- ret++;
- v>>=1;
- }
- return(ret);
- }
- static void _v_writestring(oggpack_buffer *o,char *s, int bytes){
- while(bytes--){
- oggpack_write(o,*s++,8);
- }
- }
- static void _v_readstring(oggpack_buffer *o,char *buf,int bytes){
- while(bytes--){
- *buf++=oggpack_read(o,8);
- }
- }
- void vorbis_comment_init(vorbis_comment *vc){
- memset(vc,0,sizeof(*vc));
- }
- void vorbis_comment_add(vorbis_comment *vc,char *comment){
- vc->user_comments=_ogg_realloc(vc->user_comments,
- (vc->comments+2)*sizeof(*vc->user_comments));
- vc->comment_lengths=_ogg_realloc(vc->comment_lengths,
- (vc->comments+2)*sizeof(*vc->comment_lengths));
- vc->comment_lengths[vc->comments]=strlen(comment);
- vc->user_comments[vc->comments]=_ogg_malloc(vc->comment_lengths[vc->comments]+1);
- strcpy(vc->user_comments[vc->comments], comment);
- vc->comments++;
- vc->user_comments[vc->comments]=NULL;
- }
- void vorbis_comment_add_tag(vorbis_comment *vc, char *tag, char *contents){
- char *comment=alloca(strlen(tag)+strlen(contents)+2); /* +2 for = and \0 */
- strcpy(comment, tag);
- strcat(comment, "=");
- strcat(comment, contents);
- vorbis_comment_add(vc, comment);
- }
- /* This is more or less the same as strncasecmp - but that doesn't exist
- * everywhere, and this is a fairly trivial function, so we include it */
- static int tagcompare(const char *s1, const char *s2, int n){
- int c=0;
- while(c < n){
- if(toupper(s1[c]) != toupper(s2[c]))
- return !0;
- c++;
- }
- return 0;
- }
- char *vorbis_comment_query(vorbis_comment *vc, char *tag, int count){
- long i;
- int found = 0;
- int taglen = strlen(tag)+1; /* +1 for the = we append */
- char *fulltag = alloca(taglen+ 1);
- strcpy(fulltag, tag);
- strcat(fulltag, "=");
-
- for(i=0;i<vc->comments;i++){
- if(!tagcompare(vc->user_comments[i], fulltag, taglen)){
- if(count == found)
- /* We return a pointer to the data, not a copy */
- return vc->user_comments[i] + taglen;
- else
- found++;
- }
- }
- return NULL; /* didn't find anything */
- }
- int vorbis_comment_query_count(vorbis_comment *vc, char *tag){
- int i,count=0;
- int taglen = strlen(tag)+1; /* +1 for the = we append */
- char *fulltag = alloca(taglen+1);
- strcpy(fulltag,tag);
- strcat(fulltag, "=");
- for(i=0;i<vc->comments;i++){
- if(!tagcompare(vc->user_comments[i], fulltag, taglen))
- count++;
- }
- return count;
- }
- void vorbis_comment_clear(vorbis_comment *vc){
- if(vc){
- long i;
- for(i=0;i<vc->comments;i++)
- if(vc->user_comments[i])_ogg_free(vc->user_comments[i]);
- if(vc->user_comments)_ogg_free(vc->user_comments);
- if(vc->comment_lengths)_ogg_free(vc->comment_lengths);
- if(vc->vendor)_ogg_free(vc->vendor);
- }
- memset(vc,0,sizeof(*vc));
- }
- /* blocksize 0 is guaranteed to be short, 1 is guarantted to be long.
- They may be equal, but short will never ge greater than long */
- int vorbis_info_blocksize(vorbis_info *vi,int zo){
- codec_setup_info *ci = vi->codec_setup;
- return ci ? ci->blocksizes[zo] : -1;
- }
- /* used by synthesis, which has a full, alloced vi */
- void vorbis_info_init(vorbis_info *vi){
- memset(vi,0,sizeof(*vi));
- vi->codec_setup=_ogg_calloc(1,sizeof(codec_setup_info));
- }
- void vorbis_info_clear(vorbis_info *vi){
- codec_setup_info *ci=vi->codec_setup;
- int i;
- if(ci){
- for(i=0;i<ci->modes;i++)
- if(ci->mode_param[i])_ogg_free(ci->mode_param[i]);
- for(i=0;i<ci->maps;i++) /* unpack does the range checking */
- _mapping_P[ci->map_type[i]]->free_info(ci->map_param[i]);
- for(i=0;i<ci->floors;i++) /* unpack does the range checking */
- _floor_P[ci->floor_type[i]]->free_info(ci->floor_param[i]);
-
- for(i=0;i<ci->residues;i++) /* unpack does the range checking */
- _residue_P[ci->residue_type[i]]->free_info(ci->residue_param[i]);
- for(i=0;i<ci->books;i++){
- if(ci->book_param[i]){
- /* knows if the book was not alloced */
- vorbis_staticbook_destroy(ci->book_param[i]);
- }
- if(ci->fullbooks)
- vorbis_book_clear(ci->fullbooks+i);
- }
- if(ci->fullbooks)
- _ogg_free(ci->fullbooks);
-
- for(i=0;i<ci->psys;i++)
- _vi_psy_free(ci->psy_param[i]);
- _ogg_free(ci);
- }
- memset(vi,0,sizeof(*vi));
- }
- /* Header packing/unpacking ********************************************/
- static int _vorbis_unpack_info(vorbis_info *vi,oggpack_buffer *opb){
- codec_setup_info *ci=vi->codec_setup;
- if(!ci)return(OV_EFAULT);
- vi->version=oggpack_read(opb,32);
- if(vi->version!=0)return(OV_EVERSION);
- vi->channels=oggpack_read(opb,8);
- vi->rate=oggpack_read(opb,32);
- vi->bitrate_upper=oggpack_read(opb,32);
- vi->bitrate_nominal=oggpack_read(opb,32);
- vi->bitrate_lower=oggpack_read(opb,32);
- ci->blocksizes[0]=1<<oggpack_read(opb,4);
- ci->blocksizes[1]=1<<oggpack_read(opb,4);
-
- if(vi->rate<1)goto err_out;
- if(vi->channels<1)goto err_out;
- if(ci->blocksizes[0]<8)goto err_out;
- if(ci->blocksizes[1]<ci->blocksizes[0])goto err_out;
-
- if(oggpack_read(opb,1)!=1)goto err_out; /* EOP check */
- return(0);
- err_out:
- vorbis_info_clear(vi);
- return(OV_EBADHEADER);
- }
- static int _vorbis_unpack_comment(vorbis_comment *vc,oggpack_buffer *opb){
- int i;
- int vendorlen=oggpack_read(opb,32);
- if(vendorlen<0)goto err_out;
- vc->vendor=_ogg_calloc(vendorlen+1,1);
- _v_readstring(opb,vc->vendor,vendorlen);
- vc->comments=oggpack_read(opb,32);
- if(vc->comments<0)goto err_out;
- vc->user_comments=_ogg_calloc(vc->comments+1,sizeof(*vc->user_comments));
- vc->comment_lengths=_ogg_calloc(vc->comments+1, sizeof(*vc->comment_lengths));
-
- for(i=0;i<vc->comments;i++){
- int len=oggpack_read(opb,32);
- if(len<0)goto err_out;
- vc->comment_lengths[i]=len;
- vc->user_comments[i]=_ogg_calloc(len+1,1);
- _v_readstring(opb,vc->user_comments[i],len);
- }
- if(oggpack_read(opb,1)!=1)goto err_out; /* EOP check */
- return(0);
- err_out:
- vorbis_comment_clear(vc);
- return(OV_EBADHEADER);
- }
- /* all of the real encoding details are here. The modes, books,
- everything */
- static int _vorbis_unpack_books(vorbis_info *vi,oggpack_buffer *opb){
- codec_setup_info *ci=vi->codec_setup;
- int i;
- if(!ci)return(OV_EFAULT);
- /* codebooks */
- ci->books=oggpack_read(opb,8)+1;
- /*ci->book_param=_ogg_calloc(ci->books,sizeof(*ci->book_param));*/
- for(i=0;i<ci->books;i++){
- ci->book_param[i]=_ogg_calloc(1,sizeof(*ci->book_param[i]));
- if(vorbis_staticbook_unpack(opb,ci->book_param[i]))goto err_out;
- }
- /* time backend settings; hooks are unused */
- {
- int times=oggpack_read(opb,6)+1;
- for(i=0;i<times;i++){
- int test=oggpack_read(opb,16);
- if(test<0 || test>=VI_TIMEB)goto err_out;
- }
- }
- /* floor backend settings */
- ci->floors=oggpack_read(opb,6)+1;
- /*ci->floor_type=_ogg_malloc(ci->floors*sizeof(*ci->floor_type));*/
- /*ci->floor_param=_ogg_calloc(ci->floors,sizeof(void *));*/
- for(i=0;i<ci->floors;i++){
- ci->floor_type[i]=oggpack_read(opb,16);
- if(ci->floor_type[i]<0 || ci->floor_type[i]>=VI_FLOORB)goto err_out;
- ci->floor_param[i]=_floor_P[ci->floor_type[i]]->unpack(vi,opb);
- if(!ci->floor_param[i])goto err_out;
- }
- /* residue backend settings */
- ci->residues=oggpack_read(opb,6)+1;
- /*ci->residue_type=_ogg_malloc(ci->residues*sizeof(*ci->residue_type));*/
- /*ci->residue_param=_ogg_calloc(ci->residues,sizeof(void *));*/
- for(i=0;i<ci->residues;i++){
- ci->residue_type[i]=oggpack_read(opb,16);
- if(ci->residue_type[i]<0 || ci->residue_type[i]>=VI_RESB)goto err_out;
- ci->residue_param[i]=_residue_P[ci->residue_type[i]]->unpack(vi,opb);
- if(!ci->residue_param[i])goto err_out;
- }
- /* map backend settings */
- ci->maps=oggpack_read(opb,6)+1;
- /*ci->map_type=_ogg_malloc(ci->maps*sizeof(*ci->map_type));*/
- /*ci->map_param=_ogg_calloc(ci->maps,sizeof(void *));*/
- for(i=0;i<ci->maps;i++){
- ci->map_type[i]=oggpack_read(opb,16);
- if(ci->map_type[i]<0 || ci->map_type[i]>=VI_MAPB)goto err_out;
- ci->map_param[i]=_mapping_P[ci->map_type[i]]->unpack(vi,opb);
- if(!ci->map_param[i])goto err_out;
- }
-
- /* mode settings */
- ci->modes=oggpack_read(opb,6)+1;
- /*vi->mode_param=_ogg_calloc(vi->modes,sizeof(void *));*/
- for(i=0;i<ci->modes;i++){
- ci->mode_param[i]=_ogg_calloc(1,sizeof(*ci->mode_param[i]));
- ci->mode_param[i]->blockflag=oggpack_read(opb,1);
- ci->mode_param[i]->windowtype=oggpack_read(opb,16);
- ci->mode_param[i]->transformtype=oggpack_read(opb,16);
- ci->mode_param[i]->mapping=oggpack_read(opb,8);
- if(ci->mode_param[i]->windowtype>=VI_WINDOWB)goto err_out;
- if(ci->mode_param[i]->transformtype>=VI_WINDOWB)goto err_out;
- if(ci->mode_param[i]->mapping>=ci->maps)goto err_out;
- }
-
- if(oggpack_read(opb,1)!=1)goto err_out; /* top level EOP check */
- return(0);
- err_out:
- vorbis_info_clear(vi);
- return(OV_EBADHEADER);
- }
- /* The Vorbis header is in three packets; the initial small packet in
- the first page that identifies basic parameters, a second packet
- with bitstream comments and a third packet that holds the
- codebook. */
- int vorbis_synthesis_headerin(vorbis_info *vi,vorbis_comment *vc,ogg_packet *op){
- oggpack_buffer opb;
-
- if(op){
- oggpack_readinit(&opb,op->packet,op->bytes);
- /* Which of the three types of header is this? */
- /* Also verify header-ness, vorbis */
- {
- char buffer[6];
- int packtype=oggpack_read(&opb,8);
- memset(buffer,0,6);
- _v_readstring(&opb,buffer,6);
- if(memcmp(buffer,"vorbis",6)){
- /* not a vorbis header */
- return(OV_ENOTVORBIS);
- }
- switch(packtype){
- case 0x01: /* least significant *bit* is read first */
- if(!op->b_o_s){
- /* Not the initial packet */
- return(OV_EBADHEADER);
- }
- if(vi->rate!=0){
- /* previously initialized info header */
- return(OV_EBADHEADER);
- }
- return(_vorbis_unpack_info(vi,&opb));
- case 0x03: /* least significant *bit* is read first */
- if(vi->rate==0){
- /* um... we didn't get the initial header */
- return(OV_EBADHEADER);
- }
- return(_vorbis_unpack_comment(vc,&opb));
- case 0x05: /* least significant *bit* is read first */
- if(vi->rate==0 || vc->vendor==NULL){
- /* um... we didn;t get the initial header or comments yet */
- return(OV_EBADHEADER);
- }
- return(_vorbis_unpack_books(vi,&opb));
- default:
- /* Not a valid vorbis header type */
- return(OV_EBADHEADER);
- break;
- }
- }
- }
- return(OV_EBADHEADER);
- }
- /* pack side **********************************************************/
- static int _vorbis_pack_info(oggpack_buffer *opb,vorbis_info *vi){
- codec_setup_info *ci=vi->codec_setup;
- if(!ci)return(OV_EFAULT);
- /* preamble */
- oggpack_write(opb,0x01,8);
- _v_writestring(opb,"vorbis", 6);
- /* basic information about the stream */
- oggpack_write(opb,0x00,32);
- oggpack_write(opb,vi->channels,8);
- oggpack_write(opb,vi->rate,32);
- oggpack_write(opb,vi->bitrate_upper,32);
- oggpack_write(opb,vi->bitrate_nominal,32);
- oggpack_write(opb,vi->bitrate_lower,32);
- oggpack_write(opb,ilog2(ci->blocksizes[0]),4);
- oggpack_write(opb,ilog2(ci->blocksizes[1]),4);
- oggpack_write(opb,1,1);
- return(0);
- }
- static int _vorbis_pack_comment(oggpack_buffer *opb,vorbis_comment *vc){
- char temp[]="Xiph.Org libVorbis I 20030909";
- int bytes = strlen(temp);
- /* preamble */
- oggpack_write(opb,0x03,8);
- _v_writestring(opb,"vorbis", 6);
- /* vendor */
- oggpack_write(opb,bytes,32);
- _v_writestring(opb,temp, bytes);
-
- /* comments */
- oggpack_write(opb,vc->comments,32);
- if(vc->comments){
- int i;
- for(i=0;i<vc->comments;i++){
- if(vc->user_comments[i]){
- oggpack_write(opb,vc->comment_lengths[i],32);
- _v_writestring(opb,vc->user_comments[i], vc->comment_lengths[i]);
- }else{
- oggpack_write(opb,0,32);
- }
- }
- }
- oggpack_write(opb,1,1);
- return(0);
- }
-
- static int _vorbis_pack_books(oggpack_buffer *opb,vorbis_info *vi){
- codec_setup_info *ci=vi->codec_setup;
- int i;
- if(!ci)return(OV_EFAULT);
- oggpack_write(opb,0x05,8);
- _v_writestring(opb,"vorbis", 6);
- /* books */
- oggpack_write(opb,ci->books-1,8);
- for(i=0;i<ci->books;i++)
- if(vorbis_staticbook_pack(ci->book_param[i],opb))goto err_out;
- /* times; hook placeholders */
- oggpack_write(opb,0,6);
- oggpack_write(opb,0,16);
- /* floors */
- oggpack_write(opb,ci->floors-1,6);
- for(i=0;i<ci->floors;i++){
- oggpack_write(opb,ci->floor_type[i],16);
- if(_floor_P[ci->floor_type[i]]->pack)
- _floor_P[ci->floor_type[i]]->pack(ci->floor_param[i],opb);
- else
- goto err_out;
- }
- /* residues */
- oggpack_write(opb,ci->residues-1,6);
- for(i=0;i<ci->residues;i++){
- oggpack_write(opb,ci->residue_type[i],16);
- _residue_P[ci->residue_type[i]]->pack(ci->residue_param[i],opb);
- }
- /* maps */
- oggpack_write(opb,ci->maps-1,6);
- for(i=0;i<ci->maps;i++){
- oggpack_write(opb,ci->map_type[i],16);
- _mapping_P[ci->map_type[i]]->pack(vi,ci->map_param[i],opb);
- }
- /* modes */
- oggpack_write(opb,ci->modes-1,6);
- for(i=0;i<ci->modes;i++){
- oggpack_write(opb,ci->mode_param[i]->blockflag,1);
- oggpack_write(opb,ci->mode_param[i]->windowtype,16);
- oggpack_write(opb,ci->mode_param[i]->transformtype,16);
- oggpack_write(opb,ci->mode_param[i]->mapping,8);
- }
- oggpack_write(opb,1,1);
- return(0);
- err_out:
- return(-1);
- }
- int vorbis_commentheader_out(vorbis_comment *vc,
- ogg_packet *op){
- oggpack_buffer opb;
- oggpack_writeinit(&opb);
- if(_vorbis_pack_comment(&opb,vc)) return OV_EIMPL;
- op->packet = _ogg_malloc(oggpack_bytes(&opb));
- memcpy(op->packet, opb.buffer, oggpack_bytes(&opb));
- op->bytes=oggpack_bytes(&opb);
- op->b_o_s=0;
- op->e_o_s=0;
- op->granulepos=0;
- return 0;
- }
- int vorbis_analysis_headerout(vorbis_dsp_state *v,
- vorbis_comment *vc,
- ogg_packet *op,
- ogg_packet *op_comm,
- ogg_packet *op_code){
- int ret=OV_EIMPL;
- vorbis_info *vi=v->vi;
- oggpack_buffer opb;
- private_state *b=v->backend_state;
- if(!b){
- ret=OV_EFAULT;
- goto err_out;
- }
- /* first header packet **********************************************/
- oggpack_writeinit(&opb);
- if(_vorbis_pack_info(&opb,vi))goto err_out;
- /* build the packet */
- if(b->header)_ogg_free(b->header);
- b->header=_ogg_malloc(oggpack_bytes(&opb));
- memcpy(b->header,opb.buffer,oggpack_bytes(&opb));
- op->packet=b->header;
- op->bytes=oggpack_bytes(&opb);
- op->b_o_s=1;
- op->e_o_s=0;
- op->granulepos=0;
- /* second header packet (comments) **********************************/
- oggpack_reset(&opb);
- if(_vorbis_pack_comment(&opb,vc))goto err_out;
- if(b->header1)_ogg_free(b->header1);
- b->header1=_ogg_malloc(oggpack_bytes(&opb));
- memcpy(b->header1,opb.buffer,oggpack_bytes(&opb));
- op_comm->packet=b->header1;
- op_comm->bytes=oggpack_bytes(&opb);
- op_comm->b_o_s=0;
- op_comm->e_o_s=0;
- op_comm->granulepos=0;
- /* third header packet (modes/codebooks) ****************************/
- oggpack_reset(&opb);
- if(_vorbis_pack_books(&opb,vi))goto err_out;
- if(b->header2)_ogg_free(b->header2);
- b->header2=_ogg_malloc(oggpack_bytes(&opb));
- memcpy(b->header2,opb.buffer,oggpack_bytes(&opb));
- op_code->packet=b->header2;
- op_code->bytes=oggpack_bytes(&opb);
- op_code->b_o_s=0;
- op_code->e_o_s=0;
- op_code->granulepos=0;
- oggpack_writeclear(&opb);
- return(0);
- err_out:
- oggpack_writeclear(&opb);
- memset(op,0,sizeof(*op));
- memset(op_comm,0,sizeof(*op_comm));
- memset(op_code,0,sizeof(*op_code));
- if(b->header)_ogg_free(b->header);
- if(b->header1)_ogg_free(b->header1);
- if(b->header2)_ogg_free(b->header2);
- b->header=NULL;
- b->header1=NULL;
- b->header2=NULL;
- return(ret);
- }
- double vorbis_granule_time(vorbis_dsp_state *v,ogg_int64_t granulepos){
- if(granulepos>=0)
- return((double)granulepos/v->vi->rate);
- return(-1);
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2003 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: PCM data vector blocking, windowing and dis/reassembly
- last mod: $Id: block.c,v 1.75 2003/09/02 04:39:26 xiphmont Exp $
- Handle windowing, overlap-add, etc of the PCM vectors. This is made
- more amusing by Vorbis' current two allowed block sizes.
-
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: LPC low level routines
- last mod: $Id: lpc.h,v 1.20 2003/03/07 09:13:30 xiphmont Exp $
- ********************************************************************/
- #define _V_LPC_H_
- /* simple linear scale LPC code */
- extern float vorbis_lpc_from_data(float *data,float *lpc,int n,int m);
- extern void vorbis_lpc_predict(float *coeff,float *prime,int m,
- float *data,long n);
- /* pcm accumulator examples (not exhaustive):
- <-------------- lW ---------------->
- <--------------- W ---------------->
- : .....|..... _______________ |
- : .''' | '''_--- | |\ |
- :.....''' |_____--- '''......| | \_______|
- :.................|__________________|_______|__|______|
- |<------ Sl ------>| > Sr < |endW
- |beginSl |endSl | |endSr
- |beginW |endlW |beginSr
- |< lW >|
- <--------------- W ---------------->
- | | .. ______________ |
- | | ' `/ | ---_ |
- |___.'___/`. | ---_____|
- |_______|__|_______|_________________|
- | >|Sl|< |<------ Sr ----->|endW
- | | |endSl |beginSr |endSr
- |beginW | |endlW
- mult[0] |beginSl mult[n]
- <-------------- lW ----------------->
- |<--W-->|
- : .............. ___ | |
- : .''' |`/ \ | |
- :.....''' |/`....\|...|
- :.........................|___|___|___|
- |Sl |Sr |endW
- | | |endSr
- | |beginSr
- | |endSl
- |beginSl
- |beginW
- */
- /* block abstraction setup *********************************************/
- #ifndef WORD_ALIGN
- #define WORD_ALIGN 8
- #endif
- int vorbis_block_init(vorbis_dsp_state *v, vorbis_block *vb){
- memset(vb,0,sizeof(*vb));
- vb->vd=v;
- vb->localalloc=0;
- vb->localstore=NULL;
- if(v->analysisp){
- vorbis_block_internal *vbi=
- vb->internal=_ogg_calloc(1,sizeof(vorbis_block_internal));
- oggpack_writeinit(&vb->opb);
- vbi->ampmax=-9999;
- }
-
- return(0);
- }
- void *_vorbis_block_alloc(vorbis_block *vb,long bytes){
- bytes=(bytes+(WORD_ALIGN-1)) & ~(WORD_ALIGN-1);
- if(bytes+vb->localtop>vb->localalloc){
- /* can't just _ogg_realloc... there are outstanding pointers */
- if(vb->localstore){
- struct alloc_chain *link=_ogg_malloc(sizeof(*link));
- vb->totaluse+=vb->localtop;
- link->next=vb->reap;
- link->ptr=vb->localstore;
- vb->reap=link;
- }
- /* highly conservative */
- vb->localalloc=bytes;
- vb->localstore=_ogg_malloc(vb->localalloc);
- vb->localtop=0;
- }
- {
- void *ret=(void *)(((char *)vb->localstore)+vb->localtop);
- vb->localtop+=bytes;
- return ret;
- }
- }
- /* reap the chain, pull the ripcord */
- void _vorbis_block_ripcord(vorbis_block *vb){
- /* reap the chain */
- struct alloc_chain *reap=vb->reap;
- while(reap){
- struct alloc_chain *next=reap->next;
- _ogg_free(reap->ptr);
- memset(reap,0,sizeof(*reap));
- _ogg_free(reap);
- reap=next;
- }
- /* consolidate storage */
- if(vb->totaluse){
- vb->localstore=_ogg_realloc(vb->localstore,vb->totaluse+vb->localalloc);
- vb->localalloc+=vb->totaluse;
- vb->totaluse=0;
- }
- /* pull the ripcord */
- vb->localtop=0;
- vb->reap=NULL;
- }
- int vorbis_block_clear(vorbis_block *vb){
- if(vb->vd)
- if(vb->vd->analysisp)
- oggpack_writeclear(&vb->opb);
- _vorbis_block_ripcord(vb);
- if(vb->localstore)_ogg_free(vb->localstore);
- if(vb->internal)
- _ogg_free(vb->internal);
- memset(vb,0,sizeof(*vb));
- return(0);
- }
- /* Analysis side code, but directly related to blocking. Thus it's
- here and not in analysis.c (which is for analysis transforms only).
- The init is here because some of it is shared */
- static int _vds_shared_init(vorbis_dsp_state *v,vorbis_info *vi,int encp){
- int i;
- codec_setup_info *ci=vi->codec_setup;
- private_state *b=NULL;
- int hs;
- if(ci==NULL) return 1;
- hs=ci->halfrate_flag;
- memset(v,0,sizeof(*v));
- b=v->backend_state=_ogg_calloc(1,sizeof(*b));
- v->vi=vi;
- b->modebits=ilog2(ci->modes);
- b->transform[0]=_ogg_calloc(VI_TRANSFORMB,sizeof(*b->transform[0]));
- b->transform[1]=_ogg_calloc(VI_TRANSFORMB,sizeof(*b->transform[1]));
- /* MDCT is tranform 0 */
- b->transform[0][0]=_ogg_calloc(1,sizeof(mdct_lookup));
- b->transform[1][0]=_ogg_calloc(1,sizeof(mdct_lookup));
- mdct_init(b->transform[0][0],ci->blocksizes[0]>>hs);
- mdct_init(b->transform[1][0],ci->blocksizes[1]>>hs);
- /* Vorbis I uses only window type 0 */
- b->window[0]=ilog2(ci->blocksizes[0])-6;
- b->window[1]=ilog2(ci->blocksizes[1])-6;
- if(encp){ /* encode/decode differ here */
- /* analysis always needs an fft */
- drft_init(&b->fft_look[0],ci->blocksizes[0]);
- drft_init(&b->fft_look[1],ci->blocksizes[1]);
- /* finish the codebooks */
- if(!ci->fullbooks){
- ci->fullbooks=_ogg_calloc(ci->books,sizeof(*ci->fullbooks));
- for(i=0;i<ci->books;i++)
- vorbis_book_init_encode(ci->fullbooks+i,ci->book_param[i]);
- }
- b->psy=_ogg_calloc(ci->psys,sizeof(*b->psy));
- for(i=0;i<ci->psys;i++){
- _vp_psy_init(b->psy+i,
- ci->psy_param[i],
- &ci->psy_g_param,
- ci->blocksizes[ci->psy_param[i]->blockflag]/2,
- vi->rate);
- }
- v->analysisp=1;
- }else{
- /* finish the codebooks */
- if(!ci->fullbooks){
- ci->fullbooks=_ogg_calloc(ci->books,sizeof(*ci->fullbooks));
- for(i=0;i<ci->books;i++){
- vorbis_book_init_decode(ci->fullbooks+i,ci->book_param[i]);
- /* decode codebooks are now standalone after init */
- vorbis_staticbook_destroy(ci->book_param[i]);
- ci->book_param[i]=NULL;
- }
- }
- }
- /* initialize the storage vectors. blocksize[1] is small for encode,
- but the correct size for decode */
- v->pcm_storage=ci->blocksizes[1];
- v->pcm=_ogg_malloc(vi->channels*sizeof(*v->pcm));
- v->pcmret=_ogg_malloc(vi->channels*sizeof(*v->pcmret));
- {
- int i;
- for(i=0;i<vi->channels;i++)
- v->pcm[i]=_ogg_calloc(v->pcm_storage,sizeof(*v->pcm[i]));
- }
- /* all 1 (large block) or 0 (small block) */
- /* explicitly set for the sake of clarity */
- v->lW=0; /* previous window size */
- v->W=0; /* current window size */
- /* all vector indexes */
- v->centerW=ci->blocksizes[1]/2;
- v->pcm_current=v->centerW;
- /* initialize all the backend lookups */
- b->flr=_ogg_calloc(ci->floors,sizeof(*b->flr));
- b->residue=_ogg_calloc(ci->residues,sizeof(*b->residue));
- for(i=0;i<ci->floors;i++)
- b->flr[i]=_floor_P[ci->floor_type[i]]->
- look(v,ci->floor_param[i]);
- for(i=0;i<ci->residues;i++)
- b->residue[i]=_residue_P[ci->residue_type[i]]->
- look(v,ci->residue_param[i]);
- return 0;
- }
- /* arbitrary settings and spec-mandated numbers get filled in here */
- int vorbis_analysis_init(vorbis_dsp_state *v,vorbis_info *vi){
- private_state *b=NULL;
- if(_vds_shared_init(v,vi,1))return 1;
- b=v->backend_state;
- b->psy_g_look=_vp_global_look(vi);
- /* Initialize the envelope state storage */
- b->ve=_ogg_calloc(1,sizeof(*b->ve));
- _ve_envelope_init(b->ve,vi);
- vorbis_bitrate_init(vi,&b->bms);
- return(0);
- }
- void vorbis_dsp_clear(vorbis_dsp_state *v){
- int i;
- if(v){
- vorbis_info *vi=v->vi;
- codec_setup_info *ci=(vi?vi->codec_setup:NULL);
- private_state *b=v->backend_state;
- if(b){
-
- if(b->ve){
- _ve_envelope_clear(b->ve);
- _ogg_free(b->ve);
- }
- if(b->transform[0]){
- mdct_clear(b->transform[0][0]);
- _ogg_free(b->transform[0][0]);
- _ogg_free(b->transform[0]);
- }
- if(b->transform[1]){
- mdct_clear(b->transform[1][0]);
- _ogg_free(b->transform[1][0]);
- _ogg_free(b->transform[1]);
- }
- if(b->flr){
- for(i=0;i<ci->floors;i++)
- _floor_P[ci->floor_type[i]]->
- free_look(b->flr[i]);
- _ogg_free(b->flr);
- }
- if(b->residue){
- for(i=0;i<ci->residues;i++)
- _residue_P[ci->residue_type[i]]->
- free_look(b->residue[i]);
- _ogg_free(b->residue);
- }
- if(b->psy){
- for(i=0;i<ci->psys;i++)
- _vp_psy_clear(b->psy+i);
- _ogg_free(b->psy);
- }
- if(b->psy_g_look)_vp_global_free(b->psy_g_look);
- vorbis_bitrate_clear(&b->bms);
- drft_clear(&b->fft_look[0]);
- drft_clear(&b->fft_look[1]);
- }
-
- if(v->pcm){
- for(i=0;i<vi->channels;i++)
- if(v->pcm[i])_ogg_free(v->pcm[i]);
- _ogg_free(v->pcm);
- if(v->pcmret)_ogg_free(v->pcmret);
- }
- if(b){
- /* free header, header1, header2 */
- if(b->header)_ogg_free(b->header);
- if(b->header1)_ogg_free(b->header1);
- if(b->header2)_ogg_free(b->header2);
- _ogg_free(b);
- }
-
- memset(v,0,sizeof(*v));
- }
- }
- float **vorbis_analysis_buffer(vorbis_dsp_state *v, int vals){
- int i;
- vorbis_info *vi=v->vi;
- private_state *b=v->backend_state;
- /* free header, header1, header2 */
- if(b->header)_ogg_free(b->header);b->header=NULL;
- if(b->header1)_ogg_free(b->header1);b->header1=NULL;
- if(b->header2)_ogg_free(b->header2);b->header2=NULL;
- /* Do we have enough storage space for the requested buffer? If not,
- expand the PCM (and envelope) storage */
-
- if(v->pcm_current+vals>=v->pcm_storage){
- v->pcm_storage=v->pcm_current+vals*2;
-
- for(i=0;i<vi->channels;i++){
- v->pcm[i]=_ogg_realloc(v->pcm[i],v->pcm_storage*sizeof(*v->pcm[i]));
- }
- }
- for(i=0;i<vi->channels;i++)
- v->pcmret[i]=v->pcm[i]+v->pcm_current;
-
- return(v->pcmret);
- }
- static void _preextrapolate_helper(vorbis_dsp_state *v){
- int i;
- int order=32;
- float *lpc=alloca(order*sizeof(*lpc));
- float *work=alloca(v->pcm_current*sizeof(*work));
- long j;
- v->preextrapolate=1;
- if(v->pcm_current-v->centerW>order*2){ /* safety */
- for(i=0;i<v->vi->channels;i++){
- /* need to run the extrapolation in reverse! */
- for(j=0;j<v->pcm_current;j++)
- work[j]=v->pcm[i][v->pcm_current-j-1];
-
- /* prime as above */
- vorbis_lpc_from_data(work,lpc,v->pcm_current-v->centerW,order);
-
- /* run the predictor filter */
- vorbis_lpc_predict(lpc,work+v->pcm_current-v->centerW-order,
- order,
- work+v->pcm_current-v->centerW,
- v->centerW);
- for(j=0;j<v->pcm_current;j++)
- v->pcm[i][v->pcm_current-j-1]=work[j];
- }
- }
- }
- /* call with val<=0 to set eof */
- int vorbis_analysis_wrote(vorbis_dsp_state *v, int vals){
- vorbis_info *vi=v->vi;
- codec_setup_info *ci=vi->codec_setup;
- if(vals<=0){
- int order=32;
- int i;
- float *lpc=alloca(order*sizeof(*lpc));
- /* if it wasn't done earlier (very short sample) */
- if(!v->preextrapolate)
- _preextrapolate_helper(v);
- /* We're encoding the end of the stream. Just make sure we have
- [at least] a few full blocks of zeroes at the end. */
- /* actually, we don't want zeroes; that could drop a large
- amplitude off a cliff, creating spread spectrum noise that will
- suck to encode. Extrapolate for the sake of cleanliness. */
- vorbis_analysis_buffer(v,ci->blocksizes[1]*3);
- v->eofflag=v->pcm_current;
- v->pcm_current+=ci->blocksizes[1]*3;
- for(i=0;i<vi->channels;i++){
- if(v->eofflag>order*2){
- /* extrapolate with LPC to fill in */
- long n;
- /* make a predictor filter */
- n=v->eofflag;
- if(n>ci->blocksizes[1])n=ci->blocksizes[1];
- vorbis_lpc_from_data(v->pcm[i]+v->eofflag-n,lpc,n,order);
- /* run the predictor filter */
- vorbis_lpc_predict(lpc,v->pcm[i]+v->eofflag-order,order,
- v->pcm[i]+v->eofflag,v->pcm_current-v->eofflag);
- }else{
- /* not enough data to extrapolate (unlikely to happen due to
- guarding the overlap, but bulletproof in case that
- assumtion goes away). zeroes will do. */
- memset(v->pcm[i]+v->eofflag,0,
- (v->pcm_current-v->eofflag)*sizeof(*v->pcm[i]));
- }
- }
- }else{
- if(v->pcm_current+vals>v->pcm_storage)
- return(OV_EINVAL);
- v->pcm_current+=vals;
- /* we may want to reverse extrapolate the beginning of a stream
- too... in case we're beginning on a cliff! */
- /* clumsy, but simple. It only runs once, so simple is good. */
- if(!v->preextrapolate && v->pcm_current-v->centerW>ci->blocksizes[1])
- _preextrapolate_helper(v);
- }
- return(0);
- }
- /* do the deltas, envelope shaping, pre-echo and determine the size of
- the next block on which to continue analysis */
- int vorbis_analysis_blockout(vorbis_dsp_state *v,vorbis_block *vb){
- int i;
- vorbis_info *vi=v->vi;
- codec_setup_info *ci=vi->codec_setup;
- private_state *b=v->backend_state;
- vorbis_look_psy_global *g=b->psy_g_look;
- long beginW=v->centerW-ci->blocksizes[v->W]/2,centerNext;
- vorbis_block_internal *vbi=(vorbis_block_internal *)vb->internal;
- /* check to see if we're started... */
- if(!v->preextrapolate)return(0);
- /* check to see if we're done... */
- if(v->eofflag==-1)return(0);
- /* By our invariant, we have lW, W and centerW set. Search for
- the next boundary so we can determine nW (the next window size)
- which lets us compute the shape of the current block's window */
- /* we do an envelope search even on a single blocksize; we may still
- be throwing more bits at impulses, and envelope search handles
- marking impulses too. */
- {
- long bp=_ve_envelope_search(v);
- if(bp==-1){
- if(v->eofflag==0)return(0); /* not enough data currently to search for a
- full long block */
- v->nW=0;
- }else{
- if(ci->blocksizes[0]==ci->blocksizes[1])
- v->nW=0;
- else
- v->nW=bp;
- }
- }
- centerNext=v->centerW+ci->blocksizes[v->W]/4+ci->blocksizes[v->nW]/4;
- {
- /* center of next block + next block maximum right side. */
- long blockbound=centerNext+ci->blocksizes[v->nW]/2;
- if(v->pcm_current<blockbound)return(0); /* not enough data yet;
- although this check is
- less strict that the
- _ve_envelope_search,
- the search is not run
- if we only use one
- block size */
- }
-
- /* fill in the block. Note that for a short window, lW and nW are *short*
- regardless of actual settings in the stream */
- _vorbis_block_ripcord(vb);
- vb->lW=v->lW;
- vb->W=v->W;
- vb->nW=v->nW;
- if(v->W){
- if(!v->lW || !v->nW){
- vbi->blocktype=BLOCKTYPE_TRANSITION;
- /*fprintf(stderr,"-");*/
- }else{
- vbi->blocktype=BLOCKTYPE_LONG;
- /*fprintf(stderr,"_");*/
- }
- }else{
- if(_ve_envelope_mark(v)){
- vbi->blocktype=BLOCKTYPE_IMPULSE;
- /*fprintf(stderr,"|");*/
- }else{
- vbi->blocktype=BLOCKTYPE_PADDING;
- /*fprintf(stderr,".");*/
- }
- }
-
- vb->vd=v;
- vb->sequence=v->sequence++;
- vb->granulepos=v->granulepos;
- vb->pcmend=ci->blocksizes[v->W];
-
- /* copy the vectors; this uses the local storage in vb */
- /* this tracks 'strongest peak' for later psychoacoustics */
- /* moved to the global psy state; clean this mess up */
- if(vbi->ampmax>g->ampmax)g->ampmax=vbi->ampmax;
- g->ampmax=_vp_ampmax_decay(g->ampmax,v);
- vbi->ampmax=g->ampmax;
-
- vb->pcm=_vorbis_block_alloc(vb,sizeof(*vb->pcm)*vi->channels);
- vbi->pcmdelay=_vorbis_block_alloc(vb,sizeof(*vbi->pcmdelay)*vi->channels);
- for(i=0;i<vi->channels;i++){
- vbi->pcmdelay[i]=
- _vorbis_block_alloc(vb,(vb->pcmend+beginW)*sizeof(*vbi->pcmdelay[i]));
- memcpy(vbi->pcmdelay[i],v->pcm[i],(vb->pcmend+beginW)*sizeof(*vbi->pcmdelay[i]));
- vb->pcm[i]=vbi->pcmdelay[i]+beginW;
-
- /* before we added the delay
- vb->pcm[i]=_vorbis_block_alloc(vb,vb->pcmend*sizeof(*vb->pcm[i]));
- memcpy(vb->pcm[i],v->pcm[i]+beginW,ci->blocksizes[v->W]*sizeof(*vb->pcm[i]));
- */
-
- }
-
- /* handle eof detection: eof==0 means that we've not yet received EOF
- eof>0 marks the last 'real' sample in pcm[]
- eof<0 'no more to do'; doesn't get here */
- if(v->eofflag){
- if(v->centerW>=v->eofflag){
- v->eofflag=-1;
- vb->eofflag=1;
- return(1);
- }
- }
- /* advance storage vectors and clean up */
- {
- int new_centerNext=ci->blocksizes[1]/2;
- int movementW=centerNext-new_centerNext;
- if(movementW>0){
- _ve_envelope_shift(b->ve,movementW);
- v->pcm_current-=movementW;
-
- for(i=0;i<vi->channels;i++)
- memmove(v->pcm[i],v->pcm[i]+movementW,
- v->pcm_current*sizeof(*v->pcm[i]));
-
-
- v->lW=v->W;
- v->W=v->nW;
- v->centerW=new_centerNext;
-
- if(v->eofflag){
- v->eofflag-=movementW;
- if(v->eofflag<=0)v->eofflag=-1;
- /* do not add padding to end of stream! */
- if(v->centerW>=v->eofflag){
- v->granulepos+=movementW-(v->centerW-v->eofflag);
- }else{
- v->granulepos+=movementW;
- }
- }else{
- v->granulepos+=movementW;
- }
- }
- }
- /* done */
- return(1);
- }
- int vorbis_synthesis_restart(vorbis_dsp_state *v){
- vorbis_info *vi=v->vi;
- codec_setup_info *ci;
- int hs;
- if(!v->backend_state)return -1;
- if(!vi)return -1;
- ci=vi->codec_setup;
- if(!ci)return -1;
- hs=ci->halfrate_flag;
- v->centerW=ci->blocksizes[1]>>(hs+1);
- v->pcm_current=v->centerW>>hs;
-
- v->pcm_returned=-1;
- v->granulepos=-1;
- v->sequence=-1;
- v->eofflag=0;
- ((private_state *)(v->backend_state))->sample_count=-1;
- return(0);
- }
- int vorbis_synthesis_init(vorbis_dsp_state *v,vorbis_info *vi){
- if(_vds_shared_init(v,vi,0)) return 1;
- vorbis_synthesis_restart(v);
- return 0;
- }
- /* Unlike in analysis, the window is only partially applied for each
- block. The time domain envelope is not yet handled at the point of
- calling (as it relies on the previous block). */
- int vorbis_synthesis_blockin(vorbis_dsp_state *v,vorbis_block *vb){
- vorbis_info *vi=v->vi;
- codec_setup_info *ci=vi->codec_setup;
- private_state *b=v->backend_state;
- int hs=ci->halfrate_flag;
- int i,j;
- if(!vb)return(OV_EINVAL);
- if(v->pcm_current>v->pcm_returned && v->pcm_returned!=-1)return(OV_EINVAL);
-
- v->lW=v->W;
- v->W=vb->W;
- v->nW=-1;
-
- if((v->sequence==-1)||
- (v->sequence+1 != vb->sequence)){
- v->granulepos=-1; /* out of sequence; lose count */
- b->sample_count=-1;
- }
- v->sequence=vb->sequence;
-
- if(vb->pcm){ /* no pcm to process if vorbis_synthesis_trackonly
- was called on block */
- int n=ci->blocksizes[v->W]>>(hs+1);
- int n0=ci->blocksizes[0]>>(hs+1);
- int n1=ci->blocksizes[1]>>(hs+1);
- int thisCenter;
- int prevCenter;
-
- v->glue_bits+=vb->glue_bits;
- v->time_bits+=vb->time_bits;
- v->floor_bits+=vb->floor_bits;
- v->res_bits+=vb->res_bits;
-
- if(v->centerW){
- thisCenter=n1;
- prevCenter=0;
- }else{
- thisCenter=0;
- prevCenter=n1;
- }
-
- /* v->pcm is now used like a two-stage double buffer. We don't want
- to have to constantly shift *or* adjust memory usage. Don't
- accept a new block until the old is shifted out */
-
- for(j=0;j<vi->channels;j++){
- /* the overlap/add section */
- if(v->lW){
- if(v->W){
- /* large/large */
- float *w=_vorbis_window_get(b->window[1]-hs);
- float *pcm=v->pcm[j]+prevCenter;
- float *p=vb->pcm[j];
- for(i=0;i<n1;i++)
- pcm[i]=pcm[i]*w[n1-i-1] + p[i]*w[i];
- }else{
- /* large/small */
- float *w=_vorbis_window_get(b->window[0]-hs);
- float *pcm=v->pcm[j]+prevCenter+n1/2-n0/2;
- float *p=vb->pcm[j];
- for(i=0;i<n0;i++)
- pcm[i]=pcm[i]*w[n0-i-1] +p[i]*w[i];
- }
- }else{
- if(v->W){
- /* small/large */
- float *w=_vorbis_window_get(b->window[0]-hs);
- float *pcm=v->pcm[j]+prevCenter;
- float *p=vb->pcm[j]+n1/2-n0/2;
- for(i=0;i<n0;i++)
- pcm[i]=pcm[i]*w[n0-i-1] +p[i]*w[i];
- for(;i<n1/2+n0/2;i++)
- pcm[i]=p[i];
- }else{
- /* small/small */
- float *w=_vorbis_window_get(b->window[0]-hs);
- float *pcm=v->pcm[j]+prevCenter;
- float *p=vb->pcm[j];
- for(i=0;i<n0;i++)
- pcm[i]=pcm[i]*w[n0-i-1] +p[i]*w[i];
- }
- }
-
- /* the copy section */
- {
- float *pcm=v->pcm[j]+thisCenter;
- float *p=vb->pcm[j]+n;
- for(i=0;i<n;i++)
- pcm[i]=p[i];
- }
- }
-
- if(v->centerW)
- v->centerW=0;
- else
- v->centerW=n1;
-
- /* deal with initial packet state; we do this using the explicit
- pcm_returned==-1 flag otherwise we're sensitive to first block
- being short or long */
-
- if(v->pcm_returned==-1){
- v->pcm_returned=thisCenter;
- v->pcm_current=thisCenter;
- }else{
- v->pcm_returned=prevCenter;
- v->pcm_current=prevCenter+
- ((ci->blocksizes[v->lW]/4+
- ci->blocksizes[v->W]/4)>>hs);
- }
-
- }
- /* track the frame number... This is for convenience, but also
- making sure our last packet doesn't end with added padding. If
- the last packet is partial, the number of samples we'll have to
- return will be past the vb->granulepos.
-
- This is not foolproof! It will be confused if we begin
- decoding at the last page after a seek or hole. In that case,
- we don't have a starting point to judge where the last frame
- is. For this reason, vorbisfile will always try to make sure
- it reads the last two marked pages in proper sequence */
- if(b->sample_count==-1){
- b->sample_count=0;
- }else{
- b->sample_count+=ci->blocksizes[v->lW]/4+ci->blocksizes[v->W]/4;
- }
-
- if(v->granulepos==-1){
- if(vb->granulepos!=-1){ /* only set if we have a position to set to */
- v->granulepos=vb->granulepos;
- /* is this a short page? */
- if(b->sample_count>v->granulepos){
- /* corner case; if this is both the first and last audio page,
- then spec says the end is cut, not beginning */
- if(vb->eofflag){
- /* trim the end */
- /* no preceeding granulepos; assume we started at zero (we'd
- have to in a short single-page stream) */
- /* granulepos could be -1 due to a seek, but that would result
- in a long count, not short count */
-
- v->pcm_current-=(b->sample_count-v->granulepos)>>hs;
- }else{
- /* trim the beginning */
- v->pcm_returned+=(b->sample_count-v->granulepos)>>hs;
- if(v->pcm_returned>v->pcm_current)
- v->pcm_returned=v->pcm_current;
- }
- }
- }
- }else{
- v->granulepos+=ci->blocksizes[v->lW]/4+ci->blocksizes[v->W]/4;
- if(vb->granulepos!=-1 && v->granulepos!=vb->granulepos){
-
- if(v->granulepos>vb->granulepos){
- long extra=v->granulepos-vb->granulepos;
- if(extra)
- if(vb->eofflag){
- /* partial last frame. Strip the extra samples off */
- v->pcm_current-=extra>>hs;
- } /* else {Shouldn't happen *unless* the bitstream is out of
- spec. Either way, believe the bitstream } */
- } /* else {Shouldn't happen *unless* the bitstream is out of
- spec. Either way, believe the bitstream } */
- v->granulepos=vb->granulepos;
- }
- }
-
- /* Update, cleanup */
-
- if(vb->eofflag)v->eofflag=1;
- return(0);
-
- }
- /* pcm==NULL indicates we just want the pending samples, no more */
- int vorbis_synthesis_pcmout(vorbis_dsp_state *v,float ***pcm){
- vorbis_info *vi=v->vi;
- if(v->pcm_returned>-1 && v->pcm_returned<v->pcm_current){
- if(pcm){
- int i;
- for(i=0;i<vi->channels;i++)
- v->pcmret[i]=v->pcm[i]+v->pcm_returned;
- *pcm=v->pcmret;
- }
- return(v->pcm_current-v->pcm_returned);
- }
- return(0);
- }
- int vorbis_synthesis_read(vorbis_dsp_state *v,int n){
- if(n && v->pcm_returned+n>v->pcm_current)return(OV_EINVAL);
- v->pcm_returned+=n;
- return(0);
- }
- /* intended for use with a specific vorbisfile feature; we want access
- to the [usually synthetic/postextrapolated] buffer and lapping at
- the end of a decode cycle, specifically, a half-short-block worth.
- This funtion works like pcmout above, except it will also expose
- this implicit buffer data not normally decoded. */
- int vorbis_synthesis_lapout(vorbis_dsp_state *v,float ***pcm){
- vorbis_info *vi=v->vi;
- codec_setup_info *ci=vi->codec_setup;
- int hs=ci->halfrate_flag;
-
- int n=ci->blocksizes[v->W]>>(hs+1);
- int n0=ci->blocksizes[0]>>(hs+1);
- int n1=ci->blocksizes[1]>>(hs+1);
- int i,j;
- if(v->pcm_returned<0)return 0;
- /* our returned data ends at pcm_returned; because the synthesis pcm
- buffer is a two-fragment ring, that means our data block may be
- fragmented by buffering, wrapping or a short block not filling
- out a buffer. To simplify things, we unfragment if it's at all
- possibly needed. Otherwise, we'd need to call lapout more than
- once as well as hold additional dsp state. Opt for
- simplicity. */
- /* centerW was advanced by blockin; it would be the center of the
- *next* block */
- if(v->centerW==n1){
- /* the data buffer wraps; swap the halves */
- /* slow, sure, small */
- for(j=0;j<vi->channels;j++){
- float *p=v->pcm[j];
- for(i=0;i<n1;i++){
- float temp=p[i];
- p[i]=p[i+n1];
- p[i+n1]=temp;
- }
- }
- v->pcm_current-=n1;
- v->pcm_returned-=n1;
- v->centerW=0;
- }
-
- /* solidify buffer into contiguous space */
- if((v->lW^v->W)==1){
- /* long/short or short/long */
- for(j=0;j<vi->channels;j++){
- float *s=v->pcm[j];
- float *d=v->pcm[j]+(n1-n0)/2;
- for(i=(n1+n0)/2-1;i>=0;--i)
- d[i]=s[i];
- }
- v->pcm_returned+=(n1-n0)/2;
- v->pcm_current+=(n1-n0)/2;
- }else{
- if(v->lW==0){
- /* short/short */
- for(j=0;j<vi->channels;j++){
- float *s=v->pcm[j];
- float *d=v->pcm[j]+n1-n0;
- for(i=n0-1;i>=0;--i)
- d[i]=s[i];
- }
- v->pcm_returned+=n1-n0;
- v->pcm_current+=n1-n0;
- }
- }
-
- if(pcm){
- int i;
- for(i=0;i<vi->channels;i++)
- v->pcmret[i]=v->pcm[i]+v->pcm_returned;
- *pcm=v->pcmret;
- }
- return(n1+n-v->pcm_returned);
- }
- float *vorbis_window(vorbis_dsp_state *v,int W){
- vorbis_info *vi=v->vi;
- codec_setup_info *ci=vi->codec_setup;
- int hs=ci->halfrate_flag;
- private_state *b=v->backend_state;
- if(b->window[W]-1<0)return NULL;
- return _vorbis_window_get(b->window[W]-hs);
- }
-
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: single-block PCM analysis mode dispatch
- last mod: $Id: analysis.c,v 1.55 2002/07/11 06:40:48 xiphmont Exp $
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: linear scale -> dB, Bark and Mel scales
- last mod: $Id: scales.h,v 1.26 2002/07/11 06:40:50 xiphmont Exp $
- ********************************************************************/
- #define _V_SCALES_H_
- /* 20log10(x) */
- #define VORBIS_IEEE_FLOAT32 1
- #ifdef VORBIS_IEEE_FLOAT32
- static float unitnorm(float x){
- ogg_uint32_t *ix=(ogg_uint32_t *)&x;
- *ix=(*ix&0x80000000UL)|(0x3f800000UL);
- return(x);
- }
- float FABS(float *x){
- ogg_uint32_t *ix=(ogg_uint32_t *)x;
- *ix&=0x7fffffffUL;
- return(*x);
- }
- static float todB(const float *x){
- float calc;
- ogg_int32_t *i=(ogg_int32_t *)x;
- calc = ((*i) & 0x7fffffff);
- calc *= 7.1771144e-7f;
- calc += -764.27118f;
- return calc;
- }
- #define todB_nn(x) todB(x)
- #else
- static float unitnorm(float x){
- if(x<0)return(-1.f);
- return(1.f);
- }
- #define FABS(x) fabs(*(x))
- #define todB(x) (*(x)==0?-400.f:log(*(x)**(x))*4.34294480f)
- #define todB_nn(x) (*(x)==0.f?-400.f:log(*(x))*8.6858896f)
- #endif
- #define fromdB(x) (exp((x)*.11512925f))
- /* The bark scale equations are approximations, since the original
- table was somewhat hand rolled. The below are chosen to have the
- best possible fit to the rolled tables, thus their somewhat odd
- appearance (these are more accurate and over a longer range than
- the oft-quoted bark equations found in the texts I have). The
- approximations are valid from 0 - 30kHz (nyquist) or so.
- all f in Hz, z in Bark */
- #define toBARK(n) (13.1f*atan(.00074f*(n))+2.24f*atan((n)*(n)*1.85e-8f)+1e-4f*(n))
- #define fromBARK(z) (102.f*(z)-2.f*pow(z,2.f)+.4f*pow(z,3.f)+pow(1.46f,z)-1.f)
- #define toMEL(n) (log(1.f+(n)*.001f)*1442.695f)
- #define fromMEL(m) (1000.f*exp((m)/1442.695f)-1000.f)
- /* Frequency to octave. We arbitrarily declare 63.5 Hz to be octave
- 0.0 */
- #define toOC(n) (log(n)*1.442695f-5.965784f)
- #define fromOC(o) (exp(((o)+5.965784f)*.693147f))
- int analysis_noisy=1;
- /* decides between modes, dispatches to the appropriate mapping. */
- int vorbis_analysis(vorbis_block *vb, ogg_packet *op){
- int ret;
- vb->glue_bits=0;
- vb->time_bits=0;
- vb->floor_bits=0;
- vb->res_bits=0;
- /* first things first. Make sure encode is ready */
- oggpack_reset(&vb->opb);
-
- /* we only have one mapping type (0), and we let the mapping code
- itself figure out what soft mode to use. This allows easier
- bitrate management */
- if((ret=_mapping_P[0]->forward(vb)))
- return(ret);
- if(op){
- if(vorbis_bitrate_managed(vb))
- /* The app is using a bitmanaged mode... but not using the
- bitrate management interface. */
- return(OV_EINVAL);
-
- op->packet=oggpack_get_buffer(&vb->opb);
- op->bytes=oggpack_bytes(&vb->opb);
- op->b_o_s=0;
- op->e_o_s=vb->eofflag;
- op->granulepos=vb->granulepos;
- op->packetno=vb->sequence; /* for sake of completeness */
- }
- return(0);
- }
- /* there was no great place to put this.... */
- void _analysis_output_always(char *base,int i,float *v,int n,int bark,int dB,ogg_int64_t off){
- int j;
- FILE *of;
- char buffer[80];
- /* if(i==5870){*/
- sprintf(buffer,"%s_%d.m",base,i);
- of=fopen(buffer,"w");
-
- if(!of)perror("failed to open data dump file");
-
- for(j=0;j<n;j++){
- if(bark){
- float b=toBARK((4000.f*j/n)+.25);
- fprintf(of,"%f ",b);
- }else
- if(off!=0)
- fprintf(of,"%f ",(double)(j+off)/8000.);
- else
- fprintf(of,"%f ",(double)j);
-
- if(dB){
- float val;
- if(v[j]==0.)
- val=-140.;
- else
- val=todB(v+j);
- fprintf(of,"%f\n",val);
- }else{
- fprintf(of,"%f\n",v[j]);
- }
- }
- fclose(of);
- /* } */
- }
- void _analysis_output(char *base,int i,float *v,int n,int bark,int dB,
- ogg_int64_t off){
- if(analysis_noisy)_analysis_output_always(base,i,v,n,bark,dB,off);
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: bitrate tracking and management
- last mod: $Id: bitrate.c,v 1.21 2002/10/11 11:14:41 xiphmont Exp $
- ********************************************************************/
- static long BINBYTES(bitrate_manager_state *bm,long pos,long bin){
- int bins=bm->queue_bins;
- return(bm->queue_binned[pos*bins+bin]);
- }
- #define LIMITBYTES(pos,bin) (bm->minmax_binstack[(pos)*bins*2+((bin)+bins)])
- static long LACING_ADJUST(long bytes){
- int addto=bytes/255+1;
- return(bytes+addto);
- }
- static int floater_interpolate(bitrate_manager_state *bm,vorbis_info *vi,
- double desired_rate){
- int bin=rint(bm->avgfloat);
- double lobitrate,hibitrate;
- lobitrate=(double)(bm->avg_binacc[bin]*8)/bm->avg_sampleacc*vi->rate;
- while(lobitrate>desired_rate && bin>0){
- bin--;
- lobitrate=(double)(bm->avg_binacc[bin]*8)/bm->avg_sampleacc*vi->rate;
- }
- if(bin+1<bm->queue_bins){
- hibitrate=(double)(bm->avg_binacc[bin+1]*8)/bm->avg_sampleacc*vi->rate;
- if(fabs(hibitrate-desired_rate) < fabs(lobitrate-desired_rate))bin++;
- }
- return(bin);
- }
- /* try out a new limit */
- static long limit_sum(bitrate_manager_state *bm,int limit){
- int i=bm->minmax_stackptr;
- long acc=bm->minmax_acctotal;
- long bins=bm->queue_bins;
-
- acc-=LIMITBYTES(i,0);
- acc+=LIMITBYTES(i,limit);
- while(i-->0){
- if(bm->minmax_limitstack[i]<=limit)break;
- acc-=LIMITBYTES(i,bm->minmax_limitstack[i]);
- acc+=LIMITBYTES(i,limit);
- }
- return(acc);
- }
- /* compute bitrate tracking setup, allocate circular packet size queue */
- void vorbis_bitrate_init(vorbis_info *vi,bitrate_manager_state *bm){
- int i;
- codec_setup_info *ci=vi->codec_setup;
- bitrate_manager_info *bi=&ci->bi;
- long maxlatency;
- memset(bm,0,sizeof(*bm));
-
- if(bi){
-
- bm->avg_sampledesired=bi->queue_avg_time*vi->rate;
- bm->avg_centerdesired=bi->queue_avg_time*vi->rate*bi->queue_avg_center;
- bm->minmax_sampledesired=bi->queue_minmax_time*vi->rate;
-
- /* first find the max possible needed queue size */
- maxlatency=max(bm->avg_sampledesired-bm->avg_centerdesired,
- bm->minmax_sampledesired)+bm->avg_centerdesired;
-
- if(maxlatency>0 &&
- (bi->queue_avgmin>0 || bi->queue_avgmax>0 || bi->queue_hardmax>0 ||
- bi->queue_hardmin>0)){
- long maxpackets=maxlatency/(ci->blocksizes[0]>>1)+3;
- long bins=PACKETBLOBS;
-
- bm->queue_size=maxpackets;
- bm->queue_bins=bins;
- bm->queue_binned=_ogg_calloc(maxpackets,bins*sizeof(*bm->queue_binned));
- bm->queue_actual=_ogg_calloc(maxpackets,sizeof(*bm->queue_actual));
-
- if((bi->queue_avgmin>0 || bi->queue_avgmax>0) &&
- bi->queue_avg_time>0){
-
- bm->avg_binacc=_ogg_calloc(bins,sizeof(*bm->avg_binacc));
- bm->avgfloat=PACKETBLOBS/2;
-
- }else{
- bm->avg_tail= -1;
- }
-
- if((bi->queue_hardmin>0 || bi->queue_hardmax>0) &&
- bi->queue_minmax_time>0){
-
- bm->minmax_binstack=_ogg_calloc((bins*2+1)*bins*2,
- sizeof(*bm->minmax_binstack));
- bm->minmax_posstack=_ogg_calloc((bins*2+1),
- sizeof(*bm->minmax_posstack));
- bm->minmax_limitstack=_ogg_calloc((bins*2+1),
- sizeof(*bm->minmax_limitstack));
- }else{
- bm->minmax_tail= -1;
- }
-
- /* space for the packet queueing */
- bm->packetbuffers=_ogg_calloc(maxpackets,sizeof(*bm->packetbuffers));
- bm->packets=_ogg_calloc(maxpackets,sizeof(*bm->packets));
- for(i=0;i<maxpackets;i++)
- oggpack_writeinit(bm->packetbuffers+i);
-
- }else{
- bm->packetbuffers=_ogg_calloc(1,sizeof(*bm->packetbuffers));
- bm->packets=_ogg_calloc(1,sizeof(*bm->packets));
- oggpack_writeinit(bm->packetbuffers);
- }
- }
- }
- void vorbis_bitrate_clear(bitrate_manager_state *bm){
- int i;
- if(bm){
- if(bm->queue_binned)_ogg_free(bm->queue_binned);
- if(bm->queue_actual)_ogg_free(bm->queue_actual);
- if(bm->avg_binacc)_ogg_free(bm->avg_binacc);
- if(bm->minmax_binstack)_ogg_free(bm->minmax_binstack);
- if(bm->minmax_posstack)_ogg_free(bm->minmax_posstack);
- if(bm->minmax_limitstack)_ogg_free(bm->minmax_limitstack);
- if(bm->packetbuffers){
- if(bm->queue_size==0){
- oggpack_writeclear(bm->packetbuffers);
- }else{
- for(i=0;i<bm->queue_size;i++)
- oggpack_writeclear(bm->packetbuffers+i);
- }
- _ogg_free(bm->packetbuffers);
- }
- if(bm->packets)_ogg_free(bm->packets);
-
- memset(bm,0,sizeof(*bm));
- }
- }
- int vorbis_bitrate_managed(vorbis_block *vb){
- vorbis_dsp_state *vd=vb->vd;
- private_state *b=vd->backend_state;
- bitrate_manager_state *bm=&b->bms;
- if(bm->queue_binned)return(1);
- return(0);
- }
- /* finish taking in the block we just processed */
- int vorbis_bitrate_addblock(vorbis_block *vb){
- int i;
- vorbis_block_internal *vbi=vb->internal;
- vorbis_dsp_state *vd=vb->vd;
- private_state *b=vd->backend_state;
- bitrate_manager_state *bm=&b->bms;
- vorbis_info *vi=vd->vi;
- codec_setup_info *ci=vi->codec_setup;
- bitrate_manager_info *bi=&ci->bi;
- int eofflag=vb->eofflag;
- int head=bm->queue_head;
- int next_head=head+1;
- int bins=bm->queue_bins;
- int minmax_head,new_minmax_head;
-
- ogg_uint32_t *head_ptr;
- oggpack_buffer temp;
- if(!bm->queue_binned){
- oggpack_buffer temp;
- /* not a bitrate managed stream, but for API simplicity, we'll
- buffer one packet to keep the code path clean */
-
- if(bm->queue_head)return(-1); /* one has been submitted without
- being claimed */
- bm->queue_head++;
- bm->packets[0].packet=oggpack_get_buffer(&vb->opb);
- bm->packets[0].bytes=oggpack_bytes(&vb->opb);
- bm->packets[0].b_o_s=0;
- bm->packets[0].e_o_s=vb->eofflag;
- bm->packets[0].granulepos=vb->granulepos;
- bm->packets[0].packetno=vb->sequence; /* for sake of completeness */
- memcpy(&temp,bm->packetbuffers,sizeof(vb->opb));
- memcpy(bm->packetbuffers,&vb->opb,sizeof(vb->opb));
- memcpy(&vb->opb,&temp,sizeof(vb->opb));
- return(0);
- }
- /* add encoded packet to head */
- if(next_head>=bm->queue_size)next_head=0;
- head_ptr=bm->queue_binned+bins*head;
- /* is there room to add a block? In proper use of the API, this will
- never come up... but guard it anyway */
- if(next_head==bm->avg_tail || next_head==bm->minmax_tail)return(-1);
- /* add the block to the toplevel queue */
- bm->queue_head=next_head;
- bm->queue_actual[head]=(vb->W?0x80000000UL:0);
- /* buffer packet fields */
- bm->packets[head].packet=oggpack_get_buffer(&vb->opb);
- bm->packets[head].bytes=oggpack_bytes(&vb->opb);
- bm->packets[head].b_o_s=0;
- bm->packets[head].e_o_s=vb->eofflag;
- bm->packets[head].granulepos=vb->granulepos;
- bm->packets[head].packetno=vb->sequence; /* for sake of completeness */
- /* swap packet buffers */
- memcpy(&temp,bm->packetbuffers+head,sizeof(vb->opb));
- memcpy(bm->packetbuffers+head,&vb->opb,sizeof(vb->opb));
- memcpy(&vb->opb,&temp,sizeof(vb->opb));
- /* save markers */
- head_ptr[0]=vbi->packetblob_markers[0];
- for(i=1;i<PACKETBLOBS;i++){
- head_ptr[i]=vbi->packetblob_markers[i]-vbi->packetblob_markers[i-1];
- }
- if(bm->avg_binacc)
- new_minmax_head=minmax_head=bm->avg_center;
- else
- new_minmax_head=minmax_head=head;
- /* the average tracking queue is updated first; its results (if it's
- in use) are taken into account by the min/max limiter (if min/max
- is in use) */
- if(bm->avg_binacc){
- unsigned long desired_center=bm->avg_centerdesired;
- if(eofflag)desired_center=0;
- /* update the avg head */
- for(i=0;i<bins;i++)
- bm->avg_binacc[i]+=LACING_ADJUST(head_ptr[i]);
- bm->avg_sampleacc+=ci->blocksizes[vb->W]>>1;
- bm->avg_centeracc+=ci->blocksizes[vb->W]>>1;
- if(bm->avg_sampleacc>bm->avg_sampledesired || eofflag){
- /* update the avg center */
- if(bm->avg_centeracc>desired_center){
- /* choose the new average floater */
- int samples=ci->blocksizes[vb->W]>>1;
- double upper=floater_interpolate(bm,vi,bi->queue_avgmax);
- double lower=floater_interpolate(bm,vi,bi->queue_avgmin);
- double new=PACKETBLOBS/2.,slew;
- int bin;
-
- if(upper<new)new=upper;
- if(lower>new)new=lower;
-
- slew=(new-bm->avgfloat)/samples*vi->rate;
-
- if(slew<bi->avgfloat_downslew_max)
- new=bm->avgfloat+bi->avgfloat_downslew_max/vi->rate*samples;
- if(slew>bi->avgfloat_upslew_max)
- new=bm->avgfloat+bi->avgfloat_upslew_max/vi->rate*samples;
-
- bm->avgfloat=new;
- /* apply the average floater to new blocks */
- bin=rint(bm->avgfloat);
- /*fprintf(stderr,"%d ",bin);*/
-
- while(bm->avg_centeracc>desired_center){
- samples=ci->blocksizes[bm->queue_actual[bm->avg_center]&
- 0x80000000UL?1:0]>>1;
-
- bm->queue_actual[bm->avg_center]|=bin;
-
- bm->avg_centeracc-=samples;
- bm->avg_center++;
- if(bm->avg_center>=bm->queue_size)bm->avg_center=0;
- }
- new_minmax_head=bm->avg_center;
-
- }
-
- /* update the avg tail if needed */
- while(bm->avg_sampleacc>bm->avg_sampledesired){
- int samples=
- ci->blocksizes[bm->queue_actual[bm->avg_tail]&0x80000000UL?1:0]>>1;
- for(i=0;i<bm->queue_bins;i++)
- bm->avg_binacc[i]-=LACING_ADJUST(bm->queue_binned[bins*bm->avg_tail+i]);
- bm->avg_sampleacc-=samples;
- bm->avg_tail++;
- if(bm->avg_tail>=bm->queue_size)bm->avg_tail=0;
- }
-
-
- }
- }else{
- /* if we're not using an average tracker, the 'float' is nailed to
- the avgfloat_initial value. It needs to be set for the min/max
- to deal properly */
- long bin=PACKETBLOBS/2;
- bm->queue_actual[head]|=bin;
- new_minmax_head=next_head;
- }
-
- /* update the min/max queues and enforce limits */
- if(bm->minmax_binstack){
- unsigned long sampledesired=eofflag?0:bm->minmax_sampledesired;
-
- /* add to stack recent */
- while(minmax_head!=new_minmax_head){
- unsigned int i;
- int samples=ci->blocksizes[bm->queue_actual[minmax_head]&
- 0x80000000UL?1:0]>>1;
- int actual=bm->queue_actual[minmax_head]&0x7fffffffUL;
- for(i=0;i<(unsigned int)bins;i++){
- bm->minmax_binstack[bm->minmax_stackptr*bins*2+bins+i]+=
- LACING_ADJUST(BINBYTES(bm,minmax_head,
- actual>i?actual:i));
-
- bm->minmax_binstack[bm->minmax_stackptr*bins*2+i]+=
- LACING_ADJUST(BINBYTES(bm,minmax_head,
- actual<i?actual:i));
- }
-
- bm->minmax_posstack[bm->minmax_stackptr]=minmax_head; /* not one
- past
- like
- typical */
- bm->minmax_limitstack[bm->minmax_stackptr]=0;
- bm->minmax_sampleacc+=samples;
- bm->minmax_acctotal+=
- LACING_ADJUST(BINBYTES(bm,minmax_head,actual));
-
- minmax_head++;
- if(minmax_head>=bm->queue_size)minmax_head=0;
- }
-
- /* check limits, enforce changes */
- if(bm->minmax_sampleacc>sampledesired){
- double bitrate=(double)(bm->minmax_acctotal*8)/
- bm->minmax_sampleacc*vi->rate;
- int limit=0;
-
- if((bi->queue_hardmax>0 && bitrate>bi->queue_hardmax) ||
- (bi->queue_hardmin>0 && bitrate<bi->queue_hardmin)){
- int newstack;
- int stackctr;
- long bitsum=bm->minmax_acctotal*8;
- bitrate=(double)bitsum/bm->minmax_sampleacc*vi->rate;
- /* we're off rate. Iteratively try out new hard floater
- limits until we find one that brings us inside. Here's
- where we see the whole point of the limit stacks. */
- if(bi->queue_hardmax>0 && bitrate>bi->queue_hardmax){
- for(limit=-1;limit>-bins+1;limit--){
- long bitsum=limit_sum(bm,limit)*8;
- bitrate=(double)bitsum/bm->minmax_sampleacc*vi->rate;
- if(bitrate<=bi->queue_hardmax)break;
- }
- }else if(bitrate<bi->queue_hardmin){
- for(limit=1;limit<bins-1;limit++){
- long bitsum=limit_sum(bm,limit)*8;
- bitrate=(double)bitsum/bm->minmax_sampleacc*vi->rate;
- if(bitrate>=bi->queue_hardmin)break;
- }
- if(bitrate>bi->queue_hardmax)limit--;
- }
- /* trace the limit backward, stop when we see a lower limit */
- newstack=bm->minmax_stackptr-1;
- while(newstack>=0){
- if(bm->minmax_limitstack[newstack]<limit)break;
- newstack--;
- }
-
- /* update bit counter with new limit and replace any stack
- limits that have been replaced by our new lower limit */
- stackctr=bm->minmax_stackptr;
- while(stackctr>newstack){
- bm->minmax_acctotal-=
- LIMITBYTES(stackctr,bm->minmax_limitstack[stackctr]);
- bm->minmax_acctotal+=LIMITBYTES(stackctr,limit);
-
- if(stackctr<bm->minmax_stackptr)
- for(i=0;i<bins*2;i++)
- bm->minmax_binstack[stackctr*bins*2+i]+=
- bm->minmax_binstack[(stackctr+1)*bins*2+i];
- stackctr--;
- }
- stackctr++;
- bm->minmax_posstack[stackctr]=bm->minmax_posstack[bm->minmax_stackptr];
- bm->minmax_limitstack[stackctr]=limit;
- /* set up new blank stack entry */
- stackctr++;
- bm->minmax_stackptr=stackctr;
- memset(&bm->minmax_binstack[stackctr*bins*2],
- 0,
- sizeof(*bm->minmax_binstack)*bins*2);
- bm->minmax_limitstack[stackctr]=0;
- bm->minmax_posstack[stackctr]=-1;
-
- }
- }
-
- /* remove from tail */
- while(bm->minmax_sampleacc>sampledesired){
- int samples=
- ci->blocksizes[bm->queue_actual[bm->minmax_tail]&0x80000000UL?1:0]>>1;
- int actual=bm->queue_actual[bm->minmax_tail]&0x7fffffffUL;
- for(i=0;i<bins;i++){
- bm->minmax_binstack[bins+i]-= /* always comes off the stack bottom */
- LACING_ADJUST(BINBYTES(bm,bm->minmax_tail,
- actual>i?
- actual:i));
- bm->minmax_binstack[i]-=
- LACING_ADJUST(BINBYTES(bm,bm->minmax_tail,
- actual<i?
- actual:i));
- }
- if(bm->minmax_limitstack[0]>actual)
- actual=bm->minmax_limitstack[0];
- if(bins+bm->minmax_limitstack[0]<actual)
- actual=bins+bm->minmax_limitstack[0];
-
- bm->minmax_acctotal-=LACING_ADJUST(BINBYTES(bm,bm->minmax_tail,actual));
- bm->minmax_sampleacc-=samples;
- /* revise queue_actual to reflect the limit */
- bm->queue_actual[bm->minmax_tail]&=0x80000000UL;
- bm->queue_actual[bm->minmax_tail]|=actual;
-
- if(bm->minmax_tail==bm->minmax_posstack[0]){
- /* the stack becomes a FIFO; the first data has fallen off */
- memmove(bm->minmax_binstack,bm->minmax_binstack+bins*2,
- sizeof(*bm->minmax_binstack)*bins*2*bm->minmax_stackptr);
- memmove(bm->minmax_posstack,bm->minmax_posstack+1,
- sizeof(*bm->minmax_posstack)*bm->minmax_stackptr);
- memmove(bm->minmax_limitstack,bm->minmax_limitstack+1,
- sizeof(*bm->minmax_limitstack)*bm->minmax_stackptr);
- bm->minmax_stackptr--;
- }
-
- bm->minmax_tail++;
- if(bm->minmax_tail>=bm->queue_size)bm->minmax_tail=0;
- }
-
-
- bm->last_to_flush=bm->minmax_tail;
- }else{
- bm->last_to_flush=bm->avg_center;
- }
- if(eofflag)
- bm->last_to_flush=bm->queue_head;
- return(0);
- }
- int vorbis_bitrate_flushpacket(vorbis_dsp_state *vd,ogg_packet *op){
- private_state *b=vd->backend_state;
- bitrate_manager_state *bm=&b->bms;
- if(bm->queue_size==0){
- if(bm->queue_head==0)return(0);
- memcpy(op,bm->packets,sizeof(*op));
- bm->queue_head=0;
- }else{
- if(bm->next_to_flush==bm->last_to_flush)return(0);
- {
- long bin=bm->queue_actual[bm->next_to_flush]&0x7fffffff,i;
- long bins=bm->queue_bins;
- ogg_uint32_t *markers=bm->queue_binned+bins*bm->next_to_flush;
- long bytes=markers[bin];
- memcpy(op,bm->packets+bm->next_to_flush,sizeof(*op));
- /* we have [PACKETBLOBS] possible packets all squished together in
- the buffer, in sequence. count in to number [bin] */
- for(i=0;i<bin;i++)
- op->packet+=markers[i];
- op->bytes=bytes;
-
- }
- bm->next_to_flush++;
- if(bm->next_to_flush>=bm->queue_size)bm->next_to_flush=0;
- }
- return(1);
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: single-block PCM synthesis
- last mod: $Id: synthesis.c,v 1.30 2003/08/18 05:34:01 xiphmont Exp $
- ********************************************************************/
- int vorbis_synthesis(vorbis_block *vb,ogg_packet *op){
- vorbis_dsp_state *vd=vb->vd;
- private_state *b=vd->backend_state;
- vorbis_info *vi=vd->vi;
- codec_setup_info *ci=vi->codec_setup;
- oggpack_buffer *opb=&vb->opb;
- int type,mode,i;
-
- /* first things first. Make sure decode is ready */
- _vorbis_block_ripcord(vb);
- oggpack_readinit(opb,op->packet,op->bytes);
- /* Check the packet type */
- if(oggpack_read(opb,1)!=0){
- /* Oops. This is not an audio data packet */
- return(OV_ENOTAUDIO);
- }
- /* read our mode and pre/post windowsize */
- mode=oggpack_read(opb,b->modebits);
- if(mode==-1)return(OV_EBADPACKET);
-
- vb->mode=mode;
- vb->W=ci->mode_param[mode]->blockflag;
- if(vb->W){
- /* this doesn;t get mapped through mode selection as it's used
- only for window selection */
- vb->lW=oggpack_read(opb,1);
- vb->nW=oggpack_read(opb,1);
- if(vb->nW==-1) return(OV_EBADPACKET);
- }else{
- vb->lW=0;
- vb->nW=0;
- }
-
- /* more setup */
- vb->granulepos=op->granulepos;
- vb->sequence=op->packetno;
- vb->eofflag=op->e_o_s;
- /* alloc pcm passback storage */
- vb->pcmend=ci->blocksizes[vb->W];
- vb->pcm=_vorbis_block_alloc(vb,sizeof(*vb->pcm)*vi->channels);
- for(i=0;i<vi->channels;i++)
- vb->pcm[i]=_vorbis_block_alloc(vb,vb->pcmend*sizeof(*vb->pcm[i]));
- /* unpack_header enforces range checking */
- type=ci->map_type[ci->mode_param[mode]->mapping];
- return(_mapping_P[type]->inverse(vb,ci->map_param[ci->mode_param[mode]->
- mapping]));
- }
- /* used to track pcm position without actually performing decode.
- Useful for sequential 'fast forward' */
- int vorbis_synthesis_trackonly(vorbis_block *vb,ogg_packet *op){
- vorbis_dsp_state *vd=vb->vd;
- private_state *b=vd->backend_state;
- vorbis_info *vi=vd->vi;
- codec_setup_info *ci=vi->codec_setup;
- oggpack_buffer *opb=&vb->opb;
- int mode;
-
- /* first things first. Make sure decode is ready */
- _vorbis_block_ripcord(vb);
- oggpack_readinit(opb,op->packet,op->bytes);
- /* Check the packet type */
- if(oggpack_read(opb,1)!=0){
- /* Oops. This is not an audio data packet */
- return(OV_ENOTAUDIO);
- }
- /* read our mode and pre/post windowsize */
- mode=oggpack_read(opb,b->modebits);
- if(mode==-1)return(OV_EBADPACKET);
-
- vb->mode=mode;
- vb->W=ci->mode_param[mode]->blockflag;
- if(vb->W){
- vb->lW=oggpack_read(opb,1);
- vb->nW=oggpack_read(opb,1);
- if(vb->nW==-1) return(OV_EBADPACKET);
- }else{
- vb->lW=0;
- vb->nW=0;
- }
-
- /* more setup */
- vb->granulepos=op->granulepos;
- vb->sequence=op->packetno;
- vb->eofflag=op->e_o_s;
- /* no pcm */
- vb->pcmend=0;
- vb->pcm=NULL;
- return(0);
- }
- long vorbis_packet_blocksize(vorbis_info *vi,ogg_packet *op){
- codec_setup_info *ci=vi->codec_setup;
- oggpack_buffer opb;
- int mode;
-
- oggpack_readinit(&opb,op->packet,op->bytes);
- /* Check the packet type */
- if(oggpack_read(&opb,1)!=0){
- /* Oops. This is not an audio data packet */
- return(OV_ENOTAUDIO);
- }
- {
- int modebits=0;
- int v=ci->modes;
- while(v>1){
- modebits++;
- v>>=1;
- }
- /* read our mode and pre/post windowsize */
- mode=oggpack_read(&opb,modebits);
- }
- if(mode==-1)return(OV_EBADPACKET);
- return(ci->blocksizes[ci->mode_param[mode]->blockflag]);
- }
- int vorbis_synthesis_halfrate(vorbis_info *vi,int flag){
- /* set / clear half-sample-rate mode */
- codec_setup_info *ci=vi->codec_setup;
-
- /* right now, our MDCT can't handle < 64 sample windows. */
- if(ci->blocksizes[0]<=64 && flag)return -1;
- ci->halfrate_flag=(flag?1:0);
- return 0;
- }
- int vorbis_synthesis_halfrate_p(vorbis_info *vi){
- codec_setup_info *ci=vi->codec_setup;
- return ci->halfrate_flag;
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: basic shared codebook operations
- last mod: $Id: sharedbook.c,v 1.29 2002/10/11 07:44:28 xiphmont Exp $
- ********************************************************************/
- /**** pack/unpack helpers ******************************************/
- int _ilog(unsigned int v){
- int ret=0;
- while(v){
- ret++;
- v>>=1;
- }
- return(ret);
- }
- /* 32 bit float (not IEEE; nonnormalized mantissa +
- biased exponent) : neeeeeee eeemmmmm mmmmmmmm mmmmmmmm
- Why not IEEE? It's just not that important here. */
- #define VQ_FEXP 10
- #define VQ_FMAN 21
- #define VQ_FEXP_BIAS 768 /* bias toward values smaller than 1. */
- /* doesn't currently guard under/overflow */
- long _float32_pack(float val){
- int sign=0;
- long exp;
- long mant;
- if(val<0){
- sign=0x80000000;
- val= -val;
- }
- exp= floor(log(val)/log(2.f));
- mant=rint(ldexp(val,(VQ_FMAN-1)-exp));
- exp=(exp+VQ_FEXP_BIAS)<<VQ_FMAN;
- return(sign|exp|mant);
- }
- float _float32_unpack(long val){
- double mant=val&0x1fffff;
- int sign=val&0x80000000;
- long exp =(val&0x7fe00000L)>>VQ_FMAN;
- if(sign)mant= -mant;
- return(ldexp(mant,exp-(VQ_FMAN-1)-VQ_FEXP_BIAS));
- }
- /* given a list of word lengths, generate a list of codewords. Works
- for length ordered or unordered, always assigns the lowest valued
- codewords first. Extended to handle unused entries (length 0) */
- ogg_uint32_t *_make_words(long *l,long n,long sparsecount){
- long i,j,count=0;
- ogg_uint32_t marker[33];
- ogg_uint32_t *r=_ogg_malloc((sparsecount?sparsecount:n)*sizeof(*r));
- memset(marker,0,sizeof(marker));
- for(i=0;i<n;i++){
- long length=l[i];
- if(length>0){
- ogg_uint32_t entry=marker[length];
-
- /* when we claim a node for an entry, we also claim the nodes
- below it (pruning off the imagined tree that may have dangled
- from it) as well as blocking the use of any nodes directly
- above for leaves */
-
- /* update ourself */
- if(length<32 && (entry>>length)){
- /* error condition; the lengths must specify an overpopulated tree */
- _ogg_free(r);
- return(NULL);
- }
- r[count++]=entry;
-
- /* Look to see if the next shorter marker points to the node
- above. if so, update it and repeat. */
- {
- for(j=length;j>0;j--){
-
- if(marker[j]&1){
- /* have to jump branches */
- if(j==1)
- marker[1]++;
- else
- marker[j]=marker[j-1]<<1;
- break; /* invariant says next upper marker would already
- have been moved if it was on the same path */
- }
- marker[j]++;
- }
- }
-
- /* prune the tree; the implicit invariant says all the longer
- markers were dangling from our just-taken node. Dangle them
- from our *new* node. */
- for(j=length+1;j<33;j++)
- if((marker[j]>>1) == entry){
- entry=marker[j];
- marker[j]=marker[j-1]<<1;
- }else
- break;
- }else
- if(sparsecount==0)count++;
- }
-
- /* bitreverse the words because our bitwise packer/unpacker is LSb
- endian */
- for(i=0,count=0;i<n;i++){
- ogg_uint32_t temp=0;
- for(j=0;j<l[i];j++){
- temp<<=1;
- temp|=(r[count]>>j)&1;
- }
- if(sparsecount){
- if(l[i])
- r[count++]=temp;
- }else
- r[count++]=temp;
- }
- return(r);
- }
- /* there might be a straightforward one-line way to do the below
- that's portable and totally safe against roundoff, but I haven't
- thought of it. Therefore, we opt on the side of caution */
- long _book_maptype1_quantvals(const static_codebook *b){
- long vals=floor(pow((float)b->entries,1.f/b->dim));
- /* the above *should* be reliable, but we'll not assume that FP is
- ever reliable when bitstream sync is at stake; verify via integer
- means that vals really is the greatest value of dim for which
- vals^b->bim <= b->entries */
- /* treat the above as an initial guess */
- while(1){
- long acc=1;
- long acc1=1;
- int i;
- for(i=0;i<b->dim;i++){
- acc*=vals;
- acc1*=vals+1;
- }
- if(acc<=b->entries && acc1>b->entries){
- return(vals);
- }else{
- if(acc>b->entries){
- vals--;
- }else{
- vals++;
- }
- }
- }
- }
- /* unpack the quantized list of values for encode/decode ***********/
- /* we need to deal with two map types: in map type 1, the values are
- generated algorithmically (each column of the vector counts through
- the values in the quant vector). in map type 2, all the values came
- in in an explicit list. Both value lists must be unpacked */
- float *_book_unquantize(const static_codebook *b,int n,int *sparsemap){
- long j,k,count=0;
- if(b->maptype==1 || b->maptype==2){
- int quantvals;
- float mindel=_float32_unpack(b->q_min);
- float delta=_float32_unpack(b->q_delta);
- float *r=_ogg_calloc(n*b->dim,sizeof(*r));
- /* maptype 1 and 2 both use a quantized value vector, but
- different sizes */
- switch(b->maptype){
- case 1:
- /* most of the time, entries%dimensions == 0, but we need to be
- well defined. We define that the possible vales at each
- scalar is values == entries/dim. If entries%dim != 0, we'll
- have 'too few' values (values*dim<entries), which means that
- we'll have 'left over' entries; left over entries use zeroed
- values (and are wasted). So don't generate codebooks like
- that */
- quantvals=_book_maptype1_quantvals(b);
- for(j=0;j<b->entries;j++){
- if((sparsemap && b->lengthlist[j]) || !sparsemap){
- float last=0.f;
- int indexdiv=1;
- for(k=0;k<b->dim;k++){
- int index= (j/indexdiv)%quantvals;
- float val=b->quantlist[index];
- val=fabs(val)*delta+mindel+last;
- if(b->q_sequencep)last=val;
- if(sparsemap)
- r[sparsemap[count]*b->dim+k]=val;
- else
- r[count*b->dim+k]=val;
- indexdiv*=quantvals;
- }
- count++;
- }
- }
- break;
- case 2:
- for(j=0;j<b->entries;j++){
- if((sparsemap && b->lengthlist[j]) || !sparsemap){
- float last=0.f;
-
- for(k=0;k<b->dim;k++){
- float val=b->quantlist[j*b->dim+k];
- val=fabs(val)*delta+mindel+last;
- if(b->q_sequencep)last=val;
- if(sparsemap)
- r[sparsemap[count]*b->dim+k]=val;
- else
- r[count*b->dim+k]=val;
- }
- count++;
- }
- }
- break;
- }
- return(r);
- }
- return(NULL);
- }
- void vorbis_staticbook_clear(static_codebook *b){
- if(b->allocedp){
- if(b->quantlist)_ogg_free(b->quantlist);
- if(b->lengthlist)_ogg_free(b->lengthlist);
- if(b->nearest_tree){
- _ogg_free(b->nearest_tree->ptr0);
- _ogg_free(b->nearest_tree->ptr1);
- _ogg_free(b->nearest_tree->p);
- _ogg_free(b->nearest_tree->q);
- memset(b->nearest_tree,0,sizeof(*b->nearest_tree));
- _ogg_free(b->nearest_tree);
- }
- if(b->thresh_tree){
- _ogg_free(b->thresh_tree->quantthresh);
- _ogg_free(b->thresh_tree->quantmap);
- memset(b->thresh_tree,0,sizeof(*b->thresh_tree));
- _ogg_free(b->thresh_tree);
- }
- memset(b,0,sizeof(*b));
- }
- }
- void vorbis_staticbook_destroy(static_codebook *b){
- if(b->allocedp){
- vorbis_staticbook_clear(b);
- _ogg_free(b);
- }
- }
- void vorbis_book_clear(codebook *b){
- /* static book is not cleared; we're likely called on the lookup and
- the static codebook belongs to the info struct */
- if(b->valuelist)_ogg_free(b->valuelist);
- if(b->codelist)_ogg_free(b->codelist);
- if(b->dec_index)_ogg_free(b->dec_index);
- if(b->dec_codelengths)_ogg_free(b->dec_codelengths);
- if(b->dec_firsttable)_ogg_free(b->dec_firsttable);
- memset(b,0,sizeof(*b));
- }
- int vorbis_book_init_encode(codebook *c,const static_codebook *s){
- memset(c,0,sizeof(*c));
- c->c=s;
- c->entries=s->entries;
- c->used_entries=s->entries;
- c->dim=s->dim;
- c->codelist=_make_words(s->lengthlist,s->entries,0);
- c->valuelist=_book_unquantize(s,s->entries,NULL);
- return(0);
- }
- static ogg_uint32_t bitreverse(ogg_uint32_t x){
- x= ((x>>16)&0x0000ffffUL) | ((x<<16)&0xffff0000UL);
- x= ((x>> 8)&0x00ff00ffUL) | ((x<< 8)&0xff00ff00UL);
- x= ((x>> 4)&0x0f0f0f0fUL) | ((x<< 4)&0xf0f0f0f0UL);
- x= ((x>> 2)&0x33333333UL) | ((x<< 2)&0xccccccccUL);
- return((x>> 1)&0x55555555UL) | ((x<< 1)&0xaaaaaaaaUL);
- }
- static int sort32a(const void *a,const void *b){
- return ( **(ogg_uint32_t **)a>**(ogg_uint32_t **)b)-
- ( **(ogg_uint32_t **)a<**(ogg_uint32_t **)b);
- }
- /* decode codebook arrangement is more heavily optimized than encode */
- int vorbis_book_init_decode(codebook *c,const static_codebook *s){
- int i,j,n=0,tabn;
- int *sortindex;
- memset(c,0,sizeof(*c));
-
- /* count actually used entries */
- for(i=0;i<s->entries;i++)
- if(s->lengthlist[i]>0)
- n++;
- c->entries=s->entries;
- c->used_entries=n;
- c->dim=s->dim;
- /* two different remappings go on here.
- First, we collapse the likely sparse codebook down only to
- actually represented values/words. This collapsing needs to be
- indexed as map-valueless books are used to encode original entry
- positions as integers.
- Second, we reorder all vectors, including the entry index above,
- by sorted bitreversed codeword to allow treeless decode. */
- {
- /* perform sort */
- ogg_uint32_t *codes=_make_words(s->lengthlist,s->entries,c->used_entries);
- ogg_uint32_t **codep=alloca(sizeof(*codep)*n);
-
- if(codes==NULL)goto err_out;
- for(i=0;i<n;i++){
- codes[i]=bitreverse(codes[i]);
- codep[i]=codes+i;
- }
- qsort(codep,n,sizeof(*codep),sort32a);
- sortindex=alloca(n*sizeof(*sortindex));
- c->codelist=_ogg_malloc(n*sizeof(*c->codelist));
- /* the index is a reverse index */
- for(i=0;i<n;i++){
- int position=codep[i]-codes;
- sortindex[position]=i;
- }
- for(i=0;i<n;i++)
- c->codelist[sortindex[i]]=codes[i];
- _ogg_free(codes);
- }
- c->valuelist=_book_unquantize(s,n,sortindex);
- c->dec_index=_ogg_malloc(n*sizeof(*c->dec_index));
- for(n=0,i=0;i<s->entries;i++)
- if(s->lengthlist[i]>0)
- c->dec_index[sortindex[n++]]=i;
-
- c->dec_codelengths=_ogg_malloc(n*sizeof(*c->dec_codelengths));
- for(n=0,i=0;i<s->entries;i++)
- if(s->lengthlist[i]>0)
- c->dec_codelengths[sortindex[n++]]=s->lengthlist[i];
- c->dec_firsttablen=_ilog(c->used_entries)-4; /* this is magic */
- if(c->dec_firsttablen<5)c->dec_firsttablen=5;
- if(c->dec_firsttablen>8)c->dec_firsttablen=8;
- tabn=1<<c->dec_firsttablen;
- c->dec_firsttable=_ogg_calloc(tabn,sizeof(*c->dec_firsttable));
- c->dec_maxlength=0;
- for(i=0;i<n;i++){
- if(c->dec_maxlength<c->dec_codelengths[i])
- c->dec_maxlength=c->dec_codelengths[i];
- if(c->dec_codelengths[i]<=c->dec_firsttablen){
- ogg_uint32_t orig=bitreverse(c->codelist[i]);
- for(j=0;j<(1<<(c->dec_firsttablen-c->dec_codelengths[i]));j++)
- c->dec_firsttable[orig|(j<<c->dec_codelengths[i])]=i+1;
- }
- }
- /* now fill in 'unused' entries in the firsttable with hi/lo search
- hints for the non-direct-hits */
- {
- ogg_uint32_t mask=0xfffffffeUL<<(31-c->dec_firsttablen);
- long lo=0,hi=0;
- for(i=0;i<tabn;i++){
- ogg_uint32_t word=i<<(32-c->dec_firsttablen);
- if(c->dec_firsttable[bitreverse(word)]==0){
- while((lo+1)<n && c->codelist[lo+1]<=word)lo++;
- while( hi<n && word>=(c->codelist[hi]&mask))hi++;
-
- /* we only actually have 15 bits per hint to play with here.
- In order to overflow gracefully (nothing breaks, efficiency
- just drops), encode as the difference from the extremes. */
- {
- unsigned long loval=lo;
- unsigned long hival=n-hi;
- if(loval>0x7fff)loval=0x7fff;
- if(hival>0x7fff)hival=0x7fff;
- c->dec_firsttable[bitreverse(word)]=
- 0x80000000UL | (loval<<15) | hival;
- }
- }
- }
- }
-
- return(0);
- err_out:
- vorbis_book_clear(c);
- return(-1);
- }
- static float _dist(int el,float *ref, float *b,int step){
- int i;
- float acc=0.f;
- for(i=0;i<el;i++){
- float val=(ref[i]-b[i*step]);
- acc+=val*val;
- }
- return(acc);
- }
- int _best(codebook *book, float *a, int step){
- encode_aux_threshmatch *tt=book->c->thresh_tree;
- #if 0
- encode_aux_nearestmatch *nt=book->c->nearest_tree;
- encode_aux_pigeonhole *pt=book->c->pigeon_tree;
- #endif
- int dim=book->dim;
- int k,o;
- /*int savebest=-1;
- float saverr;*/
- /* do we have a threshhold encode hint? */
- if(tt){
- int index=0,i;
- /* find the quant val of each scalar */
- for(k=0,o=step*(dim-1);k<dim;k++,o-=step){
- i=tt->threshvals>>1;
- if(a[o]<tt->quantthresh[i]){
- for(;i>0;i--)
- if(a[o]>=tt->quantthresh[i-1])
- break;
-
- }else{
- for(i++;i<tt->threshvals-1;i++)
- if(a[o]<tt->quantthresh[i])break;
- }
- index=(index*tt->quantvals)+tt->quantmap[i];
- }
- /* regular lattices are easy :-) */
- if(book->c->lengthlist[index]>0) /* is this unused? If so, we'll
- use a decision tree after all
- and fall through*/
- return(index);
- }
- #if 0
- /* do we have a pigeonhole encode hint? */
- if(pt){
- const static_codebook *c=book->c;
- int i,besti=-1;
- float best=0.f;
- int entry=0;
- /* dealing with sequentialness is a pain in the ass */
- if(c->q_sequencep){
- int pv;
- long mul=1;
- float qlast=0;
- for(k=0,o=0;k<dim;k++,o+=step){
- pv=(int)((a[o]-qlast-pt->min)/pt->del);
- if(pv<0 || pv>=pt->mapentries)break;
- entry+=pt->pigeonmap[pv]*mul;
- mul*=pt->quantvals;
- qlast+=pv*pt->del+pt->min;
- }
- }else{
- for(k=0,o=step*(dim-1);k<dim;k++,o-=step){
- int pv=(int)((a[o]-pt->min)/pt->del);
- if(pv<0 || pv>=pt->mapentries)break;
- entry=entry*pt->quantvals+pt->pigeonmap[pv];
- }
- }
- /* must be within the pigeonholable range; if we quant outside (or
- in an entry that we define no list for), brute force it */
- if(k==dim && pt->fitlength[entry]){
- /* search the abbreviated list */
- long *list=pt->fitlist+pt->fitmap[entry];
- for(i=0;i<pt->fitlength[entry];i++){
- float this=_dist(dim,book->valuelist+list[i]*dim,a,step);
- if(besti==-1 || this<best){
- best=this;
- besti=list[i];
- }
- }
- return(besti);
- }
- }
- if(nt){
- /* optimized using the decision tree */
- while(1){
- float c=0.f;
- float *p=book->valuelist+nt->p[ptr];
- float *q=book->valuelist+nt->q[ptr];
-
- for(k=0,o=0;k<dim;k++,o+=step)
- c+=(p[k]-q[k])*(a[o]-(p[k]+q[k])*.5);
-
- if(c>0.f) /* in A */
- ptr= -nt->ptr0[ptr];
- else /* in B */
- ptr= -nt->ptr1[ptr];
- if(ptr<=0)break;
- }
- return(-ptr);
- }
- #endif
- /* brute force it! */
- {
- const static_codebook *c=book->c;
- int i,besti=-1;
- float best=0.f;
- float *e=book->valuelist;
- for(i=0;i<book->entries;i++){
- if(c->lengthlist[i]>0){
- float this=_dist(dim,e,a,step);
- if(besti==-1 || this<best){
- best=this;
- besti=i;
- }
- }
- e+=dim;
- }
- /*if(savebest!=-1 && savebest!=besti){
- fprintf(stderr,"brute force/pigeonhole disagreement:\n"
- "original:");
- for(i=0;i<dim*step;i+=step)fprintf(stderr,"%g,",a[i]);
- fprintf(stderr,"\n"
- "pigeonhole (entry %d, err %g):",savebest,saverr);
- for(i=0;i<dim;i++)fprintf(stderr,"%g,",
- (book->valuelist+savebest*dim)[i]);
- fprintf(stderr,"\n"
- "bruteforce (entry %d, err %g):",besti,best);
- for(i=0;i<dim;i++)fprintf(stderr,"%g,",
- (book->valuelist+besti*dim)[i]);
- fprintf(stderr,"\n");
- }*/
- return(besti);
- }
- }
- long vorbis_book_codeword(codebook *book,int entry){
- if(book->c) /* only use with encode; decode optimizations are
- allowed to break this */
- return book->codelist[entry];
- return -1;
- }
- long vorbis_book_codelen(codebook *book,int entry){
- if(book->c) /* only use with encode; decode optimizations are
- allowed to break this */
- return book->c->lengthlist[entry];
- return -1;
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: basic codebook pack/unpack/code/decode operations
- last mod: $Id: codebook.c,v 1.39 2002/06/28 22:19:35 xiphmont Exp $
- ********************************************************************/
- /* packs the given codebook into the bitstream **************************/
- int vorbis_staticbook_pack(const static_codebook *c,oggpack_buffer *opb){
- long i,j;
- int ordered=0;
- /* first the basic parameters */
- oggpack_write(opb,0x564342,24);
- oggpack_write(opb,c->dim,16);
- oggpack_write(opb,c->entries,24);
- /* pack the codewords. There are two packings; length ordered and
- length random. Decide between the two now. */
-
- for(i=1;i<c->entries;i++)
- if(c->lengthlist[i-1]==0 || c->lengthlist[i]<c->lengthlist[i-1])break;
- if(i==c->entries)ordered=1;
-
- if(ordered){
- /* length ordered. We only need to say how many codewords of
- each length. The actual codewords are generated
- deterministically */
- long count=0;
- oggpack_write(opb,1,1); /* ordered */
- oggpack_write(opb,c->lengthlist[0]-1,5); /* 1 to 32 */
- for(i=1;i<c->entries;i++){
- long this=c->lengthlist[i];
- long last=c->lengthlist[i-1];
- if(this>last){
- for(j=last;j<this;j++){
- oggpack_write(opb,i-count,_ilog(c->entries-count));
- count=i;
- }
- }
- }
- oggpack_write(opb,i-count,_ilog(c->entries-count));
-
- }else{
- /* length random. Again, we don't code the codeword itself, just
- the length. This time, though, we have to encode each length */
- oggpack_write(opb,0,1); /* unordered */
-
- /* algortihmic mapping has use for 'unused entries', which we tag
- here. The algorithmic mapping happens as usual, but the unused
- entry has no codeword. */
- for(i=0;i<c->entries;i++)
- if(c->lengthlist[i]==0)break;
- if(i==c->entries){
- oggpack_write(opb,0,1); /* no unused entries */
- for(i=0;i<c->entries;i++)
- oggpack_write(opb,c->lengthlist[i]-1,5);
- }else{
- oggpack_write(opb,1,1); /* we have unused entries; thus we tag */
- for(i=0;i<c->entries;i++){
- if(c->lengthlist[i]==0){
- oggpack_write(opb,0,1);
- }else{
- oggpack_write(opb,1,1);
- oggpack_write(opb,c->lengthlist[i]-1,5);
- }
- }
- }
- }
- /* is the entry number the desired return value, or do we have a
- mapping? If we have a mapping, what type? */
- oggpack_write(opb,c->maptype,4);
- switch(c->maptype){
- case 0:
- /* no mapping */
- break;
- case 1:case 2:
- /* implicitly populated value mapping */
- /* explicitly populated value mapping */
-
- if(!c->quantlist){
- /* no quantlist? error */
- return(-1);
- }
-
- /* values that define the dequantization */
- oggpack_write(opb,c->q_min,32);
- oggpack_write(opb,c->q_delta,32);
- oggpack_write(opb,c->q_quant-1,4);
- oggpack_write(opb,c->q_sequencep,1);
-
- {
- int quantvals;
- switch(c->maptype){
- case 1:
- /* a single column of (c->entries/c->dim) quantized values for
- building a full value list algorithmically (square lattice) */
- quantvals=_book_maptype1_quantvals(c);
- break;
- case 2:
- /* every value (c->entries*c->dim total) specified explicitly */
- quantvals=c->entries*c->dim;
- break;
- default: /* NOT_REACHABLE */
- quantvals=-1;
- }
- /* quantized values */
- for(i=0;i<quantvals;i++)
- oggpack_write(opb,labs(c->quantlist[i]),c->q_quant);
- }
- break;
- default:
- /* error case; we don't have any other map types now */
- return(-1);
- }
- return(0);
- }
- /* unpacks a codebook from the packet buffer into the codebook struct,
- readies the codebook auxiliary structures for decode *************/
- int vorbis_staticbook_unpack(oggpack_buffer *opb,static_codebook *s){
- long i,j;
- memset(s,0,sizeof(*s));
- s->allocedp=1;
- /* make sure alignment is correct */
- if(oggpack_read(opb,24)!=0x564342)goto _eofout;
- /* first the basic parameters */
- s->dim=oggpack_read(opb,16);
- s->entries=oggpack_read(opb,24);
- if(s->entries==-1)goto _eofout;
- /* codeword ordering.... length ordered or unordered? */
- switch((int)oggpack_read(opb,1)){
- case 0:
- /* unordered */
- s->lengthlist=_ogg_malloc(sizeof(*s->lengthlist)*s->entries);
- /* allocated but unused entries? */
- if(oggpack_read(opb,1)){
- /* yes, unused entries */
- for(i=0;i<s->entries;i++){
- if(oggpack_read(opb,1)){
- long num=oggpack_read(opb,5);
- if(num==-1)goto _eofout;
- s->lengthlist[i]=num+1;
- }else
- s->lengthlist[i]=0;
- }
- }else{
- /* all entries used; no tagging */
- for(i=0;i<s->entries;i++){
- long num=oggpack_read(opb,5);
- if(num==-1)goto _eofout;
- s->lengthlist[i]=num+1;
- }
- }
-
- break;
- case 1:
- /* ordered */
- {
- long length=oggpack_read(opb,5)+1;
- s->lengthlist=_ogg_malloc(sizeof(*s->lengthlist)*s->entries);
- for(i=0;i<s->entries;){
- long num=oggpack_read(opb,_ilog(s->entries-i));
- if(num==-1)goto _eofout;
- for(j=0;j<num && i<s->entries;j++,i++)
- s->lengthlist[i]=length;
- length++;
- }
- }
- break;
- default:
- /* EOF */
- return(-1);
- }
-
- /* Do we have a mapping to unpack? */
- switch((s->maptype=oggpack_read(opb,4))){
- case 0:
- /* no mapping */
- break;
- case 1: case 2:
- /* implicitly populated value mapping */
- /* explicitly populated value mapping */
- s->q_min=oggpack_read(opb,32);
- s->q_delta=oggpack_read(opb,32);
- s->q_quant=oggpack_read(opb,4)+1;
- s->q_sequencep=oggpack_read(opb,1);
- {
- int quantvals=0;
- switch(s->maptype){
- case 1:
- quantvals=_book_maptype1_quantvals(s);
- break;
- case 2:
- quantvals=s->entries*s->dim;
- break;
- }
-
- /* quantized values */
- s->quantlist=_ogg_malloc(sizeof(*s->quantlist)*quantvals);
- for(i=0;i<quantvals;i++)
- s->quantlist[i]=oggpack_read(opb,s->q_quant);
-
- if(quantvals&&s->quantlist[quantvals-1]==-1)goto _eofout;
- }
- break;
- default:
- goto _errout;
- }
- /* all set */
- return(0);
-
- _errout:
- _eofout:
- vorbis_staticbook_clear(s);
- return(-1);
- }
- /* returns the number of bits ************************************************/
- int vorbis_book_encode(codebook *book, int a, oggpack_buffer *b){
- oggpack_write(b,book->codelist[a],book->c->lengthlist[a]);
- return(book->c->lengthlist[a]);
- }
- /* One the encode side, our vector writers are each designed for a
- specific purpose, and the encoder is not flexible without modification:
- The LSP vector coder uses a single stage nearest-match with no
- interleave, so no step and no error return. This is specced by floor0
- and doesn't change.
- Residue0 encoding interleaves, uses multiple stages, and each stage
- peels of a specific amount of resolution from a lattice (thus we want
- to match by threshold, not nearest match). Residue doesn't *have* to
- be encoded that way, but to change it, one will need to add more
- infrastructure on the encode side (decode side is specced and simpler) */
- /* floor0 LSP (single stage, non interleaved, nearest match) */
- /* returns entry number and *modifies a* to the quantization value *****/
- int vorbis_book_errorv(codebook *book,float *a){
- int dim=book->dim,k;
- int best=_best(book,a,1);
- for(k=0;k<dim;k++)
- a[k]=(book->valuelist+best*dim)[k];
- return(best);
- }
- /* returns the number of bits and *modifies a* to the quantization value *****/
- int vorbis_book_encodev(codebook *book,int best,float *a,oggpack_buffer *b){
- int k,dim=book->dim;
- for(k=0;k<dim;k++)
- a[k]=(book->valuelist+best*dim)[k];
- return(vorbis_book_encode(book,best,b));
- }
- /* the 'eliminate the decode tree' optimization actually requires the
- codewords to be MSb first, not LSb. This is an annoying inelegancy
- (and one of the first places where carefully thought out design
- turned out to be wrong; Vorbis II and future Ogg codecs should go
- to an MSb bitpacker), but not actually the huge hit it appears to
- be. The first-stage decode table catches most words so that
- bitreverse is not in the main execution path. */
- STIN long decode_packed_entry_number(codebook *book, oggpack_buffer *b){
- int read=book->dec_maxlength;
- long lo,hi;
- long lok = oggpack_look(b,book->dec_firsttablen);
-
- if (lok >= 0) {
- long entry = book->dec_firsttable[lok];
- if(entry&0x80000000UL){
- lo=(entry>>15)&0x7fff;
- hi=book->used_entries-(entry&0x7fff);
- }else{
- oggpack_adv(b, book->dec_codelengths[entry-1]);
- return(entry-1);
- }
- }else{
- lo=0;
- hi=book->used_entries;
- }
- lok = oggpack_look(b, read);
- while(lok<0 && read>1)
- lok = oggpack_look(b, --read);
- if(lok<0)return -1;
- /* bisect search for the codeword in the ordered list */
- {
- ogg_uint32_t testword=bitreverse((ogg_uint32_t)lok);
- while(hi-lo>1){
- long p=(hi-lo)>>1;
- long test=book->codelist[lo+p]>testword;
- lo+=p&(test-1);
- hi-=p&(-test);
- }
- if(book->dec_codelengths[lo]<=read){
- oggpack_adv(b, book->dec_codelengths[lo]);
- return(lo);
- }
- }
-
- oggpack_adv(b, read);
- return(-1);
- }
- /* Decode side is specced and easier, because we don't need to find
- matches using different criteria; we simply read and map. There are
- two things we need to do 'depending':
-
- We may need to support interleave. We don't really, but it's
- convenient to do it here rather than rebuild the vector later.
- Cascades may be additive or multiplicitive; this is not inherent in
- the codebook, but set in the code using the codebook. Like
- interleaving, it's easiest to do it here.
- addmul==0 -> declarative (set the value)
- addmul==1 -> additive
- addmul==2 -> multiplicitive */
- /* returns the [original, not compacted] entry number or -1 on eof *********/
- long vorbis_book_decode(codebook *book, oggpack_buffer *b){
- long packed_entry=decode_packed_entry_number(book,b);
- if(packed_entry>=0)
- return(book->dec_index[packed_entry]);
-
- /* if there's no dec_index, the codebook unpacking isn't collapsed */
- return(packed_entry);
- }
- /* returns 0 on OK or -1 on eof *************************************/
- long vorbis_book_decodevs_add(codebook *book,float *a,oggpack_buffer *b,int n){
- int step=n/book->dim;
- long *entry = alloca(sizeof(*entry)*step);
- float **t = alloca(sizeof(*t)*step);
- int i,j,o;
- for (i = 0; i < step; i++) {
- entry[i]=decode_packed_entry_number(book,b);
- if(entry[i]==-1)return(-1);
- t[i] = book->valuelist+entry[i]*book->dim;
- }
- for(i=0,o=0;i<book->dim;i++,o+=step)
- for (j=0;j<step;j++)
- a[o+j]+=t[j][i];
- return(0);
- }
- long vorbis_book_decodev_add(codebook *book,float *a,oggpack_buffer *b,int n){
- int i,j,entry;
- float *t;
- if(book->dim>8){
- for(i=0;i<n;){
- entry = decode_packed_entry_number(book,b);
- if(entry==-1)return(-1);
- t = book->valuelist+entry*book->dim;
- for (j=0;j<book->dim;)
- a[i++]+=t[j++];
- }
- }else{
- for(i=0;i<n;){
- entry = decode_packed_entry_number(book,b);
- if(entry==-1)return(-1);
- t = book->valuelist+entry*book->dim;
- j=0;
- switch((int)book->dim){
- case 8:
- a[i++]+=t[j++];
- case 7:
- a[i++]+=t[j++];
- case 6:
- a[i++]+=t[j++];
- case 5:
- a[i++]+=t[j++];
- case 4:
- a[i++]+=t[j++];
- case 3:
- a[i++]+=t[j++];
- case 2:
- a[i++]+=t[j++];
- case 1:
- a[i++]+=t[j++];
- case 0:
- break;
- }
- }
- }
- return(0);
- }
- long vorbis_book_decodev_set(codebook *book,float *a,oggpack_buffer *b,int n){
- int i,j,entry;
- float *t;
- for(i=0;i<n;){
- entry = decode_packed_entry_number(book,b);
- if(entry==-1)return(-1);
- t = book->valuelist+entry*book->dim;
- for (j=0;j<book->dim;)
- a[i++]=t[j++];
- }
- return(0);
- }
- long vorbis_book_decodevv_add(codebook *book,float **a,long offset,int ch,
- oggpack_buffer *b,int n){
- long i,j,entry;
- int chptr=0;
- for(i=offset/ch;i<(offset+n)/ch;){
- entry = decode_packed_entry_number(book,b);
- if(entry==-1)return(-1);
- {
- const float *t = book->valuelist+entry*book->dim;
- for (j=0;j<book->dim;j++){
- a[chptr++][i]+=t[j];
- if(chptr==ch){
- chptr=0;
- i++;
- }
- }
- }
- }
- return(0);
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: registry for time, floor, res backends and channel mappings
- last mod: $Id: registry.c,v 1.15 2002/07/11 06:40:50 xiphmont Exp $
- ********************************************************************/
- /* seems like major overkill now; the backend numbers will grow into
- the infrastructure soon enough */
- extern vorbis_func_floor floor0_exportbundle;
- extern vorbis_func_floor floor1_exportbundle;
- extern vorbis_func_residue residue0_exportbundle;
- extern vorbis_func_residue residue1_exportbundle;
- extern vorbis_func_residue residue2_exportbundle;
- extern vorbis_func_mapping mapping0_exportbundle;
- vorbis_func_floor *_floor_P[]={
- &floor0_exportbundle,
- &floor1_exportbundle,
- };
- vorbis_func_residue *_residue_P[]={
- &residue0_exportbundle,
- &residue1_exportbundle,
- &residue2_exportbundle,
- };
- vorbis_func_mapping *_mapping_P[]={
- &mapping0_exportbundle,
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: normalized modified discrete cosine transform
- power of two length transform only [64 <= n ]
- last mod: $Id: mdct.c,v 1.32 2002/10/16 02:43:48 xiphmont Exp $
- Original algorithm adapted long ago from _The use of multirate filter
- banks for coding of high quality digital audio_, by T. Sporer,
- K. Brandenburg and B. Edler, collection of the European Signal
- Processing Conference (EUSIPCO), Amsterdam, June 1992, Vol.1, pp
- 211-214
- The below code implements an algorithm that no longer looks much like
- that presented in the paper, but the basic structure remains if you
- dig deep enough to see it.
- This module DOES NOT INCLUDE code to generate/apply the window
- function. Everybody has their own weird favorite including me... I
- happen to like the properties of y=sin(.5PI*sin^2(x)), but others may
- vehemently disagree.
- ********************************************************************/
- /* this can also be run as an integer transform by uncommenting a
- define in mdct.h; the integerization is a first pass and although
- it's likely stable for Vorbis, the dynamic range is constrained and
- roundoff isn't done (so it's noisy). Consider it functional, but
- only a starting point. There's no point on a machine with an FPU */
- /* build lookups for trig functions; also pre-figure scaling and
- some window function algebra. */
- void mdct_init(mdct_lookup *lookup,int n){
- int *bitrev=_ogg_malloc(sizeof(*bitrev)*(n/4));
- DATA_TYPE *T=_ogg_malloc(sizeof(*T)*(n+n/4));
-
- int i;
- int n2=n>>1;
- int log2n=lookup->log2n=rint(log((float)n)/log(2.f));
- lookup->n=n;
- lookup->trig=T;
- lookup->bitrev=bitrev;
- /* trig lookups... */
- for(i=0;i<n/4;i++){
- T[i*2]=FLOAT_CONV(cos((M_PI/n)*(4*i)));
- T[i*2+1]=FLOAT_CONV(-sin((M_PI/n)*(4*i)));
- T[n2+i*2]=FLOAT_CONV(cos((M_PI/(2*n))*(2*i+1)));
- T[n2+i*2+1]=FLOAT_CONV(sin((M_PI/(2*n))*(2*i+1)));
- }
- for(i=0;i<n/8;i++){
- T[n+i*2]=FLOAT_CONV(cos((M_PI/n)*(4*i+2))*.5);
- T[n+i*2+1]=FLOAT_CONV(-sin((M_PI/n)*(4*i+2))*.5);
- }
- /* bitreverse lookup... */
- {
- int mask=(1<<(log2n-1))-1,i,j;
- int msb=1<<(log2n-2);
- for(i=0;i<n/8;i++){
- int acc=0;
- for(j=0;msb>>j;j++)
- if((msb>>j)&i)acc|=1<<j;
- bitrev[i*2]=((~acc)&mask)-1;
- bitrev[i*2+1]=acc;
- }
- }
- lookup->scale=FLOAT_CONV(4.f/n);
- }
- /* 8 point butterfly (in place, 4 register) */
- STIN void mdct_butterfly_8(DATA_TYPE *x){
- REG_TYPE r0 = x[6] + x[2];
- REG_TYPE r1 = x[6] - x[2];
- REG_TYPE r2 = x[4] + x[0];
- REG_TYPE r3 = x[4] - x[0];
- x[6] = r0 + r2;
- x[4] = r0 - r2;
-
- r0 = x[5] - x[1];
- r2 = x[7] - x[3];
- x[0] = r1 + r0;
- x[2] = r1 - r0;
-
- r0 = x[5] + x[1];
- r1 = x[7] + x[3];
- x[3] = r2 + r3;
- x[1] = r2 - r3;
- x[7] = r1 + r0;
- x[5] = r1 - r0;
-
- }
- /* 16 point butterfly (in place, 4 register) */
- STIN void mdct_butterfly_16(DATA_TYPE *x){
- REG_TYPE r0 = x[1] - x[9];
- REG_TYPE r1 = x[0] - x[8];
- x[8] += x[0];
- x[9] += x[1];
- x[0] = MULT_NORM((r0 + r1) * cPI2_8);
- x[1] = MULT_NORM((r0 - r1) * cPI2_8);
- r0 = x[3] - x[11];
- r1 = x[10] - x[2];
- x[10] += x[2];
- x[11] += x[3];
- x[2] = r0;
- x[3] = r1;
- r0 = x[12] - x[4];
- r1 = x[13] - x[5];
- x[12] += x[4];
- x[13] += x[5];
- x[4] = MULT_NORM((r0 - r1) * cPI2_8);
- x[5] = MULT_NORM((r0 + r1) * cPI2_8);
- r0 = x[14] - x[6];
- r1 = x[15] - x[7];
- x[14] += x[6];
- x[15] += x[7];
- x[6] = r0;
- x[7] = r1;
- mdct_butterfly_8(x);
- mdct_butterfly_8(x+8);
- }
- /* 32 point butterfly (in place, 4 register) */
- STIN void mdct_butterfly_32(DATA_TYPE *x){
- REG_TYPE r0 = x[30] - x[14];
- REG_TYPE r1 = x[31] - x[15];
- x[30] += x[14];
- x[31] += x[15];
- x[14] = r0;
- x[15] = r1;
- r0 = x[28] - x[12];
- r1 = x[29] - x[13];
- x[28] += x[12];
- x[29] += x[13];
- x[12] = MULT_NORM( r0 * cPI1_8 - r1 * cPI3_8 );
- x[13] = MULT_NORM( r0 * cPI3_8 + r1 * cPI1_8 );
- r0 = x[26] - x[10];
- r1 = x[27] - x[11];
- x[26] += x[10];
- x[27] += x[11];
- x[10] = MULT_NORM(( r0 - r1 ) * cPI2_8);
- x[11] = MULT_NORM(( r0 + r1 ) * cPI2_8);
- r0 = x[24] - x[8];
- r1 = x[25] - x[9];
- x[24] += x[8];
- x[25] += x[9];
- x[8] = MULT_NORM( r0 * cPI3_8 - r1 * cPI1_8 );
- x[9] = MULT_NORM( r1 * cPI3_8 + r0 * cPI1_8 );
- r0 = x[22] - x[6];
- r1 = x[7] - x[23];
- x[22] += x[6];
- x[23] += x[7];
- x[6] = r1;
- x[7] = r0;
- r0 = x[4] - x[20];
- r1 = x[5] - x[21];
- x[20] += x[4];
- x[21] += x[5];
- x[4] = MULT_NORM( r1 * cPI1_8 + r0 * cPI3_8 );
- x[5] = MULT_NORM( r1 * cPI3_8 - r0 * cPI1_8 );
- r0 = x[2] - x[18];
- r1 = x[3] - x[19];
- x[18] += x[2];
- x[19] += x[3];
- x[2] = MULT_NORM(( r1 + r0 ) * cPI2_8);
- x[3] = MULT_NORM(( r1 - r0 ) * cPI2_8);
- r0 = x[0] - x[16];
- r1 = x[1] - x[17];
- x[16] += x[0];
- x[17] += x[1];
- x[0] = MULT_NORM( r1 * cPI3_8 + r0 * cPI1_8 );
- x[1] = MULT_NORM( r1 * cPI1_8 - r0 * cPI3_8 );
- mdct_butterfly_16(x);
- mdct_butterfly_16(x+16);
- }
- /* N point first stage butterfly (in place, 2 register) */
- STIN void mdct_butterfly_first(DATA_TYPE *T,
- DATA_TYPE *x,
- int points){
-
- DATA_TYPE *x1 = x + points - 8;
- DATA_TYPE *x2 = x + (points>>1) - 8;
- REG_TYPE r0;
- REG_TYPE r1;
- do{
-
- r0 = x1[6] - x2[6];
- r1 = x1[7] - x2[7];
- x1[6] += x2[6];
- x1[7] += x2[7];
- x2[6] = MULT_NORM(r1 * T[1] + r0 * T[0]);
- x2[7] = MULT_NORM(r1 * T[0] - r0 * T[1]);
-
- r0 = x1[4] - x2[4];
- r1 = x1[5] - x2[5];
- x1[4] += x2[4];
- x1[5] += x2[5];
- x2[4] = MULT_NORM(r1 * T[5] + r0 * T[4]);
- x2[5] = MULT_NORM(r1 * T[4] - r0 * T[5]);
-
- r0 = x1[2] - x2[2];
- r1 = x1[3] - x2[3];
- x1[2] += x2[2];
- x1[3] += x2[3];
- x2[2] = MULT_NORM(r1 * T[9] + r0 * T[8]);
- x2[3] = MULT_NORM(r1 * T[8] - r0 * T[9]);
-
- r0 = x1[0] - x2[0];
- r1 = x1[1] - x2[1];
- x1[0] += x2[0];
- x1[1] += x2[1];
- x2[0] = MULT_NORM(r1 * T[13] + r0 * T[12]);
- x2[1] = MULT_NORM(r1 * T[12] - r0 * T[13]);
-
- x1-=8;
- x2-=8;
- T+=16;
- }while(x2>=x);
- }
- /* N/stage point generic N stage butterfly (in place, 2 register) */
- STIN void mdct_butterfly_generic(DATA_TYPE *T,
- DATA_TYPE *x,
- int points,
- int trigint){
-
- DATA_TYPE *x1 = x + points - 8;
- DATA_TYPE *x2 = x + (points>>1) - 8;
- REG_TYPE r0;
- REG_TYPE r1;
- do{
-
- r0 = x1[6] - x2[6];
- r1 = x1[7] - x2[7];
- x1[6] += x2[6];
- x1[7] += x2[7];
- x2[6] = MULT_NORM(r1 * T[1] + r0 * T[0]);
- x2[7] = MULT_NORM(r1 * T[0] - r0 * T[1]);
-
- T+=trigint;
-
- r0 = x1[4] - x2[4];
- r1 = x1[5] - x2[5];
- x1[4] += x2[4];
- x1[5] += x2[5];
- x2[4] = MULT_NORM(r1 * T[1] + r0 * T[0]);
- x2[5] = MULT_NORM(r1 * T[0] - r0 * T[1]);
-
- T+=trigint;
-
- r0 = x1[2] - x2[2];
- r1 = x1[3] - x2[3];
- x1[2] += x2[2];
- x1[3] += x2[3];
- x2[2] = MULT_NORM(r1 * T[1] + r0 * T[0]);
- x2[3] = MULT_NORM(r1 * T[0] - r0 * T[1]);
-
- T+=trigint;
-
- r0 = x1[0] - x2[0];
- r1 = x1[1] - x2[1];
- x1[0] += x2[0];
- x1[1] += x2[1];
- x2[0] = MULT_NORM(r1 * T[1] + r0 * T[0]);
- x2[1] = MULT_NORM(r1 * T[0] - r0 * T[1]);
- T+=trigint;
- x1-=8;
- x2-=8;
- }while(x2>=x);
- }
- STIN void mdct_butterflies(mdct_lookup *init,
- DATA_TYPE *x,
- int points){
-
- DATA_TYPE *T=init->trig;
- int stages=init->log2n-5;
- int i,j;
-
- if(--stages>0){
- mdct_butterfly_first(T,x,points);
- }
- for(i=1;--stages>0;i++){
- for(j=0;j<(1<<i);j++)
- mdct_butterfly_generic(T,x+(points>>i)*j,points>>i,4<<i);
- }
- for(j=0;j<points;j+=32)
- mdct_butterfly_32(x+j);
- }
- void mdct_clear(mdct_lookup *l){
- if(l){
- if(l->trig)_ogg_free(l->trig);
- if(l->bitrev)_ogg_free(l->bitrev);
- memset(l,0,sizeof(*l));
- }
- }
- STIN void mdct_bitreverse(mdct_lookup *init,
- DATA_TYPE *x){
- int n = init->n;
- int *bit = init->bitrev;
- DATA_TYPE *w0 = x;
- DATA_TYPE *w1 = x = w0+(n>>1);
- DATA_TYPE *T = init->trig+n;
- do{
- DATA_TYPE *x0 = x+bit[0];
- DATA_TYPE *x1 = x+bit[1];
- REG_TYPE r0 = x0[1] - x1[1];
- REG_TYPE r1 = x0[0] + x1[0];
- REG_TYPE r2 = MULT_NORM(r1 * T[0] + r0 * T[1]);
- REG_TYPE r3 = MULT_NORM(r1 * T[1] - r0 * T[0]);
- w1 -= 4;
- r0 = HALVE(x0[1] + x1[1]);
- r1 = HALVE(x0[0] - x1[0]);
-
- w0[0] = r0 + r2;
- w1[2] = r0 - r2;
- w0[1] = r1 + r3;
- w1[3] = r3 - r1;
- x0 = x+bit[2];
- x1 = x+bit[3];
- r0 = x0[1] - x1[1];
- r1 = x0[0] + x1[0];
- r2 = MULT_NORM(r1 * T[2] + r0 * T[3]);
- r3 = MULT_NORM(r1 * T[3] - r0 * T[2]);
- r0 = HALVE(x0[1] + x1[1]);
- r1 = HALVE(x0[0] - x1[0]);
-
- w0[2] = r0 + r2;
- w1[0] = r0 - r2;
- w0[3] = r1 + r3;
- w1[1] = r3 - r1;
- T += 4;
- bit += 4;
- w0 += 4;
- }while(w0<w1);
- }
- void mdct_backward(mdct_lookup *init, DATA_TYPE *in, DATA_TYPE *out){
- int n=init->n;
- int n2=n>>1;
- int n4=n>>2;
- /* rotate */
- DATA_TYPE *iX = in+n2-7;
- DATA_TYPE *oX = out+n2+n4;
- DATA_TYPE *T = init->trig+n4;
- do{
- oX -= 4;
- oX[0] = MULT_NORM(-iX[2] * T[3] - iX[0] * T[2]);
- oX[1] = MULT_NORM (iX[0] * T[3] - iX[2] * T[2]);
- oX[2] = MULT_NORM(-iX[6] * T[1] - iX[4] * T[0]);
- oX[3] = MULT_NORM (iX[4] * T[1] - iX[6] * T[0]);
- iX -= 8;
- T += 4;
- }while(iX>=in);
- iX = in+n2-8;
- oX = out+n2+n4;
- T = init->trig+n4;
- do{
- T -= 4;
- oX[0] = MULT_NORM (iX[4] * T[3] + iX[6] * T[2]);
- oX[1] = MULT_NORM (iX[4] * T[2] - iX[6] * T[3]);
- oX[2] = MULT_NORM (iX[0] * T[1] + iX[2] * T[0]);
- oX[3] = MULT_NORM (iX[0] * T[0] - iX[2] * T[1]);
- iX -= 8;
- oX += 4;
- }while(iX>=in);
- mdct_butterflies(init,out+n2,n2);
- mdct_bitreverse(init,out);
- /* roatate + window */
- {
- DATA_TYPE *oX1=out+n2+n4;
- DATA_TYPE *oX2=out+n2+n4;
- DATA_TYPE *iX =out;
- T =init->trig+n2;
-
- do{
- oX1-=4;
- oX1[3] = MULT_NORM (iX[0] * T[1] - iX[1] * T[0]);
- oX2[0] = -MULT_NORM (iX[0] * T[0] + iX[1] * T[1]);
- oX1[2] = MULT_NORM (iX[2] * T[3] - iX[3] * T[2]);
- oX2[1] = -MULT_NORM (iX[2] * T[2] + iX[3] * T[3]);
- oX1[1] = MULT_NORM (iX[4] * T[5] - iX[5] * T[4]);
- oX2[2] = -MULT_NORM (iX[4] * T[4] + iX[5] * T[5]);
- oX1[0] = MULT_NORM (iX[6] * T[7] - iX[7] * T[6]);
- oX2[3] = -MULT_NORM (iX[6] * T[6] + iX[7] * T[7]);
- oX2+=4;
- iX += 8;
- T += 8;
- }while(iX<oX1);
- iX=out+n2+n4;
- oX1=out+n4;
- oX2=oX1;
- do{
- oX1-=4;
- iX-=4;
- oX2[0] = -(oX1[3] = iX[3]);
- oX2[1] = -(oX1[2] = iX[2]);
- oX2[2] = -(oX1[1] = iX[1]);
- oX2[3] = -(oX1[0] = iX[0]);
- oX2+=4;
- }while(oX2<iX);
- iX=out+n2+n4;
- oX1=out+n2+n4;
- oX2=out+n2;
- do{
- oX1-=4;
- oX1[0]= iX[3];
- oX1[1]= iX[2];
- oX1[2]= iX[1];
- oX1[3]= iX[0];
- iX+=4;
- }while(oX1>oX2);
- }
- }
- void mdct_forward(mdct_lookup *init, DATA_TYPE *in, DATA_TYPE *out){
- int n=init->n;
- int n2=n>>1;
- int n4=n>>2;
- int n8=n>>3;
- DATA_TYPE *w=alloca(n*sizeof(*w)); /* forward needs working space */
- DATA_TYPE *w2=w+n2;
- /* rotate */
- /* window + rotate + step 1 */
-
- REG_TYPE r0;
- REG_TYPE r1;
- DATA_TYPE *x0=in+n2+n4;
- DATA_TYPE *x1=x0+1;
- DATA_TYPE *T=init->trig+n2;
-
- int i=0;
-
- for(i=0;i<n8;i+=2){
- x0 -=4;
- T-=2;
- r0= x0[2] + x1[0];
- r1= x0[0] + x1[2];
- w2[i]= MULT_NORM(r1*T[1] + r0*T[0]);
- w2[i+1]= MULT_NORM(r1*T[0] - r0*T[1]);
- x1 +=4;
- }
- x1=in+1;
-
- for(;i<n2-n8;i+=2){
- T-=2;
- x0 -=4;
- r0= x0[2] - x1[0];
- r1= x0[0] - x1[2];
- w2[i]= MULT_NORM(r1*T[1] + r0*T[0]);
- w2[i+1]= MULT_NORM(r1*T[0] - r0*T[1]);
- x1 +=4;
- }
-
- x0=in+n;
- for(;i<n2;i+=2){
- T-=2;
- x0 -=4;
- r0= -x0[2] - x1[0];
- r1= -x0[0] - x1[2];
- w2[i]= MULT_NORM(r1*T[1] + r0*T[0]);
- w2[i+1]= MULT_NORM(r1*T[0] - r0*T[1]);
- x1 +=4;
- }
- mdct_butterflies(init,w+n2,n2);
- mdct_bitreverse(init,w);
- /* roatate + window */
- T=init->trig+n2;
- x0=out+n2;
- for(i=0;i<n4;i++){
- x0--;
- out[i] =MULT_NORM((w[0]*T[0]+w[1]*T[1])*init->scale);
- x0[0] =MULT_NORM((w[0]*T[1]-w[1]*T[0])*init->scale);
- w+=2;
- T+=2;
- }
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: psychoacoustics not including preecho
- last mod: $Id: psy.c,v 1.81 2002/10/21 07:00:11 xiphmont Exp $
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: masking curve data for psychoacoustics
- last mod: $Id: masking.h,v 1.24 2002/07/01 11:20:11 xiphmont Exp $
- ********************************************************************/
- #define _V_MASKING_H_
- /* more detailed ATH; the bass if flat to save stressing the floor
- overly for only a bin or two of savings. */
- #define MAX_ATH 88
- static float ATH[]={
- /*15*/ -51, -52, -53, -54, -55, -56, -57, -58,
- /*31*/ -59, -60, -61, -62, -63, -64, -65, -66,
- /*63*/ -67, -68, -69, -70, -71, -72, -73, -74,
- /*125*/ -75, -76, -77, -78, -80, -81, -82, -83,
- /*250*/ -84, -85, -86, -87, -88, -88, -89, -89,
- /*500*/ -90, -91, -91, -92, -93, -94, -95, -96,
- /*1k*/ -96, -97, -98, -98, -99, -99,-100,-100,
- /*2k*/ -101,-102,-103,-104,-106,-107,-107,-107,
- /*4k*/ -107,-105,-103,-102,-101, -99, -98, -96,
- /*8k*/ -95, -95, -96, -97, -96, -95, -93, -90,
- /*16k*/ -80, -70, -50, -40, -30, -30, -30, -30
- };
- /* The tone masking curves from Ehmer's and Fielder's papers have been
- replaced by an empirically collected data set. The previously
- published values were, far too often, simply on crack. */
- #define EHMER_OFFSET 16
- #define EHMER_MAX 56
- /* masking tones from -50 to 0dB, 62.5 through 16kHz at half octaves
- test tones from -2 octaves to +5 octaves sampled at eighth octaves */
- /* (Vorbis 0dB, the loudest possible tone, is assumed to be ~100dB SPL
- for collection of these curves) */
- static float tonemasks[P_BANDS][6][EHMER_MAX]={
- /* 62.5 Hz */
- {{ -60, -60, -60, -60, -60, -60, -60, -60,
- -60, -60, -60, -60, -62, -62, -65, -73,
- -69, -68, -68, -67, -70, -70, -72, -74,
- -75, -79, -79, -80, -83, -88, -93, -100,
- -110, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -48, -48, -48, -48, -48, -48, -48, -48,
- -48, -48, -48, -48, -48, -53, -61, -66,
- -66, -68, -67, -70, -76, -76, -72, -73,
- -75, -76, -78, -79, -83, -88, -93, -100,
- -110, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -37, -37, -37, -37, -37, -37, -37, -37,
- -38, -40, -42, -46, -48, -53, -55, -62,
- -65, -58, -56, -56, -61, -60, -65, -67,
- -69, -71, -77, -77, -78, -80, -82, -84,
- -88, -93, -98, -106, -112, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -25, -25, -25, -25, -25, -25, -25, -25,
- -25, -26, -27, -29, -32, -38, -48, -52,
- -52, -50, -48, -48, -51, -52, -54, -60,
- -67, -67, -66, -68, -69, -73, -73, -76,
- -80, -81, -81, -85, -85, -86, -88, -93,
- -100, -110, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -16, -16, -16, -16, -16, -16, -16, -16,
- -17, -19, -20, -22, -26, -28, -31, -40,
- -47, -39, -39, -40, -42, -43, -47, -51,
- -57, -52, -55, -55, -60, -58, -62, -63,
- -70, -67, -69, -72, -73, -77, -80, -82,
- -83, -87, -90, -94, -98, -104, -115, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -8, -8, -8, -8, -8, -8, -8, -8,
- -8, -8, -10, -11, -15, -19, -25, -30,
- -34, -31, -30, -31, -29, -32, -35, -42,
- -48, -42, -44, -46, -50, -50, -51, -52,
- -59, -54, -55, -55, -58, -62, -63, -66,
- -72, -73, -76, -75, -78, -80, -80, -81,
- -84, -88, -90, -94, -98, -101, -106, -110}},
- /* 88Hz */
- {{ -66, -66, -66, -66, -66, -66, -66, -66,
- -66, -66, -66, -66, -66, -67, -67, -67,
- -76, -72, -71, -74, -76, -76, -75, -78,
- -79, -79, -81, -83, -86, -89, -93, -97,
- -100, -105, -110, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -47, -47, -47, -47, -47, -47, -47, -47,
- -47, -47, -47, -48, -51, -55, -59, -66,
- -66, -66, -67, -66, -68, -69, -70, -74,
- -79, -77, -77, -78, -80, -81, -82, -84,
- -86, -88, -91, -95, -100, -108, -116, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -36, -36, -36, -36, -36, -36, -36, -36,
- -36, -37, -37, -41, -44, -48, -51, -58,
- -62, -60, -57, -59, -59, -60, -63, -65,
- -72, -71, -70, -72, -74, -77, -76, -78,
- -81, -81, -80, -83, -86, -91, -96, -100,
- -105, -110, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -28, -28, -28, -28, -28, -28, -28, -28,
- -28, -30, -32, -32, -33, -35, -41, -49,
- -50, -49, -47, -48, -48, -52, -51, -57,
- -65, -61, -59, -61, -64, -69, -70, -74,
- -77, -77, -78, -81, -84, -85, -87, -90,
- -92, -96, -100, -107, -112, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -19, -19, -19, -19, -19, -19, -19, -19,
- -20, -21, -23, -27, -30, -35, -36, -41,
- -46, -44, -42, -40, -41, -41, -43, -48,
- -55, -53, -52, -53, -56, -59, -58, -60,
- -67, -66, -69, -71, -72, -75, -79, -81,
- -84, -87, -90, -93, -97, -101, -107, -114,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -9, -9, -9, -9, -9, -9, -9, -9,
- -11, -12, -12, -15, -16, -20, -23, -30,
- -37, -34, -33, -34, -31, -32, -32, -38,
- -47, -44, -41, -40, -47, -49, -46, -46,
- -58, -50, -50, -54, -58, -62, -64, -67,
- -67, -70, -72, -76, -79, -83, -87, -91,
- -96, -100, -104, -110, -999, -999, -999, -999}},
- /* 125 Hz */
- {{ -62, -62, -62, -62, -62, -62, -62, -62,
- -62, -62, -63, -64, -66, -67, -66, -68,
- -75, -72, -76, -75, -76, -78, -79, -82,
- -84, -85, -90, -94, -101, -110, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -59, -59, -59, -59, -59, -59, -59, -59,
- -59, -59, -59, -60, -60, -61, -63, -66,
- -71, -68, -70, -70, -71, -72, -72, -75,
- -81, -78, -79, -82, -83, -86, -90, -97,
- -103, -113, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -53, -53, -53, -53, -53, -53, -53, -53,
- -53, -54, -55, -57, -56, -57, -55, -61,
- -65, -60, -60, -62, -63, -63, -66, -68,
- -74, -73, -75, -75, -78, -80, -80, -82,
- -85, -90, -96, -101, -108, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -46, -46, -46, -46, -46, -46, -46, -46,
- -46, -46, -47, -47, -47, -47, -48, -51,
- -57, -51, -49, -50, -51, -53, -54, -59,
- -66, -60, -62, -67, -67, -70, -72, -75,
- -76, -78, -81, -85, -88, -94, -97, -104,
- -112, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -36, -36, -36, -36, -36, -36, -36, -36,
- -39, -41, -42, -42, -39, -38, -41, -43,
- -52, -44, -40, -39, -37, -37, -40, -47,
- -54, -50, -48, -50, -55, -61, -59, -62,
- -66, -66, -66, -69, -69, -73, -74, -74,
- -75, -77, -79, -82, -87, -91, -95, -100,
- -108, -115, -999, -999, -999, -999, -999, -999},
- { -28, -26, -24, -22, -20, -20, -23, -29,
- -30, -31, -28, -27, -28, -28, -28, -35,
- -40, -33, -32, -29, -30, -30, -30, -37,
- -45, -41, -37, -38, -45, -47, -47, -48,
- -53, -49, -48, -50, -49, -49, -51, -52,
- -58, -56, -57, -56, -60, -61, -62, -70,
- -72, -74, -78, -83, -88, -93, -100, -106}},
- /* 177 Hz */
- {{-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -110, -105, -100, -95, -91, -87, -83,
- -80, -78, -76, -78, -78, -81, -83, -85,
- -86, -85, -86, -87, -90, -97, -107, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -110, -105, -100, -95, -90,
- -85, -81, -77, -73, -70, -67, -67, -68,
- -75, -73, -70, -69, -70, -72, -75, -79,
- -84, -83, -84, -86, -88, -89, -89, -93,
- -98, -105, -112, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-105, -100, -95, -90, -85, -80, -76, -71,
- -68, -68, -65, -63, -63, -62, -62, -64,
- -65, -64, -61, -62, -63, -64, -66, -68,
- -73, -73, -74, -75, -76, -81, -83, -85,
- -88, -89, -92, -95, -100, -108, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -80, -75, -71, -68, -65, -63, -62, -61,
- -61, -61, -61, -59, -56, -57, -53, -50,
- -58, -52, -50, -50, -52, -53, -54, -58,
- -67, -63, -67, -68, -72, -75, -78, -80,
- -81, -81, -82, -85, -89, -90, -93, -97,
- -101, -107, -114, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- { -65, -61, -59, -57, -56, -55, -55, -56,
- -56, -57, -55, -53, -52, -47, -44, -44,
- -50, -44, -41, -39, -39, -42, -40, -46,
- -51, -49, -50, -53, -54, -63, -60, -61,
- -62, -66, -66, -66, -70, -73, -74, -75,
- -76, -75, -79, -85, -89, -91, -96, -102,
- -110, -999, -999, -999, -999, -999, -999, -999},
- { -52, -50, -49, -49, -48, -48, -48, -49,
- -50, -50, -49, -46, -43, -39, -35, -33,
- -38, -36, -32, -29, -32, -32, -32, -35,
- -44, -39, -38, -38, -46, -50, -45, -46,
- -53, -50, -50, -50, -54, -54, -53, -53,
- -56, -57, -59, -66, -70, -72, -74, -79,
- -83, -85, -90, -97, -114, -999, -999, -999}},
- /* 250 Hz */
- {{-999, -999, -999, -999, -999, -999, -110, -105,
- -100, -95, -90, -86, -80, -75, -75, -79,
- -80, -79, -80, -81, -82, -88, -95, -103,
- -110, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -108, -103, -98, -93,
- -88, -83, -79, -78, -75, -71, -67, -68,
- -73, -73, -72, -73, -75, -77, -80, -82,
- -88, -93, -100, -107, -114, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -110, -105, -101, -96, -90,
- -86, -81, -77, -73, -69, -66, -61, -62,
- -66, -64, -62, -65, -66, -70, -72, -76,
- -81, -80, -84, -90, -95, -102, -110, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -107, -103, -97, -92, -88,
- -83, -79, -74, -70, -66, -59, -53, -58,
- -62, -55, -54, -54, -54, -58, -61, -62,
- -72, -70, -72, -75, -78, -80, -81, -80,
- -83, -83, -88, -93, -100, -107, -115, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -105, -100, -95, -90, -85,
- -80, -75, -70, -66, -62, -56, -48, -44,
- -48, -46, -46, -43, -46, -48, -48, -51,
- -58, -58, -59, -60, -62, -62, -61, -61,
- -65, -64, -65, -68, -70, -74, -75, -78,
- -81, -86, -95, -110, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -105, -100, -95, -90, -85, -80,
- -75, -70, -65, -61, -55, -49, -39, -33,
- -40, -35, -32, -38, -40, -33, -35, -37,
- -46, -41, -45, -44, -46, -42, -45, -46,
- -52, -50, -50, -50, -54, -54, -55, -57,
- -62, -64, -66, -68, -70, -76, -81, -90,
- -100, -110, -999, -999, -999, -999, -999, -999}},
- /* 354 hz */
- {{-999, -999, -999, -999, -999, -999, -999, -999,
- -105, -98, -90, -85, -82, -83, -80, -78,
- -84, -79, -80, -83, -87, -89, -91, -93,
- -99, -106, -117, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -105, -98, -90, -85, -80, -75, -70, -68,
- -74, -72, -74, -77, -80, -82, -85, -87,
- -92, -89, -91, -95, -100, -106, -112, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -105, -98, -90, -83, -75, -71, -63, -64,
- -67, -62, -64, -67, -70, -73, -77, -81,
- -84, -83, -85, -89, -90, -93, -98, -104,
- -109, -114, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -103, -96, -88, -81, -75, -68, -58, -54,
- -56, -54, -56, -56, -58, -60, -63, -66,
- -74, -69, -72, -72, -75, -74, -77, -81,
- -81, -82, -84, -87, -93, -96, -99, -104,
- -110, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -108, -102, -96,
- -91, -85, -80, -74, -68, -60, -51, -46,
- -48, -46, -43, -45, -47, -47, -49, -48,
- -56, -53, -55, -58, -57, -63, -58, -60,
- -66, -64, -67, -70, -70, -74, -77, -84,
- -86, -89, -91, -93, -94, -101, -109, -118,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -108, -103, -98, -93, -88,
- -83, -78, -73, -68, -60, -53, -44, -35,
- -38, -38, -34, -34, -36, -40, -41, -44,
- -51, -45, -46, -47, -46, -54, -50, -49,
- -50, -50, -50, -51, -54, -57, -58, -60,
- -66, -66, -66, -64, -65, -68, -77, -82,
- -87, -95, -110, -999, -999, -999, -999, -999}},
- /* 500 Hz */
- {{-999, -999, -999, -999, -999, -999, -999, -999,
- -107, -102, -97, -92, -87, -83, -78, -75,
- -82, -79, -83, -85, -89, -92, -95, -98,
- -101, -105, -109, -113, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -106,
- -100, -95, -90, -86, -81, -78, -74, -69,
- -74, -74, -76, -79, -83, -84, -86, -89,
- -92, -97, -93, -100, -103, -107, -110, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -106, -100,
- -95, -90, -87, -83, -80, -75, -69, -60,
- -66, -66, -68, -70, -74, -78, -79, -81,
- -81, -83, -84, -87, -93, -96, -99, -103,
- -107, -110, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -108, -103, -98,
- -93, -89, -85, -82, -78, -71, -62, -55,
- -58, -58, -54, -54, -55, -59, -61, -62,
- -70, -66, -66, -67, -70, -72, -75, -78,
- -84, -84, -84, -88, -91, -90, -95, -98,
- -102, -103, -106, -110, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -108, -103, -98, -94,
- -90, -87, -82, -79, -73, -67, -58, -47,
- -50, -45, -41, -45, -48, -44, -44, -49,
- -54, -51, -48, -47, -49, -50, -51, -57,
- -58, -60, -63, -69, -70, -69, -71, -74,
- -78, -82, -90, -95, -101, -105, -110, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -105, -101, -97, -93, -90,
- -85, -80, -77, -72, -65, -56, -48, -37,
- -40, -36, -34, -40, -50, -47, -38, -41,
- -47, -38, -35, -39, -38, -43, -40, -45,
- -50, -45, -44, -47, -50, -55, -48, -48,
- -52, -66, -70, -76, -82, -90, -97, -105,
- -110, -999, -999, -999, -999, -999, -999, -999}},
- /* 707 Hz */
- {{-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -108, -103, -98, -93, -86, -79, -76,
- -83, -81, -85, -87, -89, -93, -98, -102,
- -107, -112, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -108, -103, -98, -93, -86, -79, -71,
- -77, -74, -77, -79, -81, -84, -85, -90,
- -92, -93, -92, -98, -101, -108, -112, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -108, -103, -98, -93, -87, -78, -68, -65,
- -66, -62, -65, -67, -70, -73, -75, -78,
- -82, -82, -83, -84, -91, -93, -98, -102,
- -106, -110, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -105, -100, -95, -90, -82, -74, -62, -57,
- -58, -56, -51, -52, -52, -54, -54, -58,
- -66, -59, -60, -63, -66, -69, -73, -79,
- -83, -84, -80, -81, -81, -82, -88, -92,
- -98, -105, -113, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -107,
- -102, -97, -92, -84, -79, -69, -57, -47,
- -52, -47, -44, -45, -50, -52, -42, -42,
- -53, -43, -43, -48, -51, -56, -55, -52,
- -57, -59, -61, -62, -67, -71, -78, -83,
- -86, -94, -98, -103, -110, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -105, -100,
- -95, -90, -84, -78, -70, -61, -51, -41,
- -40, -38, -40, -46, -52, -51, -41, -40,
- -46, -40, -38, -38, -41, -46, -41, -46,
- -47, -43, -43, -45, -41, -45, -56, -67,
- -68, -83, -87, -90, -95, -102, -107, -113,
- -999, -999, -999, -999, -999, -999, -999, -999}},
- /* 1000 Hz */
- {{-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -109, -105, -101, -96, -91, -84, -77,
- -82, -82, -85, -89, -94, -100, -106, -110,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -106, -103, -98, -92, -85, -80, -71,
- -75, -72, -76, -80, -84, -86, -89, -93,
- -100, -107, -113, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -107,
- -104, -101, -97, -92, -88, -84, -80, -64,
- -66, -63, -64, -66, -69, -73, -77, -83,
- -83, -86, -91, -98, -104, -111, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -107,
- -104, -101, -97, -92, -90, -84, -74, -57,
- -58, -52, -55, -54, -50, -52, -50, -52,
- -63, -62, -69, -76, -77, -78, -78, -79,
- -82, -88, -94, -100, -106, -111, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -106, -102,
- -98, -95, -90, -85, -83, -78, -70, -50,
- -50, -41, -44, -49, -47, -50, -50, -44,
- -55, -46, -47, -48, -48, -54, -49, -49,
- -58, -62, -71, -81, -87, -92, -97, -102,
- -108, -114, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -106, -102,
- -98, -95, -90, -85, -83, -78, -70, -45,
- -43, -41, -47, -50, -51, -50, -49, -45,
- -47, -41, -44, -41, -39, -43, -38, -37,
- -40, -41, -44, -50, -58, -65, -73, -79,
- -85, -92, -97, -101, -105, -109, -113, -999,
- -999, -999, -999, -999, -999, -999, -999, -999}},
- /* 1414 Hz */
- {{-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -107, -100, -95, -87, -81,
- -85, -83, -88, -93, -100, -107, -114, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -107, -101, -95, -88, -83, -76,
- -73, -72, -79, -84, -90, -95, -100, -105,
- -110, -115, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -104, -98, -92, -87, -81, -70,
- -65, -62, -67, -71, -74, -80, -85, -91,
- -95, -99, -103, -108, -111, -114, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -103, -97, -90, -85, -76, -60,
- -56, -54, -60, -62, -61, -56, -63, -65,
- -73, -74, -77, -75, -78, -81, -86, -87,
- -88, -91, -94, -98, -103, -110, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -105,
- -100, -97, -92, -86, -81, -79, -70, -57,
- -51, -47, -51, -58, -60, -56, -53, -50,
- -58, -52, -50, -50, -53, -55, -64, -69,
- -71, -85, -82, -78, -81, -85, -95, -102,
- -112, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -105,
- -100, -97, -92, -85, -83, -79, -72, -49,
- -40, -43, -43, -54, -56, -51, -50, -40,
- -43, -38, -36, -35, -37, -38, -37, -44,
- -54, -60, -57, -60, -70, -75, -84, -92,
- -103, -112, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999}},
- /* 2000 Hz */
- {{-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -110, -102, -95, -89, -82,
- -83, -84, -90, -92, -99, -107, -113, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -107, -101, -95, -89, -83, -72,
- -74, -78, -85, -88, -88, -90, -92, -98,
- -105, -111, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -109, -103, -97, -93, -87, -81, -70,
- -70, -67, -75, -73, -76, -79, -81, -83,
- -88, -89, -97, -103, -110, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -107, -100, -94, -88, -83, -75, -63,
- -59, -59, -63, -66, -60, -62, -67, -67,
- -77, -76, -81, -88, -86, -92, -96, -102,
- -109, -116, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -105, -98, -92, -86, -81, -73, -56,
- -52, -47, -55, -60, -58, -52, -51, -45,
- -49, -50, -53, -54, -61, -71, -70, -69,
- -78, -79, -87, -90, -96, -104, -112, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -103, -96, -90, -86, -78, -70, -51,
- -42, -47, -48, -55, -54, -54, -53, -42,
- -35, -28, -33, -38, -37, -44, -47, -49,
- -54, -63, -68, -78, -82, -89, -94, -99,
- -104, -109, -114, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999}},
- /* 2828 Hz */
- {{-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -110, -100, -90, -79,
- -85, -81, -82, -82, -89, -94, -99, -103,
- -109, -115, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -105, -97, -85, -72,
- -74, -70, -70, -70, -76, -85, -91, -93,
- -97, -103, -109, -115, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -112, -93, -81, -68,
- -62, -60, -60, -57, -63, -70, -77, -82,
- -90, -93, -98, -104, -109, -113, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -113, -100, -93, -84, -63,
- -58, -48, -53, -54, -52, -52, -57, -64,
- -66, -76, -83, -81, -85, -85, -90, -95,
- -98, -101, -103, -106, -108, -111, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -105, -95, -86, -74, -53,
- -50, -38, -43, -49, -43, -42, -39, -39,
- -46, -52, -57, -56, -72, -69, -74, -81,
- -87, -92, -94, -97, -99, -102, -105, -108,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -108, -99, -90, -76, -66, -45,
- -43, -41, -44, -47, -43, -47, -40, -30,
- -31, -31, -39, -33, -40, -41, -43, -53,
- -59, -70, -73, -77, -79, -82, -84, -87,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999}},
- /* 4000 Hz */
- {{-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -110, -91, -76,
- -75, -85, -93, -98, -104, -110, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -110, -91, -70,
- -70, -75, -86, -89, -94, -98, -101, -106,
- -110, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -110, -95, -80, -60,
- -65, -64, -74, -83, -88, -91, -95, -99,
- -103, -107, -110, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -110, -95, -80, -58,
- -55, -49, -66, -68, -71, -78, -78, -80,
- -88, -85, -89, -97, -100, -105, -110, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -110, -95, -80, -53,
- -52, -41, -59, -59, -49, -58, -56, -63,
- -86, -79, -90, -93, -98, -103, -107, -112,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -110, -97, -91, -73, -45,
- -40, -33, -53, -61, -49, -54, -50, -50,
- -60, -52, -67, -74, -81, -92, -96, -100,
- -105, -110, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999}},
- /* 5657 Hz */
- {{-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -113, -106, -99, -92, -77,
- -80, -88, -97, -106, -115, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -116, -109, -102, -95, -89, -74,
- -72, -88, -87, -95, -102, -109, -116, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -116, -109, -102, -95, -89, -75,
- -66, -74, -77, -78, -86, -87, -90, -96,
- -105, -115, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -115, -108, -101, -94, -88, -66,
- -56, -61, -70, -65, -78, -72, -83, -84,
- -93, -98, -105, -110, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -110, -105, -95, -89, -82, -57,
- -52, -52, -59, -56, -59, -58, -69, -67,
- -88, -82, -82, -89, -94, -100, -108, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -110, -101, -96, -90, -83, -77, -54,
- -43, -38, -50, -48, -52, -48, -42, -42,
- -51, -52, -53, -59, -65, -71, -78, -85,
- -95, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999}},
- /* 8000 Hz */
- {{-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -120, -105, -86, -68,
- -78, -79, -90, -100, -110, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -120, -105, -86, -66,
- -73, -77, -88, -96, -105, -115, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -120, -105, -92, -80, -61,
- -64, -68, -80, -87, -92, -100, -110, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -120, -104, -91, -79, -52,
- -60, -54, -64, -69, -77, -80, -82, -84,
- -85, -87, -88, -90, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -118, -100, -87, -77, -49,
- -50, -44, -58, -61, -61, -67, -65, -62,
- -62, -62, -65, -68, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -115, -98, -84, -62, -49,
- -44, -38, -46, -49, -49, -46, -39, -37,
- -39, -40, -42, -43, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999}},
- /* 11314 Hz */
- {{-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -110, -88, -74,
- -77, -82, -82, -85, -90, -94, -99, -104,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -110, -88, -66,
- -70, -81, -80, -81, -84, -88, -91, -93,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -110, -88, -61,
- -63, -70, -71, -74, -77, -80, -83, -85,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -110, -86, -62,
- -63, -62, -62, -58, -52, -50, -50, -52,
- -54, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -118, -108, -84, -53,
- -50, -50, -50, -55, -47, -45, -40, -40,
- -40, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -118, -100, -73, -43,
- -37, -42, -43, -53, -38, -37, -35, -35,
- -38, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999}},
- /* 16000 Hz */
- {{-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -110, -100, -91, -84, -74,
- -80, -80, -80, -80, -80, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -110, -100, -91, -84, -74,
- -68, -68, -68, -68, -68, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -110, -100, -86, -78, -70,
- -60, -45, -30, -21, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -110, -100, -87, -78, -67,
- -48, -38, -29, -21, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -110, -100, -86, -69, -56,
- -45, -35, -33, -29, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999},
- {-999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -110, -100, -83, -71, -48,
- -27, -38, -37, -34, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999,
- -999, -999, -999, -999, -999, -999, -999, -999}}
- };
- #define NEGINF -9999.f
- static double stereo_threshholds[]={0.0, .5, 1.0, 1.5, 2.5, 4.5, 8.5, 16.5, 9e10};
- vorbis_look_psy_global *_vp_global_look(vorbis_info *vi){
- codec_setup_info *ci=vi->codec_setup;
- vorbis_info_psy_global *gi=&ci->psy_g_param;
- vorbis_look_psy_global *look=_ogg_calloc(1,sizeof(*look));
- look->channels=vi->channels;
- look->ampmax=-9999.;
- look->gi=gi;
- return(look);
- }
- void _vp_global_free(vorbis_look_psy_global *look){
- if(look){
- memset(look,0,sizeof(*look));
- _ogg_free(look);
- }
- }
- void _vi_gpsy_free(vorbis_info_psy_global *i){
- if(i){
- memset(i,0,sizeof(*i));
- _ogg_free(i);
- }
- }
- void _vi_psy_free(vorbis_info_psy *i){
- if(i){
- memset(i,0,sizeof(*i));
- _ogg_free(i);
- }
- }
- static void min_curve(float *c,
- float *c2){
- int i;
- for(i=0;i<EHMER_MAX;i++)if(c2[i]<c[i])c[i]=c2[i];
- }
- static void max_curve(float *c,
- float *c2){
- int i;
- for(i=0;i<EHMER_MAX;i++)if(c2[i]>c[i])c[i]=c2[i];
- }
- static void attenuate_curve(float *c,float att){
- int i;
- for(i=0;i<EHMER_MAX;i++)
- c[i]+=att;
- }
- static float ***setup_tone_curves(float curveatt_dB[P_BANDS],float binHz,int n,
- float center_boost, float center_decay_rate){
- int i,j,k,m;
- float ath[EHMER_MAX];
- float workc[P_BANDS][P_LEVELS][EHMER_MAX];
- float athc[P_LEVELS][EHMER_MAX];
- float *brute_buffer=alloca(n*sizeof(*brute_buffer));
- float ***ret=_ogg_malloc(sizeof(*ret)*P_BANDS);
- memset(workc,0,sizeof(workc));
- for(i=0;i<P_BANDS;i++){
- /* we add back in the ATH to avoid low level curves falling off to
- -infinity and unnecessarily cutting off high level curves in the
- curve limiting (last step). */
- /* A half-band's settings must be valid over the whole band, and
- it's better to mask too little than too much */
- int ath_offset=i*4;
- for(j=0;j<EHMER_MAX;j++){
- float min=999.;
- for(k=0;k<4;k++)
- if(j+k+ath_offset<MAX_ATH){
- if(min>ATH[j+k+ath_offset])min=ATH[j+k+ath_offset];
- }else{
- if(min>ATH[MAX_ATH-1])min=ATH[MAX_ATH-1];
- }
- ath[j]=min;
- }
- /* copy curves into working space, replicate the 50dB curve to 30
- and 40, replicate the 100dB curve to 110 */
- for(j=0;j<6;j++)
- memcpy(workc[i][j+2],tonemasks[i][j],EHMER_MAX*sizeof(*tonemasks[i][j]));
- memcpy(workc[i][0],tonemasks[i][0],EHMER_MAX*sizeof(*tonemasks[i][0]));
- memcpy(workc[i][1],tonemasks[i][0],EHMER_MAX*sizeof(*tonemasks[i][0]));
-
- /* apply centered curve boost/decay */
- for(j=0;j<P_LEVELS;j++){
- for(k=0;k<EHMER_MAX;k++){
- float adj=center_boost+abs(EHMER_OFFSET-k)*center_decay_rate;
- if(adj<0. && center_boost>0)adj=0.;
- if(adj>0. && center_boost<0)adj=0.;
- workc[i][j][k]+=adj;
- }
- }
- /* normalize curves so the driving amplitude is 0dB */
- /* make temp curves with the ATH overlayed */
- for(j=0;j<P_LEVELS;j++){
- attenuate_curve(workc[i][j],curveatt_dB[i]+100.-(j<2?2:j)*10.-P_LEVEL_0);
- memcpy(athc[j],ath,EHMER_MAX*sizeof(**athc));
- attenuate_curve(athc[j],+100.-j*10.f-P_LEVEL_0);
- max_curve(athc[j],workc[i][j]);
- }
- /* Now limit the louder curves.
-
- the idea is this: We don't know what the playback attenuation
- will be; 0dB SL moves every time the user twiddles the volume
- knob. So that means we have to use a single 'most pessimal' curve
- for all masking amplitudes, right? Wrong. The *loudest* sound
- can be in (we assume) a range of ...+100dB] SL. However, sounds
- 20dB down will be in a range ...+80], 40dB down is from ...+60],
- etc... */
-
- for(j=1;j<P_LEVELS;j++){
- min_curve(athc[j],athc[j-1]);
- min_curve(workc[i][j],athc[j]);
- }
- }
- for(i=0;i<P_BANDS;i++){
- int hi_curve,lo_curve,bin;
- ret[i]=_ogg_malloc(sizeof(**ret)*P_LEVELS);
- /* low frequency curves are measured with greater resolution than
- the MDCT/FFT will actually give us; we want the curve applied
- to the tone data to be pessimistic and thus apply the minimum
- masking possible for a given bin. That means that a single bin
- could span more than one octave and that the curve will be a
- composite of multiple octaves. It also may mean that a single
- bin may span > an eighth of an octave and that the eighth
- octave values may also be composited. */
-
- /* which octave curves will we be compositing? */
- bin=floor(fromOC(i*.5)/binHz);
- lo_curve= ceil(toOC(bin*binHz+1)*2);
- hi_curve= floor(toOC((bin+1)*binHz)*2);
- if(lo_curve>i)lo_curve=i;
- if(lo_curve<0)lo_curve=0;
- if(hi_curve>=P_BANDS)hi_curve=P_BANDS-1;
- for(m=0;m<P_LEVELS;m++){
- ret[i][m]=_ogg_malloc(sizeof(***ret)*(EHMER_MAX+2));
-
- for(j=0;j<n;j++)brute_buffer[j]=999.;
-
- /* render the curve into bins, then pull values back into curve.
- The point is that any inherent subsampling aliasing results in
- a safe minimum */
- for(k=lo_curve;k<=hi_curve;k++){
- int l=0;
- for(j=0;j<EHMER_MAX;j++){
- int lo_bin= fromOC(j*.125+k*.5-2.0625)/binHz;
- int hi_bin= fromOC(j*.125+k*.5-1.9375)/binHz+1;
-
- if(lo_bin<0)lo_bin=0;
- if(lo_bin>n)lo_bin=n;
- if(lo_bin<l)l=lo_bin;
- if(hi_bin<0)hi_bin=0;
- if(hi_bin>n)hi_bin=n;
- for(;l<hi_bin && l<n;l++)
- if(brute_buffer[l]>workc[k][m][j])
- brute_buffer[l]=workc[k][m][j];
- }
- for(;l<n;l++)
- if(brute_buffer[l]>workc[k][m][EHMER_MAX-1])
- brute_buffer[l]=workc[k][m][EHMER_MAX-1];
- }
- /* be equally paranoid about being valid up to next half ocatve */
- if(i+1<P_BANDS){
- int l=0;
- k=i+1;
- for(j=0;j<EHMER_MAX;j++){
- int lo_bin= fromOC(j*.125+i*.5-2.0625)/binHz;
- int hi_bin= fromOC(j*.125+i*.5-1.9375)/binHz+1;
-
- if(lo_bin<0)lo_bin=0;
- if(lo_bin>n)lo_bin=n;
- if(lo_bin<l)l=lo_bin;
- if(hi_bin<0)hi_bin=0;
- if(hi_bin>n)hi_bin=n;
- for(;l<hi_bin && l<n;l++)
- if(brute_buffer[l]>workc[k][m][j])
- brute_buffer[l]=workc[k][m][j];
- }
- for(;l<n;l++)
- if(brute_buffer[l]>workc[k][m][EHMER_MAX-1])
- brute_buffer[l]=workc[k][m][EHMER_MAX-1];
- }
- for(j=0;j<EHMER_MAX;j++){
- int bin=fromOC(j*.125+i*.5-2.)/binHz;
- if(bin<0){
- ret[i][m][j+2]=-999.;
- }else{
- if(bin>=n){
- ret[i][m][j+2]=-999.;
- }else{
- ret[i][m][j+2]=brute_buffer[bin];
- }
- }
- }
- /* add fenceposts */
- for(j=0;j<EHMER_OFFSET;j++)
- if(ret[i][m][j+2]>-200.f)break;
- ret[i][m][0]=j;
-
- for(j=EHMER_MAX-1;j>EHMER_OFFSET+1;j--)
- if(ret[i][m][j+2]>-200.f)
- break;
- ret[i][m][1]=j;
- }
- }
- return(ret);
- }
- void _vp_psy_init(vorbis_look_psy *p,vorbis_info_psy *vi,
- vorbis_info_psy_global *gi,int n,long rate){
- long i,j,lo=-99,hi=1;
- long maxoc;
- memset(p,0,sizeof(*p));
- p->eighth_octave_lines=gi->eighth_octave_lines;
- p->shiftoc=rint(log(gi->eighth_octave_lines*8.f)/log(2.f))-1;
- p->firstoc=toOC(.25f*rate*.5/n)*(1<<(p->shiftoc+1))-gi->eighth_octave_lines;
- maxoc=toOC((n+.25f)*rate*.5/n)*(1<<(p->shiftoc+1))+.5f;
- p->total_octave_lines=maxoc-p->firstoc+1;
- p->ath=_ogg_malloc(n*sizeof(*p->ath));
- p->octave=_ogg_malloc(n*sizeof(*p->octave));
- p->bark=_ogg_malloc(n*sizeof(*p->bark));
- p->vi=vi;
- p->n=n;
- p->rate=rate;
- /* set up the lookups for a given blocksize and sample rate */
- for(i=0,j=0;i<MAX_ATH-1;i++){
- int endpos=rint(fromOC((i+1)*.125-2.)*2*n/rate);
- float base=ATH[i];
- if(j<endpos){
- float delta=(ATH[i+1]-base)/(endpos-j);
- for(;j<endpos && j<n;j++){
- p->ath[j]=base+100.;
- base+=delta;
- }
- }
- }
- for(i=0;i<n;i++){
- float bark=toBARK(rate/(2*n)*i);
- for(;lo+vi->noisewindowlomin<i &&
- toBARK(rate/(2*n)*lo)<(bark-vi->noisewindowlo);lo++);
-
- for(;hi<=n && (hi<i+vi->noisewindowhimin ||
- toBARK(rate/(2*n)*hi)<(bark+vi->noisewindowhi));hi++);
-
- p->bark[i]=((lo-1)<<16)+(hi-1);
- }
- for(i=0;i<n;i++)
- p->octave[i]=toOC((i+.25f)*.5*rate/n)*(1<<(p->shiftoc+1))+.5f;
- p->tonecurves=setup_tone_curves(vi->toneatt,rate*.5/n,n,
- vi->tone_centerboost,vi->tone_decay);
-
- /* set up rolling noise median */
- p->noiseoffset=_ogg_malloc(P_NOISECURVES*sizeof(*p->noiseoffset));
- for(i=0;i<P_NOISECURVES;i++)
- p->noiseoffset[i]=_ogg_malloc(n*sizeof(**p->noiseoffset));
-
- for(i=0;i<n;i++){
- float halfoc=toOC((i+.5)*rate/(2.*n))*2.;
- int inthalfoc;
- float del;
-
- if(halfoc<0)halfoc=0;
- if(halfoc>=P_BANDS-1)halfoc=P_BANDS-1;
- inthalfoc=(int)halfoc;
- del=halfoc-inthalfoc;
-
- for(j=0;j<P_NOISECURVES;j++)
- p->noiseoffset[j][i]=
- p->vi->noiseoff[j][inthalfoc]*(1.-del) +
- p->vi->noiseoff[j][inthalfoc+1]*del;
-
- }
- #if 0
- {
- static int ls=0;
- _analysis_output_always("noiseoff0",ls,p->noiseoffset[0],n,1,0,0);
- _analysis_output_always("noiseoff1",ls,p->noiseoffset[1],n,1,0,0);
- _analysis_output_always("noiseoff2",ls++,p->noiseoffset[2],n,1,0,0);
- }
- #endif
- }
- void _vp_psy_clear(vorbis_look_psy *p){
- int i,j;
- if(p){
- if(p->ath)_ogg_free(p->ath);
- if(p->octave)_ogg_free(p->octave);
- if(p->bark)_ogg_free(p->bark);
- if(p->tonecurves){
- for(i=0;i<P_BANDS;i++){
- for(j=0;j<P_LEVELS;j++){
- _ogg_free(p->tonecurves[i][j]);
- }
- _ogg_free(p->tonecurves[i]);
- }
- _ogg_free(p->tonecurves);
- }
- if(p->noiseoffset){
- for(i=0;i<P_NOISECURVES;i++){
- _ogg_free(p->noiseoffset[i]);
- }
- _ogg_free(p->noiseoffset);
- }
- memset(p,0,sizeof(*p));
- }
- }
- /* octave/(8*eighth_octave_lines) x scale and dB y scale */
- static void seed_curve(float *seed,
- const float **curves,
- float amp,
- int oc, int n,
- int linesper,float dBoffset){
- int i,post1;
- int seedptr;
- const float *posts,*curve;
- int choice=(int)((amp+dBoffset-P_LEVEL_0)*.1f);
- choice=max(choice,0);
- choice=min(choice,P_LEVELS-1);
- posts=curves[choice];
- curve=posts+2;
- post1=(int)posts[1];
- seedptr=oc+(posts[0]-EHMER_OFFSET)*linesper-(linesper>>1);
- for(i=posts[0];i<post1;i++){
- if(seedptr>0){
- float lin=amp+curve[i];
- if(seed[seedptr]<lin)seed[seedptr]=lin;
- }
- seedptr+=linesper;
- if(seedptr>=n)break;
- }
- }
- static void seed_loop(vorbis_look_psy *p,
- const float ***curves,
- const float *f,
- const float *flr,
- float *seed,
- float specmax){
- vorbis_info_psy *vi=p->vi;
- long n=p->n,i;
- float dBoffset=vi->max_curve_dB-specmax;
- /* prime the working vector with peak values */
- for(i=0;i<n;i++){
- float max=f[i];
- long oc=p->octave[i];
- while(i+1<n && p->octave[i+1]==oc){
- i++;
- if(f[i]>max)max=f[i];
- }
-
- if(max+6.f>flr[i]){
- oc=oc>>p->shiftoc;
- if(oc>=P_BANDS)oc=P_BANDS-1;
- if(oc<0)oc=0;
- seed_curve(seed,
- curves[oc],
- max,
- p->octave[i]-p->firstoc,
- p->total_octave_lines,
- p->eighth_octave_lines,
- dBoffset);
- }
- }
- }
- static void seed_chase(float *seeds, int linesper, long n){
- long *posstack=alloca(n*sizeof(*posstack));
- float *ampstack=alloca(n*sizeof(*ampstack));
- long stack=0;
- long pos=0;
- long i;
- for(i=0;i<n;i++){
- if(stack<2){
- posstack[stack]=i;
- ampstack[stack++]=seeds[i];
- }else{
- while(1){
- if(seeds[i]<ampstack[stack-1]){
- posstack[stack]=i;
- ampstack[stack++]=seeds[i];
- break;
- }else{
- if(i<posstack[stack-1]+linesper){
- if(stack>1 && ampstack[stack-1]<=ampstack[stack-2] &&
- i<posstack[stack-2]+linesper){
- /* we completely overlap, making stack-1 irrelevant. pop it */
- stack--;
- continue;
- }
- }
- posstack[stack]=i;
- ampstack[stack++]=seeds[i];
- break;
- }
- }
- }
- }
- /* the stack now contains only the positions that are relevant. Scan
- 'em straight through */
- for(i=0;i<stack;i++){
- long endpos;
- if(i<stack-1 && ampstack[i+1]>ampstack[i]){
- endpos=posstack[i+1];
- }else{
- endpos=posstack[i]+linesper+1; /* +1 is important, else bin 0 is
- discarded in short frames */
- }
- if(endpos>n)endpos=n;
- for(;pos<endpos;pos++)
- seeds[pos]=ampstack[i];
- }
-
- /* there. Linear time. I now remember this was on a problem set I
- had in Grad Skool... I didn't solve it at the time ;-) */
- }
- /* bleaugh, this is more complicated than it needs to be */
- static void max_seeds(vorbis_look_psy *p,
- float *seed,
- float *flr){
- long n=p->total_octave_lines;
- int linesper=p->eighth_octave_lines;
- long linpos=0;
- long pos;
- seed_chase(seed,linesper,n); /* for masking */
-
- pos=p->octave[0]-p->firstoc-(linesper>>1);
- while(linpos+1<p->n){
- float minV=seed[pos];
- long end=((p->octave[linpos]+p->octave[linpos+1])>>1)-p->firstoc;
- if(minV>p->vi->tone_abs_limit)minV=p->vi->tone_abs_limit;
- while(pos+1<=end){
- pos++;
- if((seed[pos]>NEGINF && seed[pos]<minV) || minV==NEGINF)
- minV=seed[pos];
- }
-
- end=pos+p->firstoc;
- for(;linpos<p->n && p->octave[linpos]<=end;linpos++)
- if(flr[linpos]<minV)flr[linpos]=minV;
- }
-
- {
- float minV=seed[p->total_octave_lines-1];
- for(;linpos<p->n;linpos++)
- if(flr[linpos]<minV)flr[linpos]=minV;
- }
-
- }
- static void bark_noise_hybridmp(int n,const long *b,
- const float *f,
- float *noise,
- const float offset,
- const int fixed){
-
- float *N=alloca(n*sizeof(*N));
- float *X=alloca(n*sizeof(*N));
- float *XX=alloca(n*sizeof(*N));
- float *Y=alloca(n*sizeof(*N));
- float *XY=alloca(n*sizeof(*N));
- float tN, tX, tXX, tY, tXY;
- int i;
- int lo, hi;
- float R, A, B, D;
- float w, x, y;
- tN = tX = tXX = tY = tXY = 0.f;
- y = f[0] + offset;
- if (y < 1.f) y = 1.f;
- w = y * y * .5;
-
- tN += w;
- tX += w;
- tY += w * y;
- N[0] = tN;
- X[0] = tX;
- XX[0] = tXX;
- Y[0] = tY;
- XY[0] = tXY;
- for (i = 1, x = 1.f; i < n; i++, x += 1.f) {
-
- y = f[i] + offset;
- if (y < 1.f) y = 1.f;
- w = y * y;
-
- tN += w;
- tX += w * x;
- tXX += w * x * x;
- tY += w * y;
- tXY += w * x * y;
- N[i] = tN;
- X[i] = tX;
- XX[i] = tXX;
- Y[i] = tY;
- XY[i] = tXY;
- }
-
- for (i = 0, x = 0.f;; i++, x += 1.f) {
-
- lo = b[i] >> 16;
- if( lo>=0 ) break;
- hi = b[i] & 0xffff;
-
- tN = N[hi] + N[-lo];
- tX = X[hi] - X[-lo];
- tXX = XX[hi] + XX[-lo];
- tY = Y[hi] + Y[-lo];
- tXY = XY[hi] - XY[-lo];
-
- A = tY * tXX - tX * tXY;
- B = tN * tXY - tX * tY;
- D = tN * tXX - tX * tX;
- R = (A + x * B) / D;
- if (R < 0.f)
- R = 0.f;
-
- noise[i] = R - offset;
- }
-
- for ( ;; i++, x += 1.f) {
-
- lo = b[i] >> 16;
- hi = b[i] & 0xffff;
- if(hi>=n)break;
-
- tN = N[hi] - N[lo];
- tX = X[hi] - X[lo];
- tXX = XX[hi] - XX[lo];
- tY = Y[hi] - Y[lo];
- tXY = XY[hi] - XY[lo];
-
- A = tY * tXX - tX * tXY;
- B = tN * tXY - tX * tY;
- D = tN * tXX - tX * tX;
- R = (A + x * B) / D;
- if (R < 0.f) R = 0.f;
-
- noise[i] = R - offset;
- }
- for ( ; i < n; i++, x += 1.f) {
-
- R = (A + x * B) / D;
- if (R < 0.f) R = 0.f;
-
- noise[i] = R - offset;
- }
-
- if (fixed <= 0) return;
-
- for (i = 0, x = 0.f;; i++, x += 1.f) {
- hi = i + fixed / 2;
- lo = hi - fixed;
- if(lo>=0)break;
- tN = N[hi] + N[-lo];
- tX = X[hi] - X[-lo];
- tXX = XX[hi] + XX[-lo];
- tY = Y[hi] + Y[-lo];
- tXY = XY[hi] - XY[-lo];
-
-
- A = tY * tXX - tX * tXY;
- B = tN * tXY - tX * tY;
- D = tN * tXX - tX * tX;
- R = (A + x * B) / D;
- if (R - offset < noise[i]) noise[i] = R - offset;
- }
- for ( ;; i++, x += 1.f) {
-
- hi = i + fixed / 2;
- lo = hi - fixed;
- if(hi>=n)break;
-
- tN = N[hi] - N[lo];
- tX = X[hi] - X[lo];
- tXX = XX[hi] - XX[lo];
- tY = Y[hi] - Y[lo];
- tXY = XY[hi] - XY[lo];
-
- A = tY * tXX - tX * tXY;
- B = tN * tXY - tX * tY;
- D = tN * tXX - tX * tX;
- R = (A + x * B) / D;
-
- if (R - offset < noise[i]) noise[i] = R - offset;
- }
- for ( ; i < n; i++, x += 1.f) {
- R = (A + x * B) / D;
- if (R - offset < noise[i]) noise[i] = R - offset;
- }
- }
- static float FLOOR1_fromdB_INV_LOOKUP[256]={
- 0.F, 8.81683e+06F, 8.27882e+06F, 7.77365e+06F,
- 7.29930e+06F, 6.85389e+06F, 6.43567e+06F, 6.04296e+06F,
- 5.67422e+06F, 5.32798e+06F, 5.00286e+06F, 4.69759e+06F,
- 4.41094e+06F, 4.14178e+06F, 3.88905e+06F, 3.65174e+06F,
- 3.42891e+06F, 3.21968e+06F, 3.02321e+06F, 2.83873e+06F,
- 2.66551e+06F, 2.50286e+06F, 2.35014e+06F, 2.20673e+06F,
- 2.07208e+06F, 1.94564e+06F, 1.82692e+06F, 1.71544e+06F,
- 1.61076e+06F, 1.51247e+06F, 1.42018e+06F, 1.33352e+06F,
- 1.25215e+06F, 1.17574e+06F, 1.10400e+06F, 1.03663e+06F,
- 973377.F, 913981.F, 858210.F, 805842.F,
- 756669.F, 710497.F, 667142.F, 626433.F,
- 588208.F, 552316.F, 518613.F, 486967.F,
- 457252.F, 429351.F, 403152.F, 378551.F,
- 355452.F, 333762.F, 313396.F, 294273.F,
- 276316.F, 259455.F, 243623.F, 228757.F,
- 214798.F, 201691.F, 189384.F, 177828.F,
- 166977.F, 156788.F, 147221.F, 138237.F,
- 129802.F, 121881.F, 114444.F, 107461.F,
- 100903.F, 94746.3F, 88964.9F, 83536.2F,
- 78438.8F, 73652.5F, 69158.2F, 64938.1F,
- 60975.6F, 57254.9F, 53761.2F, 50480.6F,
- 47400.3F, 44507.9F, 41792.0F, 39241.9F,
- 36847.3F, 34598.9F, 32487.7F, 30505.3F,
- 28643.8F, 26896.0F, 25254.8F, 23713.7F,
- 22266.7F, 20908.0F, 19632.2F, 18434.2F,
- 17309.4F, 16253.1F, 15261.4F, 14330.1F,
- 13455.7F, 12634.6F, 11863.7F, 11139.7F,
- 10460.0F, 9821.72F, 9222.39F, 8659.64F,
- 8131.23F, 7635.06F, 7169.17F, 6731.70F,
- 6320.93F, 5935.23F, 5573.06F, 5232.99F,
- 4913.67F, 4613.84F, 4332.30F, 4067.94F,
- 3819.72F, 3586.64F, 3367.78F, 3162.28F,
- 2969.31F, 2788.13F, 2617.99F, 2458.24F,
- 2308.24F, 2167.39F, 2035.14F, 1910.95F,
- 1794.35F, 1684.85F, 1582.04F, 1485.51F,
- 1394.86F, 1309.75F, 1229.83F, 1154.78F,
- 1084.32F, 1018.15F, 956.024F, 897.687F,
- 842.910F, 791.475F, 743.179F, 697.830F,
- 655.249F, 615.265F, 577.722F, 542.469F,
- 509.367F, 478.286F, 449.101F, 421.696F,
- 395.964F, 371.803F, 349.115F, 327.812F,
- 307.809F, 289.026F, 271.390F, 254.830F,
- 239.280F, 224.679F, 210.969F, 198.096F,
- 186.008F, 174.658F, 164.000F, 153.993F,
- 144.596F, 135.773F, 127.488F, 119.708F,
- 112.404F, 105.545F, 99.1046F, 93.0572F,
- 87.3788F, 82.0469F, 77.0404F, 72.3394F,
- 67.9252F, 63.7804F, 59.8885F, 56.2341F,
- 52.8027F, 49.5807F, 46.5553F, 43.7144F,
- 41.0470F, 38.5423F, 36.1904F, 33.9821F,
- 31.9085F, 29.9614F, 28.1332F, 26.4165F,
- 24.8045F, 23.2910F, 21.8697F, 20.5352F,
- 19.2822F, 18.1056F, 17.0008F, 15.9634F,
- 14.9893F, 14.0746F, 13.2158F, 12.4094F,
- 11.6522F, 10.9411F, 10.2735F, 9.64662F,
- 9.05798F, 8.50526F, 7.98626F, 7.49894F,
- 7.04135F, 6.61169F, 6.20824F, 5.82941F,
- 5.47370F, 5.13970F, 4.82607F, 4.53158F,
- 4.25507F, 3.99542F, 3.75162F, 3.52269F,
- 3.30774F, 3.10590F, 2.91638F, 2.73842F,
- 2.57132F, 2.41442F, 2.26709F, 2.12875F,
- 1.99885F, 1.87688F, 1.76236F, 1.65482F,
- 1.55384F, 1.45902F, 1.36999F, 1.28640F,
- 1.20790F, 1.13419F, 1.06499F, 1.F
- };
- void _vp_remove_floor(vorbis_look_psy *p,
- float *mdct,
- int *codedflr,
- float *residue,
- int sliding_lowpass){
- int i,n=p->n;
-
- if(sliding_lowpass>n)sliding_lowpass=n;
-
- for(i=0;i<sliding_lowpass;i++){
- residue[i]=
- mdct[i]*FLOOR1_fromdB_INV_LOOKUP[codedflr[i]];
- }
- for(;i<n;i++)
- residue[i]=0.;
- }
- void _vp_noisemask(vorbis_look_psy *p,
- float *logmdct,
- float *logmask){
- int i,n=p->n;
- float *work=alloca(n*sizeof(*work));
- bark_noise_hybridmp(n,p->bark,logmdct,logmask,
- 140.,-1);
- for(i=0;i<n;i++)work[i]=logmdct[i]-logmask[i];
- bark_noise_hybridmp(n,p->bark,work,logmask,0.,
- p->vi->noisewindowfixed);
- for(i=0;i<n;i++)work[i]=logmdct[i]-work[i];
-
- #if 0
- {
- static int seq=0;
- float work2[n];
- for(i=0;i<n;i++){
- work2[i]=logmask[i]+work[i];
- }
-
- if(seq&1)
- _analysis_output("median2R",seq/2,work,n,1,0,0);
- else
- _analysis_output("median2L",seq/2,work,n,1,0,0);
-
- if(seq&1)
- _analysis_output("envelope2R",seq/2,work2,n,1,0,0);
- else
- _analysis_output("envelope2L",seq/2,work2,n,1,0,0);
- seq++;
- }
- #endif
- for(i=0;i<n;i++){
- int dB=logmask[i]+.5;
- if(dB>=NOISE_COMPAND_LEVELS)dB=NOISE_COMPAND_LEVELS-1;
- if(dB<0)dB=0;
- logmask[i]= work[i]+p->vi->noisecompand[dB];
- }
- }
- void _vp_tonemask(vorbis_look_psy *p,
- float *logfft,
- float *logmask,
- float global_specmax,
- float local_specmax){
- int i,n=p->n;
- float *seed=alloca(sizeof(*seed)*p->total_octave_lines);
- float att=local_specmax+p->vi->ath_adjatt;
- for(i=0;i<p->total_octave_lines;i++)seed[i]=NEGINF;
-
- /* set the ATH (floating below localmax, not global max by a
- specified att) */
- if(att<p->vi->ath_maxatt)att=p->vi->ath_maxatt;
-
- for(i=0;i<n;i++)
- logmask[i]=p->ath[i]+att;
- /* tone masking */
- seed_loop(p,(const float ***)p->tonecurves,logfft,logmask,seed,global_specmax);
- max_seeds(p,seed,logmask);
- }
- void _vp_offset_and_mix(vorbis_look_psy *p,
- float *noise,
- float *tone,
- int offset_select,
- float *logmask){
- int i,n=p->n;
- float toneatt=p->vi->tone_masteratt[offset_select];
-
- for(i=0;i<n;i++){
- float val= noise[i]+p->noiseoffset[offset_select][i];
- if(val>p->vi->noisemaxsupp)val=p->vi->noisemaxsupp;
- logmask[i]=max(val,tone[i]+toneatt);
- }
- }
- float _vp_ampmax_decay(float amp,vorbis_dsp_state *vd){
- vorbis_info *vi=vd->vi;
- codec_setup_info *ci=vi->codec_setup;
- vorbis_info_psy_global *gi=&ci->psy_g_param;
- int n=ci->blocksizes[vd->W]/2;
- float secs=(float)n/vi->rate;
- amp+=secs*gi->ampmax_att_per_sec;
- if(amp<-9999)amp=-9999;
- return(amp);
- }
- static void couple_lossless(float A, float B,
- float *qA, float *qB){
- int test1=fabs(*qA)>fabs(*qB);
- test1-= fabs(*qA)<fabs(*qB);
-
- if(!test1)test1=((fabs(A)>fabs(B))<<1)-1;
- if(test1==1){
- *qB=(*qA>0.f?*qA-*qB:*qB-*qA);
- }else{
- float temp=*qB;
- *qB=(*qB>0.f?*qA-*qB:*qB-*qA);
- *qA=temp;
- }
- if(*qB>fabs(*qA)*1.9999f){
- *qB= -fabs(*qA)*2.f;
- *qA= -*qA;
- }
- }
- static float hypot_lookup[32]={
- -0.009935, -0.011245, -0.012726, -0.014397,
- -0.016282, -0.018407, -0.020800, -0.023494,
- -0.026522, -0.029923, -0.033737, -0.038010,
- -0.042787, -0.048121, -0.054064, -0.060671,
- -0.068000, -0.076109, -0.085054, -0.094892,
- -0.105675, -0.117451, -0.130260, -0.144134,
- -0.159093, -0.175146, -0.192286, -0.210490,
- -0.229718, -0.249913, -0.271001, -0.292893};
- static void precomputed_couple_point(float premag,
- int floorA,int floorB,
- float *mag, float *ang){
-
- int test=(floorA>floorB)-1;
- int offset=31-abs(floorA-floorB);
- float floormag=hypot_lookup[((offset<0)-1)&offset]+1.f;
- floormag*=FLOOR1_fromdB_INV_LOOKUP[(floorB&test)|(floorA&(~test))];
- *mag=premag*floormag;
- *ang=0.f;
- }
- /* just like below, this is currently set up to only do
- single-step-depth coupling. Otherwise, we'd have to do more
- copying (which will be inevitable later) */
- /* doing the real circular magnitude calculation is audibly superior
- to (A+B)/sqrt(2) */
- static float dipole_hypot(float a, float b){
- if(a>0.){
- if(b>0.)return sqrt(a*a+b*b);
- if(a>-b)return sqrt(a*a-b*b);
- return -sqrt(b*b-a*a);
- }
- if(b<0.)return -sqrt(a*a+b*b);
- if(-a>b)return -sqrt(a*a-b*b);
- return sqrt(b*b-a*a);
- }
- static float round_hypot(float a, float b){
- if(a>0.){
- if(b>0.)return sqrt(a*a+b*b);
- if(a>-b)return sqrt(a*a+b*b);
- return -sqrt(b*b+a*a);
- }
- if(b<0.)return -sqrt(a*a+b*b);
- if(-a>b)return -sqrt(a*a+b*b);
- return sqrt(b*b+a*a);
- }
- /* revert to round hypot for now */
- float **_vp_quantize_couple_memo(vorbis_block *vb,
- vorbis_info_psy_global *g,
- vorbis_look_psy *p,
- vorbis_info_mapping0 *vi,
- float **mdct){
-
- int i,j,n=p->n;
- float **ret=_vorbis_block_alloc(vb,vi->coupling_steps*sizeof(*ret));
- int limit=g->coupling_pointlimit[p->vi->blockflag][PACKETBLOBS/2];
-
- for(i=0;i<vi->coupling_steps;i++){
- float *mdctM=mdct[vi->coupling_mag[i]];
- float *mdctA=mdct[vi->coupling_ang[i]];
- ret[i]=_vorbis_block_alloc(vb,n*sizeof(**ret));
- for(j=0;j<limit;j++)
- ret[i][j]=dipole_hypot(mdctM[j],mdctA[j]);
- for(;j<n;j++)
- ret[i][j]=round_hypot(mdctM[j],mdctA[j]);
- }
- return(ret);
- }
- /* this is for per-channel noise normalization */
- static int apsort(const void *a, const void *b){
- float f1=fabs(**(float**)a);
- float f2=fabs(**(float**)b);
- return (f1<f2)-(f1>f2);
- }
- int **_vp_quantize_couple_sort(vorbis_block *vb,
- vorbis_look_psy *p,
- vorbis_info_mapping0 *vi,
- float **mags){
- if(p->vi->normal_point_p){
- int i,j,k,n=p->n;
- int **ret=_vorbis_block_alloc(vb,vi->coupling_steps*sizeof(*ret));
- int partition=p->vi->normal_partition;
- float **work=alloca(sizeof(*work)*partition);
-
- for(i=0;i<vi->coupling_steps;i++){
- ret[i]=_vorbis_block_alloc(vb,n*sizeof(**ret));
-
- for(j=0;j<n;j+=partition){
- for(k=0;k<partition;k++)work[k]=mags[i]+k+j;
- qsort(work,partition,sizeof(*work),apsort);
- for(k=0;k<partition;k++)ret[i][k+j]=work[k]-mags[i];
- }
- }
- return(ret);
- }
- return(NULL);
- }
- void _vp_noise_normalize_sort(vorbis_look_psy *p,
- float *magnitudes,int *sortedindex){
- int i,j,n=p->n;
- vorbis_info_psy *vi=p->vi;
- int partition=vi->normal_partition;
- float **work=alloca(sizeof(*work)*partition);
- int start=vi->normal_start;
- for(j=start;j<n;j+=partition){
- if(j+partition>n)partition=n-j;
- for(i=0;i<partition;i++)work[i]=magnitudes+i+j;
- qsort(work,partition,sizeof(*work),apsort);
- for(i=0;i<partition;i++){
- sortedindex[i+j-start]=work[i]-magnitudes;
- }
- }
- }
- void _vp_noise_normalize(vorbis_look_psy *p,
- float *in,float *out,int *sortedindex){
- int flag=0,i,j=0,n=p->n;
- vorbis_info_psy *vi=p->vi;
- int partition=vi->normal_partition;
- int start=vi->normal_start;
- if(start>n)start=n;
- if(vi->normal_channel_p){
- for(;j<start;j++)
- out[j]=rint(in[j]);
-
- for(;j+partition<=n;j+=partition){
- float acc=0.;
- int k;
-
- for(i=j;i<j+partition;i++)
- acc+=in[i]*in[i];
-
- for(i=0;i<partition;i++){
- k=sortedindex[i+j-start];
-
- if(in[k]*in[k]>=.25f){
- out[k]=rint(in[k]);
- acc-=in[k]*in[k];
- flag=1;
- }else{
- if(acc<vi->normal_thresh)break;
- out[k]=unitnorm(in[k]);
- acc-=1.;
- }
- }
-
- for(;i<partition;i++){
- k=sortedindex[i+j-start];
- out[k]=0.;
- }
- }
- }
-
- for(;j<n;j++)
- out[j]=rint(in[j]);
-
- }
- void _vp_couple(int blobno,
- vorbis_info_psy_global *g,
- vorbis_look_psy *p,
- vorbis_info_mapping0 *vi,
- float **res,
- float **mag_memo,
- int **mag_sort,
- int **ifloor,
- int *nonzero,
- int sliding_lowpass){
- int i,j,k,n=p->n;
- /* perform any requested channel coupling */
- /* point stereo can only be used in a first stage (in this encoder)
- because of the dependency on floor lookups */
- for(i=0;i<vi->coupling_steps;i++){
- /* once we're doing multistage coupling in which a channel goes
- through more than one coupling step, the floor vector
- magnitudes will also have to be recalculated an propogated
- along with PCM. Right now, we're not (that will wait until 5.1
- most likely), so the code isn't here yet. The memory management
- here is all assuming single depth couplings anyway. */
- /* make sure coupling a zero and a nonzero channel results in two
- nonzero channels. */
- if(nonzero[vi->coupling_mag[i]] ||
- nonzero[vi->coupling_ang[i]]){
-
- float *rM=res[vi->coupling_mag[i]];
- float *rA=res[vi->coupling_ang[i]];
- float *qM=rM+n;
- float *qA=rA+n;
- int *floorM=ifloor[vi->coupling_mag[i]];
- int *floorA=ifloor[vi->coupling_ang[i]];
- float prepoint=stereo_threshholds[g->coupling_prepointamp[blobno]];
- float postpoint=stereo_threshholds[g->coupling_postpointamp[blobno]];
- int partition=(p->vi->normal_point_p?p->vi->normal_partition:p->n);
- int limit=g->coupling_pointlimit[p->vi->blockflag][blobno];
- int pointlimit=limit;
- nonzero[vi->coupling_mag[i]]=1;
- nonzero[vi->coupling_ang[i]]=1;
- for(j=0;j<p->n;j+=partition){
- float acc=0.f;
- for(k=0;k<partition;k++){
- int l=k+j;
- if(l<sliding_lowpass){
- if((l>=limit && fabs(rM[l])<postpoint && fabs(rA[l])<postpoint) ||
- (fabs(rM[l])<prepoint && fabs(rA[l])<prepoint)){
- precomputed_couple_point(mag_memo[i][l],
- floorM[l],floorA[l],
- qM+l,qA+l);
- if(rint(qM[l])==0.f)acc+=qM[l]*qM[l];
- }else{
- couple_lossless(rM[l],rA[l],qM+l,qA+l);
- }
- }else{
- qM[l]=0.;
- qA[l]=0.;
- }
- }
-
- if(p->vi->normal_point_p){
- for(k=0;k<partition && acc>=p->vi->normal_thresh;k++){
- int l=mag_sort[i][j+k];
- if(l<sliding_lowpass && l>=pointlimit && rint(qM[l])==0.f){
- qM[l]=unitnorm(qM[l]);
- acc-=1.f;
- }
- }
- }
- }
- }
- }
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: *unnormalized* fft transform
- last mod: $Id: smallft.c,v 1.17 2002/07/11 06:40:50 xiphmont Exp $
- ********************************************************************/
- /* FFT implementation from OggSquish, minus cosine transforms,
- * minus all but radix 2/4 case. In Vorbis we only need this
- * cut-down version.
- *
- * To do more than just power-of-two sized vectors, see the full
- * version I wrote for NetLib.
- *
- * Note that the packing is a little strange; rather than the FFT r/i
- * packing following R_0, I_n, R_1, I_1, R_2, I_2 ... R_n-1, I_n-1,
- * it follows R_0, R_1, I_1, R_2, I_2 ... R_n-1, I_n-1, I_n like the
- * FORTRAN version
- */
- static void drfti1(int n, float *wa, int *ifac){
- static int ntryh[4] = { 4,2,3,5 };
- static float tpi = 6.28318530717958648f;
- float arg,argh,argld,fi;
- int ntry=0,i,j=-1;
- int k1, l1, l2, ib;
- int ld, ii, ip, is, nq, nr;
- int ido, ipm, nfm1;
- int nl=n;
- int nf=0;
- L101:
- j++;
- if (j < 4)
- ntry=ntryh[j];
- else
- ntry+=2;
- L104:
- nq=nl/ntry;
- nr=nl-ntry*nq;
- if (nr!=0) goto L101;
- nf++;
- ifac[nf+1]=ntry;
- nl=nq;
- if(ntry!=2)goto L107;
- if(nf==1)goto L107;
- for (i=1;i<nf;i++){
- ib=nf-i+1;
- ifac[ib+1]=ifac[ib];
- }
- ifac[2] = 2;
- L107:
- if(nl!=1)goto L104;
- ifac[0]=n;
- ifac[1]=nf;
- argh=tpi/n;
- is=0;
- nfm1=nf-1;
- l1=1;
- if(nfm1==0)return;
- for (k1=0;k1<nfm1;k1++){
- ip=ifac[k1+2];
- ld=0;
- l2=l1*ip;
- ido=n/l2;
- ipm=ip-1;
- for (j=0;j<ipm;j++){
- ld+=l1;
- i=is;
- argld=(float)ld*argh;
- fi=0.f;
- for (ii=2;ii<ido;ii+=2){
- fi+=1.f;
- arg=fi*argld;
- wa[i++]=cos(arg);
- wa[i++]=sin(arg);
- }
- is+=ido;
- }
- l1=l2;
- }
- }
- static void fdrffti(int n, float *wsave, int *ifac){
- if (n == 1) return;
- drfti1(n, wsave+n, ifac);
- }
- static void dradf2(int ido,int l1,float *cc,float *ch,float *wa1){
- int i,k;
- float ti2,tr2;
- int t0,t1,t2,t3,t4,t5,t6;
- t1=0;
- t0=(t2=l1*ido);
- t3=ido<<1;
- for(k=0;k<l1;k++){
- ch[t1<<1]=cc[t1]+cc[t2];
- ch[(t1<<1)+t3-1]=cc[t1]-cc[t2];
- t1+=ido;
- t2+=ido;
- }
-
- if(ido<2)return;
- if(ido==2)goto L105;
- t1=0;
- t2=t0;
- for(k=0;k<l1;k++){
- t3=t2;
- t4=(t1<<1)+(ido<<1);
- t5=t1;
- t6=t1+t1;
- for(i=2;i<ido;i+=2){
- t3+=2;
- t4-=2;
- t5+=2;
- t6+=2;
- tr2=wa1[i-2]*cc[t3-1]+wa1[i-1]*cc[t3];
- ti2=wa1[i-2]*cc[t3]-wa1[i-1]*cc[t3-1];
- ch[t6]=cc[t5]+ti2;
- ch[t4]=ti2-cc[t5];
- ch[t6-1]=cc[t5-1]+tr2;
- ch[t4-1]=cc[t5-1]-tr2;
- }
- t1+=ido;
- t2+=ido;
- }
- if(ido%2==1)return;
- L105:
- t3=(t2=(t1=ido)-1);
- t2+=t0;
- for(k=0;k<l1;k++){
- ch[t1]=-cc[t2];
- ch[t1-1]=cc[t3];
- t1+=ido<<1;
- t2+=ido;
- t3+=ido;
- }
- }
- static void dradf4(int ido,int l1,float *cc,float *ch,float *wa1,
- float *wa2,float *wa3){
- static float hsqt2 = .70710678118654752f;
- int i,k,t0,t1,t2,t3,t4,t5,t6;
- float ci2,ci3,ci4,cr2,cr3,cr4,ti1,ti2,ti3,ti4,tr1,tr2,tr3,tr4;
- t0=l1*ido;
-
- t1=t0;
- t4=t1<<1;
- t2=t1+(t1<<1);
- t3=0;
- for(k=0;k<l1;k++){
- tr1=cc[t1]+cc[t2];
- tr2=cc[t3]+cc[t4];
- ch[t5=t3<<2]=tr1+tr2;
- ch[(ido<<2)+t5-1]=tr2-tr1;
- ch[(t5+=(ido<<1))-1]=cc[t3]-cc[t4];
- ch[t5]=cc[t2]-cc[t1];
- t1+=ido;
- t2+=ido;
- t3+=ido;
- t4+=ido;
- }
- if(ido<2)return;
- if(ido==2)goto L105;
- t1=0;
- for(k=0;k<l1;k++){
- t2=t1;
- t4=t1<<2;
- t5=(t6=ido<<1)+t4;
- for(i=2;i<ido;i+=2){
- t3=(t2+=2);
- t4+=2;
- t5-=2;
- t3+=t0;
- cr2=wa1[i-2]*cc[t3-1]+wa1[i-1]*cc[t3];
- ci2=wa1[i-2]*cc[t3]-wa1[i-1]*cc[t3-1];
- t3+=t0;
- cr3=wa2[i-2]*cc[t3-1]+wa2[i-1]*cc[t3];
- ci3=wa2[i-2]*cc[t3]-wa2[i-1]*cc[t3-1];
- t3+=t0;
- cr4=wa3[i-2]*cc[t3-1]+wa3[i-1]*cc[t3];
- ci4=wa3[i-2]*cc[t3]-wa3[i-1]*cc[t3-1];
- tr1=cr2+cr4;
- tr4=cr4-cr2;
- ti1=ci2+ci4;
- ti4=ci2-ci4;
- ti2=cc[t2]+ci3;
- ti3=cc[t2]-ci3;
- tr2=cc[t2-1]+cr3;
- tr3=cc[t2-1]-cr3;
- ch[t4-1]=tr1+tr2;
- ch[t4]=ti1+ti2;
- ch[t5-1]=tr3-ti4;
- ch[t5]=tr4-ti3;
- ch[t4+t6-1]=ti4+tr3;
- ch[t4+t6]=tr4+ti3;
- ch[t5+t6-1]=tr2-tr1;
- ch[t5+t6]=ti1-ti2;
- }
- t1+=ido;
- }
- if(ido&1)return;
- L105:
-
- t2=(t1=t0+ido-1)+(t0<<1);
- t3=ido<<2;
- t4=ido;
- t5=ido<<1;
- t6=ido;
- for(k=0;k<l1;k++){
- ti1=-hsqt2*(cc[t1]+cc[t2]);
- tr1=hsqt2*(cc[t1]-cc[t2]);
- ch[t4-1]=tr1+cc[t6-1];
- ch[t4+t5-1]=cc[t6-1]-tr1;
- ch[t4]=ti1-cc[t1+t0];
- ch[t4+t5]=ti1+cc[t1+t0];
- t1+=ido;
- t2+=ido;
- t4+=t3;
- t6+=ido;
- }
- }
- static void dradfg(int ido,int ip,int l1,int idl1,float *cc,float *c1,
- float *c2,float *ch,float *ch2,float *wa){
- static float tpi=6.283185307179586f;
- int idij,ipph,i,j,k,l,ic,ik,is;
- int t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,t10;
- float dc2,ai1,ai2,ar1,ar2,ds2;
- int nbd;
- float dcp,arg,dsp,ar1h,ar2h;
- int idp2,ipp2;
-
- arg=tpi/(float)ip;
- dcp=cos(arg);
- dsp=sin(arg);
- ipph=(ip+1)>>1;
- ipp2=ip;
- idp2=ido;
- nbd=(ido-1)>>1;
- t0=l1*ido;
- t10=ip*ido;
- if(ido==1)goto L119;
- for(ik=0;ik<idl1;ik++)ch2[ik]=c2[ik];
- t1=0;
- for(j=1;j<ip;j++){
- t1+=t0;
- t2=t1;
- for(k=0;k<l1;k++){
- ch[t2]=c1[t2];
- t2+=ido;
- }
- }
- is=-ido;
- t1=0;
- if(nbd>l1){
- for(j=1;j<ip;j++){
- t1+=t0;
- is+=ido;
- t2= -ido+t1;
- for(k=0;k<l1;k++){
- idij=is-1;
- t2+=ido;
- t3=t2;
- for(i=2;i<ido;i+=2){
- idij+=2;
- t3+=2;
- ch[t3-1]=wa[idij-1]*c1[t3-1]+wa[idij]*c1[t3];
- ch[t3]=wa[idij-1]*c1[t3]-wa[idij]*c1[t3-1];
- }
- }
- }
- }else{
- for(j=1;j<ip;j++){
- is+=ido;
- idij=is-1;
- t1+=t0;
- t2=t1;
- for(i=2;i<ido;i+=2){
- idij+=2;
- t2+=2;
- t3=t2;
- for(k=0;k<l1;k++){
- ch[t3-1]=wa[idij-1]*c1[t3-1]+wa[idij]*c1[t3];
- ch[t3]=wa[idij-1]*c1[t3]-wa[idij]*c1[t3-1];
- t3+=ido;
- }
- }
- }
- }
- t1=0;
- t2=ipp2*t0;
- if(nbd<l1){
- for(j=1;j<ipph;j++){
- t1+=t0;
- t2-=t0;
- t3=t1;
- t4=t2;
- for(i=2;i<ido;i+=2){
- t3+=2;
- t4+=2;
- t5=t3-ido;
- t6=t4-ido;
- for(k=0;k<l1;k++){
- t5+=ido;
- t6+=ido;
- c1[t5-1]=ch[t5-1]+ch[t6-1];
- c1[t6-1]=ch[t5]-ch[t6];
- c1[t5]=ch[t5]+ch[t6];
- c1[t6]=ch[t6-1]-ch[t5-1];
- }
- }
- }
- }else{
- for(j=1;j<ipph;j++){
- t1+=t0;
- t2-=t0;
- t3=t1;
- t4=t2;
- for(k=0;k<l1;k++){
- t5=t3;
- t6=t4;
- for(i=2;i<ido;i+=2){
- t5+=2;
- t6+=2;
- c1[t5-1]=ch[t5-1]+ch[t6-1];
- c1[t6-1]=ch[t5]-ch[t6];
- c1[t5]=ch[t5]+ch[t6];
- c1[t6]=ch[t6-1]-ch[t5-1];
- }
- t3+=ido;
- t4+=ido;
- }
- }
- }
- L119:
- for(ik=0;ik<idl1;ik++)c2[ik]=ch2[ik];
- t1=0;
- t2=ipp2*idl1;
- for(j=1;j<ipph;j++){
- t1+=t0;
- t2-=t0;
- t3=t1-ido;
- t4=t2-ido;
- for(k=0;k<l1;k++){
- t3+=ido;
- t4+=ido;
- c1[t3]=ch[t3]+ch[t4];
- c1[t4]=ch[t4]-ch[t3];
- }
- }
- ar1=1.f;
- ai1=0.f;
- t1=0;
- t2=ipp2*idl1;
- t3=(ip-1)*idl1;
- for(l=1;l<ipph;l++){
- t1+=idl1;
- t2-=idl1;
- ar1h=dcp*ar1-dsp*ai1;
- ai1=dcp*ai1+dsp*ar1;
- ar1=ar1h;
- t4=t1;
- t5=t2;
- t6=t3;
- t7=idl1;
- for(ik=0;ik<idl1;ik++){
- ch2[t4++]=c2[ik]+ar1*c2[t7++];
- ch2[t5++]=ai1*c2[t6++];
- }
- dc2=ar1;
- ds2=ai1;
- ar2=ar1;
- ai2=ai1;
- t4=idl1;
- t5=(ipp2-1)*idl1;
- for(j=2;j<ipph;j++){
- t4+=idl1;
- t5-=idl1;
- ar2h=dc2*ar2-ds2*ai2;
- ai2=dc2*ai2+ds2*ar2;
- ar2=ar2h;
- t6=t1;
- t7=t2;
- t8=t4;
- t9=t5;
- for(ik=0;ik<idl1;ik++){
- ch2[t6++]+=ar2*c2[t8++];
- ch2[t7++]+=ai2*c2[t9++];
- }
- }
- }
- t1=0;
- for(j=1;j<ipph;j++){
- t1+=idl1;
- t2=t1;
- for(ik=0;ik<idl1;ik++)ch2[ik]+=c2[t2++];
- }
- if(ido<l1)goto L132;
- t1=0;
- t2=0;
- for(k=0;k<l1;k++){
- t3=t1;
- t4=t2;
- for(i=0;i<ido;i++)cc[t4++]=ch[t3++];
- t1+=ido;
- t2+=t10;
- }
- goto L135;
- L132:
- for(i=0;i<ido;i++){
- t1=i;
- t2=i;
- for(k=0;k<l1;k++){
- cc[t2]=ch[t1];
- t1+=ido;
- t2+=t10;
- }
- }
- L135:
- t1=0;
- t2=ido<<1;
- t3=0;
- t4=ipp2*t0;
- for(j=1;j<ipph;j++){
- t1+=t2;
- t3+=t0;
- t4-=t0;
- t5=t1;
- t6=t3;
- t7=t4;
- for(k=0;k<l1;k++){
- cc[t5-1]=ch[t6];
- cc[t5]=ch[t7];
- t5+=t10;
- t6+=ido;
- t7+=ido;
- }
- }
- if(ido==1)return;
- if(nbd<l1)goto L141;
- t1=-ido;
- t3=0;
- t4=0;
- t5=ipp2*t0;
- for(j=1;j<ipph;j++){
- t1+=t2;
- t3+=t2;
- t4+=t0;
- t5-=t0;
- t6=t1;
- t7=t3;
- t8=t4;
- t9=t5;
- for(k=0;k<l1;k++){
- for(i=2;i<ido;i+=2){
- ic=idp2-i;
- cc[i+t7-1]=ch[i+t8-1]+ch[i+t9-1];
- cc[ic+t6-1]=ch[i+t8-1]-ch[i+t9-1];
- cc[i+t7]=ch[i+t8]+ch[i+t9];
- cc[ic+t6]=ch[i+t9]-ch[i+t8];
- }
- t6+=t10;
- t7+=t10;
- t8+=ido;
- t9+=ido;
- }
- }
- return;
- L141:
- t1=-ido;
- t3=0;
- t4=0;
- t5=ipp2*t0;
- for(j=1;j<ipph;j++){
- t1+=t2;
- t3+=t2;
- t4+=t0;
- t5-=t0;
- for(i=2;i<ido;i+=2){
- t6=idp2+t1-i;
- t7=i+t3;
- t8=i+t4;
- t9=i+t5;
- for(k=0;k<l1;k++){
- cc[t7-1]=ch[t8-1]+ch[t9-1];
- cc[t6-1]=ch[t8-1]-ch[t9-1];
- cc[t7]=ch[t8]+ch[t9];
- cc[t6]=ch[t9]-ch[t8];
- t6+=t10;
- t7+=t10;
- t8+=ido;
- t9+=ido;
- }
- }
- }
- }
- static void drftf1(int n,float *c,float *ch,float *wa,int *ifac){
- int i,k1,l1,l2;
- int na,kh,nf;
- int ip,iw,ido,idl1,ix2,ix3;
- nf=ifac[1];
- na=1;
- l2=n;
- iw=n;
- for(k1=0;k1<nf;k1++){
- kh=nf-k1;
- ip=ifac[kh+1];
- l1=l2/ip;
- ido=n/l2;
- idl1=ido*l1;
- iw-=(ip-1)*ido;
- na=1-na;
- if(ip!=4)goto L102;
- ix2=iw+ido;
- ix3=ix2+ido;
- if(na!=0)
- dradf4(ido,l1,ch,c,wa+iw-1,wa+ix2-1,wa+ix3-1);
- else
- dradf4(ido,l1,c,ch,wa+iw-1,wa+ix2-1,wa+ix3-1);
- goto L110;
- L102:
- if(ip!=2)goto L104;
- if(na!=0)goto L103;
- dradf2(ido,l1,c,ch,wa+iw-1);
- goto L110;
- L103:
- dradf2(ido,l1,ch,c,wa+iw-1);
- goto L110;
- L104:
- if(ido==1)na=1-na;
- if(na!=0)goto L109;
- dradfg(ido,ip,l1,idl1,c,c,c,ch,ch,wa+iw-1);
- na=1;
- goto L110;
- L109:
- dradfg(ido,ip,l1,idl1,ch,ch,ch,c,c,wa+iw-1);
- na=0;
- L110:
- l2=l1;
- }
- if(na==1)return;
- for(i=0;i<n;i++)c[i]=ch[i];
- }
- static void dradb2(int ido,int l1,float *cc,float *ch,float *wa1){
- int i,k,t0,t1,t2,t3,t4,t5,t6;
- float ti2,tr2;
- t0=l1*ido;
-
- t1=0;
- t2=0;
- t3=(ido<<1)-1;
- for(k=0;k<l1;k++){
- ch[t1]=cc[t2]+cc[t3+t2];
- ch[t1+t0]=cc[t2]-cc[t3+t2];
- t2=(t1+=ido)<<1;
- }
- if(ido<2)return;
- if(ido==2)goto L105;
- t1=0;
- t2=0;
- for(k=0;k<l1;k++){
- t3=t1;
- t5=(t4=t2)+(ido<<1);
- t6=t0+t1;
- for(i=2;i<ido;i+=2){
- t3+=2;
- t4+=2;
- t5-=2;
- t6+=2;
- ch[t3-1]=cc[t4-1]+cc[t5-1];
- tr2=cc[t4-1]-cc[t5-1];
- ch[t3]=cc[t4]-cc[t5];
- ti2=cc[t4]+cc[t5];
- ch[t6-1]=wa1[i-2]*tr2-wa1[i-1]*ti2;
- ch[t6]=wa1[i-2]*ti2+wa1[i-1]*tr2;
- }
- t2=(t1+=ido)<<1;
- }
- if(ido%2==1)return;
- L105:
- t1=ido-1;
- t2=ido-1;
- for(k=0;k<l1;k++){
- ch[t1]=cc[t2]+cc[t2];
- ch[t1+t0]=-(cc[t2+1]+cc[t2+1]);
- t1+=ido;
- t2+=ido<<1;
- }
- }
- static void dradb3(int ido,int l1,float *cc,float *ch,float *wa1,
- float *wa2){
- static float taur = -.5f;
- static float taui = .8660254037844386f;
- int i,k,t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,t10;
- float ci2,ci3,di2,di3,cr2,cr3,dr2,dr3,ti2,tr2;
- t0=l1*ido;
- t1=0;
- t2=t0<<1;
- t3=ido<<1;
- t4=ido+(ido<<1);
- t5=0;
- for(k=0;k<l1;k++){
- tr2=cc[t3-1]+cc[t3-1];
- cr2=cc[t5]+(taur*tr2);
- ch[t1]=cc[t5]+tr2;
- ci3=taui*(cc[t3]+cc[t3]);
- ch[t1+t0]=cr2-ci3;
- ch[t1+t2]=cr2+ci3;
- t1+=ido;
- t3+=t4;
- t5+=t4;
- }
- if(ido==1)return;
- t1=0;
- t3=ido<<1;
- for(k=0;k<l1;k++){
- t7=t1+(t1<<1);
- t6=(t5=t7+t3);
- t8=t1;
- t10=(t9=t1+t0)+t0;
- for(i=2;i<ido;i+=2){
- t5+=2;
- t6-=2;
- t7+=2;
- t8+=2;
- t9+=2;
- t10+=2;
- tr2=cc[t5-1]+cc[t6-1];
- cr2=cc[t7-1]+(taur*tr2);
- ch[t8-1]=cc[t7-1]+tr2;
- ti2=cc[t5]-cc[t6];
- ci2=cc[t7]+(taur*ti2);
- ch[t8]=cc[t7]+ti2;
- cr3=taui*(cc[t5-1]-cc[t6-1]);
- ci3=taui*(cc[t5]+cc[t6]);
- dr2=cr2-ci3;
- dr3=cr2+ci3;
- di2=ci2+cr3;
- di3=ci2-cr3;
- ch[t9-1]=wa1[i-2]*dr2-wa1[i-1]*di2;
- ch[t9]=wa1[i-2]*di2+wa1[i-1]*dr2;
- ch[t10-1]=wa2[i-2]*dr3-wa2[i-1]*di3;
- ch[t10]=wa2[i-2]*di3+wa2[i-1]*dr3;
- }
- t1+=ido;
- }
- }
- static void dradb4(int ido,int l1,float *cc,float *ch,float *wa1,
- float *wa2,float *wa3){
- static float sqrt2=1.414213562373095f;
- int i,k,t0,t1,t2,t3,t4,t5,t6,t7,t8;
- float ci2,ci3,ci4,cr2,cr3,cr4,ti1,ti2,ti3,ti4,tr1,tr2,tr3,tr4;
- t0=l1*ido;
-
- t1=0;
- t2=ido<<2;
- t3=0;
- t6=ido<<1;
- for(k=0;k<l1;k++){
- t4=t3+t6;
- t5=t1;
- tr3=cc[t4-1]+cc[t4-1];
- tr4=cc[t4]+cc[t4];
- tr1=cc[t3]-cc[(t4+=t6)-1];
- tr2=cc[t3]+cc[t4-1];
- ch[t5]=tr2+tr3;
- ch[t5+=t0]=tr1-tr4;
- ch[t5+=t0]=tr2-tr3;
- ch[t5+=t0]=tr1+tr4;
- t1+=ido;
- t3+=t2;
- }
- if(ido<2)return;
- if(ido==2)goto L105;
- t1=0;
- for(k=0;k<l1;k++){
- t5=(t4=(t3=(t2=t1<<2)+t6))+t6;
- t7=t1;
- for(i=2;i<ido;i+=2){
- t2+=2;
- t3+=2;
- t4-=2;
- t5-=2;
- t7+=2;
- ti1=cc[t2]+cc[t5];
- ti2=cc[t2]-cc[t5];
- ti3=cc[t3]-cc[t4];
- tr4=cc[t3]+cc[t4];
- tr1=cc[t2-1]-cc[t5-1];
- tr2=cc[t2-1]+cc[t5-1];
- ti4=cc[t3-1]-cc[t4-1];
- tr3=cc[t3-1]+cc[t4-1];
- ch[t7-1]=tr2+tr3;
- cr3=tr2-tr3;
- ch[t7]=ti2+ti3;
- ci3=ti2-ti3;
- cr2=tr1-tr4;
- cr4=tr1+tr4;
- ci2=ti1+ti4;
- ci4=ti1-ti4;
- ch[(t8=t7+t0)-1]=wa1[i-2]*cr2-wa1[i-1]*ci2;
- ch[t8]=wa1[i-2]*ci2+wa1[i-1]*cr2;
- ch[(t8+=t0)-1]=wa2[i-2]*cr3-wa2[i-1]*ci3;
- ch[t8]=wa2[i-2]*ci3+wa2[i-1]*cr3;
- ch[(t8+=t0)-1]=wa3[i-2]*cr4-wa3[i-1]*ci4;
- ch[t8]=wa3[i-2]*ci4+wa3[i-1]*cr4;
- }
- t1+=ido;
- }
- if(ido%2 == 1)return;
- L105:
- t1=ido;
- t2=ido<<2;
- t3=ido-1;
- t4=ido+(ido<<1);
- for(k=0;k<l1;k++){
- t5=t3;
- ti1=cc[t1]+cc[t4];
- ti2=cc[t4]-cc[t1];
- tr1=cc[t1-1]-cc[t4-1];
- tr2=cc[t1-1]+cc[t4-1];
- ch[t5]=tr2+tr2;
- ch[t5+=t0]=sqrt2*(tr1-ti1);
- ch[t5+=t0]=ti2+ti2;
- ch[t5+=t0]=-sqrt2*(tr1+ti1);
- t3+=ido;
- t1+=t2;
- t4+=t2;
- }
- }
- static void dradbg(int ido,int ip,int l1,int idl1,float *cc,float *c1,
- float *c2,float *ch,float *ch2,float *wa){
- static float tpi=6.283185307179586f;
- int idij,ipph,i,j,k,l,ik,is,t0,t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,
- t11,t12;
- float dc2,ai1,ai2,ar1,ar2,ds2;
- int nbd;
- float dcp,arg,dsp,ar1h,ar2h;
- int ipp2;
- t10=ip*ido;
- t0=l1*ido;
- arg=tpi/(float)ip;
- dcp=cos(arg);
- dsp=sin(arg);
- nbd=(ido-1)>>1;
- ipp2=ip;
- ipph=(ip+1)>>1;
- if(ido<l1)goto L103;
-
- t1=0;
- t2=0;
- for(k=0;k<l1;k++){
- t3=t1;
- t4=t2;
- for(i=0;i<ido;i++){
- ch[t3]=cc[t4];
- t3++;
- t4++;
- }
- t1+=ido;
- t2+=t10;
- }
- goto L106;
- L103:
- t1=0;
- for(i=0;i<ido;i++){
- t2=t1;
- t3=t1;
- for(k=0;k<l1;k++){
- ch[t2]=cc[t3];
- t2+=ido;
- t3+=t10;
- }
- t1++;
- }
- L106:
- t1=0;
- t2=ipp2*t0;
- t7=(t5=ido<<1);
- for(j=1;j<ipph;j++){
- t1+=t0;
- t2-=t0;
- t3=t1;
- t4=t2;
- t6=t5;
- for(k=0;k<l1;k++){
- ch[t3]=cc[t6-1]+cc[t6-1];
- ch[t4]=cc[t6]+cc[t6];
- t3+=ido;
- t4+=ido;
- t6+=t10;
- }
- t5+=t7;
- }
- if (ido == 1)goto L116;
- if(nbd<l1)goto L112;
- t1=0;
- t2=ipp2*t0;
- t7=0;
- for(j=1;j<ipph;j++){
- t1+=t0;
- t2-=t0;
- t3=t1;
- t4=t2;
- t7+=(ido<<1);
- t8=t7;
- for(k=0;k<l1;k++){
- t5=t3;
- t6=t4;
- t9=t8;
- t11=t8;
- for(i=2;i<ido;i+=2){
- t5+=2;
- t6+=2;
- t9+=2;
- t11-=2;
- ch[t5-1]=cc[t9-1]+cc[t11-1];
- ch[t6-1]=cc[t9-1]-cc[t11-1];
- ch[t5]=cc[t9]-cc[t11];
- ch[t6]=cc[t9]+cc[t11];
- }
- t3+=ido;
- t4+=ido;
- t8+=t10;
- }
- }
- goto L116;
- L112:
- t1=0;
- t2=ipp2*t0;
- t7=0;
- for(j=1;j<ipph;j++){
- t1+=t0;
- t2-=t0;
- t3=t1;
- t4=t2;
- t7+=(ido<<1);
- t8=t7;
- t9=t7;
- for(i=2;i<ido;i+=2){
- t3+=2;
- t4+=2;
- t8+=2;
- t9-=2;
- t5=t3;
- t6=t4;
- t11=t8;
- t12=t9;
- for(k=0;k<l1;k++){
- ch[t5-1]=cc[t11-1]+cc[t12-1];
- ch[t6-1]=cc[t11-1]-cc[t12-1];
- ch[t5]=cc[t11]-cc[t12];
- ch[t6]=cc[t11]+cc[t12];
- t5+=ido;
- t6+=ido;
- t11+=t10;
- t12+=t10;
- }
- }
- }
- L116:
- ar1=1.f;
- ai1=0.f;
- t1=0;
- t9=(t2=ipp2*idl1);
- t3=(ip-1)*idl1;
- for(l=1;l<ipph;l++){
- t1+=idl1;
- t2-=idl1;
- ar1h=dcp*ar1-dsp*ai1;
- ai1=dcp*ai1+dsp*ar1;
- ar1=ar1h;
- t4=t1;
- t5=t2;
- t6=0;
- t7=idl1;
- t8=t3;
- for(ik=0;ik<idl1;ik++){
- c2[t4++]=ch2[t6++]+ar1*ch2[t7++];
- c2[t5++]=ai1*ch2[t8++];
- }
- dc2=ar1;
- ds2=ai1;
- ar2=ar1;
- ai2=ai1;
- t6=idl1;
- t7=t9-idl1;
- for(j=2;j<ipph;j++){
- t6+=idl1;
- t7-=idl1;
- ar2h=dc2*ar2-ds2*ai2;
- ai2=dc2*ai2+ds2*ar2;
- ar2=ar2h;
- t4=t1;
- t5=t2;
- t11=t6;
- t12=t7;
- for(ik=0;ik<idl1;ik++){
- c2[t4++]+=ar2*ch2[t11++];
- c2[t5++]+=ai2*ch2[t12++];
- }
- }
- }
- t1=0;
- for(j=1;j<ipph;j++){
- t1+=idl1;
- t2=t1;
- for(ik=0;ik<idl1;ik++)ch2[ik]+=ch2[t2++];
- }
- t1=0;
- t2=ipp2*t0;
- for(j=1;j<ipph;j++){
- t1+=t0;
- t2-=t0;
- t3=t1;
- t4=t2;
- for(k=0;k<l1;k++){
- ch[t3]=c1[t3]-c1[t4];
- ch[t4]=c1[t3]+c1[t4];
- t3+=ido;
- t4+=ido;
- }
- }
- if(ido==1)goto L132;
- if(nbd<l1)goto L128;
- t1=0;
- t2=ipp2*t0;
- for(j=1;j<ipph;j++){
- t1+=t0;
- t2-=t0;
- t3=t1;
- t4=t2;
- for(k=0;k<l1;k++){
- t5=t3;
- t6=t4;
- for(i=2;i<ido;i+=2){
- t5+=2;
- t6+=2;
- ch[t5-1]=c1[t5-1]-c1[t6];
- ch[t6-1]=c1[t5-1]+c1[t6];
- ch[t5]=c1[t5]+c1[t6-1];
- ch[t6]=c1[t5]-c1[t6-1];
- }
- t3+=ido;
- t4+=ido;
- }
- }
- goto L132;
- L128:
- t1=0;
- t2=ipp2*t0;
- for(j=1;j<ipph;j++){
- t1+=t0;
- t2-=t0;
- t3=t1;
- t4=t2;
- for(i=2;i<ido;i+=2){
- t3+=2;
- t4+=2;
- t5=t3;
- t6=t4;
- for(k=0;k<l1;k++){
- ch[t5-1]=c1[t5-1]-c1[t6];
- ch[t6-1]=c1[t5-1]+c1[t6];
- ch[t5]=c1[t5]+c1[t6-1];
- ch[t6]=c1[t5]-c1[t6-1];
- t5+=ido;
- t6+=ido;
- }
- }
- }
- L132:
- if(ido==1)return;
- for(ik=0;ik<idl1;ik++)c2[ik]=ch2[ik];
- t1=0;
- for(j=1;j<ip;j++){
- t2=(t1+=t0);
- for(k=0;k<l1;k++){
- c1[t2]=ch[t2];
- t2+=ido;
- }
- }
- if(nbd>l1)goto L139;
- is= -ido-1;
- t1=0;
- for(j=1;j<ip;j++){
- is+=ido;
- t1+=t0;
- idij=is;
- t2=t1;
- for(i=2;i<ido;i+=2){
- t2+=2;
- idij+=2;
- t3=t2;
- for(k=0;k<l1;k++){
- c1[t3-1]=wa[idij-1]*ch[t3-1]-wa[idij]*ch[t3];
- c1[t3]=wa[idij-1]*ch[t3]+wa[idij]*ch[t3-1];
- t3+=ido;
- }
- }
- }
- return;
- L139:
- is= -ido-1;
- t1=0;
- for(j=1;j<ip;j++){
- is+=ido;
- t1+=t0;
- t2=t1;
- for(k=0;k<l1;k++){
- idij=is;
- t3=t2;
- for(i=2;i<ido;i+=2){
- idij+=2;
- t3+=2;
- c1[t3-1]=wa[idij-1]*ch[t3-1]-wa[idij]*ch[t3];
- c1[t3]=wa[idij-1]*ch[t3]+wa[idij]*ch[t3-1];
- }
- t2+=ido;
- }
- }
- }
- static void drftb1(int n, float *c, float *ch, float *wa, int *ifac){
- int i,k1,l1,l2;
- int na;
- int nf,ip,iw,ix2,ix3,ido,idl1;
- nf=ifac[1];
- na=0;
- l1=1;
- iw=1;
- for(k1=0;k1<nf;k1++){
- ip=ifac[k1 + 2];
- l2=ip*l1;
- ido=n/l2;
- idl1=ido*l1;
- if(ip!=4)goto L103;
- ix2=iw+ido;
- ix3=ix2+ido;
- if(na!=0)
- dradb4(ido,l1,ch,c,wa+iw-1,wa+ix2-1,wa+ix3-1);
- else
- dradb4(ido,l1,c,ch,wa+iw-1,wa+ix2-1,wa+ix3-1);
- na=1-na;
- goto L115;
- L103:
- if(ip!=2)goto L106;
- if(na!=0)
- dradb2(ido,l1,ch,c,wa+iw-1);
- else
- dradb2(ido,l1,c,ch,wa+iw-1);
- na=1-na;
- goto L115;
- L106:
- if(ip!=3)goto L109;
- ix2=iw+ido;
- if(na!=0)
- dradb3(ido,l1,ch,c,wa+iw-1,wa+ix2-1);
- else
- dradb3(ido,l1,c,ch,wa+iw-1,wa+ix2-1);
- na=1-na;
- goto L115;
- L109:
- /* The radix five case can be translated later..... */
- /* if(ip!=5)goto L112;
- ix2=iw+ido;
- ix3=ix2+ido;
- ix4=ix3+ido;
- if(na!=0)
- dradb5(ido,l1,ch,c,wa+iw-1,wa+ix2-1,wa+ix3-1,wa+ix4-1);
- else
- dradb5(ido,l1,c,ch,wa+iw-1,wa+ix2-1,wa+ix3-1,wa+ix4-1);
- na=1-na;
- goto L115;
- L112:*/
- if(na!=0)
- dradbg(ido,ip,l1,idl1,ch,ch,ch,c,c,wa+iw-1);
- else
- dradbg(ido,ip,l1,idl1,c,c,c,ch,ch,wa+iw-1);
- if(ido==1)na=1-na;
- L115:
- l1=l2;
- iw+=(ip-1)*ido;
- }
- if(na==0)return;
- for(i=0;i<n;i++)c[i]=ch[i];
- }
- void drft_forward(drft_lookup *l,float *data){
- if(l->n==1)return;
- drftf1(l->n,data,l->trigcache,l->trigcache+l->n,l->splitcache);
- }
- void drft_backward(drft_lookup *l,float *data){
- if (l->n==1)return;
- drftb1(l->n,data,l->trigcache,l->trigcache+l->n,l->splitcache);
- }
- void drft_init(drft_lookup *l,int n){
- l->n=n;
- l->trigcache=_ogg_calloc(3*n,sizeof(*l->trigcache));
- l->splitcache=_ogg_calloc(32,sizeof(*l->splitcache));
- fdrffti(n, l->trigcache, l->splitcache);
- }
- void drft_clear(drft_lookup *l){
- if(l){
- if(l->trigcache)_ogg_free(l->trigcache);
- if(l->splitcache)_ogg_free(l->splitcache);
- memset(l,0,sizeof(*l));
- }
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: PCM data envelope analysis
- last mod: $Id: envelope.c,v 1.54 2003/09/05 23:17:49 giles Exp $
- ********************************************************************/
- void _ve_envelope_init(envelope_lookup *e,vorbis_info *vi){
- codec_setup_info *ci=vi->codec_setup;
- vorbis_info_psy_global *gi=&ci->psy_g_param;
- int ch=vi->channels;
- int i,j;
- int n=e->winlength=128;
- e->searchstep=64; /* not random */
- e->minenergy=gi->preecho_minenergy;
- e->ch=ch;
- e->storage=128;
- e->cursor=ci->blocksizes[1]/2;
- e->mdct_win=_ogg_calloc(n,sizeof(*e->mdct_win));
- mdct_init(&e->mdct,n);
- for(i=0;i<n;i++){
- e->mdct_win[i]=sin(i/(n-1.)*M_PI);
- e->mdct_win[i]*=e->mdct_win[i];
- }
- /* magic follows */
- e->band[0].begin=2; e->band[0].end=4;
- e->band[1].begin=4; e->band[1].end=5;
- e->band[2].begin=6; e->band[2].end=6;
- e->band[3].begin=9; e->band[3].end=8;
- e->band[4].begin=13; e->band[4].end=8;
- e->band[5].begin=17; e->band[5].end=8;
- e->band[6].begin=22; e->band[6].end=8;
- for(j=0;j<VE_BANDS;j++){
- n=e->band[j].end;
- e->band[j].window=_ogg_malloc(n*sizeof(*e->band[0].window));
- for(i=0;i<n;i++){
- e->band[j].window[i]=sin((i+.5)/n*M_PI);
- e->band[j].total+=e->band[j].window[i];
- }
- e->band[j].total=1./e->band[j].total;
- }
-
- e->filter=_ogg_calloc(VE_BANDS*ch,sizeof(*e->filter));
- e->mark=_ogg_calloc(e->storage,sizeof(*e->mark));
- }
- void _ve_envelope_clear(envelope_lookup *e){
- int i;
- mdct_clear(&e->mdct);
- for(i=0;i<VE_BANDS;i++)
- _ogg_free(e->band[i].window);
- _ogg_free(e->mdct_win);
- _ogg_free(e->filter);
- _ogg_free(e->mark);
- memset(e,0,sizeof(*e));
- }
- /* fairly straight threshhold-by-band based until we find something
- that works better and isn't patented. */
- static int _ve_amp(envelope_lookup *ve,
- vorbis_info_psy_global *gi,
- float *data,
- envelope_band *bands,
- envelope_filter_state *filters,
- long pos){
- long n=ve->winlength;
- int ret=0;
- long i,j;
- float decay;
- /* we want to have a 'minimum bar' for energy, else we're just
- basing blocks on quantization noise that outweighs the signal
- itself (for low power signals) */
- float minV=ve->minenergy;
- float *vec=alloca(n*sizeof(*vec));
- /* stretch is used to gradually lengthen the number of windows
- considered prevoius-to-potential-trigger */
- int stretch=max(VE_MINSTRETCH,ve->stretch/2);
- float penalty=gi->stretch_penalty-(ve->stretch/2-VE_MINSTRETCH);
- if(penalty<0.f)penalty=0.f;
- if(penalty>gi->stretch_penalty)penalty=gi->stretch_penalty;
-
- /*_analysis_output_always("lpcm",seq2,data,n,0,0,
- totalshift+pos*ve->searchstep);*/
-
- /* window and transform */
- for(i=0;i<n;i++)
- vec[i]=data[i]*ve->mdct_win[i];
- mdct_forward(&ve->mdct,vec,vec);
-
- /*_analysis_output_always("mdct",seq2,vec,n/2,0,1,0); */
- /* near-DC spreading function; this has nothing to do with
- psychoacoustics, just sidelobe leakage and window size */
- {
- float temp=vec[0]*vec[0]+.7*vec[1]*vec[1]+.2*vec[2]*vec[2];
- int ptr=filters->nearptr;
- /* the accumulation is regularly refreshed from scratch to avoid
- floating point creep */
- if(ptr==0){
- decay=filters->nearDC_acc=filters->nearDC_partialacc+temp;
- filters->nearDC_partialacc=temp;
- }else{
- decay=filters->nearDC_acc+=temp;
- filters->nearDC_partialacc+=temp;
- }
- filters->nearDC_acc-=filters->nearDC[ptr];
- filters->nearDC[ptr]=temp;
- decay*=(1./(VE_NEARDC+1));
- filters->nearptr++;
- if(filters->nearptr>=VE_NEARDC)filters->nearptr=0;
- decay=todB(&decay)*.5-15.f;
- }
-
- /* perform spreading and limiting, also smooth the spectrum. yes,
- the MDCT results in all real coefficients, but it still *behaves*
- like real/imaginary pairs */
- for(i=0;i<n/2;i+=2){
- float val=vec[i]*vec[i]+vec[i+1]*vec[i+1];
- val=todB(&val)*.5f;
- if(val<decay)val=decay;
- if(val<minV)val=minV;
- vec[i>>1]=val;
- decay-=8.;
- }
- /*_analysis_output_always("spread",seq2++,vec,n/4,0,0,0);*/
-
- /* perform preecho/postecho triggering by band */
- for(j=0;j<VE_BANDS;j++){
- float acc=0.;
- float valmax,valmin;
- /* accumulate amplitude */
- for(i=0;i<bands[j].end;i++)
- acc+=vec[i+bands[j].begin]*bands[j].window[i];
-
- acc*=bands[j].total;
- /* convert amplitude to delta */
- {
- int p,this=filters[j].ampptr;
- float postmax,postmin,premax=-99999.f,premin=99999.f;
-
- p=this;
- p--;
- if(p<0)p+=VE_AMP;
- postmax=max(acc,filters[j].ampbuf[p]);
- postmin=min(acc,filters[j].ampbuf[p]);
-
- for(i=0;i<stretch;i++){
- p--;
- if(p<0)p+=VE_AMP;
- premax=max(premax,filters[j].ampbuf[p]);
- premin=min(premin,filters[j].ampbuf[p]);
- }
-
- valmin=postmin-premin;
- valmax=postmax-premax;
- /*filters[j].markers[pos]=valmax;*/
- filters[j].ampbuf[this]=acc;
- filters[j].ampptr++;
- if(filters[j].ampptr>=VE_AMP)filters[j].ampptr=0;
- }
- /* look at min/max, decide trigger */
- if(valmax>gi->preecho_thresh[j]+penalty){
- ret|=1;
- ret|=4;
- }
- if(valmin<gi->postecho_thresh[j]-penalty)ret|=2;
- }
-
- return(ret);
- }
- #if 0
- static int seq=0;
- static ogg_int64_t totalshift=-1024;
- #endif
- long _ve_envelope_search(vorbis_dsp_state *v){
- vorbis_info *vi=v->vi;
- codec_setup_info *ci=vi->codec_setup;
- vorbis_info_psy_global *gi=&ci->psy_g_param;
- envelope_lookup *ve=((private_state *)(v->backend_state))->ve;
- long i,j;
- int first=ve->current/ve->searchstep;
- int last=v->pcm_current/ve->searchstep-VE_WIN;
- if(first<0)first=0;
- /* make sure we have enough storage to match the PCM */
- if(last+VE_WIN+VE_POST>ve->storage){
- ve->storage=last+VE_WIN+VE_POST; /* be sure */
- ve->mark=_ogg_realloc(ve->mark,ve->storage*sizeof(*ve->mark));
- }
- for(j=first;j<last;j++){
- int ret=0;
- ve->stretch++;
- if(ve->stretch>VE_MAXSTRETCH*2)
- ve->stretch=VE_MAXSTRETCH*2;
-
- for(i=0;i<ve->ch;i++){
- float *pcm=v->pcm[i]+ve->searchstep*(j);
- ret|=_ve_amp(ve,gi,pcm,ve->band,ve->filter+i*VE_BANDS,j);
- }
- ve->mark[j+VE_POST]=0;
- if(ret&1){
- ve->mark[j]=1;
- ve->mark[j+1]=1;
- }
- if(ret&2){
- ve->mark[j]=1;
- if(j>0)ve->mark[j-1]=1;
- }
- if(ret&4)ve->stretch=-1;
- }
- ve->current=last*ve->searchstep;
- {
- long centerW=v->centerW;
- long testW=
- centerW+
- ci->blocksizes[v->W]/4+
- ci->blocksizes[1]/2+
- ci->blocksizes[0]/4;
-
- j=ve->cursor;
-
- while(j<ve->current-(ve->searchstep)){/* account for postecho
- working back one window */
- if(j>=testW)return(1);
-
- ve->cursor=j;
- if(ve->mark[j/ve->searchstep]){
- if(j>centerW){
- #if 0
- if(j>ve->curmark){
- float *marker=alloca(v->pcm_current*sizeof(*marker));
- int l,m;
- memset(marker,0,sizeof(*marker)*v->pcm_current);
- fprintf(stderr,"mark! seq=%d, cursor:%fs time:%fs\n",
- seq,
- (totalshift+ve->cursor)/44100.,
- (totalshift+j)/44100.);
- _analysis_output_always("pcmL",seq,v->pcm[0],v->pcm_current,0,0,totalshift);
- _analysis_output_always("pcmR",seq,v->pcm[1],v->pcm_current,0,0,totalshift);
- _analysis_output_always("markL",seq,v->pcm[0],j,0,0,totalshift);
- _analysis_output_always("markR",seq,v->pcm[1],j,0,0,totalshift);
-
- for(m=0;m<VE_BANDS;m++){
- char buf[80];
- sprintf(buf,"delL%d",m);
- for(l=0;l<last;l++)marker[l*ve->searchstep]=ve->filter[m].markers[l]*.1;
- _analysis_output_always(buf,seq,marker,v->pcm_current,0,0,totalshift);
- }
- for(m=0;m<VE_BANDS;m++){
- char buf[80];
- sprintf(buf,"delR%d",m);
- for(l=0;l<last;l++)marker[l*ve->searchstep]=ve->filter[m+VE_BANDS].markers[l]*.1;
- _analysis_output_always(buf,seq,marker,v->pcm_current,0,0,totalshift);
- }
- for(l=0;l<last;l++)marker[l*ve->searchstep]=ve->mark[l]*.4;
- _analysis_output_always("mark",seq,marker,v->pcm_current,0,0,totalshift);
-
-
- seq++;
-
- }
- #endif
- ve->curmark=j;
- if(j>=testW)return(1);
- return(0);
- }
- }
- j+=ve->searchstep;
- }
- }
-
- return(-1);
- }
- int _ve_envelope_mark(vorbis_dsp_state *v){
- envelope_lookup *ve=((private_state *)(v->backend_state))->ve;
- vorbis_info *vi=v->vi;
- codec_setup_info *ci=vi->codec_setup;
- long centerW=v->centerW;
- long beginW=centerW-ci->blocksizes[v->W]/4;
- long endW=centerW+ci->blocksizes[v->W]/4;
- if(v->W){
- beginW-=ci->blocksizes[v->lW]/4;
- endW+=ci->blocksizes[v->nW]/4;
- }else{
- beginW-=ci->blocksizes[0]/4;
- endW+=ci->blocksizes[0]/4;
- }
- if(ve->curmark>=beginW && ve->curmark<endW)return(1);
- {
- long first=beginW/ve->searchstep;
- long last=endW/ve->searchstep;
- long i;
- for(i=first;i<last;i++)
- if(ve->mark[i])return(1);
- }
- return(0);
- }
- void _ve_envelope_shift(envelope_lookup *e,long shift){
- int smallsize=e->current/e->searchstep+VE_POST; /* adjust for placing marks
- ahead of ve->current */
- int smallshift=shift/e->searchstep;
- memmove(e->mark,e->mark+smallshift,(smallsize-smallshift)*sizeof(*e->mark));
-
- #if 0
- for(i=0;i<VE_BANDS*e->ch;i++)
- memmove(e->filter[i].markers,
- e->filter[i].markers+smallshift,
- (1024-smallshift)*sizeof(*(*e->filter).markers));
- totalshift+=shift;
- #endif
- e->current-=shift;
- if(e->curmark>=0)
- e->curmark-=shift;
- e->cursor-=shift;
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: LPC low level routines
- last mod: $Id: lpc.c,v 1.37 2003/03/08 07:15:32 xiphmont Exp $
- ********************************************************************/
- /* Some of these routines (autocorrelator, LPC coefficient estimator)
- are derived from code written by Jutta Degener and Carsten Bormann;
- thus we include their copyright below. The entirety of this file
- is freely redistributable on the condition that both of these
- copyright notices are preserved without modification. */
- /* Preserved Copyright: *********************************************/
- /* Copyright 1992, 1993, 1994 by Jutta Degener and Carsten Bormann,
- Technische Universita"t Berlin
- Any use of this software is permitted provided that this notice is not
- removed and that neither the authors nor the Technische Universita"t
- Berlin are deemed to have made any representations as to the
- suitability of this software for any purpose nor are held responsible
- for any defects of this software. THERE IS ABSOLUTELY NO WARRANTY FOR
- THIS SOFTWARE.
- As a matter of courtesy, the authors request to be informed about uses
- this software has found, about bugs in this software, and about any
- improvements that may be of general interest.
- Berlin, 28.11.1994
- Jutta Degener
- Carsten Bormann
- *********************************************************************/
- /* Autocorrelation LPC coeff generation algorithm invented by
- N. Levinson in 1947, modified by J. Durbin in 1959. */
- /* Input : n elements of time doamin data
- Output: m lpc coefficients, excitation energy */
- float vorbis_lpc_from_data(float *data,float *lpci,int n,int m){
- double *aut=alloca(sizeof(*aut)*(m+1));
- double *lpc=alloca(sizeof(*lpc)*(m));
- double error;
- int i,j;
- /* autocorrelation, p+1 lag coefficients */
- j=m+1;
- while(j--){
- double d=0; /* double needed for accumulator depth */
- for(i=j;i<n;i++)d+=(double)data[i]*data[i-j];
- aut[j]=d;
- }
-
- /* Generate lpc coefficients from autocorr values */
- error=aut[0];
-
- for(i=0;i<m;i++){
- double r= -aut[i+1];
- if(error==0){
- memset(lpci,0,m*sizeof(*lpci));
- return 0;
- }
- /* Sum up this iteration's reflection coefficient; note that in
- Vorbis we don't save it. If anyone wants to recycle this code
- and needs reflection coefficients, save the results of 'r' from
- each iteration. */
- for(j=0;j<i;j++)r-=lpc[j]*aut[i-j];
- r/=error;
- /* Update LPC coefficients and total error */
-
- lpc[i]=r;
- for(j=0;j<i/2;j++){
- double tmp=lpc[j];
- lpc[j]+=r*lpc[i-1-j];
- lpc[i-1-j]+=r*tmp;
- }
- if(i%2)lpc[j]+=lpc[j]*r;
- error*=1.f-r*r;
- }
- for(j=0;j<m;j++)lpci[j]=(float)lpc[j];
- /* we need the error value to know how big an impulse to hit the
- filter with later */
-
- return error;
- }
- void vorbis_lpc_predict(float *coeff,float *prime,int m,
- float *data,long n){
- /* in: coeff[0...m-1] LPC coefficients
- prime[0...m-1] initial values (allocated size of n+m-1)
- out: data[0...n-1] data samples */
- long i,j,o,p;
- float y;
- float *work=alloca(sizeof(*work)*(m+n));
- if(!prime)
- for(i=0;i<m;i++)
- work[i]=0.f;
- else
- for(i=0;i<m;i++)
- work[i]=prime[i];
- for(i=0;i<n;i++){
- y=0;
- o=i;
- p=m;
- for(j=0;j<m;j++)
- y-=work[o++]*coeff[--p];
-
- data[i]=work[o]=y;
- }
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: window functions
- last mod: $Id: window.c,v 1.23 2003/09/01 22:59:54 xiphmont Exp $
- ********************************************************************/
- static float vwin64[32] = {
- 0.0009460463F, 0.0085006468F, 0.0235352254F, 0.0458950567F,
- 0.0753351908F, 0.1115073077F, 0.1539457973F, 0.2020557475F,
- 0.2551056759F, 0.3122276645F, 0.3724270287F, 0.4346027792F,
- 0.4975789974F, 0.5601459521F, 0.6211085051F, 0.6793382689F,
- 0.7338252629F, 0.7837245849F, 0.8283939355F, 0.8674186656F,
- 0.9006222429F, 0.9280614787F, 0.9500073081F, 0.9669131782F,
- 0.9793740220F, 0.9880792941F, 0.9937636139F, 0.9971582668F,
- 0.9989462667F, 0.9997230082F, 0.9999638688F, 0.9999995525F,
- };
- static float vwin128[64] = {
- 0.0002365472F, 0.0021280687F, 0.0059065254F, 0.0115626550F,
- 0.0190823442F, 0.0284463735F, 0.0396300935F, 0.0526030430F,
- 0.0673285281F, 0.0837631763F, 0.1018564887F, 0.1215504095F,
- 0.1427789367F, 0.1654677960F, 0.1895342001F, 0.2148867160F,
- 0.2414252576F, 0.2690412240F, 0.2976177952F, 0.3270303960F,
- 0.3571473350F, 0.3878306189F, 0.4189369387F, 0.4503188188F,
- 0.4818259135F, 0.5133064334F, 0.5446086751F, 0.5755826278F,
- 0.6060816248F, 0.6359640047F, 0.6650947483F, 0.6933470543F,
- 0.7206038179F, 0.7467589810F, 0.7717187213F, 0.7954024542F,
- 0.8177436264F, 0.8386902831F, 0.8582053981F, 0.8762669622F,
- 0.8928678298F, 0.9080153310F, 0.9217306608F, 0.9340480615F,
- 0.9450138200F, 0.9546851041F, 0.9631286621F, 0.9704194171F,
- 0.9766389810F, 0.9818741197F, 0.9862151938F, 0.9897546035F,
- 0.9925852598F, 0.9947991032F, 0.9964856900F, 0.9977308602F,
- 0.9986155015F, 0.9992144193F, 0.9995953200F, 0.9998179155F,
- 0.9999331503F, 0.9999825563F, 0.9999977357F, 0.9999999720F,
- };
- static float vwin256[128] = {
- 0.0000591390F, 0.0005321979F, 0.0014780301F, 0.0028960636F,
- 0.0047854363F, 0.0071449926F, 0.0099732775F, 0.0132685298F,
- 0.0170286741F, 0.0212513119F, 0.0259337111F, 0.0310727950F,
- 0.0366651302F, 0.0427069140F, 0.0491939614F, 0.0561216907F,
- 0.0634851102F, 0.0712788035F, 0.0794969160F, 0.0881331402F,
- 0.0971807028F, 0.1066323515F, 0.1164803426F, 0.1267164297F,
- 0.1373318534F, 0.1483173323F, 0.1596630553F, 0.1713586755F,
- 0.1833933062F, 0.1957555184F, 0.2084333404F, 0.2214142599F,
- 0.2346852280F, 0.2482326664F, 0.2620424757F, 0.2761000481F,
- 0.2903902813F, 0.3048975959F, 0.3196059553F, 0.3344988887F,
- 0.3495595160F, 0.3647705766F, 0.3801144597F, 0.3955732382F,
- 0.4111287047F, 0.4267624093F, 0.4424557009F, 0.4581897696F,
- 0.4739456913F, 0.4897044744F, 0.5054471075F, 0.5211546088F,
- 0.5368080763F, 0.5523887395F, 0.5678780103F, 0.5832575361F,
- 0.5985092508F, 0.6136154277F, 0.6285587300F, 0.6433222619F,
- 0.6578896175F, 0.6722449294F, 0.6863729144F, 0.7002589187F,
- 0.7138889597F, 0.7272497662F, 0.7403288154F, 0.7531143679F,
- 0.7655954985F, 0.7777621249F, 0.7896050322F, 0.8011158947F,
- 0.8122872932F, 0.8231127294F, 0.8335866365F, 0.8437043850F,
- 0.8534622861F, 0.8628575905F, 0.8718884835F, 0.8805540765F,
- 0.8888543947F, 0.8967903616F, 0.9043637797F, 0.9115773078F,
- 0.9184344360F, 0.9249394562F, 0.9310974312F, 0.9369141608F,
- 0.9423961446F, 0.9475505439F, 0.9523851406F, 0.9569082947F,
- 0.9611289005F, 0.9650563408F, 0.9687004405F, 0.9720714191F,
- 0.9751798427F, 0.9780365753F, 0.9806527301F, 0.9830396204F,
- 0.9852087111F, 0.9871715701F, 0.9889398207F, 0.9905250941F,
- 0.9919389832F, 0.9931929973F, 0.9942985174F, 0.9952667537F,
- 0.9961087037F, 0.9968351119F, 0.9974564312F, 0.9979827858F,
- 0.9984239359F, 0.9987892441F, 0.9990876435F, 0.9993276081F,
- 0.9995171241F, 0.9996636648F, 0.9997741654F, 0.9998550016F,
- 0.9999119692F, 0.9999502656F, 0.9999744742F, 0.9999885497F,
- 0.9999958064F, 0.9999989077F, 0.9999998584F, 0.9999999983F,
- };
- static float vwin512[256] = {
- 0.0000147849F, 0.0001330607F, 0.0003695946F, 0.0007243509F,
- 0.0011972759F, 0.0017882983F, 0.0024973285F, 0.0033242588F,
- 0.0042689632F, 0.0053312973F, 0.0065110982F, 0.0078081841F,
- 0.0092223540F, 0.0107533880F, 0.0124010466F, 0.0141650703F,
- 0.0160451800F, 0.0180410758F, 0.0201524373F, 0.0223789233F,
- 0.0247201710F, 0.0271757958F, 0.0297453914F, 0.0324285286F,
- 0.0352247556F, 0.0381335972F, 0.0411545545F, 0.0442871045F,
- 0.0475306997F, 0.0508847676F, 0.0543487103F, 0.0579219038F,
- 0.0616036982F, 0.0653934164F, 0.0692903546F, 0.0732937809F,
- 0.0774029356F, 0.0816170305F, 0.0859352485F, 0.0903567428F,
- 0.0948806375F, 0.0995060259F, 0.1042319712F, 0.1090575056F,
- 0.1139816300F, 0.1190033137F, 0.1241214941F, 0.1293350764F,
- 0.1346429333F, 0.1400439046F, 0.1455367974F, 0.1511203852F,
- 0.1567934083F, 0.1625545735F, 0.1684025537F, 0.1743359881F,
- 0.1803534820F, 0.1864536069F, 0.1926349000F, 0.1988958650F,
- 0.2052349715F, 0.2116506555F, 0.2181413191F, 0.2247053313F,
- 0.2313410275F, 0.2380467105F, 0.2448206500F, 0.2516610835F,
- 0.2585662164F, 0.2655342226F, 0.2725632448F, 0.2796513950F,
- 0.2867967551F, 0.2939973773F, 0.3012512852F, 0.3085564739F,
- 0.3159109111F, 0.3233125375F, 0.3307592680F, 0.3382489922F,
- 0.3457795756F, 0.3533488602F, 0.3609546657F, 0.3685947904F,
- 0.3762670121F, 0.3839690896F, 0.3916987634F, 0.3994537572F,
- 0.4072317788F, 0.4150305215F, 0.4228476653F, 0.4306808783F,
- 0.4385278181F, 0.4463861329F, 0.4542534630F, 0.4621274424F,
- 0.4700057001F, 0.4778858615F, 0.4857655502F, 0.4936423891F,
- 0.5015140023F, 0.5093780165F, 0.5172320626F, 0.5250737772F,
- 0.5329008043F, 0.5407107971F, 0.5485014192F, 0.5562703465F,
- 0.5640152688F, 0.5717338914F, 0.5794239366F, 0.5870831457F,
- 0.5947092801F, 0.6023001235F, 0.6098534829F, 0.6173671907F,
- 0.6248391059F, 0.6322671161F, 0.6396491384F, 0.6469831217F,
- 0.6542670475F, 0.6614989319F, 0.6686768267F, 0.6757988210F,
- 0.6828630426F, 0.6898676592F, 0.6968108799F, 0.7036909564F,
- 0.7105061843F, 0.7172549043F, 0.7239355032F, 0.7305464154F,
- 0.7370861235F, 0.7435531598F, 0.7499461068F, 0.7562635986F,
- 0.7625043214F, 0.7686670148F, 0.7747504721F, 0.7807535410F,
- 0.7866751247F, 0.7925141825F, 0.7982697296F, 0.8039408387F,
- 0.8095266395F, 0.8150263196F, 0.8204391248F, 0.8257643590F,
- 0.8310013848F, 0.8361496236F, 0.8412085555F, 0.8461777194F,
- 0.8510567129F, 0.8558451924F, 0.8605428730F, 0.8651495278F,
- 0.8696649882F, 0.8740891432F, 0.8784219392F, 0.8826633797F,
- 0.8868135244F, 0.8908724888F, 0.8948404441F, 0.8987176157F,
- 0.9025042831F, 0.9062007791F, 0.9098074886F, 0.9133248482F,
- 0.9167533451F, 0.9200935163F, 0.9233459472F, 0.9265112712F,
- 0.9295901680F, 0.9325833632F, 0.9354916263F, 0.9383157705F,
- 0.9410566504F, 0.9437151618F, 0.9462922398F, 0.9487888576F,
- 0.9512060252F, 0.9535447882F, 0.9558062262F, 0.9579914516F,
- 0.9601016078F, 0.9621378683F, 0.9641014348F, 0.9659935361F,
- 0.9678154261F, 0.9695683830F, 0.9712537071F, 0.9728727198F,
- 0.9744267618F, 0.9759171916F, 0.9773453842F, 0.9787127293F,
- 0.9800206298F, 0.9812705006F, 0.9824637665F, 0.9836018613F,
- 0.9846862258F, 0.9857183066F, 0.9866995544F, 0.9876314227F,
- 0.9885153662F, 0.9893528393F, 0.9901452948F, 0.9908941823F,
- 0.9916009470F, 0.9922670279F, 0.9928938570F, 0.9934828574F,
- 0.9940354423F, 0.9945530133F, 0.9950369595F, 0.9954886562F,
- 0.9959094633F, 0.9963007242F, 0.9966637649F, 0.9969998925F,
- 0.9973103939F, 0.9975965351F, 0.9978595598F, 0.9981006885F,
- 0.9983211172F, 0.9985220166F, 0.9987045311F, 0.9988697776F,
- 0.9990188449F, 0.9991527924F, 0.9992726499F, 0.9993794157F,
- 0.9994740570F, 0.9995575079F, 0.9996306699F, 0.9996944099F,
- 0.9997495605F, 0.9997969190F, 0.9998372465F, 0.9998712678F,
- 0.9998996704F, 0.9999231041F, 0.9999421807F, 0.9999574732F,
- 0.9999695157F, 0.9999788026F, 0.9999857885F, 0.9999908879F,
- 0.9999944746F, 0.9999968817F, 0.9999984010F, 0.9999992833F,
- 0.9999997377F, 0.9999999317F, 0.9999999911F, 0.9999999999F,
- };
- static float vwin1024[512] = {
- 0.0000036962F, 0.0000332659F, 0.0000924041F, 0.0001811086F,
- 0.0002993761F, 0.0004472021F, 0.0006245811F, 0.0008315063F,
- 0.0010679699F, 0.0013339631F, 0.0016294757F, 0.0019544965F,
- 0.0023090133F, 0.0026930125F, 0.0031064797F, 0.0035493989F,
- 0.0040217533F, 0.0045235250F, 0.0050546946F, 0.0056152418F,
- 0.0062051451F, 0.0068243817F, 0.0074729278F, 0.0081507582F,
- 0.0088578466F, 0.0095941655F, 0.0103596863F, 0.0111543789F,
- 0.0119782122F, 0.0128311538F, 0.0137131701F, 0.0146242260F,
- 0.0155642855F, 0.0165333111F, 0.0175312640F, 0.0185581042F,
- 0.0196137903F, 0.0206982797F, 0.0218115284F, 0.0229534910F,
- 0.0241241208F, 0.0253233698F, 0.0265511886F, 0.0278075263F,
- 0.0290923308F, 0.0304055484F, 0.0317471241F, 0.0331170013F,
- 0.0345151222F, 0.0359414274F, 0.0373958560F, 0.0388783456F,
- 0.0403888325F, 0.0419272511F, 0.0434935347F, 0.0450876148F,
- 0.0467094213F, 0.0483588828F, 0.0500359261F, 0.0517404765F,
- 0.0534724575F, 0.0552317913F, 0.0570183983F, 0.0588321971F,
- 0.0606731048F, 0.0625410369F, 0.0644359070F, 0.0663576272F,
- 0.0683061077F, 0.0702812571F, 0.0722829821F, 0.0743111878F,
- 0.0763657775F, 0.0784466526F, 0.0805537129F, 0.0826868561F,
- 0.0848459782F, 0.0870309736F, 0.0892417345F, 0.0914781514F,
- 0.0937401128F, 0.0960275056F, 0.0983402145F, 0.1006781223F,
- 0.1030411101F, 0.1054290568F, 0.1078418397F, 0.1102793336F,
- 0.1127414119F, 0.1152279457F, 0.1177388042F, 0.1202738544F,
- 0.1228329618F, 0.1254159892F, 0.1280227980F, 0.1306532471F,
- 0.1333071937F, 0.1359844927F, 0.1386849970F, 0.1414085575F,
- 0.1441550230F, 0.1469242403F, 0.1497160539F, 0.1525303063F,
- 0.1553668381F, 0.1582254875F, 0.1611060909F, 0.1640084822F,
- 0.1669324936F, 0.1698779549F, 0.1728446939F, 0.1758325362F,
- 0.1788413055F, 0.1818708232F, 0.1849209084F, 0.1879913785F,
- 0.1910820485F, 0.1941927312F, 0.1973232376F, 0.2004733764F,
- 0.2036429541F, 0.2068317752F, 0.2100396421F, 0.2132663552F,
- 0.2165117125F, 0.2197755102F, 0.2230575422F, 0.2263576007F,
- 0.2296754753F, 0.2330109540F, 0.2363638225F, 0.2397338646F,
- 0.2431208619F, 0.2465245941F, 0.2499448389F, 0.2533813719F,
- 0.2568339669F, 0.2603023956F, 0.2637864277F, 0.2672858312F,
- 0.2708003718F, 0.2743298135F, 0.2778739186F, 0.2814324472F,
- 0.2850051576F, 0.2885918065F, 0.2921921485F, 0.2958059366F,
- 0.2994329219F, 0.3030728538F, 0.3067254799F, 0.3103905462F,
- 0.3140677969F, 0.3177569747F, 0.3214578205F, 0.3251700736F,
- 0.3288934718F, 0.3326277513F, 0.3363726468F, 0.3401278914F,
- 0.3438932168F, 0.3476683533F, 0.3514530297F, 0.3552469734F,
- 0.3590499106F, 0.3628615659F, 0.3666816630F, 0.3705099239F,
- 0.3743460698F, 0.3781898204F, 0.3820408945F, 0.3858990095F,
- 0.3897638820F, 0.3936352274F, 0.3975127601F, 0.4013961936F,
- 0.4052852405F, 0.4091796123F, 0.4130790198F, 0.4169831732F,
- 0.4208917815F, 0.4248045534F, 0.4287211965F, 0.4326414181F,
- 0.4365649248F, 0.4404914225F, 0.4444206167F, 0.4483522125F,
- 0.4522859146F, 0.4562214270F, 0.4601584538F, 0.4640966984F,
- 0.4680358644F, 0.4719756548F, 0.4759157726F, 0.4798559209F,
- 0.4837958024F, 0.4877351199F, 0.4916735765F, 0.4956108751F,
- 0.4995467188F, 0.5034808109F, 0.5074128550F, 0.5113425550F,
- 0.5152696149F, 0.5191937395F, 0.5231146336F, 0.5270320028F,
- 0.5309455530F, 0.5348549910F, 0.5387600239F, 0.5426603597F,
- 0.5465557070F, 0.5504457754F, 0.5543302752F, 0.5582089175F,
- 0.5620814145F, 0.5659474793F, 0.5698068262F, 0.5736591704F,
- 0.5775042283F, 0.5813417176F, 0.5851713571F, 0.5889928670F,
- 0.5928059689F, 0.5966103856F, 0.6004058415F, 0.6041920626F,
- 0.6079687761F, 0.6117357113F, 0.6154925986F, 0.6192391705F,
- 0.6229751612F, 0.6267003064F, 0.6304143441F, 0.6341170137F,
- 0.6378080569F, 0.6414872173F, 0.6451542405F, 0.6488088741F,
- 0.6524508681F, 0.6560799742F, 0.6596959469F, 0.6632985424F,
- 0.6668875197F, 0.6704626398F, 0.6740236662F, 0.6775703649F,
- 0.6811025043F, 0.6846198554F, 0.6881221916F, 0.6916092892F,
- 0.6950809269F, 0.6985368861F, 0.7019769510F, 0.7054009085F,
- 0.7088085484F, 0.7121996632F, 0.7155740484F, 0.7189315023F,
- 0.7222718263F, 0.7255948245F, 0.7289003043F, 0.7321880760F,
- 0.7354579530F, 0.7387097518F, 0.7419432921F, 0.7451583966F,
- 0.7483548915F, 0.7515326059F, 0.7546913723F, 0.7578310265F,
- 0.7609514077F, 0.7640523581F, 0.7671337237F, 0.7701953535F,
- 0.7732371001F, 0.7762588195F, 0.7792603711F, 0.7822416178F,
- 0.7852024259F, 0.7881426654F, 0.7910622097F, 0.7939609356F,
- 0.7968387237F, 0.7996954579F, 0.8025310261F, 0.8053453193F,
- 0.8081382324F, 0.8109096638F, 0.8136595156F, 0.8163876936F,
- 0.8190941071F, 0.8217786690F, 0.8244412960F, 0.8270819086F,
- 0.8297004305F, 0.8322967896F, 0.8348709171F, 0.8374227481F,
- 0.8399522213F, 0.8424592789F, 0.8449438672F, 0.8474059356F,
- 0.8498454378F, 0.8522623306F, 0.8546565748F, 0.8570281348F,
- 0.8593769787F, 0.8617030779F, 0.8640064080F, 0.8662869477F,
- 0.8685446796F, 0.8707795899F, 0.8729916682F, 0.8751809079F,
- 0.8773473059F, 0.8794908626F, 0.8816115819F, 0.8837094713F,
- 0.8857845418F, 0.8878368079F, 0.8898662874F, 0.8918730019F,
- 0.8938569760F, 0.8958182380F, 0.8977568194F, 0.8996727552F,
- 0.9015660837F, 0.9034368465F, 0.9052850885F, 0.9071108577F,
- 0.9089142057F, 0.9106951869F, 0.9124538591F, 0.9141902832F,
- 0.9159045233F, 0.9175966464F, 0.9192667228F, 0.9209148257F,
- 0.9225410313F, 0.9241454187F, 0.9257280701F, 0.9272890704F,
- 0.9288285075F, 0.9303464720F, 0.9318430576F, 0.9333183603F,
- 0.9347724792F, 0.9362055158F, 0.9376175745F, 0.9390087622F,
- 0.9403791881F, 0.9417289644F, 0.9430582055F, 0.9443670283F,
- 0.9456555521F, 0.9469238986F, 0.9481721917F, 0.9494005577F,
- 0.9506091252F, 0.9517980248F, 0.9529673894F, 0.9541173540F,
- 0.9552480557F, 0.9563596334F, 0.9574522282F, 0.9585259830F,
- 0.9595810428F, 0.9606175542F, 0.9616356656F, 0.9626355274F,
- 0.9636172915F, 0.9645811114F, 0.9655271425F, 0.9664555414F,
- 0.9673664664F, 0.9682600774F, 0.9691365355F, 0.9699960034F,
- 0.9708386448F, 0.9716646250F, 0.9724741103F, 0.9732672685F,
- 0.9740442683F, 0.9748052795F, 0.9755504729F, 0.9762800205F,
- 0.9769940950F, 0.9776928703F, 0.9783765210F, 0.9790452223F,
- 0.9796991504F, 0.9803384823F, 0.9809633954F, 0.9815740679F,
- 0.9821706784F, 0.9827534063F, 0.9833224312F, 0.9838779332F,
- 0.9844200928F, 0.9849490910F, 0.9854651087F, 0.9859683274F,
- 0.9864589286F, 0.9869370940F, 0.9874030054F, 0.9878568447F,
- 0.9882987937F, 0.9887290343F, 0.9891477481F, 0.9895551169F,
- 0.9899513220F, 0.9903365446F, 0.9907109658F, 0.9910747662F,
- 0.9914281260F, 0.9917712252F, 0.9921042433F, 0.9924273593F,
- 0.9927407516F, 0.9930445982F, 0.9933390763F, 0.9936243626F,
- 0.9939006331F, 0.9941680631F, 0.9944268269F, 0.9946770982F,
- 0.9949190498F, 0.9951528537F, 0.9953786808F, 0.9955967011F,
- 0.9958070836F, 0.9960099963F, 0.9962056061F, 0.9963940787F,
- 0.9965755786F, 0.9967502693F, 0.9969183129F, 0.9970798704F,
- 0.9972351013F, 0.9973841640F, 0.9975272151F, 0.9976644103F,
- 0.9977959036F, 0.9979218476F, 0.9980423932F, 0.9981576901F,
- 0.9982678862F, 0.9983731278F, 0.9984735596F, 0.9985693247F,
- 0.9986605645F, 0.9987474186F, 0.9988300248F, 0.9989085193F,
- 0.9989830364F, 0.9990537085F, 0.9991206662F, 0.9991840382F,
- 0.9992439513F, 0.9993005303F, 0.9993538982F, 0.9994041757F,
- 0.9994514817F, 0.9994959330F, 0.9995376444F, 0.9995767286F,
- 0.9996132960F, 0.9996474550F, 0.9996793121F, 0.9997089710F,
- 0.9997365339F, 0.9997621003F, 0.9997857677F, 0.9998076311F,
- 0.9998277836F, 0.9998463156F, 0.9998633155F, 0.9998788692F,
- 0.9998930603F, 0.9999059701F, 0.9999176774F, 0.9999282586F,
- 0.9999377880F, 0.9999463370F, 0.9999539749F, 0.9999607685F,
- 0.9999667820F, 0.9999720773F, 0.9999767136F, 0.9999807479F,
- 0.9999842344F, 0.9999872249F, 0.9999897688F, 0.9999919127F,
- 0.9999937009F, 0.9999951749F, 0.9999963738F, 0.9999973342F,
- 0.9999980900F, 0.9999986724F, 0.9999991103F, 0.9999994297F,
- 0.9999996543F, 0.9999998049F, 0.9999999000F, 0.9999999552F,
- 0.9999999836F, 0.9999999957F, 0.9999999994F, 1.0000000000F,
- };
- static float vwin2048[1024] = {
- 0.0000009241F, 0.0000083165F, 0.0000231014F, 0.0000452785F,
- 0.0000748476F, 0.0001118085F, 0.0001561608F, 0.0002079041F,
- 0.0002670379F, 0.0003335617F, 0.0004074748F, 0.0004887765F,
- 0.0005774661F, 0.0006735427F, 0.0007770054F, 0.0008878533F,
- 0.0010060853F, 0.0011317002F, 0.0012646969F, 0.0014050742F,
- 0.0015528307F, 0.0017079650F, 0.0018704756F, 0.0020403610F,
- 0.0022176196F, 0.0024022497F, 0.0025942495F, 0.0027936173F,
- 0.0030003511F, 0.0032144490F, 0.0034359088F, 0.0036647286F,
- 0.0039009061F, 0.0041444391F, 0.0043953253F, 0.0046535621F,
- 0.0049191472F, 0.0051920781F, 0.0054723520F, 0.0057599664F,
- 0.0060549184F, 0.0063572052F, 0.0066668239F, 0.0069837715F,
- 0.0073080449F, 0.0076396410F, 0.0079785566F, 0.0083247884F,
- 0.0086783330F, 0.0090391871F, 0.0094073470F, 0.0097828092F,
- 0.0101655700F, 0.0105556258F, 0.0109529726F, 0.0113576065F,
- 0.0117695237F, 0.0121887200F, 0.0126151913F, 0.0130489335F,
- 0.0134899422F, 0.0139382130F, 0.0143937415F, 0.0148565233F,
- 0.0153265536F, 0.0158038279F, 0.0162883413F, 0.0167800889F,
- 0.0172790660F, 0.0177852675F, 0.0182986882F, 0.0188193231F,
- 0.0193471668F, 0.0198822141F, 0.0204244594F, 0.0209738974F,
- 0.0215305225F, 0.0220943289F, 0.0226653109F, 0.0232434627F,
- 0.0238287784F, 0.0244212519F, 0.0250208772F, 0.0256276481F,
- 0.0262415582F, 0.0268626014F, 0.0274907711F, 0.0281260608F,
- 0.0287684638F, 0.0294179736F, 0.0300745833F, 0.0307382859F,
- 0.0314090747F, 0.0320869424F, 0.0327718819F, 0.0334638860F,
- 0.0341629474F, 0.0348690586F, 0.0355822122F, 0.0363024004F,
- 0.0370296157F, 0.0377638502F, 0.0385050960F, 0.0392533451F,
- 0.0400085896F, 0.0407708211F, 0.0415400315F, 0.0423162123F,
- 0.0430993552F, 0.0438894515F, 0.0446864926F, 0.0454904698F,
- 0.0463013742F, 0.0471191969F, 0.0479439288F, 0.0487755607F,
- 0.0496140836F, 0.0504594879F, 0.0513117642F, 0.0521709031F,
- 0.0530368949F, 0.0539097297F, 0.0547893979F, 0.0556758894F,
- 0.0565691941F, 0.0574693019F, 0.0583762026F, 0.0592898858F,
- 0.0602103410F, 0.0611375576F, 0.0620715250F, 0.0630122324F,
- 0.0639596688F, 0.0649138234F, 0.0658746848F, 0.0668422421F,
- 0.0678164838F, 0.0687973985F, 0.0697849746F, 0.0707792005F,
- 0.0717800645F, 0.0727875547F, 0.0738016591F, 0.0748223656F,
- 0.0758496620F, 0.0768835359F, 0.0779239751F, 0.0789709668F,
- 0.0800244985F, 0.0810845574F, 0.0821511306F, 0.0832242052F,
- 0.0843037679F, 0.0853898056F, 0.0864823050F, 0.0875812525F,
- 0.0886866347F, 0.0897984378F, 0.0909166480F, 0.0920412513F,
- 0.0931722338F, 0.0943095813F, 0.0954532795F, 0.0966033140F,
- 0.0977596702F, 0.0989223336F, 0.1000912894F, 0.1012665227F,
- 0.1024480185F, 0.1036357616F, 0.1048297369F, 0.1060299290F,
- 0.1072363224F, 0.1084489014F, 0.1096676504F, 0.1108925534F,
- 0.1121235946F, 0.1133607577F, 0.1146040267F, 0.1158533850F,
- 0.1171088163F, 0.1183703040F, 0.1196378312F, 0.1209113812F,
- 0.1221909370F, 0.1234764815F, 0.1247679974F, 0.1260654674F,
- 0.1273688740F, 0.1286781995F, 0.1299934263F, 0.1313145365F,
- 0.1326415121F, 0.1339743349F, 0.1353129866F, 0.1366574490F,
- 0.1380077035F, 0.1393637315F, 0.1407255141F, 0.1420930325F,
- 0.1434662677F, 0.1448452004F, 0.1462298115F, 0.1476200814F,
- 0.1490159906F, 0.1504175195F, 0.1518246482F, 0.1532373569F,
- 0.1546556253F, 0.1560794333F, 0.1575087606F, 0.1589435866F,
- 0.1603838909F, 0.1618296526F, 0.1632808509F, 0.1647374648F,
- 0.1661994731F, 0.1676668546F, 0.1691395880F, 0.1706176516F,
- 0.1721010238F, 0.1735896829F, 0.1750836068F, 0.1765827736F,
- 0.1780871610F, 0.1795967468F, 0.1811115084F, 0.1826314234F,
- 0.1841564689F, 0.1856866221F, 0.1872218600F, 0.1887621595F,
- 0.1903074974F, 0.1918578503F, 0.1934131947F, 0.1949735068F,
- 0.1965387630F, 0.1981089393F, 0.1996840117F, 0.2012639560F,
- 0.2028487479F, 0.2044383630F, 0.2060327766F, 0.2076319642F,
- 0.2092359007F, 0.2108445614F, 0.2124579211F, 0.2140759545F,
- 0.2156986364F, 0.2173259411F, 0.2189578432F, 0.2205943168F,
- 0.2222353361F, 0.2238808751F, 0.2255309076F, 0.2271854073F,
- 0.2288443480F, 0.2305077030F, 0.2321754457F, 0.2338475493F,
- 0.2355239869F, 0.2372047315F, 0.2388897560F, 0.2405790329F,
- 0.2422725350F, 0.2439702347F, 0.2456721043F, 0.2473781159F,
- 0.2490882418F, 0.2508024539F, 0.2525207240F, 0.2542430237F,
- 0.2559693248F, 0.2576995986F, 0.2594338166F, 0.2611719498F,
- 0.2629139695F, 0.2646598466F, 0.2664095520F, 0.2681630564F,
- 0.2699203304F, 0.2716813445F, 0.2734460691F, 0.2752144744F,
- 0.2769865307F, 0.2787622079F, 0.2805414760F, 0.2823243047F,
- 0.2841106637F, 0.2859005227F, 0.2876938509F, 0.2894906179F,
- 0.2912907928F, 0.2930943447F, 0.2949012426F, 0.2967114554F,
- 0.2985249520F, 0.3003417009F, 0.3021616708F, 0.3039848301F,
- 0.3058111471F, 0.3076405901F, 0.3094731273F, 0.3113087266F,
- 0.3131473560F, 0.3149889833F, 0.3168335762F, 0.3186811024F,
- 0.3205315294F, 0.3223848245F, 0.3242409552F, 0.3260998886F,
- 0.3279615918F, 0.3298260319F, 0.3316931758F, 0.3335629903F,
- 0.3354354423F, 0.3373104982F, 0.3391881247F, 0.3410682882F,
- 0.3429509551F, 0.3448360917F, 0.3467236642F, 0.3486136387F,
- 0.3505059811F, 0.3524006575F, 0.3542976336F, 0.3561968753F,
- 0.3580983482F, 0.3600020179F, 0.3619078499F, 0.3638158096F,
- 0.3657258625F, 0.3676379737F, 0.3695521086F, 0.3714682321F,
- 0.3733863094F, 0.3753063055F, 0.3772281852F, 0.3791519134F,
- 0.3810774548F, 0.3830047742F, 0.3849338362F, 0.3868646053F,
- 0.3887970459F, 0.3907311227F, 0.3926667998F, 0.3946040417F,
- 0.3965428125F, 0.3984830765F, 0.4004247978F, 0.4023679403F,
- 0.4043124683F, 0.4062583455F, 0.4082055359F, 0.4101540034F,
- 0.4121037117F, 0.4140546246F, 0.4160067058F, 0.4179599190F,
- 0.4199142277F, 0.4218695956F, 0.4238259861F, 0.4257833627F,
- 0.4277416888F, 0.4297009279F, 0.4316610433F, 0.4336219983F,
- 0.4355837562F, 0.4375462803F, 0.4395095337F, 0.4414734797F,
- 0.4434380815F, 0.4454033021F, 0.4473691046F, 0.4493354521F,
- 0.4513023078F, 0.4532696345F, 0.4552373954F, 0.4572055533F,
- 0.4591740713F, 0.4611429123F, 0.4631120393F, 0.4650814151F,
- 0.4670510028F, 0.4690207650F, 0.4709906649F, 0.4729606651F,
- 0.4749307287F, 0.4769008185F, 0.4788708972F, 0.4808409279F,
- 0.4828108732F, 0.4847806962F, 0.4867503597F, 0.4887198264F,
- 0.4906890593F, 0.4926580213F, 0.4946266753F, 0.4965949840F,
- 0.4985629105F, 0.5005304176F, 0.5024974683F, 0.5044640255F,
- 0.5064300522F, 0.5083955114F, 0.5103603659F, 0.5123245790F,
- 0.5142881136F, 0.5162509328F, 0.5182129997F, 0.5201742774F,
- 0.5221347290F, 0.5240943178F, 0.5260530070F, 0.5280107598F,
- 0.5299675395F, 0.5319233095F, 0.5338780330F, 0.5358316736F,
- 0.5377841946F, 0.5397355596F, 0.5416857320F, 0.5436346755F,
- 0.5455823538F, 0.5475287304F, 0.5494737691F, 0.5514174337F,
- 0.5533596881F, 0.5553004962F, 0.5572398218F, 0.5591776291F,
- 0.5611138821F, 0.5630485449F, 0.5649815818F, 0.5669129570F,
- 0.5688426349F, 0.5707705799F, 0.5726967564F, 0.5746211290F,
- 0.5765436624F, 0.5784643212F, 0.5803830702F, 0.5822998743F,
- 0.5842146984F, 0.5861275076F, 0.5880382669F, 0.5899469416F,
- 0.5918534968F, 0.5937578981F, 0.5956601107F, 0.5975601004F,
- 0.5994578326F, 0.6013532732F, 0.6032463880F, 0.6051371429F,
- 0.6070255039F, 0.6089114372F, 0.6107949090F, 0.6126758856F,
- 0.6145543334F, 0.6164302191F, 0.6183035092F, 0.6201741706F,
- 0.6220421700F, 0.6239074745F, 0.6257700513F, 0.6276298674F,
- 0.6294868903F, 0.6313410873F, 0.6331924262F, 0.6350408745F,
- 0.6368864001F, 0.6387289710F, 0.6405685552F, 0.6424051209F,
- 0.6442386364F, 0.6460690702F, 0.6478963910F, 0.6497205673F,
- 0.6515415682F, 0.6533593625F, 0.6551739194F, 0.6569852082F,
- 0.6587931984F, 0.6605978593F, 0.6623991609F, 0.6641970728F,
- 0.6659915652F, 0.6677826081F, 0.6695701718F, 0.6713542268F,
- 0.6731347437F, 0.6749116932F, 0.6766850461F, 0.6784547736F,
- 0.6802208469F, 0.6819832374F, 0.6837419164F, 0.6854968559F,
- 0.6872480275F, 0.6889954034F, 0.6907389556F, 0.6924786566F,
- 0.6942144788F, 0.6959463950F, 0.6976743780F, 0.6993984008F,
- 0.7011184365F, 0.7028344587F, 0.7045464407F, 0.7062543564F,
- 0.7079581796F, 0.7096578844F, 0.7113534450F, 0.7130448359F,
- 0.7147320316F, 0.7164150070F, 0.7180937371F, 0.7197681970F,
- 0.7214383620F, 0.7231042077F, 0.7247657098F, 0.7264228443F,
- 0.7280755871F, 0.7297239147F, 0.7313678035F, 0.7330072301F,
- 0.7346421715F, 0.7362726046F, 0.7378985069F, 0.7395198556F,
- 0.7411366285F, 0.7427488034F, 0.7443563584F, 0.7459592717F,
- 0.7475575218F, 0.7491510873F, 0.7507399471F, 0.7523240803F,
- 0.7539034661F, 0.7554780839F, 0.7570479136F, 0.7586129349F,
- 0.7601731279F, 0.7617284730F, 0.7632789506F, 0.7648245416F,
- 0.7663652267F, 0.7679009872F, 0.7694318044F, 0.7709576599F,
- 0.7724785354F, 0.7739944130F, 0.7755052749F, 0.7770111035F,
- 0.7785118815F, 0.7800075916F, 0.7814982170F, 0.7829837410F,
- 0.7844641472F, 0.7859394191F, 0.7874095408F, 0.7888744965F,
- 0.7903342706F, 0.7917888476F, 0.7932382124F, 0.7946823501F,
- 0.7961212460F, 0.7975548855F, 0.7989832544F, 0.8004063386F,
- 0.8018241244F, 0.8032365981F, 0.8046437463F, 0.8060455560F,
- 0.8074420141F, 0.8088331080F, 0.8102188253F, 0.8115991536F,
- 0.8129740810F, 0.8143435957F, 0.8157076861F, 0.8170663409F,
- 0.8184195489F, 0.8197672994F, 0.8211095817F, 0.8224463853F,
- 0.8237777001F, 0.8251035161F, 0.8264238235F, 0.8277386129F,
- 0.8290478750F, 0.8303516008F, 0.8316497814F, 0.8329424083F,
- 0.8342294731F, 0.8355109677F, 0.8367868841F, 0.8380572148F,
- 0.8393219523F, 0.8405810893F, 0.8418346190F, 0.8430825345F,
- 0.8443248294F, 0.8455614974F, 0.8467925323F, 0.8480179285F,
- 0.8492376802F, 0.8504517822F, 0.8516602292F, 0.8528630164F,
- 0.8540601391F, 0.8552515928F, 0.8564373733F, 0.8576174766F,
- 0.8587918990F, 0.8599606368F, 0.8611236868F, 0.8622810460F,
- 0.8634327113F, 0.8645786802F, 0.8657189504F, 0.8668535195F,
- 0.8679823857F, 0.8691055472F, 0.8702230025F, 0.8713347503F,
- 0.8724407896F, 0.8735411194F, 0.8746357394F, 0.8757246489F,
- 0.8768078479F, 0.8778853364F, 0.8789571146F, 0.8800231832F,
- 0.8810835427F, 0.8821381942F, 0.8831871387F, 0.8842303777F,
- 0.8852679127F, 0.8862997456F, 0.8873258784F, 0.8883463132F,
- 0.8893610527F, 0.8903700994F, 0.8913734562F, 0.8923711263F,
- 0.8933631129F, 0.8943494196F, 0.8953300500F, 0.8963050083F,
- 0.8972742985F, 0.8982379249F, 0.8991958922F, 0.9001482052F,
- 0.9010948688F, 0.9020358883F, 0.9029712690F, 0.9039010165F,
- 0.9048251367F, 0.9057436357F, 0.9066565195F, 0.9075637946F,
- 0.9084654678F, 0.9093615456F, 0.9102520353F, 0.9111369440F,
- 0.9120162792F, 0.9128900484F, 0.9137582595F, 0.9146209204F,
- 0.9154780394F, 0.9163296248F, 0.9171756853F, 0.9180162296F,
- 0.9188512667F, 0.9196808057F, 0.9205048559F, 0.9213234270F,
- 0.9221365285F, 0.9229441704F, 0.9237463629F, 0.9245431160F,
- 0.9253344404F, 0.9261203465F, 0.9269008453F, 0.9276759477F,
- 0.9284456648F, 0.9292100080F, 0.9299689889F, 0.9307226190F,
- 0.9314709103F, 0.9322138747F, 0.9329515245F, 0.9336838721F,
- 0.9344109300F, 0.9351327108F, 0.9358492275F, 0.9365604931F,
- 0.9372665208F, 0.9379673239F, 0.9386629160F, 0.9393533107F,
- 0.9400385220F, 0.9407185637F, 0.9413934501F, 0.9420631954F,
- 0.9427278141F, 0.9433873208F, 0.9440417304F, 0.9446910576F,
- 0.9453353176F, 0.9459745255F, 0.9466086968F, 0.9472378469F,
- 0.9478619915F, 0.9484811463F, 0.9490953274F, 0.9497045506F,
- 0.9503088323F, 0.9509081888F, 0.9515026365F, 0.9520921921F,
- 0.9526768723F, 0.9532566940F, 0.9538316742F, 0.9544018300F,
- 0.9549671786F, 0.9555277375F, 0.9560835241F, 0.9566345562F,
- 0.9571808513F, 0.9577224275F, 0.9582593027F, 0.9587914949F,
- 0.9593190225F, 0.9598419038F, 0.9603601571F, 0.9608738012F,
- 0.9613828546F, 0.9618873361F, 0.9623872646F, 0.9628826591F,
- 0.9633735388F, 0.9638599227F, 0.9643418303F, 0.9648192808F,
- 0.9652922939F, 0.9657608890F, 0.9662250860F, 0.9666849046F,
- 0.9671403646F, 0.9675914861F, 0.9680382891F, 0.9684807937F,
- 0.9689190202F, 0.9693529890F, 0.9697827203F, 0.9702082347F,
- 0.9706295529F, 0.9710466953F, 0.9714596828F, 0.9718685362F,
- 0.9722732762F, 0.9726739240F, 0.9730705005F, 0.9734630267F,
- 0.9738515239F, 0.9742360134F, 0.9746165163F, 0.9749930540F,
- 0.9753656481F, 0.9757343198F, 0.9760990909F, 0.9764599829F,
- 0.9768170175F, 0.9771702164F, 0.9775196013F, 0.9778651941F,
- 0.9782070167F, 0.9785450909F, 0.9788794388F, 0.9792100824F,
- 0.9795370437F, 0.9798603449F, 0.9801800080F, 0.9804960554F,
- 0.9808085092F, 0.9811173916F, 0.9814227251F, 0.9817245318F,
- 0.9820228343F, 0.9823176549F, 0.9826090160F, 0.9828969402F,
- 0.9831814498F, 0.9834625674F, 0.9837403156F, 0.9840147169F,
- 0.9842857939F, 0.9845535692F, 0.9848180654F, 0.9850793052F,
- 0.9853373113F, 0.9855921062F, 0.9858437127F, 0.9860921535F,
- 0.9863374512F, 0.9865796287F, 0.9868187085F, 0.9870547136F,
- 0.9872876664F, 0.9875175899F, 0.9877445067F, 0.9879684396F,
- 0.9881894112F, 0.9884074444F, 0.9886225619F, 0.9888347863F,
- 0.9890441404F, 0.9892506468F, 0.9894543284F, 0.9896552077F,
- 0.9898533074F, 0.9900486502F, 0.9902412587F, 0.9904311555F,
- 0.9906183633F, 0.9908029045F, 0.9909848019F, 0.9911640779F,
- 0.9913407550F, 0.9915148557F, 0.9916864025F, 0.9918554179F,
- 0.9920219241F, 0.9921859437F, 0.9923474989F, 0.9925066120F,
- 0.9926633054F, 0.9928176012F, 0.9929695218F, 0.9931190891F,
- 0.9932663254F, 0.9934112527F, 0.9935538932F, 0.9936942686F,
- 0.9938324012F, 0.9939683126F, 0.9941020248F, 0.9942335597F,
- 0.9943629388F, 0.9944901841F, 0.9946153170F, 0.9947383593F,
- 0.9948593325F, 0.9949782579F, 0.9950951572F, 0.9952100516F,
- 0.9953229625F, 0.9954339111F, 0.9955429186F, 0.9956500062F,
- 0.9957551948F, 0.9958585056F, 0.9959599593F, 0.9960595769F,
- 0.9961573792F, 0.9962533869F, 0.9963476206F, 0.9964401009F,
- 0.9965308483F, 0.9966198833F, 0.9967072261F, 0.9967928971F,
- 0.9968769164F, 0.9969593041F, 0.9970400804F, 0.9971192651F,
- 0.9971968781F, 0.9972729391F, 0.9973474680F, 0.9974204842F,
- 0.9974920074F, 0.9975620569F, 0.9976306521F, 0.9976978122F,
- 0.9977635565F, 0.9978279039F, 0.9978908736F, 0.9979524842F,
- 0.9980127547F, 0.9980717037F, 0.9981293499F, 0.9981857116F,
- 0.9982408073F, 0.9982946554F, 0.9983472739F, 0.9983986810F,
- 0.9984488947F, 0.9984979328F, 0.9985458132F, 0.9985925534F,
- 0.9986381711F, 0.9986826838F, 0.9987261086F, 0.9987684630F,
- 0.9988097640F, 0.9988500286F, 0.9988892738F, 0.9989275163F,
- 0.9989647727F, 0.9990010597F, 0.9990363938F, 0.9990707911F,
- 0.9991042679F, 0.9991368404F, 0.9991685244F, 0.9991993358F,
- 0.9992292905F, 0.9992584038F, 0.9992866914F, 0.9993141686F,
- 0.9993408506F, 0.9993667526F, 0.9993918895F, 0.9994162761F,
- 0.9994399273F, 0.9994628576F, 0.9994850815F, 0.9995066133F,
- 0.9995274672F, 0.9995476574F, 0.9995671978F, 0.9995861021F,
- 0.9996043841F, 0.9996220573F, 0.9996391352F, 0.9996556310F,
- 0.9996715579F, 0.9996869288F, 0.9997017568F, 0.9997160543F,
- 0.9997298342F, 0.9997431088F, 0.9997558905F, 0.9997681914F,
- 0.9997800236F, 0.9997913990F, 0.9998023292F, 0.9998128261F,
- 0.9998229009F, 0.9998325650F, 0.9998418296F, 0.9998507058F,
- 0.9998592044F, 0.9998673362F, 0.9998751117F, 0.9998825415F,
- 0.9998896358F, 0.9998964047F, 0.9999028584F, 0.9999090066F,
- 0.9999148590F, 0.9999204253F, 0.9999257148F, 0.9999307368F,
- 0.9999355003F, 0.9999400144F, 0.9999442878F, 0.9999483293F,
- 0.9999521472F, 0.9999557499F, 0.9999591457F, 0.9999623426F,
- 0.9999653483F, 0.9999681708F, 0.9999708175F, 0.9999732959F,
- 0.9999756132F, 0.9999777765F, 0.9999797928F, 0.9999816688F,
- 0.9999834113F, 0.9999850266F, 0.9999865211F, 0.9999879009F,
- 0.9999891721F, 0.9999903405F, 0.9999914118F, 0.9999923914F,
- 0.9999932849F, 0.9999940972F, 0.9999948336F, 0.9999954989F,
- 0.9999960978F, 0.9999966349F, 0.9999971146F, 0.9999975411F,
- 0.9999979185F, 0.9999982507F, 0.9999985414F, 0.9999987944F,
- 0.9999990129F, 0.9999992003F, 0.9999993596F, 0.9999994939F,
- 0.9999996059F, 0.9999996981F, 0.9999997732F, 0.9999998333F,
- 0.9999998805F, 0.9999999170F, 0.9999999444F, 0.9999999643F,
- 0.9999999784F, 0.9999999878F, 0.9999999937F, 0.9999999972F,
- 0.9999999990F, 0.9999999997F, 1.0000000000F, 1.0000000000F,
- };
- static float vwin4096[2048] = {
- 0.0000002310F, 0.0000020791F, 0.0000057754F, 0.0000113197F,
- 0.0000187121F, 0.0000279526F, 0.0000390412F, 0.0000519777F,
- 0.0000667623F, 0.0000833949F, 0.0001018753F, 0.0001222036F,
- 0.0001443798F, 0.0001684037F, 0.0001942754F, 0.0002219947F,
- 0.0002515616F, 0.0002829761F, 0.0003162380F, 0.0003513472F,
- 0.0003883038F, 0.0004271076F, 0.0004677584F, 0.0005102563F,
- 0.0005546011F, 0.0006007928F, 0.0006488311F, 0.0006987160F,
- 0.0007504474F, 0.0008040251F, 0.0008594490F, 0.0009167191F,
- 0.0009758351F, 0.0010367969F, 0.0010996044F, 0.0011642574F,
- 0.0012307558F, 0.0012990994F, 0.0013692880F, 0.0014413216F,
- 0.0015151998F, 0.0015909226F, 0.0016684898F, 0.0017479011F,
- 0.0018291565F, 0.0019122556F, 0.0019971983F, 0.0020839845F,
- 0.0021726138F, 0.0022630861F, 0.0023554012F, 0.0024495588F,
- 0.0025455588F, 0.0026434008F, 0.0027430847F, 0.0028446103F,
- 0.0029479772F, 0.0030531853F, 0.0031602342F, 0.0032691238F,
- 0.0033798538F, 0.0034924239F, 0.0036068338F, 0.0037230833F,
- 0.0038411721F, 0.0039610999F, 0.0040828664F, 0.0042064714F,
- 0.0043319145F, 0.0044591954F, 0.0045883139F, 0.0047192696F,
- 0.0048520622F, 0.0049866914F, 0.0051231569F, 0.0052614583F,
- 0.0054015953F, 0.0055435676F, 0.0056873748F, 0.0058330166F,
- 0.0059804926F, 0.0061298026F, 0.0062809460F, 0.0064339226F,
- 0.0065887320F, 0.0067453738F, 0.0069038476F, 0.0070641531F,
- 0.0072262899F, 0.0073902575F, 0.0075560556F, 0.0077236838F,
- 0.0078931417F, 0.0080644288F, 0.0082375447F, 0.0084124891F,
- 0.0085892615F, 0.0087678614F, 0.0089482885F, 0.0091305422F,
- 0.0093146223F, 0.0095005281F, 0.0096882592F, 0.0098778153F,
- 0.0100691958F, 0.0102624002F, 0.0104574281F, 0.0106542791F,
- 0.0108529525F, 0.0110534480F, 0.0112557651F, 0.0114599032F,
- 0.0116658618F, 0.0118736405F, 0.0120832387F, 0.0122946560F,
- 0.0125078917F, 0.0127229454F, 0.0129398166F, 0.0131585046F,
- 0.0133790090F, 0.0136013292F, 0.0138254647F, 0.0140514149F,
- 0.0142791792F, 0.0145087572F, 0.0147401481F, 0.0149733515F,
- 0.0152083667F, 0.0154451932F, 0.0156838304F, 0.0159242777F,
- 0.0161665345F, 0.0164106001F, 0.0166564741F, 0.0169041557F,
- 0.0171536443F, 0.0174049393F, 0.0176580401F, 0.0179129461F,
- 0.0181696565F, 0.0184281708F, 0.0186884883F, 0.0189506084F,
- 0.0192145303F, 0.0194802535F, 0.0197477772F, 0.0200171008F,
- 0.0202882236F, 0.0205611449F, 0.0208358639F, 0.0211123801F,
- 0.0213906927F, 0.0216708011F, 0.0219527043F, 0.0222364019F,
- 0.0225218930F, 0.0228091769F, 0.0230982529F, 0.0233891203F,
- 0.0236817782F, 0.0239762259F, 0.0242724628F, 0.0245704880F,
- 0.0248703007F, 0.0251719002F, 0.0254752858F, 0.0257804565F,
- 0.0260874117F, 0.0263961506F, 0.0267066722F, 0.0270189760F,
- 0.0273330609F, 0.0276489263F, 0.0279665712F, 0.0282859949F,
- 0.0286071966F, 0.0289301753F, 0.0292549303F, 0.0295814607F,
- 0.0299097656F, 0.0302398442F, 0.0305716957F, 0.0309053191F,
- 0.0312407135F, 0.0315778782F, 0.0319168122F, 0.0322575145F,
- 0.0325999844F, 0.0329442209F, 0.0332902231F, 0.0336379900F,
- 0.0339875208F, 0.0343388146F, 0.0346918703F, 0.0350466871F,
- 0.0354032640F, 0.0357616000F, 0.0361216943F, 0.0364835458F,
- 0.0368471535F, 0.0372125166F, 0.0375796339F, 0.0379485046F,
- 0.0383191276F, 0.0386915020F, 0.0390656267F, 0.0394415008F,
- 0.0398191231F, 0.0401984927F, 0.0405796086F, 0.0409624698F,
- 0.0413470751F, 0.0417334235F, 0.0421215141F, 0.0425113457F,
- 0.0429029172F, 0.0432962277F, 0.0436912760F, 0.0440880610F,
- 0.0444865817F, 0.0448868370F, 0.0452888257F, 0.0456925468F,
- 0.0460979992F, 0.0465051816F, 0.0469140931F, 0.0473247325F,
- 0.0477370986F, 0.0481511902F, 0.0485670064F, 0.0489845458F,
- 0.0494038074F, 0.0498247899F, 0.0502474922F, 0.0506719131F,
- 0.0510980514F, 0.0515259060F, 0.0519554756F, 0.0523867590F,
- 0.0528197550F, 0.0532544624F, 0.0536908800F, 0.0541290066F,
- 0.0545688408F, 0.0550103815F, 0.0554536274F, 0.0558985772F,
- 0.0563452297F, 0.0567935837F, 0.0572436377F, 0.0576953907F,
- 0.0581488412F, 0.0586039880F, 0.0590608297F, 0.0595193651F,
- 0.0599795929F, 0.0604415117F, 0.0609051202F, 0.0613704170F,
- 0.0618374009F, 0.0623060704F, 0.0627764243F, 0.0632484611F,
- 0.0637221795F, 0.0641975781F, 0.0646746555F, 0.0651534104F,
- 0.0656338413F, 0.0661159469F, 0.0665997257F, 0.0670851763F,
- 0.0675722973F, 0.0680610873F, 0.0685515448F, 0.0690436684F,
- 0.0695374567F, 0.0700329081F, 0.0705300213F, 0.0710287947F,
- 0.0715292269F, 0.0720313163F, 0.0725350616F, 0.0730404612F,
- 0.0735475136F, 0.0740562172F, 0.0745665707F, 0.0750785723F,
- 0.0755922207F, 0.0761075143F, 0.0766244515F, 0.0771430307F,
- 0.0776632505F, 0.0781851092F, 0.0787086052F, 0.0792337371F,
- 0.0797605032F, 0.0802889018F, 0.0808189315F, 0.0813505905F,
- 0.0818838773F, 0.0824187903F, 0.0829553277F, 0.0834934881F,
- 0.0840332697F, 0.0845746708F, 0.0851176899F, 0.0856623252F,
- 0.0862085751F, 0.0867564379F, 0.0873059119F, 0.0878569954F,
- 0.0884096867F, 0.0889639840F, 0.0895198858F, 0.0900773902F,
- 0.0906364955F, 0.0911972000F, 0.0917595019F, 0.0923233995F,
- 0.0928888909F, 0.0934559745F, 0.0940246485F, 0.0945949110F,
- 0.0951667604F, 0.0957401946F, 0.0963152121F, 0.0968918109F,
- 0.0974699893F, 0.0980497454F, 0.0986310773F, 0.0992139832F,
- 0.0997984614F, 0.1003845098F, 0.1009721267F, 0.1015613101F,
- 0.1021520582F, 0.1027443692F, 0.1033382410F, 0.1039336718F,
- 0.1045306597F, 0.1051292027F, 0.1057292990F, 0.1063309466F,
- 0.1069341435F, 0.1075388878F, 0.1081451776F, 0.1087530108F,
- 0.1093623856F, 0.1099732998F, 0.1105857516F, 0.1111997389F,
- 0.1118152597F, 0.1124323121F, 0.1130508939F, 0.1136710032F,
- 0.1142926379F, 0.1149157960F, 0.1155404755F, 0.1161666742F,
- 0.1167943901F, 0.1174236211F, 0.1180543652F, 0.1186866202F,
- 0.1193203841F, 0.1199556548F, 0.1205924300F, 0.1212307078F,
- 0.1218704860F, 0.1225117624F, 0.1231545349F, 0.1237988013F,
- 0.1244445596F, 0.1250918074F, 0.1257405427F, 0.1263907632F,
- 0.1270424667F, 0.1276956512F, 0.1283503142F, 0.1290064537F,
- 0.1296640674F, 0.1303231530F, 0.1309837084F, 0.1316457312F,
- 0.1323092193F, 0.1329741703F, 0.1336405820F, 0.1343084520F,
- 0.1349777782F, 0.1356485582F, 0.1363207897F, 0.1369944704F,
- 0.1376695979F, 0.1383461700F, 0.1390241842F, 0.1397036384F,
- 0.1403845300F, 0.1410668567F, 0.1417506162F, 0.1424358061F,
- 0.1431224240F, 0.1438104674F, 0.1444999341F, 0.1451908216F,
- 0.1458831274F, 0.1465768492F, 0.1472719844F, 0.1479685308F,
- 0.1486664857F, 0.1493658468F, 0.1500666115F, 0.1507687775F,
- 0.1514723422F, 0.1521773031F, 0.1528836577F, 0.1535914035F,
- 0.1543005380F, 0.1550110587F, 0.1557229631F, 0.1564362485F,
- 0.1571509124F, 0.1578669524F, 0.1585843657F, 0.1593031499F,
- 0.1600233024F, 0.1607448205F, 0.1614677017F, 0.1621919433F,
- 0.1629175428F, 0.1636444975F, 0.1643728047F, 0.1651024619F,
- 0.1658334665F, 0.1665658156F, 0.1672995067F, 0.1680345371F,
- 0.1687709041F, 0.1695086050F, 0.1702476372F, 0.1709879978F,
- 0.1717296843F, 0.1724726938F, 0.1732170237F, 0.1739626711F,
- 0.1747096335F, 0.1754579079F, 0.1762074916F, 0.1769583819F,
- 0.1777105760F, 0.1784640710F, 0.1792188642F, 0.1799749529F,
- 0.1807323340F, 0.1814910049F, 0.1822509628F, 0.1830122046F,
- 0.1837747277F, 0.1845385292F, 0.1853036062F, 0.1860699558F,
- 0.1868375751F, 0.1876064613F, 0.1883766114F, 0.1891480226F,
- 0.1899206919F, 0.1906946164F, 0.1914697932F, 0.1922462194F,
- 0.1930238919F, 0.1938028079F, 0.1945829643F, 0.1953643583F,
- 0.1961469868F, 0.1969308468F, 0.1977159353F, 0.1985022494F,
- 0.1992897859F, 0.2000785420F, 0.2008685145F, 0.2016597005F,
- 0.2024520968F, 0.2032457005F, 0.2040405084F, 0.2048365175F,
- 0.2056337247F, 0.2064321269F, 0.2072317211F, 0.2080325041F,
- 0.2088344727F, 0.2096376240F, 0.2104419547F, 0.2112474618F,
- 0.2120541420F, 0.2128619923F, 0.2136710094F, 0.2144811902F,
- 0.2152925315F, 0.2161050301F, 0.2169186829F, 0.2177334866F,
- 0.2185494381F, 0.2193665340F, 0.2201847712F, 0.2210041465F,
- 0.2218246565F, 0.2226462981F, 0.2234690680F, 0.2242929629F,
- 0.2251179796F, 0.2259441147F, 0.2267713650F, 0.2275997272F,
- 0.2284291979F, 0.2292597739F, 0.2300914518F, 0.2309242283F,
- 0.2317581001F, 0.2325930638F, 0.2334291160F, 0.2342662534F,
- 0.2351044727F, 0.2359437703F, 0.2367841431F, 0.2376255875F,
- 0.2384681001F, 0.2393116776F, 0.2401563165F, 0.2410020134F,
- 0.2418487649F, 0.2426965675F, 0.2435454178F, 0.2443953122F,
- 0.2452462474F, 0.2460982199F, 0.2469512262F, 0.2478052628F,
- 0.2486603262F, 0.2495164129F, 0.2503735194F, 0.2512316421F,
- 0.2520907776F, 0.2529509222F, 0.2538120726F, 0.2546742250F,
- 0.2555373760F, 0.2564015219F, 0.2572666593F, 0.2581327845F,
- 0.2589998939F, 0.2598679840F, 0.2607370510F, 0.2616070916F,
- 0.2624781019F, 0.2633500783F, 0.2642230173F, 0.2650969152F,
- 0.2659717684F, 0.2668475731F, 0.2677243257F, 0.2686020226F,
- 0.2694806601F, 0.2703602344F, 0.2712407419F, 0.2721221789F,
- 0.2730045417F, 0.2738878265F, 0.2747720297F, 0.2756571474F,
- 0.2765431760F, 0.2774301117F, 0.2783179508F, 0.2792066895F,
- 0.2800963240F, 0.2809868505F, 0.2818782654F, 0.2827705647F,
- 0.2836637447F, 0.2845578016F, 0.2854527315F, 0.2863485307F,
- 0.2872451953F, 0.2881427215F, 0.2890411055F, 0.2899403433F,
- 0.2908404312F, 0.2917413654F, 0.2926431418F, 0.2935457567F,
- 0.2944492061F, 0.2953534863F, 0.2962585932F, 0.2971645230F,
- 0.2980712717F, 0.2989788356F, 0.2998872105F, 0.3007963927F,
- 0.3017063781F, 0.3026171629F, 0.3035287430F, 0.3044411145F,
- 0.3053542736F, 0.3062682161F, 0.3071829381F, 0.3080984356F,
- 0.3090147047F, 0.3099317413F, 0.3108495414F, 0.3117681011F,
- 0.3126874163F, 0.3136074830F, 0.3145282972F, 0.3154498548F,
- 0.3163721517F, 0.3172951841F, 0.3182189477F, 0.3191434385F,
- 0.3200686525F, 0.3209945856F, 0.3219212336F, 0.3228485927F,
- 0.3237766585F, 0.3247054271F, 0.3256348943F, 0.3265650560F,
- 0.3274959081F, 0.3284274465F, 0.3293596671F, 0.3302925657F,
- 0.3312261382F, 0.3321603804F, 0.3330952882F, 0.3340308574F,
- 0.3349670838F, 0.3359039634F, 0.3368414919F, 0.3377796651F,
- 0.3387184789F, 0.3396579290F, 0.3405980113F, 0.3415387216F,
- 0.3424800556F, 0.3434220091F, 0.3443645779F, 0.3453077578F,
- 0.3462515446F, 0.3471959340F, 0.3481409217F, 0.3490865036F,
- 0.3500326754F, 0.3509794328F, 0.3519267715F, 0.3528746873F,
- 0.3538231759F, 0.3547722330F, 0.3557218544F, 0.3566720357F,
- 0.3576227727F, 0.3585740610F, 0.3595258964F, 0.3604782745F,
- 0.3614311910F, 0.3623846417F, 0.3633386221F, 0.3642931280F,
- 0.3652481549F, 0.3662036987F, 0.3671597548F, 0.3681163191F,
- 0.3690733870F, 0.3700309544F, 0.3709890167F, 0.3719475696F,
- 0.3729066089F, 0.3738661299F, 0.3748261285F, 0.3757866002F,
- 0.3767475406F, 0.3777089453F, 0.3786708100F, 0.3796331302F,
- 0.3805959014F, 0.3815591194F, 0.3825227796F, 0.3834868777F,
- 0.3844514093F, 0.3854163698F, 0.3863817549F, 0.3873475601F,
- 0.3883137810F, 0.3892804131F, 0.3902474521F, 0.3912148933F,
- 0.3921827325F, 0.3931509650F, 0.3941195865F, 0.3950885925F,
- 0.3960579785F, 0.3970277400F, 0.3979978725F, 0.3989683716F,
- 0.3999392328F, 0.4009104516F, 0.4018820234F, 0.4028539438F,
- 0.4038262084F, 0.4047988125F, 0.4057717516F, 0.4067450214F,
- 0.4077186172F, 0.4086925345F, 0.4096667688F, 0.4106413155F,
- 0.4116161703F, 0.4125913284F, 0.4135667854F, 0.4145425368F,
- 0.4155185780F, 0.4164949044F, 0.4174715116F, 0.4184483949F,
- 0.4194255498F, 0.4204029718F, 0.4213806563F, 0.4223585987F,
- 0.4233367946F, 0.4243152392F, 0.4252939281F, 0.4262728566F,
- 0.4272520202F, 0.4282314144F, 0.4292110345F, 0.4301908760F,
- 0.4311709343F, 0.4321512047F, 0.4331316828F, 0.4341123639F,
- 0.4350932435F, 0.4360743168F, 0.4370555794F, 0.4380370267F,
- 0.4390186540F, 0.4400004567F, 0.4409824303F, 0.4419645701F,
- 0.4429468716F, 0.4439293300F, 0.4449119409F, 0.4458946996F,
- 0.4468776014F, 0.4478606418F, 0.4488438162F, 0.4498271199F,
- 0.4508105483F, 0.4517940967F, 0.4527777607F, 0.4537615355F,
- 0.4547454165F, 0.4557293991F, 0.4567134786F, 0.4576976505F,
- 0.4586819101F, 0.4596662527F, 0.4606506738F, 0.4616351687F,
- 0.4626197328F, 0.4636043614F, 0.4645890499F, 0.4655737936F,
- 0.4665585880F, 0.4675434284F, 0.4685283101F, 0.4695132286F,
- 0.4704981791F, 0.4714831570F, 0.4724681577F, 0.4734531766F,
- 0.4744382089F, 0.4754232501F, 0.4764082956F, 0.4773933406F,
- 0.4783783806F, 0.4793634108F, 0.4803484267F, 0.4813334237F,
- 0.4823183969F, 0.4833033419F, 0.4842882540F, 0.4852731285F,
- 0.4862579608F, 0.4872427462F, 0.4882274802F, 0.4892121580F,
- 0.4901967751F, 0.4911813267F, 0.4921658083F, 0.4931502151F,
- 0.4941345427F, 0.4951187863F, 0.4961029412F, 0.4970870029F,
- 0.4980709667F, 0.4990548280F, 0.5000385822F, 0.5010222245F,
- 0.5020057505F, 0.5029891553F, 0.5039724345F, 0.5049555834F,
- 0.5059385973F, 0.5069214716F, 0.5079042018F, 0.5088867831F,
- 0.5098692110F, 0.5108514808F, 0.5118335879F, 0.5128155277F,
- 0.5137972956F, 0.5147788869F, 0.5157602971F, 0.5167415215F,
- 0.5177225555F, 0.5187033945F, 0.5196840339F, 0.5206644692F,
- 0.5216446956F, 0.5226247086F, 0.5236045035F, 0.5245840759F,
- 0.5255634211F, 0.5265425344F, 0.5275214114F, 0.5285000474F,
- 0.5294784378F, 0.5304565781F, 0.5314344637F, 0.5324120899F,
- 0.5333894522F, 0.5343665461F, 0.5353433670F, 0.5363199102F,
- 0.5372961713F, 0.5382721457F, 0.5392478287F, 0.5402232159F,
- 0.5411983027F, 0.5421730845F, 0.5431475569F, 0.5441217151F,
- 0.5450955548F, 0.5460690714F, 0.5470422602F, 0.5480151169F,
- 0.5489876368F, 0.5499598155F, 0.5509316484F, 0.5519031310F,
- 0.5528742587F, 0.5538450271F, 0.5548154317F, 0.5557854680F,
- 0.5567551314F, 0.5577244174F, 0.5586933216F, 0.5596618395F,
- 0.5606299665F, 0.5615976983F, 0.5625650302F, 0.5635319580F,
- 0.5644984770F, 0.5654645828F, 0.5664302709F, 0.5673955370F,
- 0.5683603765F, 0.5693247850F, 0.5702887580F, 0.5712522912F,
- 0.5722153800F, 0.5731780200F, 0.5741402069F, 0.5751019362F,
- 0.5760632034F, 0.5770240042F, 0.5779843341F, 0.5789441889F,
- 0.5799035639F, 0.5808624549F, 0.5818208575F, 0.5827787673F,
- 0.5837361800F, 0.5846930910F, 0.5856494961F, 0.5866053910F,
- 0.5875607712F, 0.5885156324F, 0.5894699703F, 0.5904237804F,
- 0.5913770586F, 0.5923298004F, 0.5932820016F, 0.5942336578F,
- 0.5951847646F, 0.5961353179F, 0.5970853132F, 0.5980347464F,
- 0.5989836131F, 0.5999319090F, 0.6008796298F, 0.6018267713F,
- 0.6027733292F, 0.6037192993F, 0.6046646773F, 0.6056094589F,
- 0.6065536400F, 0.6074972162F, 0.6084401833F, 0.6093825372F,
- 0.6103242736F, 0.6112653884F, 0.6122058772F, 0.6131457359F,
- 0.6140849604F, 0.6150235464F, 0.6159614897F, 0.6168987862F,
- 0.6178354318F, 0.6187714223F, 0.6197067535F, 0.6206414213F,
- 0.6215754215F, 0.6225087501F, 0.6234414028F, 0.6243733757F,
- 0.6253046646F, 0.6262352654F, 0.6271651739F, 0.6280943862F,
- 0.6290228982F, 0.6299507057F, 0.6308778048F, 0.6318041913F,
- 0.6327298612F, 0.6336548105F, 0.6345790352F, 0.6355025312F,
- 0.6364252945F, 0.6373473211F, 0.6382686070F, 0.6391891483F,
- 0.6401089409F, 0.6410279808F, 0.6419462642F, 0.6428637869F,
- 0.6437805452F, 0.6446965350F, 0.6456117524F, 0.6465261935F,
- 0.6474398544F, 0.6483527311F, 0.6492648197F, 0.6501761165F,
- 0.6510866174F, 0.6519963186F, 0.6529052162F, 0.6538133064F,
- 0.6547205854F, 0.6556270492F, 0.6565326941F, 0.6574375162F,
- 0.6583415117F, 0.6592446769F, 0.6601470079F, 0.6610485009F,
- 0.6619491521F, 0.6628489578F, 0.6637479143F, 0.6646460177F,
- 0.6655432643F, 0.6664396505F, 0.6673351724F, 0.6682298264F,
- 0.6691236087F, 0.6700165157F, 0.6709085436F, 0.6717996889F,
- 0.6726899478F, 0.6735793167F, 0.6744677918F, 0.6753553697F,
- 0.6762420466F, 0.6771278190F, 0.6780126832F, 0.6788966357F,
- 0.6797796728F, 0.6806617909F, 0.6815429866F, 0.6824232562F,
- 0.6833025961F, 0.6841810030F, 0.6850584731F, 0.6859350031F,
- 0.6868105894F, 0.6876852284F, 0.6885589168F, 0.6894316510F,
- 0.6903034275F, 0.6911742430F, 0.6920440939F, 0.6929129769F,
- 0.6937808884F, 0.6946478251F, 0.6955137837F, 0.6963787606F,
- 0.6972427525F, 0.6981057560F, 0.6989677678F, 0.6998287845F,
- 0.7006888028F, 0.7015478194F, 0.7024058309F, 0.7032628340F,
- 0.7041188254F, 0.7049738019F, 0.7058277601F, 0.7066806969F,
- 0.7075326089F, 0.7083834929F, 0.7092333457F, 0.7100821640F,
- 0.7109299447F, 0.7117766846F, 0.7126223804F, 0.7134670291F,
- 0.7143106273F, 0.7151531721F, 0.7159946602F, 0.7168350885F,
- 0.7176744539F, 0.7185127534F, 0.7193499837F, 0.7201861418F,
- 0.7210212247F, 0.7218552293F, 0.7226881526F, 0.7235199914F,
- 0.7243507428F, 0.7251804039F, 0.7260089715F, 0.7268364426F,
- 0.7276628144F, 0.7284880839F, 0.7293122481F, 0.7301353040F,
- 0.7309572487F, 0.7317780794F, 0.7325977930F, 0.7334163868F,
- 0.7342338579F, 0.7350502033F, 0.7358654202F, 0.7366795059F,
- 0.7374924573F, 0.7383042718F, 0.7391149465F, 0.7399244787F,
- 0.7407328655F, 0.7415401041F, 0.7423461920F, 0.7431511261F,
- 0.7439549040F, 0.7447575227F, 0.7455589797F, 0.7463592723F,
- 0.7471583976F, 0.7479563532F, 0.7487531363F, 0.7495487443F,
- 0.7503431745F, 0.7511364244F, 0.7519284913F, 0.7527193726F,
- 0.7535090658F, 0.7542975683F, 0.7550848776F, 0.7558709910F,
- 0.7566559062F, 0.7574396205F, 0.7582221314F, 0.7590034366F,
- 0.7597835334F, 0.7605624194F, 0.7613400923F, 0.7621165495F,
- 0.7628917886F, 0.7636658072F, 0.7644386030F, 0.7652101735F,
- 0.7659805164F, 0.7667496292F, 0.7675175098F, 0.7682841556F,
- 0.7690495645F, 0.7698137341F, 0.7705766622F, 0.7713383463F,
- 0.7720987844F, 0.7728579741F, 0.7736159132F, 0.7743725994F,
- 0.7751280306F, 0.7758822046F, 0.7766351192F, 0.7773867722F,
- 0.7781371614F, 0.7788862848F, 0.7796341401F, 0.7803807253F,
- 0.7811260383F, 0.7818700769F, 0.7826128392F, 0.7833543230F,
- 0.7840945263F, 0.7848334471F, 0.7855710833F, 0.7863074330F,
- 0.7870424941F, 0.7877762647F, 0.7885087428F, 0.7892399264F,
- 0.7899698137F, 0.7906984026F, 0.7914256914F, 0.7921516780F,
- 0.7928763607F, 0.7935997375F, 0.7943218065F, 0.7950425661F,
- 0.7957620142F, 0.7964801492F, 0.7971969692F, 0.7979124724F,
- 0.7986266570F, 0.7993395214F, 0.8000510638F, 0.8007612823F,
- 0.8014701754F, 0.8021777413F, 0.8028839784F, 0.8035888849F,
- 0.8042924592F, 0.8049946997F, 0.8056956048F, 0.8063951727F,
- 0.8070934020F, 0.8077902910F, 0.8084858381F, 0.8091800419F,
- 0.8098729007F, 0.8105644130F, 0.8112545774F, 0.8119433922F,
- 0.8126308561F, 0.8133169676F, 0.8140017251F, 0.8146851272F,
- 0.8153671726F, 0.8160478598F, 0.8167271874F, 0.8174051539F,
- 0.8180817582F, 0.8187569986F, 0.8194308741F, 0.8201033831F,
- 0.8207745244F, 0.8214442966F, 0.8221126986F, 0.8227797290F,
- 0.8234453865F, 0.8241096700F, 0.8247725781F, 0.8254341097F,
- 0.8260942636F, 0.8267530385F, 0.8274104334F, 0.8280664470F,
- 0.8287210782F, 0.8293743259F, 0.8300261889F, 0.8306766662F,
- 0.8313257566F, 0.8319734591F, 0.8326197727F, 0.8332646963F,
- 0.8339082288F, 0.8345503692F, 0.8351911167F, 0.8358304700F,
- 0.8364684284F, 0.8371049907F, 0.8377401562F, 0.8383739238F,
- 0.8390062927F, 0.8396372618F, 0.8402668305F, 0.8408949977F,
- 0.8415217626F, 0.8421471245F, 0.8427710823F, 0.8433936354F,
- 0.8440147830F, 0.8446345242F, 0.8452528582F, 0.8458697844F,
- 0.8464853020F, 0.8470994102F, 0.8477121084F, 0.8483233958F,
- 0.8489332718F, 0.8495417356F, 0.8501487866F, 0.8507544243F,
- 0.8513586479F, 0.8519614568F, 0.8525628505F, 0.8531628283F,
- 0.8537613897F, 0.8543585341F, 0.8549542611F, 0.8555485699F,
- 0.8561414603F, 0.8567329315F, 0.8573229832F, 0.8579116149F,
- 0.8584988262F, 0.8590846165F, 0.8596689855F, 0.8602519327F,
- 0.8608334577F, 0.8614135603F, 0.8619922399F, 0.8625694962F,
- 0.8631453289F, 0.8637197377F, 0.8642927222F, 0.8648642821F,
- 0.8654344172F, 0.8660031272F, 0.8665704118F, 0.8671362708F,
- 0.8677007039F, 0.8682637109F, 0.8688252917F, 0.8693854460F,
- 0.8699441737F, 0.8705014745F, 0.8710573485F, 0.8716117953F,
- 0.8721648150F, 0.8727164073F, 0.8732665723F, 0.8738153098F,
- 0.8743626197F, 0.8749085021F, 0.8754529569F, 0.8759959840F,
- 0.8765375835F, 0.8770777553F, 0.8776164996F, 0.8781538162F,
- 0.8786897054F, 0.8792241670F, 0.8797572013F, 0.8802888082F,
- 0.8808189880F, 0.8813477407F, 0.8818750664F, 0.8824009653F,
- 0.8829254375F, 0.8834484833F, 0.8839701028F, 0.8844902961F,
- 0.8850090636F, 0.8855264054F, 0.8860423218F, 0.8865568131F,
- 0.8870698794F, 0.8875815212F, 0.8880917386F, 0.8886005319F,
- 0.8891079016F, 0.8896138479F, 0.8901183712F, 0.8906214719F,
- 0.8911231503F, 0.8916234067F, 0.8921222417F, 0.8926196556F,
- 0.8931156489F, 0.8936102219F, 0.8941033752F, 0.8945951092F,
- 0.8950854244F, 0.8955743212F, 0.8960618003F, 0.8965478621F,
- 0.8970325071F, 0.8975157359F, 0.8979975490F, 0.8984779471F,
- 0.8989569307F, 0.8994345004F, 0.8999106568F, 0.9003854005F,
- 0.9008587323F, 0.9013306526F, 0.9018011623F, 0.9022702619F,
- 0.9027379521F, 0.9032042337F, 0.9036691074F, 0.9041325739F,
- 0.9045946339F, 0.9050552882F, 0.9055145376F, 0.9059723828F,
- 0.9064288246F, 0.9068838638F, 0.9073375013F, 0.9077897379F,
- 0.9082405743F, 0.9086900115F, 0.9091380503F, 0.9095846917F,
- 0.9100299364F, 0.9104737854F, 0.9109162397F, 0.9113573001F,
- 0.9117969675F, 0.9122352430F, 0.9126721275F, 0.9131076219F,
- 0.9135417273F, 0.9139744447F, 0.9144057750F, 0.9148357194F,
- 0.9152642787F, 0.9156914542F, 0.9161172468F, 0.9165416576F,
- 0.9169646877F, 0.9173863382F, 0.9178066102F, 0.9182255048F,
- 0.9186430232F, 0.9190591665F, 0.9194739359F, 0.9198873324F,
- 0.9202993574F, 0.9207100120F, 0.9211192973F, 0.9215272147F,
- 0.9219337653F, 0.9223389504F, 0.9227427713F, 0.9231452290F,
- 0.9235463251F, 0.9239460607F, 0.9243444371F, 0.9247414557F,
- 0.9251371177F, 0.9255314245F, 0.9259243774F, 0.9263159778F,
- 0.9267062270F, 0.9270951264F, 0.9274826774F, 0.9278688814F,
- 0.9282537398F, 0.9286372540F, 0.9290194254F, 0.9294002555F,
- 0.9297797458F, 0.9301578976F, 0.9305347125F, 0.9309101919F,
- 0.9312843373F, 0.9316571503F, 0.9320286323F, 0.9323987849F,
- 0.9327676097F, 0.9331351080F, 0.9335012816F, 0.9338661320F,
- 0.9342296607F, 0.9345918694F, 0.9349527596F, 0.9353123330F,
- 0.9356705911F, 0.9360275357F, 0.9363831683F, 0.9367374905F,
- 0.9370905042F, 0.9374422108F, 0.9377926122F, 0.9381417099F,
- 0.9384895057F, 0.9388360014F, 0.9391811985F, 0.9395250989F,
- 0.9398677043F, 0.9402090165F, 0.9405490371F, 0.9408877680F,
- 0.9412252110F, 0.9415613678F, 0.9418962402F, 0.9422298301F,
- 0.9425621392F, 0.9428931695F, 0.9432229226F, 0.9435514005F,
- 0.9438786050F, 0.9442045381F, 0.9445292014F, 0.9448525971F,
- 0.9451747268F, 0.9454955926F, 0.9458151963F, 0.9461335399F,
- 0.9464506253F, 0.9467664545F, 0.9470810293F, 0.9473943517F,
- 0.9477064238F, 0.9480172474F, 0.9483268246F, 0.9486351573F,
- 0.9489422475F, 0.9492480973F, 0.9495527087F, 0.9498560837F,
- 0.9501582243F, 0.9504591325F, 0.9507588105F, 0.9510572603F,
- 0.9513544839F, 0.9516504834F, 0.9519452609F, 0.9522388186F,
- 0.9525311584F, 0.9528222826F, 0.9531121932F, 0.9534008923F,
- 0.9536883821F, 0.9539746647F, 0.9542597424F, 0.9545436171F,
- 0.9548262912F, 0.9551077667F, 0.9553880459F, 0.9556671309F,
- 0.9559450239F, 0.9562217272F, 0.9564972429F, 0.9567715733F,
- 0.9570447206F, 0.9573166871F, 0.9575874749F, 0.9578570863F,
- 0.9581255236F, 0.9583927890F, 0.9586588849F, 0.9589238134F,
- 0.9591875769F, 0.9594501777F, 0.9597116180F, 0.9599719003F,
- 0.9602310267F, 0.9604889995F, 0.9607458213F, 0.9610014942F,
- 0.9612560206F, 0.9615094028F, 0.9617616433F, 0.9620127443F,
- 0.9622627083F, 0.9625115376F, 0.9627592345F, 0.9630058016F,
- 0.9632512411F, 0.9634955555F, 0.9637387471F, 0.9639808185F,
- 0.9642217720F, 0.9644616100F, 0.9647003349F, 0.9649379493F,
- 0.9651744556F, 0.9654098561F, 0.9656441534F, 0.9658773499F,
- 0.9661094480F, 0.9663404504F, 0.9665703593F, 0.9667991774F,
- 0.9670269071F, 0.9672535509F, 0.9674791114F, 0.9677035909F,
- 0.9679269921F, 0.9681493174F, 0.9683705694F, 0.9685907506F,
- 0.9688098636F, 0.9690279108F, 0.9692448948F, 0.9694608182F,
- 0.9696756836F, 0.9698894934F, 0.9701022503F, 0.9703139569F,
- 0.9705246156F, 0.9707342291F, 0.9709428000F, 0.9711503309F,
- 0.9713568243F, 0.9715622829F, 0.9717667093F, 0.9719701060F,
- 0.9721724757F, 0.9723738210F, 0.9725741446F, 0.9727734490F,
- 0.9729717369F, 0.9731690109F, 0.9733652737F, 0.9735605279F,
- 0.9737547762F, 0.9739480212F, 0.9741402656F, 0.9743315120F,
- 0.9745217631F, 0.9747110216F, 0.9748992901F, 0.9750865714F,
- 0.9752728681F, 0.9754581829F, 0.9756425184F, 0.9758258775F,
- 0.9760082627F, 0.9761896768F, 0.9763701224F, 0.9765496024F,
- 0.9767281193F, 0.9769056760F, 0.9770822751F, 0.9772579193F,
- 0.9774326114F, 0.9776063542F, 0.9777791502F, 0.9779510023F,
- 0.9781219133F, 0.9782918858F, 0.9784609226F, 0.9786290264F,
- 0.9787962000F, 0.9789624461F, 0.9791277676F, 0.9792921671F,
- 0.9794556474F, 0.9796182113F, 0.9797798615F, 0.9799406009F,
- 0.9801004321F, 0.9802593580F, 0.9804173813F, 0.9805745049F,
- 0.9807307314F, 0.9808860637F, 0.9810405046F, 0.9811940568F,
- 0.9813467232F, 0.9814985065F, 0.9816494095F, 0.9817994351F,
- 0.9819485860F, 0.9820968650F, 0.9822442750F, 0.9823908186F,
- 0.9825364988F, 0.9826813184F, 0.9828252801F, 0.9829683868F,
- 0.9831106413F, 0.9832520463F, 0.9833926048F, 0.9835323195F,
- 0.9836711932F, 0.9838092288F, 0.9839464291F, 0.9840827969F,
- 0.9842183351F, 0.9843530464F, 0.9844869337F, 0.9846199998F,
- 0.9847522475F, 0.9848836798F, 0.9850142993F, 0.9851441090F,
- 0.9852731117F, 0.9854013101F, 0.9855287073F, 0.9856553058F,
- 0.9857811087F, 0.9859061188F, 0.9860303388F, 0.9861537717F,
- 0.9862764202F, 0.9863982872F, 0.9865193756F, 0.9866396882F,
- 0.9867592277F, 0.9868779972F, 0.9869959993F, 0.9871132370F,
- 0.9872297131F, 0.9873454304F, 0.9874603918F, 0.9875746001F,
- 0.9876880581F, 0.9878007688F, 0.9879127348F, 0.9880239592F,
- 0.9881344447F, 0.9882441941F, 0.9883532104F, 0.9884614962F,
- 0.9885690546F, 0.9886758883F, 0.9887820001F, 0.9888873930F,
- 0.9889920697F, 0.9890960331F, 0.9891992859F, 0.9893018312F,
- 0.9894036716F, 0.9895048100F, 0.9896052493F, 0.9897049923F,
- 0.9898040418F, 0.9899024006F, 0.9900000717F, 0.9900970577F,
- 0.9901933616F, 0.9902889862F, 0.9903839343F, 0.9904782087F,
- 0.9905718122F, 0.9906647477F, 0.9907570180F, 0.9908486259F,
- 0.9909395742F, 0.9910298658F, 0.9911195034F, 0.9912084899F,
- 0.9912968281F, 0.9913845208F, 0.9914715708F, 0.9915579810F,
- 0.9916437540F, 0.9917288928F, 0.9918134001F, 0.9918972788F,
- 0.9919805316F, 0.9920631613F, 0.9921451707F, 0.9922265626F,
- 0.9923073399F, 0.9923875052F, 0.9924670615F, 0.9925460114F,
- 0.9926243577F, 0.9927021033F, 0.9927792508F, 0.9928558032F,
- 0.9929317631F, 0.9930071333F, 0.9930819167F, 0.9931561158F,
- 0.9932297337F, 0.9933027728F, 0.9933752362F, 0.9934471264F,
- 0.9935184462F, 0.9935891985F, 0.9936593859F, 0.9937290112F,
- 0.9937980771F, 0.9938665864F, 0.9939345418F, 0.9940019460F,
- 0.9940688018F, 0.9941351118F, 0.9942008789F, 0.9942661057F,
- 0.9943307950F, 0.9943949494F, 0.9944585717F, 0.9945216645F,
- 0.9945842307F, 0.9946462728F, 0.9947077936F, 0.9947687957F,
- 0.9948292820F, 0.9948892550F, 0.9949487174F, 0.9950076719F,
- 0.9950661212F, 0.9951240679F, 0.9951815148F, 0.9952384645F,
- 0.9952949196F, 0.9953508828F, 0.9954063568F, 0.9954613442F,
- 0.9955158476F, 0.9955698697F, 0.9956234132F, 0.9956764806F,
- 0.9957290746F, 0.9957811978F, 0.9958328528F, 0.9958840423F,
- 0.9959347688F, 0.9959850351F, 0.9960348435F, 0.9960841969F,
- 0.9961330977F, 0.9961815486F, 0.9962295521F, 0.9962771108F,
- 0.9963242274F, 0.9963709043F, 0.9964171441F, 0.9964629494F,
- 0.9965083228F, 0.9965532668F, 0.9965977840F, 0.9966418768F,
- 0.9966855479F, 0.9967287998F, 0.9967716350F, 0.9968140559F,
- 0.9968560653F, 0.9968976655F, 0.9969388591F, 0.9969796485F,
- 0.9970200363F, 0.9970600250F, 0.9970996170F, 0.9971388149F,
- 0.9971776211F, 0.9972160380F, 0.9972540683F, 0.9972917142F,
- 0.9973289783F, 0.9973658631F, 0.9974023709F, 0.9974385042F,
- 0.9974742655F, 0.9975096571F, 0.9975446816F, 0.9975793413F,
- 0.9976136386F, 0.9976475759F, 0.9976811557F, 0.9977143803F,
- 0.9977472521F, 0.9977797736F, 0.9978119470F, 0.9978437748F,
- 0.9978752593F, 0.9979064029F, 0.9979372079F, 0.9979676768F,
- 0.9979978117F, 0.9980276151F, 0.9980570893F, 0.9980862367F,
- 0.9981150595F, 0.9981435600F, 0.9981717406F, 0.9981996035F,
- 0.9982271511F, 0.9982543856F, 0.9982813093F, 0.9983079246F,
- 0.9983342336F, 0.9983602386F, 0.9983859418F, 0.9984113456F,
- 0.9984364522F, 0.9984612638F, 0.9984857825F, 0.9985100108F,
- 0.9985339507F, 0.9985576044F, 0.9985809743F, 0.9986040624F,
- 0.9986268710F, 0.9986494022F, 0.9986716583F, 0.9986936413F,
- 0.9987153535F, 0.9987367969F, 0.9987579738F, 0.9987788864F,
- 0.9987995366F, 0.9988199267F, 0.9988400587F, 0.9988599348F,
- 0.9988795572F, 0.9988989278F, 0.9989180487F, 0.9989369222F,
- 0.9989555501F, 0.9989739347F, 0.9989920780F, 0.9990099820F,
- 0.9990276487F, 0.9990450803F, 0.9990622787F, 0.9990792460F,
- 0.9990959841F, 0.9991124952F, 0.9991287812F, 0.9991448440F,
- 0.9991606858F, 0.9991763084F, 0.9991917139F, 0.9992069042F,
- 0.9992218813F, 0.9992366471F, 0.9992512035F, 0.9992655525F,
- 0.9992796961F, 0.9992936361F, 0.9993073744F, 0.9993209131F,
- 0.9993342538F, 0.9993473987F, 0.9993603494F, 0.9993731080F,
- 0.9993856762F, 0.9993980559F, 0.9994102490F, 0.9994222573F,
- 0.9994340827F, 0.9994457269F, 0.9994571918F, 0.9994684793F,
- 0.9994795910F, 0.9994905288F, 0.9995012945F, 0.9995118898F,
- 0.9995223165F, 0.9995325765F, 0.9995426713F, 0.9995526029F,
- 0.9995623728F, 0.9995719829F, 0.9995814349F, 0.9995907304F,
- 0.9995998712F, 0.9996088590F, 0.9996176954F, 0.9996263821F,
- 0.9996349208F, 0.9996433132F, 0.9996515609F, 0.9996596656F,
- 0.9996676288F, 0.9996754522F, 0.9996831375F, 0.9996906862F,
- 0.9996981000F, 0.9997053804F, 0.9997125290F, 0.9997195474F,
- 0.9997264371F, 0.9997331998F, 0.9997398369F, 0.9997463500F,
- 0.9997527406F, 0.9997590103F, 0.9997651606F, 0.9997711930F,
- 0.9997771089F, 0.9997829098F, 0.9997885973F, 0.9997941728F,
- 0.9997996378F, 0.9998049936F, 0.9998102419F, 0.9998153839F,
- 0.9998204211F, 0.9998253550F, 0.9998301868F, 0.9998349182F,
- 0.9998395503F, 0.9998440847F, 0.9998485226F, 0.9998528654F,
- 0.9998571146F, 0.9998612713F, 0.9998653370F, 0.9998693130F,
- 0.9998732007F, 0.9998770012F, 0.9998807159F, 0.9998843461F,
- 0.9998878931F, 0.9998913581F, 0.9998947424F, 0.9998980473F,
- 0.9999012740F, 0.9999044237F, 0.9999074976F, 0.9999104971F,
- 0.9999134231F, 0.9999162771F, 0.9999190601F, 0.9999217733F,
- 0.9999244179F, 0.9999269950F, 0.9999295058F, 0.9999319515F,
- 0.9999343332F, 0.9999366519F, 0.9999389088F, 0.9999411050F,
- 0.9999432416F, 0.9999453196F, 0.9999473402F, 0.9999493044F,
- 0.9999512132F, 0.9999530677F, 0.9999548690F, 0.9999566180F,
- 0.9999583157F, 0.9999599633F, 0.9999615616F, 0.9999631116F,
- 0.9999646144F, 0.9999660709F, 0.9999674820F, 0.9999688487F,
- 0.9999701719F, 0.9999714526F, 0.9999726917F, 0.9999738900F,
- 0.9999750486F, 0.9999761682F, 0.9999772497F, 0.9999782941F,
- 0.9999793021F, 0.9999802747F, 0.9999812126F, 0.9999821167F,
- 0.9999829878F, 0.9999838268F, 0.9999846343F, 0.9999854113F,
- 0.9999861584F, 0.9999868765F, 0.9999875664F, 0.9999882287F,
- 0.9999888642F, 0.9999894736F, 0.9999900577F, 0.9999906172F,
- 0.9999911528F, 0.9999916651F, 0.9999921548F, 0.9999926227F,
- 0.9999930693F, 0.9999934954F, 0.9999939015F, 0.9999942883F,
- 0.9999946564F, 0.9999950064F, 0.9999953390F, 0.9999956547F,
- 0.9999959541F, 0.9999962377F, 0.9999965062F, 0.9999967601F,
- 0.9999969998F, 0.9999972260F, 0.9999974392F, 0.9999976399F,
- 0.9999978285F, 0.9999980056F, 0.9999981716F, 0.9999983271F,
- 0.9999984724F, 0.9999986081F, 0.9999987345F, 0.9999988521F,
- 0.9999989613F, 0.9999990625F, 0.9999991562F, 0.9999992426F,
- 0.9999993223F, 0.9999993954F, 0.9999994625F, 0.9999995239F,
- 0.9999995798F, 0.9999996307F, 0.9999996768F, 0.9999997184F,
- 0.9999997559F, 0.9999997895F, 0.9999998195F, 0.9999998462F,
- 0.9999998698F, 0.9999998906F, 0.9999999088F, 0.9999999246F,
- 0.9999999383F, 0.9999999500F, 0.9999999600F, 0.9999999684F,
- 0.9999999754F, 0.9999999811F, 0.9999999858F, 0.9999999896F,
- 0.9999999925F, 0.9999999948F, 0.9999999965F, 0.9999999978F,
- 0.9999999986F, 0.9999999992F, 0.9999999996F, 0.9999999998F,
- 0.9999999999F, 1.0000000000F, 1.0000000000F, 1.0000000000F,
- };
- static float vwin8192[4096] = {
- 0.0000000578F, 0.0000005198F, 0.0000014438F, 0.0000028299F,
- 0.0000046780F, 0.0000069882F, 0.0000097604F, 0.0000129945F,
- 0.0000166908F, 0.0000208490F, 0.0000254692F, 0.0000305515F,
- 0.0000360958F, 0.0000421021F, 0.0000485704F, 0.0000555006F,
- 0.0000628929F, 0.0000707472F, 0.0000790635F, 0.0000878417F,
- 0.0000970820F, 0.0001067842F, 0.0001169483F, 0.0001275744F,
- 0.0001386625F, 0.0001502126F, 0.0001622245F, 0.0001746984F,
- 0.0001876343F, 0.0002010320F, 0.0002148917F, 0.0002292132F,
- 0.0002439967F, 0.0002592421F, 0.0002749493F, 0.0002911184F,
- 0.0003077493F, 0.0003248421F, 0.0003423967F, 0.0003604132F,
- 0.0003788915F, 0.0003978316F, 0.0004172335F, 0.0004370971F,
- 0.0004574226F, 0.0004782098F, 0.0004994587F, 0.0005211694F,
- 0.0005433418F, 0.0005659759F, 0.0005890717F, 0.0006126292F,
- 0.0006366484F, 0.0006611292F, 0.0006860716F, 0.0007114757F,
- 0.0007373414F, 0.0007636687F, 0.0007904576F, 0.0008177080F,
- 0.0008454200F, 0.0008735935F, 0.0009022285F, 0.0009313250F,
- 0.0009608830F, 0.0009909025F, 0.0010213834F, 0.0010523257F,
- 0.0010837295F, 0.0011155946F, 0.0011479211F, 0.0011807090F,
- 0.0012139582F, 0.0012476687F, 0.0012818405F, 0.0013164736F,
- 0.0013515679F, 0.0013871235F, 0.0014231402F, 0.0014596182F,
- 0.0014965573F, 0.0015339576F, 0.0015718190F, 0.0016101415F,
- 0.0016489251F, 0.0016881698F, 0.0017278754F, 0.0017680421F,
- 0.0018086698F, 0.0018497584F, 0.0018913080F, 0.0019333185F,
- 0.0019757898F, 0.0020187221F, 0.0020621151F, 0.0021059690F,
- 0.0021502837F, 0.0021950591F, 0.0022402953F, 0.0022859921F,
- 0.0023321497F, 0.0023787679F, 0.0024258467F, 0.0024733861F,
- 0.0025213861F, 0.0025698466F, 0.0026187676F, 0.0026681491F,
- 0.0027179911F, 0.0027682935F, 0.0028190562F, 0.0028702794F,
- 0.0029219628F, 0.0029741066F, 0.0030267107F, 0.0030797749F,
- 0.0031332994F, 0.0031872841F, 0.0032417289F, 0.0032966338F,
- 0.0033519988F, 0.0034078238F, 0.0034641089F, 0.0035208539F,
- 0.0035780589F, 0.0036357237F, 0.0036938485F, 0.0037524331F,
- 0.0038114775F, 0.0038709817F, 0.0039309456F, 0.0039913692F,
- 0.0040522524F, 0.0041135953F, 0.0041753978F, 0.0042376599F,
- 0.0043003814F, 0.0043635624F, 0.0044272029F, 0.0044913028F,
- 0.0045558620F, 0.0046208806F, 0.0046863585F, 0.0047522955F,
- 0.0048186919F, 0.0048855473F, 0.0049528619F, 0.0050206356F,
- 0.0050888684F, 0.0051575601F, 0.0052267108F, 0.0052963204F,
- 0.0053663890F, 0.0054369163F, 0.0055079025F, 0.0055793474F,
- 0.0056512510F, 0.0057236133F, 0.0057964342F, 0.0058697137F,
- 0.0059434517F, 0.0060176482F, 0.0060923032F, 0.0061674166F,
- 0.0062429883F, 0.0063190183F, 0.0063955066F, 0.0064724532F,
- 0.0065498579F, 0.0066277207F, 0.0067060416F, 0.0067848205F,
- 0.0068640575F, 0.0069437523F, 0.0070239051F, 0.0071045157F,
- 0.0071855840F, 0.0072671102F, 0.0073490940F, 0.0074315355F,
- 0.0075144345F, 0.0075977911F, 0.0076816052F, 0.0077658768F,
- 0.0078506057F, 0.0079357920F, 0.0080214355F, 0.0081075363F,
- 0.0081940943F, 0.0082811094F, 0.0083685816F, 0.0084565108F,
- 0.0085448970F, 0.0086337401F, 0.0087230401F, 0.0088127969F,
- 0.0089030104F, 0.0089936807F, 0.0090848076F, 0.0091763911F,
- 0.0092684311F, 0.0093609276F, 0.0094538805F, 0.0095472898F,
- 0.0096411554F, 0.0097354772F, 0.0098302552F, 0.0099254894F,
- 0.0100211796F, 0.0101173259F, 0.0102139281F, 0.0103109863F,
- 0.0104085002F, 0.0105064700F, 0.0106048955F, 0.0107037766F,
- 0.0108031133F, 0.0109029056F, 0.0110031534F, 0.0111038565F,
- 0.0112050151F, 0.0113066289F, 0.0114086980F, 0.0115112222F,
- 0.0116142015F, 0.0117176359F, 0.0118215252F, 0.0119258695F,
- 0.0120306686F, 0.0121359225F, 0.0122416312F, 0.0123477944F,
- 0.0124544123F, 0.0125614847F, 0.0126690116F, 0.0127769928F,
- 0.0128854284F, 0.0129943182F, 0.0131036623F, 0.0132134604F,
- 0.0133237126F, 0.0134344188F, 0.0135455790F, 0.0136571929F,
- 0.0137692607F, 0.0138817821F, 0.0139947572F, 0.0141081859F,
- 0.0142220681F, 0.0143364037F, 0.0144511927F, 0.0145664350F,
- 0.0146821304F, 0.0147982791F, 0.0149148808F, 0.0150319355F,
- 0.0151494431F, 0.0152674036F, 0.0153858168F, 0.0155046828F,
- 0.0156240014F, 0.0157437726F, 0.0158639962F, 0.0159846723F,
- 0.0161058007F, 0.0162273814F, 0.0163494142F, 0.0164718991F,
- 0.0165948361F, 0.0167182250F, 0.0168420658F, 0.0169663584F,
- 0.0170911027F, 0.0172162987F, 0.0173419462F, 0.0174680452F,
- 0.0175945956F, 0.0177215974F, 0.0178490504F, 0.0179769545F,
- 0.0181053098F, 0.0182341160F, 0.0183633732F, 0.0184930812F,
- 0.0186232399F, 0.0187538494F, 0.0188849094F, 0.0190164200F,
- 0.0191483809F, 0.0192807923F, 0.0194136539F, 0.0195469656F,
- 0.0196807275F, 0.0198149394F, 0.0199496012F, 0.0200847128F,
- 0.0202202742F, 0.0203562853F, 0.0204927460F, 0.0206296561F,
- 0.0207670157F, 0.0209048245F, 0.0210430826F, 0.0211817899F,
- 0.0213209462F, 0.0214605515F, 0.0216006057F, 0.0217411086F,
- 0.0218820603F, 0.0220234605F, 0.0221653093F, 0.0223076066F,
- 0.0224503521F, 0.0225935459F, 0.0227371879F, 0.0228812779F,
- 0.0230258160F, 0.0231708018F, 0.0233162355F, 0.0234621169F,
- 0.0236084459F, 0.0237552224F, 0.0239024462F, 0.0240501175F,
- 0.0241982359F, 0.0243468015F, 0.0244958141F, 0.0246452736F,
- 0.0247951800F, 0.0249455331F, 0.0250963329F, 0.0252475792F,
- 0.0253992720F, 0.0255514111F, 0.0257039965F, 0.0258570281F,
- 0.0260105057F, 0.0261644293F, 0.0263187987F, 0.0264736139F,
- 0.0266288747F, 0.0267845811F, 0.0269407330F, 0.0270973302F,
- 0.0272543727F, 0.0274118604F, 0.0275697930F, 0.0277281707F,
- 0.0278869932F, 0.0280462604F, 0.0282059723F, 0.0283661287F,
- 0.0285267295F, 0.0286877747F, 0.0288492641F, 0.0290111976F,
- 0.0291735751F, 0.0293363965F, 0.0294996617F, 0.0296633706F,
- 0.0298275231F, 0.0299921190F, 0.0301571583F, 0.0303226409F,
- 0.0304885667F, 0.0306549354F, 0.0308217472F, 0.0309890017F,
- 0.0311566989F, 0.0313248388F, 0.0314934211F, 0.0316624459F,
- 0.0318319128F, 0.0320018220F, 0.0321721732F, 0.0323429663F,
- 0.0325142013F, 0.0326858779F, 0.0328579962F, 0.0330305559F,
- 0.0332035570F, 0.0333769994F, 0.0335508829F, 0.0337252074F,
- 0.0338999728F, 0.0340751790F, 0.0342508259F, 0.0344269134F,
- 0.0346034412F, 0.0347804094F, 0.0349578178F, 0.0351356663F,
- 0.0353139548F, 0.0354926831F, 0.0356718511F, 0.0358514588F,
- 0.0360315059F, 0.0362119924F, 0.0363929182F, 0.0365742831F,
- 0.0367560870F, 0.0369383297F, 0.0371210113F, 0.0373041315F,
- 0.0374876902F, 0.0376716873F, 0.0378561226F, 0.0380409961F,
- 0.0382263077F, 0.0384120571F, 0.0385982443F, 0.0387848691F,
- 0.0389719315F, 0.0391594313F, 0.0393473683F, 0.0395357425F,
- 0.0397245537F, 0.0399138017F, 0.0401034866F, 0.0402936080F,
- 0.0404841660F, 0.0406751603F, 0.0408665909F, 0.0410584576F,
- 0.0412507603F, 0.0414434988F, 0.0416366731F, 0.0418302829F,
- 0.0420243282F, 0.0422188088F, 0.0424137246F, 0.0426090755F,
- 0.0428048613F, 0.0430010819F, 0.0431977371F, 0.0433948269F,
- 0.0435923511F, 0.0437903095F, 0.0439887020F, 0.0441875285F,
- 0.0443867889F, 0.0445864830F, 0.0447866106F, 0.0449871717F,
- 0.0451881661F, 0.0453895936F, 0.0455914542F, 0.0457937477F,
- 0.0459964738F, 0.0461996326F, 0.0464032239F, 0.0466072475F,
- 0.0468117032F, 0.0470165910F, 0.0472219107F, 0.0474276622F,
- 0.0476338452F, 0.0478404597F, 0.0480475056F, 0.0482549827F,
- 0.0484628907F, 0.0486712297F, 0.0488799994F, 0.0490891998F,
- 0.0492988306F, 0.0495088917F, 0.0497193830F, 0.0499303043F,
- 0.0501416554F, 0.0503534363F, 0.0505656468F, 0.0507782867F,
- 0.0509913559F, 0.0512048542F, 0.0514187815F, 0.0516331376F,
- 0.0518479225F, 0.0520631358F, 0.0522787775F, 0.0524948475F,
- 0.0527113455F, 0.0529282715F, 0.0531456252F, 0.0533634066F,
- 0.0535816154F, 0.0538002515F, 0.0540193148F, 0.0542388051F,
- 0.0544587222F, 0.0546790660F, 0.0548998364F, 0.0551210331F,
- 0.0553426561F, 0.0555647051F, 0.0557871801F, 0.0560100807F,
- 0.0562334070F, 0.0564571587F, 0.0566813357F, 0.0569059378F,
- 0.0571309649F, 0.0573564168F, 0.0575822933F, 0.0578085942F,
- 0.0580353195F, 0.0582624689F, 0.0584900423F, 0.0587180396F,
- 0.0589464605F, 0.0591753049F, 0.0594045726F, 0.0596342635F,
- 0.0598643774F, 0.0600949141F, 0.0603258735F, 0.0605572555F,
- 0.0607890597F, 0.0610212862F, 0.0612539346F, 0.0614870049F,
- 0.0617204968F, 0.0619544103F, 0.0621887451F, 0.0624235010F,
- 0.0626586780F, 0.0628942758F, 0.0631302942F, 0.0633667331F,
- 0.0636035923F, 0.0638408717F, 0.0640785710F, 0.0643166901F,
- 0.0645552288F, 0.0647941870F, 0.0650335645F, 0.0652733610F,
- 0.0655135765F, 0.0657542108F, 0.0659952636F, 0.0662367348F,
- 0.0664786242F, 0.0667209316F, 0.0669636570F, 0.0672068000F,
- 0.0674503605F, 0.0676943384F, 0.0679387334F, 0.0681835454F,
- 0.0684287742F, 0.0686744196F, 0.0689204814F, 0.0691669595F,
- 0.0694138536F, 0.0696611637F, 0.0699088894F, 0.0701570307F,
- 0.0704055873F, 0.0706545590F, 0.0709039458F, 0.0711537473F,
- 0.0714039634F, 0.0716545939F, 0.0719056387F, 0.0721570975F,
- 0.0724089702F, 0.0726612565F, 0.0729139563F, 0.0731670694F,
- 0.0734205956F, 0.0736745347F, 0.0739288866F, 0.0741836510F,
- 0.0744388277F, 0.0746944166F, 0.0749504175F, 0.0752068301F,
- 0.0754636543F, 0.0757208899F, 0.0759785367F, 0.0762365946F,
- 0.0764950632F, 0.0767539424F, 0.0770132320F, 0.0772729319F,
- 0.0775330418F, 0.0777935616F, 0.0780544909F, 0.0783158298F,
- 0.0785775778F, 0.0788397349F, 0.0791023009F, 0.0793652755F,
- 0.0796286585F, 0.0798924498F, 0.0801566492F, 0.0804212564F,
- 0.0806862712F, 0.0809516935F, 0.0812175231F, 0.0814837597F,
- 0.0817504031F, 0.0820174532F, 0.0822849097F, 0.0825527724F,
- 0.0828210412F, 0.0830897158F, 0.0833587960F, 0.0836282816F,
- 0.0838981724F, 0.0841684682F, 0.0844391688F, 0.0847102740F,
- 0.0849817835F, 0.0852536973F, 0.0855260150F, 0.0857987364F,
- 0.0860718614F, 0.0863453897F, 0.0866193211F, 0.0868936554F,
- 0.0871683924F, 0.0874435319F, 0.0877190737F, 0.0879950175F,
- 0.0882713632F, 0.0885481105F, 0.0888252592F, 0.0891028091F,
- 0.0893807600F, 0.0896591117F, 0.0899378639F, 0.0902170165F,
- 0.0904965692F, 0.0907765218F, 0.0910568740F, 0.0913376258F,
- 0.0916187767F, 0.0919003268F, 0.0921822756F, 0.0924646230F,
- 0.0927473687F, 0.0930305126F, 0.0933140545F, 0.0935979940F,
- 0.0938823310F, 0.0941670653F, 0.0944521966F, 0.0947377247F,
- 0.0950236494F, 0.0953099704F, 0.0955966876F, 0.0958838007F,
- 0.0961713094F, 0.0964592136F, 0.0967475131F, 0.0970362075F,
- 0.0973252967F, 0.0976147805F, 0.0979046585F, 0.0981949307F,
- 0.0984855967F, 0.0987766563F, 0.0990681093F, 0.0993599555F,
- 0.0996521945F, 0.0999448263F, 0.1002378506F, 0.1005312671F,
- 0.1008250755F, 0.1011192757F, 0.1014138675F, 0.1017088505F,
- 0.1020042246F, 0.1022999895F, 0.1025961450F, 0.1028926909F,
- 0.1031896268F, 0.1034869526F, 0.1037846680F, 0.1040827729F,
- 0.1043812668F, 0.1046801497F, 0.1049794213F, 0.1052790813F,
- 0.1055791294F, 0.1058795656F, 0.1061803894F, 0.1064816006F,
- 0.1067831991F, 0.1070851846F, 0.1073875568F, 0.1076903155F,
- 0.1079934604F, 0.1082969913F, 0.1086009079F, 0.1089052101F,
- 0.1092098975F, 0.1095149699F, 0.1098204270F, 0.1101262687F,
- 0.1104324946F, 0.1107391045F, 0.1110460982F, 0.1113534754F,
- 0.1116612359F, 0.1119693793F, 0.1122779055F, 0.1125868142F,
- 0.1128961052F, 0.1132057781F, 0.1135158328F, 0.1138262690F,
- 0.1141370863F, 0.1144482847F, 0.1147598638F, 0.1150718233F,
- 0.1153841631F, 0.1156968828F, 0.1160099822F, 0.1163234610F,
- 0.1166373190F, 0.1169515559F, 0.1172661714F, 0.1175811654F,
- 0.1178965374F, 0.1182122874F, 0.1185284149F, 0.1188449198F,
- 0.1191618018F, 0.1194790606F, 0.1197966960F, 0.1201147076F,
- 0.1204330953F, 0.1207518587F, 0.1210709976F, 0.1213905118F,
- 0.1217104009F, 0.1220306647F, 0.1223513029F, 0.1226723153F,
- 0.1229937016F, 0.1233154615F, 0.1236375948F, 0.1239601011F,
- 0.1242829803F, 0.1246062319F, 0.1249298559F, 0.1252538518F,
- 0.1255782195F, 0.1259029586F, 0.1262280689F, 0.1265535501F,
- 0.1268794019F, 0.1272056241F, 0.1275322163F, 0.1278591784F,
- 0.1281865099F, 0.1285142108F, 0.1288422805F, 0.1291707190F,
- 0.1294995259F, 0.1298287009F, 0.1301582437F, 0.1304881542F,
- 0.1308184319F, 0.1311490766F, 0.1314800881F, 0.1318114660F,
- 0.1321432100F, 0.1324753200F, 0.1328077955F, 0.1331406364F,
- 0.1334738422F, 0.1338074129F, 0.1341413479F, 0.1344756472F,
- 0.1348103103F, 0.1351453370F, 0.1354807270F, 0.1358164801F,
- 0.1361525959F, 0.1364890741F, 0.1368259145F, 0.1371631167F,
- 0.1375006805F, 0.1378386056F, 0.1381768917F, 0.1385155384F,
- 0.1388545456F, 0.1391939129F, 0.1395336400F, 0.1398737266F,
- 0.1402141724F, 0.1405549772F, 0.1408961406F, 0.1412376623F,
- 0.1415795421F, 0.1419217797F, 0.1422643746F, 0.1426073268F,
- 0.1429506358F, 0.1432943013F, 0.1436383231F, 0.1439827008F,
- 0.1443274342F, 0.1446725229F, 0.1450179667F, 0.1453637652F,
- 0.1457099181F, 0.1460564252F, 0.1464032861F, 0.1467505006F,
- 0.1470980682F, 0.1474459888F, 0.1477942620F, 0.1481428875F,
- 0.1484918651F, 0.1488411942F, 0.1491908748F, 0.1495409065F,
- 0.1498912889F, 0.1502420218F, 0.1505931048F, 0.1509445376F,
- 0.1512963200F, 0.1516484516F, 0.1520009321F, 0.1523537612F,
- 0.1527069385F, 0.1530604638F, 0.1534143368F, 0.1537685571F,
- 0.1541231244F, 0.1544780384F, 0.1548332987F, 0.1551889052F,
- 0.1555448574F, 0.1559011550F, 0.1562577978F, 0.1566147853F,
- 0.1569721173F, 0.1573297935F, 0.1576878135F, 0.1580461771F,
- 0.1584048838F, 0.1587639334F, 0.1591233255F, 0.1594830599F,
- 0.1598431361F, 0.1602035540F, 0.1605643131F, 0.1609254131F,
- 0.1612868537F, 0.1616486346F, 0.1620107555F, 0.1623732160F,
- 0.1627360158F, 0.1630991545F, 0.1634626319F, 0.1638264476F,
- 0.1641906013F, 0.1645550926F, 0.1649199212F, 0.1652850869F,
- 0.1656505892F, 0.1660164278F, 0.1663826024F, 0.1667491127F,
- 0.1671159583F, 0.1674831388F, 0.1678506541F, 0.1682185036F,
- 0.1685866872F, 0.1689552044F, 0.1693240549F, 0.1696932384F,
- 0.1700627545F, 0.1704326029F, 0.1708027833F, 0.1711732952F,
- 0.1715441385F, 0.1719153127F, 0.1722868175F, 0.1726586526F,
- 0.1730308176F, 0.1734033121F, 0.1737761359F, 0.1741492886F,
- 0.1745227698F, 0.1748965792F, 0.1752707164F, 0.1756451812F,
- 0.1760199731F, 0.1763950918F, 0.1767705370F, 0.1771463083F,
- 0.1775224054F, 0.1778988279F, 0.1782755754F, 0.1786526477F,
- 0.1790300444F, 0.1794077651F, 0.1797858094F, 0.1801641771F,
- 0.1805428677F, 0.1809218810F, 0.1813012165F, 0.1816808739F,
- 0.1820608528F, 0.1824411530F, 0.1828217739F, 0.1832027154F,
- 0.1835839770F, 0.1839655584F, 0.1843474592F, 0.1847296790F,
- 0.1851122175F, 0.1854950744F, 0.1858782492F, 0.1862617417F,
- 0.1866455514F, 0.1870296780F, 0.1874141211F, 0.1877988804F,
- 0.1881839555F, 0.1885693461F, 0.1889550517F, 0.1893410721F,
- 0.1897274068F, 0.1901140555F, 0.1905010178F, 0.1908882933F,
- 0.1912758818F, 0.1916637828F, 0.1920519959F, 0.1924405208F,
- 0.1928293571F, 0.1932185044F, 0.1936079625F, 0.1939977308F,
- 0.1943878091F, 0.1947781969F, 0.1951688939F, 0.1955598998F,
- 0.1959512141F, 0.1963428364F, 0.1967347665F, 0.1971270038F,
- 0.1975195482F, 0.1979123990F, 0.1983055561F, 0.1986990190F,
- 0.1990927873F, 0.1994868607F, 0.1998812388F, 0.2002759212F,
- 0.2006709075F, 0.2010661974F, 0.2014617904F, 0.2018576862F,
- 0.2022538844F, 0.2026503847F, 0.2030471865F, 0.2034442897F,
- 0.2038416937F, 0.2042393982F, 0.2046374028F, 0.2050357071F,
- 0.2054343107F, 0.2058332133F, 0.2062324145F, 0.2066319138F,
- 0.2070317110F, 0.2074318055F, 0.2078321970F, 0.2082328852F,
- 0.2086338696F, 0.2090351498F, 0.2094367255F, 0.2098385962F,
- 0.2102407617F, 0.2106432213F, 0.2110459749F, 0.2114490220F,
- 0.2118523621F, 0.2122559950F, 0.2126599202F, 0.2130641373F,
- 0.2134686459F, 0.2138734456F, 0.2142785361F, 0.2146839168F,
- 0.2150895875F, 0.2154955478F, 0.2159017972F, 0.2163083353F,
- 0.2167151617F, 0.2171222761F, 0.2175296780F, 0.2179373670F,
- 0.2183453428F, 0.2187536049F, 0.2191621529F, 0.2195709864F,
- 0.2199801051F, 0.2203895085F, 0.2207991961F, 0.2212091677F,
- 0.2216194228F, 0.2220299610F, 0.2224407818F, 0.2228518850F,
- 0.2232632699F, 0.2236749364F, 0.2240868839F, 0.2244991121F,
- 0.2249116204F, 0.2253244086F, 0.2257374763F, 0.2261508229F,
- 0.2265644481F, 0.2269783514F, 0.2273925326F, 0.2278069911F,
- 0.2282217265F, 0.2286367384F, 0.2290520265F, 0.2294675902F,
- 0.2298834292F, 0.2302995431F, 0.2307159314F, 0.2311325937F,
- 0.2315495297F, 0.2319667388F, 0.2323842207F, 0.2328019749F,
- 0.2332200011F, 0.2336382988F, 0.2340568675F, 0.2344757070F,
- 0.2348948166F, 0.2353141961F, 0.2357338450F, 0.2361537629F,
- 0.2365739493F, 0.2369944038F, 0.2374151261F, 0.2378361156F,
- 0.2382573720F, 0.2386788948F, 0.2391006836F, 0.2395227380F,
- 0.2399450575F, 0.2403676417F, 0.2407904902F, 0.2412136026F,
- 0.2416369783F, 0.2420606171F, 0.2424845185F, 0.2429086820F,
- 0.2433331072F, 0.2437577936F, 0.2441827409F, 0.2446079486F,
- 0.2450334163F, 0.2454591435F, 0.2458851298F, 0.2463113747F,
- 0.2467378779F, 0.2471646389F, 0.2475916573F, 0.2480189325F,
- 0.2484464643F, 0.2488742521F, 0.2493022955F, 0.2497305940F,
- 0.2501591473F, 0.2505879549F, 0.2510170163F, 0.2514463311F,
- 0.2518758989F, 0.2523057193F, 0.2527357916F, 0.2531661157F,
- 0.2535966909F, 0.2540275169F, 0.2544585931F, 0.2548899193F,
- 0.2553214948F, 0.2557533193F, 0.2561853924F, 0.2566177135F,
- 0.2570502822F, 0.2574830981F, 0.2579161608F, 0.2583494697F,
- 0.2587830245F, 0.2592168246F, 0.2596508697F, 0.2600851593F,
- 0.2605196929F, 0.2609544701F, 0.2613894904F, 0.2618247534F,
- 0.2622602586F, 0.2626960055F, 0.2631319938F, 0.2635682230F,
- 0.2640046925F, 0.2644414021F, 0.2648783511F, 0.2653155391F,
- 0.2657529657F, 0.2661906305F, 0.2666285329F, 0.2670666725F,
- 0.2675050489F, 0.2679436616F, 0.2683825101F, 0.2688215940F,
- 0.2692609127F, 0.2697004660F, 0.2701402532F, 0.2705802739F,
- 0.2710205278F, 0.2714610142F, 0.2719017327F, 0.2723426830F,
- 0.2727838644F, 0.2732252766F, 0.2736669191F, 0.2741087914F,
- 0.2745508930F, 0.2749932235F, 0.2754357824F, 0.2758785693F,
- 0.2763215837F, 0.2767648251F, 0.2772082930F, 0.2776519870F,
- 0.2780959066F, 0.2785400513F, 0.2789844207F, 0.2794290143F,
- 0.2798738316F, 0.2803188722F, 0.2807641355F, 0.2812096211F,
- 0.2816553286F, 0.2821012574F, 0.2825474071F, 0.2829937773F,
- 0.2834403673F, 0.2838871768F, 0.2843342053F, 0.2847814523F,
- 0.2852289174F, 0.2856765999F, 0.2861244996F, 0.2865726159F,
- 0.2870209482F, 0.2874694962F, 0.2879182594F, 0.2883672372F,
- 0.2888164293F, 0.2892658350F, 0.2897154540F, 0.2901652858F,
- 0.2906153298F, 0.2910655856F, 0.2915160527F, 0.2919667306F,
- 0.2924176189F, 0.2928687171F, 0.2933200246F, 0.2937715409F,
- 0.2942232657F, 0.2946751984F, 0.2951273386F, 0.2955796856F,
- 0.2960322391F, 0.2964849986F, 0.2969379636F, 0.2973911335F,
- 0.2978445080F, 0.2982980864F, 0.2987518684F, 0.2992058534F,
- 0.2996600409F, 0.3001144305F, 0.3005690217F, 0.3010238139F,
- 0.3014788067F, 0.3019339995F, 0.3023893920F, 0.3028449835F,
- 0.3033007736F, 0.3037567618F, 0.3042129477F, 0.3046693306F,
- 0.3051259102F, 0.3055826859F, 0.3060396572F, 0.3064968236F,
- 0.3069541847F, 0.3074117399F, 0.3078694887F, 0.3083274307F,
- 0.3087855653F, 0.3092438920F, 0.3097024104F, 0.3101611199F,
- 0.3106200200F, 0.3110791103F, 0.3115383902F, 0.3119978592F,
- 0.3124575169F, 0.3129173627F, 0.3133773961F, 0.3138376166F,
- 0.3142980238F, 0.3147586170F, 0.3152193959F, 0.3156803598F,
- 0.3161415084F, 0.3166028410F, 0.3170643573F, 0.3175260566F,
- 0.3179879384F, 0.3184500023F, 0.3189122478F, 0.3193746743F,
- 0.3198372814F, 0.3203000685F, 0.3207630351F, 0.3212261807F,
- 0.3216895048F, 0.3221530069F, 0.3226166865F, 0.3230805430F,
- 0.3235445760F, 0.3240087849F, 0.3244731693F, 0.3249377285F,
- 0.3254024622F, 0.3258673698F, 0.3263324507F, 0.3267977045F,
- 0.3272631306F, 0.3277287286F, 0.3281944978F, 0.3286604379F,
- 0.3291265482F, 0.3295928284F, 0.3300592777F, 0.3305258958F,
- 0.3309926821F, 0.3314596361F, 0.3319267573F, 0.3323940451F,
- 0.3328614990F, 0.3333291186F, 0.3337969033F, 0.3342648525F,
- 0.3347329658F, 0.3352012427F, 0.3356696825F, 0.3361382849F,
- 0.3366070492F, 0.3370759749F, 0.3375450616F, 0.3380143087F,
- 0.3384837156F, 0.3389532819F, 0.3394230071F, 0.3398928905F,
- 0.3403629317F, 0.3408331302F, 0.3413034854F, 0.3417739967F,
- 0.3422446638F, 0.3427154860F, 0.3431864628F, 0.3436575938F,
- 0.3441288782F, 0.3446003158F, 0.3450719058F, 0.3455436478F,
- 0.3460155412F, 0.3464875856F, 0.3469597804F, 0.3474321250F,
- 0.3479046189F, 0.3483772617F, 0.3488500527F, 0.3493229914F,
- 0.3497960774F, 0.3502693100F, 0.3507426887F, 0.3512162131F,
- 0.3516898825F, 0.3521636965F, 0.3526376545F, 0.3531117559F,
- 0.3535860003F, 0.3540603870F, 0.3545349157F, 0.3550095856F,
- 0.3554843964F, 0.3559593474F, 0.3564344381F, 0.3569096680F,
- 0.3573850366F, 0.3578605432F, 0.3583361875F, 0.3588119687F,
- 0.3592878865F, 0.3597639402F, 0.3602401293F, 0.3607164533F,
- 0.3611929117F, 0.3616695038F, 0.3621462292F, 0.3626230873F,
- 0.3631000776F, 0.3635771995F, 0.3640544525F, 0.3645318360F,
- 0.3650093496F, 0.3654869926F, 0.3659647645F, 0.3664426648F,
- 0.3669206930F, 0.3673988484F, 0.3678771306F, 0.3683555390F,
- 0.3688340731F, 0.3693127322F, 0.3697915160F, 0.3702704237F,
- 0.3707494549F, 0.3712286091F, 0.3717078857F, 0.3721872840F,
- 0.3726668037F, 0.3731464441F, 0.3736262047F, 0.3741060850F,
- 0.3745860843F, 0.3750662023F, 0.3755464382F, 0.3760267915F,
- 0.3765072618F, 0.3769878484F, 0.3774685509F, 0.3779493686F,
- 0.3784303010F, 0.3789113475F, 0.3793925076F, 0.3798737809F,
- 0.3803551666F, 0.3808366642F, 0.3813182733F, 0.3817999932F,
- 0.3822818234F, 0.3827637633F, 0.3832458124F, 0.3837279702F,
- 0.3842102360F, 0.3846926093F, 0.3851750897F, 0.3856576764F,
- 0.3861403690F, 0.3866231670F, 0.3871060696F, 0.3875890765F,
- 0.3880721870F, 0.3885554007F, 0.3890387168F, 0.3895221349F,
- 0.3900056544F, 0.3904892748F, 0.3909729955F, 0.3914568160F,
- 0.3919407356F, 0.3924247539F, 0.3929088702F, 0.3933930841F,
- 0.3938773949F, 0.3943618021F, 0.3948463052F, 0.3953309035F,
- 0.3958155966F, 0.3963003838F, 0.3967852646F, 0.3972702385F,
- 0.3977553048F, 0.3982404631F, 0.3987257127F, 0.3992110531F,
- 0.3996964838F, 0.4001820041F, 0.4006676136F, 0.4011533116F,
- 0.4016390976F, 0.4021249710F, 0.4026109313F, 0.4030969779F,
- 0.4035831102F, 0.4040693277F, 0.4045556299F, 0.4050420160F,
- 0.4055284857F, 0.4060150383F, 0.4065016732F, 0.4069883899F,
- 0.4074751879F, 0.4079620665F, 0.4084490252F, 0.4089360635F,
- 0.4094231807F, 0.4099103763F, 0.4103976498F, 0.4108850005F,
- 0.4113724280F, 0.4118599315F, 0.4123475107F, 0.4128351648F,
- 0.4133228934F, 0.4138106959F, 0.4142985716F, 0.4147865201F,
- 0.4152745408F, 0.4157626330F, 0.4162507963F, 0.4167390301F,
- 0.4172273337F, 0.4177157067F, 0.4182041484F, 0.4186926583F,
- 0.4191812359F, 0.4196698805F, 0.4201585915F, 0.4206473685F,
- 0.4211362108F, 0.4216251179F, 0.4221140892F, 0.4226031241F,
- 0.4230922221F, 0.4235813826F, 0.4240706050F, 0.4245598887F,
- 0.4250492332F, 0.4255386379F, 0.4260281022F, 0.4265176256F,
- 0.4270072075F, 0.4274968473F, 0.4279865445F, 0.4284762984F,
- 0.4289661086F, 0.4294559743F, 0.4299458951F, 0.4304358704F,
- 0.4309258996F, 0.4314159822F, 0.4319061175F, 0.4323963050F,
- 0.4328865441F, 0.4333768342F, 0.4338671749F, 0.4343575654F,
- 0.4348480052F, 0.4353384938F, 0.4358290306F, 0.4363196149F,
- 0.4368102463F, 0.4373009241F, 0.4377916478F, 0.4382824168F,
- 0.4387732305F, 0.4392640884F, 0.4397549899F, 0.4402459343F,
- 0.4407369212F, 0.4412279499F, 0.4417190198F, 0.4422101305F,
- 0.4427012813F, 0.4431924717F, 0.4436837010F, 0.4441749686F,
- 0.4446662742F, 0.4451576169F, 0.4456489963F, 0.4461404118F,
- 0.4466318628F, 0.4471233487F, 0.4476148690F, 0.4481064230F,
- 0.4485980103F, 0.4490896302F, 0.4495812821F, 0.4500729654F,
- 0.4505646797F, 0.4510564243F, 0.4515481986F, 0.4520400021F,
- 0.4525318341F, 0.4530236942F, 0.4535155816F, 0.4540074959F,
- 0.4544994365F, 0.4549914028F, 0.4554833941F, 0.4559754100F,
- 0.4564674499F, 0.4569595131F, 0.4574515991F, 0.4579437074F,
- 0.4584358372F, 0.4589279881F, 0.4594201595F, 0.4599123508F,
- 0.4604045615F, 0.4608967908F, 0.4613890383F, 0.4618813034F,
- 0.4623735855F, 0.4628658841F, 0.4633581984F, 0.4638505281F,
- 0.4643428724F, 0.4648352308F, 0.4653276028F, 0.4658199877F,
- 0.4663123849F, 0.4668047940F, 0.4672972143F, 0.4677896451F,
- 0.4682820861F, 0.4687745365F, 0.4692669958F, 0.4697594634F,
- 0.4702519387F, 0.4707444211F, 0.4712369102F, 0.4717294052F,
- 0.4722219056F, 0.4727144109F, 0.4732069204F, 0.4736994336F,
- 0.4741919498F, 0.4746844686F, 0.4751769893F, 0.4756695113F,
- 0.4761620341F, 0.4766545571F, 0.4771470797F, 0.4776396013F,
- 0.4781321213F, 0.4786246392F, 0.4791171544F, 0.4796096663F,
- 0.4801021744F, 0.4805946779F, 0.4810871765F, 0.4815796694F,
- 0.4820721561F, 0.4825646360F, 0.4830571086F, 0.4835495732F,
- 0.4840420293F, 0.4845344763F, 0.4850269136F, 0.4855193407F,
- 0.4860117569F, 0.4865041617F, 0.4869965545F, 0.4874889347F,
- 0.4879813018F, 0.4884736551F, 0.4889659941F, 0.4894583182F,
- 0.4899506268F, 0.4904429193F, 0.4909351952F, 0.4914274538F,
- 0.4919196947F, 0.4924119172F, 0.4929041207F, 0.4933963046F,
- 0.4938884685F, 0.4943806116F, 0.4948727335F, 0.4953648335F,
- 0.4958569110F, 0.4963489656F, 0.4968409965F, 0.4973330032F,
- 0.4978249852F, 0.4983169419F, 0.4988088726F, 0.4993007768F,
- 0.4997926539F, 0.5002845034F, 0.5007763247F, 0.5012681171F,
- 0.5017598801F, 0.5022516132F, 0.5027433157F, 0.5032349871F,
- 0.5037266268F, 0.5042182341F, 0.5047098086F, 0.5052013497F,
- 0.5056928567F, 0.5061843292F, 0.5066757664F, 0.5071671679F,
- 0.5076585330F, 0.5081498613F, 0.5086411520F, 0.5091324047F,
- 0.5096236187F, 0.5101147934F, 0.5106059284F, 0.5110970230F,
- 0.5115880766F, 0.5120790887F, 0.5125700587F, 0.5130609860F,
- 0.5135518700F, 0.5140427102F, 0.5145335059F, 0.5150242566F,
- 0.5155149618F, 0.5160056208F, 0.5164962331F, 0.5169867980F,
- 0.5174773151F, 0.5179677837F, 0.5184582033F, 0.5189485733F,
- 0.5194388931F, 0.5199291621F, 0.5204193798F, 0.5209095455F,
- 0.5213996588F, 0.5218897190F, 0.5223797256F, 0.5228696779F,
- 0.5233595755F, 0.5238494177F, 0.5243392039F, 0.5248289337F,
- 0.5253186063F, 0.5258082213F, 0.5262977781F, 0.5267872760F,
- 0.5272767146F, 0.5277660932F, 0.5282554112F, 0.5287446682F,
- 0.5292338635F, 0.5297229965F, 0.5302120667F, 0.5307010736F,
- 0.5311900164F, 0.5316788947F, 0.5321677079F, 0.5326564554F,
- 0.5331451366F, 0.5336337511F, 0.5341222981F, 0.5346107771F,
- 0.5350991876F, 0.5355875290F, 0.5360758007F, 0.5365640021F,
- 0.5370521327F, 0.5375401920F, 0.5380281792F, 0.5385160939F,
- 0.5390039355F, 0.5394917034F, 0.5399793971F, 0.5404670159F,
- 0.5409545594F, 0.5414420269F, 0.5419294179F, 0.5424167318F,
- 0.5429039680F, 0.5433911261F, 0.5438782053F, 0.5443652051F,
- 0.5448521250F, 0.5453389644F, 0.5458257228F, 0.5463123995F,
- 0.5467989940F, 0.5472855057F, 0.5477719341F, 0.5482582786F,
- 0.5487445387F, 0.5492307137F, 0.5497168031F, 0.5502028063F,
- 0.5506887228F, 0.5511745520F, 0.5516602934F, 0.5521459463F,
- 0.5526315103F, 0.5531169847F, 0.5536023690F, 0.5540876626F,
- 0.5545728649F, 0.5550579755F, 0.5555429937F, 0.5560279189F,
- 0.5565127507F, 0.5569974884F, 0.5574821315F, 0.5579666794F,
- 0.5584511316F, 0.5589354875F, 0.5594197465F, 0.5599039080F,
- 0.5603879716F, 0.5608719367F, 0.5613558026F, 0.5618395689F,
- 0.5623232350F, 0.5628068002F, 0.5632902642F, 0.5637736262F,
- 0.5642568858F, 0.5647400423F, 0.5652230953F, 0.5657060442F,
- 0.5661888883F, 0.5666716272F, 0.5671542603F, 0.5676367870F,
- 0.5681192069F, 0.5686015192F, 0.5690837235F, 0.5695658192F,
- 0.5700478058F, 0.5705296827F, 0.5710114494F, 0.5714931052F,
- 0.5719746497F, 0.5724560822F, 0.5729374023F, 0.5734186094F,
- 0.5738997029F, 0.5743806823F, 0.5748615470F, 0.5753422965F,
- 0.5758229301F, 0.5763034475F, 0.5767838480F, 0.5772641310F,
- 0.5777442960F, 0.5782243426F, 0.5787042700F, 0.5791840778F,
- 0.5796637654F, 0.5801433322F, 0.5806227778F, 0.5811021016F,
- 0.5815813029F, 0.5820603814F, 0.5825393363F, 0.5830181673F,
- 0.5834968737F, 0.5839754549F, 0.5844539105F, 0.5849322399F,
- 0.5854104425F, 0.5858885179F, 0.5863664653F, 0.5868442844F,
- 0.5873219746F, 0.5877995353F, 0.5882769660F, 0.5887542661F,
- 0.5892314351F, 0.5897084724F, 0.5901853776F, 0.5906621500F,
- 0.5911387892F, 0.5916152945F, 0.5920916655F, 0.5925679016F,
- 0.5930440022F, 0.5935199669F, 0.5939957950F, 0.5944714861F,
- 0.5949470396F, 0.5954224550F, 0.5958977317F, 0.5963728692F,
- 0.5968478669F, 0.5973227244F, 0.5977974411F, 0.5982720163F,
- 0.5987464497F, 0.5992207407F, 0.5996948887F, 0.6001688932F,
- 0.6006427537F, 0.6011164696F, 0.6015900405F, 0.6020634657F,
- 0.6025367447F, 0.6030098770F, 0.6034828621F, 0.6039556995F,
- 0.6044283885F, 0.6049009288F, 0.6053733196F, 0.6058455606F,
- 0.6063176512F, 0.6067895909F, 0.6072613790F, 0.6077330152F,
- 0.6082044989F, 0.6086758295F, 0.6091470065F, 0.6096180294F,
- 0.6100888977F, 0.6105596108F, 0.6110301682F, 0.6115005694F,
- 0.6119708139F, 0.6124409011F, 0.6129108305F, 0.6133806017F,
- 0.6138502139F, 0.6143196669F, 0.6147889599F, 0.6152580926F,
- 0.6157270643F, 0.6161958746F, 0.6166645230F, 0.6171330088F,
- 0.6176013317F, 0.6180694910F, 0.6185374863F, 0.6190053171F,
- 0.6194729827F, 0.6199404828F, 0.6204078167F, 0.6208749841F,
- 0.6213419842F, 0.6218088168F, 0.6222754811F, 0.6227419768F,
- 0.6232083032F, 0.6236744600F, 0.6241404465F, 0.6246062622F,
- 0.6250719067F, 0.6255373795F, 0.6260026799F, 0.6264678076F,
- 0.6269327619F, 0.6273975425F, 0.6278621487F, 0.6283265800F,
- 0.6287908361F, 0.6292549163F, 0.6297188201F, 0.6301825471F,
- 0.6306460966F, 0.6311094683F, 0.6315726617F, 0.6320356761F,
- 0.6324985111F, 0.6329611662F, 0.6334236410F, 0.6338859348F,
- 0.6343480472F, 0.6348099777F, 0.6352717257F, 0.6357332909F,
- 0.6361946726F, 0.6366558704F, 0.6371168837F, 0.6375777122F,
- 0.6380383552F, 0.6384988123F, 0.6389590830F, 0.6394191668F,
- 0.6398790631F, 0.6403387716F, 0.6407982916F, 0.6412576228F,
- 0.6417167645F, 0.6421757163F, 0.6426344778F, 0.6430930483F,
- 0.6435514275F, 0.6440096149F, 0.6444676098F, 0.6449254119F,
- 0.6453830207F, 0.6458404356F, 0.6462976562F, 0.6467546820F,
- 0.6472115125F, 0.6476681472F, 0.6481245856F, 0.6485808273F,
- 0.6490368717F, 0.6494927183F, 0.6499483667F, 0.6504038164F,
- 0.6508590670F, 0.6513141178F, 0.6517689684F, 0.6522236185F,
- 0.6526780673F, 0.6531323146F, 0.6535863598F, 0.6540402024F,
- 0.6544938419F, 0.6549472779F, 0.6554005099F, 0.6558535373F,
- 0.6563063598F, 0.6567589769F, 0.6572113880F, 0.6576635927F,
- 0.6581155906F, 0.6585673810F, 0.6590189637F, 0.6594703380F,
- 0.6599215035F, 0.6603724598F, 0.6608232064F, 0.6612737427F,
- 0.6617240684F, 0.6621741829F, 0.6626240859F, 0.6630737767F,
- 0.6635232550F, 0.6639725202F, 0.6644215720F, 0.6648704098F,
- 0.6653190332F, 0.6657674417F, 0.6662156348F, 0.6666636121F,
- 0.6671113731F, 0.6675589174F, 0.6680062445F, 0.6684533538F,
- 0.6689002450F, 0.6693469177F, 0.6697933712F, 0.6702396052F,
- 0.6706856193F, 0.6711314129F, 0.6715769855F, 0.6720223369F,
- 0.6724674664F, 0.6729123736F, 0.6733570581F, 0.6738015194F,
- 0.6742457570F, 0.6746897706F, 0.6751335596F, 0.6755771236F,
- 0.6760204621F, 0.6764635747F, 0.6769064609F, 0.6773491204F,
- 0.6777915525F, 0.6782337570F, 0.6786757332F, 0.6791174809F,
- 0.6795589995F, 0.6800002886F, 0.6804413477F, 0.6808821765F,
- 0.6813227743F, 0.6817631409F, 0.6822032758F, 0.6826431785F,
- 0.6830828485F, 0.6835222855F, 0.6839614890F, 0.6844004585F,
- 0.6848391936F, 0.6852776939F, 0.6857159589F, 0.6861539883F,
- 0.6865917815F, 0.6870293381F, 0.6874666576F, 0.6879037398F,
- 0.6883405840F, 0.6887771899F, 0.6892135571F, 0.6896496850F,
- 0.6900855733F, 0.6905212216F, 0.6909566294F, 0.6913917963F,
- 0.6918267218F, 0.6922614055F, 0.6926958471F, 0.6931300459F,
- 0.6935640018F, 0.6939977141F, 0.6944311825F, 0.6948644066F,
- 0.6952973859F, 0.6957301200F, 0.6961626085F, 0.6965948510F,
- 0.6970268470F, 0.6974585961F, 0.6978900980F, 0.6983213521F,
- 0.6987523580F, 0.6991831154F, 0.6996136238F, 0.7000438828F,
- 0.7004738921F, 0.7009036510F, 0.7013331594F, 0.7017624166F,
- 0.7021914224F, 0.7026201763F, 0.7030486779F, 0.7034769268F,
- 0.7039049226F, 0.7043326648F, 0.7047601531F, 0.7051873870F,
- 0.7056143662F, 0.7060410902F, 0.7064675586F, 0.7068937711F,
- 0.7073197271F, 0.7077454264F, 0.7081708684F, 0.7085960529F,
- 0.7090209793F, 0.7094456474F, 0.7098700566F, 0.7102942066F,
- 0.7107180970F, 0.7111417274F, 0.7115650974F, 0.7119882066F,
- 0.7124110545F, 0.7128336409F, 0.7132559653F, 0.7136780272F,
- 0.7140998264F, 0.7145213624F, 0.7149426348F, 0.7153636433F,
- 0.7157843874F, 0.7162048668F, 0.7166250810F, 0.7170450296F,
- 0.7174647124F, 0.7178841289F, 0.7183032786F, 0.7187221613F,
- 0.7191407765F, 0.7195591239F, 0.7199772030F, 0.7203950135F,
- 0.7208125550F, 0.7212298271F, 0.7216468294F, 0.7220635616F,
- 0.7224800233F, 0.7228962140F, 0.7233121335F, 0.7237277813F,
- 0.7241431571F, 0.7245582604F, 0.7249730910F, 0.7253876484F,
- 0.7258019322F, 0.7262159422F, 0.7266296778F, 0.7270431388F,
- 0.7274563247F, 0.7278692353F, 0.7282818700F, 0.7286942287F,
- 0.7291063108F, 0.7295181160F, 0.7299296440F, 0.7303408944F,
- 0.7307518669F, 0.7311625609F, 0.7315729763F, 0.7319831126F,
- 0.7323929695F, 0.7328025466F, 0.7332118435F, 0.7336208600F,
- 0.7340295955F, 0.7344380499F, 0.7348462226F, 0.7352541134F,
- 0.7356617220F, 0.7360690478F, 0.7364760907F, 0.7368828502F,
- 0.7372893259F, 0.7376955176F, 0.7381014249F, 0.7385070475F,
- 0.7389123849F, 0.7393174368F, 0.7397222029F, 0.7401266829F,
- 0.7405308763F, 0.7409347829F, 0.7413384023F, 0.7417417341F,
- 0.7421447780F, 0.7425475338F, 0.7429500009F, 0.7433521791F,
- 0.7437540681F, 0.7441556674F, 0.7445569769F, 0.7449579960F,
- 0.7453587245F, 0.7457591621F, 0.7461593084F, 0.7465591631F,
- 0.7469587259F, 0.7473579963F, 0.7477569741F, 0.7481556590F,
- 0.7485540506F, 0.7489521486F, 0.7493499526F, 0.7497474623F,
- 0.7501446775F, 0.7505415977F, 0.7509382227F, 0.7513345521F,
- 0.7517305856F, 0.7521263229F, 0.7525217636F, 0.7529169074F,
- 0.7533117541F, 0.7537063032F, 0.7541005545F, 0.7544945076F,
- 0.7548881623F, 0.7552815182F, 0.7556745749F, 0.7560673323F,
- 0.7564597899F, 0.7568519474F, 0.7572438046F, 0.7576353611F,
- 0.7580266166F, 0.7584175708F, 0.7588082235F, 0.7591985741F,
- 0.7595886226F, 0.7599783685F, 0.7603678116F, 0.7607569515F,
- 0.7611457879F, 0.7615343206F, 0.7619225493F, 0.7623104735F,
- 0.7626980931F, 0.7630854078F, 0.7634724171F, 0.7638591209F,
- 0.7642455188F, 0.7646316106F, 0.7650173959F, 0.7654028744F,
- 0.7657880459F, 0.7661729100F, 0.7665574664F, 0.7669417150F,
- 0.7673256553F, 0.7677092871F, 0.7680926100F, 0.7684756239F,
- 0.7688583284F, 0.7692407232F, 0.7696228080F, 0.7700045826F,
- 0.7703860467F, 0.7707671999F, 0.7711480420F, 0.7715285728F,
- 0.7719087918F, 0.7722886989F, 0.7726682938F, 0.7730475762F,
- 0.7734265458F, 0.7738052023F, 0.7741835454F, 0.7745615750F,
- 0.7749392906F, 0.7753166921F, 0.7756937791F, 0.7760705514F,
- 0.7764470087F, 0.7768231508F, 0.7771989773F, 0.7775744880F,
- 0.7779496827F, 0.7783245610F, 0.7786991227F, 0.7790733676F,
- 0.7794472953F, 0.7798209056F, 0.7801941982F, 0.7805671729F,
- 0.7809398294F, 0.7813121675F, 0.7816841869F, 0.7820558873F,
- 0.7824272684F, 0.7827983301F, 0.7831690720F, 0.7835394940F,
- 0.7839095957F, 0.7842793768F, 0.7846488373F, 0.7850179767F,
- 0.7853867948F, 0.7857552914F, 0.7861234663F, 0.7864913191F,
- 0.7868588497F, 0.7872260578F, 0.7875929431F, 0.7879595055F,
- 0.7883257445F, 0.7886916601F, 0.7890572520F, 0.7894225198F,
- 0.7897874635F, 0.7901520827F, 0.7905163772F, 0.7908803468F,
- 0.7912439912F, 0.7916073102F, 0.7919703035F, 0.7923329710F,
- 0.7926953124F, 0.7930573274F, 0.7934190158F, 0.7937803774F,
- 0.7941414120F, 0.7945021193F, 0.7948624991F, 0.7952225511F,
- 0.7955822752F, 0.7959416711F, 0.7963007387F, 0.7966594775F,
- 0.7970178875F, 0.7973759685F, 0.7977337201F, 0.7980911422F,
- 0.7984482346F, 0.7988049970F, 0.7991614292F, 0.7995175310F,
- 0.7998733022F, 0.8002287426F, 0.8005838519F, 0.8009386299F,
- 0.8012930765F, 0.8016471914F, 0.8020009744F, 0.8023544253F,
- 0.8027075438F, 0.8030603298F, 0.8034127831F, 0.8037649035F,
- 0.8041166906F, 0.8044681445F, 0.8048192647F, 0.8051700512F,
- 0.8055205038F, 0.8058706222F, 0.8062204062F, 0.8065698556F,
- 0.8069189702F, 0.8072677499F, 0.8076161944F, 0.8079643036F,
- 0.8083120772F, 0.8086595151F, 0.8090066170F, 0.8093533827F,
- 0.8096998122F, 0.8100459051F, 0.8103916613F, 0.8107370806F,
- 0.8110821628F, 0.8114269077F, 0.8117713151F, 0.8121153849F,
- 0.8124591169F, 0.8128025108F, 0.8131455666F, 0.8134882839F,
- 0.8138306627F, 0.8141727027F, 0.8145144038F, 0.8148557658F,
- 0.8151967886F, 0.8155374718F, 0.8158778154F, 0.8162178192F,
- 0.8165574830F, 0.8168968067F, 0.8172357900F, 0.8175744328F,
- 0.8179127349F, 0.8182506962F, 0.8185883164F, 0.8189255955F,
- 0.8192625332F, 0.8195991295F, 0.8199353840F, 0.8202712967F,
- 0.8206068673F, 0.8209420958F, 0.8212769820F, 0.8216115256F,
- 0.8219457266F, 0.8222795848F, 0.8226131000F, 0.8229462721F,
- 0.8232791009F, 0.8236115863F, 0.8239437280F, 0.8242755260F,
- 0.8246069801F, 0.8249380901F, 0.8252688559F, 0.8255992774F,
- 0.8259293544F, 0.8262590867F, 0.8265884741F, 0.8269175167F,
- 0.8272462141F, 0.8275745663F, 0.8279025732F, 0.8282302344F,
- 0.8285575501F, 0.8288845199F, 0.8292111437F, 0.8295374215F,
- 0.8298633530F, 0.8301889382F, 0.8305141768F, 0.8308390688F,
- 0.8311636141F, 0.8314878124F, 0.8318116637F, 0.8321351678F,
- 0.8324583246F, 0.8327811340F, 0.8331035957F, 0.8334257098F,
- 0.8337474761F, 0.8340688944F, 0.8343899647F, 0.8347106867F,
- 0.8350310605F, 0.8353510857F, 0.8356707624F, 0.8359900904F,
- 0.8363090696F, 0.8366276999F, 0.8369459811F, 0.8372639131F,
- 0.8375814958F, 0.8378987292F, 0.8382156130F, 0.8385321472F,
- 0.8388483316F, 0.8391641662F, 0.8394796508F, 0.8397947853F,
- 0.8401095697F, 0.8404240037F, 0.8407380873F, 0.8410518204F,
- 0.8413652029F, 0.8416782347F, 0.8419909156F, 0.8423032456F,
- 0.8426152245F, 0.8429268523F, 0.8432381289F, 0.8435490541F,
- 0.8438596279F, 0.8441698502F, 0.8444797208F, 0.8447892396F,
- 0.8450984067F, 0.8454072218F, 0.8457156849F, 0.8460237959F,
- 0.8463315547F, 0.8466389612F, 0.8469460154F, 0.8472527170F,
- 0.8475590661F, 0.8478650625F, 0.8481707063F, 0.8484759971F,
- 0.8487809351F, 0.8490855201F, 0.8493897521F, 0.8496936308F,
- 0.8499971564F, 0.8503003286F, 0.8506031474F, 0.8509056128F,
- 0.8512077246F, 0.8515094828F, 0.8518108872F, 0.8521119379F,
- 0.8524126348F, 0.8527129777F, 0.8530129666F, 0.8533126015F,
- 0.8536118822F, 0.8539108087F, 0.8542093809F, 0.8545075988F,
- 0.8548054623F, 0.8551029712F, 0.8554001257F, 0.8556969255F,
- 0.8559933707F, 0.8562894611F, 0.8565851968F, 0.8568805775F,
- 0.8571756034F, 0.8574702743F, 0.8577645902F, 0.8580585509F,
- 0.8583521566F, 0.8586454070F, 0.8589383021F, 0.8592308420F,
- 0.8595230265F, 0.8598148556F, 0.8601063292F, 0.8603974473F,
- 0.8606882098F, 0.8609786167F, 0.8612686680F, 0.8615583636F,
- 0.8618477034F, 0.8621366874F, 0.8624253156F, 0.8627135878F,
- 0.8630015042F, 0.8632890646F, 0.8635762690F, 0.8638631173F,
- 0.8641496096F, 0.8644357457F, 0.8647215257F, 0.8650069495F,
- 0.8652920171F, 0.8655767283F, 0.8658610833F, 0.8661450820F,
- 0.8664287243F, 0.8667120102F, 0.8669949397F, 0.8672775127F,
- 0.8675597293F, 0.8678415894F, 0.8681230929F, 0.8684042398F,
- 0.8686850302F, 0.8689654640F, 0.8692455412F, 0.8695252617F,
- 0.8698046255F, 0.8700836327F, 0.8703622831F, 0.8706405768F,
- 0.8709185138F, 0.8711960940F, 0.8714733174F, 0.8717501840F,
- 0.8720266939F, 0.8723028469F, 0.8725786430F, 0.8728540824F,
- 0.8731291648F, 0.8734038905F, 0.8736782592F, 0.8739522711F,
- 0.8742259261F, 0.8744992242F, 0.8747721653F, 0.8750447496F,
- 0.8753169770F, 0.8755888475F, 0.8758603611F, 0.8761315177F,
- 0.8764023175F, 0.8766727603F, 0.8769428462F, 0.8772125752F,
- 0.8774819474F, 0.8777509626F, 0.8780196209F, 0.8782879224F,
- 0.8785558669F, 0.8788234546F, 0.8790906854F, 0.8793575594F,
- 0.8796240765F, 0.8798902368F, 0.8801560403F, 0.8804214870F,
- 0.8806865768F, 0.8809513099F, 0.8812156863F, 0.8814797059F,
- 0.8817433687F, 0.8820066749F, 0.8822696243F, 0.8825322171F,
- 0.8827944532F, 0.8830563327F, 0.8833178556F, 0.8835790219F,
- 0.8838398316F, 0.8841002848F, 0.8843603815F, 0.8846201217F,
- 0.8848795054F, 0.8851385327F, 0.8853972036F, 0.8856555182F,
- 0.8859134764F, 0.8861710783F, 0.8864283239F, 0.8866852133F,
- 0.8869417464F, 0.8871979234F, 0.8874537443F, 0.8877092090F,
- 0.8879643177F, 0.8882190704F, 0.8884734671F, 0.8887275078F,
- 0.8889811927F, 0.8892345216F, 0.8894874948F, 0.8897401122F,
- 0.8899923738F, 0.8902442798F, 0.8904958301F, 0.8907470248F,
- 0.8909978640F, 0.8912483477F, 0.8914984759F, 0.8917482487F,
- 0.8919976662F, 0.8922467284F, 0.8924954353F, 0.8927437871F,
- 0.8929917837F, 0.8932394252F, 0.8934867118F, 0.8937336433F,
- 0.8939802199F, 0.8942264417F, 0.8944723087F, 0.8947178210F,
- 0.8949629785F, 0.8952077815F, 0.8954522299F, 0.8956963239F,
- 0.8959400634F, 0.8961834486F, 0.8964264795F, 0.8966691561F,
- 0.8969114786F, 0.8971534470F, 0.8973950614F, 0.8976363219F,
- 0.8978772284F, 0.8981177812F, 0.8983579802F, 0.8985978256F,
- 0.8988373174F, 0.8990764556F, 0.8993152405F, 0.8995536720F,
- 0.8997917502F, 0.9000294751F, 0.9002668470F, 0.9005038658F,
- 0.9007405317F, 0.9009768446F, 0.9012128048F, 0.9014484123F,
- 0.9016836671F, 0.9019185693F, 0.9021531191F, 0.9023873165F,
- 0.9026211616F, 0.9028546546F, 0.9030877954F, 0.9033205841F,
- 0.9035530210F, 0.9037851059F, 0.9040168392F, 0.9042482207F,
- 0.9044792507F, 0.9047099293F, 0.9049402564F, 0.9051702323F,
- 0.9053998569F, 0.9056291305F, 0.9058580531F, 0.9060866248F,
- 0.9063148457F, 0.9065427159F, 0.9067702355F, 0.9069974046F,
- 0.9072242233F, 0.9074506917F, 0.9076768100F, 0.9079025782F,
- 0.9081279964F, 0.9083530647F, 0.9085777833F, 0.9088021523F,
- 0.9090261717F, 0.9092498417F, 0.9094731623F, 0.9096961338F,
- 0.9099187561F, 0.9101410295F, 0.9103629540F, 0.9105845297F,
- 0.9108057568F, 0.9110266354F, 0.9112471656F, 0.9114673475F,
- 0.9116871812F, 0.9119066668F, 0.9121258046F, 0.9123445945F,
- 0.9125630367F, 0.9127811314F, 0.9129988786F, 0.9132162785F,
- 0.9134333312F, 0.9136500368F, 0.9138663954F, 0.9140824073F,
- 0.9142980724F, 0.9145133910F, 0.9147283632F, 0.9149429890F,
- 0.9151572687F, 0.9153712023F, 0.9155847900F, 0.9157980319F,
- 0.9160109282F, 0.9162234790F, 0.9164356844F, 0.9166475445F,
- 0.9168590595F, 0.9170702296F, 0.9172810548F, 0.9174915354F,
- 0.9177016714F, 0.9179114629F, 0.9181209102F, 0.9183300134F,
- 0.9185387726F, 0.9187471879F, 0.9189552595F, 0.9191629876F,
- 0.9193703723F, 0.9195774136F, 0.9197841119F, 0.9199904672F,
- 0.9201964797F, 0.9204021495F, 0.9206074767F, 0.9208124616F,
- 0.9210171043F, 0.9212214049F, 0.9214253636F, 0.9216289805F,
- 0.9218322558F, 0.9220351896F, 0.9222377821F, 0.9224400335F,
- 0.9226419439F, 0.9228435134F, 0.9230447423F, 0.9232456307F,
- 0.9234461787F, 0.9236463865F, 0.9238462543F, 0.9240457822F,
- 0.9242449704F, 0.9244438190F, 0.9246423282F, 0.9248404983F,
- 0.9250383293F, 0.9252358214F, 0.9254329747F, 0.9256297896F,
- 0.9258262660F, 0.9260224042F, 0.9262182044F, 0.9264136667F,
- 0.9266087913F, 0.9268035783F, 0.9269980280F, 0.9271921405F,
- 0.9273859160F, 0.9275793546F, 0.9277724566F, 0.9279652221F,
- 0.9281576513F, 0.9283497443F, 0.9285415014F, 0.9287329227F,
- 0.9289240084F, 0.9291147586F, 0.9293051737F, 0.9294952536F,
- 0.9296849987F, 0.9298744091F, 0.9300634850F, 0.9302522266F,
- 0.9304406340F, 0.9306287074F, 0.9308164471F, 0.9310038532F,
- 0.9311909259F, 0.9313776654F, 0.9315640719F, 0.9317501455F,
- 0.9319358865F, 0.9321212951F, 0.9323063713F, 0.9324911155F,
- 0.9326755279F, 0.9328596085F, 0.9330433577F, 0.9332267756F,
- 0.9334098623F, 0.9335926182F, 0.9337750434F, 0.9339571380F,
- 0.9341389023F, 0.9343203366F, 0.9345014409F, 0.9346822155F,
- 0.9348626606F, 0.9350427763F, 0.9352225630F, 0.9354020207F,
- 0.9355811498F, 0.9357599503F, 0.9359384226F, 0.9361165667F,
- 0.9362943830F, 0.9364718716F, 0.9366490327F, 0.9368258666F,
- 0.9370023733F, 0.9371785533F, 0.9373544066F, 0.9375299335F,
- 0.9377051341F, 0.9378800087F, 0.9380545576F, 0.9382287809F,
- 0.9384026787F, 0.9385762515F, 0.9387494993F, 0.9389224223F,
- 0.9390950209F, 0.9392672951F, 0.9394392453F, 0.9396108716F,
- 0.9397821743F, 0.9399531536F, 0.9401238096F, 0.9402941427F,
- 0.9404641530F, 0.9406338407F, 0.9408032061F, 0.9409722495F,
- 0.9411409709F, 0.9413093707F, 0.9414774491F, 0.9416452062F,
- 0.9418126424F, 0.9419797579F, 0.9421465528F, 0.9423130274F,
- 0.9424791819F, 0.9426450166F, 0.9428105317F, 0.9429757274F,
- 0.9431406039F, 0.9433051616F, 0.9434694005F, 0.9436333209F,
- 0.9437969232F, 0.9439602074F, 0.9441231739F, 0.9442858229F,
- 0.9444481545F, 0.9446101691F, 0.9447718669F, 0.9449332481F,
- 0.9450943129F, 0.9452550617F, 0.9454154945F, 0.9455756118F,
- 0.9457354136F, 0.9458949003F, 0.9460540721F, 0.9462129292F,
- 0.9463714719F, 0.9465297003F, 0.9466876149F, 0.9468452157F,
- 0.9470025031F, 0.9471594772F, 0.9473161384F, 0.9474724869F,
- 0.9476285229F, 0.9477842466F, 0.9479396584F, 0.9480947585F,
- 0.9482495470F, 0.9484040243F, 0.9485581906F, 0.9487120462F,
- 0.9488655913F, 0.9490188262F, 0.9491717511F, 0.9493243662F,
- 0.9494766718F, 0.9496286683F, 0.9497803557F, 0.9499317345F,
- 0.9500828047F, 0.9502335668F, 0.9503840209F, 0.9505341673F,
- 0.9506840062F, 0.9508335380F, 0.9509827629F, 0.9511316810F,
- 0.9512802928F, 0.9514285984F, 0.9515765982F, 0.9517242923F,
- 0.9518716810F, 0.9520187646F, 0.9521655434F, 0.9523120176F,
- 0.9524581875F, 0.9526040534F, 0.9527496154F, 0.9528948739F,
- 0.9530398292F, 0.9531844814F, 0.9533288310F, 0.9534728780F,
- 0.9536166229F, 0.9537600659F, 0.9539032071F, 0.9540460470F,
- 0.9541885858F, 0.9543308237F, 0.9544727611F, 0.9546143981F,
- 0.9547557351F, 0.9548967723F, 0.9550375100F, 0.9551779485F,
- 0.9553180881F, 0.9554579290F, 0.9555974714F, 0.9557367158F,
- 0.9558756623F, 0.9560143112F, 0.9561526628F, 0.9562907174F,
- 0.9564284752F, 0.9565659366F, 0.9567031017F, 0.9568399710F,
- 0.9569765446F, 0.9571128229F, 0.9572488061F, 0.9573844944F,
- 0.9575198883F, 0.9576549879F, 0.9577897936F, 0.9579243056F,
- 0.9580585242F, 0.9581924497F, 0.9583260824F, 0.9584594226F,
- 0.9585924705F, 0.9587252264F, 0.9588576906F, 0.9589898634F,
- 0.9591217452F, 0.9592533360F, 0.9593846364F, 0.9595156465F,
- 0.9596463666F, 0.9597767971F, 0.9599069382F, 0.9600367901F,
- 0.9601663533F, 0.9602956279F, 0.9604246143F, 0.9605533128F,
- 0.9606817236F, 0.9608098471F, 0.9609376835F, 0.9610652332F,
- 0.9611924963F, 0.9613194733F, 0.9614461644F, 0.9615725699F,
- 0.9616986901F, 0.9618245253F, 0.9619500757F, 0.9620753418F,
- 0.9622003238F, 0.9623250219F, 0.9624494365F, 0.9625735679F,
- 0.9626974163F, 0.9628209821F, 0.9629442656F, 0.9630672671F,
- 0.9631899868F, 0.9633124251F, 0.9634345822F, 0.9635564585F,
- 0.9636780543F, 0.9637993699F, 0.9639204056F, 0.9640411616F,
- 0.9641616383F, 0.9642818359F, 0.9644017549F, 0.9645213955F,
- 0.9646407579F, 0.9647598426F, 0.9648786497F, 0.9649971797F,
- 0.9651154328F, 0.9652334092F, 0.9653511095F, 0.9654685337F,
- 0.9655856823F, 0.9657025556F, 0.9658191538F, 0.9659354773F,
- 0.9660515263F, 0.9661673013F, 0.9662828024F, 0.9663980300F,
- 0.9665129845F, 0.9666276660F, 0.9667420750F, 0.9668562118F,
- 0.9669700766F, 0.9670836698F, 0.9671969917F, 0.9673100425F,
- 0.9674228227F, 0.9675353325F, 0.9676475722F, 0.9677595422F,
- 0.9678712428F, 0.9679826742F, 0.9680938368F, 0.9682047309F,
- 0.9683153569F, 0.9684257150F, 0.9685358056F, 0.9686456289F,
- 0.9687551853F, 0.9688644752F, 0.9689734987F, 0.9690822564F,
- 0.9691907483F, 0.9692989750F, 0.9694069367F, 0.9695146337F,
- 0.9696220663F, 0.9697292349F, 0.9698361398F, 0.9699427813F,
- 0.9700491597F, 0.9701552754F, 0.9702611286F, 0.9703667197F,
- 0.9704720490F, 0.9705771169F, 0.9706819236F, 0.9707864695F,
- 0.9708907549F, 0.9709947802F, 0.9710985456F, 0.9712020514F,
- 0.9713052981F, 0.9714082859F, 0.9715110151F, 0.9716134862F,
- 0.9717156993F, 0.9718176549F, 0.9719193532F, 0.9720207946F,
- 0.9721219794F, 0.9722229080F, 0.9723235806F, 0.9724239976F,
- 0.9725241593F, 0.9726240661F, 0.9727237183F, 0.9728231161F,
- 0.9729222601F, 0.9730211503F, 0.9731197873F, 0.9732181713F,
- 0.9733163027F, 0.9734141817F, 0.9735118088F, 0.9736091842F,
- 0.9737063083F, 0.9738031814F, 0.9738998039F, 0.9739961760F,
- 0.9740922981F, 0.9741881706F, 0.9742837938F, 0.9743791680F,
- 0.9744742935F, 0.9745691707F, 0.9746637999F, 0.9747581814F,
- 0.9748523157F, 0.9749462029F, 0.9750398435F, 0.9751332378F,
- 0.9752263861F, 0.9753192887F, 0.9754119461F, 0.9755043585F,
- 0.9755965262F, 0.9756884496F, 0.9757801291F, 0.9758715650F,
- 0.9759627575F, 0.9760537071F, 0.9761444141F, 0.9762348789F,
- 0.9763251016F, 0.9764150828F, 0.9765048228F, 0.9765943218F,
- 0.9766835802F, 0.9767725984F, 0.9768613767F, 0.9769499154F,
- 0.9770382149F, 0.9771262755F, 0.9772140976F, 0.9773016815F,
- 0.9773890275F, 0.9774761360F, 0.9775630073F, 0.9776496418F,
- 0.9777360398F, 0.9778222016F, 0.9779081277F, 0.9779938182F,
- 0.9780792736F, 0.9781644943F, 0.9782494805F, 0.9783342326F,
- 0.9784187509F, 0.9785030359F, 0.9785870877F, 0.9786709069F,
- 0.9787544936F, 0.9788378484F, 0.9789209714F, 0.9790038631F,
- 0.9790865238F, 0.9791689538F, 0.9792511535F, 0.9793331232F,
- 0.9794148633F, 0.9794963742F, 0.9795776561F, 0.9796587094F,
- 0.9797395345F, 0.9798201316F, 0.9799005013F, 0.9799806437F,
- 0.9800605593F, 0.9801402483F, 0.9802197112F, 0.9802989483F,
- 0.9803779600F, 0.9804567465F, 0.9805353082F, 0.9806136455F,
- 0.9806917587F, 0.9807696482F, 0.9808473143F, 0.9809247574F,
- 0.9810019778F, 0.9810789759F, 0.9811557519F, 0.9812323064F,
- 0.9813086395F, 0.9813847517F, 0.9814606433F, 0.9815363147F,
- 0.9816117662F, 0.9816869981F, 0.9817620108F, 0.9818368047F,
- 0.9819113801F, 0.9819857374F, 0.9820598769F, 0.9821337989F,
- 0.9822075038F, 0.9822809920F, 0.9823542638F, 0.9824273195F,
- 0.9825001596F, 0.9825727843F, 0.9826451940F, 0.9827173891F,
- 0.9827893700F, 0.9828611368F, 0.9829326901F, 0.9830040302F,
- 0.9830751574F, 0.9831460720F, 0.9832167745F, 0.9832872652F,
- 0.9833575444F, 0.9834276124F, 0.9834974697F, 0.9835671166F,
- 0.9836365535F, 0.9837057806F, 0.9837747983F, 0.9838436071F,
- 0.9839122072F, 0.9839805990F, 0.9840487829F, 0.9841167591F,
- 0.9841845282F, 0.9842520903F, 0.9843194459F, 0.9843865953F,
- 0.9844535389F, 0.9845202771F, 0.9845868101F, 0.9846531383F,
- 0.9847192622F, 0.9847851820F, 0.9848508980F, 0.9849164108F,
- 0.9849817205F, 0.9850468276F, 0.9851117324F, 0.9851764352F,
- 0.9852409365F, 0.9853052366F, 0.9853693358F, 0.9854332344F,
- 0.9854969330F, 0.9855604317F, 0.9856237309F, 0.9856868310F,
- 0.9857497325F, 0.9858124355F, 0.9858749404F, 0.9859372477F,
- 0.9859993577F, 0.9860612707F, 0.9861229871F, 0.9861845072F,
- 0.9862458315F, 0.9863069601F, 0.9863678936F, 0.9864286322F,
- 0.9864891764F, 0.9865495264F, 0.9866096826F, 0.9866696454F,
- 0.9867294152F, 0.9867889922F, 0.9868483769F, 0.9869075695F,
- 0.9869665706F, 0.9870253803F, 0.9870839991F, 0.9871424273F,
- 0.9872006653F, 0.9872587135F, 0.9873165721F, 0.9873742415F,
- 0.9874317222F, 0.9874890144F, 0.9875461185F, 0.9876030348F,
- 0.9876597638F, 0.9877163057F, 0.9877726610F, 0.9878288300F,
- 0.9878848130F, 0.9879406104F, 0.9879962225F, 0.9880516497F,
- 0.9881068924F, 0.9881619509F, 0.9882168256F, 0.9882715168F,
- 0.9883260249F, 0.9883803502F, 0.9884344931F, 0.9884884539F,
- 0.9885422331F, 0.9885958309F, 0.9886492477F, 0.9887024838F,
- 0.9887555397F, 0.9888084157F, 0.9888611120F, 0.9889136292F,
- 0.9889659675F, 0.9890181273F, 0.9890701089F, 0.9891219128F,
- 0.9891735392F, 0.9892249885F, 0.9892762610F, 0.9893273572F,
- 0.9893782774F, 0.9894290219F, 0.9894795911F, 0.9895299853F,
- 0.9895802049F, 0.9896302502F, 0.9896801217F, 0.9897298196F,
- 0.9897793443F, 0.9898286961F, 0.9898778755F, 0.9899268828F,
- 0.9899757183F, 0.9900243823F, 0.9900728753F, 0.9901211976F,
- 0.9901693495F, 0.9902173314F, 0.9902651436F, 0.9903127865F,
- 0.9903602605F, 0.9904075659F, 0.9904547031F, 0.9905016723F,
- 0.9905484740F, 0.9905951086F, 0.9906415763F, 0.9906878775F,
- 0.9907340126F, 0.9907799819F, 0.9908257858F, 0.9908714247F,
- 0.9909168988F, 0.9909622086F, 0.9910073543F, 0.9910523364F,
- 0.9910971552F, 0.9911418110F, 0.9911863042F, 0.9912306351F,
- 0.9912748042F, 0.9913188117F, 0.9913626580F, 0.9914063435F,
- 0.9914498684F, 0.9914932333F, 0.9915364383F, 0.9915794839F,
- 0.9916223703F, 0.9916650981F, 0.9917076674F, 0.9917500787F,
- 0.9917923323F, 0.9918344286F, 0.9918763679F, 0.9919181505F,
- 0.9919597769F, 0.9920012473F, 0.9920425621F, 0.9920837217F,
- 0.9921247263F, 0.9921655765F, 0.9922062724F, 0.9922468145F,
- 0.9922872030F, 0.9923274385F, 0.9923675211F, 0.9924074513F,
- 0.9924472294F, 0.9924868557F, 0.9925263306F, 0.9925656544F,
- 0.9926048275F, 0.9926438503F, 0.9926827230F, 0.9927214461F,
- 0.9927600199F, 0.9927984446F, 0.9928367208F, 0.9928748486F,
- 0.9929128285F, 0.9929506608F, 0.9929883459F, 0.9930258841F,
- 0.9930632757F, 0.9931005211F, 0.9931376207F, 0.9931745747F,
- 0.9932113836F, 0.9932480476F, 0.9932845671F, 0.9933209425F,
- 0.9933571742F, 0.9933932623F, 0.9934292074F, 0.9934650097F,
- 0.9935006696F, 0.9935361874F, 0.9935715635F, 0.9936067982F,
- 0.9936418919F, 0.9936768448F, 0.9937116574F, 0.9937463300F,
- 0.9937808629F, 0.9938152565F, 0.9938495111F, 0.9938836271F,
- 0.9939176047F, 0.9939514444F, 0.9939851465F, 0.9940187112F,
- 0.9940521391F, 0.9940854303F, 0.9941185853F, 0.9941516044F,
- 0.9941844879F, 0.9942172361F, 0.9942498495F, 0.9942823283F,
- 0.9943146729F, 0.9943468836F, 0.9943789608F, 0.9944109047F,
- 0.9944427158F, 0.9944743944F, 0.9945059408F, 0.9945373553F,
- 0.9945686384F, 0.9945997902F, 0.9946308112F, 0.9946617017F,
- 0.9946924621F, 0.9947230926F, 0.9947535937F, 0.9947839656F,
- 0.9948142086F, 0.9948443232F, 0.9948743097F, 0.9949041683F,
- 0.9949338995F, 0.9949635035F, 0.9949929807F, 0.9950223315F,
- 0.9950515561F, 0.9950806549F, 0.9951096282F, 0.9951384764F,
- 0.9951671998F, 0.9951957987F, 0.9952242735F, 0.9952526245F,
- 0.9952808520F, 0.9953089564F, 0.9953369380F, 0.9953647971F,
- 0.9953925340F, 0.9954201491F, 0.9954476428F, 0.9954750153F,
- 0.9955022670F, 0.9955293981F, 0.9955564092F, 0.9955833003F,
- 0.9956100720F, 0.9956367245F, 0.9956632582F, 0.9956896733F,
- 0.9957159703F, 0.9957421494F, 0.9957682110F, 0.9957941553F,
- 0.9958199828F, 0.9958456937F, 0.9958712884F, 0.9958967672F,
- 0.9959221305F, 0.9959473784F, 0.9959725115F, 0.9959975300F,
- 0.9960224342F, 0.9960472244F, 0.9960719011F, 0.9960964644F,
- 0.9961209148F, 0.9961452525F, 0.9961694779F, 0.9961935913F,
- 0.9962175930F, 0.9962414834F, 0.9962652627F, 0.9962889313F,
- 0.9963124895F, 0.9963359377F, 0.9963592761F, 0.9963825051F,
- 0.9964056250F, 0.9964286361F, 0.9964515387F, 0.9964743332F,
- 0.9964970198F, 0.9965195990F, 0.9965420709F, 0.9965644360F,
- 0.9965866946F, 0.9966088469F, 0.9966308932F, 0.9966528340F,
- 0.9966746695F, 0.9966964001F, 0.9967180260F, 0.9967395475F,
- 0.9967609651F, 0.9967822789F, 0.9968034894F, 0.9968245968F,
- 0.9968456014F, 0.9968665036F, 0.9968873037F, 0.9969080019F,
- 0.9969285987F, 0.9969490942F, 0.9969694889F, 0.9969897830F,
- 0.9970099769F, 0.9970300708F, 0.9970500651F, 0.9970699601F,
- 0.9970897561F, 0.9971094533F, 0.9971290522F, 0.9971485531F,
- 0.9971679561F, 0.9971872617F, 0.9972064702F, 0.9972255818F,
- 0.9972445968F, 0.9972635157F, 0.9972823386F, 0.9973010659F,
- 0.9973196980F, 0.9973382350F, 0.9973566773F, 0.9973750253F,
- 0.9973932791F, 0.9974114392F, 0.9974295059F, 0.9974474793F,
- 0.9974653599F, 0.9974831480F, 0.9975008438F, 0.9975184476F,
- 0.9975359598F, 0.9975533806F, 0.9975707104F, 0.9975879495F,
- 0.9976050981F, 0.9976221566F, 0.9976391252F, 0.9976560043F,
- 0.9976727941F, 0.9976894950F, 0.9977061073F, 0.9977226312F,
- 0.9977390671F, 0.9977554152F, 0.9977716759F, 0.9977878495F,
- 0.9978039361F, 0.9978199363F, 0.9978358501F, 0.9978516780F,
- 0.9978674202F, 0.9978830771F, 0.9978986488F, 0.9979141358F,
- 0.9979295383F, 0.9979448566F, 0.9979600909F, 0.9979752417F,
- 0.9979903091F, 0.9980052936F, 0.9980201952F, 0.9980350145F,
- 0.9980497515F, 0.9980644067F, 0.9980789804F, 0.9980934727F,
- 0.9981078841F, 0.9981222147F, 0.9981364649F, 0.9981506350F,
- 0.9981647253F, 0.9981787360F, 0.9981926674F, 0.9982065199F,
- 0.9982202936F, 0.9982339890F, 0.9982476062F, 0.9982611456F,
- 0.9982746074F, 0.9982879920F, 0.9983012996F, 0.9983145304F,
- 0.9983276849F, 0.9983407632F, 0.9983537657F, 0.9983666926F,
- 0.9983795442F, 0.9983923208F, 0.9984050226F, 0.9984176501F,
- 0.9984302033F, 0.9984426827F, 0.9984550884F, 0.9984674208F,
- 0.9984796802F, 0.9984918667F, 0.9985039808F, 0.9985160227F,
- 0.9985279926F, 0.9985398909F, 0.9985517177F, 0.9985634734F,
- 0.9985751583F, 0.9985867727F, 0.9985983167F, 0.9986097907F,
- 0.9986211949F, 0.9986325297F, 0.9986437953F, 0.9986549919F,
- 0.9986661199F, 0.9986771795F, 0.9986881710F, 0.9986990946F,
- 0.9987099507F, 0.9987207394F, 0.9987314611F, 0.9987421161F,
- 0.9987527045F, 0.9987632267F, 0.9987736829F, 0.9987840734F,
- 0.9987943985F, 0.9988046584F, 0.9988148534F, 0.9988249838F,
- 0.9988350498F, 0.9988450516F, 0.9988549897F, 0.9988648641F,
- 0.9988746753F, 0.9988844233F, 0.9988941086F, 0.9989037313F,
- 0.9989132918F, 0.9989227902F, 0.9989322269F, 0.9989416021F,
- 0.9989509160F, 0.9989601690F, 0.9989693613F, 0.9989784931F,
- 0.9989875647F, 0.9989965763F, 0.9990055283F, 0.9990144208F,
- 0.9990232541F, 0.9990320286F, 0.9990407443F, 0.9990494016F,
- 0.9990580008F, 0.9990665421F, 0.9990750257F, 0.9990834519F,
- 0.9990918209F, 0.9991001331F, 0.9991083886F, 0.9991165877F,
- 0.9991247307F, 0.9991328177F, 0.9991408491F, 0.9991488251F,
- 0.9991567460F, 0.9991646119F, 0.9991724232F, 0.9991801801F,
- 0.9991878828F, 0.9991955316F, 0.9992031267F, 0.9992106684F,
- 0.9992181569F, 0.9992255925F, 0.9992329753F, 0.9992403057F,
- 0.9992475839F, 0.9992548101F, 0.9992619846F, 0.9992691076F,
- 0.9992761793F, 0.9992832001F, 0.9992901701F, 0.9992970895F,
- 0.9993039587F, 0.9993107777F, 0.9993175470F, 0.9993242667F,
- 0.9993309371F, 0.9993375583F, 0.9993441307F, 0.9993506545F,
- 0.9993571298F, 0.9993635570F, 0.9993699362F, 0.9993762678F,
- 0.9993825519F, 0.9993887887F, 0.9993949785F, 0.9994011216F,
- 0.9994072181F, 0.9994132683F, 0.9994192725F, 0.9994252307F,
- 0.9994311434F, 0.9994370107F, 0.9994428327F, 0.9994486099F,
- 0.9994543423F, 0.9994600303F, 0.9994656739F, 0.9994712736F,
- 0.9994768294F, 0.9994823417F, 0.9994878105F, 0.9994932363F,
- 0.9994986191F, 0.9995039592F, 0.9995092568F, 0.9995145122F,
- 0.9995197256F, 0.9995248971F, 0.9995300270F, 0.9995351156F,
- 0.9995401630F, 0.9995451695F, 0.9995501352F, 0.9995550604F,
- 0.9995599454F, 0.9995647903F, 0.9995695953F, 0.9995743607F,
- 0.9995790866F, 0.9995837734F, 0.9995884211F, 0.9995930300F,
- 0.9995976004F, 0.9996021324F, 0.9996066263F, 0.9996110822F,
- 0.9996155004F, 0.9996198810F, 0.9996242244F, 0.9996285306F,
- 0.9996327999F, 0.9996370326F, 0.9996412287F, 0.9996453886F,
- 0.9996495125F, 0.9996536004F, 0.9996576527F, 0.9996616696F,
- 0.9996656512F, 0.9996695977F, 0.9996735094F, 0.9996773865F,
- 0.9996812291F, 0.9996850374F, 0.9996888118F, 0.9996925523F,
- 0.9996962591F, 0.9996999325F, 0.9997035727F, 0.9997071798F,
- 0.9997107541F, 0.9997142957F, 0.9997178049F, 0.9997212818F,
- 0.9997247266F, 0.9997281396F, 0.9997315209F, 0.9997348708F,
- 0.9997381893F, 0.9997414767F, 0.9997447333F, 0.9997479591F,
- 0.9997511544F, 0.9997543194F, 0.9997574542F, 0.9997605591F,
- 0.9997636342F, 0.9997666797F, 0.9997696958F, 0.9997726828F,
- 0.9997756407F, 0.9997785698F, 0.9997814703F, 0.9997843423F,
- 0.9997871860F, 0.9997900016F, 0.9997927894F, 0.9997955494F,
- 0.9997982818F, 0.9998009869F, 0.9998036648F, 0.9998063157F,
- 0.9998089398F, 0.9998115373F, 0.9998141082F, 0.9998166529F,
- 0.9998191715F, 0.9998216642F, 0.9998241311F, 0.9998265724F,
- 0.9998289884F, 0.9998313790F, 0.9998337447F, 0.9998360854F,
- 0.9998384015F, 0.9998406930F, 0.9998429602F, 0.9998452031F,
- 0.9998474221F, 0.9998496171F, 0.9998517885F, 0.9998539364F,
- 0.9998560610F, 0.9998581624F, 0.9998602407F, 0.9998622962F,
- 0.9998643291F, 0.9998663394F, 0.9998683274F, 0.9998702932F,
- 0.9998722370F, 0.9998741589F, 0.9998760591F, 0.9998779378F,
- 0.9998797952F, 0.9998816313F, 0.9998834464F, 0.9998852406F,
- 0.9998870141F, 0.9998887670F, 0.9998904995F, 0.9998922117F,
- 0.9998939039F, 0.9998955761F, 0.9998972285F, 0.9998988613F,
- 0.9999004746F, 0.9999020686F, 0.9999036434F, 0.9999051992F,
- 0.9999067362F, 0.9999082544F, 0.9999097541F, 0.9999112354F,
- 0.9999126984F, 0.9999141433F, 0.9999155703F, 0.9999169794F,
- 0.9999183709F, 0.9999197449F, 0.9999211014F, 0.9999224408F,
- 0.9999237631F, 0.9999250684F, 0.9999263570F, 0.9999276289F,
- 0.9999288843F, 0.9999301233F, 0.9999313461F, 0.9999325529F,
- 0.9999337437F, 0.9999349187F, 0.9999360780F, 0.9999372218F,
- 0.9999383503F, 0.9999394635F, 0.9999405616F, 0.9999416447F,
- 0.9999427129F, 0.9999437665F, 0.9999448055F, 0.9999458301F,
- 0.9999468404F, 0.9999478365F, 0.9999488185F, 0.9999497867F,
- 0.9999507411F, 0.9999516819F, 0.9999526091F, 0.9999535230F,
- 0.9999544236F, 0.9999553111F, 0.9999561856F, 0.9999570472F,
- 0.9999578960F, 0.9999587323F, 0.9999595560F, 0.9999603674F,
- 0.9999611666F, 0.9999619536F, 0.9999627286F, 0.9999634917F,
- 0.9999642431F, 0.9999649828F, 0.9999657110F, 0.9999664278F,
- 0.9999671334F, 0.9999678278F, 0.9999685111F, 0.9999691835F,
- 0.9999698451F, 0.9999704960F, 0.9999711364F, 0.9999717662F,
- 0.9999723858F, 0.9999729950F, 0.9999735942F, 0.9999741834F,
- 0.9999747626F, 0.9999753321F, 0.9999758919F, 0.9999764421F,
- 0.9999769828F, 0.9999775143F, 0.9999780364F, 0.9999785495F,
- 0.9999790535F, 0.9999795485F, 0.9999800348F, 0.9999805124F,
- 0.9999809813F, 0.9999814417F, 0.9999818938F, 0.9999823375F,
- 0.9999827731F, 0.9999832005F, 0.9999836200F, 0.9999840316F,
- 0.9999844353F, 0.9999848314F, 0.9999852199F, 0.9999856008F,
- 0.9999859744F, 0.9999863407F, 0.9999866997F, 0.9999870516F,
- 0.9999873965F, 0.9999877345F, 0.9999880656F, 0.9999883900F,
- 0.9999887078F, 0.9999890190F, 0.9999893237F, 0.9999896220F,
- 0.9999899140F, 0.9999901999F, 0.9999904796F, 0.9999907533F,
- 0.9999910211F, 0.9999912830F, 0.9999915391F, 0.9999917896F,
- 0.9999920345F, 0.9999922738F, 0.9999925077F, 0.9999927363F,
- 0.9999929596F, 0.9999931777F, 0.9999933907F, 0.9999935987F,
- 0.9999938018F, 0.9999940000F, 0.9999941934F, 0.9999943820F,
- 0.9999945661F, 0.9999947456F, 0.9999949206F, 0.9999950912F,
- 0.9999952575F, 0.9999954195F, 0.9999955773F, 0.9999957311F,
- 0.9999958807F, 0.9999960265F, 0.9999961683F, 0.9999963063F,
- 0.9999964405F, 0.9999965710F, 0.9999966979F, 0.9999968213F,
- 0.9999969412F, 0.9999970576F, 0.9999971707F, 0.9999972805F,
- 0.9999973871F, 0.9999974905F, 0.9999975909F, 0.9999976881F,
- 0.9999977824F, 0.9999978738F, 0.9999979624F, 0.9999980481F,
- 0.9999981311F, 0.9999982115F, 0.9999982892F, 0.9999983644F,
- 0.9999984370F, 0.9999985072F, 0.9999985750F, 0.9999986405F,
- 0.9999987037F, 0.9999987647F, 0.9999988235F, 0.9999988802F,
- 0.9999989348F, 0.9999989873F, 0.9999990379F, 0.9999990866F,
- 0.9999991334F, 0.9999991784F, 0.9999992217F, 0.9999992632F,
- 0.9999993030F, 0.9999993411F, 0.9999993777F, 0.9999994128F,
- 0.9999994463F, 0.9999994784F, 0.9999995091F, 0.9999995384F,
- 0.9999995663F, 0.9999995930F, 0.9999996184F, 0.9999996426F,
- 0.9999996657F, 0.9999996876F, 0.9999997084F, 0.9999997282F,
- 0.9999997469F, 0.9999997647F, 0.9999997815F, 0.9999997973F,
- 0.9999998123F, 0.9999998265F, 0.9999998398F, 0.9999998524F,
- 0.9999998642F, 0.9999998753F, 0.9999998857F, 0.9999998954F,
- 0.9999999045F, 0.9999999130F, 0.9999999209F, 0.9999999282F,
- 0.9999999351F, 0.9999999414F, 0.9999999472F, 0.9999999526F,
- 0.9999999576F, 0.9999999622F, 0.9999999664F, 0.9999999702F,
- 0.9999999737F, 0.9999999769F, 0.9999999798F, 0.9999999824F,
- 0.9999999847F, 0.9999999868F, 0.9999999887F, 0.9999999904F,
- 0.9999999919F, 0.9999999932F, 0.9999999943F, 0.9999999953F,
- 0.9999999961F, 0.9999999969F, 0.9999999975F, 0.9999999980F,
- 0.9999999985F, 0.9999999988F, 0.9999999991F, 0.9999999993F,
- 0.9999999995F, 0.9999999997F, 0.9999999998F, 0.9999999999F,
- 0.9999999999F, 1.0000000000F, 1.0000000000F, 1.0000000000F,
- 1.0000000000F, 1.0000000000F, 1.0000000000F, 1.0000000000F,
- };
- static float *vwin[8] = {
- vwin64,
- vwin128,
- vwin256,
- vwin512,
- vwin1024,
- vwin2048,
- vwin4096,
- vwin8192,
- };
- float *_vorbis_window_get(int n){
- return vwin[n];
- }
- void _vorbis_apply_window(float *d,int *winno,long *blocksizes,
- int lW,int W,int nW){
- lW=(W?lW:0);
- nW=(W?nW:0);
-
- {
- float *windowLW=vwin[winno[lW]];
- float *windowNW=vwin[winno[nW]];
- long n=blocksizes[W];
- long ln=blocksizes[lW];
- long rn=blocksizes[nW];
-
- long leftbegin=n/4-ln/4;
- long leftend=leftbegin+ln/2;
-
- long rightbegin=n/2+n/4-rn/4;
- long rightend=rightbegin+rn/2;
-
- int i,p;
-
- for(i=0;i<leftbegin;i++)
- d[i]=0.f;
-
- for(p=0;i<leftend;i++,p++)
- d[i]*=windowLW[p];
-
- for(i=rightbegin,p=rn/2-1;i<rightend;i++,p--)
- d[i]*=windowNW[p];
-
- for(;i<n;i++)
- d[i]=0.f;
- }
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: floor backend 0 implementation
- last mod: $Id: floor0.c,v 1.55 2003/09/05 23:17:49 giles Exp $
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: LSP (also called LSF) conversion routines
- last mod: $Id: lsp.h,v 1.11 2002/07/11 06:40:49 xiphmont Exp $
- ********************************************************************/
- #define _V_LSP_H_
- extern int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m);
- extern void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,
- float *lsp,int m,
- float amp,float ampoffset);
-
- typedef struct {
- int ln;
- int m;
- int **linearmap;
- int n[2];
- vorbis_info_floor0 *vi;
- long bits;
- long frames;
- } vorbis_look_floor0;
- /***********************************************/
- static void floor0_free_info(vorbis_info_floor *i){
- vorbis_info_floor0 *info=(vorbis_info_floor0 *)i;
- if(info){
- memset(info,0,sizeof(*info));
- _ogg_free(info);
- }
- }
- static void floor0_free_look(vorbis_look_floor *i){
- vorbis_look_floor0 *look=(vorbis_look_floor0 *)i;
- if(look){
- if(look->linearmap){
- if(look->linearmap[0])_ogg_free(look->linearmap[0]);
- if(look->linearmap[1])_ogg_free(look->linearmap[1]);
- _ogg_free(look->linearmap);
- }
- memset(look,0,sizeof(*look));
- _ogg_free(look);
- }
- }
- static vorbis_info_floor *floor0_unpack (vorbis_info *vi,oggpack_buffer *opb){
- codec_setup_info *ci=vi->codec_setup;
- int j;
- vorbis_info_floor0 *info=_ogg_malloc(sizeof(*info));
- info->order=oggpack_read(opb,8);
- info->rate=oggpack_read(opb,16);
- info->barkmap=oggpack_read(opb,16);
- info->ampbits=oggpack_read(opb,6);
- info->ampdB=oggpack_read(opb,8);
- info->numbooks=oggpack_read(opb,4)+1;
-
- if(info->order<1)goto err_out;
- if(info->rate<1)goto err_out;
- if(info->barkmap<1)goto err_out;
- if(info->numbooks<1)goto err_out;
-
- for(j=0;j<info->numbooks;j++){
- info->books[j]=oggpack_read(opb,8);
- if(info->books[j]<0 || info->books[j]>=ci->books)goto err_out;
- }
- return(info);
- err_out:
- floor0_free_info(info);
- return(NULL);
- }
- /* initialize Bark scale and normalization lookups. We could do this
- with static tables, but Vorbis allows a number of possible
- combinations, so it's best to do it computationally.
- The below is authoritative in terms of defining scale mapping.
- Note that the scale depends on the sampling rate as well as the
- linear block and mapping sizes */
- static void floor0_map_lazy_init(vorbis_block *vb,
- vorbis_info_floor *infoX,
- vorbis_look_floor0 *look){
- if(!look->linearmap[vb->W]){
- vorbis_dsp_state *vd=vb->vd;
- vorbis_info *vi=vd->vi;
- codec_setup_info *ci=vi->codec_setup;
- vorbis_info_floor0 *info=(vorbis_info_floor0 *)infoX;
- int W=vb->W;
- int n=ci->blocksizes[W]/2,j;
- /* we choose a scaling constant so that:
- floor(bark(rate/2-1)*C)=mapped-1
- floor(bark(rate/2)*C)=mapped */
- float scale=look->ln/toBARK(info->rate/2.f);
-
- /* the mapping from a linear scale to a smaller bark scale is
- straightforward. We do *not* make sure that the linear mapping
- does not skip bark-scale bins; the decoder simply skips them and
- the encoder may do what it wishes in filling them. They're
- necessary in some mapping combinations to keep the scale spacing
- accurate */
- look->linearmap[W]=_ogg_malloc((n+1)*sizeof(**look->linearmap));
- for(j=0;j<n;j++){
- int val=floor( toBARK((info->rate/2.f)/n*j)
- *scale); /* bark numbers represent band edges */
- if(val>=look->ln)val=look->ln-1; /* guard against the approximation */
- look->linearmap[W][j]=val;
- }
- look->linearmap[W][j]=-1;
- look->n[W]=n;
- }
- }
- static vorbis_look_floor *floor0_look(vorbis_dsp_state *vd,
- vorbis_info_floor *i){
- vorbis_info_floor0 *info=(vorbis_info_floor0 *)i;
- vorbis_look_floor0 *look=_ogg_calloc(1,sizeof(*look));
- look->m=info->order;
- look->ln=info->barkmap;
- look->vi=info;
- look->linearmap=_ogg_calloc(2,sizeof(*look->linearmap));
- return look;
- }
- static void *floor0_inverse1(vorbis_block *vb,vorbis_look_floor *i){
- vorbis_look_floor0 *look=(vorbis_look_floor0 *)i;
- vorbis_info_floor0 *info=look->vi;
- int j,k;
- int ampraw=oggpack_read(&vb->opb,info->ampbits);
- if(ampraw>0){ /* also handles the -1 out of data case */
- long maxval=(1<<info->ampbits)-1;
- float amp=(float)ampraw/maxval*info->ampdB;
- int booknum=oggpack_read(&vb->opb,_ilog(info->numbooks));
-
- if(booknum!=-1 && booknum<info->numbooks){ /* be paranoid */
- codec_setup_info *ci=vb->vd->vi->codec_setup;
- codebook *b=ci->fullbooks+info->books[booknum];
- float last=0.f;
- /* the additional b->dim is a guard against any possible stack
- smash; b->dim is provably more than we can overflow the
- vector */
- float *lsp=_vorbis_block_alloc(vb,sizeof(*lsp)*(look->m+b->dim+1));
-
- for(j=0;j<look->m;j+=b->dim)
- if(vorbis_book_decodev_set(b,lsp+j,&vb->opb,b->dim)==-1)goto eop;
- for(j=0;j<look->m;){
- for(k=0;k<b->dim;k++,j++)lsp[j]+=last;
- last=lsp[j-1];
- }
-
- lsp[look->m]=amp;
- return(lsp);
- }
- }
- eop:
- return(NULL);
- }
- static int floor0_inverse2(vorbis_block *vb,vorbis_look_floor *i,
- void *memo,float *out){
- vorbis_look_floor0 *look=(vorbis_look_floor0 *)i;
- vorbis_info_floor0 *info=look->vi;
-
- floor0_map_lazy_init(vb,info,look);
- if(memo){
- float *lsp=(float *)memo;
- float amp=lsp[look->m];
- /* take the coefficients back to a spectral envelope curve */
- vorbis_lsp_to_curve(out,
- look->linearmap[vb->W],
- look->n[vb->W],
- look->ln,
- lsp,look->m,amp,(float)info->ampdB);
- return(1);
- }
- memset(out,0,sizeof(*out)*look->n[vb->W]);
- return(0);
- }
- /* export hooks */
- vorbis_func_floor floor0_exportbundle={
- NULL,&floor0_unpack,&floor0_look,&floor0_free_info,
- &floor0_free_look,&floor0_inverse1,&floor0_inverse2
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: LSP (also called LSF) conversion routines
- last mod: $Id: lsp.c,v 1.24 2002/10/16 07:44:21 xiphmont Exp $
- The LSP generation code is taken (with minimal modification and a
- few bugfixes) from "On the Computation of the LSP Frequencies" by
- Joseph Rothweiler (see http://www.rothweiler.us for contact info).
- The paper is available at:
- http://www.myown1.com/joe/lsf
- ********************************************************************/
- /* Note that the lpc-lsp conversion finds the roots of polynomial with
- an iterative root polisher (CACM algorithm 283). It *is* possible
- to confuse this algorithm into not converging; that should only
- happen with absurdly closely spaced roots (very sharp peaks in the
- LPC f response) which in turn should be impossible in our use of
- the code. If this *does* happen anyway, it's a bug in the floor
- finder; find the cause of the confusion (probably a single bin
- spike or accidental near-float-limit resolution problems) and
- correct it. */
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: lookup based functions
- last mod: $Id: lookup.h,v 1.7 2002/07/11 06:40:49 xiphmont Exp $
- ********************************************************************/
- #ifdef FLOAT_LOOKUP
- extern float vorbis_coslook(float a);
- extern float vorbis_invsqlook(float a);
- extern float vorbis_invsq2explook(int a);
- extern float vorbis_fromdBlook(float a);
- #endif
- #ifdef INT_LOOKUP
- extern long vorbis_invsqlook_i(long a,long e);
- extern long vorbis_coslook_i(long a);
- extern float vorbis_fromdBlook_i(long a);
- #endif
- /* three possible LSP to f curve functions; the exact computation
- (float), a lookup based float implementation, and an integer
- implementation. The float lookup is likely the optimal choice on
- any machine with an FPU. The integer implementation is *not* fixed
- point (due to the need for a large dynamic range and thus a
- seperately tracked exponent) and thus much more complex than the
- relatively simple float implementations. It's mostly for future
- work on a fully fixed point implementation for processors like the
- ARM family. */
- /* undefine both for the 'old' but more precise implementation */
- #define FLOAT_LOOKUP
- #undef INT_LOOKUP
- #ifdef FLOAT_LOOKUP
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: lookup based functions
- last mod: $Id: lookup.c,v 1.9 2002/01/22 08:06:07 xiphmont Exp $
- ********************************************************************/
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: lookup data; generated by lookups.pl; edit there
- last mod: $Id: lookup_data.h,v 1.10 2003/01/18 08:09:28 msmith Exp $
- ********************************************************************/
- #ifdef FLOAT_LOOKUP
- #define COS_LOOKUP_SZ 128
- static float COS_LOOKUP[COS_LOOKUP_SZ+1]={
- +1.0000000000000f,+0.9996988186962f,+0.9987954562052f,+0.9972904566787f,
- +0.9951847266722f,+0.9924795345987f,+0.9891765099648f,+0.9852776423889f,
- +0.9807852804032f,+0.9757021300385f,+0.9700312531945f,+0.9637760657954f,
- +0.9569403357322f,+0.9495281805930f,+0.9415440651830f,+0.9329927988347f,
- +0.9238795325113f,+0.9142097557035f,+0.9039892931234f,+0.8932243011955f,
- +0.8819212643484f,+0.8700869911087f,+0.8577286100003f,+0.8448535652497f,
- +0.8314696123025f,+0.8175848131516f,+0.8032075314806f,+0.7883464276266f,
- +0.7730104533627f,+0.7572088465065f,+0.7409511253550f,+0.7242470829515f,
- +0.7071067811865f,+0.6895405447371f,+0.6715589548470f,+0.6531728429538f,
- +0.6343932841636f,+0.6152315905806f,+0.5956993044924f,+0.5758081914178f,
- +0.5555702330196f,+0.5349976198871f,+0.5141027441932f,+0.4928981922298f,
- +0.4713967368260f,+0.4496113296546f,+0.4275550934303f,+0.4052413140050f,
- +0.3826834323651f,+0.3598950365350f,+0.3368898533922f,+0.3136817403989f,
- +0.2902846772545f,+0.2667127574749f,+0.2429801799033f,+0.2191012401569f,
- +0.1950903220161f,+0.1709618887603f,+0.1467304744554f,+0.1224106751992f,
- +0.0980171403296f,+0.0735645635997f,+0.0490676743274f,+0.0245412285229f,
- +0.0000000000000f,-0.0245412285229f,-0.0490676743274f,-0.0735645635997f,
- -0.0980171403296f,-0.1224106751992f,-0.1467304744554f,-0.1709618887603f,
- -0.1950903220161f,-0.2191012401569f,-0.2429801799033f,-0.2667127574749f,
- -0.2902846772545f,-0.3136817403989f,-0.3368898533922f,-0.3598950365350f,
- -0.3826834323651f,-0.4052413140050f,-0.4275550934303f,-0.4496113296546f,
- -0.4713967368260f,-0.4928981922298f,-0.5141027441932f,-0.5349976198871f,
- -0.5555702330196f,-0.5758081914178f,-0.5956993044924f,-0.6152315905806f,
- -0.6343932841636f,-0.6531728429538f,-0.6715589548470f,-0.6895405447371f,
- -0.7071067811865f,-0.7242470829515f,-0.7409511253550f,-0.7572088465065f,
- -0.7730104533627f,-0.7883464276266f,-0.8032075314806f,-0.8175848131516f,
- -0.8314696123025f,-0.8448535652497f,-0.8577286100003f,-0.8700869911087f,
- -0.8819212643484f,-0.8932243011955f,-0.9039892931234f,-0.9142097557035f,
- -0.9238795325113f,-0.9329927988347f,-0.9415440651830f,-0.9495281805930f,
- -0.9569403357322f,-0.9637760657954f,-0.9700312531945f,-0.9757021300385f,
- -0.9807852804032f,-0.9852776423889f,-0.9891765099648f,-0.9924795345987f,
- -0.9951847266722f,-0.9972904566787f,-0.9987954562052f,-0.9996988186962f,
- -1.0000000000000f,
- };
- #define INVSQ_LOOKUP_SZ 32
- static float INVSQ_LOOKUP[INVSQ_LOOKUP_SZ+1]={
- 1.414213562373f,1.392621247646f,1.371988681140f,1.352246807566f,
- 1.333333333333f,1.315191898443f,1.297771369046f,1.281025230441f,
- 1.264911064067f,1.249390095109f,1.234426799697f,1.219988562661f,
- 1.206045378311f,1.192569588000f,1.179535649239f,1.166919931983f,
- 1.154700538379f,1.142857142857f,1.131370849898f,1.120224067222f,
- 1.109400392450f,1.098884511590f,1.088662107904f,1.078719779941f,
- 1.069044967650f,1.059625885652f,1.050451462878f,1.041511287847f,
- 1.032795558989f,1.024295039463f,1.016001016002f,1.007905261358f,
- 1.000000000000f,
- };
- #define INVSQ2EXP_LOOKUP_MIN (-32)
- #define INVSQ2EXP_LOOKUP_MAX 32
- static float INVSQ2EXP_LOOKUP[INVSQ2EXP_LOOKUP_MAX-\
- INVSQ2EXP_LOOKUP_MIN+1]={
- 65536.f, 46340.95001f, 32768.f, 23170.47501f,
- 16384.f, 11585.2375f, 8192.f, 5792.618751f,
- 4096.f, 2896.309376f, 2048.f, 1448.154688f,
- 1024.f, 724.0773439f, 512.f, 362.038672f,
- 256.f, 181.019336f, 128.f, 90.50966799f,
- 64.f, 45.254834f, 32.f, 22.627417f,
- 16.f, 11.3137085f, 8.f, 5.656854249f,
- 4.f, 2.828427125f, 2.f, 1.414213562f,
- 1.f, 0.7071067812f, 0.5f, 0.3535533906f,
- 0.25f, 0.1767766953f, 0.125f, 0.08838834765f,
- 0.0625f, 0.04419417382f, 0.03125f, 0.02209708691f,
- 0.015625f, 0.01104854346f, 0.0078125f, 0.005524271728f,
- 0.00390625f, 0.002762135864f, 0.001953125f, 0.001381067932f,
- 0.0009765625f, 0.000690533966f, 0.00048828125f, 0.000345266983f,
- 0.000244140625f,0.0001726334915f,0.0001220703125f,8.631674575e-05f,
- 6.103515625e-05f,4.315837288e-05f,3.051757812e-05f,2.157918644e-05f,
- 1.525878906e-05f,
- };
- #endif
- #define FROMdB_LOOKUP_SZ 35
- #define FROMdB2_LOOKUP_SZ 32
- #define FROMdB_SHIFT 5
- #define FROMdB2_SHIFT 3
- #define FROMdB2_MASK 31
- static float FROMdB_LOOKUP[FROMdB_LOOKUP_SZ]={
- 1.f, 0.6309573445f, 0.3981071706f, 0.2511886432f,
- 0.1584893192f, 0.1f, 0.06309573445f, 0.03981071706f,
- 0.02511886432f, 0.01584893192f, 0.01f, 0.006309573445f,
- 0.003981071706f, 0.002511886432f, 0.001584893192f, 0.001f,
- 0.0006309573445f,0.0003981071706f,0.0002511886432f,0.0001584893192f,
- 0.0001f,6.309573445e-05f,3.981071706e-05f,2.511886432e-05f,
- 1.584893192e-05f, 1e-05f,6.309573445e-06f,3.981071706e-06f,
- 2.511886432e-06f,1.584893192e-06f, 1e-06f,6.309573445e-07f,
- 3.981071706e-07f,2.511886432e-07f,1.584893192e-07f,
- };
- static float FROMdB2_LOOKUP[FROMdB2_LOOKUP_SZ]={
- 0.9928302478f, 0.9786445908f, 0.9646616199f, 0.9508784391f,
- 0.9372921937f, 0.92390007f, 0.9106992942f, 0.8976871324f,
- 0.8848608897f, 0.8722179097f, 0.8597555737f, 0.8474713009f,
- 0.835362547f, 0.8234268041f, 0.8116616003f, 0.8000644989f,
- 0.7886330981f, 0.7773650302f, 0.7662579617f, 0.755309592f,
- 0.7445176537f, 0.7338799116f, 0.7233941627f, 0.7130582353f,
- 0.7028699885f, 0.6928273125f, 0.6829281272f, 0.6731703824f,
- 0.6635520573f, 0.6540711597f, 0.6447257262f, 0.6355138211f,
- };
- #ifdef INT_LOOKUP
- #define INVSQ_LOOKUP_I_SHIFT 10
- #define INVSQ_LOOKUP_I_MASK 1023
- static long INVSQ_LOOKUP_I[64+1]={
- 92682l, 91966l, 91267l, 90583l,
- 89915l, 89261l, 88621l, 87995l,
- 87381l, 86781l, 86192l, 85616l,
- 85051l, 84497l, 83953l, 83420l,
- 82897l, 82384l, 81880l, 81385l,
- 80899l, 80422l, 79953l, 79492l,
- 79039l, 78594l, 78156l, 77726l,
- 77302l, 76885l, 76475l, 76072l,
- 75674l, 75283l, 74898l, 74519l,
- 74146l, 73778l, 73415l, 73058l,
- 72706l, 72359l, 72016l, 71679l,
- 71347l, 71019l, 70695l, 70376l,
- 70061l, 69750l, 69444l, 69141l,
- 68842l, 68548l, 68256l, 67969l,
- 67685l, 67405l, 67128l, 66855l,
- 66585l, 66318l, 66054l, 65794l,
- 65536l,
- };
- #define COS_LOOKUP_I_SHIFT 9
- #define COS_LOOKUP_I_MASK 511
- #define COS_LOOKUP_I_SZ 128
- static long COS_LOOKUP_I[COS_LOOKUP_I_SZ+1]={
- 16384l, 16379l, 16364l, 16340l,
- 16305l, 16261l, 16207l, 16143l,
- 16069l, 15986l, 15893l, 15791l,
- 15679l, 15557l, 15426l, 15286l,
- 15137l, 14978l, 14811l, 14635l,
- 14449l, 14256l, 14053l, 13842l,
- 13623l, 13395l, 13160l, 12916l,
- 12665l, 12406l, 12140l, 11866l,
- 11585l, 11297l, 11003l, 10702l,
- 10394l, 10080l, 9760l, 9434l,
- 9102l, 8765l, 8423l, 8076l,
- 7723l, 7366l, 7005l, 6639l,
- 6270l, 5897l, 5520l, 5139l,
- 4756l, 4370l, 3981l, 3590l,
- 3196l, 2801l, 2404l, 2006l,
- 1606l, 1205l, 804l, 402l,
- 0l, -401l, -803l, -1204l,
- -1605l, -2005l, -2403l, -2800l,
- -3195l, -3589l, -3980l, -4369l,
- -4755l, -5138l, -5519l, -5896l,
- -6269l, -6638l, -7004l, -7365l,
- -7722l, -8075l, -8422l, -8764l,
- -9101l, -9433l, -9759l, -10079l,
- -10393l, -10701l, -11002l, -11296l,
- -11584l, -11865l, -12139l, -12405l,
- -12664l, -12915l, -13159l, -13394l,
- -13622l, -13841l, -14052l, -14255l,
- -14448l, -14634l, -14810l, -14977l,
- -15136l, -15285l, -15425l, -15556l,
- -15678l, -15790l, -15892l, -15985l,
- -16068l, -16142l, -16206l, -16260l,
- -16304l, -16339l, -16363l, -16378l,
- -16383l,
- };
- #endif
- #ifdef FLOAT_LOOKUP
- /* interpolated lookup based cos function, domain 0 to PI only */
- float vorbis_coslook(float a){
- double d=a*(.31830989*(float)COS_LOOKUP_SZ);
- int i=vorbis_ftoi(d-.5);
- return COS_LOOKUP[i]+ (d-i)*(COS_LOOKUP[i+1]-COS_LOOKUP[i]);
- }
- /* interpolated 1./sqrt(p) where .5 <= p < 1. */
- float vorbis_invsqlook(float a){
- double d=a*(2.f*(float)INVSQ_LOOKUP_SZ)-(float)INVSQ_LOOKUP_SZ;
- int i=vorbis_ftoi(d-.5f);
- return INVSQ_LOOKUP[i]+ (d-i)*(INVSQ_LOOKUP[i+1]-INVSQ_LOOKUP[i]);
- }
- /* interpolated 1./sqrt(p) where .5 <= p < 1. */
- float vorbis_invsq2explook(int a){
- return INVSQ2EXP_LOOKUP[a-INVSQ2EXP_LOOKUP_MIN];
- }
- /* interpolated lookup based fromdB function, domain -140dB to 0dB only */
- float vorbis_fromdBlook(float a){
- int i=vorbis_ftoi(a*((float)(-(1<<FROMdB2_SHIFT)))-.5f);
- return (i<0)?1.f:
- ((i>=(FROMdB_LOOKUP_SZ<<FROMdB_SHIFT))?0.f:
- FROMdB_LOOKUP[i>>FROMdB_SHIFT]*FROMdB2_LOOKUP[i&FROMdB2_MASK]);
- }
- #endif
- #ifdef INT_LOOKUP
- /* interpolated 1./sqrt(p) where .5 <= a < 1. (.100000... to .111111...) in
- 16.16 format
- returns in m.8 format */
- long vorbis_invsqlook_i(long a,long e){
- long i=(a&0x7fff)>>(INVSQ_LOOKUP_I_SHIFT-1);
- long d=(a&INVSQ_LOOKUP_I_MASK)<<(16-INVSQ_LOOKUP_I_SHIFT); /* 0.16 */
- long val=INVSQ_LOOKUP_I[i]- /* 1.16 */
- (((INVSQ_LOOKUP_I[i]-INVSQ_LOOKUP_I[i+1])* /* 0.16 */
- d)>>16); /* result 1.16 */
-
- e+=32;
- if(e&1)val=(val*5792)>>13; /* multiply val by 1/sqrt(2) */
- e=(e>>1)-8;
- return(val>>e);
- }
- /* interpolated lookup based fromdB function, domain -140dB to 0dB only */
- /* a is in n.12 format */
- float vorbis_fromdBlook_i(long a){
- int i=(-a)>>(12-FROMdB2_SHIFT);
- return (i<0)?1.f:
- ((i>=(FROMdB_LOOKUP_SZ<<FROMdB_SHIFT))?0.f:
- FROMdB_LOOKUP[i>>FROMdB_SHIFT]*FROMdB2_LOOKUP[i&FROMdB2_MASK]);
- }
- /* interpolated lookup based cos function, domain 0 to PI only */
- /* a is in 0.16 format, where 0==0, 2^^16-1==PI, return 0.14 */
- long vorbis_coslook_i(long a){
- int i=a>>COS_LOOKUP_I_SHIFT;
- int d=a&COS_LOOKUP_I_MASK;
- return COS_LOOKUP_I[i]- ((d*(COS_LOOKUP_I[i]-COS_LOOKUP_I[i+1]))>>
- COS_LOOKUP_I_SHIFT);
- }
- #endif
- /* side effect: changes *lsp to cosines of lsp */
- void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,float *lsp,int m,
- float amp,float ampoffset){
- int i;
- float wdel=M_PI/ln;
- vorbis_fpu_control fpu;
-
- vorbis_fpu_setround(&fpu);
- for(i=0;i<m;i++)lsp[i]=vorbis_coslook(lsp[i]);
- i=0;
- while(i<n){
- int k=map[i];
- int qexp;
- float p=.7071067812f;
- float q=.7071067812f;
- float w=vorbis_coslook(wdel*k);
- float *ftmp=lsp;
- int c=m>>1;
- do{
- q*=ftmp[0]-w;
- p*=ftmp[1]-w;
- ftmp+=2;
- }while(--c);
- if(m&1){
- /* odd order filter; slightly assymetric */
- /* the last coefficient */
- q*=ftmp[0]-w;
- q*=q;
- p*=p*(1.f-w*w);
- }else{
- /* even order filter; still symmetric */
- q*=q*(1.f+w);
- p*=p*(1.f-w);
- }
- q=frexp(p+q,&qexp);
- q=vorbis_fromdBlook(amp*
- vorbis_invsqlook(q)*
- vorbis_invsq2explook(qexp+m)-
- ampoffset);
- do{
- curve[i++]*=q;
- }while(map[i]==k);
- }
- vorbis_fpu_restore(fpu);
- }
- #else
- #ifdef INT_LOOKUP
- static int MLOOP_1[64]={
- 0,10,11,11, 12,12,12,12, 13,13,13,13, 13,13,13,13,
- 14,14,14,14, 14,14,14,14, 14,14,14,14, 14,14,14,14,
- 15,15,15,15, 15,15,15,15, 15,15,15,15, 15,15,15,15,
- 15,15,15,15, 15,15,15,15, 15,15,15,15, 15,15,15,15,
- };
- static int MLOOP_2[64]={
- 0,4,5,5, 6,6,6,6, 7,7,7,7, 7,7,7,7,
- 8,8,8,8, 8,8,8,8, 8,8,8,8, 8,8,8,8,
- 9,9,9,9, 9,9,9,9, 9,9,9,9, 9,9,9,9,
- 9,9,9,9, 9,9,9,9, 9,9,9,9, 9,9,9,9,
- };
- static int MLOOP_3[8]={0,1,2,2,3,3,3,3};
- /* side effect: changes *lsp to cosines of lsp */
- void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,float *lsp,int m,
- float amp,float ampoffset){
- /* 0 <= m < 256 */
- /* set up for using all int later */
- int i;
- int ampoffseti=rint(ampoffset*4096.f);
- int ampi=rint(amp*16.f);
- long *ilsp=alloca(m*sizeof(*ilsp));
- for(i=0;i<m;i++)ilsp[i]=vorbis_coslook_i(lsp[i]/M_PI*65536.f+.5f);
- i=0;
- while(i<n){
- int j,k=map[i];
- unsigned long pi=46341; /* 2**-.5 in 0.16 */
- unsigned long qi=46341;
- int qexp=0,shift;
- long wi=vorbis_coslook_i(k*65536/ln);
- qi*=labs(ilsp[0]-wi);
- pi*=labs(ilsp[1]-wi);
- for(j=3;j<m;j+=2){
- if(!(shift=MLOOP_1[(pi|qi)>>25]))
- if(!(shift=MLOOP_2[(pi|qi)>>19]))
- shift=MLOOP_3[(pi|qi)>>16];
- qi=(qi>>shift)*labs(ilsp[j-1]-wi);
- pi=(pi>>shift)*labs(ilsp[j]-wi);
- qexp+=shift;
- }
- if(!(shift=MLOOP_1[(pi|qi)>>25]))
- if(!(shift=MLOOP_2[(pi|qi)>>19]))
- shift=MLOOP_3[(pi|qi)>>16];
- /* pi,qi normalized collectively, both tracked using qexp */
- if(m&1){
- /* odd order filter; slightly assymetric */
- /* the last coefficient */
- qi=(qi>>shift)*labs(ilsp[j-1]-wi);
- pi=(pi>>shift)<<14;
- qexp+=shift;
- if(!(shift=MLOOP_1[(pi|qi)>>25]))
- if(!(shift=MLOOP_2[(pi|qi)>>19]))
- shift=MLOOP_3[(pi|qi)>>16];
-
- pi>>=shift;
- qi>>=shift;
- qexp+=shift-14*((m+1)>>1);
- pi=((pi*pi)>>16);
- qi=((qi*qi)>>16);
- qexp=qexp*2+m;
- pi*=(1<<14)-((wi*wi)>>14);
- qi+=pi>>14;
- }else{
- /* even order filter; still symmetric */
- /* p*=p(1-w), q*=q(1+w), let normalization drift because it isn't
- worth tracking step by step */
-
- pi>>=shift;
- qi>>=shift;
- qexp+=shift-7*m;
- pi=((pi*pi)>>16);
- qi=((qi*qi)>>16);
- qexp=qexp*2+m;
-
- pi*=(1<<14)-wi;
- qi*=(1<<14)+wi;
- qi=(qi+pi)>>14;
-
- }
-
- /* we've let the normalization drift because it wasn't important;
- however, for the lookup, things must be normalized again. We
- need at most one right shift or a number of left shifts */
- if(qi&0xffff0000){ /* checks for 1.xxxxxxxxxxxxxxxx */
- qi>>=1; qexp++;
- }else
- while(qi && !(qi&0x8000)){ /* checks for 0.0xxxxxxxxxxxxxxx or less*/
- qi<<=1; qexp--;
- }
- amp=vorbis_fromdBlook_i(ampi* /* n.4 */
- vorbis_invsqlook_i(qi,qexp)-
- /* m.8, m+n<=8 */
- ampoffseti); /* 8.12[0] */
- curve[i]*=amp;
- while(map[++i]==k)curve[i]*=amp;
- }
- }
- #else
- /* old, nonoptimized but simple version for any poor sap who needs to
- figure out what the hell this code does, or wants the other
- fraction of a dB precision */
- /* side effect: changes *lsp to cosines of lsp */
- void vorbis_lsp_to_curve(float *curve,int *map,int n,int ln,float *lsp,int m,
- float amp,float ampoffset){
- int i;
- float wdel=M_PI/ln;
- for(i=0;i<m;i++)lsp[i]=2.f*cos(lsp[i]);
- i=0;
- while(i<n){
- int j,k=map[i];
- float p=.5f;
- float q=.5f;
- float w=2.f*cos(wdel*k);
- for(j=1;j<m;j+=2){
- q *= w-lsp[j-1];
- p *= w-lsp[j];
- }
- if(j==m){
- /* odd order filter; slightly assymetric */
- /* the last coefficient */
- q*=w-lsp[j-1];
- p*=p*(4.f-w*w);
- q*=q;
- }else{
- /* even order filter; still symmetric */
- p*=p*(2.f-w);
- q*=q*(2.f+w);
- }
- q=fromdB(amp/sqrt(p+q)-ampoffset);
- curve[i]*=q;
- while(map[++i]==k)curve[i]*=q;
- }
- }
- #endif
- #endif
- static void cheby(float *g, int ord) {
- int i, j;
- g[0] *= .5f;
- for(i=2; i<= ord; i++) {
- for(j=ord; j >= i; j--) {
- g[j-2] -= g[j];
- g[j] += g[j];
- }
- }
- }
- static int comp(const void *a,const void *b){
- return (*(float *)a<*(float *)b)-(*(float *)a>*(float *)b);
- }
- /* Newton-Raphson-Maehly actually functioned as a decent root finder,
- but there are root sets for which it gets into limit cycles
- (exacerbated by zero suppression) and fails. We can't afford to
- fail, even if the failure is 1 in 100,000,000, so we now use
- Laguerre and later polish with Newton-Raphson (which can then
- afford to fail) */
- #define EPSILON 10e-7
- static int Laguerre_With_Deflation(float *a,int ord,float *r){
- int i,m;
- double lastdelta=0.f;
- double *defl=alloca(sizeof(*defl)*(ord+1));
- for(i=0;i<=ord;i++)defl[i]=a[i];
- for(m=ord;m>0;m--){
- double new=0.f,delta;
- /* iterate a root */
- while(1){
- double p=defl[m],pp=0.f,ppp=0.f,denom;
-
- /* eval the polynomial and its first two derivatives */
- for(i=m;i>0;i--){
- ppp = new*ppp + pp;
- pp = new*pp + p;
- p = new*p + defl[i-1];
- }
-
- /* Laguerre's method */
- denom=(m-1) * ((m-1)*pp*pp - m*p*ppp);
- if(denom<0)
- return(-1); /* complex root! The LPC generator handed us a bad filter */
- if(pp>0){
- denom = pp + sqrt(denom);
- if(denom<EPSILON)denom=EPSILON;
- }else{
- denom = pp - sqrt(denom);
- if(denom>-(EPSILON))denom=-(EPSILON);
- }
- delta = m*p/denom;
- new -= delta;
- if(delta<0.f)delta*=-1;
- if(fabs(delta/new)<10e-12)break;
- lastdelta=delta;
- }
- r[m-1]=new;
- /* forward deflation */
-
- for(i=m;i>0;i--)
- defl[i-1]+=new*defl[i];
- defl++;
- }
- return(0);
- }
- /* for spit-and-polish only */
- static int Newton_Raphson(float *a,int ord,float *r){
- int i, k, count=0;
- double error=1.f;
- double *root=alloca(ord*sizeof(*root));
- for(i=0; i<ord;i++) root[i] = r[i];
-
- while(error>1e-20){
- error=0;
-
- for(i=0; i<ord; i++) { /* Update each point. */
- double pp=0.,delta;
- double rooti=root[i];
- double p=a[ord];
- for(k=ord-1; k>= 0; k--) {
- pp= pp* rooti + p;
- p = p * rooti + a[k];
- }
- delta = p/pp;
- root[i] -= delta;
- error+= delta*delta;
- }
-
- if(count>40)return(-1);
-
- count++;
- }
- /* Replaced the original bubble sort with a real sort. With your
- help, we can eliminate the bubble sort in our lifetime. --Monty */
- for(i=0; i<ord;i++) r[i] = root[i];
- return(0);
- }
- /* Convert lpc coefficients to lsp coefficients */
- int vorbis_lpc_to_lsp(float *lpc,float *lsp,int m){
- int order2=(m+1)>>1;
- int g1_order,g2_order;
- float *g1=alloca(sizeof(*g1)*(order2+1));
- float *g2=alloca(sizeof(*g2)*(order2+1));
- float *g1r=alloca(sizeof(*g1r)*(order2+1));
- float *g2r=alloca(sizeof(*g2r)*(order2+1));
- int i;
- /* even and odd are slightly different base cases */
- g1_order=(m+1)>>1;
- g2_order=(m) >>1;
- /* Compute the lengths of the x polynomials. */
- /* Compute the first half of K & R F1 & F2 polynomials. */
- /* Compute half of the symmetric and antisymmetric polynomials. */
- /* Remove the roots at +1 and -1. */
-
- g1[g1_order] = 1.f;
- for(i=1;i<=g1_order;i++) g1[g1_order-i] = lpc[i-1]+lpc[m-i];
- g2[g2_order] = 1.f;
- for(i=1;i<=g2_order;i++) g2[g2_order-i] = lpc[i-1]-lpc[m-i];
-
- if(g1_order>g2_order){
- for(i=2; i<=g2_order;i++) g2[g2_order-i] += g2[g2_order-i+2];
- }else{
- for(i=1; i<=g1_order;i++) g1[g1_order-i] -= g1[g1_order-i+1];
- for(i=1; i<=g2_order;i++) g2[g2_order-i] += g2[g2_order-i+1];
- }
- /* Convert into polynomials in cos(alpha) */
- cheby(g1,g1_order);
- cheby(g2,g2_order);
- /* Find the roots of the 2 even polynomials.*/
- if(Laguerre_With_Deflation(g1,g1_order,g1r) ||
- Laguerre_With_Deflation(g2,g2_order,g2r))
- return(-1);
- Newton_Raphson(g1,g1_order,g1r); /* if it fails, it leaves g1r alone */
- Newton_Raphson(g2,g2_order,g2r); /* if it fails, it leaves g2r alone */
- qsort(g1r,g1_order,sizeof(*g1r),comp);
- qsort(g2r,g2_order,sizeof(*g2r),comp);
- for(i=0;i<g1_order;i++)
- lsp[i*2] = acos(g1r[i]);
- for(i=0;i<g2_order;i++)
- lsp[i*2+1] = acos(g2r[i]);
- return(0);
- }
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: floor backend 1 implementation
- last mod: $Id: floor1.c,v 1.26 2003/02/15 07:10:07 xiphmont Exp $
- ********************************************************************/
- #define floor1_rangedB 140 /* floor 1 fixed at -140dB to 0dB range */
- typedef struct {
- int sorted_index[VIF_POSIT+2];
- int forward_index[VIF_POSIT+2];
- int reverse_index[VIF_POSIT+2];
-
- int hineighbor[VIF_POSIT];
- int loneighbor[VIF_POSIT];
- int posts;
- int n;
- int quant_q;
- vorbis_info_floor1 *vi;
- long phrasebits;
- long postbits;
- long frames;
- } vorbis_look_floor1;
- typedef struct lsfit_acc{
- long x0;
- long x1;
- long xa;
- long ya;
- long x2a;
- long y2a;
- long xya;
- long an;
- } lsfit_acc;
- /***********************************************/
-
- static void floor1_free_info(vorbis_info_floor *i){
- vorbis_info_floor1 *info=(vorbis_info_floor1 *)i;
- if(info){
- memset(info,0,sizeof(*info));
- _ogg_free(info);
- }
- }
- static void floor1_free_look(vorbis_look_floor *i){
- vorbis_look_floor1 *look=(vorbis_look_floor1 *)i;
- if(look){
- /*fprintf(stderr,"floor 1 bit usage %f:%f (%f total)\n",
- (float)look->phrasebits/look->frames,
- (float)look->postbits/look->frames,
- (float)(look->postbits+look->phrasebits)/look->frames);*/
- memset(look,0,sizeof(*look));
- _ogg_free(look);
- }
- }
- static int ilog(unsigned int v){
- int ret=0;
- while(v){
- ret++;
- v>>=1;
- }
- return(ret);
- }
- static void floor1_pack (vorbis_info_floor *i,oggpack_buffer *opb){
- vorbis_info_floor1 *info=(vorbis_info_floor1 *)i;
- int j,k;
- int count=0;
- int rangebits;
- int maxposit=info->postlist[1];
- int maxclass=-1;
- /* save out partitions */
- oggpack_write(opb,info->partitions,5); /* only 0 to 31 legal */
- for(j=0;j<info->partitions;j++){
- oggpack_write(opb,info->partitionclass[j],4); /* only 0 to 15 legal */
- if(maxclass<info->partitionclass[j])maxclass=info->partitionclass[j];
- }
- /* save out partition classes */
- for(j=0;j<maxclass+1;j++){
- oggpack_write(opb,info->class_dim[j]-1,3); /* 1 to 8 */
- oggpack_write(opb,info->class_subs[j],2); /* 0 to 3 */
- if(info->class_subs[j])oggpack_write(opb,info->class_book[j],8);
- for(k=0;k<(1<<info->class_subs[j]);k++)
- oggpack_write(opb,info->class_subbook[j][k]+1,8);
- }
- /* save out the post list */
- oggpack_write(opb,info->mult-1,2); /* only 1,2,3,4 legal now */
- oggpack_write(opb,ilog2(maxposit),4);
- rangebits=ilog2(maxposit);
- for(j=0,k=0;j<info->partitions;j++){
- count+=info->class_dim[info->partitionclass[j]];
- for(;k<count;k++)
- oggpack_write(opb,info->postlist[k+2],rangebits);
- }
- }
- static vorbis_info_floor *floor1_unpack (vorbis_info *vi,oggpack_buffer *opb){
- codec_setup_info *ci=vi->codec_setup;
- int j,k,count=0,maxclass=-1,rangebits;
- vorbis_info_floor1 *info=_ogg_calloc(1,sizeof(*info));
- /* read partitions */
- info->partitions=oggpack_read(opb,5); /* only 0 to 31 legal */
- for(j=0;j<info->partitions;j++){
- info->partitionclass[j]=oggpack_read(opb,4); /* only 0 to 15 legal */
- if(maxclass<info->partitionclass[j])maxclass=info->partitionclass[j];
- }
- /* read partition classes */
- for(j=0;j<maxclass+1;j++){
- info->class_dim[j]=oggpack_read(opb,3)+1; /* 1 to 8 */
- info->class_subs[j]=oggpack_read(opb,2); /* 0,1,2,3 bits */
- if(info->class_subs[j]<0)
- goto err_out;
- if(info->class_subs[j])info->class_book[j]=oggpack_read(opb,8);
- if(info->class_book[j]<0 || info->class_book[j]>=ci->books)
- goto err_out;
- for(k=0;k<(1<<info->class_subs[j]);k++){
- info->class_subbook[j][k]=oggpack_read(opb,8)-1;
- if(info->class_subbook[j][k]<-1 || info->class_subbook[j][k]>=ci->books)
- goto err_out;
- }
- }
- /* read the post list */
- info->mult=oggpack_read(opb,2)+1; /* only 1,2,3,4 legal now */
- rangebits=oggpack_read(opb,4);
- for(j=0,k=0;j<info->partitions;j++){
- count+=info->class_dim[info->partitionclass[j]];
- for(;k<count;k++){
- int t=info->postlist[k+2]=oggpack_read(opb,rangebits);
- if(t<0 || t>=(1<<rangebits))
- goto err_out;
- }
- }
- info->postlist[0]=0;
- info->postlist[1]=1<<rangebits;
- return(info);
-
- err_out:
- floor1_free_info(info);
- return(NULL);
- }
- static int icomp(const void *a,const void *b){
- return(**(int **)a-**(int **)b);
- }
- static vorbis_look_floor *floor1_look(vorbis_dsp_state *vd,
- vorbis_info_floor *in){
- int *sortpointer[VIF_POSIT+2];
- vorbis_info_floor1 *info=(vorbis_info_floor1 *)in;
- vorbis_look_floor1 *look=_ogg_calloc(1,sizeof(*look));
- int i,j,n=0;
- look->vi=info;
- look->n=info->postlist[1];
-
- /* we drop each position value in-between already decoded values,
- and use linear interpolation to predict each new value past the
- edges. The positions are read in the order of the position
- list... we precompute the bounding positions in the lookup. Of
- course, the neighbors can change (if a position is declined), but
- this is an initial mapping */
- for(i=0;i<info->partitions;i++)n+=info->class_dim[info->partitionclass[i]];
- n+=2;
- look->posts=n;
- /* also store a sorted position index */
- for(i=0;i<n;i++)sortpointer[i]=info->postlist+i;
- qsort(sortpointer,n,sizeof(*sortpointer),icomp);
- /* points from sort order back to range number */
- for(i=0;i<n;i++)look->forward_index[i]=sortpointer[i]-info->postlist;
- /* points from range order to sorted position */
- for(i=0;i<n;i++)look->reverse_index[look->forward_index[i]]=i;
- /* we actually need the post values too */
- for(i=0;i<n;i++)look->sorted_index[i]=info->postlist[look->forward_index[i]];
-
- /* quantize values to multiplier spec */
- switch(info->mult){
- case 1: /* 1024 -> 256 */
- look->quant_q=256;
- break;
- case 2: /* 1024 -> 128 */
- look->quant_q=128;
- break;
- case 3: /* 1024 -> 86 */
- look->quant_q=86;
- break;
- case 4: /* 1024 -> 64 */
- look->quant_q=64;
- break;
- }
- /* discover our neighbors for decode where we don't use fit flags
- (that would push the neighbors outward) */
- for(i=0;i<n-2;i++){
- int lo=0;
- int hi=1;
- int lx=0;
- int hx=look->n;
- int currentx=info->postlist[i+2];
- for(j=0;j<i+2;j++){
- int x=info->postlist[j];
- if(x>lx && x<currentx){
- lo=j;
- lx=x;
- }
- if(x<hx && x>currentx){
- hi=j;
- hx=x;
- }
- }
- look->loneighbor[i]=lo;
- look->hineighbor[i]=hi;
- }
- return(look);
- }
- static int render_point(int x0,int x1,int y0,int y1,int x){
- y0&=0x7fff; /* mask off flag */
- y1&=0x7fff;
-
- {
- int dy=y1-y0;
- int adx=x1-x0;
- int ady=abs(dy);
- int err=ady*(x-x0);
-
- int off=err/adx;
- if(dy<0)return(y0-off);
- return(y0+off);
- }
- }
- static int vorbis_dBquant(const float *x){
- int i= *x*7.3142857f+1023.5f;
- if(i>1023)return(1023);
- if(i<0)return(0);
- return i;
- }
- static float FLOOR1_fromdB_LOOKUP[256]={
- 1.0649863e-07F, 1.1341951e-07F, 1.2079015e-07F, 1.2863978e-07F,
- 1.3699951e-07F, 1.4590251e-07F, 1.5538408e-07F, 1.6548181e-07F,
- 1.7623575e-07F, 1.8768855e-07F, 1.9988561e-07F, 2.128753e-07F,
- 2.2670913e-07F, 2.4144197e-07F, 2.5713223e-07F, 2.7384213e-07F,
- 2.9163793e-07F, 3.1059021e-07F, 3.3077411e-07F, 3.5226968e-07F,
- 3.7516214e-07F, 3.9954229e-07F, 4.2550680e-07F, 4.5315863e-07F,
- 4.8260743e-07F, 5.1396998e-07F, 5.4737065e-07F, 5.8294187e-07F,
- 6.2082472e-07F, 6.6116941e-07F, 7.0413592e-07F, 7.4989464e-07F,
- 7.9862701e-07F, 8.5052630e-07F, 9.0579828e-07F, 9.6466216e-07F,
- 1.0273513e-06F, 1.0941144e-06F, 1.1652161e-06F, 1.2409384e-06F,
- 1.3215816e-06F, 1.4074654e-06F, 1.4989305e-06F, 1.5963394e-06F,
- 1.7000785e-06F, 1.8105592e-06F, 1.9282195e-06F, 2.0535261e-06F,
- 2.1869758e-06F, 2.3290978e-06F, 2.4804557e-06F, 2.6416497e-06F,
- 2.8133190e-06F, 2.9961443e-06F, 3.1908506e-06F, 3.3982101e-06F,
- 3.6190449e-06F, 3.8542308e-06F, 4.1047004e-06F, 4.3714470e-06F,
- 4.6555282e-06F, 4.9580707e-06F, 5.2802740e-06F, 5.6234160e-06F,
- 5.9888572e-06F, 6.3780469e-06F, 6.7925283e-06F, 7.2339451e-06F,
- 7.7040476e-06F, 8.2047000e-06F, 8.7378876e-06F, 9.3057248e-06F,
- 9.9104632e-06F, 1.0554501e-05F, 1.1240392e-05F, 1.1970856e-05F,
- 1.2748789e-05F, 1.3577278e-05F, 1.4459606e-05F, 1.5399272e-05F,
- 1.6400004e-05F, 1.7465768e-05F, 1.8600792e-05F, 1.9809576e-05F,
- 2.1096914e-05F, 2.2467911e-05F, 2.3928002e-05F, 2.5482978e-05F,
- 2.7139006e-05F, 2.8902651e-05F, 3.0780908e-05F, 3.2781225e-05F,
- 3.4911534e-05F, 3.7180282e-05F, 3.9596466e-05F, 4.2169667e-05F,
- 4.4910090e-05F, 4.7828601e-05F, 5.0936773e-05F, 5.4246931e-05F,
- 5.7772202e-05F, 6.1526565e-05F, 6.5524908e-05F, 6.9783085e-05F,
- 7.4317983e-05F, 7.9147585e-05F, 8.4291040e-05F, 8.9768747e-05F,
- 9.5602426e-05F, 0.00010181521F, 0.00010843174F, 0.00011547824F,
- 0.00012298267F, 0.00013097477F, 0.00013948625F, 0.00014855085F,
- 0.00015820453F, 0.00016848555F, 0.00017943469F, 0.00019109536F,
- 0.00020351382F, 0.00021673929F, 0.00023082423F, 0.00024582449F,
- 0.00026179955F, 0.00027881276F, 0.00029693158F, 0.00031622787F,
- 0.00033677814F, 0.00035866388F, 0.00038197188F, 0.00040679456F,
- 0.00043323036F, 0.00046138411F, 0.00049136745F, 0.00052329927F,
- 0.00055730621F, 0.00059352311F, 0.00063209358F, 0.00067317058F,
- 0.00071691700F, 0.00076350630F, 0.00081312324F, 0.00086596457F,
- 0.00092223983F, 0.00098217216F, 0.0010459992F, 0.0011139742F,
- 0.0011863665F, 0.0012634633F, 0.0013455702F, 0.0014330129F,
- 0.0015261382F, 0.0016253153F, 0.0017309374F, 0.0018434235F,
- 0.0019632195F, 0.0020908006F, 0.0022266726F, 0.0023713743F,
- 0.0025254795F, 0.0026895994F, 0.0028643847F, 0.0030505286F,
- 0.0032487691F, 0.0034598925F, 0.0036847358F, 0.0039241906F,
- 0.0041792066F, 0.0044507950F, 0.0047400328F, 0.0050480668F,
- 0.0053761186F, 0.0057254891F, 0.0060975636F, 0.0064938176F,
- 0.0069158225F, 0.0073652516F, 0.0078438871F, 0.0083536271F,
- 0.0088964928F, 0.009474637F, 0.010090352F, 0.010746080F,
- 0.011444421F, 0.012188144F, 0.012980198F, 0.013823725F,
- 0.014722068F, 0.015678791F, 0.016697687F, 0.017782797F,
- 0.018938423F, 0.020169149F, 0.021479854F, 0.022875735F,
- 0.024362330F, 0.025945531F, 0.027631618F, 0.029427276F,
- 0.031339626F, 0.033376252F, 0.035545228F, 0.037855157F,
- 0.040315199F, 0.042935108F, 0.045725273F, 0.048696758F,
- 0.051861348F, 0.055231591F, 0.058820850F, 0.062643361F,
- 0.066714279F, 0.071049749F, 0.075666962F, 0.080584227F,
- 0.085821044F, 0.091398179F, 0.097337747F, 0.10366330F,
- 0.11039993F, 0.11757434F, 0.12521498F, 0.13335215F,
- 0.14201813F, 0.15124727F, 0.16107617F, 0.17154380F,
- 0.18269168F, 0.19456402F, 0.20720788F, 0.22067342F,
- 0.23501402F, 0.25028656F, 0.26655159F, 0.28387361F,
- 0.30232132F, 0.32196786F, 0.34289114F, 0.36517414F,
- 0.38890521F, 0.41417847F, 0.44109412F, 0.46975890F,
- 0.50028648F, 0.53279791F, 0.56742212F, 0.60429640F,
- 0.64356699F, 0.68538959F, 0.72993007F, 0.77736504F,
- 0.82788260F, 0.88168307F, 0.9389798F, 1.F,
- };
- static void render_line(int x0,int x1,int y0,int y1,float *d){
- int dy=y1-y0;
- int adx=x1-x0;
- int ady=abs(dy);
- int base=dy/adx;
- int sy=(dy<0?base-1:base+1);
- int x=x0;
- int y=y0;
- int err=0;
- ady-=abs(base*adx);
- d[x]*=FLOOR1_fromdB_LOOKUP[y];
- while(++x<x1){
- err=err+ady;
- if(err>=adx){
- err-=adx;
- y+=sy;
- }else{
- y+=base;
- }
- d[x]*=FLOOR1_fromdB_LOOKUP[y];
- }
- }
- static void render_line0(int x0,int x1,int y0,int y1,int *d){
- int dy=y1-y0;
- int adx=x1-x0;
- int ady=abs(dy);
- int base=dy/adx;
- int sy=(dy<0?base-1:base+1);
- int x=x0;
- int y=y0;
- int err=0;
- ady-=abs(base*adx);
- d[x]=y;
- while(++x<x1){
- err=err+ady;
- if(err>=adx){
- err-=adx;
- y+=sy;
- }else{
- y+=base;
- }
- d[x]=y;
- }
- }
- /* the floor has already been filtered to only include relevant sections */
- static int accumulate_fit(const float *flr,const float *mdct,
- int x0, int x1,lsfit_acc *a,
- int n,vorbis_info_floor1 *info){
- long i;
- long xa=0,ya=0,x2a=0,y2a=0,xya=0,na=0, xb=0,yb=0,x2b=0,y2b=0,xyb=0,nb=0;
- memset(a,0,sizeof(*a));
- a->x0=x0;
- a->x1=x1;
- if(x1>=n)x1=n-1;
- for(i=x0;i<=x1;i++){
- int quantized=vorbis_dBquant(flr+i);
- if(quantized){
- if(mdct[i]+info->twofitatten>=flr[i]){
- xa += i;
- ya += quantized;
- x2a += i*i;
- y2a += quantized*quantized;
- xya += i*quantized;
- na++;
- }else{
- xb += i;
- yb += quantized;
- x2b += i*i;
- y2b += quantized*quantized;
- xyb += i*quantized;
- nb++;
- }
- }
- }
- xb+=xa;
- yb+=ya;
- x2b+=x2a;
- y2b+=y2a;
- xyb+=xya;
- nb+=na;
- /* weight toward the actually used frequencies if we meet the threshhold */
- {
- int weight=nb*info->twofitweight/(na+1);
- a->xa=xa*weight+xb;
- a->ya=ya*weight+yb;
- a->x2a=x2a*weight+x2b;
- a->y2a=y2a*weight+y2b;
- a->xya=xya*weight+xyb;
- a->an=na*weight+nb;
- }
- return(na);
- }
- static void fit_line(lsfit_acc *a,int fits,int *y0,int *y1){
- long x=0,y=0,x2=0,y2=0,xy=0,an=0,i;
- long x0=a[0].x0;
- long x1=a[fits-1].x1;
- for(i=0;i<fits;i++){
- x+=a[i].xa;
- y+=a[i].ya;
- x2+=a[i].x2a;
- y2+=a[i].y2a;
- xy+=a[i].xya;
- an+=a[i].an;
- }
- if(*y0>=0){
- x+= x0;
- y+= *y0;
- x2+= x0 * x0;
- y2+= *y0 * *y0;
- xy+= *y0 * x0;
- an++;
- }
- if(*y1>=0){
- x+= x1;
- y+= *y1;
- x2+= x1 * x1;
- y2+= *y1 * *y1;
- xy+= *y1 * x1;
- an++;
- }
-
- if(an){
- /* need 64 bit multiplies, which C doesn't give portably as int */
- double fx=x;
- double fy=y;
- double fx2=x2;
- double fxy=xy;
- double denom=1./(an*fx2-fx*fx);
- double a=(fy*fx2-fxy*fx)*denom;
- double b=(an*fxy-fx*fy)*denom;
- *y0=rint(a+b*x0);
- *y1=rint(a+b*x1);
-
- /* limit to our range! */
- if(*y0>1023)*y0=1023;
- if(*y1>1023)*y1=1023;
- if(*y0<0)*y0=0;
- if(*y1<0)*y1=0;
-
- }else{
- *y0=0;
- *y1=0;
- }
- }
- /*static void fit_line_point(lsfit_acc *a,int fits,int *y0,int *y1){
- long y=0;
- int i;
- for(i=0;i<fits && y==0;i++)
- y+=a[i].ya;
-
- *y0=*y1=y;
- }*/
- static int inspect_error(int x0,int x1,int y0,int y1,const float *mask,
- const float *mdct,
- vorbis_info_floor1 *info){
- int dy=y1-y0;
- int adx=x1-x0;
- int ady=abs(dy);
- int base=dy/adx;
- int sy=(dy<0?base-1:base+1);
- int x=x0;
- int y=y0;
- int err=0;
- int val=vorbis_dBquant(mask+x);
- int mse=0;
- int n=0;
- ady-=abs(base*adx);
-
- mse=(y-val);
- mse*=mse;
- n++;
- if(mdct[x]+info->twofitatten>=mask[x]){
- if(y+info->maxover<val)return(1);
- if(y-info->maxunder>val)return(1);
- }
- while(++x<x1){
- err=err+ady;
- if(err>=adx){
- err-=adx;
- y+=sy;
- }else{
- y+=base;
- }
- val=vorbis_dBquant(mask+x);
- mse+=((y-val)*(y-val));
- n++;
- if(mdct[x]+info->twofitatten>=mask[x]){
- if(val){
- if(y+info->maxover<val)return(1);
- if(y-info->maxunder>val)return(1);
- }
- }
- }
-
- if(info->maxover*info->maxover/n>info->maxerr)return(0);
- if(info->maxunder*info->maxunder/n>info->maxerr)return(0);
- if(mse/n>info->maxerr)return(1);
- return(0);
- }
- static int post_Y(int *A,int *B,int pos){
- if(A[pos]<0)
- return B[pos];
- if(B[pos]<0)
- return A[pos];
- return (A[pos]+B[pos])>>1;
- }
- int *floor1_fit(vorbis_block *vb,vorbis_look_floor1 *look,
- const float *logmdct, /* in */
- const float *logmask){
- long i,j;
- vorbis_info_floor1 *info=look->vi;
- long n=look->n;
- long posts=look->posts;
- long nonzero=0;
- lsfit_acc fits[VIF_POSIT+1];
- int fit_valueA[VIF_POSIT+2]; /* index by range list position */
- int fit_valueB[VIF_POSIT+2]; /* index by range list position */
- int loneighbor[VIF_POSIT+2]; /* sorted index of range list position (+2) */
- int hineighbor[VIF_POSIT+2];
- int *output=NULL;
- int memo[VIF_POSIT+2];
- for(i=0;i<posts;i++)fit_valueA[i]=-200; /* mark all unused */
- for(i=0;i<posts;i++)fit_valueB[i]=-200; /* mark all unused */
- for(i=0;i<posts;i++)loneighbor[i]=0; /* 0 for the implicit 0 post */
- for(i=0;i<posts;i++)hineighbor[i]=1; /* 1 for the implicit post at n */
- for(i=0;i<posts;i++)memo[i]=-1; /* no neighbor yet */
- /* quantize the relevant floor points and collect them into line fit
- structures (one per minimal division) at the same time */
- if(posts==0){
- nonzero+=accumulate_fit(logmask,logmdct,0,n,fits,n,info);
- }else{
- for(i=0;i<posts-1;i++)
- nonzero+=accumulate_fit(logmask,logmdct,look->sorted_index[i],
- look->sorted_index[i+1],fits+i,
- n,info);
- }
-
- if(nonzero){
- /* start by fitting the implicit base case.... */
- int y0=-200;
- int y1=-200;
- fit_line(fits,posts-1,&y0,&y1);
- fit_valueA[0]=y0;
- fit_valueB[0]=y0;
- fit_valueB[1]=y1;
- fit_valueA[1]=y1;
- /* Non degenerate case */
- /* start progressive splitting. This is a greedy, non-optimal
- algorithm, but simple and close enough to the best
- answer. */
- for(i=2;i<posts;i++){
- int sortpos=look->reverse_index[i];
- int ln=loneighbor[sortpos];
- int hn=hineighbor[sortpos];
-
- /* eliminate repeat searches of a particular range with a memo */
- if(memo[ln]!=hn){
- /* haven't performed this error search yet */
- int lsortpos=look->reverse_index[ln];
- int hsortpos=look->reverse_index[hn];
- memo[ln]=hn;
-
- {
- /* A note: we want to bound/minimize *local*, not global, error */
- int lx=info->postlist[ln];
- int hx=info->postlist[hn];
- int ly=post_Y(fit_valueA,fit_valueB,ln);
- int hy=post_Y(fit_valueA,fit_valueB,hn);
-
- if(ly==-1 || hy==-1){
- exit(1);
- }
- if(inspect_error(lx,hx,ly,hy,logmask,logmdct,info)){
- /* outside error bounds/begin search area. Split it. */
- int ly0=-200;
- int ly1=-200;
- int hy0=-200;
- int hy1=-200;
- fit_line(fits+lsortpos,sortpos-lsortpos,&ly0,&ly1);
- fit_line(fits+sortpos,hsortpos-sortpos,&hy0,&hy1);
-
- /* store new edge values */
- fit_valueB[ln]=ly0;
- if(ln==0)fit_valueA[ln]=ly0;
- fit_valueA[i]=ly1;
- fit_valueB[i]=hy0;
- fit_valueA[hn]=hy1;
- if(hn==1)fit_valueB[hn]=hy1;
-
- if(ly1>=0 || hy0>=0){
- /* store new neighbor values */
- for(j=sortpos-1;j>=0;j--)
- if(hineighbor[j]==hn)
- hineighbor[j]=i;
- else
- break;
- for(j=sortpos+1;j<posts;j++)
- if(loneighbor[j]==ln)
- loneighbor[j]=i;
- else
- break;
-
- }
- }else{
-
- fit_valueA[i]=-200;
- fit_valueB[i]=-200;
- }
- }
- }
- }
-
- output=_vorbis_block_alloc(vb,sizeof(*output)*posts);
-
- output[0]=post_Y(fit_valueA,fit_valueB,0);
- output[1]=post_Y(fit_valueA,fit_valueB,1);
-
- /* fill in posts marked as not using a fit; we will zero
- back out to 'unused' when encoding them so long as curve
- interpolation doesn't force them into use */
- for(i=2;i<posts;i++){
- int ln=look->loneighbor[i-2];
- int hn=look->hineighbor[i-2];
- int x0=info->postlist[ln];
- int x1=info->postlist[hn];
- int y0=output[ln];
- int y1=output[hn];
-
- int predicted=render_point(x0,x1,y0,y1,info->postlist[i]);
- int vx=post_Y(fit_valueA,fit_valueB,i);
-
- if(vx>=0 && predicted!=vx){
- output[i]=vx;
- }else{
- output[i]= predicted|0x8000;
- }
- }
- }
- return(output);
-
- }
-
- int *floor1_interpolate_fit(vorbis_block *vb,vorbis_look_floor1 *look,
- int *A,int *B,
- int del){
- long i;
- long posts=look->posts;
- int *output=NULL;
-
- if(A && B){
- output=_vorbis_block_alloc(vb,sizeof(*output)*posts);
-
- for(i=0;i<posts;i++){
- output[i]=((65536-del)*(A[i]&0x7fff)+del*(B[i]&0x7fff)+32768)>>16;
- if(A[i]&0x8000 && B[i]&0x8000)output[i]|=0x8000;
- }
- }
- return(output);
- }
- int floor1_encode(vorbis_block *vb,vorbis_look_floor1 *look,
- int *post,int *ilogmask){
- long i,j;
- vorbis_info_floor1 *info=look->vi;
- long posts=look->posts;
- codec_setup_info *ci=vb->vd->vi->codec_setup;
- int out[VIF_POSIT+2];
- static_codebook **sbooks=ci->book_param;
- codebook *books=ci->fullbooks;
- static long seq=0;
- /* quantize values to multiplier spec */
- if(post){
- for(i=0;i<posts;i++){
- int val=post[i]&0x7fff;
- switch(info->mult){
- case 1: /* 1024 -> 256 */
- val>>=2;
- break;
- case 2: /* 1024 -> 128 */
- val>>=3;
- break;
- case 3: /* 1024 -> 86 */
- val/=12;
- break;
- case 4: /* 1024 -> 64 */
- val>>=4;
- break;
- }
- post[i]=val | (post[i]&0x8000);
- }
- out[0]=post[0];
- out[1]=post[1];
- /* find prediction values for each post and subtract them */
- for(i=2;i<posts;i++){
- int ln=look->loneighbor[i-2];
- int hn=look->hineighbor[i-2];
- int x0=info->postlist[ln];
- int x1=info->postlist[hn];
- int y0=post[ln];
- int y1=post[hn];
-
- int predicted=render_point(x0,x1,y0,y1,info->postlist[i]);
-
- if((post[i]&0x8000) || (predicted==post[i])){
- post[i]=predicted|0x8000; /* in case there was roundoff jitter
- in interpolation */
- out[i]=0;
- }else{
- int headroom=(look->quant_q-predicted<predicted?
- look->quant_q-predicted:predicted);
-
- int val=post[i]-predicted;
-
- /* at this point the 'deviation' value is in the range +/- max
- range, but the real, unique range can always be mapped to
- only [0-maxrange). So we want to wrap the deviation into
- this limited range, but do it in the way that least screws
- an essentially gaussian probability distribution. */
-
- if(val<0)
- if(val<-headroom)
- val=headroom-val-1;
- else
- val=-1-(val<<1);
- else
- if(val>=headroom)
- val= val+headroom;
- else
- val<<=1;
-
- out[i]=val;
- post[ln]&=0x7fff;
- post[hn]&=0x7fff;
- }
- }
-
- /* we have everything we need. pack it out */
- /* mark nontrivial floor */
- oggpack_write(&vb->opb,1,1);
-
- /* beginning/end post */
- look->frames++;
- look->postbits+=ilog(look->quant_q-1)*2;
- oggpack_write(&vb->opb,out[0],ilog(look->quant_q-1));
- oggpack_write(&vb->opb,out[1],ilog(look->quant_q-1));
-
-
- /* partition by partition */
- for(i=0,j=2;i<info->partitions;i++){
- int class=info->partitionclass[i];
- int cdim=info->class_dim[class];
- int csubbits=info->class_subs[class];
- int csub=1<<csubbits;
- int bookas[8]={0,0,0,0,0,0,0,0};
- int cval=0;
- int cshift=0;
- int k,l;
- /* generate the partition's first stage cascade value */
- if(csubbits){
- int maxval[8];
- for(k=0;k<csub;k++){
- int booknum=info->class_subbook[class][k];
- if(booknum<0){
- maxval[k]=1;
- }else{
- maxval[k]=sbooks[info->class_subbook[class][k]]->entries;
- }
- }
- for(k=0;k<cdim;k++){
- for(l=0;l<csub;l++){
- int val=out[j+k];
- if(val<maxval[l]){
- bookas[k]=l;
- break;
- }
- }
- cval|= bookas[k]<<cshift;
- cshift+=csubbits;
- }
- /* write it */
- look->phrasebits+=
- vorbis_book_encode(books+info->class_book[class],cval,&vb->opb);
-
- #ifdef TRAIN_FLOOR1
- {
- FILE *of;
- char buffer[80];
- sprintf(buffer,"line_%dx%ld_class%d.vqd",
- vb->pcmend/2,posts-2,class);
- of=fopen(buffer,"a");
- fprintf(of,"%d\n",cval);
- fclose(of);
- }
- #endif
- }
-
- /* write post values */
- for(k=0;k<cdim;k++){
- int book=info->class_subbook[class][bookas[k]];
- if(book>=0){
- /* hack to allow training with 'bad' books */
- if(out[j+k]<(books+book)->entries)
- look->postbits+=vorbis_book_encode(books+book,
- out[j+k],&vb->opb);
- /*else
- fprintf(stderr,"+!");*/
-
- #ifdef TRAIN_FLOOR1
- {
- FILE *of;
- char buffer[80];
- sprintf(buffer,"line_%dx%ld_%dsub%d.vqd",
- vb->pcmend/2,posts-2,class,bookas[k]);
- of=fopen(buffer,"a");
- fprintf(of,"%d\n",out[j+k]);
- fclose(of);
- }
- #endif
- }
- }
- j+=cdim;
- }
-
- {
- /* generate quantized floor equivalent to what we'd unpack in decode */
- /* render the lines */
- int hx=0;
- int lx=0;
- int ly=post[0]*info->mult;
- for(j=1;j<look->posts;j++){
- int current=look->forward_index[j];
- int hy=post[current]&0x7fff;
- if(hy==post[current]){
-
- hy*=info->mult;
- hx=info->postlist[current];
-
- render_line0(lx,hx,ly,hy,ilogmask);
-
- lx=hx;
- ly=hy;
- }
- }
- for(j=hx;j<vb->pcmend/2;j++)ilogmask[j]=ly; /* be certain */
- seq++;
- return(1);
- }
- }else{
- oggpack_write(&vb->opb,0,1);
- memset(ilogmask,0,vb->pcmend/2*sizeof(*ilogmask));
- seq++;
- return(0);
- }
- }
- static void *floor1_inverse1(vorbis_block *vb,vorbis_look_floor *in){
- vorbis_look_floor1 *look=(vorbis_look_floor1 *)in;
- vorbis_info_floor1 *info=look->vi;
- codec_setup_info *ci=vb->vd->vi->codec_setup;
-
- int i,j,k;
- codebook *books=ci->fullbooks;
- /* unpack wrapped/predicted values from stream */
- if(oggpack_read(&vb->opb,1)==1){
- int *fit_value=_vorbis_block_alloc(vb,(look->posts)*sizeof(*fit_value));
- fit_value[0]=oggpack_read(&vb->opb,ilog(look->quant_q-1));
- fit_value[1]=oggpack_read(&vb->opb,ilog(look->quant_q-1));
- /* partition by partition */
- for(i=0,j=2;i<info->partitions;i++){
- int class=info->partitionclass[i];
- int cdim=info->class_dim[class];
- int csubbits=info->class_subs[class];
- int csub=1<<csubbits;
- int cval=0;
- /* decode the partition's first stage cascade value */
- if(csubbits){
- cval=vorbis_book_decode(books+info->class_book[class],&vb->opb);
- if(cval==-1)goto eop;
- }
- for(k=0;k<cdim;k++){
- int book=info->class_subbook[class][cval&(csub-1)];
- cval>>=csubbits;
- if(book>=0){
- if((fit_value[j+k]=vorbis_book_decode(books+book,&vb->opb))==-1)
- goto eop;
- }else{
- fit_value[j+k]=0;
- }
- }
- j+=cdim;
- }
- /* unwrap positive values and reconsitute via linear interpolation */
- for(i=2;i<look->posts;i++){
- int predicted=render_point(info->postlist[look->loneighbor[i-2]],
- info->postlist[look->hineighbor[i-2]],
- fit_value[look->loneighbor[i-2]],
- fit_value[look->hineighbor[i-2]],
- info->postlist[i]);
- int hiroom=look->quant_q-predicted;
- int loroom=predicted;
- int room=(hiroom<loroom?hiroom:loroom)<<1;
- int val=fit_value[i];
- if(val){
- if(val>=room){
- if(hiroom>loroom){
- val = val-loroom;
- }else{
- val = -1-(val-hiroom);
- }
- }else{
- if(val&1){
- val= -((val+1)>>1);
- }else{
- val>>=1;
- }
- }
- fit_value[i]=val+predicted;
- fit_value[look->loneighbor[i-2]]&=0x7fff;
- fit_value[look->hineighbor[i-2]]&=0x7fff;
- }else{
- fit_value[i]=predicted|0x8000;
- }
-
- }
- return(fit_value);
- }
- eop:
- return(NULL);
- }
- static int floor1_inverse2(vorbis_block *vb,vorbis_look_floor *in,void *memo,
- float *out){
- vorbis_look_floor1 *look=(vorbis_look_floor1 *)in;
- vorbis_info_floor1 *info=look->vi;
- codec_setup_info *ci=vb->vd->vi->codec_setup;
- int n=ci->blocksizes[vb->W]/2;
- int j;
- if(memo){
- /* render the lines */
- int *fit_value=(int *)memo;
- int hx=0;
- int lx=0;
- int ly=fit_value[0]*info->mult;
- for(j=1;j<look->posts;j++){
- int current=look->forward_index[j];
- int hy=fit_value[current]&0x7fff;
- if(hy==fit_value[current]){
-
- hy*=info->mult;
- hx=info->postlist[current];
-
- render_line(lx,hx,ly,hy,out);
-
- lx=hx;
- ly=hy;
- }
- }
- for(j=hx;j<n;j++)out[j]*=FLOOR1_fromdB_LOOKUP[ly]; /* be certain */
- return(1);
- }
- memset(out,0,sizeof(*out)*n);
- return(0);
- }
- /* export hooks */
- vorbis_func_floor floor1_exportbundle={
- &floor1_pack,&floor1_unpack,&floor1_look,&floor1_free_info,
- &floor1_free_look,&floor1_inverse1,&floor1_inverse2
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: residue backend 0, 1 and 2 implementation
- last mod: $Id: res0.c,v 1.49 2003/01/18 08:28:37 xiphmont Exp $
- ********************************************************************/
- /* Slow, slow, slow, simpleminded and did I mention it was slow? The
- encode/decode loops are coded for clarity and performance is not
- yet even a nagging little idea lurking in the shadows. Oh and BTW,
- it's slow. */
- #ifdef TRAIN_RES
- #endif
- typedef struct {
- vorbis_info_residue0 *info;
-
- int parts;
- int stages;
- codebook *fullbooks;
- codebook *phrasebook;
- codebook ***partbooks;
- int partvals;
- int **decodemap;
- long postbits;
- long phrasebits;
- long frames;
- #ifdef TRAIN_RES
- int train_seq;
- long *training_data[8][64];
- float training_max[8][64];
- float training_min[8][64];
- float tmin;
- float tmax;
- #endif
- } vorbis_look_residue0;
- void res0_free_info(vorbis_info_residue *i){
- vorbis_info_residue0 *info=(vorbis_info_residue0 *)i;
- if(info){
- memset(info,0,sizeof(*info));
- _ogg_free(info);
- }
- }
- void res0_free_look(vorbis_look_residue *i){
- int j;
- if(i){
- vorbis_look_residue0 *look=(vorbis_look_residue0 *)i;
- #ifdef TRAIN_RES
- {
- int j,k,l;
- for(j=0;j<look->parts;j++){
- /*fprintf(stderr,"partition %d: ",j);*/
- for(k=0;k<8;k++)
- if(look->training_data[k][j]){
- char buffer[80];
- FILE *of;
- codebook *statebook=look->partbooks[j][k];
-
- /* long and short into the same bucket by current convention */
- sprintf(buffer,"res_part%d_pass%d.vqd",j,k);
- of=fopen(buffer,"a");
- for(l=0;l<statebook->entries;l++)
- fprintf(of,"%d:%ld\n",l,look->training_data[k][j][l]);
-
- fclose(of);
-
- /*fprintf(stderr,"%d(%.2f|%.2f) ",k,
- look->training_min[k][j],look->training_max[k][j]);*/
- _ogg_free(look->training_data[k][j]);
- }
- /*fprintf(stderr,"\n");*/
- }
- }
- fprintf(stderr,"min/max residue: %g::%g\n",look->tmin,look->tmax);
- /*fprintf(stderr,"residue bit usage %f:%f (%f total)\n",
- (float)look->phrasebits/look->frames,
- (float)look->postbits/look->frames,
- (float)(look->postbits+look->phrasebits)/look->frames);*/
- #endif
- /*vorbis_info_residue0 *info=look->info;
- fprintf(stderr,
- "%ld frames encoded in %ld phrasebits and %ld residue bits "
- "(%g/frame) \n",look->frames,look->phrasebits,
- look->resbitsflat,
- (look->phrasebits+look->resbitsflat)/(float)look->frames);
-
- for(j=0;j<look->parts;j++){
- long acc=0;
- fprintf(stderr,"\t[%d] == ",j);
- for(k=0;k<look->stages;k++)
- if((info->secondstages[j]>>k)&1){
- fprintf(stderr,"%ld,",look->resbits[j][k]);
- acc+=look->resbits[j][k];
- }
- fprintf(stderr,":: (%ld vals) %1.2fbits/sample\n",look->resvals[j],
- acc?(float)acc/(look->resvals[j]*info->grouping):0);
- }
- fprintf(stderr,"\n");*/
- for(j=0;j<look->parts;j++)
- if(look->partbooks[j])_ogg_free(look->partbooks[j]);
- _ogg_free(look->partbooks);
- for(j=0;j<look->partvals;j++)
- _ogg_free(look->decodemap[j]);
- _ogg_free(look->decodemap);
- memset(look,0,sizeof(*look));
- _ogg_free(look);
- }
- }
- static int icount(unsigned int v){
- int ret=0;
- while(v){
- ret+=v&1;
- v>>=1;
- }
- return(ret);
- }
- void res0_pack(vorbis_info_residue *vr,oggpack_buffer *opb){
- vorbis_info_residue0 *info=(vorbis_info_residue0 *)vr;
- int j,acc=0;
- oggpack_write(opb,info->begin,24);
- oggpack_write(opb,info->end,24);
- oggpack_write(opb,info->grouping-1,24); /* residue vectors to group and
- code with a partitioned book */
- oggpack_write(opb,info->partitions-1,6); /* possible partition choices */
- oggpack_write(opb,info->groupbook,8); /* group huffman book */
- /* secondstages is a bitmask; as encoding progresses pass by pass, a
- bitmask of one indicates this partition class has bits to write
- this pass */
- for(j=0;j<info->partitions;j++){
- if(ilog(info->secondstages[j])>3){
- /* yes, this is a minor hack due to not thinking ahead */
- oggpack_write(opb,info->secondstages[j],3);
- oggpack_write(opb,1,1);
- oggpack_write(opb,info->secondstages[j]>>3,5);
- }else
- oggpack_write(opb,info->secondstages[j],4); /* trailing zero */
- acc+=icount(info->secondstages[j]);
- }
- for(j=0;j<acc;j++)
- oggpack_write(opb,info->booklist[j],8);
- }
- /* vorbis_info is for range checking */
- vorbis_info_residue *res0_unpack(vorbis_info *vi,oggpack_buffer *opb){
- int j,acc=0;
- vorbis_info_residue0 *info=_ogg_calloc(1,sizeof(*info));
- codec_setup_info *ci=vi->codec_setup;
- info->begin=oggpack_read(opb,24);
- info->end=oggpack_read(opb,24);
- info->grouping=oggpack_read(opb,24)+1;
- info->partitions=oggpack_read(opb,6)+1;
- info->groupbook=oggpack_read(opb,8);
- for(j=0;j<info->partitions;j++){
- int cascade=oggpack_read(opb,3);
- if(oggpack_read(opb,1))
- cascade|=(oggpack_read(opb,5)<<3);
- info->secondstages[j]=cascade;
- acc+=icount(cascade);
- }
- for(j=0;j<acc;j++)
- info->booklist[j]=oggpack_read(opb,8);
- if(info->groupbook>=ci->books)goto errout;
- for(j=0;j<acc;j++)
- if(info->booklist[j]>=ci->books)goto errout;
- return(info);
- errout:
- res0_free_info(info);
- return(NULL);
- }
- vorbis_look_residue *res0_look(vorbis_dsp_state *vd,
- vorbis_info_residue *vr){
- vorbis_info_residue0 *info=(vorbis_info_residue0 *)vr;
- vorbis_look_residue0 *look=_ogg_calloc(1,sizeof(*look));
- codec_setup_info *ci=vd->vi->codec_setup;
- int j,k,acc=0;
- int dim;
- int maxstage=0;
- look->info=info;
- look->parts=info->partitions;
- look->fullbooks=ci->fullbooks;
- look->phrasebook=ci->fullbooks+info->groupbook;
- dim=look->phrasebook->dim;
- look->partbooks=_ogg_calloc(look->parts,sizeof(*look->partbooks));
- for(j=0;j<look->parts;j++){
- int stages=ilog(info->secondstages[j]);
- if(stages){
- if(stages>maxstage)maxstage=stages;
- look->partbooks[j]=_ogg_calloc(stages,sizeof(*look->partbooks[j]));
- for(k=0;k<stages;k++)
- if(info->secondstages[j]&(1<<k)){
- look->partbooks[j][k]=ci->fullbooks+info->booklist[acc++];
- #ifdef TRAIN_RES
- look->training_data[k][j]=calloc(look->partbooks[j][k]->entries,
- sizeof(***look->training_data));
- #endif
- }
- }
- }
- look->partvals=rint(pow((float)look->parts,(float)dim));
- look->stages=maxstage;
- look->decodemap=_ogg_malloc(look->partvals*sizeof(*look->decodemap));
- for(j=0;j<look->partvals;j++){
- long val=j;
- long mult=look->partvals/look->parts;
- look->decodemap[j]=_ogg_malloc(dim*sizeof(*look->decodemap[j]));
- for(k=0;k<dim;k++){
- long deco=val/mult;
- val-=deco*mult;
- mult/=look->parts;
- look->decodemap[j][k]=deco;
- }
- }
- #ifdef TRAIN_RES
- {
- static int train_seq=0;
- look->train_seq=train_seq++;
- }
- #endif
- return(look);
- }
- /* break an abstraction and copy some code for performance purposes */
- static int local_book_besterror(codebook *book,float *a){
- int dim=book->dim,i,k,o;
- int best=0;
- encode_aux_threshmatch *tt=book->c->thresh_tree;
- /* find the quant val of each scalar */
- for(k=0,o=dim;k<dim;++k){
- float val=a[--o];
- i=tt->threshvals>>1;
- if(val<tt->quantthresh[i]){
- if(val<tt->quantthresh[i-1]){
- for(--i;i>0;--i)
- if(val>=tt->quantthresh[i-1])
- break;
- }
- }else{
-
- for(++i;i<tt->threshvals-1;++i)
- if(val<tt->quantthresh[i])break;
-
- }
-
- best=(best*tt->quantvals)+tt->quantmap[i];
- }
- /* regular lattices are easy :-) */
-
- if(book->c->lengthlist[best]<=0){
- const static_codebook *c=book->c;
- int i,j;
- float bestf=0.f;
- float *e=book->valuelist;
- best=-1;
- for(i=0;i<book->entries;i++){
- if(c->lengthlist[i]>0){
- float this=0.f;
- for(j=0;j<dim;j++){
- float val=(e[j]-a[j]);
- this+=val*val;
- }
- if(best==-1 || this<bestf){
- bestf=this;
- best=i;
- }
- }
- e+=dim;
- }
- }
- {
- float *ptr=book->valuelist+best*dim;
- for(i=0;i<dim;i++)
- *a++ -= *ptr++;
- }
- return(best);
- }
- static int _encodepart(oggpack_buffer *opb,float *vec, int n,
- codebook *book,long *acc){
- int i,bits=0;
- int dim=book->dim;
- int step=n/dim;
- for(i=0;i<step;i++){
- int entry=local_book_besterror(book,vec+i*dim);
- #ifdef TRAIN_RES
- acc[entry]++;
- #endif
- bits+=vorbis_book_encode(book,entry,opb);
- }
- return(bits);
- }
- static long **_01class(vorbis_block *vb,vorbis_look_residue *vl,
- float **in,int ch){
- long i,j,k;
- vorbis_look_residue0 *look=(vorbis_look_residue0 *)vl;
- vorbis_info_residue0 *info=look->info;
- /* move all this setup out later */
- int samples_per_partition=info->grouping;
- int possible_partitions=info->partitions;
- int n=info->end-info->begin;
-
- int partvals=n/samples_per_partition;
- long **partword=_vorbis_block_alloc(vb,ch*sizeof(*partword));
- float scale=100./samples_per_partition;
- /* we find the partition type for each partition of each
- channel. We'll go back and do the interleaved encoding in a
- bit. For now, clarity */
-
- for(i=0;i<ch;i++){
- partword[i]=_vorbis_block_alloc(vb,n/samples_per_partition*sizeof(*partword[i]));
- memset(partword[i],0,n/samples_per_partition*sizeof(*partword[i]));
- }
-
- for(i=0;i<partvals;i++){
- int offset=i*samples_per_partition+info->begin;
- for(j=0;j<ch;j++){
- float max=0.;
- float ent=0.;
- for(k=0;k<samples_per_partition;k++){
- if(fabs(in[j][offset+k])>max)max=fabs(in[j][offset+k]);
- ent+=fabs(rint(in[j][offset+k]));
- }
- ent*=scale;
-
- for(k=0;k<possible_partitions-1;k++)
- if(max<=info->classmetric1[k] &&
- (info->classmetric2[k]<0 || (int)ent<info->classmetric2[k]))
- break;
-
- partword[j][i]=k;
- }
- }
- #ifdef TRAIN_RESAUX
- {
- FILE *of;
- char buffer[80];
-
- for(i=0;i<ch;i++){
- sprintf(buffer,"resaux_%d.vqd",look->train_seq);
- of=fopen(buffer,"a");
- for(j=0;j<partvals;j++)
- fprintf(of,"%ld, ",partword[i][j]);
- fprintf(of,"\n");
- fclose(of);
- }
- }
- #endif
- look->frames++;
- return(partword);
- }
- /* designed for stereo or other modes where the partition size is an
- integer multiple of the number of channels encoded in the current
- submap */
- static long **_2class(vorbis_block *vb,vorbis_look_residue *vl,float **in,
- int ch){
- long i,j,k,l;
- vorbis_look_residue0 *look=(vorbis_look_residue0 *)vl;
- vorbis_info_residue0 *info=look->info;
- /* move all this setup out later */
- int samples_per_partition=info->grouping;
- int possible_partitions=info->partitions;
- int n=info->end-info->begin;
- int partvals=n/samples_per_partition;
- long **partword=_vorbis_block_alloc(vb,sizeof(*partword));
- #ifdef TRAIN_RES
- FILE *of;
- char buffer[80];
- #endif
-
- partword[0]=_vorbis_block_alloc(vb,n*ch/samples_per_partition*sizeof(*partword[0]));
- memset(partword[0],0,n*ch/samples_per_partition*sizeof(*partword[0]));
- for(i=0,l=info->begin/ch;i<partvals;i++){
- float magmax=0.f;
- float angmax=0.f;
- for(j=0;j<samples_per_partition;j+=ch){
- if(fabs(in[0][l])>magmax)magmax=fabs(in[0][l]);
- for(k=1;k<ch;k++)
- if(fabs(in[k][l])>angmax)angmax=fabs(in[k][l]);
- l++;
- }
- for(j=0;j<possible_partitions-1;j++)
- if(magmax<=info->classmetric1[j] &&
- angmax<=info->classmetric2[j])
- break;
- partword[0][i]=j;
- }
-
- #ifdef TRAIN_RESAUX
- sprintf(buffer,"resaux_%d.vqd",look->train_seq);
- of=fopen(buffer,"a");
- for(i=0;i<partvals;i++)
- fprintf(of,"%ld, ",partword[0][i]);
- fprintf(of,"\n");
- fclose(of);
- #endif
- look->frames++;
- return(partword);
- }
- static int _01forward(vorbis_block *vb,vorbis_look_residue *vl,
- float **in,int ch,
- long **partword,
- int (*encode)(oggpack_buffer *,float *,int,
- codebook *,long *)){
- long i,j,k,s;
- vorbis_look_residue0 *look=(vorbis_look_residue0 *)vl;
- vorbis_info_residue0 *info=look->info;
- /* move all this setup out later */
- int samples_per_partition=info->grouping;
- int possible_partitions=info->partitions;
- int partitions_per_word=look->phrasebook->dim;
- int n=info->end-info->begin;
- int partvals=n/samples_per_partition;
- long resbits[128];
- long resvals[128];
- #ifdef TRAIN_RES
- for(i=0;i<ch;i++)
- for(j=info->begin;j<info->end;j++){
- if(in[i][j]>look->tmax)look->tmax=in[i][j];
- if(in[i][j]<look->tmin)look->tmin=in[i][j];
- }
- #endif
- memset(resbits,0,sizeof(resbits));
- memset(resvals,0,sizeof(resvals));
-
- /* we code the partition words for each channel, then the residual
- words for a partition per channel until we've written all the
- residual words for that partition word. Then write the next
- partition channel words... */
- for(s=0;s<look->stages;s++){
- for(i=0;i<partvals;){
- /* first we encode a partition codeword for each channel */
- if(s==0){
- for(j=0;j<ch;j++){
- long val=partword[j][i];
- for(k=1;k<partitions_per_word;k++){
- val*=possible_partitions;
- if(i+k<partvals)
- val+=partword[j][i+k];
- }
- /* training hack */
- if(val<look->phrasebook->entries)
- look->phrasebits+=vorbis_book_encode(look->phrasebook,val,&vb->opb);
- #if 0 /*def TRAIN_RES*/
- else
- fprintf(stderr,"!");
- #endif
-
- }
- }
-
- /* now we encode interleaved residual values for the partitions */
- for(k=0;k<partitions_per_word && i<partvals;k++,i++){
- long offset=i*samples_per_partition+info->begin;
-
- for(j=0;j<ch;j++){
- if(s==0)resvals[partword[j][i]]+=samples_per_partition;
- if(info->secondstages[partword[j][i]]&(1<<s)){
- codebook *statebook=look->partbooks[partword[j][i]][s];
- if(statebook){
- int ret;
- long *accumulator=NULL;
- #ifdef TRAIN_RES
- accumulator=look->training_data[s][partword[j][i]];
- {
- int l;
- float *samples=in[j]+offset;
- for(l=0;l<samples_per_partition;l++){
- if(samples[l]<look->training_min[s][partword[j][i]])
- look->training_min[s][partword[j][i]]=samples[l];
- if(samples[l]>look->training_max[s][partword[j][i]])
- look->training_max[s][partword[j][i]]=samples[l];
- }
- }
- #endif
-
- ret=encode(&vb->opb,in[j]+offset,samples_per_partition,
- statebook,accumulator);
- look->postbits+=ret;
- resbits[partword[j][i]]+=ret;
- }
- }
- }
- }
- }
- }
- /*{
- long total=0;
- long totalbits=0;
- fprintf(stderr,"%d :: ",vb->mode);
- for(k=0;k<possible_partitions;k++){
- fprintf(stderr,"%ld/%1.2g, ",resvals[k],(float)resbits[k]/resvals[k]);
- total+=resvals[k];
- totalbits+=resbits[k];
- }
-
- fprintf(stderr,":: %ld:%1.2g\n",total,(double)totalbits/total);
- }*/
- return(0);
- }
- /* a truncated packet here just means 'stop working'; it's not an error */
- static int _01inverse(vorbis_block *vb,vorbis_look_residue *vl,
- float **in,int ch,
- long (*decodepart)(codebook *, float *,
- oggpack_buffer *,int)){
- long i,j,k,l,s;
- vorbis_look_residue0 *look=(vorbis_look_residue0 *)vl;
- vorbis_info_residue0 *info=look->info;
- /* move all this setup out later */
- int samples_per_partition=info->grouping;
- int partitions_per_word=look->phrasebook->dim;
- int n=info->end-info->begin;
-
- int partvals=n/samples_per_partition;
- int partwords=(partvals+partitions_per_word-1)/partitions_per_word;
- int ***partword=alloca(ch*sizeof(*partword));
- for(j=0;j<ch;j++)
- partword[j]=_vorbis_block_alloc(vb,partwords*sizeof(*partword[j]));
- for(s=0;s<look->stages;s++){
- /* each loop decodes on partition codeword containing
- partitions_pre_word partitions */
- for(i=0,l=0;i<partvals;l++){
- if(s==0){
- /* fetch the partition word for each channel */
- for(j=0;j<ch;j++){
- int temp=vorbis_book_decode(look->phrasebook,&vb->opb);
- if(temp==-1)goto eopbreak;
- partword[j][l]=look->decodemap[temp];
- if(partword[j][l]==NULL)goto errout;
- }
- }
-
- /* now we decode residual values for the partitions */
- for(k=0;k<partitions_per_word && i<partvals;k++,i++)
- for(j=0;j<ch;j++){
- long offset=info->begin+i*samples_per_partition;
- if(info->secondstages[partword[j][l][k]]&(1<<s)){
- codebook *stagebook=look->partbooks[partword[j][l][k]][s];
- if(stagebook){
- if(decodepart(stagebook,in[j]+offset,&vb->opb,
- samples_per_partition)==-1)goto eopbreak;
- }
- }
- }
- }
- }
-
- errout:
- eopbreak:
- return(0);
- }
- #if 0
- /* residue 0 and 1 are just slight variants of one another. 0 is
- interleaved, 1 is not */
- long **res0_class(vorbis_block *vb,vorbis_look_residue *vl,
- float **in,int *nonzero,int ch){
- /* we encode only the nonzero parts of a bundle */
- int i,used=0;
- for(i=0;i<ch;i++)
- if(nonzero[i])
- in[used++]=in[i];
- if(used)
- /*return(_01class(vb,vl,in,used,_interleaved_testhack));*/
- return(_01class(vb,vl,in,used));
- else
- return(0);
- }
- int res0_forward(vorbis_block *vb,vorbis_look_residue *vl,
- float **in,float **out,int *nonzero,int ch,
- long **partword){
- /* we encode only the nonzero parts of a bundle */
- int i,j,used=0,n=vb->pcmend/2;
- for(i=0;i<ch;i++)
- if(nonzero[i]){
- if(out)
- for(j=0;j<n;j++)
- out[i][j]+=in[i][j];
- in[used++]=in[i];
- }
- if(used){
- int ret=_01forward(vb,vl,in,used,partword,
- _interleaved_encodepart);
- if(out){
- used=0;
- for(i=0;i<ch;i++)
- if(nonzero[i]){
- for(j=0;j<n;j++)
- out[i][j]-=in[used][j];
- used++;
- }
- }
- return(ret);
- }else{
- return(0);
- }
- }
- #endif
- int res0_inverse(vorbis_block *vb,vorbis_look_residue *vl,
- float **in,int *nonzero,int ch){
- int i,used=0;
- for(i=0;i<ch;i++)
- if(nonzero[i])
- in[used++]=in[i];
- if(used)
- return(_01inverse(vb,vl,in,used,vorbis_book_decodevs_add));
- else
- return(0);
- }
- int res1_forward(vorbis_block *vb,vorbis_look_residue *vl,
- float **in,float **out,int *nonzero,int ch,
- long **partword){
- int i,j,used=0,n=vb->pcmend/2;
- for(i=0;i<ch;i++)
- if(nonzero[i]){
- if(out)
- for(j=0;j<n;j++)
- out[i][j]+=in[i][j];
- in[used++]=in[i];
- }
- if(used){
- int ret=_01forward(vb,vl,in,used,partword,_encodepart);
- if(out){
- used=0;
- for(i=0;i<ch;i++)
- if(nonzero[i]){
- for(j=0;j<n;j++)
- out[i][j]-=in[used][j];
- used++;
- }
- }
- return(ret);
- }else{
- return(0);
- }
- }
- long **res1_class(vorbis_block *vb,vorbis_look_residue *vl,
- float **in,int *nonzero,int ch){
- int i,used=0;
- for(i=0;i<ch;i++)
- if(nonzero[i])
- in[used++]=in[i];
- if(used)
- return(_01class(vb,vl,in,used));
- else
- return(0);
- }
- int res1_inverse(vorbis_block *vb,vorbis_look_residue *vl,
- float **in,int *nonzero,int ch){
- int i,used=0;
- for(i=0;i<ch;i++)
- if(nonzero[i])
- in[used++]=in[i];
- if(used)
- return(_01inverse(vb,vl,in,used,vorbis_book_decodev_add));
- else
- return(0);
- }
- long **res2_class(vorbis_block *vb,vorbis_look_residue *vl,
- float **in,int *nonzero,int ch){
- int i,used=0;
- for(i=0;i<ch;i++)
- if(nonzero[i])used++;
- if(used)
- return(_2class(vb,vl,in,ch));
- else
- return(0);
- }
- /* res2 is slightly more different; all the channels are interleaved
- into a single vector and encoded. */
- int res2_forward(vorbis_block *vb,vorbis_look_residue *vl,
- float **in,float **out,int *nonzero,int ch,
- long **partword){
- long i,j,k,n=vb->pcmend/2,used=0;
- /* don't duplicate the code; use a working vector hack for now and
- reshape ourselves into a single channel res1 */
- /* ugly; reallocs for each coupling pass :-( */
- float *work=_vorbis_block_alloc(vb,ch*n*sizeof(*work));
- for(i=0;i<ch;i++){
- float *pcm=in[i];
- if(nonzero[i])used++;
- for(j=0,k=i;j<n;j++,k+=ch)
- work[k]=pcm[j];
- }
-
- if(used){
- int ret=_01forward(vb,vl,&work,1,partword,_encodepart);
- /* update the sofar vector */
- if(out){
- for(i=0;i<ch;i++){
- float *pcm=in[i];
- float *sofar=out[i];
- for(j=0,k=i;j<n;j++,k+=ch)
- sofar[j]+=pcm[j]-work[k];
-
- }
- }
- return(ret);
- }else{
- return(0);
- }
- }
- /* duplicate code here as speed is somewhat more important */
- int res2_inverse(vorbis_block *vb,vorbis_look_residue *vl,
- float **in,int *nonzero,int ch){
- long i,k,l,s;
- vorbis_look_residue0 *look=(vorbis_look_residue0 *)vl;
- vorbis_info_residue0 *info=look->info;
- /* move all this setup out later */
- int samples_per_partition=info->grouping;
- int partitions_per_word=look->phrasebook->dim;
- int n=info->end-info->begin;
- int partvals=n/samples_per_partition;
- int partwords=(partvals+partitions_per_word-1)/partitions_per_word;
- int **partword=_vorbis_block_alloc(vb,partwords*sizeof(*partword));
- for(i=0;i<ch;i++)if(nonzero[i])break;
- if(i==ch)return(0); /* no nonzero vectors */
- for(s=0;s<look->stages;s++){
- for(i=0,l=0;i<partvals;l++){
- if(s==0){
- /* fetch the partition word */
- int temp=vorbis_book_decode(look->phrasebook,&vb->opb);
- if(temp==-1)goto eopbreak;
- partword[l]=look->decodemap[temp];
- if(partword[l]==NULL)goto errout;
- }
- /* now we decode residual values for the partitions */
- for(k=0;k<partitions_per_word && i<partvals;k++,i++)
- if(info->secondstages[partword[l][k]]&(1<<s)){
- codebook *stagebook=look->partbooks[partword[l][k]][s];
-
- if(stagebook){
- if(vorbis_book_decodevv_add(stagebook,in,
- i*samples_per_partition+info->begin,ch,
- &vb->opb,samples_per_partition)==-1)
- goto eopbreak;
- }
- }
- }
- }
-
- errout:
- eopbreak:
- return(0);
- }
- vorbis_func_residue residue0_exportbundle={
- NULL,
- &res0_unpack,
- &res0_look,
- &res0_free_info,
- &res0_free_look,
- NULL,
- NULL,
- &res0_inverse
- };
- vorbis_func_residue residue1_exportbundle={
- &res0_pack,
- &res0_unpack,
- &res0_look,
- &res0_free_info,
- &res0_free_look,
- &res1_class,
- &res1_forward,
- &res1_inverse
- };
- vorbis_func_residue residue2_exportbundle={
- &res0_pack,
- &res0_unpack,
- &res0_look,
- &res0_free_info,
- &res0_free_look,
- &res2_class,
- &res2_forward,
- &res2_inverse
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the XIPHOPHORUS Company http://www.xiph.org/ *
- * *
- ********************************************************************
- function: channel mapping 0 implementation
- last mod: $Id: mapping0.c,v 1.60 2003/09/01 23:05:49 xiphmont Exp $
- ********************************************************************/
- /* simplistic, wasteful way of doing this (unique lookup for each
- mode/submapping); there should be a central repository for
- identical lookups. That will require minor work, so I'm putting it
- off as low priority.
- Why a lookup for each backend in a given mode? Because the
- blocksize is set by the mode, and low backend lookups may require
- parameters from other areas of the mode/mapping */
- static void mapping0_free_info(vorbis_info_mapping *i){
- vorbis_info_mapping0 *info=(vorbis_info_mapping0 *)i;
- if(info){
- memset(info,0,sizeof(*info));
- _ogg_free(info);
- }
- }
- static void mapping0_pack(vorbis_info *vi,vorbis_info_mapping *vm,
- oggpack_buffer *opb){
- int i;
- vorbis_info_mapping0 *info=(vorbis_info_mapping0 *)vm;
- /* another 'we meant to do it this way' hack... up to beta 4, we
- packed 4 binary zeros here to signify one submapping in use. We
- now redefine that to mean four bitflags that indicate use of
- deeper features; bit0:submappings, bit1:coupling,
- bit2,3:reserved. This is backward compatable with all actual uses
- of the beta code. */
- if(info->submaps>1){
- oggpack_write(opb,1,1);
- oggpack_write(opb,info->submaps-1,4);
- }else
- oggpack_write(opb,0,1);
- if(info->coupling_steps>0){
- oggpack_write(opb,1,1);
- oggpack_write(opb,info->coupling_steps-1,8);
-
- for(i=0;i<info->coupling_steps;i++){
- oggpack_write(opb,info->coupling_mag[i],ilog(vi->channels));
- oggpack_write(opb,info->coupling_ang[i],ilog(vi->channels));
- }
- }else
- oggpack_write(opb,0,1);
-
- oggpack_write(opb,0,2); /* 2,3:reserved */
- /* we don't write the channel submappings if we only have one... */
- if(info->submaps>1){
- for(i=0;i<vi->channels;i++)
- oggpack_write(opb,info->chmuxlist[i],4);
- }
- for(i=0;i<info->submaps;i++){
- oggpack_write(opb,0,8); /* time submap unused */
- oggpack_write(opb,info->floorsubmap[i],8);
- oggpack_write(opb,info->residuesubmap[i],8);
- }
- }
- /* also responsible for range checking */
- static vorbis_info_mapping *mapping0_unpack(vorbis_info *vi,oggpack_buffer *opb){
- int i;
- vorbis_info_mapping0 *info=_ogg_calloc(1,sizeof(*info));
- codec_setup_info *ci=vi->codec_setup;
- memset(info,0,sizeof(*info));
- if(oggpack_read(opb,1))
- info->submaps=oggpack_read(opb,4)+1;
- else
- info->submaps=1;
- if(oggpack_read(opb,1)){
- info->coupling_steps=oggpack_read(opb,8)+1;
- for(i=0;i<info->coupling_steps;i++){
- int testM=info->coupling_mag[i]=oggpack_read(opb,ilog(vi->channels));
- int testA=info->coupling_ang[i]=oggpack_read(opb,ilog(vi->channels));
- if(testM<0 ||
- testA<0 ||
- testM==testA ||
- testM>=vi->channels ||
- testA>=vi->channels) goto err_out;
- }
- }
- if(oggpack_read(opb,2)>0)goto err_out; /* 2,3:reserved */
-
- if(info->submaps>1){
- for(i=0;i<vi->channels;i++){
- info->chmuxlist[i]=oggpack_read(opb,4);
- if(info->chmuxlist[i]>=info->submaps)goto err_out;
- }
- }
- for(i=0;i<info->submaps;i++){
- oggpack_read(opb,8); /* time submap unused */
- info->floorsubmap[i]=oggpack_read(opb,8);
- if(info->floorsubmap[i]>=ci->floors)goto err_out;
- info->residuesubmap[i]=oggpack_read(opb,8);
- if(info->residuesubmap[i]>=ci->residues)goto err_out;
- }
- return info;
- err_out:
- mapping0_free_info(info);
- return(NULL);
- }
- #if 0
- static long seq=0;
- static ogg_int64_t total=0;
- static float FLOOR1_fromdB_LOOKUP[256]={
- 1.0649863e-07F, 1.1341951e-07F, 1.2079015e-07F, 1.2863978e-07F,
- 1.3699951e-07F, 1.4590251e-07F, 1.5538408e-07F, 1.6548181e-07F,
- 1.7623575e-07F, 1.8768855e-07F, 1.9988561e-07F, 2.128753e-07F,
- 2.2670913e-07F, 2.4144197e-07F, 2.5713223e-07F, 2.7384213e-07F,
- 2.9163793e-07F, 3.1059021e-07F, 3.3077411e-07F, 3.5226968e-07F,
- 3.7516214e-07F, 3.9954229e-07F, 4.2550680e-07F, 4.5315863e-07F,
- 4.8260743e-07F, 5.1396998e-07F, 5.4737065e-07F, 5.8294187e-07F,
- 6.2082472e-07F, 6.6116941e-07F, 7.0413592e-07F, 7.4989464e-07F,
- 7.9862701e-07F, 8.5052630e-07F, 9.0579828e-07F, 9.6466216e-07F,
- 1.0273513e-06F, 1.0941144e-06F, 1.1652161e-06F, 1.2409384e-06F,
- 1.3215816e-06F, 1.4074654e-06F, 1.4989305e-06F, 1.5963394e-06F,
- 1.7000785e-06F, 1.8105592e-06F, 1.9282195e-06F, 2.0535261e-06F,
- 2.1869758e-06F, 2.3290978e-06F, 2.4804557e-06F, 2.6416497e-06F,
- 2.8133190e-06F, 2.9961443e-06F, 3.1908506e-06F, 3.3982101e-06F,
- 3.6190449e-06F, 3.8542308e-06F, 4.1047004e-06F, 4.3714470e-06F,
- 4.6555282e-06F, 4.9580707e-06F, 5.2802740e-06F, 5.6234160e-06F,
- 5.9888572e-06F, 6.3780469e-06F, 6.7925283e-06F, 7.2339451e-06F,
- 7.7040476e-06F, 8.2047000e-06F, 8.7378876e-06F, 9.3057248e-06F,
- 9.9104632e-06F, 1.0554501e-05F, 1.1240392e-05F, 1.1970856e-05F,
- 1.2748789e-05F, 1.3577278e-05F, 1.4459606e-05F, 1.5399272e-05F,
- 1.6400004e-05F, 1.7465768e-05F, 1.8600792e-05F, 1.9809576e-05F,
- 2.1096914e-05F, 2.2467911e-05F, 2.3928002e-05F, 2.5482978e-05F,
- 2.7139006e-05F, 2.8902651e-05F, 3.0780908e-05F, 3.2781225e-05F,
- 3.4911534e-05F, 3.7180282e-05F, 3.9596466e-05F, 4.2169667e-05F,
- 4.4910090e-05F, 4.7828601e-05F, 5.0936773e-05F, 5.4246931e-05F,
- 5.7772202e-05F, 6.1526565e-05F, 6.5524908e-05F, 6.9783085e-05F,
- 7.4317983e-05F, 7.9147585e-05F, 8.4291040e-05F, 8.9768747e-05F,
- 9.5602426e-05F, 0.00010181521F, 0.00010843174F, 0.00011547824F,
- 0.00012298267F, 0.00013097477F, 0.00013948625F, 0.00014855085F,
- 0.00015820453F, 0.00016848555F, 0.00017943469F, 0.00019109536F,
- 0.00020351382F, 0.00021673929F, 0.00023082423F, 0.00024582449F,
- 0.00026179955F, 0.00027881276F, 0.00029693158F, 0.00031622787F,
- 0.00033677814F, 0.00035866388F, 0.00038197188F, 0.00040679456F,
- 0.00043323036F, 0.00046138411F, 0.00049136745F, 0.00052329927F,
- 0.00055730621F, 0.00059352311F, 0.00063209358F, 0.00067317058F,
- 0.00071691700F, 0.00076350630F, 0.00081312324F, 0.00086596457F,
- 0.00092223983F, 0.00098217216F, 0.0010459992F, 0.0011139742F,
- 0.0011863665F, 0.0012634633F, 0.0013455702F, 0.0014330129F,
- 0.0015261382F, 0.0016253153F, 0.0017309374F, 0.0018434235F,
- 0.0019632195F, 0.0020908006F, 0.0022266726F, 0.0023713743F,
- 0.0025254795F, 0.0026895994F, 0.0028643847F, 0.0030505286F,
- 0.0032487691F, 0.0034598925F, 0.0036847358F, 0.0039241906F,
- 0.0041792066F, 0.0044507950F, 0.0047400328F, 0.0050480668F,
- 0.0053761186F, 0.0057254891F, 0.0060975636F, 0.0064938176F,
- 0.0069158225F, 0.0073652516F, 0.0078438871F, 0.0083536271F,
- 0.0088964928F, 0.009474637F, 0.010090352F, 0.010746080F,
- 0.011444421F, 0.012188144F, 0.012980198F, 0.013823725F,
- 0.014722068F, 0.015678791F, 0.016697687F, 0.017782797F,
- 0.018938423F, 0.020169149F, 0.021479854F, 0.022875735F,
- 0.024362330F, 0.025945531F, 0.027631618F, 0.029427276F,
- 0.031339626F, 0.033376252F, 0.035545228F, 0.037855157F,
- 0.040315199F, 0.042935108F, 0.045725273F, 0.048696758F,
- 0.051861348F, 0.055231591F, 0.058820850F, 0.062643361F,
- 0.066714279F, 0.071049749F, 0.075666962F, 0.080584227F,
- 0.085821044F, 0.091398179F, 0.097337747F, 0.10366330F,
- 0.11039993F, 0.11757434F, 0.12521498F, 0.13335215F,
- 0.14201813F, 0.15124727F, 0.16107617F, 0.17154380F,
- 0.18269168F, 0.19456402F, 0.20720788F, 0.22067342F,
- 0.23501402F, 0.25028656F, 0.26655159F, 0.28387361F,
- 0.30232132F, 0.32196786F, 0.34289114F, 0.36517414F,
- 0.38890521F, 0.41417847F, 0.44109412F, 0.46975890F,
- 0.50028648F, 0.53279791F, 0.56742212F, 0.60429640F,
- 0.64356699F, 0.68538959F, 0.72993007F, 0.77736504F,
- 0.82788260F, 0.88168307F, 0.9389798F, 1.F,
- };
- #endif
- void oggpack_writealign(oggpack_buffer *b);
- static int mapping0_forward(vorbis_block *vb){
- vorbis_dsp_state *vd=vb->vd;
- vorbis_info *vi=vd->vi;
- codec_setup_info *ci=vi->codec_setup;
- private_state *b=vb->vd->backend_state;
- vorbis_block_internal *vbi=(vorbis_block_internal *)vb->internal;
- int n=vb->pcmend;
- int i,j,k;
- int *nonzero = alloca(sizeof(*nonzero)*vi->channels);
- float **gmdct = _vorbis_block_alloc(vb,vi->channels*sizeof(*gmdct));
- int **ilogmaskch= _vorbis_block_alloc(vb,vi->channels*sizeof(*ilogmaskch));
- int ***floor_posts = _vorbis_block_alloc(vb,vi->channels*sizeof(*floor_posts));
-
- float global_ampmax=vbi->ampmax;
- float *local_ampmax=alloca(sizeof(*local_ampmax)*vi->channels);
- int blocktype=vbi->blocktype;
- int modenumber=vb->W;
- vorbis_info_mapping0 *info=ci->map_param[modenumber];
- vorbis_look_psy *psy_look=
- b->psy+blocktype+(vb->W?2:0);
- vb->mode=modenumber;
- for(i=0;i<vi->channels;i++){
- float scale=4.f/n;
- float scale_dB;
- float *pcm =vb->pcm[i];
- float *logfft =pcm;
- gmdct[i]=_vorbis_block_alloc(vb,n/2*sizeof(**gmdct));
- scale_dB=todB(&scale);
- #if 0
- if(vi->channels==2)
- if(i==0)
- _analysis_output("pcmL",seq,pcm,n,0,0,total-n/2);
- else
- _analysis_output("pcmR",seq,pcm,n,0,0,total-n/2);
- #endif
-
- /* window the PCM data */
- _vorbis_apply_window(pcm,b->window,ci->blocksizes,vb->lW,vb->W,vb->nW);
- #if 0
- if(vi->channels==2)
- if(i==0)
- _analysis_output("windowedL",seq,pcm,n,0,0,total-n/2);
- else
- _analysis_output("windowedR",seq,pcm,n,0,0,total-n/2);
- #endif
- /* transform the PCM data */
- /* only MDCT right now.... */
- mdct_forward(b->transform[vb->W][0],pcm,gmdct[i]);
-
- /* FFT yields more accurate tonal estimation (not phase sensitive) */
- drft_forward(&b->fft_look[vb->W],pcm);
- logfft[0]=scale_dB+todB(pcm);
- local_ampmax[i]=logfft[0];
- for(j=1;j<n-1;j+=2){
- float temp=pcm[j]*pcm[j]+pcm[j+1]*pcm[j+1];
- temp=logfft[(j+1)>>1]=scale_dB+.5f*todB(&temp);
- if(temp>local_ampmax[i])local_ampmax[i]=temp;
- }
- if(local_ampmax[i]>0.f)local_ampmax[i]=0.f;
- if(local_ampmax[i]>global_ampmax)global_ampmax=local_ampmax[i];
- #if 0
- if(vi->channels==2)
- if(i==0)
- _analysis_output("fftL",seq,logfft,n/2,1,0,0);
- else
- _analysis_output("fftR",seq,logfft,n/2,1,0,0);
- #endif
- }
-
- {
- float *noise = _vorbis_block_alloc(vb,n/2*sizeof(*noise));
- float *tone = _vorbis_block_alloc(vb,n/2*sizeof(*tone));
-
- for(i=0;i<vi->channels;i++){
- /* the encoder setup assumes that all the modes used by any
- specific bitrate tweaking use the same floor */
-
- int submap=info->chmuxlist[i];
-
- /* the following makes things clearer to *me* anyway */
- float *mdct =gmdct[i];
- float *logfft =vb->pcm[i];
-
- float *logmdct =logfft+n/2;
- float *logmask =logfft;
- vb->mode=modenumber;
- floor_posts[i]=_vorbis_block_alloc(vb,PACKETBLOBS*sizeof(**floor_posts));
- memset(floor_posts[i],0,sizeof(**floor_posts)*PACKETBLOBS);
-
- for(j=0;j<n/2;j++)
- logmdct[j]=todB(mdct+j);
- #if 0
- if(vi->channels==2){
- if(i==0)
- _analysis_output("mdctL",seq,logmdct,n/2,1,0,0);
- else
- _analysis_output("mdctR",seq,logmdct,n/2,1,0,0);
- }else{
- _analysis_output("mdct",seq,logmdct,n/2,1,0,0);
- }
- #endif
-
- /* first step; noise masking. Not only does 'noise masking'
- give us curves from which we can decide how much resolution
- to give noise parts of the spectrum, it also implicitly hands
- us a tonality estimate (the larger the value in the
- 'noise_depth' vector, the more tonal that area is) */
- _vp_noisemask(psy_look,
- logmdct,
- noise); /* noise does not have by-frequency offset
- bias applied yet */
- #if 0
- if(vi->channels==2){
- if(i==0)
- _analysis_output("noiseL",seq,noise,n/2,1,0,0);
- else
- _analysis_output("noiseR",seq,noise,n/2,1,0,0);
- }
- #endif
- /* second step: 'all the other crap'; all the stuff that isn't
- computed/fit for bitrate management goes in the second psy
- vector. This includes tone masking, peak limiting and ATH */
- _vp_tonemask(psy_look,
- logfft,
- tone,
- global_ampmax,
- local_ampmax[i]);
- #if 0
- if(vi->channels==2){
- if(i==0)
- _analysis_output("toneL",seq,tone,n/2,1,0,0);
- else
- _analysis_output("toneR",seq,tone,n/2,1,0,0);
- }
- #endif
- /* third step; we offset the noise vectors, overlay tone
- masking. We then do a floor1-specific line fit. If we're
- performing bitrate management, the line fit is performed
- multiple times for up/down tweakage on demand. */
-
- _vp_offset_and_mix(psy_look,
- noise,
- tone,
- 1,
- logmask);
- #if 0
- if(vi->channels==2){
- if(i==0)
- _analysis_output("mask1L",seq,logmask,n/2,1,0,0);
- else
- _analysis_output("mask1R",seq,logmask,n/2,1,0,0);
- }
- #endif
- /* this algorithm is hardwired to floor 1 for now; abort out if
- we're *not* floor1. This won't happen unless someone has
- broken the encode setup lib. Guard it anyway. */
- if(ci->floor_type[info->floorsubmap[submap]]!=1)return(-1);
- floor_posts[i][PACKETBLOBS/2]=
- floor1_fit(vb,b->flr[info->floorsubmap[submap]],
- logmdct,
- logmask);
-
- /* are we managing bitrate? If so, perform two more fits for
- later rate tweaking (fits represent hi/lo) */
- if(vorbis_bitrate_managed(vb) && floor_posts[i][PACKETBLOBS/2]){
- /* higher rate by way of lower noise curve */
- _vp_offset_and_mix(psy_look,
- noise,
- tone,
- 2,
- logmask);
- #if 0
- if(vi->channels==2){
- if(i==0)
- _analysis_output("mask2L",seq,logmask,n/2,1,0,0);
- else
- _analysis_output("mask2R",seq,logmask,n/2,1,0,0);
- }
- #endif
-
- floor_posts[i][PACKETBLOBS-1]=
- floor1_fit(vb,b->flr[info->floorsubmap[submap]],
- logmdct,
- logmask);
-
- /* lower rate by way of higher noise curve */
- _vp_offset_and_mix(psy_look,
- noise,
- tone,
- 0,
- logmask);
- #if 0
- if(vi->channels==2)
- if(i==0)
- _analysis_output("mask0L",seq,logmask,n/2,1,0,0);
- else
- _analysis_output("mask0R",seq,logmask,n/2,1,0,0);
- #endif
- floor_posts[i][0]=
- floor1_fit(vb,b->flr[info->floorsubmap[submap]],
- logmdct,
- logmask);
-
- /* we also interpolate a range of intermediate curves for
- intermediate rates */
- for(k=1;k<PACKETBLOBS/2;k++)
- floor_posts[i][k]=
- floor1_interpolate_fit(vb,b->flr[info->floorsubmap[submap]],
- floor_posts[i][0],
- floor_posts[i][PACKETBLOBS/2],
- k*65536/(PACKETBLOBS/2));
- for(k=PACKETBLOBS/2+1;k<PACKETBLOBS-1;k++)
- floor_posts[i][k]=
- floor1_interpolate_fit(vb,b->flr[info->floorsubmap[submap]],
- floor_posts[i][PACKETBLOBS/2],
- floor_posts[i][PACKETBLOBS-1],
- (k-PACKETBLOBS/2)*65536/(PACKETBLOBS/2));
- }
- }
- }
- vbi->ampmax=global_ampmax;
- /*
- the next phases are performed once for vbr-only and PACKETBLOB
- times for bitrate managed modes.
-
- 1) encode actual mode being used
- 2) encode the floor for each channel, compute coded mask curve/res
- 3) normalize and couple.
- 4) encode residue
- 5) save packet bytes to the packetblob vector
-
- */
- /* iterate over the many masking curve fits we've created */
- {
- float **res_bundle=alloca(sizeof(*res_bundle)*vi->channels);
- float **couple_bundle=alloca(sizeof(*couple_bundle)*vi->channels);
- int *zerobundle=alloca(sizeof(*zerobundle)*vi->channels);
- int **sortindex=alloca(sizeof(*sortindex)*vi->channels);
- float **mag_memo;
- int **mag_sort;
- if(info->coupling_steps){
- mag_memo=_vp_quantize_couple_memo(vb,
- &ci->psy_g_param,
- psy_look,
- info,
- gmdct);
-
- mag_sort=_vp_quantize_couple_sort(vb,
- psy_look,
- info,
- mag_memo);
- }
- memset(sortindex,0,sizeof(*sortindex)*vi->channels);
- if(psy_look->vi->normal_channel_p){
- for(i=0;i<vi->channels;i++){
- float *mdct =gmdct[i];
- sortindex[i]=alloca(sizeof(**sortindex)*n/2);
- _vp_noise_normalize_sort(psy_look,mdct,sortindex[i]);
- }
- }
- for(k=(vorbis_bitrate_managed(vb)?0:PACKETBLOBS/2);
- k<=(vorbis_bitrate_managed(vb)?PACKETBLOBS-1:PACKETBLOBS/2);
- k++){
- /* start out our new packet blob with packet type and mode */
- /* Encode the packet type */
- oggpack_write(&vb->opb,0,1);
- /* Encode the modenumber */
- /* Encode frame mode, pre,post windowsize, then dispatch */
- oggpack_write(&vb->opb,modenumber,b->modebits);
- if(vb->W){
- oggpack_write(&vb->opb,vb->lW,1);
- oggpack_write(&vb->opb,vb->nW,1);
- }
- /* encode floor, compute masking curve, sep out residue */
- for(i=0;i<vi->channels;i++){
- int submap=info->chmuxlist[i];
- float *mdct =gmdct[i];
- float *res =vb->pcm[i];
- int *ilogmask=ilogmaskch[i]=
- _vorbis_block_alloc(vb,n/2*sizeof(**gmdct));
-
- nonzero[i]=floor1_encode(vb,b->flr[info->floorsubmap[submap]],
- floor_posts[i][k],
- ilogmask);
- #if 0
- {
- char buf[80];
- sprintf(buf,"maskI%c%d",i?'R':'L',k);
- float work[n/2];
- for(j=0;j<n/2;j++)
- work[j]=FLOOR1_fromdB_LOOKUP[ilogmask[j]];
- _analysis_output(buf,seq,work,n/2,1,1,0);
- }
- #endif
- _vp_remove_floor(psy_look,
- mdct,
- ilogmask,
- res,
- ci->psy_g_param.sliding_lowpass[vb->W][k]);
- _vp_noise_normalize(psy_look,res,res+n/2,sortindex[i]);
-
- #if 0
- {
- char buf[80];
- float work[n/2];
- for(j=0;j<n/2;j++)
- work[j]=FLOOR1_fromdB_LOOKUP[ilogmask[j]]*(res+n/2)[j];
- sprintf(buf,"resI%c%d",i?'R':'L',k);
- _analysis_output(buf,seq,work,n/2,1,1,0);
- }
- #endif
- }
-
- /* our iteration is now based on masking curve, not prequant and
- coupling. Only one prequant/coupling step */
-
- /* quantize/couple */
- /* incomplete implementation that assumes the tree is all depth
- one, or no tree at all */
- if(info->coupling_steps){
- _vp_couple(k,
- &ci->psy_g_param,
- psy_look,
- info,
- vb->pcm,
- mag_memo,
- mag_sort,
- ilogmaskch,
- nonzero,
- ci->psy_g_param.sliding_lowpass[vb->W][k]);
- }
-
- /* classify and encode by submap */
- for(i=0;i<info->submaps;i++){
- int ch_in_bundle=0;
- long **classifications;
- int resnum=info->residuesubmap[i];
- for(j=0;j<vi->channels;j++){
- if(info->chmuxlist[j]==i){
- zerobundle[ch_in_bundle]=0;
- if(nonzero[j])zerobundle[ch_in_bundle]=1;
- res_bundle[ch_in_bundle]=vb->pcm[j];
- couple_bundle[ch_in_bundle++]=vb->pcm[j]+n/2;
- }
- }
-
- classifications=_residue_P[ci->residue_type[resnum]]->
- class(vb,b->residue[resnum],couple_bundle,zerobundle,ch_in_bundle);
-
- _residue_P[ci->residue_type[resnum]]->
- forward(vb,b->residue[resnum],
- couple_bundle,NULL,zerobundle,ch_in_bundle,classifications);
- }
-
- /* ok, done encoding. Mark this protopacket and prepare next. */
- oggpack_writealign(&vb->opb);
- vbi->packetblob_markers[k]=oggpack_bytes(&vb->opb);
-
- }
-
- }
- #if 0
- seq++;
- total+=ci->blocksizes[vb->W]/4+ci->blocksizes[vb->nW]/4;
- #endif
- return(0);
- }
- static int mapping0_inverse(vorbis_block *vb,vorbis_info_mapping *l){
- vorbis_dsp_state *vd=vb->vd;
- vorbis_info *vi=vd->vi;
- codec_setup_info *ci=vi->codec_setup;
- private_state *b=vd->backend_state;
- vorbis_info_mapping0 *info=(vorbis_info_mapping0 *)l;
- int i,j;
- long n=vb->pcmend=ci->blocksizes[vb->W];
- float **pcmbundle=alloca(sizeof(*pcmbundle)*vi->channels);
- int *zerobundle=alloca(sizeof(*zerobundle)*vi->channels);
- int *nonzero =alloca(sizeof(*nonzero)*vi->channels);
- void **floormemo=alloca(sizeof(*floormemo)*vi->channels);
-
- /* recover the spectral envelope; store it in the PCM vector for now */
- for(i=0;i<vi->channels;i++){
- int submap=info->chmuxlist[i];
- floormemo[i]=_floor_P[ci->floor_type[info->floorsubmap[submap]]]->
- inverse1(vb,b->flr[info->floorsubmap[submap]]);
- if(floormemo[i])
- nonzero[i]=1;
- else
- nonzero[i]=0;
- memset(vb->pcm[i],0,sizeof(*vb->pcm[i])*n/2);
- }
- /* channel coupling can 'dirty' the nonzero listing */
- for(i=0;i<info->coupling_steps;i++){
- if(nonzero[info->coupling_mag[i]] ||
- nonzero[info->coupling_ang[i]]){
- nonzero[info->coupling_mag[i]]=1;
- nonzero[info->coupling_ang[i]]=1;
- }
- }
- /* recover the residue into our working vectors */
- for(i=0;i<info->submaps;i++){
- int ch_in_bundle=0;
- for(j=0;j<vi->channels;j++){
- if(info->chmuxlist[j]==i){
- if(nonzero[j])
- zerobundle[ch_in_bundle]=1;
- else
- zerobundle[ch_in_bundle]=0;
- pcmbundle[ch_in_bundle++]=vb->pcm[j];
- }
- }
- _residue_P[ci->residue_type[info->residuesubmap[i]]]->
- inverse(vb,b->residue[info->residuesubmap[i]],
- pcmbundle,zerobundle,ch_in_bundle);
- }
- /* channel coupling */
- for(i=info->coupling_steps-1;i>=0;i--){
- float *pcmM=vb->pcm[info->coupling_mag[i]];
- float *pcmA=vb->pcm[info->coupling_ang[i]];
- for(j=0;j<n/2;j++){
- float mag=pcmM[j];
- float ang=pcmA[j];
- if(mag>0)
- if(ang>0){
- pcmM[j]=mag;
- pcmA[j]=mag-ang;
- }else{
- pcmA[j]=mag;
- pcmM[j]=mag+ang;
- }
- else
- if(ang>0){
- pcmM[j]=mag;
- pcmA[j]=mag+ang;
- }else{
- pcmA[j]=mag;
- pcmM[j]=mag-ang;
- }
- }
- }
- /* compute and apply spectral envelope */
- for(i=0;i<vi->channels;i++){
- float *pcm=vb->pcm[i];
- int submap=info->chmuxlist[i];
- _floor_P[ci->floor_type[info->floorsubmap[submap]]]->
- inverse2(vb,b->flr[info->floorsubmap[submap]],
- floormemo[i],pcm);
- }
- /* transform the PCM data; takes PCM vector, vb; modifies PCM vector */
- /* only MDCT right now.... */
- for(i=0;i<vi->channels;i++){
- float *pcm=vb->pcm[i];
- mdct_backward(b->transform[vb->W][0],pcm,pcm);
- }
- /* all done! */
- return(0);
- }
- /* export hooks */
- vorbis_func_mapping mapping0_exportbundle={
- &mapping0_pack,
- &mapping0_unpack,
- &mapping0_free_info,
- &mapping0_forward,
- &mapping0_inverse
- };
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the Xiph.Org Foundation http://www.xiph.org/ *
- * *
- ********************************************************************
- function: packing variable sized words into an octet stream
- last mod: $Id: bitwise.c,v 1.17 2003/11/10 13:06:08 xiphmont Exp $
- ********************************************************************/
- /* We're 'LSb' endian; if we write a word but read individual bits,
- then we'll read the lsb first */
- #define BUFFER_INCREMENT 256
- static unsigned long mask[]=
- {0x00000000,0x00000001,0x00000003,0x00000007,0x0000000f,
- 0x0000001f,0x0000003f,0x0000007f,0x000000ff,0x000001ff,
- 0x000003ff,0x000007ff,0x00000fff,0x00001fff,0x00003fff,
- 0x00007fff,0x0000ffff,0x0001ffff,0x0003ffff,0x0007ffff,
- 0x000fffff,0x001fffff,0x003fffff,0x007fffff,0x00ffffff,
- 0x01ffffff,0x03ffffff,0x07ffffff,0x0fffffff,0x1fffffff,
- 0x3fffffff,0x7fffffff,0xffffffff };
- static unsigned int mask8B[]=
- {0x00,0x80,0xc0,0xe0,0xf0,0xf8,0xfc,0xfe,0xff};
- void oggpack_writeinit(oggpack_buffer *b){
- memset(b,0,sizeof(*b));
- b->ptr=b->buffer=_ogg_malloc(BUFFER_INCREMENT);
- b->buffer[0]='\0';
- b->storage=BUFFER_INCREMENT;
- }
- void oggpackB_writeinit(oggpack_buffer *b){
- oggpack_writeinit(b);
- }
- void oggpack_writetrunc(oggpack_buffer *b,long bits){
- long bytes=bits>>3;
- bits-=bytes*8;
- b->ptr=b->buffer+bytes;
- b->endbit=bits;
- b->endbyte=bytes;
- *b->ptr&=mask[bits];
- }
- void oggpackB_writetrunc(oggpack_buffer *b,long bits){
- long bytes=bits>>3;
- bits-=bytes*8;
- b->ptr=b->buffer+bytes;
- b->endbit=bits;
- b->endbyte=bytes;
- *b->ptr&=mask8B[bits];
- }
- /* Takes only up to 32 bits. */
- void oggpack_write(oggpack_buffer *b,unsigned long value,int bits){
- if(b->endbyte+4>=b->storage){
- b->buffer=_ogg_realloc(b->buffer,b->storage+BUFFER_INCREMENT);
- b->storage+=BUFFER_INCREMENT;
- b->ptr=b->buffer+b->endbyte;
- }
- value&=mask[bits];
- bits+=b->endbit;
- b->ptr[0]|=value<<b->endbit;
-
- if(bits>=8){
- b->ptr[1]=value>>(8-b->endbit);
- if(bits>=16){
- b->ptr[2]=value>>(16-b->endbit);
- if(bits>=24){
- b->ptr[3]=value>>(24-b->endbit);
- if(bits>=32){
- if(b->endbit)
- b->ptr[4]=value>>(32-b->endbit);
- else
- b->ptr[4]=0;
- }
- }
- }
- }
- b->endbyte+=bits/8;
- b->ptr+=bits/8;
- b->endbit=bits&7;
- }
- /* Takes only up to 32 bits. */
- void oggpackB_write(oggpack_buffer *b,unsigned long value,int bits){
- if(b->endbyte+4>=b->storage){
- b->buffer=_ogg_realloc(b->buffer,b->storage+BUFFER_INCREMENT);
- b->storage+=BUFFER_INCREMENT;
- b->ptr=b->buffer+b->endbyte;
- }
- value=(value&mask[bits])<<(32-bits);
- bits+=b->endbit;
- b->ptr[0]|=value>>(24+b->endbit);
-
- if(bits>=8){
- b->ptr[1]=value>>(16+b->endbit);
- if(bits>=16){
- b->ptr[2]=value>>(8+b->endbit);
- if(bits>=24){
- b->ptr[3]=value>>(b->endbit);
- if(bits>=32){
- if(b->endbit)
- b->ptr[4]=value<<(8-b->endbit);
- else
- b->ptr[4]=0;
- }
- }
- }
- }
- b->endbyte+=bits/8;
- b->ptr+=bits/8;
- b->endbit=bits&7;
- }
- void oggpack_writealign(oggpack_buffer *b){
- int bits=8-b->endbit;
- if(bits<8)
- oggpack_write(b,0,bits);
- }
- void oggpackB_writealign(oggpack_buffer *b){
- int bits=8-b->endbit;
- if(bits<8)
- oggpackB_write(b,0,bits);
- }
- static void oggpack_writecopy_helper(oggpack_buffer *b,
- void *source,
- long bits,
- void (*w)(oggpack_buffer *,
- unsigned long,
- int),
- int msb){
- unsigned char *ptr=(unsigned char *)source;
- long bytes=bits/8;
- bits-=bytes*8;
- if(b->endbit){
- int i;
- /* unaligned copy. Do it the hard way. */
- for(i=0;i<bytes;i++)
- w(b,(unsigned long)(ptr[i]),8);
- }else{
- /* aligned block copy */
- if(b->endbyte+bytes+1>=b->storage){
- b->storage=b->endbyte+bytes+BUFFER_INCREMENT;
- b->buffer=_ogg_realloc(b->buffer,b->storage);
- b->ptr=b->buffer+b->endbyte;
- }
- memmove(b->ptr,source,bytes);
- b->ptr+=bytes;
- b->buffer+=bytes;
- *b->ptr=0;
- }
- if(bits){
- if(msb)
- w(b,(unsigned long)(ptr[bytes]>>(8-bits)),bits);
- else
- w(b,(unsigned long)(ptr[bytes]),bits);
- }
- }
- void oggpack_writecopy(oggpack_buffer *b,void *source,long bits){
- oggpack_writecopy_helper(b,source,bits,oggpack_write,0);
- }
- void oggpackB_writecopy(oggpack_buffer *b,void *source,long bits){
- oggpack_writecopy_helper(b,source,bits,oggpackB_write,1);
- }
- void oggpack_reset(oggpack_buffer *b){
- b->ptr=b->buffer;
- b->buffer[0]=0;
- b->endbit=b->endbyte=0;
- }
- void oggpackB_reset(oggpack_buffer *b){
- oggpack_reset(b);
- }
- void oggpack_writeclear(oggpack_buffer *b){
- _ogg_free(b->buffer);
- memset(b,0,sizeof(*b));
- }
- void oggpackB_writeclear(oggpack_buffer *b){
- oggpack_writeclear(b);
- }
- void oggpack_readinit(oggpack_buffer *b,unsigned char *buf,int bytes){
- memset(b,0,sizeof(*b));
- b->buffer=b->ptr=buf;
- b->storage=bytes;
- }
- void oggpackB_readinit(oggpack_buffer *b,unsigned char *buf,int bytes){
- oggpack_readinit(b,buf,bytes);
- }
- /* Read in bits without advancing the bitptr; bits <= 32 */
- long oggpack_look(oggpack_buffer *b,int bits){
- unsigned long ret;
- unsigned long m=mask[bits];
- bits+=b->endbit;
- if(b->endbyte+4>=b->storage){
- /* not the main path */
- if(b->endbyte*8+bits>b->storage*8)return(-1);
- }
-
- ret=b->ptr[0]>>b->endbit;
- if(bits>8){
- ret|=b->ptr[1]<<(8-b->endbit);
- if(bits>16){
- ret|=b->ptr[2]<<(16-b->endbit);
- if(bits>24){
- ret|=b->ptr[3]<<(24-b->endbit);
- if(bits>32 && b->endbit)
- ret|=b->ptr[4]<<(32-b->endbit);
- }
- }
- }
- return(m&ret);
- }
- /* Read in bits without advancing the bitptr; bits <= 32 */
- long oggpackB_look(oggpack_buffer *b,int bits){
- unsigned long ret;
- int m=32-bits;
- bits+=b->endbit;
- if(b->endbyte+4>=b->storage){
- /* not the main path */
- if(b->endbyte*8+bits>b->storage*8)return(-1);
- }
-
- ret=b->ptr[0]<<(24+b->endbit);
- if(bits>8){
- ret|=b->ptr[1]<<(16+b->endbit);
- if(bits>16){
- ret|=b->ptr[2]<<(8+b->endbit);
- if(bits>24){
- ret|=b->ptr[3]<<(b->endbit);
- if(bits>32 && b->endbit)
- ret|=b->ptr[4]>>(8-b->endbit);
- }
- }
- }
- return (ret>>(m>>1))>>((m+1)>>1);
- }
- long oggpack_look1(oggpack_buffer *b){
- if(b->endbyte>=b->storage)return(-1);
- return((b->ptr[0]>>b->endbit)&1);
- }
- long oggpackB_look1(oggpack_buffer *b){
- if(b->endbyte>=b->storage)return(-1);
- return((b->ptr[0]>>(7-b->endbit))&1);
- }
- void oggpack_adv(oggpack_buffer *b,int bits){
- bits+=b->endbit;
- b->ptr+=bits/8;
- b->endbyte+=bits/8;
- b->endbit=bits&7;
- }
- void oggpackB_adv(oggpack_buffer *b,int bits){
- oggpack_adv(b,bits);
- }
- void oggpack_adv1(oggpack_buffer *b){
- if(++(b->endbit)>7){
- b->endbit=0;
- b->ptr++;
- b->endbyte++;
- }
- }
- void oggpackB_adv1(oggpack_buffer *b){
- oggpack_adv1(b);
- }
- /* bits <= 32 */
- long oggpack_read(oggpack_buffer *b,int bits){
- unsigned long ret;
- unsigned long m=mask[bits];
- bits+=b->endbit;
- if(b->endbyte+4>=b->storage){
- /* not the main path */
- ret=-1UL;
- if(b->endbyte*8+bits>b->storage*8)goto overflow;
- }
-
- ret=b->ptr[0]>>b->endbit;
- if(bits>8){
- ret|=b->ptr[1]<<(8-b->endbit);
- if(bits>16){
- ret|=b->ptr[2]<<(16-b->endbit);
- if(bits>24){
- ret|=b->ptr[3]<<(24-b->endbit);
- if(bits>32 && b->endbit){
- ret|=b->ptr[4]<<(32-b->endbit);
- }
- }
- }
- }
- ret&=m;
-
- overflow:
- b->ptr+=bits/8;
- b->endbyte+=bits/8;
- b->endbit=bits&7;
- return(ret);
- }
- /* bits <= 32 */
- long oggpackB_read(oggpack_buffer *b,int bits){
- unsigned long ret;
- long m=32-bits;
-
- bits+=b->endbit;
- if(b->endbyte+4>=b->storage){
- /* not the main path */
- ret=-1UL;
- if(b->endbyte*8+bits>b->storage*8)goto overflow;
- }
-
- ret=b->ptr[0]<<(24+b->endbit);
- if(bits>8){
- ret|=b->ptr[1]<<(16+b->endbit);
- if(bits>16){
- ret|=b->ptr[2]<<(8+b->endbit);
- if(bits>24){
- ret|=b->ptr[3]<<(b->endbit);
- if(bits>32 && b->endbit)
- ret|=b->ptr[4]>>(8-b->endbit);
- }
- }
- }
- ret=(ret>>(m>>1))>>((m+1)>>1);
-
- overflow:
- b->ptr+=bits/8;
- b->endbyte+=bits/8;
- b->endbit=bits&7;
- return(ret);
- }
- long oggpack_read1(oggpack_buffer *b){
- unsigned long ret;
-
- if(b->endbyte>=b->storage){
- /* not the main path */
- ret=-1UL;
- goto overflow;
- }
- ret=(b->ptr[0]>>b->endbit)&1;
-
- overflow:
- b->endbit++;
- if(b->endbit>7){
- b->endbit=0;
- b->ptr++;
- b->endbyte++;
- }
- return(ret);
- }
- long oggpackB_read1(oggpack_buffer *b){
- unsigned long ret;
-
- if(b->endbyte>=b->storage){
- /* not the main path */
- ret=-1UL;
- goto overflow;
- }
- ret=(b->ptr[0]>>(7-b->endbit))&1;
-
- overflow:
- b->endbit++;
- if(b->endbit>7){
- b->endbit=0;
- b->ptr++;
- b->endbyte++;
- }
- return(ret);
- }
- long oggpack_bytes(oggpack_buffer *b){
- return(b->endbyte+(b->endbit+7)/8);
- }
- long oggpack_bits(oggpack_buffer *b){
- return(b->endbyte*8+b->endbit);
- }
- long oggpackB_bytes(oggpack_buffer *b){
- return oggpack_bytes(b);
- }
- long oggpackB_bits(oggpack_buffer *b){
- return oggpack_bits(b);
- }
-
- unsigned char *oggpack_get_buffer(oggpack_buffer *b){
- return(b->buffer);
- }
- unsigned char *oggpackB_get_buffer(oggpack_buffer *b){
- return oggpack_get_buffer(b);
- }
- #undef BUFFER_INCREMENT
- /********************************************************************
- * *
- * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. *
- * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
- * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
- * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
- * *
- * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2002 *
- * by the Xiph.Org Foundation http://www.xiph.org/ *
- * *
- ********************************************************************
- function: code raw [Vorbis] packets into framed OggSquish stream and
- decode Ogg streams back into raw packets
- last mod: $Id: framing.c,v 1.23 2002/09/29 07:10:37 giles Exp $
- note: The CRC code is directly derived from public domain code by
- Ross Williams (ross@guest.adelaide.edu.au). See docs/framing.html
- for details.
- ********************************************************************/
- /* A complete description of Ogg framing exists in docs/framing.html */
- int ogg_page_version(ogg_page *og){
- return((int)(og->header[4]));
- }
- int ogg_page_continued(ogg_page *og){
- return((int)(og->header[5]&0x01));
- }
- int ogg_page_bos(ogg_page *og){
- return((int)(og->header[5]&0x02));
- }
- int ogg_page_eos(ogg_page *og){
- return((int)(og->header[5]&0x04));
- }
- ogg_int64_t ogg_page_granulepos(ogg_page *og){
- unsigned char *page=og->header;
- ogg_int64_t granulepos=page[13]&(0xff);
- granulepos= (granulepos<<8)|(page[12]&0xff);
- granulepos= (granulepos<<8)|(page[11]&0xff);
- granulepos= (granulepos<<8)|(page[10]&0xff);
- granulepos= (granulepos<<8)|(page[9]&0xff);
- granulepos= (granulepos<<8)|(page[8]&0xff);
- granulepos= (granulepos<<8)|(page[7]&0xff);
- granulepos= (granulepos<<8)|(page[6]&0xff);
- return(granulepos);
- }
- int ogg_page_serialno(ogg_page *og){
- return(og->header[14] |
- (og->header[15]<<8) |
- (og->header[16]<<16) |
- (og->header[17]<<24));
- }
-
- long ogg_page_pageno(ogg_page *og){
- return(og->header[18] |
- (og->header[19]<<8) |
- (og->header[20]<<16) |
- (og->header[21]<<24));
- }
- /* returns the number of packets that are completed on this page (if
- the leading packet is begun on a previous page, but ends on this
- page, it's counted */
- /* NOTE:
- If a page consists of a packet begun on a previous page, and a new
- packet begun (but not completed) on this page, the return will be:
- ogg_page_packets(page) ==1,
- ogg_page_continued(page) !=0
- If a page happens to be a single packet that was begun on a
- previous page, and spans to the next page (in the case of a three or
- more page packet), the return will be:
- ogg_page_packets(page) ==0,
- ogg_page_continued(page) !=0
- */
- int ogg_page_packets(ogg_page *og){
- int i,n=og->header[26],count=0;
- for(i=0;i<n;i++)
- if(og->header[27+i]<255)count++;
- return(count);
- }
- #if 0
- /* helper to initialize lookup for direct-table CRC (illustrative; we
- use the static init below) */
- static ogg_uint32_t _ogg_crc_entry(unsigned long index){
- int i;
- unsigned long r;
- r = index << 24;
- for (i=0; i<8; i++)
- if (r & 0x80000000UL)
- r = (r << 1) ^ 0x04c11db7; /* The same as the ethernet generator
- polynomial, although we use an
- unreflected alg and an init/final
- of 0, not 0xffffffff */
- else
- r<<=1;
- return (r & 0xffffffffUL);
- }
- #endif
- static ogg_uint32_t crc_lookup[256]={
- 0x00000000,0x04c11db7,0x09823b6e,0x0d4326d9,
- 0x130476dc,0x17c56b6b,0x1a864db2,0x1e475005,
- 0x2608edb8,0x22c9f00f,0x2f8ad6d6,0x2b4bcb61,
- 0x350c9b64,0x31cd86d3,0x3c8ea00a,0x384fbdbd,
- 0x4c11db70,0x48d0c6c7,0x4593e01e,0x4152fda9,
- 0x5f15adac,0x5bd4b01b,0x569796c2,0x52568b75,
- 0x6a1936c8,0x6ed82b7f,0x639b0da6,0x675a1011,
- 0x791d4014,0x7ddc5da3,0x709f7b7a,0x745e66cd,
- 0x9823b6e0,0x9ce2ab57,0x91a18d8e,0x95609039,
- 0x8b27c03c,0x8fe6dd8b,0x82a5fb52,0x8664e6e5,
- 0xbe2b5b58,0xbaea46ef,0xb7a96036,0xb3687d81,
- 0xad2f2d84,0xa9ee3033,0xa4ad16ea,0xa06c0b5d,
- 0xd4326d90,0xd0f37027,0xddb056fe,0xd9714b49,
- 0xc7361b4c,0xc3f706fb,0xceb42022,0xca753d95,
- 0xf23a8028,0xf6fb9d9f,0xfbb8bb46,0xff79a6f1,
- 0xe13ef6f4,0xe5ffeb43,0xe8bccd9a,0xec7dd02d,
- 0x34867077,0x30476dc0,0x3d044b19,0x39c556ae,
- 0x278206ab,0x23431b1c,0x2e003dc5,0x2ac12072,
- 0x128e9dcf,0x164f8078,0x1b0ca6a1,0x1fcdbb16,
- 0x018aeb13,0x054bf6a4,0x0808d07d,0x0cc9cdca,
- 0x7897ab07,0x7c56b6b0,0x71159069,0x75d48dde,
- 0x6b93dddb,0x6f52c06c,0x6211e6b5,0x66d0fb02,
- 0x5e9f46bf,0x5a5e5b08,0x571d7dd1,0x53dc6066,
- 0x4d9b3063,0x495a2dd4,0x44190b0d,0x40d816ba,
- 0xaca5c697,0xa864db20,0xa527fdf9,0xa1e6e04e,
- 0xbfa1b04b,0xbb60adfc,0xb6238b25,0xb2e29692,
- 0x8aad2b2f,0x8e6c3698,0x832f1041,0x87ee0df6,
- 0x99a95df3,0x9d684044,0x902b669d,0x94ea7b2a,
- 0xe0b41de7,0xe4750050,0xe9362689,0xedf73b3e,
- 0xf3b06b3b,0xf771768c,0xfa325055,0xfef34de2,
- 0xc6bcf05f,0xc27dede8,0xcf3ecb31,0xcbffd686,
- 0xd5b88683,0xd1799b34,0xdc3abded,0xd8fba05a,
- 0x690ce0ee,0x6dcdfd59,0x608edb80,0x644fc637,
- 0x7a089632,0x7ec98b85,0x738aad5c,0x774bb0eb,
- 0x4f040d56,0x4bc510e1,0x46863638,0x42472b8f,
- 0x5c007b8a,0x58c1663d,0x558240e4,0x51435d53,
- 0x251d3b9e,0x21dc2629,0x2c9f00f0,0x285e1d47,
- 0x36194d42,0x32d850f5,0x3f9b762c,0x3b5a6b9b,
- 0x0315d626,0x07d4cb91,0x0a97ed48,0x0e56f0ff,
- 0x1011a0fa,0x14d0bd4d,0x19939b94,0x1d528623,
- 0xf12f560e,0xf5ee4bb9,0xf8ad6d60,0xfc6c70d7,
- 0xe22b20d2,0xe6ea3d65,0xeba91bbc,0xef68060b,
- 0xd727bbb6,0xd3e6a601,0xdea580d8,0xda649d6f,
- 0xc423cd6a,0xc0e2d0dd,0xcda1f604,0xc960ebb3,
- 0xbd3e8d7e,0xb9ff90c9,0xb4bcb610,0xb07daba7,
- 0xae3afba2,0xaafbe615,0xa7b8c0cc,0xa379dd7b,
- 0x9b3660c6,0x9ff77d71,0x92b45ba8,0x9675461f,
- 0x8832161a,0x8cf30bad,0x81b02d74,0x857130c3,
- 0x5d8a9099,0x594b8d2e,0x5408abf7,0x50c9b640,
- 0x4e8ee645,0x4a4ffbf2,0x470cdd2b,0x43cdc09c,
- 0x7b827d21,0x7f436096,0x7200464f,0x76c15bf8,
- 0x68860bfd,0x6c47164a,0x61043093,0x65c52d24,
- 0x119b4be9,0x155a565e,0x18197087,0x1cd86d30,
- 0x029f3d35,0x065e2082,0x0b1d065b,0x0fdc1bec,
- 0x3793a651,0x3352bbe6,0x3e119d3f,0x3ad08088,
- 0x2497d08d,0x2056cd3a,0x2d15ebe3,0x29d4f654,
- 0xc5a92679,0xc1683bce,0xcc2b1d17,0xc8ea00a0,
- 0xd6ad50a5,0xd26c4d12,0xdf2f6bcb,0xdbee767c,
- 0xe3a1cbc1,0xe760d676,0xea23f0af,0xeee2ed18,
- 0xf0a5bd1d,0xf464a0aa,0xf9278673,0xfde69bc4,
- 0x89b8fd09,0x8d79e0be,0x803ac667,0x84fbdbd0,
- 0x9abc8bd5,0x9e7d9662,0x933eb0bb,0x97ffad0c,
- 0xafb010b1,0xab710d06,0xa6322bdf,0xa2f33668,
- 0xbcb4666d,0xb8757bda,0xb5365d03,0xb1f740b4};
- /* init the encode/decode logical stream state */
- int ogg_stream_init(ogg_stream_state *os,int serialno){
- if(os){
- memset(os,0,sizeof(*os));
- os->body_storage=16*1024;
- os->body_data=_ogg_malloc(os->body_storage*sizeof(*os->body_data));
- os->lacing_storage=1024;
- os->lacing_vals=_ogg_malloc(os->lacing_storage*sizeof(*os->lacing_vals));
- os->granule_vals=_ogg_malloc(os->lacing_storage*sizeof(*os->granule_vals));
- os->serialno=serialno;
- return(0);
- }
- return(-1);
- }
- /* _clear does not free os, only the non-flat storage within */
- int ogg_stream_clear(ogg_stream_state *os){
- if(os){
- if(os->body_data)_ogg_free(os->body_data);
- if(os->lacing_vals)_ogg_free(os->lacing_vals);
- if(os->granule_vals)_ogg_free(os->granule_vals);
- memset(os,0,sizeof(*os));
- }
- return(0);
- }
- int ogg_stream_destroy(ogg_stream_state *os){
- if(os){
- ogg_stream_clear(os);
- _ogg_free(os);
- }
- return(0);
- }
- /* Helpers for ogg_stream_encode; this keeps the structure and
- what's happening fairly clear */
- static void _os_body_expand(ogg_stream_state *os,int needed){
- if(os->body_storage<=os->body_fill+needed){
- os->body_storage+=(needed+1024);
- os->body_data=_ogg_realloc(os->body_data,os->body_storage*sizeof(*os->body_data));
- }
- }
- static void _os_lacing_expand(ogg_stream_state *os,int needed){
- if(os->lacing_storage<=os->lacing_fill+needed){
- os->lacing_storage+=(needed+32);
- os->lacing_vals=_ogg_realloc(os->lacing_vals,os->lacing_storage*sizeof(*os->lacing_vals));
- os->granule_vals=_ogg_realloc(os->granule_vals,os->lacing_storage*sizeof(*os->granule_vals));
- }
- }
- /* checksum the page */
- /* Direct table CRC; note that this will be faster in the future if we
- perform the checksum silmultaneously with other copies */
- void ogg_page_checksum_set(ogg_page *og){
- if(og){
- ogg_uint32_t crc_reg=0;
- int i;
- /* safety; needed for API behavior, but not framing code */
- og->header[22]=0;
- og->header[23]=0;
- og->header[24]=0;
- og->header[25]=0;
-
- for(i=0;i<og->header_len;i++)
- crc_reg=(crc_reg<<8)^crc_lookup[((crc_reg >> 24)&0xff)^og->header[i]];
- for(i=0;i<og->body_len;i++)
- crc_reg=(crc_reg<<8)^crc_lookup[((crc_reg >> 24)&0xff)^og->body[i]];
-
- og->header[22]=crc_reg&0xff;
- og->header[23]=(crc_reg>>8)&0xff;
- og->header[24]=(crc_reg>>16)&0xff;
- og->header[25]=(crc_reg>>24)&0xff;
- }
- }
- /* submit data to the internal buffer of the framing engine */
- int ogg_stream_packetin(ogg_stream_state *os,ogg_packet *op){
- int lacing_vals=op->bytes/255+1,i;
- if(os->body_returned){
- /* advance packet data according to the body_returned pointer. We
- had to keep it around to return a pointer into the buffer last
- call */
-
- os->body_fill-=os->body_returned;
- if(os->body_fill)
- memmove(os->body_data,os->body_data+os->body_returned,
- os->body_fill);
- os->body_returned=0;
- }
-
- /* make sure we have the buffer storage */
- _os_body_expand(os,op->bytes);
- _os_lacing_expand(os,lacing_vals);
- /* Copy in the submitted packet. Yes, the copy is a waste; this is
- the liability of overly clean abstraction for the time being. It
- will actually be fairly easy to eliminate the extra copy in the
- future */
- memcpy(os->body_data+os->body_fill,op->packet,op->bytes);
- os->body_fill+=op->bytes;
- /* Store lacing vals for this packet */
- for(i=0;i<lacing_vals-1;i++){
- os->lacing_vals[os->lacing_fill+i]=255;
- os->granule_vals[os->lacing_fill+i]=os->granulepos;
- }
- os->lacing_vals[os->lacing_fill+i]=(op->bytes)%255;
- os->granulepos=os->granule_vals[os->lacing_fill+i]=op->granulepos;
- /* flag the first segment as the beginning of the packet */
- os->lacing_vals[os->lacing_fill]|= 0x100;
- os->lacing_fill+=lacing_vals;
- /* for the sake of completeness */
- os->packetno++;
- if(op->e_o_s)os->e_o_s=1;
- return(0);
- }
- /* This will flush remaining packets into a page (returning nonzero),
- even if there is not enough data to trigger a flush normally
- (undersized page). If there are no packets or partial packets to
- flush, ogg_stream_flush returns 0. Note that ogg_stream_flush will
- try to flush a normal sized page like ogg_stream_pageout; a call to
- ogg_stream_flush does not guarantee that all packets have flushed.
- Only a return value of 0 from ogg_stream_flush indicates all packet
- data is flushed into pages.
- since ogg_stream_flush will flush the last page in a stream even if
- it's undersized, you almost certainly want to use ogg_stream_pageout
- (and *not* ogg_stream_flush) unless you specifically need to flush
- an page regardless of size in the middle of a stream. */
- int ogg_stream_flush(ogg_stream_state *os,ogg_page *og){
- int i;
- int vals=0;
- int maxvals=(os->lacing_fill>255?255:os->lacing_fill);
- int bytes=0;
- long acc=0;
- ogg_int64_t granule_pos=os->granule_vals[0];
- if(maxvals==0)return(0);
-
- /* construct a page */
- /* decide how many segments to include */
-
- /* If this is the initial header case, the first page must only include
- the initial header packet */
- if(os->b_o_s==0){ /* 'initial header page' case */
- granule_pos=0;
- for(vals=0;vals<maxvals;vals++){
- if((os->lacing_vals[vals]&0x0ff)<255){
- vals++;
- break;
- }
- }
- }else{
- for(vals=0;vals<maxvals;vals++){
- if(acc>4096)break;
- acc+=os->lacing_vals[vals]&0x0ff;
- granule_pos=os->granule_vals[vals];
- }
- }
-
- /* construct the header in temp storage */
- memcpy(os->header,"OggS",4);
-
- /* stream structure version */
- os->header[4]=0x00;
-
- /* continued packet flag? */
- os->header[5]=0x00;
- if((os->lacing_vals[0]&0x100)==0)os->header[5]|=0x01;
- /* first page flag? */
- if(os->b_o_s==0)os->header[5]|=0x02;
- /* last page flag? */
- if(os->e_o_s && os->lacing_fill==vals)os->header[5]|=0x04;
- os->b_o_s=1;
- /* 64 bits of PCM position */
- for(i=6;i<14;i++){
- os->header[i]=(granule_pos&0xff);
- granule_pos>>=8;
- }
- /* 32 bits of stream serial number */
- {
- long serialno=os->serialno;
- for(i=14;i<18;i++){
- os->header[i]=(serialno&0xff);
- serialno>>=8;
- }
- }
- /* 32 bits of page counter (we have both counter and page header
- because this val can roll over) */
- if(os->pageno==-1)os->pageno=0; /* because someone called
- stream_reset; this would be a
- strange thing to do in an
- encode stream, but it has
- plausible uses */
- {
- long pageno=os->pageno++;
- for(i=18;i<22;i++){
- os->header[i]=(pageno&0xff);
- pageno>>=8;
- }
- }
-
- /* zero for computation; filled in later */
- os->header[22]=0;
- os->header[23]=0;
- os->header[24]=0;
- os->header[25]=0;
-
- /* segment table */
- os->header[26]=vals&0xff;
- for(i=0;i<vals;i++)
- bytes+=os->header[i+27]=(os->lacing_vals[i]&0xff);
-
- /* set pointers in the ogg_page struct */
- og->header=os->header;
- og->header_len=os->header_fill=vals+27;
- og->body=os->body_data+os->body_returned;
- og->body_len=bytes;
-
- /* advance the lacing data and set the body_returned pointer */
-
- os->lacing_fill-=vals;
- memmove(os->lacing_vals,os->lacing_vals+vals,os->lacing_fill*sizeof(*os->lacing_vals));
- memmove(os->granule_vals,os->granule_vals+vals,os->lacing_fill*sizeof(*os->granule_vals));
- os->body_returned+=bytes;
-
- /* calculate the checksum */
-
- ogg_page_checksum_set(og);
- /* done */
- return(1);
- }
- /* This constructs pages from buffered packet segments. The pointers
- returned are to static buffers; do not free. The returned buffers are
- good only until the next call (using the same ogg_stream_state) */
- int ogg_stream_pageout(ogg_stream_state *os, ogg_page *og){
- if((os->e_o_s&&os->lacing_fill) || /* 'were done, now flush' case */
- os->body_fill-os->body_returned > 4096 ||/* 'page nominal size' case */
- os->lacing_fill>=255 || /* 'segment table full' case */
- (os->lacing_fill&&!os->b_o_s)){ /* 'initial header page' case */
-
- return(ogg_stream_flush(os,og));
- }
-
- /* not enough data to construct a page and not end of stream */
- return(0);
- }
- int ogg_stream_eos(ogg_stream_state *os){
- return os->e_o_s;
- }
- /* DECODING PRIMITIVES: packet streaming layer **********************/
- /* This has two layers to place more of the multi-serialno and paging
- control in the application's hands. First, we expose a data buffer
- using ogg_sync_buffer(). The app either copies into the
- buffer, or passes it directly to read(), etc. We then call
- ogg_sync_wrote() to tell how many bytes we just added.
- Pages are returned (pointers into the buffer in ogg_sync_state)
- by ogg_sync_pageout(). The page is then submitted to
- ogg_stream_pagein() along with the appropriate
- ogg_stream_state* (ie, matching serialno). We then get raw
- packets out calling ogg_stream_packetout() with a
- ogg_stream_state. See the 'frame-prog.txt' docs for details and
- example code. */
- /* initialize the struct to a known state */
- int ogg_sync_init(ogg_sync_state *oy){
- if(oy){
- memset(oy,0,sizeof(*oy));
- }
- return(0);
- }
- /* clear non-flat storage within */
- int ogg_sync_clear(ogg_sync_state *oy){
- if(oy){
- if(oy->data)_ogg_free(oy->data);
- ogg_sync_init(oy);
- }
- return(0);
- }
- int ogg_sync_destroy(ogg_sync_state *oy){
- if(oy){
- ogg_sync_clear(oy);
- _ogg_free(oy);
- }
- return(0);
- }
- char *ogg_sync_buffer(ogg_sync_state *oy, long size){
- /* first, clear out any space that has been previously returned */
- if(oy->returned){
- oy->fill-=oy->returned;
- if(oy->fill>0)
- memmove(oy->data,oy->data+oy->returned,oy->fill);
- oy->returned=0;
- }
- if(size>oy->storage-oy->fill){
- /* We need to extend the internal buffer */
- long newsize=size+oy->fill+4096; /* an extra page to be nice */
- if(oy->data)
- oy->data=_ogg_realloc(oy->data,newsize);
- else
- oy->data=_ogg_malloc(newsize);
- oy->storage=newsize;
- }
- /* expose a segment at least as large as requested at the fill mark */
- return((char *)oy->data+oy->fill);
- }
- int ogg_sync_wrote(ogg_sync_state *oy, long bytes){
- if(oy->fill+bytes>oy->storage)return(-1);
- oy->fill+=bytes;
- return(0);
- }
- /* sync the stream. This is meant to be useful for finding page
- boundaries.
- return values for this:
- -n) skipped n bytes
- 0) page not ready; more data (no bytes skipped)
- n) page synced at current location; page length n bytes
-
- */
- long ogg_sync_pageseek(ogg_sync_state *oy,ogg_page *og){
- unsigned char *page=oy->data+oy->returned;
- unsigned char *next;
- long bytes=oy->fill-oy->returned;
-
- if(oy->headerbytes==0){
- int headerbytes,i;
- if(bytes<27)return(0); /* not enough for a header */
-
- /* verify capture pattern */
- if(memcmp(page,"OggS",4))goto sync_fail;
-
- headerbytes=page[26]+27;
- if(bytes<headerbytes)return(0); /* not enough for header + seg table */
-
- /* count up body length in the segment table */
-
- for(i=0;i<page[26];i++)
- oy->bodybytes+=page[27+i];
- oy->headerbytes=headerbytes;
- }
-
- if(oy->bodybytes+oy->headerbytes>bytes)return(0);
-
- /* The whole test page is buffered. Verify the checksum */
- {
- /* Grab the checksum bytes, set the header field to zero */
- char chksum[4];
- ogg_page log;
-
- memcpy(chksum,page+22,4);
- memset(page+22,0,4);
-
- /* set up a temp page struct and recompute the checksum */
- log.header=page;
- log.header_len=oy->headerbytes;
- log.body=page+oy->headerbytes;
- log.body_len=oy->bodybytes;
- ogg_page_checksum_set(&log);
-
- /* Compare */
- if(memcmp(chksum,page+22,4)){
- /* D'oh. Mismatch! Corrupt page (or miscapture and not a page
- at all) */
- /* replace the computed checksum with the one actually read in */
- memcpy(page+22,chksum,4);
-
- /* Bad checksum. Lose sync */
- goto sync_fail;
- }
- }
-
- /* yes, have a whole page all ready to go */
- {
- unsigned char *page=oy->data+oy->returned;
- long bytes;
- if(og){
- og->header=page;
- og->header_len=oy->headerbytes;
- og->body=page+oy->headerbytes;
- og->body_len=oy->bodybytes;
- }
- oy->unsynced=0;
- oy->returned+=(bytes=oy->headerbytes+oy->bodybytes);
- oy->headerbytes=0;
- oy->bodybytes=0;
- return(bytes);
- }
-
- sync_fail:
-
- oy->headerbytes=0;
- oy->bodybytes=0;
-
- /* search for possible capture */
- next=memchr(page+1,'O',bytes-1);
- if(!next)
- next=oy->data+oy->fill;
- oy->returned=next-oy->data;
- return(-(next-page));
- }
- /* sync the stream and get a page. Keep trying until we find a page.
- Supress 'sync errors' after reporting the first.
- return values:
- -1) recapture (hole in data)
- 0) need more data
- 1) page returned
- Returns pointers into buffered data; invalidated by next call to
- _stream, _clear, _init, or _buffer */
- int ogg_sync_pageout(ogg_sync_state *oy, ogg_page *og){
- /* all we need to do is verify a page at the head of the stream
- buffer. If it doesn't verify, we look for the next potential
- frame */
- while(1){
- long ret=ogg_sync_pageseek(oy,og);
- if(ret>0){
- /* have a page */
- return(1);
- }
- if(ret==0){
- /* need more data */
- return(0);
- }
-
- /* head did not start a synced page... skipped some bytes */
- if(!oy->unsynced){
- oy->unsynced=1;
- return(-1);
- }
- /* loop. keep looking */
- }
- }
- /* add the incoming page to the stream state; we decompose the page
- into packet segments here as well. */
- int ogg_stream_pagein(ogg_stream_state *os, ogg_page *og){
- unsigned char *header=og->header;
- unsigned char *body=og->body;
- long bodysize=og->body_len;
- int segptr=0;
- int version=ogg_page_version(og);
- int continued=ogg_page_continued(og);
- int bos=ogg_page_bos(og);
- int eos=ogg_page_eos(og);
- ogg_int64_t granulepos=ogg_page_granulepos(og);
- int serialno=ogg_page_serialno(og);
- long pageno=ogg_page_pageno(og);
- int segments=header[26];
-
- /* clean up 'returned data' */
- {
- long lr=os->lacing_returned;
- long br=os->body_returned;
- /* body data */
- if(br){
- os->body_fill-=br;
- if(os->body_fill)
- memmove(os->body_data,os->body_data+br,os->body_fill);
- os->body_returned=0;
- }
- if(lr){
- /* segment table */
- if(os->lacing_fill-lr){
- memmove(os->lacing_vals,os->lacing_vals+lr,
- (os->lacing_fill-lr)*sizeof(*os->lacing_vals));
- memmove(os->granule_vals,os->granule_vals+lr,
- (os->lacing_fill-lr)*sizeof(*os->granule_vals));
- }
- os->lacing_fill-=lr;
- os->lacing_packet-=lr;
- os->lacing_returned=0;
- }
- }
- /* check the serial number */
- if(serialno!=os->serialno)return(-1);
- if(version>0)return(-1);
- _os_lacing_expand(os,segments+1);
- /* are we in sequence? */
- if(pageno!=os->pageno){
- int i;
- /* unroll previous partial packet (if any) */
- for(i=os->lacing_packet;i<os->lacing_fill;i++)
- os->body_fill-=os->lacing_vals[i]&0xff;
- os->lacing_fill=os->lacing_packet;
- /* make a note of dropped data in segment table */
- if(os->pageno!=-1){
- os->lacing_vals[os->lacing_fill++]=0x400;
- os->lacing_packet++;
- }
- /* are we a 'continued packet' page? If so, we'll need to skip
- some segments */
- if(continued){
- bos=0;
- for(;segptr<segments;segptr++){
- int val=header[27+segptr];
- body+=val;
- bodysize-=val;
- if(val<255){
- segptr++;
- break;
- }
- }
- }
- }
-
- if(bodysize){
- _os_body_expand(os,bodysize);
- memcpy(os->body_data+os->body_fill,body,bodysize);
- os->body_fill+=bodysize;
- }
- {
- int saved=-1;
- while(segptr<segments){
- int val=header[27+segptr];
- os->lacing_vals[os->lacing_fill]=val;
- os->granule_vals[os->lacing_fill]=-1;
-
- if(bos){
- os->lacing_vals[os->lacing_fill]|=0x100;
- bos=0;
- }
-
- if(val<255)saved=os->lacing_fill;
-
- os->lacing_fill++;
- segptr++;
-
- if(val<255)os->lacing_packet=os->lacing_fill;
- }
-
- /* set the granulepos on the last granuleval of the last full packet */
- if(saved!=-1){
- os->granule_vals[saved]=granulepos;
- }
- }
- if(eos){
- os->e_o_s=1;
- if(os->lacing_fill>0)
- os->lacing_vals[os->lacing_fill-1]|=0x200;
- }
- os->pageno=pageno+1;
- return(0);
- }
- /* clear things to an initial state. Good to call, eg, before seeking */
- int ogg_sync_reset(ogg_sync_state *oy){
- oy->fill=0;
- oy->returned=0;
- oy->unsynced=0;
- oy->headerbytes=0;
- oy->bodybytes=0;
- return(0);
- }
- int ogg_stream_reset(ogg_stream_state *os){
- os->body_fill=0;
- os->body_returned=0;
- os->lacing_fill=0;
- os->lacing_packet=0;
- os->lacing_returned=0;
- os->header_fill=0;
- os->e_o_s=0;
- os->b_o_s=0;
- os->pageno=-1;
- os->packetno=0;
- os->granulepos=0;
- return(0);
- }
- int ogg_stream_reset_serialno(ogg_stream_state *os,int serialno){
- ogg_stream_reset(os);
- os->serialno=serialno;
- return(0);
- }
- static int _packetout(ogg_stream_state *os,ogg_packet *op,int adv){
- /* The last part of decode. We have the stream broken into packet
- segments. Now we need to group them into packets (or return the
- out of sync markers) */
- int ptr=os->lacing_returned;
- if(os->lacing_packet<=ptr)return(0);
- if(os->lacing_vals[ptr]&0x400){
- /* we need to tell the codec there's a gap; it might need to
- handle previous packet dependencies. */
- os->lacing_returned++;
- os->packetno++;
- return(-1);
- }
- if(!op && !adv)return(1); /* just using peek as an inexpensive way
- to ask if there's a whole packet
- waiting */
- /* Gather the whole packet. We'll have no holes or a partial packet */
- {
- int size=os->lacing_vals[ptr]&0xff;
- int bytes=size;
- int eos=os->lacing_vals[ptr]&0x200; /* last packet of the stream? */
- int bos=os->lacing_vals[ptr]&0x100; /* first packet of the stream? */
- while(size==255){
- int val=os->lacing_vals[++ptr];
- size=val&0xff;
- if(val&0x200)eos=0x200;
- bytes+=size;
- }
- if(op){
- op->e_o_s=eos;
- op->b_o_s=bos;
- op->packet=os->body_data+os->body_returned;
- op->packetno=os->packetno;
- op->granulepos=os->granule_vals[ptr];
- op->bytes=bytes;
- }
- if(adv){
- os->body_returned+=bytes;
- os->lacing_returned=ptr+1;
- os->packetno++;
- }
- }
- return(1);
- }
- int ogg_stream_packetout(ogg_stream_state *os,ogg_packet *op){
- return _packetout(os,op,1);
- }
- int ogg_stream_packetpeek(ogg_stream_state *os,ogg_packet *op){
- return _packetout(os,op,0);
- }
- void ogg_packet_clear(ogg_packet *op) {
- _ogg_free(op->packet);
- memset(op, 0, sizeof(*op));
- }
|