ippi.h 946 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906
  1. /* /////////////////////////////////////////////////////////////////////////////
  2. //
  3. // INTEL CORPORATION PROPRIETARY INFORMATION
  4. // This software is supplied under the terms of a license agreement or
  5. // nondisclosure agreement with Intel Corporation and may not be copied
  6. // or disclosed except in accordance with the terms of that agreement.
  7. // Copyright (c) 1999-2009 Intel Corporation. All Rights Reserved.
  8. //
  9. // Intel(R) Integrated Performance Primitives
  10. // Image Processing
  11. //
  12. */
  13. #if !defined( __IPPI_H__ ) || defined( _OWN_BLDPCS )
  14. #define __IPPI_H__
  15. #if defined (_WIN32_WCE) && defined (_M_IX86) && defined (__stdcall)
  16. #define _IPP_STDCALL_CDECL
  17. #undef __stdcall
  18. #endif
  19. #ifndef __IPPDEFS_H__
  20. #include "ippdefs.h"
  21. #endif
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. #if !defined( _OWN_BLDPCS )
  26. typedef enum {
  27. ippAlphaOver,
  28. ippAlphaIn,
  29. ippAlphaOut,
  30. ippAlphaATop,
  31. ippAlphaXor,
  32. ippAlphaPlus,
  33. ippAlphaOverPremul,
  34. ippAlphaInPremul,
  35. ippAlphaOutPremul,
  36. ippAlphaATopPremul,
  37. ippAlphaXorPremul,
  38. ippAlphaPlusPremul
  39. } IppiAlphaType;
  40. struct DeconvFFTState_32f_C1R;
  41. typedef struct DeconvFFTState_32f_C1R IppiDeconvFFTState_32f_C1R;
  42. struct DeconvFFTState_32f_C3R;
  43. typedef struct DeconvFFTState_32f_C3R IppiDeconvFFTState_32f_C3R;
  44. struct DeconvLR_32f_C1R;
  45. typedef struct DeconvLR_32f_C1R IppiDeconvLR_32f_C1R;
  46. struct DeconvLR_32f_C3R;
  47. typedef struct DeconvLR_32f_C3R IppiDeconvLR_32f_C3R;
  48. typedef enum {
  49. ippiFilterBilateralGauss = 100,
  50. ippiFilterBilateralGaussFast = 101
  51. } IppiFilterBilateralType;
  52. struct FilterBilateralSpec;
  53. typedef struct FilterBilateralSpec IppiFilterBilateralSpec;
  54. typedef enum {
  55. ippResizeFilterHann,
  56. ippResizeFilterLanczos
  57. } IppiResizeFilterType;
  58. struct ResizeFilterState;
  59. typedef struct ResizeFilterState IppiResizeFilterState;
  60. #endif /* _OWN_BLDPCS */
  61. /* /////////////////////////////////////////////////////////////////////////////
  62. ////////////////////////////////////////////////////////////////////////////////
  63. // Functions declarations
  64. ////////////////////////////////////////////////////////////////////////////////
  65. ///////////////////////////////////////////////////////////////////////////// */
  66. /* /////////////////////////////////////////////////////////////////////////////
  67. // Name: ippiGetLibVersion
  68. // Purpose: gets the version of the library
  69. // Returns: structure containing information about the current version of
  70. // the Intel IPP library for image processing
  71. // Parameters:
  72. //
  73. // Notes: there is no need to release the returned structure
  74. */
  75. IPPAPI( const IppLibraryVersion*, ippiGetLibVersion, (void) )
  76. /* /////////////////////////////////////////////////////////////////////////////
  77. // Memory Allocation Functions
  78. ///////////////////////////////////////////////////////////////////////////// */
  79. /* /////////////////////////////////////////////////////////////////////////////
  80. // Name: ippiMalloc
  81. // Purpose: allocates memory with 32-byte aligned pointer for ippIP images,
  82. // every line of the image is aligned due to the padding characterized
  83. // by pStepBytes
  84. // Parameter:
  85. // widthPixels width of image in pixels
  86. // heightPixels height of image in pixels
  87. // pStepBytes pointer to the image step, it is an output parameter
  88. // calculated by the function
  89. //
  90. // Returns: pointer to the allocated memory or NULL if out of memory or wrong parameters
  91. // Notes: free the allocated memory using the function ippiFree only
  92. */
  93. IPPAPI( Ipp8u*, ippiMalloc_8u_C1, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  94. IPPAPI( Ipp16u*, ippiMalloc_16u_C1, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  95. IPPAPI( Ipp16s*, ippiMalloc_16s_C1, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  96. IPPAPI( Ipp32s*, ippiMalloc_32s_C1, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  97. IPPAPI( Ipp32f*, ippiMalloc_32f_C1, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  98. IPPAPI( Ipp32sc*, ippiMalloc_32sc_C1, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  99. IPPAPI( Ipp32fc*, ippiMalloc_32fc_C1, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  100. IPPAPI( Ipp8u*, ippiMalloc_8u_C2, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  101. IPPAPI( Ipp16u*, ippiMalloc_16u_C2, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  102. IPPAPI( Ipp16s*, ippiMalloc_16s_C2, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  103. IPPAPI( Ipp32s*, ippiMalloc_32s_C2, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  104. IPPAPI( Ipp32f*, ippiMalloc_32f_C2, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  105. IPPAPI( Ipp32sc*, ippiMalloc_32sc_C2, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  106. IPPAPI( Ipp32fc*, ippiMalloc_32fc_C2, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  107. IPPAPI( Ipp8u*, ippiMalloc_8u_C3, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  108. IPPAPI( Ipp16u*, ippiMalloc_16u_C3, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  109. IPPAPI( Ipp16s*, ippiMalloc_16s_C3, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  110. IPPAPI( Ipp32s*, ippiMalloc_32s_C3, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  111. IPPAPI( Ipp32f*, ippiMalloc_32f_C3, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  112. IPPAPI( Ipp32sc*, ippiMalloc_32sc_C3, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  113. IPPAPI( Ipp32fc*, ippiMalloc_32fc_C3, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  114. IPPAPI( Ipp8u*, ippiMalloc_8u_C4, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  115. IPPAPI( Ipp16u*, ippiMalloc_16u_C4, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  116. IPPAPI( Ipp16s*, ippiMalloc_16s_C4, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  117. IPPAPI( Ipp32s*, ippiMalloc_32s_C4, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  118. IPPAPI( Ipp32f*, ippiMalloc_32f_C4, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  119. IPPAPI( Ipp32sc*, ippiMalloc_32sc_C4, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  120. IPPAPI( Ipp32fc*, ippiMalloc_32fc_C4, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  121. IPPAPI( Ipp8u*, ippiMalloc_8u_AC4, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  122. IPPAPI( Ipp16u*, ippiMalloc_16u_AC4, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  123. IPPAPI( Ipp16s*, ippiMalloc_16s_AC4, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  124. IPPAPI( Ipp32s*, ippiMalloc_32s_AC4, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  125. IPPAPI( Ipp32f*, ippiMalloc_32f_AC4, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  126. IPPAPI( Ipp32sc*, ippiMalloc_32sc_AC4, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  127. IPPAPI( Ipp32fc*, ippiMalloc_32fc_AC4, ( int widthPixels, int heightPixels, int* pStepBytes ) )
  128. /* /////////////////////////////////////////////////////////////////////////////
  129. // Name: ippiFree
  130. // Purpose: frees memory allocated by the ippiMalloc functions
  131. // Parameter:
  132. // ptr pointer to the memory allocated by the ippiMalloc functions
  133. //
  134. // Notes: use this function to free memory allocated by ippiMalloc
  135. */
  136. IPPAPI( void, ippiFree, (void* ptr) )
  137. /* ///////////////////////////////////////////////////////////////////////////////////////
  138. // Arithmetic Functions
  139. ///////////////////////////////////////////////////////////////////////////// */
  140. /* ///////////////////////////////////////////////////////////////////////////////////////
  141. // Name: ippiAdd_8u_C1RSfs, ippiAdd_8u_C3RSfs, ippiAdd_8u_C4RSfs, ippiAdd_8u_AC4RSfs,
  142. // ippiAdd_16s_C1RSfs, ippiAdd_16s_C3RSfs, ippiAdd_16s_C4RSfs, ippiAdd_16s_AC4RSfs,
  143. // ippiAdd_16u_C1RSfs, ippiAdd_16u_C3RSfs, ippiAdd_16u_C4RSfs, ippiAdd_16u_AC4RSfs,
  144. // ippiSub_8u_C1RSfs, ippiSub_8u_C3RSfs, ippiSub_8u_C4RSfs, ippiSub_8u_AC4RSfs,
  145. // ippiSub_16s_C1RSfs, ippiSub_16s_C3RSfs, ippiSub_16s_C4RSfs, ippiSub_16s_AC4RSfs,
  146. // ippiSub_16u_C1RSfs, ippiSub_16u_C3RSfs, ippiSub_16u_C4RSfs, ippiSub_16u_AC4RSfs,
  147. // ippiMul_8u_C1RSfs, ippiMul_8u_C3RSfs, ippiMul_8u_C4RSfs, ippiMul_8u_AC4RSfs,
  148. // ippiMul_16s_C1RSfs, ippiMul_16s_C3RSfs, ippiMul_16s_C4RSfs, ippiMul_16s_AC4RSfs
  149. // ippiMul_16u_C1RSfs, ippiMul_16u_C3RSfs, ippiMul_16u_C4RSfs, ippiMul_16u_AC4RSfs
  150. //
  151. // Purpose: Adds, subtracts, or multiplies pixel values of two
  152. // source images and places the scaled result in the destination image.
  153. //
  154. // Returns:
  155. // ippStsNoErr OK
  156. // ippStsNullPtrErr One of the pointers is NULL
  157. // ippStsSizeErr Width or height of images is less than or equal to zero
  158. //
  159. // Parameters:
  160. // pSrc1, pSrc2 Pointers to the source images
  161. // src1Step, src2Step Steps through the source images
  162. // pDst Pointer to the destination image
  163. // dstStep Step through the destination image
  164. // roiSize Size of the ROI
  165. // scaleFactor Scale factor
  166. */
  167. IPPAPI(IppStatus, ippiAdd_8u_C1RSfs, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2,
  168. int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  169. int scaleFactor))
  170. IPPAPI(IppStatus, ippiAdd_8u_C3RSfs, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2,
  171. int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  172. int scaleFactor))
  173. IPPAPI(IppStatus, ippiAdd_8u_C4RSfs, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2,
  174. int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  175. int scaleFactor))
  176. IPPAPI(IppStatus, ippiAdd_8u_AC4RSfs, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2,
  177. int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  178. int scaleFactor))
  179. IPPAPI(IppStatus, ippiAdd_16s_C1RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2,
  180. int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  181. int scaleFactor))
  182. IPPAPI(IppStatus, ippiAdd_16s_C3RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2,
  183. int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  184. int scaleFactor))
  185. IPPAPI(IppStatus, ippiAdd_16s_C4RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2,
  186. int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  187. int scaleFactor))
  188. IPPAPI(IppStatus, ippiAdd_16s_AC4RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2,
  189. int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  190. int scaleFactor))
  191. IPPAPI(IppStatus, ippiAdd_16u_C1RSfs, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2,
  192. int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  193. int scaleFactor))
  194. IPPAPI(IppStatus, ippiAdd_16u_C3RSfs, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2,
  195. int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  196. int scaleFactor))
  197. IPPAPI(IppStatus, ippiAdd_16u_C4RSfs, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2,
  198. int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  199. int scaleFactor))
  200. IPPAPI(IppStatus, ippiAdd_16u_AC4RSfs, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2,
  201. int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  202. int scaleFactor))
  203. IPPAPI(IppStatus, ippiSub_8u_C1RSfs, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2,
  204. int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  205. int scaleFactor))
  206. IPPAPI(IppStatus, ippiSub_8u_C3RSfs, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2,
  207. int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  208. int scaleFactor))
  209. IPPAPI(IppStatus, ippiSub_8u_C4RSfs, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2,
  210. int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  211. int scaleFactor))
  212. IPPAPI(IppStatus, ippiSub_8u_AC4RSfs, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2,
  213. int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  214. int scaleFactor))
  215. IPPAPI(IppStatus, ippiSub_16s_C1RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2,
  216. int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  217. int scaleFactor))
  218. IPPAPI(IppStatus, ippiSub_16s_C3RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2,
  219. int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  220. int scaleFactor))
  221. IPPAPI(IppStatus, ippiSub_16s_C4RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2,
  222. int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  223. int scaleFactor))
  224. IPPAPI(IppStatus, ippiSub_16s_AC4RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2,
  225. int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  226. int scaleFactor))
  227. IPPAPI(IppStatus, ippiSub_16u_C1RSfs, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2,
  228. int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  229. int scaleFactor))
  230. IPPAPI(IppStatus, ippiSub_16u_C3RSfs, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2,
  231. int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  232. int scaleFactor))
  233. IPPAPI(IppStatus, ippiSub_16u_C4RSfs, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2,
  234. int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  235. int scaleFactor))
  236. IPPAPI(IppStatus, ippiSub_16u_AC4RSfs, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2,
  237. int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  238. int scaleFactor))
  239. IPPAPI(IppStatus, ippiMul_8u_C1RSfs, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2,
  240. int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  241. int scaleFactor))
  242. IPPAPI(IppStatus, ippiMul_8u_C3RSfs, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2,
  243. int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  244. int scaleFactor))
  245. IPPAPI(IppStatus, ippiMul_8u_C4RSfs, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2,
  246. int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  247. int scaleFactor))
  248. IPPAPI(IppStatus, ippiMul_8u_AC4RSfs, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2,
  249. int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  250. int scaleFactor))
  251. IPPAPI(IppStatus, ippiMul_16s_C1RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2,
  252. int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  253. int scaleFactor))
  254. IPPAPI(IppStatus, ippiMul_16s_C3RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2,
  255. int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  256. int scaleFactor))
  257. IPPAPI(IppStatus, ippiMul_16s_C4RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2,
  258. int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  259. int scaleFactor))
  260. IPPAPI(IppStatus, ippiMul_16s_AC4RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2,
  261. int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  262. int scaleFactor))
  263. IPPAPI(IppStatus, ippiMul_16u_C1RSfs, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2,
  264. int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  265. int scaleFactor))
  266. IPPAPI(IppStatus, ippiMul_16u_C3RSfs, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2,
  267. int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  268. int scaleFactor))
  269. IPPAPI(IppStatus, ippiMul_16u_C4RSfs, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2,
  270. int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  271. int scaleFactor))
  272. IPPAPI(IppStatus, ippiMul_16u_AC4RSfs, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2,
  273. int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  274. int scaleFactor))
  275. /* //////////////////////////////////////////////////////////////////////////////////////////////
  276. // Name: ippiAddC_8u_C1IRSfs, ippiAddC_8u_C3IRSfs, ippiAddC_8u_C4IRSfs, ippiAddC_8u_AC4IRSfs,
  277. // ippiAddC_16s_C1IRSfs, ippiAddC_16s_C3IRSfs, ippiAddC_16s_C4IRSfs, ippiAddC_16s_AC4IRSfs,
  278. // ippiAddC_16u_C1IRSfs, ippiAddC_16u_C3IRSfs, ippiAddC_16u_C4IRSfs, ippiAddC_16u_AC4IRSfs,
  279. // ippiSubC_8u_C1IRSfs, ippiSubC_8u_C3IRSfs, ippiSubC_8u_C4IRSfs, ippiSubC_8u_AC4IRSfs,
  280. // ippiSubC_16s_C1IRSfs, ippiSubC_16s_C3IRSfs, ippiSubC_16s_C4IRSfs, ippiSubC_16s_AC4IRSfs,
  281. // ippiSubC_16u_C1IRSfs, ippiSubC_16u_C3IRSfs, ippiSubC_16u_C4IRSfs, ippiSubC_16u_AC4IRSfs,
  282. // ippiMulC_8u_C1IRSfs, ippiMulC_8u_C3IRSfs, ippiMulC_8u_C4IRSfs, ippiMulC_8u_AC4IRSfs,
  283. // ippiMulC_16s_C1IRSfs, ippiMulC_16s_C3IRSfs, ippiMulC_16s_C4IRSfs, ippiMulC_16s_AC4IRSfs
  284. // ippiMulC_16u_C1IRSfs, ippiMulC_16u_C3IRSfs, ippiMulC_16u_C4IRSfs, ippiMulC_16u_AC4IRSfs
  285. //
  286. // Purpose: Adds, subtracts, or multiplies pixel values of an image and a constant
  287. // and places the scaled results in the same image.
  288. //
  289. // Returns:
  290. // ippStsNoErr OK
  291. // ippStsNullPtrErr Pointer is NULL
  292. // ippStsSizeErr Width or height of an image is less than or equal to zero
  293. //
  294. // Parameters:
  295. // value Constant value (constant vector for multi-channel images)
  296. // pSrcDst Pointer to the image
  297. // srcDstStep Step through the image
  298. // roiSize Size of the ROI
  299. // scaleFactor Scale factor
  300. */
  301. IPPAPI(IppStatus, ippiAddC_8u_C1IRSfs, (Ipp8u value, Ipp8u* pSrcDst, int srcDstStep,
  302. IppiSize roiSize, int scaleFactor))
  303. IPPAPI(IppStatus, ippiAddC_8u_C3IRSfs, (const Ipp8u value[3], Ipp8u* pSrcDst, int srcDstStep,
  304. IppiSize roiSize, int scaleFactor))
  305. IPPAPI(IppStatus, ippiAddC_8u_C4IRSfs, (const Ipp8u value[4], Ipp8u* pSrcDst, int srcDstStep,
  306. IppiSize roiSize, int scaleFactor))
  307. IPPAPI(IppStatus, ippiAddC_8u_AC4IRSfs, (const Ipp8u value[3], Ipp8u* pSrcDst, int srcDstStep,
  308. IppiSize roiSize, int scaleFactor))
  309. IPPAPI(IppStatus, ippiAddC_16s_C1IRSfs, (Ipp16s value, Ipp16s* pSrcDst, int srcDstStep,
  310. IppiSize roiSize, int scaleFactor))
  311. IPPAPI(IppStatus, ippiAddC_16s_C3IRSfs, (const Ipp16s value[3], Ipp16s* pSrcDst, int srcDstStep,
  312. IppiSize roiSize, int scaleFactor))
  313. IPPAPI(IppStatus, ippiAddC_16s_C4IRSfs, (const Ipp16s value[4], Ipp16s* pSrcDst, int srcDstStep,
  314. IppiSize roiSize, int scaleFactor))
  315. IPPAPI(IppStatus, ippiAddC_16s_AC4IRSfs, (const Ipp16s value[3], Ipp16s* pSrcDst, int srcDstStep,
  316. IppiSize roiSize, int scaleFactor))
  317. IPPAPI(IppStatus, ippiAddC_16u_C1IRSfs, (Ipp16u value, Ipp16u* pSrcDst, int srcDstStep,
  318. IppiSize roiSize, int scaleFactor))
  319. IPPAPI(IppStatus, ippiAddC_16u_C3IRSfs, (const Ipp16u value[3], Ipp16u* pSrcDst, int srcDstStep,
  320. IppiSize roiSize, int scaleFactor))
  321. IPPAPI(IppStatus, ippiAddC_16u_C4IRSfs, (const Ipp16u value[4], Ipp16u* pSrcDst, int srcDstStep,
  322. IppiSize roiSize, int scaleFactor))
  323. IPPAPI(IppStatus, ippiAddC_16u_AC4IRSfs, (const Ipp16u value[3], Ipp16u* pSrcDst, int srcDstStep,
  324. IppiSize roiSize, int scaleFactor))
  325. IPPAPI(IppStatus, ippiSubC_8u_C1IRSfs, (Ipp8u value, Ipp8u* pSrcDst, int srcDstStep,
  326. IppiSize roiSize, int scaleFactor))
  327. IPPAPI(IppStatus, ippiSubC_8u_C3IRSfs, (const Ipp8u value[3], Ipp8u* pSrcDst, int srcDstStep,
  328. IppiSize roiSize, int scaleFactor))
  329. IPPAPI(IppStatus, ippiSubC_8u_C4IRSfs, (const Ipp8u value[4], Ipp8u* pSrcDst, int srcDstStep,
  330. IppiSize roiSize, int scaleFactor))
  331. IPPAPI(IppStatus, ippiSubC_8u_AC4IRSfs, (const Ipp8u value[3], Ipp8u* pSrcDst, int srcDstStep,
  332. IppiSize roiSize, int scaleFactor))
  333. IPPAPI(IppStatus, ippiSubC_16s_C1IRSfs, (Ipp16s value, Ipp16s* pSrcDst, int srcDstStep,
  334. IppiSize roiSize, int scaleFactor))
  335. IPPAPI(IppStatus, ippiSubC_16s_C3IRSfs, (const Ipp16s value[3], Ipp16s* pSrcDst, int srcDstStep,
  336. IppiSize roiSize, int scaleFactor))
  337. IPPAPI(IppStatus, ippiSubC_16s_C4IRSfs, (const Ipp16s value[4], Ipp16s* pSrcDst, int srcDstStep,
  338. IppiSize roiSize, int scaleFactor))
  339. IPPAPI(IppStatus, ippiSubC_16s_AC4IRSfs, (const Ipp16s value[3], Ipp16s* pSrcDst, int srcDstStep,
  340. IppiSize roiSize, int scaleFactor))
  341. IPPAPI(IppStatus, ippiSubC_16u_C1IRSfs, (Ipp16u value, Ipp16u* pSrcDst, int srcDstStep,
  342. IppiSize roiSize, int scaleFactor))
  343. IPPAPI(IppStatus, ippiSubC_16u_C3IRSfs, (const Ipp16u value[3], Ipp16u* pSrcDst, int srcDstStep,
  344. IppiSize roiSize, int scaleFactor))
  345. IPPAPI(IppStatus, ippiSubC_16u_C4IRSfs, (const Ipp16u value[4], Ipp16u* pSrcDst, int srcDstStep,
  346. IppiSize roiSize, int scaleFactor))
  347. IPPAPI(IppStatus, ippiSubC_16u_AC4IRSfs, (const Ipp16u value[3], Ipp16u* pSrcDst, int srcDstStep,
  348. IppiSize roiSize, int scaleFactor))
  349. IPPAPI(IppStatus, ippiMulC_8u_C1IRSfs, (Ipp8u value, Ipp8u* pSrcDst, int srcDstStep,
  350. IppiSize roiSize, int scaleFactor))
  351. IPPAPI(IppStatus, ippiMulC_8u_C3IRSfs, (const Ipp8u value[3], Ipp8u* pSrcDst, int srcDstStep,
  352. IppiSize roiSize, int scaleFactor))
  353. IPPAPI(IppStatus, ippiMulC_8u_C4IRSfs, (const Ipp8u value[4], Ipp8u* pSrcDst, int srcDstStep,
  354. IppiSize roiSize, int scaleFactor))
  355. IPPAPI(IppStatus, ippiMulC_8u_AC4IRSfs, (const Ipp8u value[3], Ipp8u* pSrcDst, int srcDstStep,
  356. IppiSize roiSize, int scaleFactor))
  357. IPPAPI(IppStatus, ippiMulC_16s_C1IRSfs, (Ipp16s value, Ipp16s* pSrcDst, int srcDstStep,
  358. IppiSize roiSize, int scaleFactor))
  359. IPPAPI(IppStatus, ippiMulC_16s_C3IRSfs, (const Ipp16s value[3], Ipp16s* pSrcDst, int srcDstStep,
  360. IppiSize roiSize, int scaleFactor))
  361. IPPAPI(IppStatus, ippiMulC_16s_C4IRSfs, (const Ipp16s value[4], Ipp16s* pSrcDst, int srcDstStep,
  362. IppiSize roiSize, int scaleFactor))
  363. IPPAPI(IppStatus, ippiMulC_16s_AC4IRSfs, (const Ipp16s value[3], Ipp16s* pSrcDst, int srcDstStep,
  364. IppiSize roiSize, int scaleFactor))
  365. IPPAPI(IppStatus, ippiMulC_16u_C1IRSfs, (Ipp16u value, Ipp16u* pSrcDst, int srcDstStep,
  366. IppiSize roiSize, int scaleFactor))
  367. IPPAPI(IppStatus, ippiMulC_16u_C3IRSfs, (const Ipp16u value[3], Ipp16u* pSrcDst, int srcDstStep,
  368. IppiSize roiSize, int scaleFactor))
  369. IPPAPI(IppStatus, ippiMulC_16u_C4IRSfs, (const Ipp16u value[4], Ipp16u* pSrcDst, int srcDstStep,
  370. IppiSize roiSize, int scaleFactor))
  371. IPPAPI(IppStatus, ippiMulC_16u_AC4IRSfs, (const Ipp16u value[3], Ipp16u* pSrcDst, int srcDstStep,
  372. IppiSize roiSize, int scaleFactor))
  373. /* /////////////////////////////////////////////////////////////////////////////////////////////
  374. // Name: ippiAddC_8u_C1RSfs, ippiAddC_8u_C3RSfs, ippiAddC_8u_C4RSfs ippiAddC_8u_AC4RSfs,
  375. // ippiAddC_16s_C1RSfs, ippiAddC_16s_C3RSfs, ippiAddC_16s_C4RSfs, ippiAddC_16s_AC4RSfs,
  376. // ippiAddC_16u_C1RSfs, ippiAddC_16u_C3RSfs, ippiAddC_16u_C4RSfs, ippiAddC_16u_AC4RSfs,
  377. // ippiSubC_8u_C1RSfs, ippiSubC_8u_C3RSfs, ippiSubC_8u_C4RSfs, ippiSubC_8u_AC4RSfs,
  378. // ippiSubC_16s_C1RSfs, ippiSubC_16s_C3RSfs, ippiSubC_16s_C4RSfs, ippiSubC_16s_AC4RSfs,
  379. // ippiSubC_16u_C1RSfs, ippiSubC_16u_C3RSfs, ippiSubC_16u_C4RSfs, ippiSubC_16u_AC4RSfs,
  380. // ippiMulC_8u_C1RSfs, ippiMulC_8u_C3RSfs, ippiMulC_8u_C4RSfs, ippiMulC_8u_AC4RSfs,
  381. // ippiMulC_16s_C1RSfs, ippiMulC_16s_C3RSfs, ippiMulC_16s_C4RSfs, ippiMulC_16s_AC4RSfs
  382. // ippiMulC_16u_C1RSfs, ippiMulC_16u_C3RSfs, ippiMulC_16u_C4RSfs, ippiMulC_16u_AC4RSfs
  383. //
  384. // Purpose: Adds, subtracts, or multiplies pixel values of a source image
  385. // and a constant, and places the scaled results in the destination image.
  386. //
  387. // Returns:
  388. // ippStsNoErr OK
  389. // ippStsNullPtrErr One of the pointers is NULL
  390. // ippStsSizeErr Width or height of images is less than or equal to zero
  391. //
  392. // Parameters:
  393. // value Constant value (constant vector for multi-channel images)
  394. // pSrc Pointer to the source image
  395. // srcStep Step through the source image
  396. // pDst Pointer to the destination image
  397. // dstStep Step through the destination image
  398. // roiSize Size of the ROI
  399. // scaleFactor Scale factor
  400. */
  401. IPPAPI(IppStatus, ippiAddC_8u_C1RSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u value, Ipp8u* pDst,
  402. int dstStep, IppiSize roiSize, int scaleFactor))
  403. IPPAPI(IppStatus, ippiAddC_8u_C3RSfs, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[3],
  404. Ipp8u* pDst, int dstStep, IppiSize roiSize,
  405. int scaleFactor))
  406. IPPAPI(IppStatus, ippiAddC_8u_C4RSfs, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[4],
  407. Ipp8u* pDst, int dstStep, IppiSize roiSize,
  408. int scaleFactor))
  409. IPPAPI(IppStatus, ippiAddC_8u_AC4RSfs, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[3],
  410. Ipp8u* pDst, int dstStep, IppiSize roiSize,
  411. int scaleFactor))
  412. IPPAPI(IppStatus, ippiAddC_16s_C1RSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s value, Ipp16s* pDst,
  413. int dstStep, IppiSize roiSize, int scaleFactor))
  414. IPPAPI(IppStatus, ippiAddC_16s_C3RSfs, (const Ipp16s* pSrc, int srcStep, const Ipp16s value[3],
  415. Ipp16s* pDst, int dstStep, IppiSize roiSize,
  416. int scaleFactor))
  417. IPPAPI(IppStatus, ippiAddC_16s_C4RSfs, (const Ipp16s* pSrc, int srcStep, const Ipp16s value[4],
  418. Ipp16s* pDst, int dstStep, IppiSize roiSize,
  419. int scaleFactor))
  420. IPPAPI(IppStatus, ippiAddC_16s_AC4RSfs, (const Ipp16s* pSrc, int srcStep, const Ipp16s value[3],
  421. Ipp16s* pDst, int dstStep, IppiSize roiSize,
  422. int scaleFactor))
  423. IPPAPI(IppStatus, ippiAddC_16u_C1RSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u value, Ipp16u* pDst,
  424. int dstStep, IppiSize roiSize, int scaleFactor))
  425. IPPAPI(IppStatus, ippiAddC_16u_C3RSfs, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3],
  426. Ipp16u* pDst, int dstStep, IppiSize roiSize,
  427. int scaleFactor))
  428. IPPAPI(IppStatus, ippiAddC_16u_C4RSfs, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[4],
  429. Ipp16u* pDst, int dstStep, IppiSize roiSize,
  430. int scaleFactor))
  431. IPPAPI(IppStatus, ippiAddC_16u_AC4RSfs, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3],
  432. Ipp16u* pDst, int dstStep, IppiSize roiSize,
  433. int scaleFactor))
  434. IPPAPI(IppStatus, ippiSubC_8u_C1RSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u value, Ipp8u* pDst,
  435. int dstStep, IppiSize roiSize, int scaleFactor))
  436. IPPAPI(IppStatus, ippiSubC_8u_C3RSfs, (const Ipp8u* pSrc, int srcStep ,const Ipp8u value[3],
  437. Ipp8u* pDst, int dstStep, IppiSize roiSize,
  438. int scaleFactor))
  439. IPPAPI(IppStatus, ippiSubC_8u_C4RSfs, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[4],
  440. Ipp8u* pDst, int dstStep, IppiSize roiSize,
  441. int scaleFactor))
  442. IPPAPI(IppStatus, ippiSubC_8u_AC4RSfs, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[3],
  443. Ipp8u* pDst, int dstStep, IppiSize roiSize,
  444. int scaleFactor))
  445. IPPAPI(IppStatus, ippiSubC_16s_C1RSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s value, Ipp16s* pDst,
  446. int dstStep, IppiSize roiSize, int scaleFactor))
  447. IPPAPI(IppStatus, ippiSubC_16s_C3RSfs, (const Ipp16s* pSrc, int srcStep, const Ipp16s value[3],
  448. Ipp16s* pDst, int dstStep, IppiSize roiSize,
  449. int scaleFactor))
  450. IPPAPI(IppStatus, ippiSubC_16s_C4RSfs, (const Ipp16s* pSrc, int srcStep, const Ipp16s value[4],
  451. Ipp16s* pDst, int dstStep, IppiSize roiSize,
  452. int scaleFactor))
  453. IPPAPI(IppStatus, ippiSubC_16s_AC4RSfs, (const Ipp16s* pSrc, int srcStep, const Ipp16s value[3],
  454. Ipp16s* pDst, int dstStep, IppiSize roiSize,
  455. int scaleFactor))
  456. IPPAPI(IppStatus, ippiSubC_16u_C1RSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u value, Ipp16u* pDst,
  457. int dstStep, IppiSize roiSize, int scaleFactor))
  458. IPPAPI(IppStatus, ippiSubC_16u_C3RSfs, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3],
  459. Ipp16u* pDst, int dstStep, IppiSize roiSize,
  460. int scaleFactor))
  461. IPPAPI(IppStatus, ippiSubC_16u_C4RSfs, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[4],
  462. Ipp16u* pDst, int dstStep, IppiSize roiSize,
  463. int scaleFactor))
  464. IPPAPI(IppStatus, ippiSubC_16u_AC4RSfs, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3],
  465. Ipp16u* pDst, int dstStep, IppiSize roiSize,
  466. int scaleFactor))
  467. IPPAPI(IppStatus, ippiMulC_8u_C1RSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u value, Ipp8u* pDst,
  468. int dstStep, IppiSize roiSize, int scaleFactor))
  469. IPPAPI(IppStatus, ippiMulC_8u_C3RSfs, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[3],
  470. Ipp8u* pDst, int dstStep, IppiSize roiSize,
  471. int scaleFactor))
  472. IPPAPI(IppStatus, ippiMulC_8u_C4RSfs, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[4],
  473. Ipp8u* pDst, int dstStep, IppiSize roiSize,
  474. int scaleFactor))
  475. IPPAPI(IppStatus, ippiMulC_8u_AC4RSfs, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[3],
  476. Ipp8u* pDst, int dstStep, IppiSize roiSize,
  477. int scaleFactor))
  478. IPPAPI(IppStatus, ippiMulC_16s_C1RSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s value, Ipp16s* pDst,
  479. int dstStep, IppiSize roiSize, int scaleFactor))
  480. IPPAPI(IppStatus, ippiMulC_16s_C3RSfs, (const Ipp16s* pSrc, int srcStep, const Ipp16s value[3],
  481. Ipp16s* pDst, int dstStep, IppiSize roiSize,
  482. int scaleFactor))
  483. IPPAPI(IppStatus, ippiMulC_16s_C4RSfs, (const Ipp16s* pSrc, int srcStep, const Ipp16s value[4],
  484. Ipp16s* pDst, int dstStep, IppiSize roiSize,
  485. int scaleFactor))
  486. IPPAPI(IppStatus, ippiMulC_16s_AC4RSfs, (const Ipp16s* pSrc, int srcStep, const Ipp16s value[3],
  487. Ipp16s* pDst, int dstStep, IppiSize roiSize,
  488. int scaleFactor))
  489. IPPAPI(IppStatus, ippiMulC_16u_C1RSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u value, Ipp16u* pDst,
  490. int dstStep, IppiSize roiSize, int scaleFactor))
  491. IPPAPI(IppStatus, ippiMulC_16u_C3RSfs, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3],
  492. Ipp16u* pDst, int dstStep, IppiSize roiSize,
  493. int scaleFactor))
  494. IPPAPI(IppStatus, ippiMulC_16u_C4RSfs, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[4],
  495. Ipp16u* pDst, int dstStep, IppiSize roiSize,
  496. int scaleFactor))
  497. IPPAPI(IppStatus, ippiMulC_16u_AC4RSfs, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3],
  498. Ipp16u* pDst, int dstStep, IppiSize roiSize,
  499. int scaleFactor))
  500. /* ////////////////////////////////////////////////////////////////////////////////////////////
  501. // Name: ippiAdd_8u_C1IRSfs, ippiAdd_8u_C3IRSfs, ippiAdd_8u_C4IRSfs, ippiAdd_8u_AC4IRSfs,
  502. // ippiAdd_16s_C1IRSfs, ippiAdd_16s_C3IRSfs, ippiAdd_16s_C4IRSfs, ippiAdd_16s_AC4IRSfs,
  503. // ippiAdd_16u_C1IRSfs, ippiAdd_16u_C3IRSfs, ippiAdd_16u_C4IRSfs, ippiAdd_16u_AC4IRSfs,
  504. // ippiSub_8u_C1IRSfs, ippiSub_8u_C3IRSfs, ippiSub_8u_C4IRSfs, ippiSub_8u_AC4IRSfs,
  505. // ippiSub_16s_C1IRSfs, ippiSub_16s_C3IRSfs, ippiSub_16s_C4IRSfs ippiSub_16s_AC4IRSfs,
  506. // ippiSub_16u_C1IRSfs, ippiSub_16u_C3IRSfs, ippiSub_16u_C4IRSfs ippiSub_16u_AC4IRSfs,
  507. // ippiMul_8u_C1IRSfs, ippiMul_8u_C3IRSfs, ippiMul_8u_C4IRSfs, ippiMul_8u_AC4IRSfs,
  508. // ippiMul_16s_C1IRSfs, ippiMul_16s_C3IRSfs, ippiMul_16s_C4IRSfs, ippiMul_16s_AC4IRSfs
  509. // ippiMul_16u_C1IRSfs, ippiMul_16u_C3IRSfs, ippiMul_16u_C4IRSfs, ippiMul_16u_AC4IRSfs
  510. //
  511. // Purpose: Adds, subtracts, or multiplies pixel values of two source images
  512. // and places the scaled results in the first source image.
  513. //
  514. // Returns:
  515. // ippStsNoErr OK
  516. // ippStsNullPtrErr One of the pointers is NULL
  517. // ippStsSizeErr Width or height of images is less than or equal to zero
  518. //
  519. // Parameters:
  520. // pSrc Pointer to the second source image
  521. // srcStep Step through the second source image
  522. // pSrcDst Pointer to the first source/destination image
  523. // srcDstStep Step through the first source/destination image
  524. // roiSize Size of the ROI
  525. // scaleFactor Scale factor
  526. */
  527. IPPAPI(IppStatus, ippiAdd_8u_C1IRSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  528. int srcDstStep, IppiSize roiSize, int scaleFactor))
  529. IPPAPI(IppStatus, ippiAdd_8u_C3IRSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  530. int srcDstStep, IppiSize roiSize, int scaleFactor))
  531. IPPAPI(IppStatus, ippiAdd_8u_C4IRSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  532. int srcDstStep, IppiSize roiSize, int scaleFactor))
  533. IPPAPI(IppStatus, ippiAdd_8u_AC4IRSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  534. int srcDstStep, IppiSize roiSize, int scaleFactor))
  535. IPPAPI(IppStatus, ippiAdd_16s_C1IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  536. int srcDstStep, IppiSize roiSize, int scaleFactor))
  537. IPPAPI(IppStatus, ippiAdd_16s_C3IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  538. int srcDstStep, IppiSize roiSize, int scaleFactor))
  539. IPPAPI(IppStatus, ippiAdd_16s_C4IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  540. int srcDstStep, IppiSize roiSize, int scaleFactor))
  541. IPPAPI(IppStatus, ippiAdd_16s_AC4IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  542. int srcDstStep, IppiSize roiSize, int scaleFactor))
  543. IPPAPI(IppStatus, ippiAdd_16u_C1IRSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  544. int srcDstStep, IppiSize roiSize, int scaleFactor))
  545. IPPAPI(IppStatus, ippiAdd_16u_C3IRSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  546. int srcDstStep, IppiSize roiSize, int scaleFactor))
  547. IPPAPI(IppStatus, ippiAdd_16u_C4IRSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  548. int srcDstStep, IppiSize roiSize, int scaleFactor))
  549. IPPAPI(IppStatus, ippiAdd_16u_AC4IRSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  550. int srcDstStep, IppiSize roiSize, int scaleFactor))
  551. IPPAPI(IppStatus, ippiSub_8u_C1IRSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  552. int srcDstStep, IppiSize roiSize, int scaleFactor))
  553. IPPAPI(IppStatus, ippiSub_8u_C3IRSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  554. int srcDstStep, IppiSize roiSize, int scaleFactor))
  555. IPPAPI(IppStatus, ippiSub_8u_C4IRSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  556. int srcDstStep, IppiSize roiSize, int scaleFactor))
  557. IPPAPI(IppStatus, ippiSub_8u_AC4IRSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  558. int srcDstStep, IppiSize roiSize, int scaleFactor))
  559. IPPAPI(IppStatus, ippiSub_16s_C1IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  560. int srcDstStep, IppiSize roiSize, int scaleFactor))
  561. IPPAPI(IppStatus, ippiSub_16s_C3IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  562. int srcDstStep, IppiSize roiSize, int scaleFactor))
  563. IPPAPI(IppStatus, ippiSub_16s_C4IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  564. int srcDstStep, IppiSize roiSize, int scaleFactor))
  565. IPPAPI(IppStatus, ippiSub_16s_AC4IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  566. int srcDstStep, IppiSize roiSize, int scaleFactor))
  567. IPPAPI(IppStatus, ippiSub_16u_C1IRSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  568. int srcDstStep, IppiSize roiSize, int scaleFactor))
  569. IPPAPI(IppStatus, ippiSub_16u_C3IRSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  570. int srcDstStep, IppiSize roiSize, int scaleFactor))
  571. IPPAPI(IppStatus, ippiSub_16u_C4IRSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  572. int srcDstStep, IppiSize roiSize, int scaleFactor))
  573. IPPAPI(IppStatus, ippiSub_16u_AC4IRSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  574. int srcDstStep, IppiSize roiSize, int scaleFactor))
  575. IPPAPI(IppStatus, ippiMul_8u_C1IRSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  576. int srcDstStep, IppiSize roiSize, int scaleFactor))
  577. IPPAPI(IppStatus, ippiMul_8u_C3IRSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  578. int srcDstStep, IppiSize roiSize, int scaleFactor))
  579. IPPAPI(IppStatus, ippiMul_8u_C4IRSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  580. int srcDstStep, IppiSize roiSize, int scaleFactor))
  581. IPPAPI(IppStatus, ippiMul_8u_AC4IRSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  582. int srcDstStep, IppiSize roiSize, int scaleFactor))
  583. IPPAPI(IppStatus, ippiMul_16s_C1IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  584. int srcDstStep, IppiSize roiSize, int scaleFactor))
  585. IPPAPI(IppStatus, ippiMul_16s_C3IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  586. int srcDstStep, IppiSize roiSize, int scaleFactor))
  587. IPPAPI(IppStatus, ippiMul_16s_C4IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  588. int srcDstStep, IppiSize roiSize, int scaleFactor))
  589. IPPAPI(IppStatus, ippiMul_16s_AC4IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  590. int srcDstStep, IppiSize roiSize, int scaleFactor))
  591. IPPAPI(IppStatus, ippiMul_16u_C1IRSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  592. int srcDstStep, IppiSize roiSize, int scaleFactor))
  593. IPPAPI(IppStatus, ippiMul_16u_C3IRSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  594. int srcDstStep, IppiSize roiSize, int scaleFactor))
  595. IPPAPI(IppStatus, ippiMul_16u_C4IRSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  596. int srcDstStep, IppiSize roiSize, int scaleFactor))
  597. IPPAPI(IppStatus, ippiMul_16u_AC4IRSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  598. int srcDstStep, IppiSize roiSize, int scaleFactor))
  599. /* /////////////////////////////////////////////////////////////////////////////////
  600. // Name: ippiAddC_32f_C1R, ippiAddC_32f_C3R, ippiAddC_32f_C4R, ippiAddC_32f_AC4R,
  601. // ippiSubC_32f_C1R, ippiSubC_32f_C3R, ippiSubC_32f_C4R, ippiSubC_32f_AC4R,
  602. // ippiMulC_32f_C1R, ippiMulC_32f_C3R, ippiMulC_32f_C4R, ippiMulC_32f_AC4R
  603. //
  604. // Purpose: Adds, subtracts, or multiplies pixel values of a source image
  605. // and a constant, and places the results in a destination image.
  606. //
  607. // Returns:
  608. // ippStsNoErr OK
  609. // ippStsNullPtrErr One of the pointers is NULL
  610. // ippStsSizeErr Width or height of images is less than or equal to zero
  611. //
  612. // Parameters:
  613. // value The constant value for the specified operation
  614. // pSrc Pointer to the source image
  615. // srcStep Step through the source image
  616. // pDst Pointer to the destination image
  617. // dstStep Step through the destination image
  618. // roiSize Size of the ROI
  619. */
  620. IPPAPI(IppStatus, ippiAddC_32f_C1R, (const Ipp32f* pSrc, int srcStep, Ipp32f value, Ipp32f* pDst,
  621. int dstStep, IppiSize roiSize))
  622. IPPAPI(IppStatus, ippiAddC_32f_C3R, (const Ipp32f* pSrc, int srcStep, const Ipp32f value[3],
  623. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  624. IPPAPI(IppStatus, ippiAddC_32f_C4R, (const Ipp32f* pSrc, int srcStep, const Ipp32f value[4],
  625. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  626. IPPAPI(IppStatus, ippiAddC_32f_AC4R, (const Ipp32f* pSrc, int srcStep, const Ipp32f value[3],
  627. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  628. IPPAPI(IppStatus, ippiSubC_32f_C1R, (const Ipp32f* pSrc, int srcStep, Ipp32f value, Ipp32f* pDst,
  629. int dstStep, IppiSize roiSize))
  630. IPPAPI(IppStatus, ippiSubC_32f_C3R, (const Ipp32f* pSrc, int srcStep, const Ipp32f value[3],
  631. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  632. IPPAPI(IppStatus, ippiSubC_32f_C4R, (const Ipp32f* pSrc, int srcStep, const Ipp32f value[4],
  633. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  634. IPPAPI(IppStatus, ippiSubC_32f_AC4R, (const Ipp32f* pSrc, int srcStep, const Ipp32f value[3],
  635. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  636. IPPAPI(IppStatus, ippiMulC_32f_C1R, (const Ipp32f* pSrc, int srcStep, Ipp32f value, Ipp32f* pDst,
  637. int dstStep, IppiSize roiSize))
  638. IPPAPI(IppStatus, ippiMulC_32f_C3R, (const Ipp32f* pSrc, int srcStep, const Ipp32f value[3],
  639. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  640. IPPAPI(IppStatus, ippiMulC_32f_C4R, (const Ipp32f* pSrc, int srcStep, const Ipp32f value[4],
  641. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  642. IPPAPI(IppStatus, ippiMulC_32f_AC4R, (const Ipp32f* pSrc, int srcStep, const Ipp32f value[3],
  643. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  644. /* ///////////////////////////////////////////////////////////////////////////////////////
  645. // Name: ippiAddC_32f_C1IR, ippiAddC_32f_C3IR, ippiAddC_32f_C4IR, ippiAddC_32f_AC4IR,
  646. // ippiSubC_32f_C1IR, ippiSubC_32f_C3IR, ippiSubC_32f_C4IR, ippiSubC_32f_AC4IR,
  647. // ippiMulC_32f_C1IR, ippiMulC_32f_C3IR, ippiMulC_32f_C4IR, ippiMulC_32f_AC4IR
  648. //
  649. // Purpose: Adds, subtracts, or multiplies pixel values of an image
  650. // and a constant, and places the results in the same image.
  651. //
  652. // Returns:
  653. // ippStsNoErr OK
  654. // ippStsNullPtrErr Pointer is NULL
  655. // ippStsSizeErr Width or height of an image is less than or equal to zero
  656. //
  657. // Parameters:
  658. // value The constant value for the specified operation
  659. // pSrcDst Pointer to the image
  660. // srcDstStep Step through the image
  661. // roiSize Size of the ROI
  662. */
  663. IPPAPI(IppStatus, ippiAddC_32f_C1IR, (Ipp32f value, Ipp32f* pSrcDst, int srcDstStep,
  664. IppiSize roiSize))
  665. IPPAPI(IppStatus, ippiAddC_32f_C3IR, (const Ipp32f value[3], Ipp32f* pSrcDst, int srcDstStep,
  666. IppiSize roiSize))
  667. IPPAPI(IppStatus, ippiAddC_32f_C4IR, (const Ipp32f value[4], Ipp32f* pSrcDst, int srcDstStep,
  668. IppiSize roiSize))
  669. IPPAPI(IppStatus, ippiAddC_32f_AC4IR, (const Ipp32f value[3], Ipp32f* pSrcDst, int srcDstStep,
  670. IppiSize roiSize))
  671. IPPAPI(IppStatus, ippiSubC_32f_C1IR, (Ipp32f value, Ipp32f* pSrcDst, int srcDstStep,
  672. IppiSize roiSize))
  673. IPPAPI(IppStatus, ippiSubC_32f_C3IR, (const Ipp32f value[3], Ipp32f* pSrcDst, int srcDstStep,
  674. IppiSize roiSize))
  675. IPPAPI(IppStatus, ippiSubC_32f_C4IR, (const Ipp32f value[4], Ipp32f* pSrcDst, int srcDstStep,
  676. IppiSize roiSize))
  677. IPPAPI(IppStatus, ippiSubC_32f_AC4IR, (const Ipp32f value[3], Ipp32f* pSrcDst, int srcDstStep,
  678. IppiSize roiSize))
  679. IPPAPI(IppStatus, ippiMulC_32f_C1IR, (Ipp32f value, Ipp32f* pSrcDst, int srcDstStep,
  680. IppiSize roiSize))
  681. IPPAPI(IppStatus, ippiMulC_32f_C3IR, (const Ipp32f value[3], Ipp32f* pSrcDst, int srcDstStep,
  682. IppiSize roiSize))
  683. IPPAPI(IppStatus, ippiMulC_32f_C4IR, (const Ipp32f value[4], Ipp32f* pSrcDst, int srcDstStep,
  684. IppiSize roiSize))
  685. IPPAPI(IppStatus, ippiMulC_32f_AC4IR, (const Ipp32f value[3], Ipp32f* pSrcDst, int srcDstStep,
  686. IppiSize roiSize))
  687. /* ////////////////////////////////////////////////////////////////////////////////////
  688. // Name: ippiAdd_32f_C1IR, ippiAdd_32f_C3IR, ippiAdd_32f_C4IR, ippiAdd_32f_AC4IR,
  689. // ippiSub_32f_C1IR, ippiSub_32f_C3IR, ippiSub_32f_C4IR, ippiSub_32f_AC4IR,
  690. // ippiMul_32f_C1IR, ippiMul_32f_C3IR, ippiMul_32f_C4IR, ippiMul_32f_AC4IR
  691. //
  692. // Purpose: Adds, subtracts, or multiplies pixel values of two source images
  693. // and places the results in the first image.
  694. //
  695. // Returns:
  696. // ippStsNoErr OK
  697. // ippStsNullPtrErr One of the pointers is NULL
  698. // ippStsSizeErr Width or height of images is less than or equal to zero
  699. //
  700. // Parameters:
  701. // pSrc Pointer to the second source image
  702. // srcStep Step through the second source image
  703. // pSrcDst Pointer to the first source/destination image
  704. // srcDstStep Step through the first source/destination image
  705. // roiSize Size of the ROI
  706. */
  707. IPPAPI(IppStatus, ippiAdd_32f_C1IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  708. int srcDstStep, IppiSize roiSize))
  709. IPPAPI(IppStatus, ippiAdd_32f_C3IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  710. int srcDstStep, IppiSize roiSize))
  711. IPPAPI(IppStatus, ippiAdd_32f_C4IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  712. int srcDstStep, IppiSize roiSize))
  713. IPPAPI(IppStatus, ippiAdd_32f_AC4IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  714. int srcDstStep, IppiSize roiSize))
  715. IPPAPI(IppStatus, ippiSub_32f_C1IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  716. int srcDstStep, IppiSize roiSize))
  717. IPPAPI(IppStatus, ippiSub_32f_C3IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  718. int srcDstStep, IppiSize roiSize))
  719. IPPAPI(IppStatus, ippiSub_32f_C4IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  720. int srcDstStep, IppiSize roiSize))
  721. IPPAPI(IppStatus, ippiSub_32f_AC4IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  722. int srcDstStep, IppiSize roiSize))
  723. IPPAPI(IppStatus, ippiMul_32f_C1IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  724. int srcDstStep, IppiSize roiSize))
  725. IPPAPI(IppStatus, ippiMul_32f_C3IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  726. int srcDstStep, IppiSize roiSize))
  727. IPPAPI(IppStatus, ippiMul_32f_C4IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  728. int srcDstStep, IppiSize roiSize))
  729. IPPAPI(IppStatus, ippiMul_32f_AC4IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  730. int srcDstStep, IppiSize roiSize))
  731. /* ////////////////////////////////////////////////////////////////////////////
  732. // Name: ippiAdd_32f_C1R, ippiAdd_32f_C3R, ippiAdd_32f_C4R, ippiAdd_32f_AC4R,
  733. // ippiSub_32f_C1R, ippiSub_32f_C3R, ippiSub_32f_C4R, ippiSub_32f_AC4R,
  734. // ippiMul_32f_C1R, ippiMul_32f_C3R, ippiMul_32f_C4R, ippiMul_32f_AC4R
  735. //
  736. // Purpose: Adds, subtracts, or multiplies pixel values of two
  737. // source images and places the results in a destination image.
  738. //
  739. // Returns:
  740. // ippStsNoErr OK
  741. // ippStsNullPtrErr One of the pointers is NULL
  742. // ippStsSizeErr Width or height of images is less than or equal to zero
  743. //
  744. // Parameters:
  745. // pSrc1, pSrc2 Pointers to the source images
  746. // src1Step, src2Step Steps through the source images
  747. // pDst Pointer to the destination image
  748. // dstStep Step through the destination image
  749. // roiSize Size of the ROI
  750. */
  751. IPPAPI(IppStatus, ippiAdd_32f_C1R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2,
  752. int src2Step, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  753. IPPAPI(IppStatus, ippiAdd_32f_C3R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2,
  754. int src2Step, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  755. IPPAPI(IppStatus, ippiAdd_32f_C4R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2,
  756. int src2Step, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  757. IPPAPI(IppStatus, ippiAdd_32f_AC4R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2,
  758. int src2Step, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  759. IPPAPI(IppStatus, ippiSub_32f_C1R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2,
  760. int src2Step, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  761. IPPAPI(IppStatus, ippiSub_32f_C3R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2,
  762. int src2Step, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  763. IPPAPI(IppStatus, ippiSub_32f_C4R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2,
  764. int src2Step, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  765. IPPAPI(IppStatus, ippiSub_32f_AC4R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2,
  766. int src2Step, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  767. IPPAPI(IppStatus, ippiMul_32f_C1R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2,
  768. int src2Step, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  769. IPPAPI(IppStatus, ippiMul_32f_C3R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2,
  770. int src2Step, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  771. IPPAPI(IppStatus, ippiMul_32f_C4R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2,
  772. int src2Step, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  773. IPPAPI(IppStatus, ippiMul_32f_AC4R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2,
  774. int src2Step, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  775. /* ////////////////////////////////////////////////////////////////////////////
  776. // Name: ippiComplement_32s_C1IR
  777. //
  778. // Purpose: Converts negative integer number from complement to
  779. // direct code reserving the sign in the upper bit.
  780. //
  781. // Returns:
  782. // ippStsNoErr OK
  783. // ippStsNullPtrErr Pointer is NULL
  784. // ippStsStepErr Step is less than or equal to zero
  785. // ippStsStrideErr Step is less than the width of an image
  786. //
  787. // Parameters:
  788. // pSrcDst Pointer to the source and destination image
  789. // srcdstStep Step in bytes through the image
  790. // roiSize Size of the ROI
  791. */
  792. IPPAPI (IppStatus, ippiComplement_32s_C1IR, ( Ipp32s* pSrcDst, int srcdstStep, IppiSize roiSize ))
  793. /* //////////////////////////////////////////////////////////////////////////////
  794. // Name: ippiDiv_32f_C1R, ippiDiv_32f_C3R ippiDiv_32f_C4R ippiDiv_32f_AC4R
  795. //
  796. // Purpose: Divides pixel values of an image by pixel values of another image
  797. // and places the results in a destination image.
  798. //
  799. // Returns:
  800. // ippStsNoErr OK
  801. // ippStsNullPtrErr One of the pointers is NULL
  802. // ippStsSizeErr roiSize has a field with zero or negative value
  803. // ippStsStepErr At least one step value is less than or equal to zero
  804. // ippStsDivByZero A warning that a divisor value is zero, the function
  805. // execution is continued.
  806. // If a dividend is equal to zero, then the result is NAN_32F;
  807. // if it is greater than zero, then the result is INF_32F,
  808. // if it is less than zero, then the result is INF_NEG_32F
  809. //
  810. // Parameters:
  811. // pSrc1 Pointer to the divisor source image
  812. // src1Step Step through the divisor source image
  813. // pSrc2 Pointer to the dividend source image
  814. // src2Step Step through the dividend source image
  815. // pDst Pointer to the destination image
  816. // dstStep Step through the destination image
  817. // roiSize Size of the ROI
  818. */
  819. IPPAPI(IppStatus, ippiDiv_32f_C1R, (const Ipp32f* pSrc1, int src1Step,
  820. const Ipp32f* pSrc2, int src2Step,
  821. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  822. IPPAPI(IppStatus, ippiDiv_32f_C3R, (const Ipp32f* pSrc1, int src1Step,
  823. const Ipp32f* pSrc2, int src2Step,
  824. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  825. IPPAPI(IppStatus, ippiDiv_32f_C4R, (const Ipp32f* pSrc1, int src1Step,
  826. const Ipp32f* pSrc2, int src2Step,
  827. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  828. IPPAPI(IppStatus, ippiDiv_32f_AC4R, (const Ipp32f* pSrc1, int src1Step,
  829. const Ipp32f* pSrc2, int src2Step,
  830. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  831. /* ////////////////////////////////////////////////////////////////////////////
  832. // Name: ippiDiv_16s_C1RSfs, ippiDiv_8u_C1RSfs, ippiDiv_16u_C1RSfs,
  833. // ippiDiv_16s_C3RSfs, ippiDiv_8u_C3RSfs, ippiDiv_16u_C3RSfs,
  834. // ippiDiv_16s_C4RSfs, ippiDiv_8u_C4RSfs, ippiDiv_16u_C4RSfs,
  835. // ippiDiv_16s_AC4RSfs,ippiDiv_8u_AC4RSfs,ippiDiv_16u_AC4RSfs
  836. //
  837. // Purpose: Divides pixel values of an image by pixel values of
  838. // another image and places the scaled results in a destination
  839. // image.
  840. //
  841. // Returns:
  842. // ippStsNoErr OK
  843. // ippStsNullPtrErr One of the pointers is NULL
  844. // ippStsSizeErr roiSize has a field with zero or negative value
  845. // ippStsStepErr At least one step value is less than or equal to zero
  846. // ippStsDivByZero A warning that a divisor value is zero, the function
  847. // execution is continued.
  848. // If a dividend is equal to zero, then the result is zero;
  849. // if it is greater than zero, then the result is IPP_MAX_16S, or IPP_MAX_8U, or IPP_MAX_16U
  850. // if it is less than zero (for 16s), then the result is IPP_MIN_16S
  851. //
  852. // Parameters:
  853. // pSrc1 Pointer to the divisor source image
  854. // src1Step Step through the divisor source image
  855. // pSrc2 Pointer to the dividend source image
  856. // src2Step Step through the dividend source image
  857. // pDst Pointer to the destination image
  858. // dstStep Step through the destination image
  859. // roiSize Size of the ROI
  860. // scaleFactor Scale factor
  861. */
  862. IPPAPI(IppStatus, ippiDiv_16s_C1RSfs, (const Ipp16s* pSrc1, int src1Step,
  863. const Ipp16s* pSrc2, int src2Step,
  864. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  865. IPPAPI(IppStatus, ippiDiv_16s_C3RSfs, (const Ipp16s* pSrc1, int src1Step,
  866. const Ipp16s* pSrc2, int src2Step,
  867. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  868. IPPAPI(IppStatus, ippiDiv_16s_C4RSfs, (const Ipp16s* pSrc1, int src1Step,
  869. const Ipp16s* pSrc2, int src2Step,
  870. Ipp16s* pDst, int dstStep, IppiSize roiSize, int ScaleFactor))
  871. IPPAPI(IppStatus, ippiDiv_16s_AC4RSfs, (const Ipp16s* pSrc1, int src1Step,
  872. const Ipp16s* pSrc2, int src2Step,
  873. Ipp16s* pDst, int dstStep, IppiSize roiSize, int ScaleFactor))
  874. IPPAPI(IppStatus, ippiDiv_8u_C1RSfs, (const Ipp8u* pSrc1, int src1Step,
  875. const Ipp8u* pSrc2, int src2Step,
  876. Ipp8u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  877. IPPAPI(IppStatus, ippiDiv_8u_C3RSfs, (const Ipp8u* pSrc1, int src1Step,
  878. const Ipp8u* pSrc2, int src2Step,
  879. Ipp8u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  880. IPPAPI(IppStatus, ippiDiv_8u_C4RSfs, (const Ipp8u* pSrc1, int src1Step,
  881. const Ipp8u* pSrc2, int src2Step,
  882. Ipp8u* pDst, int dstStep, IppiSize roiSize, int ScaleFactor))
  883. IPPAPI(IppStatus, ippiDiv_8u_AC4RSfs, (const Ipp8u* pSrc1, int src1Step,
  884. const Ipp8u* pSrc2, int src2Step,
  885. Ipp8u* pDst, int dstStep, IppiSize roiSize, int ScaleFactor))
  886. IPPAPI(IppStatus, ippiDiv_16u_C1RSfs, (const Ipp16u* pSrc1, int src1Step,
  887. const Ipp16u* pSrc2, int src2Step,
  888. Ipp16u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  889. IPPAPI(IppStatus, ippiDiv_16u_C3RSfs, (const Ipp16u* pSrc1, int src1Step,
  890. const Ipp16u* pSrc2, int src2Step,
  891. Ipp16u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  892. IPPAPI(IppStatus, ippiDiv_16u_C4RSfs, (const Ipp16u* pSrc1, int src1Step,
  893. const Ipp16u* pSrc2, int src2Step,
  894. Ipp16u* pDst, int dstStep, IppiSize roiSize, int ScaleFactor))
  895. IPPAPI(IppStatus, ippiDiv_16u_AC4RSfs, (const Ipp16u* pSrc1, int src1Step,
  896. const Ipp16u* pSrc2, int src2Step,
  897. Ipp16u* pDst, int dstStep, IppiSize roiSize, int ScaleFactor))
  898. /* ////////////////////////////////////////////////////////////////////////////
  899. // Name: ippiDivC_32f_C1R, ippiDivC_32f_C3R
  900. // ippiDivC_32f_C4R, ippiDivC_32f_AC4R
  901. //
  902. // Purpose: Divides pixel values of a source image by a constant
  903. // and places the results in a destination image.
  904. //
  905. // Returns:
  906. // ippStsNoErr OK
  907. // ippStsNullPtrErr One of the pointers is NULL
  908. // ippStsSizeErr roiSize has a field with zero or negative value
  909. // ippStsStepErr step value is less than or equal to zero
  910. // ippStsDivByZeroErr The constant is equal to zero
  911. //
  912. // Parameters:
  913. // value The constant divisor
  914. // pSrc Pointer to the source image
  915. // pDst Pointer to the destination image
  916. // roiSize Size of the ROI
  917. */
  918. IPPAPI(IppStatus, ippiDivC_32f_C1R, (const Ipp32f* pSrc, int srcStep, Ipp32f value,
  919. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  920. IPPAPI(IppStatus, ippiDivC_32f_C3R, (const Ipp32f* pSrc, int srcStep, const Ipp32f value[3],
  921. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  922. IPPAPI(IppStatus, ippiDivC_32f_C4R, (const Ipp32f* pSrc, int srcStep, const Ipp32f val[4],
  923. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  924. IPPAPI(IppStatus, ippiDivC_32f_AC4R,(const Ipp32f* pSrc, int srcStep, const Ipp32f val[3],
  925. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  926. /* ////////////////////////////////////////////////////////////////////////////
  927. // Name: ippiDivC_16s_C1RSfs, ippiDivC_8u_C1RSfs, ippiDivC_16u_C1RSfs,
  928. // ippiDivC_16s_C3RSfs, ippiDivC_8u_C3RSfs, ippiDivC_16u_C3RSfs,
  929. // ippiDivC_16s_C4RSfs, ippiDivC_8u_C4RSfs, ippiDivC_16u_C4RSfs,
  930. // ippiDivC_16s_AC4RSfs,ippiDivC_8u_AC4RSfs,ippiDivC_16u_AC4RSfs
  931. //
  932. // Purpose: Divides pixel values of a source image by a constant
  933. // and places the scaled results in a destination image.
  934. //
  935. // Returns:
  936. // ippStsNoErr OK
  937. // ippStsNullPtrErr One of the pointers is NULL
  938. // ippStsSizeErr roiSize has a field with zero or negative value
  939. // ippStsStepErr Step value is less than or equal to zero
  940. // ippStsDivByZeroErr The constant is equal to zero
  941. //
  942. // Parameters:
  943. // value Constant divisor
  944. // pSrc Pointer to the source image
  945. // pDst Pointer to the destination image
  946. // roiSize Size of the ROI
  947. // scaleFactor Scale factor
  948. */
  949. IPPAPI(IppStatus, ippiDivC_16s_C1RSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s value,
  950. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  951. IPPAPI(IppStatus, ippiDivC_16s_C3RSfs, (const Ipp16s* pSrc, int srcStep, const Ipp16s value[3],
  952. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  953. IPPAPI(IppStatus, ippiDivC_16s_C4RSfs, (const Ipp16s* pSrc, int srcStep, const Ipp16s value[4],
  954. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  955. IPPAPI(IppStatus, ippiDivC_16s_AC4RSfs, (const Ipp16s* pSrc, int srcStep, const Ipp16s value[3],
  956. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  957. IPPAPI(IppStatus, ippiDivC_8u_C1RSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u value,
  958. Ipp8u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  959. IPPAPI(IppStatus, ippiDivC_8u_C3RSfs, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[3],
  960. Ipp8u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  961. IPPAPI(IppStatus, ippiDivC_8u_C4RSfs, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[4],
  962. Ipp8u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  963. IPPAPI(IppStatus, ippiDivC_8u_AC4RSfs, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[3],
  964. Ipp8u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  965. IPPAPI(IppStatus, ippiDivC_16u_C1RSfs, (const Ipp16u* pSrc, int srcStep, Ipp16u value,
  966. Ipp16u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  967. IPPAPI(IppStatus, ippiDivC_16u_C3RSfs, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3],
  968. Ipp16u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  969. IPPAPI(IppStatus, ippiDivC_16u_C4RSfs, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[4],
  970. Ipp16u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  971. IPPAPI(IppStatus, ippiDivC_16u_AC4RSfs, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3],
  972. Ipp16u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  973. /* ////////////////////////////////////////////////////////////////////////////
  974. // Name: ippiDiv_32f_C1IR, ippiDiv_32f_C3IR ippiDiv_32f_C4IR ippiDiv_32f_AC4IR
  975. //
  976. // Purpose: Divides pixel values of an image by pixel values of
  977. // another image and places the results in the dividend source
  978. // image.
  979. //
  980. // Returns:
  981. // ippStsNoErr OK
  982. // ippStsNullPtrErr One of the pointers is NULL
  983. // ippStsSizeErr roiSize has a field with zero or negative value
  984. // ippStsStepErr At least one step value is less than or equal to zero
  985. // ippStsDivByZero A warning that a divisor value is zero, the function
  986. // execution is continued.
  987. // If a dividend is equal to zero, then the result is NAN_32F;
  988. // if it is greater than zero, then the result is INF_32F,
  989. // if it is less than zero, then the result is INF_NEG_32F
  990. //
  991. // Parameters:
  992. // pSrc Pointer to the divisor source image
  993. // srcStep Step through the divisor source image
  994. // pSrcDst Pointer to the dividend source/destination image
  995. // srcDstStep Step through the dividend source/destination image
  996. // roiSize Size of the ROI
  997. */
  998. IPPAPI(IppStatus, ippiDiv_32f_C1IR, (const Ipp32f* pSrc, int srcStep,
  999. Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1000. IPPAPI(IppStatus, ippiDiv_32f_C3IR, (const Ipp32f* pSrc, int srcStep,
  1001. Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1002. IPPAPI(IppStatus, ippiDiv_32f_C4IR, (const Ipp32f* pSrc, int srcStep,
  1003. Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1004. IPPAPI(IppStatus, ippiDiv_32f_AC4IR, (const Ipp32f* pSrc, int srcStep,
  1005. Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1006. /* ////////////////////////////////////////////////////////////////////////////
  1007. // Name: ippiDiv_16s_C1IRSfs, ippiDiv_8u_C1IRSfs, ippiDiv_16u_C1IRSfs,
  1008. // ippiDiv_16s_C3IRSfs, ippiDiv_8u_C3IRSfs, ippiDiv_16u_C3IRSfs,
  1009. // ippiDiv_16s_C4IRSfs, ippiDiv_8u_C4IRSfs, ippiDiv_16u_C4IRSfs,
  1010. // ippiDiv_16s_AC4IRSfs,ippiDiv_8u_AC4IRSfs,ippiDiv_16u_AC4IRSfs
  1011. //
  1012. // Purpose: Divides pixel values of an image by pixel values of
  1013. // another image and places the scaled results in the dividend
  1014. // source image.
  1015. //
  1016. // Returns:
  1017. // ippStsNoErr OK
  1018. // ippStsNullPtrErr One of the pointers is NULL
  1019. // ippStsSizeErr roiSize has a field with zero or negative value
  1020. // ippStsStepErr At least one step value is less than or equal to zero
  1021. // ippStsDivByZero A warning that a divisor value is zero, the function
  1022. // execution is continued.
  1023. // If a dividend is equal to zero, then the result is zero;
  1024. // if it is greater than zero, then the result is IPP_MAX_16S, or IPP_MAX_8U, or IPP_MAX_16U
  1025. // if it is less than zero (for 16s), then the result is IPP_MIN_16S
  1026. //
  1027. // Parameters:
  1028. // pSrc Pointer to the divisor source image
  1029. // srcStep Step through the divisor source image
  1030. // pSrcDst Pointer to the dividend source/destination image
  1031. // srcDstStep Step through the dividend source/destination image
  1032. // roiSize Size of the ROI
  1033. // scaleFactor Scale factor
  1034. */
  1035. IPPAPI(IppStatus, ippiDiv_16s_C1IRSfs, (const Ipp16s* pSrc, int srcStep,
  1036. Ipp16s* pSrcDst, int srcDstStep,
  1037. IppiSize roiSize, int scaleFactor))
  1038. IPPAPI(IppStatus, ippiDiv_16s_C3IRSfs, (const Ipp16s* pSrc, int srcStep,
  1039. Ipp16s* pSrcDst, int srcDstStep,
  1040. IppiSize roiSize, int scaleFactor))
  1041. IPPAPI(IppStatus, ippiDiv_16s_C4IRSfs, (const Ipp16s* pSrc, int srcStep,
  1042. Ipp16s* pSrcDst, int srcDstStep,
  1043. IppiSize roiSize, int ScaleFactor))
  1044. IPPAPI(IppStatus, ippiDiv_16s_AC4IRSfs, (const Ipp16s* pSrc, int srcStep,
  1045. Ipp16s* pSrcDst, int srcDstStep,
  1046. IppiSize roiSize, int ScaleFactor))
  1047. IPPAPI(IppStatus, ippiDiv_8u_C1IRSfs, (const Ipp8u* pSrc, int srcStep,
  1048. Ipp8u* pSrcDst, int srcDstStep,
  1049. IppiSize roiSize, int scaleFactor))
  1050. IPPAPI(IppStatus, ippiDiv_8u_C3IRSfs, (const Ipp8u* pSrc, int srcStep,
  1051. Ipp8u* pSrcDst, int srcDstStep,
  1052. IppiSize roiSize, int scaleFactor))
  1053. IPPAPI(IppStatus, ippiDiv_8u_C4IRSfs, (const Ipp8u* pSrc, int srcStep,
  1054. Ipp8u* pSrcDst, int srcDstStep,
  1055. IppiSize roiSize, int ScaleFactor))
  1056. IPPAPI(IppStatus, ippiDiv_8u_AC4IRSfs, (const Ipp8u* pSrc, int srcStep,
  1057. Ipp8u* pSrcDst, int srcDstStep,
  1058. IppiSize roiSize, int ScaleFactor))
  1059. IPPAPI(IppStatus, ippiDiv_16u_C1IRSfs, (const Ipp16u* pSrc, int srcStep,
  1060. Ipp16u* pSrcDst, int srcDstStep,
  1061. IppiSize roiSize, int scaleFactor))
  1062. IPPAPI(IppStatus, ippiDiv_16u_C3IRSfs, (const Ipp16u* pSrc, int srcStep,
  1063. Ipp16u* pSrcDst, int srcDstStep,
  1064. IppiSize roiSize, int scaleFactor))
  1065. IPPAPI(IppStatus, ippiDiv_16u_C4IRSfs, (const Ipp16u* pSrc, int srcStep,
  1066. Ipp16u* pSrcDst, int srcDstStep,
  1067. IppiSize roiSize, int ScaleFactor))
  1068. IPPAPI(IppStatus, ippiDiv_16u_AC4IRSfs, (const Ipp16u* pSrc, int srcStep,
  1069. Ipp16u* pSrcDst, int srcDstStep,
  1070. IppiSize roiSize, int ScaleFactor))
  1071. /* ////////////////////////////////////////////////////////////////////////////
  1072. // Name: ippiDivC_32f_C1IR, ippiDivC_32f_C3IR,
  1073. // ippiDivC_32f_C4IR, ippiDivC_32f_AC4IR
  1074. //
  1075. // Purpose: Divides pixel values of a source image by a constant
  1076. // and places the results in the same image.
  1077. //
  1078. // Returns:
  1079. // ippStsNoErr OK
  1080. // ippStsNullPtrErr The pointer is NULL
  1081. // ippStsSizeErr The roiSize has a field with zero or negative value
  1082. // ippStsStepErr The step value is less than or equal to zero
  1083. // ippStsDivByZeroErr The constant is equal to zero
  1084. //
  1085. // Parameters:
  1086. // value The constant divisor
  1087. // pSrcDst Pointer to the source/destination image
  1088. // srcDstStep Step through the source/destination image
  1089. // roiSize Size of the ROI
  1090. */
  1091. IPPAPI(IppStatus, ippiDivC_32f_C1IR, (Ipp32f value, Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1092. IPPAPI(IppStatus, ippiDivC_32f_C3IR, (const Ipp32f value[3], Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1093. IPPAPI(IppStatus, ippiDivC_32f_C4IR, (const Ipp32f val[4], Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1094. IPPAPI(IppStatus, ippiDivC_32f_AC4IR, (const Ipp32f val[3], Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1095. /* ////////////////////////////////////////////////////////////////////////////
  1096. // Name: ippiDivC_16s_C1IRSfs, ippiDivC_8u_C1IRSfs, ippiDivC_16u_C1IRSfs,
  1097. // ippiDivC_16s_C3IRSfs, ippiDivC_8u_C3IRSfs, ippiDivC_16u_C3IRSfs,
  1098. // ippiDivC_16s_C4IRSfs, ippiDivC_8u_C4IRSfs, ippiDivC_16u_C4IRSfs,
  1099. // ippiDivC_16s_AC4IRSfs,ippiDivC_8u_AC4IRSfs,ippiDivC_16u_AC4IRSfs
  1100. //
  1101. // Purpose: Divides pixel values of a source image by a constant
  1102. // and places the scaled results in the same image.
  1103. //
  1104. // Returns:
  1105. // ippStsNoErr OK
  1106. // ippStsNullPtrErr The pointer is NULL
  1107. // ippStsSizeErr The roiSize has a field with zero or negative value
  1108. // ippStsStepErr The step value is less than or equal to zero
  1109. // ippStsDivByZeroErr The constant is equal to zero
  1110. //
  1111. // Parameters:
  1112. // value The constant divisor
  1113. // pSrcDst Pointer to the source/destination image
  1114. // srcDstStep Step through the source/destination image
  1115. // roiSize Size of the ROI
  1116. // scaleFactor Scale factor
  1117. */
  1118. IPPAPI(IppStatus, ippiDivC_16s_C1IRSfs, (Ipp16s value, Ipp16s* pSrcDst,
  1119. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1120. IPPAPI(IppStatus, ippiDivC_16s_C3IRSfs, (const Ipp16s value[3], Ipp16s* pSrcDst,
  1121. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1122. IPPAPI(IppStatus, ippiDivC_16s_C4IRSfs, (const Ipp16s val[4], Ipp16s* pSrcDst,
  1123. int srcDstStep, IppiSize roiSize, int ScaleFactor))
  1124. IPPAPI(IppStatus, ippiDivC_16s_AC4IRSfs, (const Ipp16s val[3], Ipp16s* pSrcDst,
  1125. int srcDstStep, IppiSize roiSize, int ScaleFactor))
  1126. IPPAPI(IppStatus, ippiDivC_8u_C1IRSfs, (Ipp8u value, Ipp8u* pSrcDst,
  1127. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1128. IPPAPI(IppStatus, ippiDivC_8u_C3IRSfs, (const Ipp8u value[3], Ipp8u* pSrcDst,
  1129. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1130. IPPAPI(IppStatus, ippiDivC_8u_C4IRSfs, (const Ipp8u val[4], Ipp8u* pSrcDst,
  1131. int srcDstStep, IppiSize roiSize, int ScaleFactor))
  1132. IPPAPI(IppStatus, ippiDivC_8u_AC4IRSfs, (const Ipp8u val[3], Ipp8u* pSrcDst,
  1133. int srcDstStep, IppiSize roiSize, int ScaleFactor))
  1134. IPPAPI(IppStatus, ippiDivC_16u_C1IRSfs, (Ipp16u value, Ipp16u* pSrcDst,
  1135. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1136. IPPAPI(IppStatus, ippiDivC_16u_C3IRSfs, (const Ipp16u value[3], Ipp16u* pSrcDst,
  1137. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1138. IPPAPI(IppStatus, ippiDivC_16u_C4IRSfs, (const Ipp16u val[4], Ipp16u* pSrcDst,
  1139. int srcDstStep, IppiSize roiSize, int ScaleFactor))
  1140. IPPAPI(IppStatus, ippiDivC_16u_AC4IRSfs, (const Ipp16u val[3], Ipp16u* pSrcDst,
  1141. int srcDstStep, IppiSize roiSize, int ScaleFactor))
  1142. /* ////////////////////////////////////////////////////////////////////////////
  1143. // Names: ippiAbs_16s_C1R
  1144. // ippiAbs_16s_C3R
  1145. // ippiAbs_16s_C4R
  1146. // ippiAbs_16s_AC4R
  1147. // ippiAbs_32f_C1R
  1148. // ippiAbs_32f_C3R
  1149. // ippiAbs_32f_C4R
  1150. // ippiAbs_32f_AC4R
  1151. //
  1152. // ippiAbs_16s_C1IR
  1153. // ippiAbs_16s_C3IR
  1154. // ippiAbs_16s_C4IR
  1155. // ippiAbs_16s_AC4IR
  1156. // ippiAbs_32f_C1IR
  1157. // ippiAbs_32f_C3IR
  1158. // ippiAbs_32f_C4IR
  1159. // ippiAbs_32f_AC4IR
  1160. //
  1161. // Purpose: computes absolute value of each pixel of a source image and
  1162. // places results in the destination image;
  1163. // for in-place flavors - in the same source image
  1164. // Returns:
  1165. // ippStsNoErr OK
  1166. // ippStsNullPtrErr One of the pointers is NULL
  1167. // ippStsSizeErr The roiSize has a field with negative or zero value
  1168. //
  1169. // Parameters:
  1170. // pSrc pointer to the source image
  1171. // srcStep step through the source image
  1172. // pDst pointer to the destination image
  1173. // dstStep step through the destination image
  1174. // pSrcDst pointer to the source/destination image (for in-place function)
  1175. // srcDstStep step through the source/destination image (for in-place function)
  1176. // roiSize size of the ROI
  1177. */
  1178. IPPAPI(IppStatus,ippiAbs_16s_C1R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  1179. IppiSize roiSize))
  1180. IPPAPI(IppStatus,ippiAbs_16s_C3R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  1181. IppiSize roiSize))
  1182. IPPAPI(IppStatus,ippiAbs_16s_AC4R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  1183. IppiSize roiSize))
  1184. IPPAPI(IppStatus,ippiAbs_32f_C1R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  1185. IppiSize roiSize))
  1186. IPPAPI(IppStatus,ippiAbs_32f_C3R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  1187. IppiSize roiSize))
  1188. IPPAPI(IppStatus,ippiAbs_32f_AC4R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  1189. IppiSize roiSize))
  1190. IPPAPI(IppStatus,ippiAbs_16s_C1IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize))
  1191. IPPAPI(IppStatus,ippiAbs_16s_C3IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize))
  1192. IPPAPI(IppStatus,ippiAbs_16s_AC4IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize))
  1193. IPPAPI(IppStatus,ippiAbs_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1194. IPPAPI(IppStatus,ippiAbs_32f_C3IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1195. IPPAPI(IppStatus,ippiAbs_32f_AC4IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1196. IPPAPI(IppStatus,ippiAbs_16s_C4R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  1197. IppiSize roiSize))
  1198. IPPAPI(IppStatus,ippiAbs_32f_C4R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  1199. IppiSize roiSize))
  1200. IPPAPI(IppStatus,ippiAbs_16s_C4IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize))
  1201. IPPAPI(IppStatus,ippiAbs_32f_C4IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1202. /* ////////////////////////////////////////////////////////////////////////////
  1203. // Names: ippiSqr_8u_C1RSfs
  1204. // ippiSqr_8u_C3RSfs
  1205. // ippiSqr_8u_AC4RSfs
  1206. // ippiSqr_8u_C4RSfs
  1207. // ippiSqr_16u_C1RSfs
  1208. // ippiSqr_16u_C3RSfs
  1209. // ippiSqr_16u_AC4RSfs
  1210. // ippiSqr_16u_C4RSfs
  1211. // ippiSqr_16s_C1RSfs
  1212. // ippiSqr_16s_C3RSfs
  1213. // ippiSqr_16s_AC4RSfs
  1214. // ippiSqr_16s_C4RSfs
  1215. // ippiSqr_32f_C1R
  1216. // ippiSqr_32f_C3R
  1217. // ippiSqr_32f_AC4R
  1218. // ippiSqr_32f_C4R
  1219. //
  1220. // ippiSqr_8u_C1IRSfs
  1221. // ippiSqr_8u_C3IRSfs
  1222. // ippiSqr_8u_AC4IRSfs
  1223. // ippiSqr_8u_C4IRSfs
  1224. // ippiSqr_16u_C1IRSfs
  1225. // ippiSqr_16u_C3IRSfs
  1226. // ippiSqr_16u_AC4IRSfs
  1227. // ippiSqr_16u_C4IRSfs
  1228. // ippiSqr_16s_C1IRSfs
  1229. // ippiSqr_16s_C3IRSfs
  1230. // ippiSqr_16s_AC4IRSfs
  1231. // ippiSqr_16s_C4IRSfs
  1232. // ippiSqr_32f_C1IR
  1233. // ippiSqr_32f_C3IR
  1234. // ippiSqr_32f_AC4IR
  1235. // ippiSqr_32f_C4IR
  1236. //
  1237. // Purpose: squares pixel values of an image and
  1238. // places results in the destination image;
  1239. // for in-place flavors - in the same image
  1240. // Returns:
  1241. // ippStsNoErr OK
  1242. // ippStsNullPtrErr One of the pointers is NULL
  1243. // ippStsSizeErr The roiSize has a field with negative or zero value
  1244. //
  1245. // Parameters:
  1246. // pSrc pointer to the source image
  1247. // srcStep step through the source image
  1248. // pDst pointer to the destination image
  1249. // dstStep step through the destination image
  1250. // pSrcDst pointer to the source/destination image (for in-place function)
  1251. // srcDstStep step through the source/destination image (for in-place function)
  1252. // roiSize size of the ROI
  1253. // scaleFactor scale factor
  1254. */
  1255. IPPAPI(IppStatus,ippiSqr_8u_C1RSfs,(const Ipp8u* pSrc, int srcStep,
  1256. Ipp8u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1257. IPPAPI(IppStatus,ippiSqr_8u_C3RSfs,(const Ipp8u* pSrc, int srcStep,
  1258. Ipp8u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1259. IPPAPI(IppStatus,ippiSqr_8u_AC4RSfs,(const Ipp8u* pSrc, int srcStep,
  1260. Ipp8u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1261. IPPAPI(IppStatus,ippiSqr_8u_C4RSfs,(const Ipp8u* pSrc, int srcStep,
  1262. Ipp8u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1263. IPPAPI(IppStatus,ippiSqr_16u_C1RSfs,(const Ipp16u* pSrc, int srcStep,
  1264. Ipp16u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1265. IPPAPI(IppStatus,ippiSqr_16u_C3RSfs,(const Ipp16u* pSrc, int srcStep,
  1266. Ipp16u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1267. IPPAPI(IppStatus,ippiSqr_16u_AC4RSfs,(const Ipp16u* pSrc, int srcStep,
  1268. Ipp16u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1269. IPPAPI(IppStatus,ippiSqr_16u_C4RSfs,(const Ipp16u* pSrc, int srcStep,
  1270. Ipp16u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1271. IPPAPI(IppStatus,ippiSqr_16s_C1RSfs,(const Ipp16s* pSrc, int srcStep,
  1272. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1273. IPPAPI(IppStatus,ippiSqr_16s_C3RSfs,(const Ipp16s* pSrc, int srcStep,
  1274. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1275. IPPAPI(IppStatus,ippiSqr_16s_AC4RSfs,(const Ipp16s* pSrc, int srcStep,
  1276. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1277. IPPAPI(IppStatus,ippiSqr_16s_C4RSfs,(const Ipp16s* pSrc, int srcStep,
  1278. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1279. IPPAPI(IppStatus,ippiSqr_32f_C1R, (const Ipp32f* pSrc, int srcStep,
  1280. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  1281. IPPAPI(IppStatus,ippiSqr_32f_C3R, (const Ipp32f* pSrc, int srcStep,
  1282. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  1283. IPPAPI(IppStatus,ippiSqr_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  1284. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  1285. IPPAPI(IppStatus,ippiSqr_32f_C4R,(const Ipp32f* pSrc, int srcStep,
  1286. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  1287. IPPAPI(IppStatus,ippiSqr_8u_C1IRSfs, (Ipp8u* pSrcDst, int srcDstStep,
  1288. IppiSize roiSize, int scaleFactor))
  1289. IPPAPI(IppStatus,ippiSqr_8u_C3IRSfs, (Ipp8u* pSrcDst, int srcDstStep,
  1290. IppiSize roiSize, int scaleFactor))
  1291. IPPAPI(IppStatus,ippiSqr_8u_AC4IRSfs,(Ipp8u* pSrcDst, int srcDstStep,
  1292. IppiSize roiSize, int scaleFactor))
  1293. IPPAPI(IppStatus,ippiSqr_8u_C4IRSfs,(Ipp8u* pSrcDst, int srcDstStep,
  1294. IppiSize roiSize, int scaleFactor))
  1295. IPPAPI(IppStatus,ippiSqr_16u_C1IRSfs, (Ipp16u* pSrcDst, int srcDstStep,
  1296. IppiSize roiSize, int scaleFactor))
  1297. IPPAPI(IppStatus,ippiSqr_16u_C3IRSfs, (Ipp16u* pSrcDst, int srcDstStep,
  1298. IppiSize roiSize, int scaleFactor))
  1299. IPPAPI(IppStatus,ippiSqr_16u_AC4IRSfs,(Ipp16u* pSrcDst, int srcDstStep,
  1300. IppiSize roiSize, int scaleFactor))
  1301. IPPAPI(IppStatus,ippiSqr_16u_C4IRSfs,(Ipp16u* pSrcDst, int srcDstStep,
  1302. IppiSize roiSize, int scaleFactor))
  1303. IPPAPI(IppStatus,ippiSqr_16s_C1IRSfs, (Ipp16s* pSrcDst, int srcDstStep,
  1304. IppiSize roiSize, int scaleFactor))
  1305. IPPAPI(IppStatus,ippiSqr_16s_C3IRSfs, (Ipp16s* pSrcDst, int srcDstStep,
  1306. IppiSize roiSize, int scaleFactor))
  1307. IPPAPI(IppStatus,ippiSqr_16s_AC4IRSfs,(Ipp16s* pSrcDst, int srcDstStep,
  1308. IppiSize roiSize, int scaleFactor))
  1309. IPPAPI(IppStatus,ippiSqr_16s_C4IRSfs,(Ipp16s* pSrcDst, int srcDstStep,
  1310. IppiSize roiSize, int scaleFactor))
  1311. IPPAPI(IppStatus,ippiSqr_32f_C1IR, (Ipp32f* pSrcDst, int srcDstStep,
  1312. IppiSize roiSize))
  1313. IPPAPI(IppStatus,ippiSqr_32f_C3IR, (Ipp32f* pSrcDst, int srcDstStep,
  1314. IppiSize roiSize))
  1315. IPPAPI(IppStatus,ippiSqr_32f_AC4IR,(Ipp32f* pSrcDst, int srcDstStep,
  1316. IppiSize roiSize))
  1317. IPPAPI(IppStatus,ippiSqr_32f_C4IR,(Ipp32f* pSrcDst, int srcDstStep,
  1318. IppiSize roiSize))
  1319. /* ////////////////////////////////////////////////////////////////////////////
  1320. // Names: ippiSqrt_8u_C1RSfs
  1321. // ippiSqrt_8u_C3RSfs
  1322. // ippiSqrt_8u_AC4RSfs
  1323. // ippiSqrt_16u_C1RSfs
  1324. // ippiSqrt_16u_C3RSfs
  1325. // ippiSqrt_16u_AC4RSfs
  1326. // ippiSqrt_16s_C1RSfs
  1327. // ippiSqrt_16s_C3RSfs
  1328. // ippiSqrt_16s_AC4RSfs
  1329. // ippiSqrt_32f_C1R
  1330. // ippiSqrt_32f_C3R
  1331. // ippiSqrt_32f_AC4R
  1332. //
  1333. // ippiSqrt_8u_C1IRSfs
  1334. // ippiSqrt_8u_C3IRSfs
  1335. // ippiSqrt_8u_AC4IRSfs
  1336. // ippiSqrt_16u_C1IRSfs
  1337. // ippiSqrt_16u_C3IRSfs
  1338. // ippiSqrt_16u_AC4IRSfs
  1339. // ippiSqrt_16s_C1IRSfs
  1340. // ippiSqrt_16s_C3IRSfs
  1341. // ippiSqrt_16s_AC4IRSfs
  1342. // ippiSqrt_32f_C1IR
  1343. // ippiSqrt_32f_C3IR
  1344. // ippiSqrt_32f_AC4IR
  1345. // ippiSqrt_32f_C4IR
  1346. // Purpose: computes square roots of pixel values of a source image and
  1347. // places results in the destination image;
  1348. // for in-place flavors - in the same image
  1349. // Returns:
  1350. // ippStsNoErr OK
  1351. // ippStsNullPtrErr One of pointers is NULL
  1352. // ippStsSizeErr The roiSize has a field with negative or zero value
  1353. // ippStsSqrtNegArg Source image pixel has a negative value
  1354. //
  1355. // Parameters:
  1356. // pSrc pointer to the source image
  1357. // srcStep step through the source image
  1358. // pDst pointer to the destination image
  1359. // dstStep step through the destination image
  1360. // pSrcDst pointer to the source/destination image (for in-place function)
  1361. // srcDstStep step through the source/destination image (for in-place function)
  1362. // roiSize size of the ROI
  1363. // scaleFactor scale factor
  1364. */
  1365. IPPAPI(IppStatus,ippiSqrt_8u_C1RSfs,(const Ipp8u* pSrc, int srcStep,
  1366. Ipp8u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1367. IPPAPI(IppStatus,ippiSqrt_8u_C3RSfs,(const Ipp8u* pSrc, int srcStep,
  1368. Ipp8u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1369. IPPAPI(IppStatus,ippiSqrt_8u_AC4RSfs,(const Ipp8u* pSrc, int srcStep,
  1370. Ipp8u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1371. IPPAPI(IppStatus,ippiSqrt_16u_C1RSfs,(const Ipp16u* pSrc, int srcStep,
  1372. Ipp16u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1373. IPPAPI(IppStatus,ippiSqrt_16u_C3RSfs,(const Ipp16u* pSrc, int srcStep,
  1374. Ipp16u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1375. IPPAPI(IppStatus,ippiSqrt_16u_AC4RSfs,(const Ipp16u* pSrc, int srcStep,
  1376. Ipp16u* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1377. IPPAPI(IppStatus,ippiSqrt_16s_C1RSfs,(const Ipp16s* pSrc, int srcStep,
  1378. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1379. IPPAPI(IppStatus,ippiSqrt_16s_C3RSfs,(const Ipp16s* pSrc, int srcStep,
  1380. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1381. IPPAPI(IppStatus,ippiSqrt_16s_AC4RSfs,(const Ipp16s* pSrc, int srcStep,
  1382. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1383. IPPAPI(IppStatus,ippiSqrt_32f_C1R, (const Ipp32f* pSrc, int srcStep,
  1384. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  1385. IPPAPI(IppStatus,ippiSqrt_32f_C3R, (const Ipp32f* pSrc, int srcStep,
  1386. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  1387. IPPAPI(IppStatus,ippiSqrt_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  1388. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  1389. IPPAPI(IppStatus,ippiSqrt_8u_C1IRSfs, (Ipp8u* pSrcDst, int srcDstStep,
  1390. IppiSize roiSize, int scaleFactor))
  1391. IPPAPI(IppStatus,ippiSqrt_8u_C3IRSfs, (Ipp8u* pSrcDst, int srcDstStep,
  1392. IppiSize roiSize, int scaleFactor))
  1393. IPPAPI(IppStatus,ippiSqrt_8u_AC4IRSfs,(Ipp8u* pSrcDst, int srcDstStep,
  1394. IppiSize roiSize, int scaleFactor))
  1395. IPPAPI(IppStatus,ippiSqrt_16u_C1IRSfs, (Ipp16u* pSrcDst, int srcDstStep,
  1396. IppiSize roiSize, int scaleFactor))
  1397. IPPAPI(IppStatus,ippiSqrt_16u_C3IRSfs, (Ipp16u* pSrcDst, int srcDstStep,
  1398. IppiSize roiSize, int scaleFactor))
  1399. IPPAPI(IppStatus,ippiSqrt_16u_AC4IRSfs,(Ipp16u* pSrcDst, int srcDstStep,
  1400. IppiSize roiSize, int scaleFactor))
  1401. IPPAPI(IppStatus,ippiSqrt_16s_C1IRSfs, (Ipp16s* pSrcDst, int srcDstStep,
  1402. IppiSize roiSize, int scaleFactor))
  1403. IPPAPI(IppStatus,ippiSqrt_16s_C3IRSfs, (Ipp16s* pSrcDst, int srcDstStep,
  1404. IppiSize roiSize, int scaleFactor))
  1405. IPPAPI(IppStatus,ippiSqrt_16s_AC4IRSfs,(Ipp16s* pSrcDst, int srcDstStep,
  1406. IppiSize roiSize, int scaleFactor))
  1407. IPPAPI(IppStatus,ippiSqrt_32f_C1IR, (Ipp32f* pSrcDst, int srcDstStep,
  1408. IppiSize roiSize))
  1409. IPPAPI(IppStatus,ippiSqrt_32f_C3IR, (Ipp32f* pSrcDst, int srcDstStep,
  1410. IppiSize roiSize))
  1411. IPPAPI(IppStatus,ippiSqrt_32f_AC4IR,(Ipp32f* pSrcDst, int srcDstStep,
  1412. IppiSize roiSize))
  1413. IPPAPI(IppStatus,ippiSqrt_32f_C4IR,(Ipp32f* pSrcDst, int srcDstStep,
  1414. IppiSize roiSize))
  1415. /* /////////////////////////////////////////////////////////////////////////////
  1416. // Names:
  1417. // ippiLn_32f_C1IR ippiLn_16s_C1IRSfs ippiLn_8u_C1IRSfs ippiLn_16u_C1IRSfs
  1418. // ippiLn_32f_C3IR ippiLn_16s_C3IRSfs ippiLn_8u_C3IRSfs ippiLn_16u_C3IRSfs
  1419. // ippiLn_32f_C1R ippiLn_16s_C1RSfs ippiLn_8u_C1RSfs ippiLn_16u_C1RSfs
  1420. // ippiLn_32f_C3R ippiLn_16s_C3RSfs ippiLn_8u_C3RSfs ippiLn_16u_C3RSfs
  1421. // Purpose:
  1422. // computes the natural logarithm of each pixel values of a source image
  1423. // and places the results in the destination image;
  1424. // for in-place flavors - in the same image
  1425. // Parameters:
  1426. // pSrc Pointer to the source image.
  1427. // pDst Pointer to the destination image.
  1428. // pSrcDst Pointer to the source/destination image for in-place functions.
  1429. // srcStep Step through the source image.
  1430. // dstStep Step through the destination image.
  1431. // srcDstStep Step through the source/destination image for in-place functions.
  1432. // roiSize Size of the ROI.
  1433. // scaleFactor Scale factor for integer data.
  1434. // Returns:
  1435. // ippStsNullPtrErr One of the pointers is NULL
  1436. // ippStsSizeErr The roiSize has a field with negative or zero value
  1437. // ippStsStepErr One of the step values is less than or equal to zero
  1438. // ippStsLnZeroArg The source pixel has a zero value
  1439. // ippStsLnNegArg The source pixel has a negative value
  1440. // ippStsNoErr otherwise
  1441. */
  1442. IPPAPI(IppStatus, ippiLn_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1443. IPPAPI(IppStatus, ippiLn_32f_C3IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1444. IPPAPI(IppStatus, ippiLn_32f_C1R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst,
  1445. int dstStep, IppiSize roiSize))
  1446. IPPAPI(IppStatus, ippiLn_32f_C3R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst,
  1447. int dstStep, IppiSize roiSize))
  1448. IPPAPI(IppStatus, ippiLn_16s_C1IRSfs,(Ipp16s* pSrcDst, int srcDstStep,
  1449. IppiSize roiSize, int scaleFactor))
  1450. IPPAPI(IppStatus, ippiLn_16s_C3IRSfs,(Ipp16s* pSrcDst, int srcDstStep,
  1451. IppiSize roiSize, int scaleFactor))
  1452. IPPAPI(IppStatus, ippiLn_16s_C1RSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pDst,
  1453. int dstStep, IppiSize roiSize, int scaleFactor))
  1454. IPPAPI(IppStatus, ippiLn_16s_C3RSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pDst,
  1455. int dstStep, IppiSize roiSize, int scaleFactor))
  1456. IPPAPI(IppStatus,ippiLn_16u_C1RSfs,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst,
  1457. int dstStep, IppiSize roiSize, int ScalFact))
  1458. IPPAPI(IppStatus,ippiLn_16u_C3RSfs,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst,
  1459. int dstStep, IppiSize roiSize, int ScalFact))
  1460. IPPAPI(IppStatus, ippiLn_8u_C1IRSfs,(Ipp8u* pSrcDst, int srcDstStep,
  1461. IppiSize roiSize, int scaleFactor))
  1462. IPPAPI(IppStatus, ippiLn_8u_C3IRSfs,(Ipp8u* pSrcDst, int srcDstStep,
  1463. IppiSize roiSize, int scaleFactor))
  1464. IPPAPI(IppStatus, ippiLn_8u_C1RSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst,
  1465. int dstStep, IppiSize roiSize, int scaleFactor))
  1466. IPPAPI(IppStatus, ippiLn_8u_C3RSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst,
  1467. int dstStep, IppiSize roiSize, int scaleFactor))
  1468. IPPAPI(IppStatus,ippiLn_16u_C1IRSfs,(Ipp16u* pSrcDst, int srcDstStep,
  1469. IppiSize roiSize, int ScalFact))
  1470. IPPAPI(IppStatus,ippiLn_16u_C3IRSfs,(Ipp16u* pSrcDst, int srcDstStep,
  1471. IppiSize roiSize, int ScalFact))
  1472. /* /////////////////////////////////////////////////////////////////////////////
  1473. // Names:
  1474. // ippiExp_32f_C1IR ippiExp_16s_C1IRSfs ippiExp_8u_C1IRSfs ippiExp_16u_C1IRSfs
  1475. // ippiExp_32f_C3IR ippiExp_16s_C3IRSfs ippiExp_8u_C3IRSfs ippiExp_16u_C3IRSfs
  1476. // ippiExp_32f_C1R ippiExp_16s_C1RSfs ippiExp_8u_C1RSfs ippiExp_16u_C1RSfs
  1477. // ippiExp_32f_C3R ippiExp_16s_C3RSfs ippiExp_8u_C3RSfs ippiExp_16u_C3RSfs
  1478. // Purpose:
  1479. // computes the exponential of pixel values in a source image
  1480. // Parameters:
  1481. // pSrc Pointer to the source image.
  1482. // pDst Pointer to the destination image.
  1483. // pSrcDst Pointer to the source/destination image for in-place functions.
  1484. // srcStep Step through the source image.
  1485. // dstStep Step through the in destination image.
  1486. // srcDstStep Step through the source/destination image for in-place functions.
  1487. // roiSize Size of the ROI.
  1488. // scaleFactor Scale factor for integer data.
  1489. // Returns:
  1490. // ippStsNullPtrErr One of the pointers is NULL
  1491. // ippStsSizeErr The roiSize has a field with negative or zero value
  1492. // ippStsStepErr One of the step values is less than or equal to zero
  1493. // ippStsNoErr otherwise
  1494. */
  1495. IPPAPI(IppStatus, ippiExp_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1496. IPPAPI(IppStatus, ippiExp_32f_C3IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  1497. IPPAPI(IppStatus, ippiExp_32f_C1R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst,
  1498. int dstStep, IppiSize roiSize))
  1499. IPPAPI(IppStatus, ippiExp_32f_C3R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst,
  1500. int dstStep, IppiSize roiSize))
  1501. IPPAPI(IppStatus, ippiExp_16s_C1IRSfs,(Ipp16s* pSrcDst, int srcDstStep,
  1502. IppiSize roiSize, int scaleFactor))
  1503. IPPAPI(IppStatus, ippiExp_16s_C3IRSfs,(Ipp16s* pSrcDst, int srcDstStep,
  1504. IppiSize roiSize, int scaleFactor))
  1505. IPPAPI(IppStatus, ippiExp_16s_C1RSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pDst,
  1506. int dstStep, IppiSize roiSize, int scaleFactor))
  1507. IPPAPI(IppStatus, ippiExp_16s_C3RSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pDst,
  1508. int dstStep, IppiSize roiSize, int scaleFactor))
  1509. IPPAPI(IppStatus,ippiExp_16u_C1IRSfs,(Ipp16u* pSrcDst, int srcDstStep,
  1510. IppiSize roiSize, int sFact))
  1511. IPPAPI(IppStatus,ippiExp_16u_C3IRSfs,(Ipp16u* pSrcDst, int srcDstStep,
  1512. IppiSize roiSize, int sFact))
  1513. IPPAPI(IppStatus, ippiExp_8u_C1IRSfs,(Ipp8u* pSrcDst, int srcDstStep,
  1514. IppiSize roiSize, int scaleFactor))
  1515. IPPAPI(IppStatus, ippiExp_8u_C3IRSfs,(Ipp8u* pSrcDst, int srcDstStep,
  1516. IppiSize roiSize, int scaleFactor))
  1517. IPPAPI(IppStatus, ippiExp_8u_C1RSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst,
  1518. int dstStep, IppiSize roiSize, int scaleFactor))
  1519. IPPAPI(IppStatus, ippiExp_8u_C3RSfs, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst,
  1520. int dstStep, IppiSize roiSize, int scaleFactor))
  1521. IPPAPI(IppStatus,ippiExp_16u_C1RSfs,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst,
  1522. int dstStep, IppiSize roiSize, int sFact))
  1523. IPPAPI(IppStatus,ippiExp_16u_C3RSfs,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst,
  1524. int dstStep, IppiSize roiSize, int sFact))
  1525. /* /////////////////////////////////////////////////////////////////////////////
  1526. // Arithmetic Functions Operating on Complex Data
  1527. ///////////////////////////////////////////////////////////////////////////// */
  1528. /* /////////////////////////////////////////////////////////////////////////////
  1529. // Name: ippiAddC_32fc_C1R, ippiAddC_32fc_C3R, ippiAddC_32fc_AC4R,
  1530. // ippiSubC_32fc_C1R, ippiSubC_32fc_C3R, ippiSubC_32fc_AC4R,
  1531. // ippiMulC_32fc_C1R, ippiMulC_32fc_C3R, ippiMulC_32fc_AC4R
  1532. // ippiDivC_32fc_C1R, ippiDivC_32fc_C3R, ippiDivC_32fc_AC4R
  1533. //
  1534. // Purpose: Adds, subtracts, multiplies, or divides pixel values of an image
  1535. // and a constant and places the results in the destination image.
  1536. //
  1537. // Returns:
  1538. // ippStsNoErr OK
  1539. // ippStsNullPtrErr One of the pointers is NULL
  1540. // ippStsSizeErr The roiSize has a field with negative or zero value
  1541. // ippStsStepErr One of the step values is less than or equal to zero
  1542. // ippStsDivByZeroErr The constant is equal to zero (for division)
  1543. //
  1544. // Parameters:
  1545. // value The constant value (constant vector for multi-channel images)
  1546. // pSrc Pointer to the source image
  1547. // srcStep Step through the source image
  1548. // pDst Pointer to the destination image
  1549. // dstStep Step through the destination image
  1550. // roiSize Size of the ROI
  1551. */
  1552. IPPAPI(IppStatus, ippiAddC_32fc_C1R, (const Ipp32fc* pSrc, int srcStep, Ipp32fc value, Ipp32fc* pDst,
  1553. int dstStep, IppiSize roiSize))
  1554. IPPAPI(IppStatus, ippiAddC_32fc_C3R, (const Ipp32fc* pSrc, int srcStep, const Ipp32fc value[3],
  1555. Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1556. IPPAPI(IppStatus, ippiAddC_32fc_AC4R, (const Ipp32fc* pSrc, int srcStep, const Ipp32fc value[3],
  1557. Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1558. IPPAPI(IppStatus, ippiSubC_32fc_C1R, (const Ipp32fc* pSrc, int srcStep, Ipp32fc value, Ipp32fc* pDst,
  1559. int dstStep, IppiSize roiSize))
  1560. IPPAPI(IppStatus, ippiSubC_32fc_C3R, (const Ipp32fc* pSrc, int srcStep, const Ipp32fc value[3],
  1561. Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1562. IPPAPI(IppStatus, ippiSubC_32fc_AC4R, (const Ipp32fc* pSrc, int srcStep, const Ipp32fc value[3],
  1563. Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1564. IPPAPI(IppStatus, ippiMulC_32fc_C1R, (const Ipp32fc* pSrc, int srcStep, Ipp32fc value, Ipp32fc* pDst,
  1565. int dstStep, IppiSize roiSize))
  1566. IPPAPI(IppStatus, ippiMulC_32fc_C3R, (const Ipp32fc* pSrc, int srcStep, const Ipp32fc value[3],
  1567. Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1568. IPPAPI(IppStatus, ippiMulC_32fc_AC4R, (const Ipp32fc* pSrc, int srcStep, const Ipp32fc value[3],
  1569. Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1570. IPPAPI(IppStatus, ippiDivC_32fc_C1R, (const Ipp32fc* pSrc,
  1571. int srcStep, Ipp32fc value, Ipp32fc* pDst,
  1572. int dstStep, IppiSize roiSize))
  1573. IPPAPI(IppStatus, ippiDivC_32fc_C3R, (const Ipp32fc* pSrc,
  1574. int srcStep, const Ipp32fc value[3], Ipp32fc* pDst,
  1575. int dstStep, IppiSize roiSize))
  1576. IPPAPI(IppStatus, ippiDivC_32fc_AC4R, (const Ipp32fc* pSrc,
  1577. int srcStep, const Ipp32fc value[3], Ipp32fc* pDst,
  1578. int dstStep, IppiSize roiSize))
  1579. /* ////////////////////////////////////////////////////////////////////////////
  1580. // Name: ippiAddC_32fc_C1IR, ippiAddC_32fc_C3IR, ippiAddC_32fc_AC4IR,
  1581. // ippiSubC_32fc_C1IR, ippiSubC_32fc_C3IR, ippiSubC_32fc_AC4IR,
  1582. // ippiMulC_32fc_C1IR, ippiMulC_32fc_C3IR, ippiMulC_32fc_AC4IR
  1583. // ippiDivC_32fc_C1IR, ippiDivC_32fc_C3IR, ippiDivC_32fc_AC4IR
  1584. //
  1585. // Purpose: Adds, subtracts, multiplies, or divides pixel values of an image
  1586. // and a constant and places the results in the same image.
  1587. //
  1588. // Returns:
  1589. // ippStsNoErr OK
  1590. // ippStsNullPtrErr The pointer pSrcDst is NULL
  1591. // ippStsSizeErr The roiSize has a field with negative or zero value
  1592. // ippStsStepErr The step value is less than or equal to zero
  1593. // ippStsDivByZeroErr The constant is equal to zero (for division)
  1594. //
  1595. // Parameters:
  1596. // value The constant value (constant vector for multi-channel images)
  1597. // pSrcDst Pointer to the image
  1598. // srcDstStep Step through the image
  1599. // roiSize Size of the ROI
  1600. */
  1601. IPPAPI(IppStatus, ippiAddC_32fc_C1IR, (Ipp32fc value, Ipp32fc* pSrcDst, int srcDstStep,
  1602. IppiSize roiSize))
  1603. IPPAPI(IppStatus, ippiAddC_32fc_C3IR, (const Ipp32fc value[3], Ipp32fc* pSrcDst, int srcDstStep,
  1604. IppiSize roiSize))
  1605. IPPAPI(IppStatus, ippiAddC_32fc_AC4IR, (const Ipp32fc value[3], Ipp32fc* pSrcDst, int srcDstStep,
  1606. IppiSize roiSize))
  1607. IPPAPI(IppStatus, ippiSubC_32fc_C1IR, (Ipp32fc value, Ipp32fc* pSrcDst, int srcDstStep,
  1608. IppiSize roiSize))
  1609. IPPAPI(IppStatus, ippiSubC_32fc_C3IR, (const Ipp32fc value[3], Ipp32fc* pSrcDst, int srcDstStep,
  1610. IppiSize roiSize))
  1611. IPPAPI(IppStatus, ippiSubC_32fc_AC4IR, (const Ipp32fc value[3], Ipp32fc* pSrcDst, int srcDstStep,
  1612. IppiSize roiSize))
  1613. IPPAPI(IppStatus, ippiMulC_32fc_C1IR, (Ipp32fc value, Ipp32fc* pSrcDst, int srcDstStep,
  1614. IppiSize roiSize))
  1615. IPPAPI(IppStatus, ippiMulC_32fc_C3IR, (const Ipp32fc value[3], Ipp32fc* pSrcDst, int srcDstStep,
  1616. IppiSize roiSize))
  1617. IPPAPI(IppStatus, ippiMulC_32fc_AC4IR, (const Ipp32fc value[3], Ipp32fc* pSrcDst, int srcDstStep,
  1618. IppiSize roiSize))
  1619. IPPAPI(IppStatus, ippiDivC_32fc_C1IR, (Ipp32fc value, Ipp32fc* pSrcDst, int srcDstStep,
  1620. IppiSize roiSize))
  1621. IPPAPI(IppStatus, ippiDivC_32fc_C3IR, (const Ipp32fc value[3], Ipp32fc* pSrcDst, int srcDstStep,
  1622. IppiSize roiSize))
  1623. IPPAPI(IppStatus, ippiDivC_32fc_AC4IR, (const Ipp32fc value[3], Ipp32fc* pSrcDst, int srcDstStep,
  1624. IppiSize roiSize))
  1625. /* ////////////////////////////////////////////////////////////////////////////
  1626. // Name: ippiAdd_32fc_C1IR, ippiAdd_32fc_C3IR, ippiAdd_32fc_AC4IR,
  1627. // ippiSub_32fc_C1IR, ippiSub_32fc_C3IR, ippiSub_32fc_AC4IR,
  1628. // ippiMul_32fc_C1IR, ippiMul_32fc_C3IR, ippiMul_32fc_AC4IR
  1629. // ippiDiv_32fc_C1IR, ippiDiv_32fc_C3IR, ippiDiv_32fc_AC4IR
  1630. //
  1631. // Purpose: Adds, subtracts, multiplies, or divides pixel values of two
  1632. // source images and places the results in the first source image.
  1633. //
  1634. // Returns:
  1635. // ippStsNoErr OK
  1636. // ippStsNullPtrErr One of the pointers is NULL
  1637. // ippStsSizeErr The roiSize has a field with negative or zero value
  1638. // ippStsStepErr Any of the step values is less than or equal to zero
  1639. // ippStsDivByZero For division only - a warning that a divisor value (pixel value
  1640. // of the second image) equals zero, the function execution is continued.
  1641. // If a dividend is equal to zero, then the result is NAN_32F;
  1642. // if it is greater than zero, then the result is INF_32F,
  1643. // if it is less than zero, then the result is INF_NEG_32F
  1644. //
  1645. // Parameters:
  1646. // pSrc Pointer to the second source image
  1647. // srcStep Step through the second source image
  1648. // pSrcDst Pointer to the first source/destination image
  1649. // srcDstStep Step through the first source/destination image
  1650. // roiSize Size of the ROI
  1651. */
  1652. IPPAPI(IppStatus, ippiAdd_32fc_C1IR, (const Ipp32fc* pSrc, int srcStep, Ipp32fc* pSrcDst,
  1653. int srcDstStep, IppiSize roiSize))
  1654. IPPAPI(IppStatus, ippiAdd_32fc_C3IR, (const Ipp32fc* pSrc, int srcStep, Ipp32fc* pSrcDst,
  1655. int srcDstStep, IppiSize roiSize))
  1656. IPPAPI(IppStatus, ippiAdd_32fc_AC4IR, (const Ipp32fc* pSrc, int srcStep, Ipp32fc* pSrcDst,
  1657. int srcDstStep, IppiSize roiSize))
  1658. IPPAPI(IppStatus, ippiSub_32fc_C1IR, (const Ipp32fc* pSrc, int srcStep, Ipp32fc* pSrcDst,
  1659. int srcDstStep, IppiSize roiSize))
  1660. IPPAPI(IppStatus, ippiSub_32fc_C3IR, (const Ipp32fc* pSrc, int srcStep, Ipp32fc* pSrcDst,
  1661. int srcDstStep, IppiSize roiSize))
  1662. IPPAPI(IppStatus, ippiSub_32fc_AC4IR, (const Ipp32fc* pSrc, int srcStep, Ipp32fc* pSrcDst,
  1663. int srcDstStep, IppiSize roiSize))
  1664. IPPAPI(IppStatus, ippiMul_32fc_C1IR, (const Ipp32fc* pSrc, int srcStep, Ipp32fc* pSrcDst,
  1665. int srcDstStep, IppiSize roiSize))
  1666. IPPAPI(IppStatus, ippiMul_32fc_C3IR, (const Ipp32fc* pSrc, int srcStep, Ipp32fc* pSrcDst,
  1667. int srcDstStep, IppiSize roiSize))
  1668. IPPAPI(IppStatus, ippiMul_32fc_AC4IR, (const Ipp32fc* pSrc, int srcStep, Ipp32fc* pSrcDst,
  1669. int srcDstStep, IppiSize roiSize))
  1670. IPPAPI(IppStatus, ippiDiv_32fc_C1IR, (const Ipp32fc* pSrc, int srcStep, Ipp32fc* pSrcDst,
  1671. int srcDstStep, IppiSize roiSize))
  1672. IPPAPI(IppStatus, ippiDiv_32fc_C3IR, (const Ipp32fc* pSrc, int srcStep, Ipp32fc* pSrcDst,
  1673. int srcDstStep, IppiSize roiSize))
  1674. IPPAPI(IppStatus, ippiDiv_32fc_AC4IR, (const Ipp32fc* pSrc, int srcStep, Ipp32fc* pSrcDst,
  1675. int srcDstStep, IppiSize roiSize))
  1676. /* ////////////////////////////////////////////////////////////////////////////
  1677. // Name: ippiAdd_32fc_C1R, ippiAdd_32fc_C3R, ippiAdd_32fc_AC4R,
  1678. // ippiSub_32fc_C1R, ippiSub_32fc_C3R, ippiSub_32fc_AC4R,
  1679. // ippiMul_32fc_C1R, ippiMul_32fc_C3R, ippiMul_32fc_AC4R
  1680. // ippiDiv_32fc_C1R, ippiDiv_32fc_C3R, ippiDiv_32fc_AC4R
  1681. //
  1682. // Purpose: Adds, subtracts, multiplies, or divides pixel values of two
  1683. // source images and places the results in the destination image.
  1684. //
  1685. // Returns:
  1686. // ippStsNoErr OK
  1687. // ippStsNullPtrErr One of the pointers is NULL
  1688. // ippStsSizeErr The roiSize has a field with negative or zero value
  1689. // ippStsStepErr Any of the step values is less than or equal to zero
  1690. // ippStsDivByZero For division only - a warning that a divisor value (pixel value
  1691. // of the second image) equals zero, the function execution is continued.
  1692. // If a dividend is equal to zero, then the result is NAN_32F;
  1693. // if it is greater than zero, then the result is INF_32F,
  1694. // if it is less than zero, then the result is INF_NEG_32F
  1695. //
  1696. // Parameters:
  1697. // pSrc1, pSrc2 Pointers to the first and second source images
  1698. // src1Step, src2Step Step through the first and second source images
  1699. // pDst Pointer to the destination image
  1700. // dstStep Step through the destination image
  1701. // roiSize Size of the ROI
  1702. */
  1703. IPPAPI(IppStatus, ippiAdd_32fc_C1R, (const Ipp32fc* pSrc1, int src1Step, const Ipp32fc* pSrc2,
  1704. int src2Step, Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1705. IPPAPI(IppStatus, ippiAdd_32fc_C3R, (const Ipp32fc* pSrc1, int src1Step, const Ipp32fc* pSrc2,
  1706. int src2Step, Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1707. IPPAPI(IppStatus, ippiAdd_32fc_AC4R, (const Ipp32fc* pSrc1, int src1Step, const Ipp32fc* pSrc2,
  1708. int src2Step, Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1709. IPPAPI(IppStatus, ippiSub_32fc_C1R, (const Ipp32fc* pSrc1, int src1Step, const Ipp32fc* pSrc2,
  1710. int src2Step, Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1711. IPPAPI(IppStatus, ippiSub_32fc_C3R, (const Ipp32fc* pSrc1, int src1Step, const Ipp32fc* pSrc2,
  1712. int src2Step, Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1713. IPPAPI(IppStatus, ippiSub_32fc_AC4R, (const Ipp32fc* pSrc1, int src1Step, const Ipp32fc* pSrc2,
  1714. int src2Step, Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1715. IPPAPI(IppStatus, ippiMul_32fc_C1R, (const Ipp32fc* pSrc1, int src1Step, const Ipp32fc* pSrc2,
  1716. int src2Step, Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1717. IPPAPI(IppStatus, ippiMul_32fc_C3R, (const Ipp32fc* pSrc1, int src1Step, const Ipp32fc* pSrc2,
  1718. int src2Step, Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1719. IPPAPI(IppStatus, ippiMul_32fc_AC4R, (const Ipp32fc* pSrc1, int src1Step, const Ipp32fc* pSrc2,
  1720. int src2Step, Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1721. IPPAPI(IppStatus, ippiDiv_32fc_C1R, (const Ipp32fc* pSrc1, int src1Step, const Ipp32fc* pSrc2,
  1722. int src2Step, Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1723. IPPAPI(IppStatus, ippiDiv_32fc_C3R, (const Ipp32fc* pSrc1, int src1Step, const Ipp32fc* pSrc2,
  1724. int src2Step, Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1725. IPPAPI(IppStatus, ippiDiv_32fc_AC4R, (const Ipp32fc* pSrc1, int src1Step, const Ipp32fc* pSrc2,
  1726. int src2Step, Ipp32fc* pDst, int dstStep, IppiSize roiSize))
  1727. /* ////////////////////////////////////////////////////////////////////////////
  1728. // Name: ippiAdd_16sc_C1IRSfs, ippiAdd_16sc_C3IRSfs, ippiAdd_16sc_AC4IRSfs,
  1729. // ippiSub_16sc_C1IRSfs, ippiSub_16sc_C3IRSfs, ippiSub_16sc_AC4IRSfs,
  1730. // ippiMul_16sc_C1IRSfs, ippiMul_16sc_C3IRSfs, ippiMul_16sc_AC4IRSfs,
  1731. // ippiDiv_16sc_C1IRSfs, ippiDiv_16sc_C3IRSfs, ippiDiv_16sc_AC4IRSfs
  1732. //
  1733. // Purpose: Adds, subtracts, multiplies, or divides pixel values of two
  1734. // source images and places the results in the first source image.
  1735. //
  1736. // Returns:
  1737. // ippStsNoErr OK
  1738. // iippStsNullPtrErr One of the pointers is NULL
  1739. // ippStsSizeErr The roiSize has a field with negative or zero value
  1740. // ippStsStepErr Any of the step values is less than or equal to zero
  1741. // ippStsDivByZero For division only - a warning that a divisor value (pixel value
  1742. // of the second image) equals zero, the function execution is continued.
  1743. // If a dividend is equal to zero, then the result is zero;
  1744. // if it is greater than zero, then the result is zero,
  1745. // if it is less than zero, then the result is zero
  1746. //
  1747. // Parameters:
  1748. // pSrc Pointer to the source image
  1749. // srcStep Step through the source image
  1750. // pSrcDst Pointer to the source and destination image
  1751. // srcDstStep Step through the source and destination image
  1752. // roiSize Size of the ROI
  1753. // scaleFactor Scale factor
  1754. */
  1755. IPPAPI(IppStatus, ippiAdd_16sc_C1IRSfs, (const Ipp16sc* pSrc, int srcStep, Ipp16sc* pSrcDst,
  1756. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1757. IPPAPI(IppStatus, ippiAdd_16sc_C3IRSfs, (const Ipp16sc* pSrc, int srcStep, Ipp16sc* pSrcDst,
  1758. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1759. IPPAPI(IppStatus, ippiAdd_16sc_AC4IRSfs, (const Ipp16sc* pSrc, int srcStep, Ipp16sc* pSrcDst,
  1760. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1761. IPPAPI(IppStatus, ippiSub_16sc_C1IRSfs, (const Ipp16sc* pSrc, int srcStep, Ipp16sc* pSrcDst,
  1762. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1763. IPPAPI(IppStatus, ippiSub_16sc_C3IRSfs, (const Ipp16sc* pSrc, int srcStep, Ipp16sc* pSrcDst,
  1764. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1765. IPPAPI(IppStatus, ippiSub_16sc_AC4IRSfs, (const Ipp16sc* pSrc, int srcStep, Ipp16sc* pSrcDst,
  1766. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1767. IPPAPI(IppStatus, ippiMul_16sc_C1IRSfs, (const Ipp16sc* pSrc, int srcStep, Ipp16sc* pSrcDst,
  1768. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1769. IPPAPI(IppStatus, ippiMul_16sc_C3IRSfs, (const Ipp16sc* pSrc, int srcStep, Ipp16sc* pSrcDst,
  1770. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1771. IPPAPI(IppStatus, ippiMul_16sc_AC4IRSfs, (const Ipp16sc* pSrc, int srcStep, Ipp16sc* pSrcDst,
  1772. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1773. IPPAPI(IppStatus, ippiDiv_16sc_C1IRSfs, (const Ipp16sc* pSrc, int srcStep, Ipp16sc* pSrcDst,
  1774. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1775. IPPAPI(IppStatus, ippiDiv_16sc_C3IRSfs, (const Ipp16sc* pSrc, int srcStep, Ipp16sc* pSrcDst,
  1776. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1777. IPPAPI(IppStatus, ippiDiv_16sc_AC4IRSfs, (const Ipp16sc* pSrc, int srcStep, Ipp16sc* pSrcDst,
  1778. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1779. /* ////////////////////////////////////////////////////////////////////////////
  1780. // Name: ippiAdd_16sc_C1RSfs, ippiAdd_16sc_C3RSfs, ippiAdd_16sc_AC4RSfs,
  1781. // ippiSub_16sc_C1RSfs, ippiSub_16sc_C3RSfs, ippiSub_16sc_AC4RSfs,
  1782. // ippiMul_16sc_C1RSfs, ippiMul_16sc_C3RSfs, ippiMul_16sc_AC4RSfs,
  1783. // ippiDiv_16sc_C1RSfs, ippiDiv_16sc_C3RSfs, ippiDiv_16sc_AC4RSfs
  1784. //
  1785. // Purpose: Adds, subtracts, multiplies, or divides pixel values of two
  1786. // source images and places the results in the destination image.
  1787. // Returns:
  1788. // ippStsNoErr OK
  1789. // ippStsNullPtrErr One of the pointers is NULL
  1790. // ippStsSizeErr The roiSize has a field with negative or zero value
  1791. // ippStsStepErr One of the step values is less than or equal to zero
  1792. // ippStsDivByZero For division only - a warning that a divisor value (pixel value
  1793. // of the second image) equals zero, the function execution is continued.
  1794. // If a dividend is equal to zero, then the result is zero;
  1795. // if it is greater than zero, then the result is zero,
  1796. // if it is less than zero, then the result is zero
  1797. // Parameters:
  1798. // pSrc1, pSrc2 Pointers to source images
  1799. // src1Step, src2Step Steps through the source images
  1800. // pDst Pointer to the destination image
  1801. // dstStep Step through the destination image
  1802. // roiSize Size of the ROI
  1803. // scaleFactor Scale factor
  1804. */
  1805. IPPAPI(IppStatus, ippiAdd_16sc_C1RSfs, (const Ipp16sc* pSrc1, int src1Step, const Ipp16sc* pSrc2,
  1806. int src2Step, Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1807. IPPAPI(IppStatus, ippiAdd_16sc_C3RSfs, (const Ipp16sc* pSrc1, int src1Step, const Ipp16sc* pSrc2,
  1808. int src2Step, Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1809. IPPAPI(IppStatus, ippiAdd_16sc_AC4RSfs, (const Ipp16sc* pSrc1, int src1Step, const Ipp16sc* pSrc2,
  1810. int src2Step, Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1811. IPPAPI(IppStatus, ippiSub_16sc_C1RSfs, (const Ipp16sc* pSrc1, int src1Step, const Ipp16sc* pSrc2,
  1812. int src2Step, Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1813. IPPAPI(IppStatus, ippiSub_16sc_C3RSfs, (const Ipp16sc* pSrc1, int src1Step, const Ipp16sc* pSrc2,
  1814. int src2Step, Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1815. IPPAPI(IppStatus, ippiSub_16sc_AC4RSfs, (const Ipp16sc* pSrc1, int src1Step, const Ipp16sc* pSrc2,
  1816. int src2Step, Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1817. IPPAPI(IppStatus, ippiMul_16sc_C1RSfs, (const Ipp16sc* pSrc1, int src1Step, const Ipp16sc* pSrc2,
  1818. int src2Step, Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1819. IPPAPI(IppStatus, ippiMul_16sc_C3RSfs, (const Ipp16sc* pSrc1, int src1Step, const Ipp16sc* pSrc2,
  1820. int src2Step, Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1821. IPPAPI(IppStatus, ippiMul_16sc_AC4RSfs, (const Ipp16sc* pSrc1, int src1Step, const Ipp16sc* pSrc2,
  1822. int src2Step, Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1823. IPPAPI(IppStatus, ippiDiv_16sc_C1RSfs, (const Ipp16sc* pSrc1, int src1Step, const Ipp16sc* pSrc2,
  1824. int src2Step, Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1825. IPPAPI(IppStatus, ippiDiv_16sc_C3RSfs, (const Ipp16sc* pSrc1, int src1Step, const Ipp16sc* pSrc2,
  1826. int src2Step, Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1827. IPPAPI(IppStatus, ippiDiv_16sc_AC4RSfs, (const Ipp16sc* pSrc1, int src1Step, const Ipp16sc* pSrc2,
  1828. int src2Step, Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1829. /* ////////////////////////////////////////////////////////////////////////////
  1830. // Name: ippiAdd_32sc_C1IRSfs, ippiAdd_32sc_C3IRSfs, ippiAdd_32sc_AC4IRSfs,
  1831. // ippiSub_32sc_C1IRSfs, ippiSub_32sc_C3IRSfs, ippiSub_32sc_AC4IRSfs,
  1832. // ippiMul_32sc_C1IRSfs, ippiMul_32sc_C3IRSfs, ippiMul_32sc_AC4IRSfs,
  1833. // ippiDiv_32sc_C1IRSfs, ippiDiv_32sc_C3IRSfs, ippiDiv_32sc_AC4IRSfs
  1834. //
  1835. // Purpose: Adds, subtracts, multiplies, or divides pixel values of two
  1836. // source images and places the results in the first source image.
  1837. //
  1838. // Returns:
  1839. // ippStsNoErr OK
  1840. // ippStsNullPtrErr One of the pointers is NULL
  1841. // ippStsSizeErr The roiSize has a field with negative or zero value
  1842. // ippStsStepErr One of the step values is less than or equal to zero
  1843. // ippStsDivByZero For division only - a warning that a divisor value (pixel value
  1844. // of the second image) equals zero, the function execution is continued.
  1845. // If a dividend is equal to zero, then the result is zero;
  1846. // if it is greater than zero, then the result is IPP_MAX_32S,
  1847. // if it is less than zero, then the result is IPP_MIN_32S
  1848. // Parameters:
  1849. // pSrc Pointer to the second source image
  1850. // srcStep Step through the second source image
  1851. // pSrcDst Pointer to the first source/destination image
  1852. // srcDstStep Step through the first source/destination image
  1853. // roiSize Size of the ROI
  1854. // scaleFactor Scale factor
  1855. */
  1856. IPPAPI(IppStatus, ippiAdd_32sc_C1IRSfs, (const Ipp32sc* pSrc, int srcStep, Ipp32sc* pSrcDst,
  1857. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1858. IPPAPI(IppStatus, ippiAdd_32sc_C3IRSfs, (const Ipp32sc* pSrc, int srcStep, Ipp32sc* pSrcDst,
  1859. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1860. IPPAPI(IppStatus, ippiAdd_32sc_AC4IRSfs, (const Ipp32sc* pSrc, int srcStep, Ipp32sc* pSrcDst,
  1861. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1862. IPPAPI(IppStatus, ippiSub_32sc_C1IRSfs, (const Ipp32sc* pSrc, int srcStep, Ipp32sc* pSrcDst,
  1863. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1864. IPPAPI(IppStatus, ippiSub_32sc_C3IRSfs, (const Ipp32sc* pSrc, int srcStep, Ipp32sc* pSrcDst,
  1865. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1866. IPPAPI(IppStatus, ippiSub_32sc_AC4IRSfs, (const Ipp32sc* pSrc, int srcStep, Ipp32sc* pSrcDst,
  1867. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1868. IPPAPI(IppStatus, ippiMul_32sc_C1IRSfs, (const Ipp32sc* pSrc, int srcStep, Ipp32sc* pSrcDst,
  1869. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1870. IPPAPI(IppStatus, ippiMul_32sc_C3IRSfs, (const Ipp32sc* pSrc, int srcStep, Ipp32sc* pSrcDst,
  1871. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1872. IPPAPI(IppStatus, ippiMul_32sc_AC4IRSfs, (const Ipp32sc* pSrc, int srcStep, Ipp32sc* pSrcDst,
  1873. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1874. IPPAPI(IppStatus, ippiDiv_32sc_C1IRSfs, (const Ipp32sc* pSrc, int srcStep, Ipp32sc* pSrcDst,
  1875. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1876. IPPAPI(IppStatus, ippiDiv_32sc_C3IRSfs, (const Ipp32sc* pSrc, int srcStep, Ipp32sc* pSrcDst,
  1877. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1878. IPPAPI(IppStatus, ippiDiv_32sc_AC4IRSfs, (const Ipp32sc* pSrc, int srcStep, Ipp32sc* pSrcDst,
  1879. int srcDstStep, IppiSize roiSize, int scaleFactor))
  1880. /* ////////////////////////////////////////////////////////////////////////////
  1881. // Name: ippiAdd_32sc_C1RSfs, ippiAdd_32sc_C3RSfs, ippiAdd_32sc_AC4RSfs,
  1882. // ippiSub_32sc_C1RSfs, ippiSub_32sc_C3RSfs, ippiSub_32sc_AC4RSfs,
  1883. // ippiMul_32sc_C1RSfs, ippiMul_32sc_C3RSfs, ippiMul_32sc_AC4RSfs,
  1884. // ippiDiv_32sc_C1RSfs, ippiDiv_32sc_C3RSfs, ippiDiv_32sc_AC4RSfs
  1885. //
  1886. // Purpose: Adds, subtracts, multiplies, or divides pixel values of two
  1887. // source images and places the results in the destination image.
  1888. //
  1889. // Returns:
  1890. // ippStsNoErr OK
  1891. // ippStsNullPtrErr One of the pointers is NULL
  1892. // ippStsSizeErr The roiSize has a field with negative or zero value
  1893. // ippStsStepErr One of the step values is less than or equal to zero
  1894. // ippStsDivByZero For division only - a warning that a divisor value (pixel value
  1895. // of the second image) equals zero, the function execution is continued.
  1896. // If a dividend is equal to zero, then the result is zero;
  1897. // if it is greater than zero, then the result is IPP_MAX_32S,
  1898. // if it is less than zero, then the result is IPP_MIN_32S
  1899. // Parameters:
  1900. // pSrc1, pSrc2 Pointers to source images
  1901. // src1Step, src2Step The steps of the source images
  1902. // pDst The pointer to the destination image
  1903. // dstStep The step of the destination image
  1904. // roiSize Size of the ROI
  1905. // scaleFactor Scale factor
  1906. */
  1907. IPPAPI(IppStatus, ippiAdd_32sc_C1RSfs, (const Ipp32sc* pSrc1, int src1Step, const Ipp32sc* pSrc2,
  1908. int src2Step, Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1909. IPPAPI(IppStatus, ippiAdd_32sc_C3RSfs, (const Ipp32sc* pSrc1, int src1Step, const Ipp32sc* pSrc2,
  1910. int src2Step, Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1911. IPPAPI(IppStatus, ippiAdd_32sc_AC4RSfs, (const Ipp32sc* pSrc1, int src1Step, const Ipp32sc* pSrc2,
  1912. int src2Step, Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1913. IPPAPI(IppStatus, ippiSub_32sc_C1RSfs, (const Ipp32sc* pSrc1, int src1Step, const Ipp32sc* pSrc2,
  1914. int src2Step, Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1915. IPPAPI(IppStatus, ippiSub_32sc_C3RSfs, (const Ipp32sc* pSrc1, int src1Step, const Ipp32sc* pSrc2,
  1916. int src2Step, Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1917. IPPAPI(IppStatus, ippiSub_32sc_AC4RSfs, (const Ipp32sc* pSrc1, int src1Step, const Ipp32sc* pSrc2,
  1918. int src2Step, Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1919. IPPAPI(IppStatus, ippiMul_32sc_C1RSfs, (const Ipp32sc* pSrc1, int src1Step, const Ipp32sc* pSrc2,
  1920. int src2Step, Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1921. IPPAPI(IppStatus, ippiMul_32sc_C3RSfs, (const Ipp32sc* pSrc1, int src1Step, const Ipp32sc* pSrc2,
  1922. int src2Step, Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1923. IPPAPI(IppStatus, ippiMul_32sc_AC4RSfs, (const Ipp32sc* pSrc1, int src1Step, const Ipp32sc* pSrc2,
  1924. int src2Step, Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1925. IPPAPI(IppStatus, ippiDiv_32sc_C1RSfs, (const Ipp32sc* pSrc1, int src1Step, const Ipp32sc* pSrc2,
  1926. int src2Step, Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1927. IPPAPI(IppStatus, ippiDiv_32sc_C3RSfs, (const Ipp32sc* pSrc1, int src1Step, const Ipp32sc* pSrc2,
  1928. int src2Step, Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1929. IPPAPI(IppStatus, ippiDiv_32sc_AC4RSfs, (const Ipp32sc* pSrc1, int src1Step, const Ipp32sc* pSrc2,
  1930. int src2Step, Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  1931. /* ////////////////////////////////////////////////////////////////////////////
  1932. // Name: ippiAddC_16sc_C1IRSfs, ippiAddC_16sc_C3IRSfs, ippiAddC_16sc_AC4IRSfs,
  1933. // ippiSubC_16sc_C1IRSfs, ippiSubC_16sc_C3IRSfs, ippiSubC_16sc_AC4IRSfs,
  1934. // ippiMulC_16sc_C1IRSfs, ippiMulC_16sc_C3IRSfs, ippiMulC_16sc_AC4IRSfs,
  1935. // ippiDivC_16sc_C1IRSfs, ippiDivC_16sc_C3IRSfs, ippiDivC_16sc_AC4IRSfs
  1936. //
  1937. // Purpose: Adds, subtracts, multiplies, or divides pixel values of an image
  1938. // and a constant and places the results in the same image.
  1939. //
  1940. // Returns:
  1941. // ippStsNoErr OK
  1942. // ippStsNullPtrErr The pointer is NULL
  1943. // ippStsSizeErr The roiSize has a field with negative or zero value
  1944. // ippStsStepErr The step value is less than or equal to zero
  1945. // ippStsDivByZeroErr The constant is equal to zero (for division)
  1946. //
  1947. // Parameters:
  1948. // value The constant value (constant vector for multi-channel images)
  1949. // pSrcDst Pointer to the image
  1950. // srcDstStep Step through the image
  1951. // roiSize Size of the ROI
  1952. // scaleFactor Scale factor
  1953. */
  1954. IPPAPI(IppStatus, ippiAddC_16sc_C1IRSfs, (Ipp16sc value, Ipp16sc* pSrcDst, int srcDstStep,
  1955. IppiSize roiSize, int scaleFactor))
  1956. IPPAPI(IppStatus, ippiAddC_16sc_C3IRSfs, (const Ipp16sc value[3], Ipp16sc* pSrcDst, int srcDstStep,
  1957. IppiSize roiSize, int scaleFactor))
  1958. IPPAPI(IppStatus, ippiAddC_16sc_AC4IRSfs, (const Ipp16sc value[3], Ipp16sc* pSrcDst, int srcDstStep,
  1959. IppiSize roiSize, int scaleFactor))
  1960. IPPAPI(IppStatus, ippiSubC_16sc_C1IRSfs, (Ipp16sc value, Ipp16sc* pSrcDst, int srcDstStep,
  1961. IppiSize roiSize, int scaleFactor))
  1962. IPPAPI(IppStatus, ippiSubC_16sc_C3IRSfs, (const Ipp16sc value[3], Ipp16sc* pSrcDst, int srcDstStep,
  1963. IppiSize roiSize, int scaleFactor))
  1964. IPPAPI(IppStatus, ippiSubC_16sc_AC4IRSfs, (const Ipp16sc value[3], Ipp16sc* pSrcDst, int srcDstStep,
  1965. IppiSize roiSize, int scaleFactor))
  1966. IPPAPI(IppStatus, ippiMulC_16sc_C1IRSfs, (Ipp16sc value, Ipp16sc* pSrcDst, int srcDstStep,
  1967. IppiSize roiSize, int scaleFactor))
  1968. IPPAPI(IppStatus, ippiMulC_16sc_C3IRSfs, (const Ipp16sc value[3], Ipp16sc* pSrcDst, int srcDstStep,
  1969. IppiSize roiSize, int scaleFactor))
  1970. IPPAPI(IppStatus, ippiMulC_16sc_AC4IRSfs, (const Ipp16sc value[3], Ipp16sc* pSrcDst, int srcDstStep,
  1971. IppiSize roiSize, int scaleFactor))
  1972. IPPAPI(IppStatus, ippiDivC_16sc_C1IRSfs, (Ipp16sc value, Ipp16sc* pSrcDst, int srcDstStep,
  1973. IppiSize roiSize, int scaleFactor))
  1974. IPPAPI(IppStatus, ippiDivC_16sc_C3IRSfs, (const Ipp16sc value[3], Ipp16sc* pSrcDst, int srcDstStep,
  1975. IppiSize roiSize, int scaleFactor))
  1976. IPPAPI(IppStatus, ippiDivC_16sc_AC4IRSfs, (const Ipp16sc value[3], Ipp16sc* pSrcDst, int srcDstStep,
  1977. IppiSize roiSize, int scaleFactor))
  1978. /* //////////////////////////////////////////////////////////////////////////////////
  1979. // Name: ippiAddC_16sc_C1RSfs, ippiAddC_16sc_C3RSfs, ippiAddC_16sc_AC4RSfs,
  1980. // ippiSubC_16sc_C1RSfs, ippiSubC_16sc_C3RSfs, ippiSubC_16sc_AC4RSfs,
  1981. // ippiMulC_16sc_C1RSfs, ippiMulC_16sc_C3RSfs, ippiMulC_16sc_AC4RSfs
  1982. // ippiDivC_16sc_C1RSfs, ippiDivC_16sc_C3RSfs, ippiDivC_16sc_AC4RSfs
  1983. //
  1984. //
  1985. // Purpose: Adds, subtracts, multiplies, or divides pixel values of an image
  1986. // and a constant and places the results in the destination image.
  1987. //
  1988. // Returns:
  1989. // ippStsNoErr OK
  1990. // ippStsNullPtrErr One of the pointers is NULL
  1991. // ippStsSizeErr The roiSize has a field with negative or zero value
  1992. // ippStsStepErr One of the step values is less than or equal to zero
  1993. // ippStsDivByZeroErr The constant is equal to zero (for division)
  1994. //
  1995. // Parameters:
  1996. // value The constant value (constant vector for multi-channel images)
  1997. // pSrc Pointer to the source image
  1998. // srcStep Step through the source image
  1999. // pDst Pointer to the destination image
  2000. // dstStep Step through the destination image
  2001. // roiSize Size of the ROI
  2002. // scaleFactor Scale factor
  2003. */
  2004. IPPAPI(IppStatus, ippiAddC_16sc_C1RSfs, (const Ipp16sc* pSrc, int srcStep, Ipp16sc value, Ipp16sc* pDst,
  2005. int dstStep, IppiSize roiSize, int scaleFactor))
  2006. IPPAPI(IppStatus, ippiAddC_16sc_C3RSfs, (const Ipp16sc* pSrc, int srcStep, const Ipp16sc value[3],
  2007. Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2008. IPPAPI(IppStatus, ippiAddC_16sc_AC4RSfs, (const Ipp16sc* pSrc, int srcStep, const Ipp16sc value[3],
  2009. Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2010. IPPAPI(IppStatus, ippiSubC_16sc_C1RSfs, (const Ipp16sc* pSrc, int srcStep, Ipp16sc value, Ipp16sc* pDst,
  2011. int dstStep, IppiSize roiSize, int scaleFactor))
  2012. IPPAPI(IppStatus, ippiSubC_16sc_C3RSfs, (const Ipp16sc* pSrc, int srcStep, const Ipp16sc value[3],
  2013. Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2014. IPPAPI(IppStatus, ippiSubC_16sc_AC4RSfs, (const Ipp16sc* pSrc, int srcStep, const Ipp16sc value[3],
  2015. Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2016. IPPAPI(IppStatus, ippiMulC_16sc_C1RSfs, (const Ipp16sc* pSrc, int srcStep, Ipp16sc value, Ipp16sc* pDst,
  2017. int dstStep, IppiSize roiSize, int scaleFactor))
  2018. IPPAPI(IppStatus, ippiMulC_16sc_C3RSfs, (const Ipp16sc* pSrc, int srcStep, const Ipp16sc value[3],
  2019. Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2020. IPPAPI(IppStatus, ippiMulC_16sc_AC4RSfs, (const Ipp16sc* pSrc, int srcStep, const Ipp16sc value[3],
  2021. Ipp16sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2022. IPPAPI(IppStatus, ippiDivC_16sc_C1RSfs, (const Ipp16sc* pSrc,
  2023. int srcStep, Ipp16sc value, Ipp16sc* pDst,
  2024. int dstStep, IppiSize roiSize, int scaleFactor))
  2025. IPPAPI(IppStatus, ippiDivC_16sc_C3RSfs, (const Ipp16sc* pSrc,
  2026. int srcStep, const Ipp16sc value[3], Ipp16sc* pDst,
  2027. int dstStep, IppiSize roiSize, int scaleFactor))
  2028. IPPAPI(IppStatus, ippiDivC_16sc_AC4RSfs, (const Ipp16sc* pSrc,
  2029. int srcStep, const Ipp16sc value[3], Ipp16sc* pDst,
  2030. int dstStep, IppiSize roiSize, int scaleFactor))
  2031. /* ////////////////////////////////////////////////////////////////////////////
  2032. // Name: ippiAddC_32sc_C1IRSfs, ippiAddC_32sc_C3IRSfs, ippiAddC_32sc_AC4IRSfs,
  2033. // ippiSubC_32sc_C1IRSfs, ippiSubC_32sc_C3IRSfs, ippiSubC_32sc_AC4IRSfs,
  2034. // ippiMulC_32sc_C1IRSfs, ippiMulC_32sc_C3IRSfs, ippiMulC_32sc_AC4IRSfs,
  2035. // ippiDivC_32sc_C1IRSfs, ippiDivC_32sc_C3IRSfs, ippiDivC_32sc_AC4IRSfs
  2036. //
  2037. // Purpose: Adds, subtracts, multiplies, or divides pixel values of an image
  2038. // and a constant and places the results in the same image.
  2039. //
  2040. // Returns:
  2041. // ippStsNoErr OK
  2042. // ippStsNullPtrErr The pointer is NULL
  2043. // ippStsSizeErr The roiSize has a field with negative or zero value
  2044. // ippStsStepErr The step value is less than or equal to zero
  2045. // ippStsDivByZeroErr The constant is equal to zero (for division)
  2046. //
  2047. // Parameters:
  2048. // value The constant value (constant vector for multi-channel images)
  2049. // pSrcDst Pointer to the image
  2050. // srcDstStep Step through the image
  2051. // roiSize Size of the ROI
  2052. // scaleFactor Scale factor
  2053. */
  2054. IPPAPI(IppStatus, ippiAddC_32sc_C1IRSfs, (Ipp32sc value, Ipp32sc* pSrcDst, int srcDstStep,
  2055. IppiSize roiSize, int scaleFactor))
  2056. IPPAPI(IppStatus, ippiAddC_32sc_C3IRSfs, (const Ipp32sc value[3], Ipp32sc* pSrcDst, int srcDstStep,
  2057. IppiSize roiSize, int scaleFactor))
  2058. IPPAPI(IppStatus, ippiAddC_32sc_AC4IRSfs, (const Ipp32sc value[3], Ipp32sc* pSrcDst, int srcDstStep,
  2059. IppiSize roiSize, int scaleFactor))
  2060. IPPAPI(IppStatus, ippiSubC_32sc_C1IRSfs, (Ipp32sc value, Ipp32sc* pSrcDst, int srcDstStep,
  2061. IppiSize roiSize, int scaleFactor))
  2062. IPPAPI(IppStatus, ippiSubC_32sc_C3IRSfs, (const Ipp32sc value[3], Ipp32sc* pSrcDst, int srcDstStep,
  2063. IppiSize roiSize, int scaleFactor))
  2064. IPPAPI(IppStatus, ippiSubC_32sc_AC4IRSfs, (const Ipp32sc value[3], Ipp32sc* pSrcDst, int srcDstStep,
  2065. IppiSize roiSize, int scaleFactor))
  2066. IPPAPI(IppStatus, ippiMulC_32sc_C1IRSfs, (Ipp32sc value, Ipp32sc* pSrcDst, int srcDstStep,
  2067. IppiSize roiSize, int scaleFactor))
  2068. IPPAPI(IppStatus, ippiMulC_32sc_C3IRSfs, (const Ipp32sc value[3], Ipp32sc* pSrcDst, int srcDstStep,
  2069. IppiSize roiSize, int scaleFactor))
  2070. IPPAPI(IppStatus, ippiMulC_32sc_AC4IRSfs, (const Ipp32sc value[3], Ipp32sc* pSrcDst, int srcDstStep,
  2071. IppiSize roiSize, int scaleFactor))
  2072. IPPAPI(IppStatus, ippiDivC_32sc_C1IRSfs, (Ipp32sc value, Ipp32sc* pSrcDst, int srcDstStep,
  2073. IppiSize roiSize, int scaleFactor))
  2074. IPPAPI(IppStatus, ippiDivC_32sc_C3IRSfs, (const Ipp32sc value[3], Ipp32sc* pSrcDst, int srcDstStep,
  2075. IppiSize roiSize, int scaleFactor))
  2076. IPPAPI(IppStatus, ippiDivC_32sc_AC4IRSfs, (const Ipp32sc value[3], Ipp32sc* pSrcDst, int srcDstStep,
  2077. IppiSize roiSize, int scaleFactor))
  2078. /* ////////////////////////////////////////////////////////////////////////////
  2079. // Name: ippiAddC_32sc_C1RSfs, ippiAddC_32sc_C3RSfs, ippiAddC_32sc_AC4RSfs,
  2080. // ippiSubC_32sc_C1RSfs, ippiSubC_32sc_C3RSfs, ippiSubC_32sc_AC4RSfs,
  2081. // ippiMulC_32sc_C1RSfs, ippiMulC_32sc_C3RSfs, ippiMulC_32sc_AC4RSfs,
  2082. // ippiDivC_32sc_C1RSfs, ippiDivC_32sc_C3RSfs, ippiDivC_32sc_AC4RSfs
  2083. //
  2084. // Purpose: Adds, subtracts, multiplies, or divides pixel values of an image
  2085. // and a constant and places the results in the destination image.
  2086. //
  2087. // Returns:
  2088. // ippStsNoErr OK
  2089. // ippStsNullPtrErr One of the pointers is NULL
  2090. // ippStsSizeErr The roiSize has a field with negative or zero value
  2091. // ippStsStepErr Any of the step values is less than or equal to zero
  2092. // ippStsDivByZeroErr The constant is equal to zero (for division)
  2093. //
  2094. //
  2095. // Parameters:
  2096. // value The constant value (constant vector for multi-channel images)
  2097. // pSrc Pointer to the source image
  2098. // srcStep Step through the source image
  2099. // pDst Pointer to the destination image
  2100. // dstStep Step through the destination image
  2101. // roiSize ROI
  2102. // scaleFactor Scale factor
  2103. */
  2104. IPPAPI(IppStatus, ippiAddC_32sc_C1RSfs, (const Ipp32sc* pSrc, int srcStep, Ipp32sc value, Ipp32sc* pDst,
  2105. int dstStep, IppiSize roiSize, int scaleFactor))
  2106. IPPAPI(IppStatus, ippiAddC_32sc_C3RSfs, (const Ipp32sc* pSrc, int srcStep, const Ipp32sc value[3],
  2107. Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2108. IPPAPI(IppStatus, ippiAddC_32sc_AC4RSfs, (const Ipp32sc* pSrc, int srcStep, const Ipp32sc value[3],
  2109. Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2110. IPPAPI(IppStatus, ippiSubC_32sc_C1RSfs, (const Ipp32sc* pSrc, int srcStep, Ipp32sc value, Ipp32sc* pDst,
  2111. int dstStep, IppiSize roiSize, int scaleFactor))
  2112. IPPAPI(IppStatus, ippiSubC_32sc_C3RSfs, (const Ipp32sc* pSrc, int srcStep, const Ipp32sc value[3],
  2113. Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2114. IPPAPI(IppStatus, ippiSubC_32sc_AC4RSfs, (const Ipp32sc* pSrc, int srcStep, const Ipp32sc value[3],
  2115. Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2116. IPPAPI(IppStatus, ippiMulC_32sc_C1RSfs, (const Ipp32sc* pSrc, int srcStep, Ipp32sc value, Ipp32sc* pDst,
  2117. int dstStep, IppiSize roiSize, int scaleFactor))
  2118. IPPAPI(IppStatus, ippiMulC_32sc_C3RSfs, (const Ipp32sc* pSrc, int srcStep, const Ipp32sc value[3],
  2119. Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2120. IPPAPI(IppStatus, ippiMulC_32sc_AC4RSfs, (const Ipp32sc* pSrc, int srcStep, const Ipp32sc value[3],
  2121. Ipp32sc* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2122. IPPAPI(IppStatus, ippiDivC_32sc_C1RSfs, (const Ipp32sc* pSrc,
  2123. int srcStep, Ipp32sc value, Ipp32sc* pDst,
  2124. int dstStep, IppiSize roiSize, int scaleFactor))
  2125. IPPAPI(IppStatus, ippiDivC_32sc_C3RSfs, (const Ipp32sc* pSrc,
  2126. int srcStep, const Ipp32sc value[3], Ipp32sc* pDst,
  2127. int dstStep, IppiSize roiSize, int scaleFactor))
  2128. IPPAPI(IppStatus, ippiDivC_32sc_AC4RSfs, (const Ipp32sc* pSrc,
  2129. int srcStep, const Ipp32sc value[3], Ipp32sc* pDst,
  2130. int dstStep, IppiSize roiSize, int scaleFactor))
  2131. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  2132. // Multiplication with Scaling
  2133. ///////////////////////////////////////////////////////////////////////////////////////////////// */
  2134. /*
  2135. // Names: ippiMulScale, ippiMulCScale
  2136. //
  2137. // Purpose: Multiplies pixel values of two images (MulScale),
  2138. // or pixel values of an image by a constant (MulScaleC) and scales the products
  2139. //
  2140. // Parameters:
  2141. // value The constant value (constant vector for multi-channel images)
  2142. // pSrc Pointer to the source image
  2143. // srcStep Step through the source image
  2144. // pSrcDst Pointer to the source/destination image (in-place operations)
  2145. // srcDstStep Step through the source/destination image (in-place operations)
  2146. // pSrc1 Pointer to the first source image
  2147. // src1Step Step through the first source image
  2148. // pSrc2 Pointer to the second source image
  2149. // src2Step Step through the second source image
  2150. // pDst Pointer to the destination image
  2151. // dstStep Step through the destination image
  2152. // roiSize Size of the image ROI
  2153. //
  2154. // Returns:
  2155. // ippStsNullPtrErr One of the pointers is NULL
  2156. // ippStsStepErr One of the step values is less than or equal to zero
  2157. // ippStsSizeErr The roiSize has a field with negative or zero value
  2158. // ippStsNoErr otherwise
  2159. */
  2160. IPPAPI(IppStatus, ippiMulScale_8u_C1R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  2161. IPPAPI(IppStatus, ippiMulScale_8u_C3R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  2162. IPPAPI(IppStatus, ippiMulScale_8u_C4R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  2163. IPPAPI(IppStatus, ippiMulScale_8u_AC4R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  2164. IPPAPI(IppStatus, ippiMulScale_8u_C1IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2165. IPPAPI(IppStatus, ippiMulScale_8u_C3IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2166. IPPAPI(IppStatus, ippiMulScale_8u_C4IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2167. IPPAPI(IppStatus, ippiMulScale_8u_AC4IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2168. IPPAPI(IppStatus, ippiMulCScale_8u_C1R, (const Ipp8u* pSrc, int srcStep, Ipp8u value, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  2169. IPPAPI(IppStatus, ippiMulCScale_8u_C3R, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[3], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  2170. IPPAPI(IppStatus, ippiMulCScale_8u_C4R, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[4], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  2171. IPPAPI(IppStatus, ippiMulCScale_8u_AC4R, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[3], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  2172. IPPAPI(IppStatus, ippiMulCScale_8u_C1IR, (Ipp8u value, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2173. IPPAPI(IppStatus, ippiMulCScale_8u_C3IR, (const Ipp8u value[3], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2174. IPPAPI(IppStatus, ippiMulCScale_8u_C4IR, (const Ipp8u value[4], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2175. IPPAPI(IppStatus, ippiMulCScale_8u_AC4IR, (const Ipp8u value[3], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2176. IPPAPI(IppStatus, ippiMulScale_16u_C1R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  2177. IPPAPI(IppStatus, ippiMulScale_16u_C3R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  2178. IPPAPI(IppStatus, ippiMulScale_16u_C4R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  2179. IPPAPI(IppStatus, ippiMulScale_16u_AC4R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  2180. IPPAPI(IppStatus, ippiMulScale_16u_C1IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2181. IPPAPI(IppStatus, ippiMulScale_16u_C3IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2182. IPPAPI(IppStatus, ippiMulScale_16u_C4IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2183. IPPAPI(IppStatus, ippiMulScale_16u_AC4IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2184. IPPAPI(IppStatus, ippiMulCScale_16u_C1R, (const Ipp16u* pSrc, int srcStep, Ipp16u value, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  2185. IPPAPI(IppStatus, ippiMulCScale_16u_C3R, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  2186. IPPAPI(IppStatus, ippiMulCScale_16u_C4R, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[4], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  2187. IPPAPI(IppStatus, ippiMulCScale_16u_AC4R, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  2188. IPPAPI(IppStatus, ippiMulCScale_16u_C1IR, (Ipp16u value, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2189. IPPAPI(IppStatus, ippiMulCScale_16u_C3IR, (const Ipp16u value[3], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2190. IPPAPI(IppStatus, ippiMulCScale_16u_C4IR, (const Ipp16u value[4], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2191. IPPAPI(IppStatus, ippiMulCScale_16u_AC4IR, (const Ipp16u value[3], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  2192. /* /////////////////////////////////////////////////////////////////////////////
  2193. // Dot product of two images
  2194. ///////////////////////////////////////////////////////////////////////////// */
  2195. /* /////////////////////////////////////////////////////////////////////////////
  2196. // Name: ippiDotProd
  2197. // Purpose: Computes the dot product of two images
  2198. // Context:
  2199. // Returns: IppStatus
  2200. // ippStsNoErr OK
  2201. // ippStsNullPtrErr One of the pointers is NULL
  2202. // ippStsStepErr One of the step values is equal to zero
  2203. // Parameters:
  2204. // pSrc1 Pointer to the first source image.
  2205. // src1Step Step in bytes through the first source image
  2206. // pSrc2 Pointer to the second source image.
  2207. // src2Step Step in bytes through the source image
  2208. // roiSize Size of the source image ROI.
  2209. // pDp Pointer to the result (one-channel data) or array (multi-channel data) containing computed dot products of channel values of pixels in the source images.
  2210. // hint Option to select the algorithmic implementation of the function
  2211. // Notes:
  2212. */
  2213. IPPAPI(IppStatus, ippiDotProd_8u64f_C1R,(const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, IppiSize roiSize, Ipp64f *pDp))
  2214. IPPAPI(IppStatus, ippiDotProd_8s64f_C1R,(const Ipp8s* pSrc1, int src1Step, const Ipp8s* pSrc2, int src2Step, IppiSize roiSize, Ipp64f *pDp))
  2215. IPPAPI(IppStatus, ippiDotProd_16u64f_C1R,(const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, IppiSize roiSize, Ipp64f *pDp))
  2216. IPPAPI(IppStatus, ippiDotProd_16s64f_C1R,(const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2, int src2Step, IppiSize roiSize, Ipp64f *pDp))
  2217. IPPAPI(IppStatus, ippiDotProd_32u64f_C1R,(const Ipp32u* pSrc1, int src1Step, const Ipp32u* pSrc2, int src2Step, IppiSize roiSize, Ipp64f *pDp))
  2218. IPPAPI(IppStatus, ippiDotProd_32s64f_C1R,(const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, IppiSize roiSize, Ipp64f *pDp))
  2219. IPPAPI(IppStatus, ippiDotProd_32f64f_C1R,(const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2, int src2Step, IppiSize roiSize, Ipp64f *pDp, IppHintAlgorithm hint))
  2220. IPPAPI(IppStatus, ippiDotProd_8u64f_C3R,(const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[3]))
  2221. IPPAPI(IppStatus, ippiDotProd_8s64f_C3R,(const Ipp8s* pSrc1, int src1Step, const Ipp8s* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[3]))
  2222. IPPAPI(IppStatus, ippiDotProd_16u64f_C3R,(const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[3]))
  2223. IPPAPI(IppStatus, ippiDotProd_16s64f_C3R,(const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[3]))
  2224. IPPAPI(IppStatus, ippiDotProd_32u64f_C3R,(const Ipp32u* pSrc1, int src1Step, const Ipp32u* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[3]))
  2225. IPPAPI(IppStatus, ippiDotProd_32s64f_C3R,(const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[3]))
  2226. IPPAPI(IppStatus, ippiDotProd_32f64f_C3R,(const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[3], IppHintAlgorithm hint))
  2227. IPPAPI(IppStatus, ippiDotProd_8u64f_C4R,(const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[4]))
  2228. IPPAPI(IppStatus, ippiDotProd_8s64f_C4R,(const Ipp8s* pSrc1, int src1Step, const Ipp8s* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[4]))
  2229. IPPAPI(IppStatus, ippiDotProd_16u64f_C4R,(const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[4]))
  2230. IPPAPI(IppStatus, ippiDotProd_16s64f_C4R,(const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[4]))
  2231. IPPAPI(IppStatus, ippiDotProd_32u64f_C4R,(const Ipp32u* pSrc1, int src1Step, const Ipp32u* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[4]))
  2232. IPPAPI(IppStatus, ippiDotProd_32s64f_C4R,(const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[4]))
  2233. IPPAPI(IppStatus, ippiDotProd_32f64f_C4R,(const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[4], IppHintAlgorithm hint))
  2234. IPPAPI(IppStatus, ippiDotProd_8u64f_AC4R,(const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[3]))
  2235. IPPAPI(IppStatus, ippiDotProd_8s64f_AC4R,(const Ipp8s* pSrc1, int src1Step, const Ipp8s* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[3]))
  2236. IPPAPI(IppStatus, ippiDotProd_16u64f_AC4R,(const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[3]))
  2237. IPPAPI(IppStatus, ippiDotProd_16s64f_AC4R,(const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[3]))
  2238. IPPAPI(IppStatus, ippiDotProd_32u64f_AC4R,(const Ipp32u* pSrc1, int src1Step, const Ipp32u* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[3]))
  2239. IPPAPI(IppStatus, ippiDotProd_32s64f_AC4R,(const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[3]))
  2240. IPPAPI(IppStatus, ippiDotProd_32f64f_AC4R,(const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2, int src2Step, IppiSize roiSize, Ipp64f pDp[3], IppHintAlgorithm hint))
  2241. /* /////////////////////////////////////////////////////////////////////////////
  2242. // Dot product of taps vector and columns,
  2243. // which are placed in stripe of rows
  2244. ///////////////////////////////////////////////////////////////////////////// */
  2245. /* /////////////////////////////////////////////////////////////////////////////
  2246. // Name: ippiDotProdCol_32f_L2
  2247. //
  2248. // Purpose: Calculates the dot product of taps vector and columns,
  2249. // which are placed in stripe of rows; useful for external vertical
  2250. // filtering pipeline implementation.
  2251. //
  2252. // Parameters:
  2253. // ppSrcRow pointer to set of rows
  2254. // pTaps pointer to taps vector
  2255. // tapsLen taps length and (equal to number of rows)
  2256. // pDst pointer where to store the result row
  2257. // width width of source and destination rows
  2258. //
  2259. // Returns:
  2260. // ippStsNoErr OK
  2261. // ippStsNullPtrErr one of the pointers is NULL
  2262. // ippStsSizeErr width is less than or equal to zero
  2263. */
  2264. IPPAPI(IppStatus, ippiDotProdCol_32f_L2, (
  2265. const Ipp32f *const ppSrcRow[],
  2266. const Ipp32f *pTaps,
  2267. int tapsLen,
  2268. Ipp32f *pDst,
  2269. int width))
  2270. /* /////////////////////////////////////////////////////////////////////////////
  2271. // Vector Multiplication of Images in RCPack2D Format
  2272. ///////////////////////////////////////////////////////////////////////////// */
  2273. /* Name: ippiMulPack, ippiMulPackConj
  2274. //
  2275. // Purpose: Multiplies pixel values of two images in RCPack2D format
  2276. // and store the result also in PCPack2D format
  2277. //
  2278. // Returns:
  2279. // ippStsNoErr No errors
  2280. // ippStsNullPtrErr One of the pointers is NULL
  2281. // ippStsStepErr One of the step values is zero or negative
  2282. // ippStsSizeErr The roiSize has a field with negative or zero value
  2283. //
  2284. // Parameters:
  2285. // pSrc Pointer to the source image for in-place operation
  2286. // pSrcDst Pointer to the source/destination image for in-place operation
  2287. // srcStep Step through the source image for in-place operation
  2288. // srcDstStep Step through the source/destination image for in-place operation
  2289. // pSrc1 Pointer to the first source image
  2290. // src1Step Step through the first source image
  2291. // pSrc2 Pointer to the second source image
  2292. // src1Step Step through the second source image
  2293. // pDst Pointer to the destination image
  2294. // dstStep Step through the destination image
  2295. // roiSize Size of the source and destination ROI
  2296. // scaleFactor Scale factor
  2297. //
  2298. // Notes: Both in-place and not-in-place operations are supported
  2299. // ippiMulPackConj functions are only for float data
  2300. */
  2301. IPPAPI(IppStatus, ippiMulPack_16s_C1IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst, int srcDstStep,
  2302. IppiSize roiSize, int scaleFactor))
  2303. IPPAPI(IppStatus, ippiMulPack_16s_C3IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst, int srcDstStep,
  2304. IppiSize roiSize, int scaleFactor))
  2305. IPPAPI(IppStatus, ippiMulPack_16s_C4IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst, int srcDstStep,
  2306. IppiSize roiSize, int scaleFactor))
  2307. IPPAPI(IppStatus, ippiMulPack_16s_AC4IRSfs, (const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst, int srcDstStep,
  2308. IppiSize roiSize, int scaleFactor))
  2309. IPPAPI(IppStatus, ippiMulPack_16s_C1RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2, int src2Step,
  2310. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2311. IPPAPI(IppStatus, ippiMulPack_16s_C3RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2, int src2Step,
  2312. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2313. IPPAPI(IppStatus, ippiMulPack_16s_C4RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2, int src2Step,
  2314. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2315. IPPAPI(IppStatus, ippiMulPack_16s_AC4RSfs, (const Ipp16s* pSrc1, int src1Step, const Ipp16s* pSrc2, int src2Step,
  2316. Ipp16s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2317. IPPAPI(IppStatus, ippiMulPack_32s_C1IRSfs, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep,
  2318. IppiSize roiSize, int scaleFactor))
  2319. IPPAPI(IppStatus, ippiMulPack_32s_C3IRSfs, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep,
  2320. IppiSize roiSize, int scaleFactor))
  2321. IPPAPI(IppStatus, ippiMulPack_32s_C4IRSfs, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep,
  2322. IppiSize roiSize, int scaleFactor))
  2323. IPPAPI(IppStatus, ippiMulPack_32s_AC4IRSfs, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep,
  2324. IppiSize roiSize, int scaleFactor))
  2325. IPPAPI(IppStatus, ippiMulPack_32s_C1RSfs, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step,
  2326. Ipp32s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2327. IPPAPI(IppStatus, ippiMulPack_32s_C3RSfs, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step,
  2328. Ipp32s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2329. IPPAPI(IppStatus, ippiMulPack_32s_C4RSfs, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step,
  2330. Ipp32s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2331. IPPAPI(IppStatus, ippiMulPack_32s_AC4RSfs, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step,
  2332. Ipp32s* pDst, int dstStep, IppiSize roiSize, int scaleFactor))
  2333. IPPAPI(IppStatus, ippiMulPack_32f_C1IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  2334. IPPAPI(IppStatus, ippiMulPack_32f_C3IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  2335. IPPAPI(IppStatus, ippiMulPack_32f_C4IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  2336. IPPAPI(IppStatus, ippiMulPack_32f_AC4IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  2337. IPPAPI(IppStatus, ippiMulPack_32f_C1R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2, int src2Step,
  2338. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  2339. IPPAPI(IppStatus, ippiMulPack_32f_C3R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2, int src2Step,
  2340. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  2341. IPPAPI(IppStatus, ippiMulPack_32f_C4R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2, int src2Step,
  2342. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  2343. IPPAPI(IppStatus, ippiMulPack_32f_AC4R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2, int src2Step,
  2344. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  2345. IPPAPI(IppStatus, ippiMulPackConj_32f_C1IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  2346. IPPAPI(IppStatus, ippiMulPackConj_32f_C3IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  2347. IPPAPI(IppStatus, ippiMulPackConj_32f_C4IR, (const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  2348. IPPAPI(IppStatus, ippiMulPackConj_32f_AC4IR,(const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  2349. IPPAPI(IppStatus, ippiMulPackConj_32f_C1R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2, int src2Step,
  2350. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  2351. IPPAPI(IppStatus, ippiMulPackConj_32f_C3R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2, int src2Step,
  2352. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  2353. IPPAPI(IppStatus, ippiMulPackConj_32f_C4R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2, int src2Step,
  2354. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  2355. IPPAPI(IppStatus, ippiMulPackConj_32f_AC4R, (const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2, int src2Step,
  2356. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  2357. /* /////////////////////////////////////////////////////////////////////////////
  2358. // Name: ippiPackToCplxExtend
  2359. //
  2360. // Purpose: Converts an image in RCPack2D format to a complex data image.
  2361. //
  2362. // Returns:
  2363. // ippStsNoErr No errors
  2364. // ippStsNullPtrErr pSrc == NULL, or pDst == NULL
  2365. // ippStsStepErr One of the step values is less zero or negative
  2366. // ippStsSizeErr The srcSize has a field with zero or negative value
  2367. //
  2368. // Parameters:
  2369. // pSrc Pointer to the source image data (point to pixel (0,0))
  2370. // srcSize Size of the source image
  2371. // srcStep Step through the source image
  2372. // pDst Pointer to the destination image
  2373. // dstStep Step through the destination image
  2374. // Notes:
  2375. */
  2376. IPPAPI (IppStatus, ippiPackToCplxExtend_32s32sc_C1R, (const Ipp32s* pSrc,
  2377. IppiSize srcSize, int srcStep,
  2378. Ipp32sc* pDst, int dstStep ))
  2379. IPPAPI (IppStatus, ippiPackToCplxExtend_32f32fc_C1R, (const Ipp32f* pSrc,
  2380. IppiSize srcSize, int srcStep,
  2381. Ipp32fc* pDst, int dstStep ))
  2382. /* /////////////////////////////////////////////////////////////////////////////
  2383. // Name: ippiCplxExtendToPack
  2384. //
  2385. // Purpose: Converts an image in complex data format to RCPack2D image.
  2386. //
  2387. // Returns:
  2388. // ippStsNoErr No errors
  2389. // ippStsNullPtrErr pSrc == NULL, or pDst == NULL
  2390. // ippStsStepErr One of the step values is less zero or negative
  2391. // ippStsSizeErr The srcSize has a field with zero or negative value
  2392. //
  2393. // Parameters:
  2394. // pSrc Pointer to the source image data (point to pixel (0,0))
  2395. // srcSize Size of the source image
  2396. // srcStep Step through the source image
  2397. // pDst Pointer to the destination image
  2398. // dstStep Step through the destination image
  2399. // Notes:
  2400. */
  2401. IPPAPI(IppStatus,ippiCplxExtendToPack_32fc32f_C1R,(const Ipp32fc* pSrc, int srcStep, IppiSize srcSize,
  2402. Ipp32f* pDst, int dstStep ))
  2403. IPPAPI(IppStatus,ippiCplxExtendToPack_32sc32s_C1R,(const Ipp32sc* pSrc, int srcStep, IppiSize srcSize,
  2404. Ipp32s* pDst, int dstStep ))
  2405. IPPAPI(IppStatus,ippiCplxExtendToPack_16sc16s_C1R,(const Ipp16sc* pSrc, int srcStep, IppiSize srcSize,
  2406. Ipp16s* pDst, int dstStep ))
  2407. IPPAPI(IppStatus,ippiCplxExtendToPack_32fc32f_C3R,(const Ipp32fc* pSrc, int srcStep, IppiSize srcSize,
  2408. Ipp32f* pDst, int dstStep ))
  2409. IPPAPI(IppStatus,ippiCplxExtendToPack_32sc32s_C3R,(const Ipp32sc* pSrc, int srcStep, IppiSize srcSize,
  2410. Ipp32s* pDst, int dstStep ))
  2411. IPPAPI(IppStatus,ippiCplxExtendToPack_16sc16s_C3R,(const Ipp16sc* pSrc, int srcStep, IppiSize srcSize,
  2412. Ipp16s* pDst, int dstStep ))
  2413. /* /////////////////////////////////////////////////////////////////////////////
  2414. // Names: ippiPhasePack_32f_C1R
  2415. // ippiPhasePack_32f_C3R
  2416. // ippiPhasePack_16s_C1RSfs
  2417. // ippiPhasePack_16s_C3RSfs
  2418. // Purpose:
  2419. // Computes the phase (in radians) of elements of an image in RCPack2D packed format.
  2420. // Parameters:
  2421. // pSrc Pointer to the source complex image in Pack2D format
  2422. // srcStep Step through the source image
  2423. // pDst Pointer to the destination image
  2424. // dstStep Step through the destination image
  2425. // dstRoiSize Size of the ROI of destination image
  2426. // scaleFactor Scale factor (only for integer data)
  2427. // Returns:
  2428. // ippStsNullPtrErr pSrc or pDst is NULL
  2429. // ippStsSizeErr The width or height of images is less than or equal to zero
  2430. // ippStsStepErr srcStep or dstStep is less than or equal to zero
  2431. // ippStsNoErr Otherwise
  2432. */
  2433. IPPAPI(IppStatus, ippiPhasePack_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  2434. Ipp32f* pDst, int dstStep,
  2435. IppiSize dstRoiSize))
  2436. IPPAPI(IppStatus, ippiPhasePack_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  2437. Ipp32f* pDst, int dstStep,
  2438. IppiSize dstRoiSize))
  2439. IPPAPI(IppStatus, ippiPhasePack_32s_C1RSfs,(const Ipp32s* pSrc, int srcStep,
  2440. Ipp32s* pDst, int dstStep,
  2441. IppiSize dstRoiSize, int scaleFactor))
  2442. IPPAPI(IppStatus, ippiPhasePack_32s_C3RSfs,(const Ipp32s* pSrc, int srcStep,
  2443. Ipp32s* pDst, int dstStep,
  2444. IppiSize dstRoiSize, int scaleFactor))
  2445. IPPAPI(IppStatus, ippiPhasePack_16s_C1RSfs,(const Ipp16s* pSrc, int srcStep,
  2446. Ipp16s* pDst, int dstStep,
  2447. IppiSize dstRoiSize, int scaleFactor))
  2448. IPPAPI(IppStatus, ippiPhasePack_16s_C3RSfs,(const Ipp16s* pSrc, int srcStep,
  2449. Ipp16s* pDst, int dstStep,
  2450. IppiSize dstRoiSize, int scaleFactor))
  2451. /* /////////////////////////////////////////////////////////////////////////////
  2452. // Names: ippiMagnitudePack_32f_C1R
  2453. // ippiMagnitudePack_32f_C3R
  2454. // ippiMagnitudePack_32s_C1RSfs
  2455. // ippiMagnitudePack_32s_C3RSfs
  2456. // ippiMagnitudePack_16s_C1RSfs
  2457. // ippiMagnitudePack_16s_C3RSfs
  2458. // Purpose:
  2459. // Computes magnitude of elements of an image in RCPack2D packed format.
  2460. // Parameters:
  2461. // pSrc Pointer to the source image in Pack2D format
  2462. // srcStep Step through the source image
  2463. // pDst Pointer to the destination image to store the magnitude components
  2464. // dstStep Step through the destination image
  2465. // dstRoiSize Size of the destination ROI
  2466. // scaleFactor Scale factor (only for integer data)
  2467. // Returns:
  2468. // ippStsNullPtrErr pSrc or pDst is NULL
  2469. // ippStsSizeErr The width or height of images is less than or equal to zero
  2470. // ippStsStepErr srcStep or dstStep is less than or equal to zero
  2471. // ippStsNoErr Otherwise
  2472. */
  2473. IPPAPI(IppStatus, ippiMagnitudePack_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  2474. Ipp32f* pDst, int dstStep,
  2475. IppiSize dstRoiSize))
  2476. IPPAPI(IppStatus, ippiMagnitudePack_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  2477. Ipp32f* pDst, int dstStep,
  2478. IppiSize dstRoiSize))
  2479. IPPAPI(IppStatus, ippiMagnitudePack_16s_C1RSfs,(const Ipp16s* pSrc, int srcStep,
  2480. Ipp16s* pDst, int dstStep,
  2481. IppiSize dstRoiSize, int scaleFactor))
  2482. IPPAPI(IppStatus, ippiMagnitudePack_16s_C3RSfs,(const Ipp16s* pSrc, int srcStep,
  2483. Ipp16s* pDst, int dstStep,
  2484. IppiSize dstRoiSize, int scaleFactor))
  2485. IPPAPI(IppStatus, ippiMagnitudePack_32s_C1RSfs,(const Ipp32s* pSrc, int srcStep,
  2486. Ipp32s* pDst, int dstStep,
  2487. IppiSize dstRoiSize, int scaleFactor))
  2488. IPPAPI(IppStatus, ippiMagnitudePack_32s_C3RSfs,(const Ipp32s* pSrc, int srcStep,
  2489. Ipp32s* pDst, int dstStep,
  2490. IppiSize dstRoiSize, int scaleFactor))
  2491. /* /////////////////////////////////////////////////////////////////////////////
  2492. // Names: ippiMagnitude_32fc32f_C1R
  2493. // ippiMagnitude_32fc32f_C3R
  2494. // ippiMagnitude_32sc32s_C1RSfs
  2495. // ippiMagnitude_32sc32s_C3RSfs
  2496. // ippiMagnitude_16sc16s_C1RSfs
  2497. // ippiMagnitude_16sc16s_C3RSfs
  2498. // ippiMagnitude_16uc16u_C1RSfs
  2499. // ippiMagnitude_16uc16u_C3RSfs
  2500. // Purpose:
  2501. // Computes magnitude of elements of a complex data image.
  2502. // Parameters:
  2503. // pSrc Pointer to the source image in common complex data format
  2504. // srcStep Step through the source image
  2505. // pDst Pointer to the destination image to store magnitude components
  2506. // dstStep Step through the destination image
  2507. // roiSize Size of the ROI
  2508. // scaleFactor Scale factor (only for integer data)
  2509. // Returns:
  2510. // ippStsNullPtrErr pSrc or pDst is NULL
  2511. // ippStsSizeErr The width or height of images is less than or equal to zero
  2512. // ippStsStepErr srcStep or dstStep is less than or equal to zero
  2513. // ippStsNoErr Otherwise
  2514. */
  2515. IPPAPI(IppStatus, ippiMagnitude_32fc32f_C1R,(const Ipp32fc* pSrc, int srcStep,
  2516. Ipp32f* pDst, int dstStep,
  2517. IppiSize roiSize))
  2518. IPPAPI(IppStatus, ippiMagnitude_32fc32f_C3R,(const Ipp32fc* pSrc, int srcStep,
  2519. Ipp32f* pDst, int dstStep,
  2520. IppiSize roiSize))
  2521. IPPAPI(IppStatus, ippiMagnitude_16sc16s_C1RSfs,(const Ipp16sc* pSrc, int srcStep,
  2522. Ipp16s* pDst, int dstStep,
  2523. IppiSize roiSize, int scaleFactor))
  2524. IPPAPI(IppStatus, ippiMagnitude_16sc16s_C3RSfs,(const Ipp16sc* pSrc, int srcStep,
  2525. Ipp16s* pDst, int dstStep,
  2526. IppiSize roiSize, int scaleFactor))
  2527. IPPAPI(IppStatus, ippiMagnitude_32sc32s_C1RSfs,(const Ipp32sc* pSrc, int srcStep,
  2528. Ipp32s* pDst, int dstStep,
  2529. IppiSize roiSize, int scaleFactor))
  2530. IPPAPI(IppStatus, ippiMagnitude_32sc32s_C3RSfs,(const Ipp32sc* pSrc, int srcStep,
  2531. Ipp32s* pDst, int dstStep,
  2532. IppiSize roiSize, int scaleFactor))
  2533. IPPAPI(IppStatus, ippiMagnitude_16uc16u_C1RSfs,(const Ipp16uc* pSrc, int srcStep,
  2534. Ipp16u* pDst, int dstStep,
  2535. IppiSize roiSize, int ScalFact))
  2536. IPPAPI(IppStatus, ippiMagnitude_16uc16u_C3RSfs,(const Ipp16uc* pSrc, int srcStep,
  2537. Ipp16u* pDst, int dstStep,
  2538. IppiSize roiSize, int ScalFact))
  2539. /* /////////////////////////////////////////////////////////////////////////////
  2540. // Names: ippiPhase_32fc32f_C1R
  2541. // ippiPhase_32fc32f_C3R
  2542. // ippiPhase_16sc16s_C1RSfs
  2543. // ippiPhase_16sc16s_C3RSfs
  2544. // ippiPhase_16uc16u_C1RSfs
  2545. // ippiPhase_16uc16u_C3RSfs
  2546. // Purpose:
  2547. // Computes the phase (in radians) of elements of a complex data image
  2548. // Parameters:
  2549. // pSrc Pointer to the source image in common complex data format
  2550. // srcStep Step through the source image
  2551. // pDst Pointer to the destination image to store the phase components
  2552. // dstStep Step through the destination image
  2553. // roiSize Size of the ROI
  2554. // scaleFactor Scale factor (only for integer data)
  2555. // Returns:
  2556. // ippStsNullPtrErr pSrc or pDst is NULL
  2557. // ippStsSizeErr The width or height of images is less than or equal to zero
  2558. // ippStsStepErr srcStep or dstStep is less than or equal to zero
  2559. // ippStsNoErr Otherwise
  2560. */
  2561. IPPAPI(IppStatus, ippiPhase_32fc32f_C1R,(const Ipp32fc* pSrc, int srcStep,
  2562. Ipp32f* pDst, int dstStep,
  2563. IppiSize roiSize))
  2564. IPPAPI(IppStatus, ippiPhase_32fc32f_C3R,(const Ipp32fc* pSrc, int srcStep,
  2565. Ipp32f* pDst, int dstStep,
  2566. IppiSize roiSize))
  2567. IPPAPI(IppStatus, ippiPhase_32sc32s_C1RSfs,(const Ipp32sc* pSrc, int srcStep,
  2568. Ipp32s* pDst, int dstStep,
  2569. IppiSize roiSize, int scaleFactor))
  2570. IPPAPI(IppStatus, ippiPhase_32sc32s_C3RSfs,(const Ipp32sc* pSrc, int srcStep,
  2571. Ipp32s* pDst, int dstStep,
  2572. IppiSize roiSize, int scaleFactor))
  2573. IPPAPI(IppStatus, ippiPhase_16sc16s_C1RSfs,(const Ipp16sc* pSrc, int srcStep,
  2574. Ipp16s* pDst, int dstStep,
  2575. IppiSize roiSize, int scaleFactor))
  2576. IPPAPI(IppStatus, ippiPhase_16sc16s_C3RSfs,(const Ipp16sc* pSrc, int srcStep,
  2577. Ipp16s* pDst, int dstStep,
  2578. IppiSize roiSize, int scaleFactor))
  2579. IPPAPI(IppStatus, ippiPhase_16uc16u_C1RSfs,(const Ipp16uc* pSrc, int srcStep,
  2580. Ipp16u* pDst, int dstStep,
  2581. IppiSize roiSize, int ScalFact))
  2582. IPPAPI(IppStatus, ippiPhase_16uc16u_C3RSfs,(const Ipp16uc* pSrc, int srcStep,
  2583. Ipp16u* pDst, int dstStep,
  2584. IppiSize roiSize, int ScalFact))
  2585. /* /////////////////////////////////////////////////////////////////////////////
  2586. // Alpha Compositing Operations
  2587. ///////////////////////////////////////////////////////////////////////////// */
  2588. /*
  2589. // Contents:
  2590. // ippiAlphaPremul_8u_AC4R, ippiAlphaPremul_16u_AC4R
  2591. // ippiAlphaPremul_8u_AC4IR, ippiAlphaPremul_16u_AC4IR
  2592. // ippiAlphaPremul_8u_AP4R, ippiAlphaPremul_16u_AP4R
  2593. // ippiAlphaPremul_8u_AP4IR, ippiAlphaPremul_16u_AP4IR
  2594. // Pre-multiplies pixel values of an image by its alpha values.
  2595. // ippiAlphaPremulC_8u_AC4R, ippiAlphaPremulC_16u_AC4R
  2596. // ippiAlphaPremulC_8u_AC4IR, ippiAlphaPremulC_16u_AC4IR
  2597. // ippiAlphaPremulC_8u_AP4R, ippiAlphaPremulC_16u_AP4R
  2598. // ippiAlphaPremulC_8u_AP4IR, ippiAlphaPremulC_16u_AP4IR
  2599. // ippiAlphaPremulC_8u_C4R, ippiAlphaPremulC_16u_C4R
  2600. // ippiAlphaPremulC_8u_C4IR, ippiAlphaPremulC_16u_C4IR
  2601. // ippiAlphaPremulC_8u_C3R, ippiAlphaPremulC_16u_C3R
  2602. // ippiAlphaPremulC_8u_C3IR, ippiAlphaPremulC_16u_C3IR
  2603. // ippiAlphaPremulC_8u_C1R, ippiAlphaPremulC_16u_C1R
  2604. // ippiAlphaPremulC_8u_C1IR, ippiAlphaPremulC_16u_C1IR
  2605. // Pre-multiplies pixel values of an image by constant alpha values.
  2606. //
  2607. // ippiAlphaComp_8u_AC4R, ippiAlphaComp_16u_AC4R
  2608. // ippiAlphaComp_8u_AC1R, ippiAlphaComp_16u_AC1R
  2609. // Combines two images using alpha values of both images
  2610. //
  2611. // ippiAlphaCompC_8u_AC4R, ippiAlphaCompC_16u_AC4R
  2612. // ippiAlphaCompC_8u_AP4R, ippiAlphaCompC_16u_AP4R
  2613. // ippiAlphaCompC_8u_C4R, ippiAlphaCompC_16u_C4R
  2614. // ippiAlphaCompC_8u_C3R, ippiAlphaCompC_16u_C3R
  2615. // ippiAlphaCompC_8u_C1R, ippiAlphaCompC_16u_C1R
  2616. // Combines two images using constant alpha values
  2617. //
  2618. // Types of compositing operation (alphaType)
  2619. // OVER ippAlphaOver ippAlphaOverPremul
  2620. // IN ippAlphaIn ippAlphaInPremul
  2621. // OUT ippAlphaOut ippAlphaOutPremul
  2622. // ATOP ippAlphaATop ippAlphaATopPremul
  2623. // XOR ippAlphaXor ippAlphaXorPremul
  2624. // PLUS ippAlphaPlus ippAlphaPlusPremul
  2625. //
  2626. // Type result pixel result pixel (Premul) result alpha
  2627. // OVER aA*A+(1-aA)*aB*B A+(1-aA)*B aA+(1-aA)*aB
  2628. // IN aA*A*aB A*aB aA*aB
  2629. // OUT aA*A*(1-aB) A*(1-aB) aA*(1-aB)
  2630. // ATOP aA*A*aB+(1-aA)*aB*B A*aB+(1-aA)*B aA*aB+(1-aA)*aB
  2631. // XOR aA*A*(1-aB)+(1-aA)*aB*B A*(1-aB)+(1-aA)*B aA*(1-aB)+(1-aA)*aB
  2632. // PLUS aA*A+aB*B A+B aA+aB
  2633. // Here 1 corresponds significance VAL_MAX, multiplication is performed
  2634. // with scaling
  2635. // X * Y => (X * Y) / VAL_MAX
  2636. // and VAL_MAX is the maximum presentable pixel value:
  2637. // VAL_MAX == IPP_MAX_8U for 8u
  2638. // VAL_MAX == IPP_MAX_16U for 16u
  2639. */
  2640. /* /////////////////////////////////////////////////////////////////////////////
  2641. // Name: ippiAlphaPremul_8u_AC4R, ippiAlphaPremul_16u_AC4R
  2642. // ippiAlphaPremul_8u_AC4IR, ippiAlphaPremul_16u_AC4IR
  2643. // ippiAlphaPremul_8u_AP4R, ippiAlphaPremul_16u_AP4R
  2644. // ippiAlphaPremul_8u_AP4IR, ippiAlphaPremul_16u_AP4IR
  2645. //
  2646. // Purpose: Pre-multiplies pixel values of an image by its alpha values
  2647. // for 4-channel images
  2648. // For channels 1-3
  2649. // dst_pixel = (src_pixel * src_alpha) / VAL_MAX
  2650. // For alpha-channel (channel 4)
  2651. // dst_alpha = src_alpha
  2652. // Parameters:
  2653. // pSrc Pointer to the source image for pixel-order data,
  2654. // array of pointers to separate source color planes for planar data
  2655. // srcStep Step through the source image
  2656. // pDst Pointer to the destination image for pixel-order data,
  2657. // array of pointers to separate destination color planes for planar data
  2658. // dstStep Step through the destination image
  2659. // pSrcDst Pointer to the source/destination image, or array of pointers
  2660. // to separate source/destination color planes for in-place functions
  2661. // srcDstStep Step through the source/destination image for in-place functions
  2662. // roiSize Size of the source and destination ROI
  2663. // Returns:
  2664. // ippStsNoErr No errors
  2665. // ippStsNullPtrErr pSrc == NULL, or pDst == NULL, or pSrcDst == NULL
  2666. // ippStsSizeErr The roiSize has a field with negative or zero value
  2667. */
  2668. IPPAPI (IppStatus, ippiAlphaPremul_8u_AC4R,
  2669. ( const Ipp8u* pSrc, int srcStep,
  2670. Ipp8u* pDst, int dstStep,
  2671. IppiSize roiSize ))
  2672. IPPAPI (IppStatus, ippiAlphaPremul_16u_AC4R,
  2673. ( const Ipp16u* pSrc, int srcStep,
  2674. Ipp16u* pDst, int dstStep,
  2675. IppiSize roiSize ))
  2676. IPPAPI (IppStatus, ippiAlphaPremul_8u_AC4IR,
  2677. ( Ipp8u* pSrcDst, int srcDstStep,
  2678. IppiSize roiSize ))
  2679. IPPAPI (IppStatus, ippiAlphaPremul_16u_AC4IR,
  2680. ( Ipp16u* pSrcDst, int srcDstStep,
  2681. IppiSize roiSize ))
  2682. IPPAPI (IppStatus, ippiAlphaPremul_8u_AP4R,
  2683. ( const Ipp8u* const pSrc[4], int srcStep,
  2684. Ipp8u* const pDst[4], int dstStep,
  2685. IppiSize roiSize ))
  2686. IPPAPI (IppStatus, ippiAlphaPremul_16u_AP4R,
  2687. ( const Ipp16u* const pSrc[4], int srcStep,
  2688. Ipp16u* const pDst[4], int dstStep,
  2689. IppiSize roiSize ))
  2690. IPPAPI (IppStatus, ippiAlphaPremul_8u_AP4IR,
  2691. ( Ipp8u* const pSrcDst[4], int srcDstStep,
  2692. IppiSize roiSize ))
  2693. IPPAPI (IppStatus, ippiAlphaPremul_16u_AP4IR,
  2694. ( Ipp16u* const pSrcDst[4], int srcDstStep,
  2695. IppiSize roiSize ))
  2696. /* /////////////////////////////////////////////////////////////////////////////
  2697. // Name: ippiAlphaPremulC_8u_AC4R, ippiAlphaPremulC_16u_AC4R
  2698. // ippiAlphaPremulC_8u_AC4IR, ippiAlphaPremulC_16u_ACI4R
  2699. // ippiAlphaPremulC_8u_AP4R, ippiAlphaPremulC_16u_AP4R
  2700. // ippiAlphaPremulC_8u_AP4IR, ippiAlphaPremulC_16u_API4R
  2701. //
  2702. // Purpose: Pre-multiplies pixel values of an image by constant alpha values
  2703. // for 4-channel images
  2704. // For channels 1-3
  2705. // dst_pixel = (src_pixel * const_alpha) / VAL_MAX
  2706. // For alpha-channel (channel 4)
  2707. // dst_alpha = const_alpha
  2708. // Parameters:
  2709. // pSrc Pointer to the source image for pixel-order data,
  2710. // array of pointers to separate source color planes for planar data
  2711. // srcStep Step through the source image
  2712. // pDst Pointer to the destination image for pixel-order data,
  2713. // array of pointers to separate destination color planes for planar data
  2714. // dstStep Step through the destination image
  2715. // pSrcDst Pointer to the source/destination image, or array of pointers
  2716. // to separate source/destination color planes for in-place functions
  2717. // srcDstStep Step through the source/destination image for in-place functions
  2718. // alpha The constant alpha value
  2719. // roiSize Size of the source and destination ROI
  2720. // Returns:
  2721. // ippStsNoErr no errors
  2722. // ippStsNullPtrErr pSrc == NULL, or pDst == NULL, or pSrcDst == NULL
  2723. // ippStsSizeErr The roiSize has a field with negative or zero value
  2724. //
  2725. // Notes: Value becomes 0 <= alpha <= VAL_MAX
  2726. */
  2727. IPPAPI (IppStatus, ippiAlphaPremulC_8u_AC4R,
  2728. ( const Ipp8u* pSrc, int srcStep,
  2729. Ipp8u alpha,
  2730. Ipp8u* pDst, int dstStep,
  2731. IppiSize roiSize ))
  2732. IPPAPI (IppStatus, ippiAlphaPremulC_16u_AC4R,
  2733. ( const Ipp16u* pSrc, int srcStep,
  2734. Ipp16u alpha,
  2735. Ipp16u* pDst, int dstStep,
  2736. IppiSize roiSize ))
  2737. IPPAPI (IppStatus, ippiAlphaPremulC_8u_AC4IR,
  2738. ( Ipp8u alpha,
  2739. Ipp8u* pSrcDst, int srcDstStep,
  2740. IppiSize roiSize ))
  2741. IPPAPI (IppStatus, ippiAlphaPremulC_16u_AC4IR,
  2742. ( Ipp16u alpha,
  2743. Ipp16u* pSrcDst, int srcDstStep,
  2744. IppiSize roiSize ))
  2745. IPPAPI (IppStatus, ippiAlphaPremulC_8u_AP4R,
  2746. ( const Ipp8u* const pSrc[4], int srcStep,
  2747. Ipp8u alpha,
  2748. Ipp8u* const pDst[4], int dstStep,
  2749. IppiSize roiSize ))
  2750. IPPAPI (IppStatus, ippiAlphaPremulC_16u_AP4R,
  2751. ( const Ipp16u* const pSrc[4], int srcStep,
  2752. Ipp16u alpha,
  2753. Ipp16u* const pDst[4], int dstStep,
  2754. IppiSize roiSize ))
  2755. IPPAPI (IppStatus, ippiAlphaPremulC_8u_AP4IR,
  2756. ( Ipp8u alpha,
  2757. Ipp8u* const pSrcDst[4], int srcDstStep,
  2758. IppiSize roiSize ))
  2759. IPPAPI (IppStatus, ippiAlphaPremulC_16u_AP4IR,
  2760. ( Ipp16u alpha,
  2761. Ipp16u* const pSrcDst[4], int srcDstStep,
  2762. IppiSize roiSize ))
  2763. /* /////////////////////////////////////////////////////////////////////////////
  2764. // Name: ippiAlphaPremulC_8u_C4R, ippiAlphaPremulC_16u_C4R
  2765. // ippiAlphaPremulC_8u_C4IR, ippiAlphaPremulC_16u_C4IR
  2766. //
  2767. // Purpose: Pre-multiplies pixel values of an image by constant alpha values
  2768. // for 4-channel images:
  2769. // dst_pixel = (src_pixel * const_alpha) / VAL_MAX
  2770. // Parameters:
  2771. // pSrc Pointer to the source image
  2772. // srcStep Step through the source image
  2773. // pDst Pointer to the destination image
  2774. // dstStep Step through the destination image
  2775. // pSrcDst Pointer to the source/destination image for in-place functions
  2776. // srcDstStep Step through the source/destination image for in-place functions
  2777. // alpha The constant alpha value
  2778. // roiSize Size of the source and destination ROI
  2779. // Returns:
  2780. // ippStsNoErr no errors
  2781. // ippStsNullPtrErr pSrc == NULL, or pDst == NULL, or pSrcDst == NULL
  2782. // ippStsSizeErr The roiSize has a field with negative or zero value
  2783. //
  2784. // Notes: Value becomes 0 <= alpha <= VAL_MAX
  2785. */
  2786. IPPAPI (IppStatus, ippiAlphaPremulC_8u_C4R,
  2787. ( const Ipp8u* pSrc, int srcStep,
  2788. Ipp8u alpha,
  2789. Ipp8u* pDst, int dstStep,
  2790. IppiSize roiSize ))
  2791. IPPAPI (IppStatus, ippiAlphaPremulC_16u_C4R,
  2792. ( const Ipp16u* pSrc, int srcStep,
  2793. Ipp16u alpha,
  2794. Ipp16u* pDst, int dstStep,
  2795. IppiSize roiSize ))
  2796. IPPAPI (IppStatus, ippiAlphaPremulC_8u_C4IR,
  2797. ( Ipp8u alpha,
  2798. Ipp8u* pSrcDst, int srcDstStep,
  2799. IppiSize roiSize ))
  2800. IPPAPI (IppStatus, ippiAlphaPremulC_16u_C4IR,
  2801. ( Ipp16u alpha,
  2802. Ipp16u* pSrcDst, int srcDstStep,
  2803. IppiSize roiSize ))
  2804. /* /////////////////////////////////////////////////////////////////////////////
  2805. // Name: ippiAlphaPremulC_8u_C3R, ippiAlphaPremulC_16u_C3R
  2806. // ippiAlphaPremulC_8u_C3IR, ippiAlphaPremulC_16u_C3IR
  2807. // Purpose: Pre-multiplies pixel values of an image by constant alpha values
  2808. // for 3-channel images:
  2809. // dst_pixel = (src_pixel * const_alpha) / VAL_MAX
  2810. // Parameters:
  2811. // pSrc Pointer to the source image
  2812. // srcStep Step through the source image
  2813. // pDst Pointer to the destination image
  2814. // dstStep Step through the destination image
  2815. // pSrcDst Pointer to the source/destination image for in-place functions
  2816. // srcDstStep Step through the source/destination image for in-place functions
  2817. // alpha The constant alpha value
  2818. // roiSize Size of the source and destination ROI
  2819. // Returns:
  2820. // ippStsNoErr no errors
  2821. // ippStsNullPtrErr pSrc == NULL, or pDst == NULL, or pSrcDst == NULL
  2822. // ippStsSizeErr The roiSize has a field with negative or zero value
  2823. //
  2824. // Notes: Value becomes 0 <= alpha <= VAL_MAX
  2825. */
  2826. IPPAPI (IppStatus, ippiAlphaPremulC_8u_C3R,
  2827. ( const Ipp8u* pSrc, int srcStep,
  2828. Ipp8u alpha,
  2829. Ipp8u* pDst, int dstStep,
  2830. IppiSize roiSize ))
  2831. IPPAPI (IppStatus, ippiAlphaPremulC_16u_C3R,
  2832. ( const Ipp16u* pSrc, int srcStep,
  2833. Ipp16u alpha,
  2834. Ipp16u* pDst, int dstStep,
  2835. IppiSize roiSize ))
  2836. IPPAPI (IppStatus, ippiAlphaPremulC_8u_C3IR,
  2837. ( Ipp8u alpha,
  2838. Ipp8u* pSrcDst, int srcDstStep,
  2839. IppiSize roiSize ))
  2840. IPPAPI (IppStatus, ippiAlphaPremulC_16u_C3IR,
  2841. ( Ipp16u alpha,
  2842. Ipp16u* pSrcDst, int srcDstStep,
  2843. IppiSize roiSize ))
  2844. /* /////////////////////////////////////////////////////////////////////////////
  2845. // Name: ippiAlphaPremulC_8u_C1R, ippiAlphaPremulC_16u_C1R
  2846. // ippiAlphaPremulC_8u_C1IR, ippiAlphaPremulC_16u_C1IR
  2847. // Purpose: Pre-multiplies pixel values of an image by constant alpha values
  2848. // for 1-channel images:
  2849. // dst_pixel = (src_pixel * const_alpha) / VAL_MAX
  2850. // Parameters:
  2851. // pSrc Pointer to the source image
  2852. // srcStep Step through the source image
  2853. // pDst Pointer to the destination image
  2854. // dstStep Step through the destination image
  2855. // pSrcDst Pointer to the source/destination image for in-place functions
  2856. // srcDstStep Step through the source/destination image for in-place functions
  2857. // alpha The constant alpha value
  2858. // roiSize Size of the source and destination ROI
  2859. // Returns:
  2860. // ippStsNoErr no errors
  2861. // ippStsNullPtrErr pSrc == NULL, or pDst == NULL, or pSrcDst == NULL
  2862. // ippStsSizeErr The roiSize has a field with negative or zero value
  2863. //
  2864. // Notes: Value becomes 0 <= alpha <= VAL_MAX
  2865. */
  2866. IPPAPI (IppStatus, ippiAlphaPremulC_8u_C1R,
  2867. ( const Ipp8u* pSrc, int srcStep,
  2868. Ipp8u alpha,
  2869. Ipp8u* pDst, int dstStep,
  2870. IppiSize roiSize ))
  2871. IPPAPI (IppStatus, ippiAlphaPremulC_16u_C1R,
  2872. ( const Ipp16u* pSrc, int srcStep,
  2873. Ipp16u alpha,
  2874. Ipp16u* pDst, int dstStep,
  2875. IppiSize roiSize ))
  2876. IPPAPI (IppStatus, ippiAlphaPremulC_8u_C1IR,
  2877. ( Ipp8u alpha,
  2878. Ipp8u* pSrcDst, int srcDstStep,
  2879. IppiSize roiSize ))
  2880. IPPAPI (IppStatus, ippiAlphaPremulC_16u_C1IR,
  2881. ( Ipp16u alpha,
  2882. Ipp16u* pSrcDst, int srcDstStep,
  2883. IppiSize roiSize ))
  2884. /* /////////////////////////////////////////////////////////////////////////////
  2885. // Name: ippiAlphaComp_8u_AC4R, ippiAlphaComp_16u_AC4R
  2886. // ippiAlphaComp_8s_AC4R, ippiAlphaComp_16s_AC4R
  2887. // ippiAlphaComp_32s_AC4R,ippiAlphaComp_32u_AC4R
  2888. // ippiAlphaComp_8u_AP4R, ippiAlphaComp_16u_AP4R
  2889. //
  2890. // Purpose: Combines two 4-channel images using alpha values of both images
  2891. //
  2892. // Parameters:
  2893. // pSrc1 Pointer to the first source image for pixel-order data,
  2894. // array of pointers to separate source color planes for planar data
  2895. // src1Step Step through the first source image
  2896. // pSrc2 Pointer to the second source image for pixel-order data,
  2897. // array of pointers to separate source color planes for planar data
  2898. // src2Step Step through the second source image
  2899. // pDst Pointer to the destination image for pixel-order data,
  2900. // array of pointers to separate destination color planes for planar data
  2901. // dstStep Step through the destination image
  2902. // roiSize Size of the source and destination ROI
  2903. // alphaType The type of composition to perform
  2904. // Returns:
  2905. // ippStsNoErr No errors
  2906. // ippStsNullPtrErr pSrc1== NULL, or pSrc2== NULL, or pDst == NULL
  2907. // ippStsSizeErr The roiSize has a field with negative or zero value
  2908. // ippStsAlphaTypeErr The alphaType is incorrect
  2909. // Note: Result is wrong, if Alpha < 0 for signed types
  2910. */
  2911. IPPAPI (IppStatus, ippiAlphaComp_8u_AC4R,
  2912. ( const Ipp8u* pSrc1, int src1Step,
  2913. const Ipp8u* pSrc2, int src2Step,
  2914. Ipp8u* pDst, int dstStep,
  2915. IppiSize roiSize,
  2916. IppiAlphaType alphaType ))
  2917. IPPAPI (IppStatus, ippiAlphaComp_16u_AC4R,
  2918. ( const Ipp16u* pSrc1, int src1Step,
  2919. const Ipp16u* pSrc2, int src2Step,
  2920. Ipp16u* pDst, int dstStep,
  2921. IppiSize roiSize,
  2922. IppiAlphaType alphaType ))
  2923. IPPAPI (IppStatus, ippiAlphaComp_8s_AC4R,
  2924. ( const Ipp8s* pSrc1, int src1Step,
  2925. const Ipp8s* pSrc2, int src2Step,
  2926. Ipp8s* pDst, int dstStep,
  2927. IppiSize roiSize,
  2928. IppiAlphaType alphaType ))
  2929. IPPAPI (IppStatus, ippiAlphaComp_16s_AC4R,
  2930. ( const Ipp16s* pSrc1, int src1Step,
  2931. const Ipp16s* pSrc2, int src2Step,
  2932. Ipp16s* pDst, int dstStep,
  2933. IppiSize roiSize,
  2934. IppiAlphaType alphaType ))
  2935. IPPAPI (IppStatus, ippiAlphaComp_32s_AC4R,
  2936. ( const Ipp32s* pSrc1, int src1Step,
  2937. const Ipp32s* pSrc2, int src2Step,
  2938. Ipp32s* pDst, int dstStep,
  2939. IppiSize roiSize,
  2940. IppiAlphaType alphaType ))
  2941. IPPAPI (IppStatus, ippiAlphaComp_32u_AC4R,
  2942. ( const Ipp32u* pSrc1, int src1Step,
  2943. const Ipp32u* pSrc2, int src2Step,
  2944. Ipp32u* pDst, int dstStep,
  2945. IppiSize roiSize,
  2946. IppiAlphaType alphaType ))
  2947. IPPAPI (IppStatus, ippiAlphaComp_32f_AC4R,
  2948. ( const Ipp32f* pSrc1, int src1Step,
  2949. const Ipp32f* pSrc2, int src2Step,
  2950. Ipp32f* pDst, int dstStep,
  2951. IppiSize roiSize,
  2952. IppiAlphaType alphaType ))
  2953. IPPAPI (IppStatus, ippiAlphaComp_8u_AP4R,
  2954. ( const Ipp8u* const pSrc1[4], int src1Step,
  2955. const Ipp8u* const pSrc2[4], int src2Step,
  2956. Ipp8u* const pDst[4], int dstStep,
  2957. IppiSize roiSize,
  2958. IppiAlphaType alphaType ))
  2959. IPPAPI (IppStatus, ippiAlphaComp_16u_AP4R,
  2960. ( const Ipp16u* const pSrc1[4], int src1Step,
  2961. const Ipp16u* const pSrc2[4], int src2Step,
  2962. Ipp16u* const pDst[4], int dstStep,
  2963. IppiSize roiSize,
  2964. IppiAlphaType alphaType ))
  2965. /* /////////////////////////////////////////////////////////////////////////////
  2966. // Name: ippiAlphaComp_8u_AC1R, ippiAlphaComp_16u_AC1R
  2967. // ippiAlphaComp_8s_AC1R, ippiAlphaComp_16s_AC1R
  2968. // ippiAlphaComp_32s_AC1R, ippiAlphaComp_32u_AC1R
  2969. // Purpose: Combines two 1-channel images using alpha values of both images
  2970. //
  2971. // Parameters:
  2972. // pSrc1 Pointer to the first source image
  2973. // src1Step Step through the first source image
  2974. // pSrc2 Pointer to the second source image
  2975. // src2Step Step through the second source image
  2976. // pDst Pointer to the destination image
  2977. // dstStep Step through the destination image
  2978. // roiSize Size of the source and destination ROI
  2979. // alphaType The type of composition to perform
  2980. // Returns:
  2981. // ippStsNoErr No errors
  2982. // ippStsNullPtrErr pSrc1== NULL, or pSrc2== NULL, or pDst == NULL
  2983. // ippStsSizeErr The roiSize has a field with negative or zero value
  2984. // ippStsAlphaTypeErr The alphaType is incorrect
  2985. // Note: Result is wrong, if Alpha < 0 for signed types
  2986. */
  2987. IPPAPI (IppStatus, ippiAlphaComp_8u_AC1R,
  2988. ( const Ipp8u* pSrc1, int src1Step,
  2989. const Ipp8u* pSrc2, int src2Step,
  2990. Ipp8u* pDst, int dstStep,
  2991. IppiSize roiSize,
  2992. IppiAlphaType alphaType ))
  2993. IPPAPI (IppStatus, ippiAlphaComp_16u_AC1R,
  2994. ( const Ipp16u* pSrc1, int src1Step,
  2995. const Ipp16u* pSrc2, int src2Step,
  2996. Ipp16u* pDst, int dstStep,
  2997. IppiSize roiSize,
  2998. IppiAlphaType alphaType ))
  2999. IPPAPI (IppStatus, ippiAlphaComp_8s_AC1R,
  3000. ( const Ipp8s* pSrc1, int src1Step,
  3001. const Ipp8s* pSrc2, int src2Step,
  3002. Ipp8s* pDst, int dstStep,
  3003. IppiSize roiSize,
  3004. IppiAlphaType alphaType ))
  3005. IPPAPI (IppStatus, ippiAlphaComp_16s_AC1R,
  3006. ( const Ipp16s* pSrc1, int src1Step,
  3007. const Ipp16s* pSrc2, int src2Step,
  3008. Ipp16s* pDst, int dstStep,
  3009. IppiSize roiSize,
  3010. IppiAlphaType alphaType ))
  3011. IPPAPI (IppStatus, ippiAlphaComp_32s_AC1R,
  3012. ( const Ipp32s* pSrc1, int src1Step,
  3013. const Ipp32s* pSrc2, int src2Step,
  3014. Ipp32s* pDst, int dstStep,
  3015. IppiSize roiSize,
  3016. IppiAlphaType alphaType ))
  3017. IPPAPI (IppStatus, ippiAlphaComp_32u_AC1R,
  3018. ( const Ipp32u* pSrc1, int src1Step,
  3019. const Ipp32u* pSrc2, int src2Step,
  3020. Ipp32u* pDst, int dstStep,
  3021. IppiSize roiSize,
  3022. IppiAlphaType alphaType ))
  3023. IPPAPI (IppStatus, ippiAlphaComp_32f_AC1R,
  3024. ( const Ipp32f* pSrc1, int src1Step,
  3025. const Ipp32f* pSrc2, int src2Step,
  3026. Ipp32f* pDst, int dstStep,
  3027. IppiSize roiSize,
  3028. IppiAlphaType alphaType ))
  3029. /* /////////////////////////////////////////////////////////////////////////////
  3030. // Name: ippiAlphaCompC_8u_AC4R, ippiAlphaCompC_16u_AC4R
  3031. // ippiAlphaCompC_8u_AP4R, ippiAlphaCompC_16u_AP4R
  3032. //
  3033. // Purpose: Combines two 4-channel images using constant alpha values
  3034. //
  3035. // Parameters:
  3036. // pSrc1 Pointer to the first source image for pixel-order data,
  3037. // array of pointers to separate source color planes for planar data
  3038. // src1Step Step through the first source image
  3039. // pSrc2 Pointer to the second source image for pixel-order data,
  3040. // array of pointers to separate source color planes for planar data
  3041. // src2Step Step through the second source image
  3042. // pDst Pointer to the destination image for pixel-order data,
  3043. // array of pointers to separate destination color planes for planar data
  3044. // dstStep Step through the destination image
  3045. // roiSize Size of the source and destination ROI
  3046. // alpha1 The constant alpha value for the first source image
  3047. // alpha2 The constant alpha value for the second source image
  3048. // alphaType The type of composition to perform
  3049. // Returns:
  3050. // ippStsNoErr No errors
  3051. // ippStsNullPtrErr pSrc1== NULL, or pSrc2== NULL, or pDst == NULL
  3052. // ippStsSizeErr The roiSize has a field with negative or zero value
  3053. // ippStsAlphaTypeErr The alphaType is incorrect
  3054. //
  3055. // Notes: Alpha-channel values (channel 4) remain without modifications
  3056. // Value becomes 0 <= alphaA <= VAL_MAX
  3057. // 0 <= alphaB <= VAL_MAX
  3058. */
  3059. IPPAPI (IppStatus, ippiAlphaCompC_8u_AC4R,
  3060. ( const Ipp8u* pSrc1, int src1Step,
  3061. Ipp8u alpha1,
  3062. const Ipp8u* pSrc2, int src2Step,
  3063. Ipp8u alpha2,
  3064. Ipp8u* pDst, int dstStep,
  3065. IppiSize roiSize,
  3066. IppiAlphaType alphaType ))
  3067. IPPAPI (IppStatus, ippiAlphaCompC_16u_AC4R,
  3068. ( const Ipp16u* pSrc1, int src1Step,
  3069. Ipp16u alpha1,
  3070. const Ipp16u* pSrc2, int src2Step,
  3071. Ipp16u alpha2,
  3072. Ipp16u* pDst, int dstStep,
  3073. IppiSize roiSize,
  3074. IppiAlphaType alphaType ))
  3075. IPPAPI (IppStatus, ippiAlphaCompC_8u_AP4R,
  3076. ( const Ipp8u* const pSrc1[4], int src1Step,
  3077. Ipp8u alpha1,
  3078. const Ipp8u* const pSrc2[4], int src2Step,
  3079. Ipp8u alpha2,
  3080. Ipp8u* const pDst[4], int dstStep,
  3081. IppiSize roiSize,
  3082. IppiAlphaType alphaType ))
  3083. IPPAPI (IppStatus, ippiAlphaCompC_16u_AP4R,
  3084. ( const Ipp16u* const pSrc1[4], int src1Step,
  3085. Ipp16u alpha1,
  3086. const Ipp16u* const pSrc2[4], int src2Step,
  3087. Ipp16u alpha2,
  3088. Ipp16u* const pDst[4], int dstStep,
  3089. IppiSize roiSize,
  3090. IppiAlphaType alphaType ))
  3091. /* /////////////////////////////////////////////////////////////////////////////
  3092. // Name: ippiAlphaCompC_8u_C4R, ippiAlphaCompC_16u_C4R
  3093. //
  3094. // Purpose: Combines two 4-channel images using constant alpha values
  3095. //
  3096. // Parameters:
  3097. // pSrc1 Pointer to the first source image
  3098. // src1Step Step through the first source image
  3099. // pSrc2 Pointer to the second source image
  3100. // src2Step Step through the second source image
  3101. // pDst Pointer to the destination image
  3102. // dstStep Step through the destination image
  3103. // roiSize Size of the source and destination ROI
  3104. // alpha1 The constant alpha value for the first source image
  3105. // alpha2 The constant alpha value for the second source image
  3106. // alphaType The type of composition to perform
  3107. // Returns:
  3108. // ippStsNoErr No errors
  3109. // ippStsNullPtrErr pSrc1== NULL, or pSrc2== NULL, or pDst == NULL
  3110. // ippStsSizeErr The roiSize has a field with negative or zero value
  3111. // ippStsAlphaTypeErr The alphaType is incorrect
  3112. //
  3113. // Notes: Value becomes 0 <= alphaA <= VAL_MAX
  3114. // 0 <= alphaB <= VAL_MAX
  3115. */
  3116. IPPAPI (IppStatus, ippiAlphaCompC_8u_C4R,
  3117. ( const Ipp8u* pSrc1, int src1Step,
  3118. Ipp8u alpha1,
  3119. const Ipp8u* pSrc2, int src2Step,
  3120. Ipp8u alpha2,
  3121. Ipp8u* pDst, int dstStep,
  3122. IppiSize roiSize,
  3123. IppiAlphaType alphaType ))
  3124. IPPAPI (IppStatus, ippiAlphaCompC_16u_C4R,
  3125. ( const Ipp16u* pSrc1, int src1Step,
  3126. Ipp16u alpha1,
  3127. const Ipp16u* pSrc2, int src2Step,
  3128. Ipp16u alpha2,
  3129. Ipp16u* pDst, int dstStep,
  3130. IppiSize roiSize,
  3131. IppiAlphaType alphaType ))
  3132. /* /////////////////////////////////////////////////////////////////////////////
  3133. // Name: ippiAlphaCompC_8u_C3R, ippiAlphaCompC_16u_C3R
  3134. // Purpose: Combines two 3-channel images using constant alpha values
  3135. // Parameters:
  3136. // pSrc1 Pointer to the first source image
  3137. // src1Step Step through the first source image
  3138. // pSrc2 Pointer to the second source image
  3139. // src2Step Step through the second source image
  3140. // pDst Pointer to the destination image
  3141. // dstStep Step through the destination image
  3142. // roiSize Size of the source and destination ROI
  3143. // alpha1 The constant alpha value for the first source image
  3144. // alpha2 The constant alpha value for the second source image
  3145. // alphaType The type of composition to perform
  3146. // Returns:
  3147. // ippStsNoErr No errors
  3148. // ippStsNullPtrErr pSrc1== NULL, or pSrc2== NULL, or pDst == NULL
  3149. // ippStsSizeErr The roiSize has a field with negative or zero value
  3150. // ippStsAlphaTypeErr The alphaType is incorrect
  3151. //
  3152. // Notes: Value becomes 0 <= alphaA <= VAL_MAX
  3153. // 0 <= alphaB <= VAL_MAX
  3154. */
  3155. IPPAPI (IppStatus, ippiAlphaCompC_8u_C3R,
  3156. ( const Ipp8u* pSrc1, int src1Step,
  3157. Ipp8u alpha1,
  3158. const Ipp8u* pSrc2, int src2Step,
  3159. Ipp8u alpha2,
  3160. Ipp8u* pDst, int dstStep,
  3161. IppiSize roiSize,
  3162. IppiAlphaType alphaType ))
  3163. IPPAPI (IppStatus, ippiAlphaCompC_16u_C3R,
  3164. ( const Ipp16u* pSrc1, int src1Step,
  3165. Ipp16u alpha1,
  3166. const Ipp16u* pSrc2, int src2Step,
  3167. Ipp16u alpha2,
  3168. Ipp16u* pDst, int dstStep,
  3169. IppiSize roiSize,
  3170. IppiAlphaType alphaType ))
  3171. /* /////////////////////////////////////////////////////////////////////////////
  3172. // Name: ippiAlphaCompC_8u_C1R, ippiAlphaCompC_16u_C1R
  3173. // ippiAlphaCompC_8s_C1R, ippiAlphaCompC_16s_C1R
  3174. // ippiAlphaCompC_32s_C1R, ippiAlphaCompC_32u_C1R
  3175. // Purpose: Combines two 1-channel images using constant alpha values
  3176. // Parameters:
  3177. // pSrc1 Pointer to the first source image
  3178. // src1Step Step through the first source image
  3179. // pSrc2 Pointer to the second source image
  3180. // src2Step Step through the second source image
  3181. // pDst Pointer to the destination image
  3182. // dstStep Step through the destination image
  3183. // roiSize Size of the source and destination ROI
  3184. // alpha1 The constant alpha value for the first source image
  3185. // alpha2 The constant alpha value for the second source image
  3186. // alphaType The type of composition to perform
  3187. // Returns:
  3188. // ippStsNoErr No errors
  3189. // ippStsNullPtrErr pSrc1== NULL, or pSrc2== NULL, or pDst == NULL
  3190. // ippStsSizeErr The roiSize has a field with negative or zero value
  3191. // ippStsAlphaTypeErr The alphaType is incorrect
  3192. //
  3193. // Notes: Value becomes 0 <= alphaA <= VAL_MAX
  3194. // 0 <= alphaB <= VAL_MAX
  3195. */
  3196. IPPAPI (IppStatus, ippiAlphaCompC_8u_C1R,
  3197. ( const Ipp8u* pSrc1, int src1Step,
  3198. Ipp8u alpha1,
  3199. const Ipp8u* pSrc2, int src2Step,
  3200. Ipp8u alpha2,
  3201. Ipp8u* pDst, int dstStep,
  3202. IppiSize roiSize,
  3203. IppiAlphaType alphaType ))
  3204. IPPAPI (IppStatus, ippiAlphaCompC_16u_C1R,
  3205. ( const Ipp16u* pSrc1, int src1Step,
  3206. Ipp16u alpha1,
  3207. const Ipp16u* pSrc2, int src2Step,
  3208. Ipp16u alpha2,
  3209. Ipp16u* pDst, int dstStep,
  3210. IppiSize roiSize,
  3211. IppiAlphaType alphaType ))
  3212. IPPAPI (IppStatus, ippiAlphaCompC_8s_C1R,
  3213. ( const Ipp8s* pSrc1, int src1Step,
  3214. Ipp8s alpha1,
  3215. const Ipp8s* pSrc2, int src2Step,
  3216. Ipp8s alpha2,
  3217. Ipp8s* pDst, int dstStep,
  3218. IppiSize roiSize,
  3219. IppiAlphaType alphaType ))
  3220. IPPAPI (IppStatus, ippiAlphaCompC_16s_C1R,
  3221. ( const Ipp16s* pSrc1, int src1Step,
  3222. Ipp16s alpha1,
  3223. const Ipp16s* pSrc2, int src2Step,
  3224. Ipp16s alpha2,
  3225. Ipp16s* pDst, int dstStep,
  3226. IppiSize roiSize,
  3227. IppiAlphaType alphaType ))
  3228. IPPAPI (IppStatus, ippiAlphaCompC_32s_C1R,
  3229. ( const Ipp32s* pSrc1, int src1Step,
  3230. Ipp32s alpha1,
  3231. const Ipp32s* pSrc2, int src2Step,
  3232. Ipp32s alpha2,
  3233. Ipp32s* pDst, int dstStep,
  3234. IppiSize roiSize,
  3235. IppiAlphaType alphaType ))
  3236. IPPAPI (IppStatus, ippiAlphaCompC_32u_C1R,
  3237. ( const Ipp32u* pSrc1, int src1Step,
  3238. Ipp32u alpha1,
  3239. const Ipp32u* pSrc2, int src2Step,
  3240. Ipp32u alpha2,
  3241. Ipp32u* pDst, int dstStep,
  3242. IppiSize roiSize,
  3243. IppiAlphaType alphaType ))
  3244. IPPAPI (IppStatus, ippiAlphaCompC_32f_C1R,
  3245. ( const Ipp32f* pSrc1, int src1Step,
  3246. Ipp32f alpha1,
  3247. const Ipp32f* pSrc2, int src2Step,
  3248. Ipp32f alpha2,
  3249. Ipp32f* pDst, int dstStep,
  3250. IppiSize roiSize,
  3251. IppiAlphaType alphaType ))
  3252. /* /////////////////////////////////////////////////////////////////////////////
  3253. // Linear Transform Operations
  3254. ///////////////////////////////////////////////////////////////////////////// */
  3255. /* /////////////////////////////////////////////////////////////////////////////
  3256. // Definitions for FFT Functions
  3257. ///////////////////////////////////////////////////////////////////////////// */
  3258. #if !defined( _OWN_BLDPCS )
  3259. struct FFT2DSpec_C_32fc;
  3260. typedef struct FFT2DSpec_C_32fc IppiFFTSpec_C_32fc;
  3261. struct FFT2DSpec_R_32f;
  3262. typedef struct FFT2DSpec_R_32f IppiFFTSpec_R_32f;
  3263. struct FFT2DSpec_R_32s;
  3264. typedef struct FFT2DSpec_R_32s IppiFFTSpec_R_32s;
  3265. #endif /* _OWN_BLDPCS */
  3266. /* /////////////////////////////////////////////////////////////////////////////
  3267. // FFT Context Functions
  3268. ///////////////////////////////////////////////////////////////////////////// */
  3269. /* /////////////////////////////////////////////////////////////////////////////
  3270. // Name: ippiFFTInitAlloc
  3271. // Purpose: Creates and initializes the FFT context structure
  3272. // Parameters:
  3273. // orderX Base-2 logarithm of the number of samples in FFT (width)
  3274. // orderY Base-2 logarithm of the number of samples in FFT (height)
  3275. // flag Flag to choose the results normalization factors
  3276. // hint Option to select the algorithmic implementation of the transform
  3277. // function
  3278. // pFFTSpec Pointer to the pointer to the FFT context structure
  3279. // Returns:
  3280. // ippStsNoErr No errors
  3281. // ippStsNullPtrErr pFFTSpec == NULL
  3282. // ippStsFftOrderErr FFT order value is illegal
  3283. // ippStsFFTFlagErr flag has an illegal value
  3284. // ippStsMemAllocErr Memory allocation fails
  3285. */
  3286. IPPAPI (IppStatus, ippiFFTInitAlloc_C_32fc,
  3287. ( IppiFFTSpec_C_32fc** pFFTSpec,
  3288. int orderX, int orderY, int flag, IppHintAlgorithm hint ))
  3289. IPPAPI (IppStatus, ippiFFTInitAlloc_R_32f,
  3290. ( IppiFFTSpec_R_32f** pFFTSpec,
  3291. int orderX, int orderY, int flag, IppHintAlgorithm hint ))
  3292. IPPAPI (IppStatus, ippiFFTInitAlloc_R_32s,
  3293. ( IppiFFTSpec_R_32s** pFFTSpec,
  3294. int orderX, int orderY, int flag, IppHintAlgorithm hint ))
  3295. /* /////////////////////////////////////////////////////////////////////////////
  3296. // Name: ippiFFTFree
  3297. // Purpose: Deallocates memory used by the FFT context structure
  3298. // Parameters:
  3299. // pFFTSpec Pointer to the FFT context structure
  3300. // Returns:
  3301. // ippStsNoErr No errors
  3302. // ippStsNullPtrErr pFFTSpec == NULL
  3303. // ippStsContextMatchErr Invalid context structure
  3304. */
  3305. IPPAPI (IppStatus, ippiFFTFree_C_32fc, ( IppiFFTSpec_C_32fc* pFFTSpec ))
  3306. IPPAPI (IppStatus, ippiFFTFree_R_32f, ( IppiFFTSpec_R_32f* pFFTSpec ))
  3307. IPPAPI (IppStatus, ippiFFTFree_R_32s, ( IppiFFTSpec_R_32s* pFFTSpec ))
  3308. /* /////////////////////////////////////////////////////////////////////////////
  3309. // FFT Buffer Size
  3310. ///////////////////////////////////////////////////////////////////////////// */
  3311. /* /////////////////////////////////////////////////////////////////////////////
  3312. // Name: ippiFFTGetBufSize
  3313. // Purpose: Computes the size of an external FFT work buffer (in bytes)
  3314. // Parameters:
  3315. // pFFTSpec Pointer to the FFT context structure
  3316. // pSize Pointer to the size of the external buffer
  3317. // Returns:
  3318. // ippStsNoErr no errors
  3319. // ippStsNullPtrErr pFFTSpec == NULL or pSize == NULL
  3320. // ippStsContextMatchErr bad context identifier
  3321. */
  3322. IPPAPI (IppStatus, ippiFFTGetBufSize_C_32fc,
  3323. ( const IppiFFTSpec_C_32fc* pFFTSpec, int* pSize ))
  3324. IPPAPI (IppStatus, ippiFFTGetBufSize_R_32f,
  3325. ( const IppiFFTSpec_R_32f* pFFTSpec, int* pSize ))
  3326. IPPAPI (IppStatus, ippiFFTGetBufSize_R_32s,
  3327. ( const IppiFFTSpec_R_32s* pFFTSpec, int* pSize ))
  3328. /* /////////////////////////////////////////////////////////////////////////////
  3329. // FFT Transforms
  3330. ///////////////////////////////////////////////////////////////////////////// */
  3331. /* /////////////////////////////////////////////////////////////////////////////
  3332. // Name: ippiFFTFwd, ippiFFTInv
  3333. // Purpose: Performs forward or inverse FFT of an image
  3334. // Parameters:
  3335. // pFFTSpec Pointer to the FFT context structure
  3336. // pSrc Pointer to the source image
  3337. // srcStep Step through the source image
  3338. // pDst Pointer to the destination image
  3339. // dstStep Step through the destination image
  3340. // pSrcDst Pointer to the source/destination image (in-place)
  3341. // srcDstStep Step through the source/destination image (in-place)
  3342. // pBuffer Pointer to the external work buffer
  3343. // Returns:
  3344. // ippStsNoErr No errors
  3345. // ippStsNullPtrErr pFFTSpec == NULL, or
  3346. // pSrc == NULL, or pDst == NULL
  3347. // ippStsStepErr srcStep or dstStep value is zero or negative
  3348. // ippStsContextMatchErr Invalid context structure
  3349. // ippStsMemAllocErr Memory allocation error
  3350. */
  3351. IPPAPI (IppStatus, ippiFFTFwd_CToC_32fc_C1R,
  3352. ( const Ipp32fc* pSrc, int srcStep,
  3353. Ipp32fc* pDst, int dstStep,
  3354. const IppiFFTSpec_C_32fc* pFFTSpec,
  3355. Ipp8u* pBuffer ))
  3356. IPPAPI (IppStatus, ippiFFTInv_CToC_32fc_C1R,
  3357. ( const Ipp32fc* pSrc, int srcStep,
  3358. Ipp32fc* pDst, int dstStep,
  3359. const IppiFFTSpec_C_32fc* pFFTSpec,
  3360. Ipp8u* pBuffer ))
  3361. IPPAPI (IppStatus, ippiFFTFwd_RToPack_32f_C1R,
  3362. ( const Ipp32f* pSrc, int srcStep,
  3363. Ipp32f* pDst, int dstStep,
  3364. const IppiFFTSpec_R_32f* pFFTSpec,
  3365. Ipp8u* pBuffer ))
  3366. IPPAPI (IppStatus, ippiFFTFwd_RToPack_32f_C3R,
  3367. ( const Ipp32f* pSrc, int srcStep,
  3368. Ipp32f* pDst, int dstStep,
  3369. const IppiFFTSpec_R_32f* pFFTSpec,
  3370. Ipp8u* pBuffer ))
  3371. IPPAPI (IppStatus, ippiFFTFwd_RToPack_32f_C4R,
  3372. ( const Ipp32f* pSrc, int srcStep,
  3373. Ipp32f* pDst, int dstStep,
  3374. const IppiFFTSpec_R_32f* pFFTSpec,
  3375. Ipp8u* pBuffer ))
  3376. IPPAPI (IppStatus, ippiFFTFwd_RToPack_32f_AC4R,
  3377. ( const Ipp32f* pSrc, int srcStep,
  3378. Ipp32f* pDst, int dstStep,
  3379. const IppiFFTSpec_R_32f* pFFTSpec,
  3380. Ipp8u* pBuffer ))
  3381. IPPAPI (IppStatus, ippiFFTInv_PackToR_32f_C1R,
  3382. ( const Ipp32f* pSrc, int srcStep,
  3383. Ipp32f* pDst, int dstStep,
  3384. const IppiFFTSpec_R_32f* pFFTSpec,
  3385. Ipp8u* pBuffer ))
  3386. IPPAPI (IppStatus, ippiFFTInv_PackToR_32f_C3R,
  3387. ( const Ipp32f* pSrc, int srcStep,
  3388. Ipp32f* pDst, int dstStep,
  3389. const IppiFFTSpec_R_32f* pFFTSpec,
  3390. Ipp8u* pBuffer ))
  3391. IPPAPI (IppStatus, ippiFFTInv_PackToR_32f_C4R,
  3392. ( const Ipp32f* pSrc, int srcStep,
  3393. Ipp32f* pDst, int dstStep,
  3394. const IppiFFTSpec_R_32f* pFFTSpec,
  3395. Ipp8u* pBuffer ))
  3396. IPPAPI (IppStatus, ippiFFTInv_PackToR_32f_AC4R,
  3397. ( const Ipp32f* pSrc, int srcStep,
  3398. Ipp32f* pDst, int dstStep,
  3399. const IppiFFTSpec_R_32f* pFFTSpec,
  3400. Ipp8u* pBuffer ))
  3401. IPPAPI (IppStatus, ippiFFTFwd_RToPack_8u32s_C1RSfs,
  3402. ( const Ipp8u *pSrc, int srcStep,
  3403. Ipp32s *pDst, int dstStep,
  3404. const IppiFFTSpec_R_32s* pFFTSpec,
  3405. int scaleFactor, Ipp8u *pBuffer ))
  3406. IPPAPI (IppStatus, ippiFFTFwd_RToPack_8u32s_C3RSfs,
  3407. ( const Ipp8u *pSrc, int srcStep,
  3408. Ipp32s *pDst, int dstStep,
  3409. const IppiFFTSpec_R_32s* pFFTSpec,
  3410. int scaleFactor, Ipp8u *pBuffer ))
  3411. IPPAPI (IppStatus, ippiFFTFwd_RToPack_8u32s_C4RSfs,
  3412. ( const Ipp8u *pSrc, int srcStep,
  3413. Ipp32s *pDst, int dstStep,
  3414. const IppiFFTSpec_R_32s* pFFTSpec,
  3415. int scaleFactor, Ipp8u *pBuffer ))
  3416. IPPAPI (IppStatus, ippiFFTFwd_RToPack_8u32s_AC4RSfs,
  3417. ( const Ipp8u *pSrc, int srcStep,
  3418. Ipp32s *pDst, int dstStep,
  3419. const IppiFFTSpec_R_32s* pFFTSpec,
  3420. int scaleFactor, Ipp8u *pBuffer ))
  3421. IPPAPI (IppStatus, ippiFFTInv_PackToR_32s8u_C1RSfs,
  3422. ( const Ipp32s *pSrc, int srcStep,
  3423. Ipp8u *pDst, int dstStep,
  3424. const IppiFFTSpec_R_32s* pFFTSpec,
  3425. int scaleFactor, Ipp8u *pBuffer ))
  3426. IPPAPI (IppStatus, ippiFFTInv_PackToR_32s8u_C3RSfs,
  3427. ( const Ipp32s *pSrc, int srcStep,
  3428. Ipp8u *pDst, int dstStep,
  3429. const IppiFFTSpec_R_32s* pFFTSpec,
  3430. int scaleFactor, Ipp8u *pBuffer ))
  3431. IPPAPI (IppStatus, ippiFFTInv_PackToR_32s8u_C4RSfs,
  3432. ( const Ipp32s *pSrc, int srcStep,
  3433. Ipp8u *pDst, int dstStep,
  3434. const IppiFFTSpec_R_32s* pFFTSpec,
  3435. int scaleFactor, Ipp8u *pBuffer ))
  3436. IPPAPI (IppStatus, ippiFFTInv_PackToR_32s8u_AC4RSfs,
  3437. ( const Ipp32s *pSrc, int srcStep,
  3438. Ipp8u *pDst, int dstStep,
  3439. const IppiFFTSpec_R_32s* pFFTSpec,
  3440. int scaleFactor, Ipp8u *pBuffer ))
  3441. IPPAPI (IppStatus, ippiFFTFwd_CToC_32fc_C1IR,
  3442. ( Ipp32fc* pSrcDst, int srcDstStep,
  3443. const IppiFFTSpec_C_32fc* pFFTSpec,
  3444. Ipp8u* pBuffer ))
  3445. IPPAPI (IppStatus, ippiFFTInv_CToC_32fc_C1IR,
  3446. ( Ipp32fc* pSrcDst, int srcDstStep,
  3447. const IppiFFTSpec_C_32fc* pFFTSpec,
  3448. Ipp8u* pBuffer ))
  3449. IPPAPI (IppStatus, ippiFFTFwd_RToPack_32f_C1IR,
  3450. ( Ipp32f* pSrcDst, int srcDstStep,
  3451. const IppiFFTSpec_R_32f* pFFTSpec,
  3452. Ipp8u* pBuffer ))
  3453. IPPAPI (IppStatus, ippiFFTFwd_RToPack_32f_C3IR,
  3454. ( Ipp32f* pSrcDst, int srcDstStep,
  3455. const IppiFFTSpec_R_32f* pFFTSpec,
  3456. Ipp8u* pBuffer ))
  3457. IPPAPI (IppStatus, ippiFFTFwd_RToPack_32f_C4IR,
  3458. ( Ipp32f* pSrcDst, int srcDstStep,
  3459. const IppiFFTSpec_R_32f* pFFTSpec,
  3460. Ipp8u* pBuffer ))
  3461. IPPAPI (IppStatus, ippiFFTFwd_RToPack_32f_AC4IR,
  3462. ( Ipp32f* pSrcDst, int srcDstStep,
  3463. const IppiFFTSpec_R_32f* pFFTSpec,
  3464. Ipp8u* pBuffer ))
  3465. IPPAPI (IppStatus, ippiFFTInv_PackToR_32f_C1IR,
  3466. ( Ipp32f* pSrcDst, int srcDstStep,
  3467. const IppiFFTSpec_R_32f* pFFTSpec,
  3468. Ipp8u* pBuffer ))
  3469. IPPAPI (IppStatus, ippiFFTInv_PackToR_32f_C3IR,
  3470. ( Ipp32f* pSrcDst, int srcDstStep,
  3471. const IppiFFTSpec_R_32f* pFFTSpec,
  3472. Ipp8u* pBuffer ))
  3473. IPPAPI (IppStatus, ippiFFTInv_PackToR_32f_C4IR,
  3474. ( Ipp32f* pSrcDst, int srcDstStep,
  3475. const IppiFFTSpec_R_32f* pFFTSpec,
  3476. Ipp8u* pBuffer ))
  3477. IPPAPI (IppStatus, ippiFFTInv_PackToR_32f_AC4IR,
  3478. ( Ipp32f* pSrcDst, int srcDstStep,
  3479. const IppiFFTSpec_R_32f* pFFTSpec,
  3480. Ipp8u* pBuffer ))
  3481. /* /////////////////////////////////////////////////////////////////////////////
  3482. // Definitions for DFT Functions
  3483. ///////////////////////////////////////////////////////////////////////////// */
  3484. #if !defined( _OWN_BLDPCS )
  3485. struct DFT2DSpec_C_32fc;
  3486. typedef struct DFT2DSpec_C_32fc IppiDFTSpec_C_32fc;
  3487. struct DFT2DSpec_R_32f;
  3488. typedef struct DFT2DSpec_R_32f IppiDFTSpec_R_32f;
  3489. struct DFT2DSpec_R_32s;
  3490. typedef struct DFT2DSpec_R_32s IppiDFTSpec_R_32s;
  3491. #endif /* _OWN_BLDPCS */
  3492. /* /////////////////////////////////////////////////////////////////////////////
  3493. // DFT Context Functions
  3494. ///////////////////////////////////////////////////////////////////////////// */
  3495. /* /////////////////////////////////////////////////////////////////////////////
  3496. // Name: ippiDFTInitAlloc
  3497. // Purpose: Creates and initializes the DFT context structure
  3498. // Parameters:
  3499. // roiSize Size of the ROI
  3500. // flag Flag to choose the results normalization factors
  3501. // hint Option to select the algorithmic implementation of the transform
  3502. // function
  3503. // pDFTSpec Pointer to the pointer to the DFT context structure
  3504. // Returns:
  3505. // ippStsNoErr No errors
  3506. // ippStsNullPtrErr pDFTSpec == NULL
  3507. // ippStsSizeErr roiSize has a field with zero or negative value
  3508. // ippStsFFTFlagErr Illegal value of the flag
  3509. // ippStsMemAllocErr Memory allocation error
  3510. */
  3511. IPPAPI (IppStatus, ippiDFTInitAlloc_C_32fc,
  3512. ( IppiDFTSpec_C_32fc** pDFTSpec,
  3513. IppiSize roiSize, int flag, IppHintAlgorithm hint ))
  3514. IPPAPI (IppStatus, ippiDFTInitAlloc_R_32f,
  3515. ( IppiDFTSpec_R_32f** pDFTSpec,
  3516. IppiSize roiSize, int flag, IppHintAlgorithm hint ))
  3517. IPPAPI (IppStatus, ippiDFTInitAlloc_R_32s,
  3518. ( IppiDFTSpec_R_32s** pDFTSpec,
  3519. IppiSize roiSize, int flag, IppHintAlgorithm hint ))
  3520. /* /////////////////////////////////////////////////////////////////////////////
  3521. // Name: ippiDFTFree
  3522. // Purpose: Deallocates memory used by the DFT context structure
  3523. // Parameters:
  3524. // pDFTSpec Pointer to the DFT context structure
  3525. // Returns:
  3526. // ippStsNoErr No errors
  3527. // ippStsNullPtrErr pDFTSpec == NULL
  3528. // ippStsContextMatchErr Invalid context structure
  3529. */
  3530. IPPAPI (IppStatus, ippiDFTFree_C_32fc, ( IppiDFTSpec_C_32fc* pDFTSpec ))
  3531. IPPAPI (IppStatus, ippiDFTFree_R_32f, ( IppiDFTSpec_R_32f* pDFTSpec ))
  3532. IPPAPI (IppStatus, ippiDFTFree_R_32s, ( IppiDFTSpec_R_32s* pFFTSpec ))
  3533. /* /////////////////////////////////////////////////////////////////////////////
  3534. // DFT Buffer Size
  3535. ///////////////////////////////////////////////////////////////////////////// */
  3536. /* /////////////////////////////////////////////////////////////////////////////
  3537. // Name: ippiDFTGetBufSize
  3538. // Purpose: Computes the size of the external DFT work buffer (in bytes)
  3539. // Parameters:
  3540. // pDFTSpec Pointer to the DFT context structure
  3541. // pSize Pointer to the size of the buffer
  3542. // Returns:
  3543. // ippStsNoErr no errors
  3544. // ippStsNullPtrErr pDFTSpec == NULL or pSize == NULL
  3545. // ippStsContextMatchErr Invalid context structure
  3546. */
  3547. IPPAPI (IppStatus, ippiDFTGetBufSize_C_32fc,
  3548. ( const IppiDFTSpec_C_32fc* pDFTSpec, int* pSize ))
  3549. IPPAPI (IppStatus, ippiDFTGetBufSize_R_32f,
  3550. ( const IppiDFTSpec_R_32f* pDFTSpec, int* pSize ))
  3551. IPPAPI (IppStatus, ippiDFTGetBufSize_R_32s,
  3552. ( const IppiDFTSpec_R_32s* pDFTSpec, int* pSize ))
  3553. /* /////////////////////////////////////////////////////////////////////////////
  3554. // DFT Transforms
  3555. ///////////////////////////////////////////////////////////////////////////// */
  3556. /* /////////////////////////////////////////////////////////////////////////////
  3557. // Name: ippiDFTFwd, ippiDFTInv
  3558. // Purpose: Performs forward or inverse DFT of an image
  3559. // Parameters:
  3560. // pDFTSpec Pointer to the DFT context structure
  3561. // pSrc Pointer to source image
  3562. // srcStep Step through the source image
  3563. // pDst Pointer to the destination image
  3564. // dstStep Step through the destination image
  3565. // pSrcDst Pointer to the source/destination image (in-place)
  3566. // srcDstStep Step through the source/destination image (in-place)
  3567. // pBuffer Pointer to the external work buffer
  3568. // Returns:
  3569. // ippStsNoErr No errors
  3570. // ippStsNullPtrErr pDFTSpec == NULL, or
  3571. // pSrc == NULL, or pDst == NULL
  3572. // ippStsStepErr srcStep or dstStep value is zero or negative
  3573. // ippStsContextMatchErr Invalid context structure
  3574. // ippStsMemAllocErr Memory allocation error
  3575. */
  3576. IPPAPI (IppStatus, ippiDFTFwd_CToC_32fc_C1R,
  3577. ( const Ipp32fc* pSrc, int srcStep,
  3578. Ipp32fc* pDst, int dstStep,
  3579. const IppiDFTSpec_C_32fc* pDFTSpec,
  3580. Ipp8u* pBuffer ))
  3581. IPPAPI (IppStatus, ippiDFTInv_CToC_32fc_C1R,
  3582. ( const Ipp32fc* pSrc, int srcStep,
  3583. Ipp32fc* pDst, int dstStep,
  3584. const IppiDFTSpec_C_32fc* pDFTSpec,
  3585. Ipp8u* pBuffer ))
  3586. IPPAPI (IppStatus, ippiDFTFwd_RToPack_32f_C1R,
  3587. ( const Ipp32f* pSrc, int srcStep,
  3588. Ipp32f* pDst, int dstStep,
  3589. const IppiDFTSpec_R_32f* pDFTSpec,
  3590. Ipp8u* pBuffer ))
  3591. IPPAPI (IppStatus, ippiDFTFwd_RToPack_32f_C3R,
  3592. ( const Ipp32f* pSrc, int srcStep,
  3593. Ipp32f* pDst, int dstStep,
  3594. const IppiDFTSpec_R_32f* pDFTSpec,
  3595. Ipp8u* pBuffer ))
  3596. IPPAPI (IppStatus, ippiDFTFwd_RToPack_32f_C4R,
  3597. ( const Ipp32f* pSrc, int srcStep,
  3598. Ipp32f* pDst, int dstStep,
  3599. const IppiDFTSpec_R_32f* pDFTSpec,
  3600. Ipp8u* pBuffer ))
  3601. IPPAPI (IppStatus, ippiDFTFwd_RToPack_32f_AC4R,
  3602. ( const Ipp32f* pSrc, int srcStep,
  3603. Ipp32f* pDst, int dstStep,
  3604. const IppiDFTSpec_R_32f* pDFTSpec,
  3605. Ipp8u* pBuffer ))
  3606. IPPAPI (IppStatus, ippiDFTInv_PackToR_32f_C1R,
  3607. ( const Ipp32f* pSrc, int srcStep,
  3608. Ipp32f* pDst, int dstStep,
  3609. const IppiDFTSpec_R_32f* pDFTSpec,
  3610. Ipp8u* pBuffer ))
  3611. IPPAPI (IppStatus, ippiDFTInv_PackToR_32f_C3R,
  3612. ( const Ipp32f* pSrc, int srcStep,
  3613. Ipp32f* pDst, int dstStep,
  3614. const IppiDFTSpec_R_32f* pDFTSpec,
  3615. Ipp8u* pBuffer ))
  3616. IPPAPI (IppStatus, ippiDFTInv_PackToR_32f_C4R,
  3617. ( const Ipp32f* pSrc, int srcStep,
  3618. Ipp32f* pDst, int dstStep,
  3619. const IppiDFTSpec_R_32f* pDFTSpec,
  3620. Ipp8u* pBuffer ))
  3621. IPPAPI (IppStatus, ippiDFTInv_PackToR_32f_AC4R,
  3622. ( const Ipp32f* pSrc, int srcStep,
  3623. Ipp32f* pDst, int dstStep,
  3624. const IppiDFTSpec_R_32f* pDFTSpec,
  3625. Ipp8u* pBuffer ))
  3626. IPPAPI (IppStatus, ippiDFTFwd_RToPack_8u32s_C1RSfs,
  3627. ( const Ipp8u *pSrc, int srcStep,
  3628. Ipp32s *pDst, int dstStep,
  3629. const IppiDFTSpec_R_32s* pDFTSpec,
  3630. int scaleFactor, Ipp8u *pBuffer ))
  3631. IPPAPI (IppStatus, ippiDFTFwd_RToPack_8u32s_C3RSfs,
  3632. ( const Ipp8u *pSrc, int srcStep,
  3633. Ipp32s *pDst, int dstStep,
  3634. const IppiDFTSpec_R_32s* pDFTSpec,
  3635. int scaleFactor, Ipp8u *pBuffer ))
  3636. IPPAPI (IppStatus, ippiDFTFwd_RToPack_8u32s_C4RSfs,
  3637. ( const Ipp8u *pSrc, int srcStep,
  3638. Ipp32s *pDst, int dstStep,
  3639. const IppiDFTSpec_R_32s* pDFTSpec,
  3640. int scaleFactor, Ipp8u *pBuffer ))
  3641. IPPAPI (IppStatus, ippiDFTFwd_RToPack_8u32s_AC4RSfs,
  3642. ( const Ipp8u *pSrc, int srcStep,
  3643. Ipp32s *pDst, int dstStep,
  3644. const IppiDFTSpec_R_32s* pDFTSpec,
  3645. int scaleFactor, Ipp8u *pBuffer ))
  3646. IPPAPI (IppStatus, ippiDFTInv_PackToR_32s8u_C1RSfs,
  3647. ( const Ipp32s *pSrc, int srcStep,
  3648. Ipp8u *pDst, int dstStep,
  3649. const IppiDFTSpec_R_32s* pDFTSpec,
  3650. int scaleFactor, Ipp8u *pBuffer ))
  3651. IPPAPI (IppStatus, ippiDFTInv_PackToR_32s8u_C3RSfs,
  3652. ( const Ipp32s *pSrc, int srcStep,
  3653. Ipp8u *pDst, int dstStep,
  3654. const IppiDFTSpec_R_32s* pDFTSpec,
  3655. int scaleFactor, Ipp8u *pBuffer ))
  3656. IPPAPI (IppStatus, ippiDFTInv_PackToR_32s8u_C4RSfs,
  3657. ( const Ipp32s *pSrc, int srcStep,
  3658. Ipp8u *pDst, int dstStep,
  3659. const IppiDFTSpec_R_32s* pDFTSpec,
  3660. int scaleFactor, Ipp8u *pBuffer ))
  3661. IPPAPI (IppStatus, ippiDFTInv_PackToR_32s8u_AC4RSfs,
  3662. ( const Ipp32s *pSrc, int srcStep,
  3663. Ipp8u *pDst, int dstStep,
  3664. const IppiDFTSpec_R_32s* pDFTSpec,
  3665. int scaleFactor, Ipp8u *pBuffer ))
  3666. IPPAPI (IppStatus, ippiDFTFwd_CToC_32fc_C1IR,
  3667. ( Ipp32fc* pSrcDst, int srcDstStep,
  3668. const IppiDFTSpec_C_32fc* pDFTSpec,
  3669. Ipp8u* pBuffer ))
  3670. IPPAPI (IppStatus, ippiDFTInv_CToC_32fc_C1IR,
  3671. ( Ipp32fc* pSrcDst, int srcDstStep,
  3672. const IppiDFTSpec_C_32fc* pDFTSpec,
  3673. Ipp8u* pBuffer ))
  3674. IPPAPI (IppStatus, ippiDFTFwd_RToPack_32f_C1IR,
  3675. ( Ipp32f* pSrcDst, int srcDstStep,
  3676. const IppiDFTSpec_R_32f* pDFTSpec,
  3677. Ipp8u* pBuffer ))
  3678. IPPAPI (IppStatus, ippiDFTFwd_RToPack_32f_C3IR,
  3679. ( Ipp32f* pSrcDst, int srcDstStep,
  3680. const IppiDFTSpec_R_32f* pDFTSpec,
  3681. Ipp8u* pBuffer ))
  3682. IPPAPI (IppStatus, ippiDFTFwd_RToPack_32f_C4IR,
  3683. ( Ipp32f* pSrcDst, int srcDstStep,
  3684. const IppiDFTSpec_R_32f* pDFTSpec,
  3685. Ipp8u* pBuffer ))
  3686. IPPAPI (IppStatus, ippiDFTFwd_RToPack_32f_AC4IR,
  3687. ( Ipp32f* pSrcDst, int srcDstStep,
  3688. const IppiDFTSpec_R_32f* pDFTSpec,
  3689. Ipp8u* pBuffer ))
  3690. IPPAPI (IppStatus, ippiDFTInv_PackToR_32f_C1IR,
  3691. ( Ipp32f* pSrcDst, int srcDstStep,
  3692. const IppiDFTSpec_R_32f* pDFTSpec,
  3693. Ipp8u* pBuffer ))
  3694. IPPAPI (IppStatus, ippiDFTInv_PackToR_32f_C3IR,
  3695. ( Ipp32f* pSrcDst, int srcDstStep,
  3696. const IppiDFTSpec_R_32f* pDFTSpec,
  3697. Ipp8u* pBuffer ))
  3698. IPPAPI (IppStatus, ippiDFTInv_PackToR_32f_C4IR,
  3699. ( Ipp32f* pSrcDst, int srcDstStep,
  3700. const IppiDFTSpec_R_32f* pDFTSpec,
  3701. Ipp8u* pBuffer ))
  3702. IPPAPI (IppStatus, ippiDFTInv_PackToR_32f_AC4IR,
  3703. ( Ipp32f* pSrcDst, int srcDstStep,
  3704. const IppiDFTSpec_R_32f* pDFTSpec,
  3705. Ipp8u* pBuffer ))
  3706. /* /////////////////////////////////////////////////////////////////////////////
  3707. // Definitions for DCT Functions
  3708. ///////////////////////////////////////////////////////////////////////////// */
  3709. #if !defined( _OWN_BLDPCS )
  3710. struct DCT2DFwdSpec_32f;
  3711. typedef struct DCT2DFwdSpec_32f IppiDCTFwdSpec_32f;
  3712. struct DCT2DInvSpec_32f;
  3713. typedef struct DCT2DInvSpec_32f IppiDCTInvSpec_32f;
  3714. #endif /* _OWN_BLDPCS */
  3715. /* /////////////////////////////////////////////////////////////////////////////
  3716. // DCT Context Functions
  3717. ///////////////////////////////////////////////////////////////////////////// */
  3718. /* /////////////////////////////////////////////////////////////////////////////
  3719. // Name: ippiDCTFwdInitAlloc, ippiDCTInvInitAlloc
  3720. // Purpose: Creates and initializes the forward/inverse DCT context structure
  3721. // Parameters:
  3722. // roiSize Size of the ROI
  3723. // hint Option to select the algorithmic implementation of the transform
  3724. // function
  3725. // pDCTSpec Pointer to the pointer to the DCT context structure
  3726. // Returns:
  3727. // ippStsNoErr No errors
  3728. // ippStsNullPtrErr pDCTSpec == NULL
  3729. // ippStsSizeErr roiSize has a field with zero or negative value
  3730. // ippStsMemAllocErr Memory allocation error
  3731. */
  3732. IPPAPI (IppStatus, ippiDCTFwdInitAlloc_32f,
  3733. ( IppiDCTFwdSpec_32f** pDCTSpec,
  3734. IppiSize roiSize, IppHintAlgorithm hint ))
  3735. IPPAPI (IppStatus, ippiDCTInvInitAlloc_32f,
  3736. ( IppiDCTInvSpec_32f** pDCTSpec,
  3737. IppiSize roiSize, IppHintAlgorithm hint ))
  3738. /* /////////////////////////////////////////////////////////////////////////////
  3739. // Name: ippiDCTFwdFree, ippiDCTInvFree
  3740. // Purpose: Frees memory used by the forward/inverse DCT context structure
  3741. // Parameters:
  3742. // pDCTSpec Pointer to the forward/inverse DCT context structure
  3743. // Returns:
  3744. // ippStsNoErr No errors
  3745. // ippStsNullPtrErr pDCTSpec == NULL
  3746. // ippStsContextMatchErr Invalid context structure
  3747. */
  3748. IPPAPI (IppStatus, ippiDCTFwdFree_32f, ( IppiDCTFwdSpec_32f* pDCTSpec ))
  3749. IPPAPI (IppStatus, ippiDCTInvFree_32f, ( IppiDCTInvSpec_32f* pDCTSpec ))
  3750. /* /////////////////////////////////////////////////////////////////////////////
  3751. // DCT Buffer Size
  3752. ///////////////////////////////////////////////////////////////////////////// */
  3753. /* /////////////////////////////////////////////////////////////////////////////
  3754. // Name: ippiDCTFwdGetBufSize, ippiDCTInvGetBufSize
  3755. // Purpose: Computes the size of the external forward/inverse DCT work buffer
  3756. // (in bytes)
  3757. // Parameters:
  3758. // pDCTSpec Pointer to the external forward/inverse DCT context structure
  3759. // pSize Pointer to the size of the buffer
  3760. // Returns:
  3761. // ippStsNoErr No errors
  3762. // ippStsNullPtrErr pDCTSpec == NULL, or pSize == NULL
  3763. // ippStsContextMatchErr Invalid context structure
  3764. */
  3765. IPPAPI (IppStatus, ippiDCTFwdGetBufSize_32f,
  3766. ( const IppiDCTFwdSpec_32f* pDCTSpec, int* pSize ))
  3767. IPPAPI (IppStatus, ippiDCTInvGetBufSize_32f,
  3768. ( const IppiDCTInvSpec_32f* pDCTSpec, int* pSize ))
  3769. /* /////////////////////////////////////////////////////////////////////////////
  3770. // DCT Transforms
  3771. ///////////////////////////////////////////////////////////////////////////// */
  3772. /* /////////////////////////////////////////////////////////////////////////////
  3773. // Name: ippiDCTFwd, ippiDCTInv
  3774. // Purpose: Performs forward or inverse DCT of an image
  3775. // Parameters:
  3776. // pDCTSpec Pointer to the DCT context structure
  3777. // pSrc Pointer to the source image
  3778. // srcStep Step through the source image
  3779. // pDst Pointer to the destination image
  3780. // dstStep Step through the destination image
  3781. // pBuffer Pointer to the work buffer
  3782. // Returns:
  3783. // ippStsNoErr No errors
  3784. // ippStsNullPtrErr pDCTSpec == NULL, or
  3785. // pSrc == NULL, or pDst == NULL
  3786. // ippStsStepErr srcStep or dstStep value is zero or negative
  3787. // ippStsContextMatchErr Invalid context structure
  3788. // ippStsMemAllocErr memory allocation error
  3789. */
  3790. IPPAPI (IppStatus, ippiDCTFwd_32f_C1R,
  3791. ( const Ipp32f* pSrc, int srcStep,
  3792. Ipp32f* pDst, int dstStep,
  3793. const IppiDCTFwdSpec_32f* pDCTSpec,
  3794. Ipp8u* pBuffer ))
  3795. IPPAPI (IppStatus, ippiDCTFwd_32f_C3R,
  3796. ( const Ipp32f* pSrc, int srcStep,
  3797. Ipp32f* pDst, int dstStep,
  3798. const IppiDCTFwdSpec_32f* pDCTSpec,
  3799. Ipp8u* pBuffer ))
  3800. IPPAPI (IppStatus, ippiDCTFwd_32f_C4R,
  3801. ( const Ipp32f* pSrc, int srcStep,
  3802. Ipp32f* pDst, int dstStep,
  3803. const IppiDCTFwdSpec_32f* pDCTSpec,
  3804. Ipp8u* pBuffer ))
  3805. IPPAPI (IppStatus, ippiDCTFwd_32f_AC4R,
  3806. ( const Ipp32f* pSrc, int srcStep,
  3807. Ipp32f* pDst, int dstStep,
  3808. const IppiDCTFwdSpec_32f* pDCTSpec,
  3809. Ipp8u* pBuffer ))
  3810. IPPAPI (IppStatus, ippiDCTInv_32f_C1R,
  3811. ( const Ipp32f* pSrc, int srcStep,
  3812. Ipp32f* pDst, int dstStep,
  3813. const IppiDCTInvSpec_32f* pDCTSpec,
  3814. Ipp8u* pBuffer ))
  3815. IPPAPI (IppStatus, ippiDCTInv_32f_C3R,
  3816. ( const Ipp32f* pSrc, int srcStep,
  3817. Ipp32f* pDst, int dstStep,
  3818. const IppiDCTInvSpec_32f* pDCTSpec,
  3819. Ipp8u* pBuffer ))
  3820. IPPAPI (IppStatus, ippiDCTInv_32f_C4R,
  3821. ( const Ipp32f* pSrc, int srcStep,
  3822. Ipp32f* pDst, int dstStep,
  3823. const IppiDCTInvSpec_32f* pDCTSpec,
  3824. Ipp8u* pBuffer ))
  3825. IPPAPI (IppStatus, ippiDCTInv_32f_AC4R,
  3826. ( const Ipp32f* pSrc, int srcStep,
  3827. Ipp32f* pDst, int dstStep,
  3828. const IppiDCTInvSpec_32f* pDCTSpec,
  3829. Ipp8u* pBuffer ))
  3830. /* /////////////////////////////////////////////////////////////////////////////
  3831. // 8x8 DCT Transforms
  3832. ///////////////////////////////////////////////////////////////////////////// */
  3833. /* /////////////////////////////////////////////////////////////////////////////
  3834. // Name: ippiDCT8x8Fwd_16s_C1, ippiDCT8x8Fwd_16s_C1I
  3835. // ippiDCT8x8Inv_16s_C1, ippiDCT8x8Inv_16s_C1I
  3836. // ippiDCT8x8Fwd_16s_C1R
  3837. // ippiDCT8x8Inv_16s_C1R
  3838. // Purpose: Performs forward or inverse DCT in the 8x8 buffer for 16s data
  3839. //
  3840. // Parameters:
  3841. // pSrc Pointer to the source buffer
  3842. // pDst Pointer to the destination buffer
  3843. // pSrcDst Pointer to the source and destination buffer (in-place operations)
  3844. // srcStep Step through the source image (operations with ROI)
  3845. // dstStep Step through the destination image (operations with ROI)
  3846. // Returns:
  3847. // ippStsNoErr No errors
  3848. // ippStsNullPtrErr One of the pointers is NULL
  3849. // ippStsStepErr srcStep or dstStep value is zero or negative
  3850. // Notes:
  3851. // Source data for inverse DCT functions must be the result of the forward DCT
  3852. // of data from the range [-256,255]
  3853. */
  3854. IPPAPI (IppStatus, ippiDCT8x8Fwd_16s_C1, ( const Ipp16s* pSrc, Ipp16s* pDst ))
  3855. IPPAPI (IppStatus, ippiDCT8x8Inv_16s_C1, ( const Ipp16s* pSrc, Ipp16s* pDst ))
  3856. IPPAPI (IppStatus, ippiDCT8x8Fwd_16s_C1I, ( Ipp16s* pSrcDst ))
  3857. IPPAPI (IppStatus, ippiDCT8x8Inv_16s_C1I, ( Ipp16s* pSrcDst ))
  3858. IPPAPI (IppStatus, ippiDCT8x8Fwd_16s_C1R,
  3859. ( const Ipp16s* pSrc, int srcStep, Ipp16s* pDst ))
  3860. IPPAPI (IppStatus, ippiDCT8x8Inv_16s_C1R,
  3861. ( const Ipp16s* pSrc, Ipp16s* pDst, int dstStep ))
  3862. /* /////////////////////////////////////////////////////////////////////////////
  3863. // Name: ippiDCT8x8Inv_2x2_16s_C1, ippiDCT8x8Inv_2x2_16s_C1I
  3864. // ippiDCT8x8Inv_4x4_16s_C1, ippiDCT8x8Inv_4x4_16s_C1I
  3865. // Purpose: Performs inverse DCT of nonzero elements in the top left quadrant
  3866. // of size 2x2 or 4x4 in the 8x8 buffer
  3867. // Parameters:
  3868. // pSrc Pointer to the source buffer
  3869. // pDst Pointer to the destination buffer
  3870. // pSrcDst Pointer to the source/destination buffer (in-place operations)
  3871. // Returns:
  3872. // ippStsNoErr No errors
  3873. // ippStsNullPtrErr one of the pointers is NULL
  3874. // Notes:
  3875. // Source data for these functions must be the result of the forward DCT
  3876. // of data from the range [-256,255]
  3877. */
  3878. IPPAPI (IppStatus, ippiDCT8x8Inv_2x2_16s_C1, ( const Ipp16s* pSrc, Ipp16s* pDst ))
  3879. IPPAPI (IppStatus, ippiDCT8x8Inv_4x4_16s_C1, ( const Ipp16s* pSrc, Ipp16s* pDst ))
  3880. IPPAPI (IppStatus, ippiDCT8x8Inv_2x2_16s_C1I, ( Ipp16s* pSrcDst ))
  3881. IPPAPI (IppStatus, ippiDCT8x8Inv_4x4_16s_C1I, ( Ipp16s* pSrcDst ))
  3882. /* /////////////////////////////////////////////////////////////////////////////
  3883. // Name: ippiDCT8x8To2x2Inv_16s_C1, ippiDCT8x8To2x2Inv_16s_C1I
  3884. // ippiDCT8x8To4x4Inv_16s_C1, ippiDCT8x8To4x4Inv_16s_C1I
  3885. // Purpose: Inverse Discrete Cosine Transform 8x8 for 16s data and
  3886. // downsampling of the result from 8x8 to 2x2 or 4x4 by averaging
  3887. // Arguments:
  3888. // pSrc - pointer to start of source buffer
  3889. // pDst - pointer to start of destination buffer
  3890. // pSrcDst - pointer to start of in-place buffer
  3891. // Returns:
  3892. // ippStsNoErr no errors
  3893. // ippStsNullPtrErr one of pointers are NULL
  3894. // Notes:
  3895. // Source data for these functions must be the result of the forward DCT
  3896. // of data from the range [-256,255]
  3897. */
  3898. IPPAPI (IppStatus, ippiDCT8x8To2x2Inv_16s_C1, ( const Ipp16s* pSrc, Ipp16s* pDst ))
  3899. IPPAPI (IppStatus, ippiDCT8x8To4x4Inv_16s_C1, ( const Ipp16s* pSrc, Ipp16s* pDst ))
  3900. IPPAPI (IppStatus, ippiDCT8x8To2x2Inv_16s_C1I, ( Ipp16s* pSrcDst ))
  3901. IPPAPI (IppStatus, ippiDCT8x8To4x4Inv_16s_C1I, ( Ipp16s* pSrcDst ))
  3902. /* /////////////////////////////////////////////////////////////////////////////
  3903. // Name: ippiDCT8x8Inv_A10_16s_C1, ippiDCT8x8Inv_A10_16s_C1I
  3904. // Purpose: Performs inverse DCT in the 8x8 buffer for 10 bits 16s data
  3905. //
  3906. // Parameters:
  3907. // pSrc Pointer to the source buffer
  3908. // pDst Pointer to the destination buffer
  3909. // Returns:
  3910. // ippStsNoErr No errors
  3911. // ippStsNullPtrErr One of the pointers is NULL
  3912. // Notes:
  3913. // Source data for these functions must be the result of the forward DCT
  3914. // of data from the range [-512,511]
  3915. */
  3916. IPPAPI (IppStatus, ippiDCT8x8Inv_A10_16s_C1, ( const Ipp16s* pSrc, Ipp16s* pDst ))
  3917. IPPAPI (IppStatus, ippiDCT8x8Inv_A10_16s_C1I, ( Ipp16s* pSrcDst ))
  3918. /* /////////////////////////////////////////////////////////////////////////////
  3919. // Name: ippiDCT8x8Fwd_8u16s_C1R
  3920. // ippiDCT8x8Inv_16s8u_C1R
  3921. // Purpose: Performs forward and inverse DCT in 8x8 buffer
  3922. // for 16s data with conversion from/to 8u
  3923. // Parameters:
  3924. // pSrc Pointer to the source buffer
  3925. // pDst Pointer to the destination buffer
  3926. // srcStep Step through the source image
  3927. // dstStep Step through the destination image
  3928. // Returns:
  3929. // ippStsNoErr No errors
  3930. // ippStsNullPtrErr One of pointers is NULL
  3931. // ippStsStepErr srcStep or dstStep value is zero or negative
  3932. */
  3933. IPPAPI (IppStatus, ippiDCT8x8Fwd_8u16s_C1R,
  3934. ( const Ipp8u* pSrc, int srcStep, Ipp16s* pDst ))
  3935. IPPAPI (IppStatus, ippiDCT8x8Inv_16s8u_C1R,
  3936. ( const Ipp16s* pSrc, Ipp8u* pDst, int dstStep ))
  3937. /* /////////////////////////////////////////////////////////////////////////////
  3938. // Name: ippiDCT8x8FwdLS_8u16s_C1R
  3939. // Purpose: Performs forward DCT in 8x8 buffer for 16s data
  3940. // with conversion from 8u and level shift
  3941. // Parameters:
  3942. // pSrc Pointer to start of source buffer
  3943. // pDst Pointer to start of destination buffer
  3944. // srcStep Step the source buffer
  3945. // addVal Constant value adding before DCT (level shift)
  3946. // Returns:
  3947. // ippStsNoErr No errors
  3948. // ippStsNullPtrErr one of the pointers is NULL
  3949. // ippStsStepErr srcStep value is zero or negative
  3950. */
  3951. IPPAPI (IppStatus, ippiDCT8x8FwdLS_8u16s_C1R,
  3952. ( const Ipp8u* pSrc, int srcStep, Ipp16s* pDst,
  3953. Ipp16s addVal ))
  3954. /* /////////////////////////////////////////////////////////////////////////////
  3955. // Name: ippiDCT8x8InvLSClip_16s8u_C1R
  3956. // Purpose: Performs inverse DCT in 8x8 buffer for 16s data
  3957. // with level shift, clipping and conversion to 8u
  3958. // Parameters:
  3959. // pSrc Pointer to the source buffer
  3960. // pDst Pointer to the destination buffer
  3961. // dstStep Step through the destination image
  3962. // addVal Constant value adding after DCT (level shift)
  3963. // clipDown Constant value for clipping (MIN)
  3964. // clipUp Constant value for clipping (MAX)
  3965. // Returns:
  3966. // ippStsNoErr No errors
  3967. // ippStsNullPtrErr One of the pointers is NULL
  3968. // ippStsStepErr dstStep value is zero or negative
  3969. */
  3970. IPPAPI (IppStatus, ippiDCT8x8InvLSClip_16s8u_C1R,
  3971. ( const Ipp16s* pSrc, Ipp8u* pDst, int dstStep,
  3972. Ipp16s addVal, Ipp8u clipDown, Ipp8u clipUp ))
  3973. /* /////////////////////////////////////////////////////////////////////////////
  3974. // Name: ippiDCT8x8Fwd_32f_C1, ippiDCT8x8Fwd_32f_C1I
  3975. // ippiDCT8x8Inv_32f_C1, ippiDCT8x8Inv_32f_C1I
  3976. // Purpose: Performs forward or inverse DCT in the 8x8 buffer for 32f data
  3977. //
  3978. // Parameters:
  3979. // pSrc Pointer to the source buffer
  3980. // pDst Pointer to the destination buffer
  3981. // pSrcDst Pointer to the source and destination buffer (in-place operations)
  3982. // Returns:
  3983. // ippStsNoErr No errors
  3984. // ippStsNullPtrErr One of the pointers is NULL
  3985. */
  3986. IPPAPI (IppStatus, ippiDCT8x8Fwd_32f_C1, ( const Ipp32f* pSrc, Ipp32f* pDst ))
  3987. IPPAPI (IppStatus, ippiDCT8x8Inv_32f_C1, ( const Ipp32f* pSrc, Ipp32f* pDst ))
  3988. IPPAPI (IppStatus, ippiDCT8x8Fwd_32f_C1I, ( Ipp32f* pSrcDst ))
  3989. IPPAPI (IppStatus, ippiDCT8x8Inv_32f_C1I, ( Ipp32f* pSrcDst ))
  3990. /* /////////////////////////////////////////////////////////////////////////////
  3991. // Wavelet Transform Functions for User Filter Banks
  3992. ///////////////////////////////////////////////////////////////////////////// */
  3993. #if !defined( _OWN_BLDPCS )
  3994. struct iWTFwdSpec_32f_C1R;
  3995. typedef struct iWTFwdSpec_32f_C1R IppiWTFwdSpec_32f_C1R;
  3996. struct iWTInvSpec_32f_C1R;
  3997. typedef struct iWTInvSpec_32f_C1R IppiWTInvSpec_32f_C1R;
  3998. struct iWTFwdSpec_32f_C3R;
  3999. typedef struct iWTFwdSpec_32f_C3R IppiWTFwdSpec_32f_C3R;
  4000. struct iWTInvSpec_32f_C3R;
  4001. typedef struct iWTInvSpec_32f_C3R IppiWTInvSpec_32f_C3R;
  4002. #endif /* _OWN_BLDPCS */
  4003. /* //////////////////////////////////////////////////////////////////////
  4004. // Name: ippiWTFwdInitAlloc_32f_C1R
  4005. // ippiWTFwdInitAlloc_32f_C3R
  4006. // Purpose: Allocates and initializes
  4007. // the forward wavelet transform context structure.
  4008. // Parameters:
  4009. // pSpec Pointer to pointer to allocated and initialized
  4010. // context structure;
  4011. // pTapsLow Pointer to lowpass filter taps;
  4012. // lenLow Length of lowpass filter;
  4013. // anchorLow Anchor position of lowpass filter;
  4014. // pTapsHigh Pointer to highpass filter taps;
  4015. // lenHigh Length of highpass filter;
  4016. // anchorHigh Anchor position of highpass filter.
  4017. //
  4018. // Returns:
  4019. // ippStsNoErr OK;
  4020. // ippStsNullPtrErr One of the pointers is NULL;
  4021. // ippStsSizeErr lenLow or lenHigh is less than 2;
  4022. // ippStsAnchorErr anchorLow or anchorHigh is less than zero;
  4023. // ippStsMemAllocErr Memory allocation failure for the context structure.
  4024. //
  4025. */
  4026. IPPAPI (IppStatus, ippiWTFwdInitAlloc_32f_C1R, (IppiWTFwdSpec_32f_C1R** pSpec,
  4027. const Ipp32f* pTapsLow, int lenLow, int anchorLow,
  4028. const Ipp32f* pTapsHigh, int lenHigh, int anchorHigh))
  4029. IPPAPI (IppStatus, ippiWTFwdInitAlloc_32f_C3R, (IppiWTFwdSpec_32f_C3R** pSpec,
  4030. const Ipp32f* pTapsLow, int lenLow, int anchorLow,
  4031. const Ipp32f* pTapsHigh, int lenHigh, int anchorHigh))
  4032. /* //////////////////////////////////////////////////////////////////////
  4033. // Name: ippiWTFwdFree_32f_C1R
  4034. // ippiWTFwdFree_32f_C3R
  4035. //
  4036. // Purpose: Deallocates memory used by the
  4037. // forward wavelet transform context structure.
  4038. //
  4039. // Parameters:
  4040. // pSpec Pointer to the context structure.
  4041. //
  4042. // Returns:
  4043. // ippStsNoErr OK;
  4044. // ippStsNullPtrErr Pointer to the context structure is NULL;
  4045. // ippStsContextMatchErr Invalid context structure.
  4046. //
  4047. */
  4048. IPPAPI (IppStatus, ippiWTFwdFree_32f_C1R, (IppiWTFwdSpec_32f_C1R* pSpec))
  4049. IPPAPI (IppStatus, ippiWTFwdFree_32f_C3R, (IppiWTFwdSpec_32f_C3R* pSpec))
  4050. /* //////////////////////////////////////////////////////////////////////
  4051. // Name: ippiWTFwdGetBufSize_C1R
  4052. // ippiWTFwdGetBufSize_C3R
  4053. //
  4054. // Purpose: Computes the size of external work buffer for forward
  4055. // wavelet transform
  4056. //
  4057. // Parameters:
  4058. // pSpec Pointer to the context structure.
  4059. // pSize Pointer to the variable that will receive the size of work buffer
  4060. // required for forward wavelet transform.
  4061. //
  4062. // Returns:
  4063. // ippStsNoErr OK;
  4064. // ippStsNullPtrErr One of the pointers is NULL;
  4065. // ippStsContextMatchErr Invalid context structure.
  4066. //
  4067. // Notes: if pointer to context structure is NULL,
  4068. // ippStsNullPtrErr will be returned.
  4069. */
  4070. IPPAPI (IppStatus, ippiWTFwdGetBufSize_C1R,
  4071. ( const IppiWTFwdSpec_32f_C1R* pSpec, int* pSize ))
  4072. IPPAPI (IppStatus, ippiWTFwdGetBufSize_C3R,
  4073. ( const IppiWTFwdSpec_32f_C3R* pSpec, int* pSize ))
  4074. /* //////////////////////////////////////////////////////////////////////
  4075. // Name: ippiWTFwd_32f_C1R
  4076. // ippiWTFwd_32f_C3R
  4077. //
  4078. // Purpose: Performs wavelet decomposition of an image.
  4079. //
  4080. // Parameters:
  4081. // pSrc Pointer to source image ROI;
  4082. // srcStep Step in bytes through the source image;
  4083. // pApproxDst Pointer to destination "approximation" image ROI;
  4084. // approxStep Step in bytes through the destination approximation image;
  4085. // pDetailXDst Pointer to the destination "horizontal details" image ROI;
  4086. // detailXStep Step in bytes through the destination horizontal detail image;
  4087. // pDetailYDst Pointer to the destination "vertical details" image ROI;
  4088. // detailYStep Step in bytes through the destination "vertical details" image;
  4089. // pDetailXYDst Pointer to the destination "diagonal details" image ROI;
  4090. // detailXYStep Step in bytes through the destination "diagonal details" image;
  4091. // dstRoiSize ROI size for all destination images.
  4092. // pSpec Pointer to the context structure.
  4093. //
  4094. // Returns:
  4095. // ippStsNoErr OK;
  4096. // ippStsNullPtrErr One of pointers is NULL;
  4097. // ippStsSizeErr dstRoiSize has a field with zero or negative value;
  4098. // ippStsContextMatchErr Invalid context structure.
  4099. //
  4100. // Notes:
  4101. // No any fixed borders extension (wrap, symm.) will be applied!
  4102. // Source image must have valid and accessible border data outside of ROI.
  4103. //
  4104. // Only the same ROI sizes for destination images are supported.
  4105. //
  4106. // Source ROI size should be calculated by the following rule:
  4107. // srcRoiSize.width = 2 * dstRoiSize.width;
  4108. // srcRoiSize.height = 2 * dstRoiSize.height.
  4109. //
  4110. // Conventional tokens for destination images have next meaning:
  4111. // "Approximation" - image obtained by vertical
  4112. // and horizontal lowpass filtering.
  4113. // "Horizontal detail" - image obtained by vertical highpass
  4114. // and horizontal lowpass filtering.
  4115. // "Vertical detail" - image obtained by vertical lowpass
  4116. // and horizontal highpass filtering.
  4117. // "Diagonal detail" - image obtained by vertical
  4118. // and horizontal highpass filtering.
  4119. // These tokens are used only for identification convenience.
  4120. //
  4121. //
  4122. */
  4123. IPPAPI (IppStatus, ippiWTFwd_32f_C1R, (const Ipp32f* pSrc, int srcStep,
  4124. Ipp32f* pApproxDst, int approxStep,
  4125. Ipp32f* pDetailXDst, int detailXStep,
  4126. Ipp32f* pDetailYDst, int detailYStep,
  4127. Ipp32f* pDetailXYDst, int detailXYStep,
  4128. IppiSize dstRoiSize, const IppiWTFwdSpec_32f_C1R* pSpec,
  4129. Ipp8u* pBuffer))
  4130. IPPAPI (IppStatus, ippiWTFwd_32f_C3R, (const Ipp32f* pSrc, int srcStep,
  4131. Ipp32f* pApproxDst, int approxStep,
  4132. Ipp32f* pDetailXDst, int detailXStep,
  4133. Ipp32f* pDetailYDst, int detailYStep,
  4134. Ipp32f* pDetailXYDst, int detailXYStep,
  4135. IppiSize dstRoiSize, const IppiWTFwdSpec_32f_C3R* pSpec,
  4136. Ipp8u* pBuffer))
  4137. /* //////////////////////////////////////////////////////////////////////
  4138. // Name: ippiWTInvInitAlloc_32f_C1R
  4139. // ippiWTInvInitAlloc_32f_C3R
  4140. // Purpose: Allocates and initializes
  4141. // the inverse wavelet transform context structure.
  4142. // Parameters:
  4143. // pSpec Pointer to pointer to an allocated and initialized
  4144. // context structure;
  4145. // pTapsLow Pointer to lowpass filter taps;
  4146. // lenLow Length of the lowpass filter;
  4147. // anchorLow Anchor position of the lowpass filter;
  4148. // pTapsHigh Pointer to highpass filter taps;
  4149. // lenHigh Length of the highpass filter;
  4150. // anchorHigh Anchor position of the highpass filter.
  4151. //
  4152. // Returns:
  4153. // ippStsNoErr OK;
  4154. // ippStsNullPtrErr One of the pointers is NULL;
  4155. // ippStsSizeErr lenLow or lenHigh is less than 2;
  4156. // ippStsAnchorErr anchorLow or anchorHigh is less than zero;
  4157. // ippStsMemAllocErr Memory allocation failure for the context structure.
  4158. //
  4159. // Notes: anchor position value should be given for upsampled data.
  4160. //
  4161. */
  4162. IPPAPI (IppStatus, ippiWTInvInitAlloc_32f_C1R, (IppiWTInvSpec_32f_C1R** pSpec,
  4163. const Ipp32f* pTapsLow, int lenLow, int anchorLow,
  4164. const Ipp32f* pTapsHigh, int lenHigh, int anchorHigh))
  4165. IPPAPI (IppStatus, ippiWTInvInitAlloc_32f_C3R, (IppiWTInvSpec_32f_C3R** pSpec,
  4166. const Ipp32f* pTapsLow, int lenLow, int anchorLow,
  4167. const Ipp32f* pTapsHigh, int lenHigh, int anchorHigh))
  4168. /* //////////////////////////////////////////////////////////////////////
  4169. // Name: ippiWTInvFree_32f_C1R
  4170. // ippiWTInvFree_32f_C3R
  4171. //
  4172. // Purpose: Deallocates memory used by
  4173. // the inverse wavelet transform context structure.
  4174. //
  4175. // Parameters:
  4176. // pSpec Pointer to the context structure.
  4177. //
  4178. // Returns:
  4179. // ippStsNoErr OK;
  4180. // ippStsNullPtrErr Pointer to the context structure is NULL;
  4181. // ippStsContextMatchErr Invalid context structure.
  4182. //
  4183. */
  4184. IPPAPI (IppStatus, ippiWTInvFree_32f_C1R, (IppiWTInvSpec_32f_C1R* pSpec))
  4185. IPPAPI (IppStatus, ippiWTInvFree_32f_C3R, (IppiWTInvSpec_32f_C3R* pSpec))
  4186. /* //////////////////////////////////////////////////////////////////////
  4187. // Name: ippiWTInvGetBufSize_C1R
  4188. // ippiWTInvGetBufSize_C3R
  4189. //
  4190. // Purpose: Computes the size of external work buffer for
  4191. // an inverse wavelet transform.
  4192. //
  4193. // Parameters:
  4194. // pSpec Pointer to the context structure.
  4195. // pSize Pointer to the variable that will receive the size of work buffer.
  4196. //
  4197. // Returns:
  4198. // ippStsNoErr OK;
  4199. // ippStsNullPtrErr One of the pointers is NULL;
  4200. // ippStsContextMatchErr Invalid context structure.
  4201. //
  4202. // Notes: if pointer to context structure is NULL,
  4203. // ippStsNullPtrErr will be returned.
  4204. */
  4205. IPPAPI (IppStatus, ippiWTInvGetBufSize_C1R,
  4206. ( const IppiWTInvSpec_32f_C1R* pSpec, int* pSize ))
  4207. IPPAPI (IppStatus, ippiWTInvGetBufSize_C3R,
  4208. ( const IppiWTInvSpec_32f_C3R* pSpec, int* pSize ))
  4209. /* //////////////////////////////////////////////////////////////////////
  4210. // Name: ippiWTInv_32f_C1R
  4211. // ippiWTInv_32f_C3R
  4212. //
  4213. // Purpose: Performs wavelet reconstruction of an image.
  4214. //
  4215. // Parameters:
  4216. // pApproxSrc Pointer to the source "approximation" image ROI;
  4217. // approxStep Step in bytes through the source approximation image;
  4218. // pDetailXSrc Pointer to the source "horizontal details" image ROI;
  4219. // detailXStep Step in bytes through the source horizontal detail image;
  4220. // pDetailYSrc Pointer to the source "vertical details" image ROI;
  4221. // detailYStep Step in bytes through the source "vertical details" image;
  4222. // pDetailXYSrc Pointer to the source "diagonal details" image ROI;
  4223. // detailXYStep Step in bytes through the source "diagonal details" image;
  4224. // srcRoiSize ROI size for all source images.
  4225. // pDst Pointer to the destination image ROI;
  4226. // dstStep Step in bytes through the destination image;
  4227. // pSpec Pointer to the context structure;
  4228. // pBuffer Pointer to the allocated buffer for intermediate operations.
  4229. //
  4230. // Returns:
  4231. // ippStsNoErr OK;
  4232. // ippStsNullPtrErr One of the pointers is NULL;
  4233. // ippStsSizeErr srcRoiSize has a field with zero or negative value;
  4234. // ippStsContextMatchErr Invalid context structure.
  4235. //
  4236. // Notes:
  4237. // No any fixed borders extension (wrap, symm.) will be applied! Source
  4238. // images must have valid and accessible border data outside of ROI.
  4239. //
  4240. // Only the same ROI size for source images supported. Destination ROI size
  4241. // should be calculated by next rule:
  4242. // dstRoiSize.width = 2 * srcRoiSize.width;
  4243. // dstRoiSize.height = 2 * srcRoiSize.height.
  4244. //
  4245. //
  4246. // Monikers for the source images are in accordance with decomposition destination.
  4247. //
  4248. //
  4249. */
  4250. IPPAPI (IppStatus, ippiWTInv_32f_C1R, (
  4251. const Ipp32f* pApproxSrc, int approxStep,
  4252. const Ipp32f* pDetailXSrc, int detailXStep,
  4253. const Ipp32f* pDetailYSrc, int detailYStep,
  4254. const Ipp32f* pDetailXYSrc, int detailXYStep,
  4255. IppiSize srcRoiSize, Ipp32f* pDst, int dstStep,
  4256. const IppiWTInvSpec_32f_C1R* pSpec, Ipp8u* pBuffer))
  4257. IPPAPI (IppStatus, ippiWTInv_32f_C3R, (
  4258. const Ipp32f* pApproxSrc, int approxStep,
  4259. const Ipp32f* pDetailXSrc, int detailXStep,
  4260. const Ipp32f* pDetailYSrc, int detailYStep,
  4261. const Ipp32f* pDetailXYSrc, int detailXYStep,
  4262. IppiSize srcRoiSize, Ipp32f* pDst, int dstStep,
  4263. const IppiWTInvSpec_32f_C3R* pSpec, Ipp8u* pBuffer))
  4264. /* /////////////////////////////////////////////////////////////////////////////
  4265. // Image resampling functions
  4266. ///////////////////////////////////////////////////////////////////////////// */
  4267. #if !defined( _OWN_BLDPCS )
  4268. typedef enum
  4269. {
  4270. ippResampleCatmullRom
  4271. } IppiResampleType;
  4272. struct ResampleRowSpec_32f;
  4273. typedef struct ResampleRowSpec_32f IppiResampleRowSpec_32f;
  4274. #endif /* _OWN_BLDPCS */
  4275. /* /////////////////////////////////////////////////////////////////////////////
  4276. // Name: ippiResampleRowGetSize_32f
  4277. //
  4278. // Purpose: calculate the size of IppiResampleRowSpec_32f structure
  4279. // and size of working buffer
  4280. //
  4281. // Returns:
  4282. // ippStsNoErr OK
  4283. // ippStsNullPtrErr one of pointers is NULL
  4284. // ippStsOutOfRangeErr one or more SampleWidth is incorrect
  4285. //
  4286. // Parameters:
  4287. // srcSampleWidth distance between neighbor pixels of a source row
  4288. // on the reference grid
  4289. // dstSampleWidth distance between neighbor pixels of a destination
  4290. // row on the reference grid
  4291. // pSpecSize pointer where to store the calculated
  4292. // Spec structure size (in bytes)
  4293. // pBufSize pointer where to store buffer size (in bytes)
  4294. */
  4295. IPPAPI(IppStatus, ippiResampleRowGetSize_32f, (
  4296. int srcSampleWidth,
  4297. int dstSampleWidth,
  4298. int *pSpecSize,
  4299. int *pBufSize))
  4300. /* /////////////////////////////////////////////////////////////////////////////
  4301. // Name: ippiResampleRowInit_32f
  4302. //
  4303. // Purpose: initialize the IppiRowSpec structure by resampling parameters
  4304. //
  4305. // Returns:
  4306. // ippStsNoErr OK
  4307. // ippStsNullPtrErr pRowSpec is NULL pointer
  4308. // ippStsBadArgErr incorrect or unsupported filter type
  4309. // ippStsOutOfRangeErr one or more SampleWidth is incorrect
  4310. //
  4311. // Parameters:
  4312. // filterType type of interpolation filter using for resampling
  4313. // srcSampleWidth distance between neighbor pixels of a source row
  4314. // on the reference grid
  4315. // dstSampleWidth distance between neighbor pixels of a destination
  4316. // row on the reference grid
  4317. // pRowSpec pointer where to store initialized structure
  4318. */
  4319. IPPAPI(IppStatus, ippiResampleRowInit_32f, (
  4320. IppiResampleRowSpec_32f *pRowSpec,
  4321. IppiResampleType filterType,
  4322. int srcSampleWidth,
  4323. int dstSampleWidth))
  4324. /* /////////////////////////////////////////////////////////////////////////////
  4325. // Name: ippiResampleRowGetBorderWidth_32f
  4326. //
  4327. // Purpose: get the width of left and right borders to be applied around
  4328. // the source buffer for ippiResampleRow (for version requiring
  4329. // borders around source buffer)
  4330. //
  4331. // Returns:
  4332. // ippStsNoErr OK
  4333. // ippStsNullPtrErr One of the pointers is NULL
  4334. // ippStsBadArgErr pointed IppiResampleRowSpec_32f is corrupted
  4335. //
  4336. // Parameters:
  4337. // pRowSpec pointer to initialized IppiResampleRowSpec_32f
  4338. // pLeftWidth pointer where to store left border width (in pixels)
  4339. // pRightWidth pointer where to store right border width (in pixels)
  4340. */
  4341. IPPAPI(IppStatus, ippiResampleRowGetBorderWidth_32f, (
  4342. const IppiResampleRowSpec_32f *pRowSpec,
  4343. int *pLeftWidth,
  4344. int *pRightWidth))
  4345. /* /////////////////////////////////////////////////////////////////////////////
  4346. // Name: ippiResampleRowReplicateBorder_32f_C1R, ippiResampleRow_32f_C1
  4347. //
  4348. // Purpose: Resample rows with specified parameters.
  4349. // ippiResampleRowReplicateBorder_32f_C1R function require borders
  4350. // around source buffer
  4351. // ippiResampleRow_32f_C1 function replicate borders
  4352. //
  4353. // Returns:
  4354. // ippStsNoErr OK
  4355. // ippStsNullPtrErr One of the pointers is NULL
  4356. // ippStsBadArgErr pointed IppiResampleRowSpec_32f is corrupted
  4357. // ippStsOutOfRangeErr xOriginRefGrid is out of range
  4358. // ippStsSizeErr sizeRefGrid is wrong
  4359. //
  4360. // Parameters:
  4361. // pSrc pointer to the source row origin
  4362. // srcLineStep distance in bytes between starts of consecutive lines
  4363. // in the source image
  4364. // pDst pointer to the destination row origin
  4365. // dstLineStep distance in bytes between starts of consecutive lines
  4366. // in the destination image
  4367. // xOriginRefGrid X coordinate of the image origin at reference grid
  4368. // sizeRefGrid size of image in terms of reference grid
  4369. // pRowSpec pointer to initialized IppiResampleRowSpec_32f
  4370. // pBuffer pointer to work buffer
  4371. */
  4372. IPPAPI(IppStatus, ippiResampleRowReplicateBorder_32f_C1R, (
  4373. const Ipp32f *pSrc, int srcLineStep,
  4374. Ipp32f *pDst, int dstLineStep,
  4375. int xOriginRefGrid,
  4376. IppiSize sizeRefGrid,
  4377. const IppiResampleRowSpec_32f *pRowSpec,
  4378. Ipp8u *pBuffer))
  4379. IPPAPI(IppStatus, ippiResampleRow_32f_C1, (
  4380. const Ipp32f *pSrc, int srcLineStep,
  4381. Ipp32f *pDst, int dstLineStep,
  4382. int xOriginRefGrid,
  4383. IppiSize sizeRefGrid,
  4384. const IppiResampleRowSpec_32f *pRowSpec,
  4385. Ipp8u *pBuffer))
  4386. /* /////////////////////////////////////////////////////////////////////////////
  4387. // Name: ippiDecimateFilterRow_8u_C1R,
  4388. // ippiDecimateFilterColumn_8u_C1R
  4389. // Purpose: Decimate the image with specified filters
  4390. // in horizontal or vertical directions
  4391. // Parameters:
  4392. // pSrc source image data
  4393. // srcStep step in source image
  4394. // srcRoiSize region of interest of source image
  4395. // pDst resultant image data
  4396. // dstStep step in destination image
  4397. // fraction they specify fractions of decimating
  4398. // Returns:
  4399. // ippStsNoErr no errors
  4400. // ippStsNullPtrErr one of the pointers is NULL
  4401. // ippStsStepErr one of the step values is zero or negative
  4402. // ippStsSizeErr srcRoiSize has a field with negative or zero value
  4403. // ippStsDecimateFractionErr (fraction != ippPolyphase_1_2) &&
  4404. // (fraction != ippPolyphase_3_5) &&
  4405. // (fraction != ippPolyphase_2_3) &&
  4406. // (fraction != ippPolyphase_7_10) &&
  4407. // (fraction != ippPolyphase_3_4)
  4408. */
  4409. IPPAPI(IppStatus, ippiDecimateFilterRow_8u_C1R, (
  4410. const Ipp8u* pSrc, int srcStep, IppiSize srcRoiSize,
  4411. Ipp8u* pDst, int dstStep, IppiFraction fraction))
  4412. IPPAPI(IppStatus, ippiDecimateFilterColumn_8u_C1R, (
  4413. const Ipp8u* pSrc, int srcStep, IppiSize srcRoiSize,
  4414. Ipp8u* pDst, int dstStep, IppiFraction fraction))
  4415. /* /////////////////////////////////////////////////////////////////////////////
  4416. // Geometric Transform functions
  4417. ///////////////////////////////////////////////////////////////////////////// */
  4418. #if !defined( _OWN_BLDPCS )
  4419. typedef enum {
  4420. ippAxsHorizontal,
  4421. ippAxsVertical,
  4422. ippAxsBoth
  4423. } IppiAxis;
  4424. #endif /* _OWN_BLDPCS */
  4425. /* /////////////////////////////////////////////////////////////////////////////
  4426. //
  4427. // Name: ippiMirror
  4428. //
  4429. // Purpose: Mirrors an image about a horizontal
  4430. // or vertical axis, or both
  4431. //
  4432. // Context:
  4433. //
  4434. // Returns: IppStatus
  4435. // ippStsNoErr No errors
  4436. // ippStsNullPtrErr pSrc == NULL, or pDst == NULL
  4437. // ippStsSizeErr, roiSize has a field with zero or negative value
  4438. // ippStsMirrorFlipErr (flip != ippAxsHorizontal) &&
  4439. // (flip != ippAxsVertical) &&
  4440. // (flip != ippAxsBoth)
  4441. //
  4442. // Parameters:
  4443. // pSrc Pointer to the source image
  4444. // srcStep Step through the source image
  4445. // pDst Pointer to the destination image
  4446. // dstStep Step through the destination image
  4447. // pSrcDst Pointer to the source/destination image (in-place flavors)
  4448. // srcDstStep Step through the source/destination image (in-place flavors)
  4449. // roiSize Size of the ROI
  4450. // flip Specifies the axis to mirror the image about:
  4451. // ippAxsHorizontal horizontal axis,
  4452. // ippAxsVertical vertical axis,
  4453. // ippAxsBoth both horizontal and vertical axes
  4454. //
  4455. // Notes:
  4456. //
  4457. */
  4458. IPPAPI(IppStatus, ippiMirror_8u_C1R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  4459. IppiSize roiSize, IppiAxis flip))
  4460. IPPAPI(IppStatus, ippiMirror_8u_C3R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  4461. IppiSize roiSize, IppiAxis flip))
  4462. IPPAPI(IppStatus, ippiMirror_8u_AC4R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  4463. IppiSize roiSize, IppiAxis flip))
  4464. IPPAPI(IppStatus, ippiMirror_8u_C4R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  4465. IppiSize roiSize, IppiAxis flip))
  4466. IPPAPI(IppStatus, ippiMirror_8u_C1IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4467. IPPAPI(IppStatus, ippiMirror_8u_C3IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4468. IPPAPI(IppStatus, ippiMirror_8u_AC4IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4469. IPPAPI(IppStatus, ippiMirror_8u_C4IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4470. IPPAPI(IppStatus, ippiMirror_16u_C1R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  4471. IppiSize roiSize, IppiAxis flip))
  4472. IPPAPI(IppStatus, ippiMirror_16u_C3R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  4473. IppiSize roiSize, IppiAxis flip))
  4474. IPPAPI(IppStatus, ippiMirror_16u_AC4R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  4475. IppiSize roiSize, IppiAxis flip))
  4476. IPPAPI(IppStatus, ippiMirror_16u_C4R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  4477. IppiSize roiSize, IppiAxis flip))
  4478. IPPAPI(IppStatus, ippiMirror_16u_C1IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4479. IPPAPI(IppStatus, ippiMirror_16u_C3IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4480. IPPAPI(IppStatus, ippiMirror_16u_AC4IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4481. IPPAPI (IppStatus, ippiMirror_16u_C4IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4482. IPPAPI(IppStatus, ippiMirror_32s_C1R, (const Ipp32s* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  4483. IppiSize roiSize, IppiAxis flip))
  4484. IPPAPI(IppStatus, ippiMirror_32s_C3R, (const Ipp32s* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  4485. IppiSize roiSize, IppiAxis flip))
  4486. IPPAPI(IppStatus, ippiMirror_32s_AC4R, (const Ipp32s* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  4487. IppiSize roiSize, IppiAxis flip))
  4488. IPPAPI(IppStatus, ippiMirror_32s_C4R, (const Ipp32s* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  4489. IppiSize roiSize, IppiAxis flip ) )
  4490. IPPAPI(IppStatus, ippiMirror_32s_C1IR, (Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4491. IPPAPI(IppStatus, ippiMirror_32s_C3IR, (Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4492. IPPAPI(IppStatus, ippiMirror_32s_AC4IR, (Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4493. IPPAPI(IppStatus, ippiMirror_32s_C4IR, (Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4494. IPPAPI(IppStatus, ippiMirror_16s_C1R, (const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  4495. IppiSize roiSize, IppiAxis flip))
  4496. IPPAPI(IppStatus, ippiMirror_16s_C3R, (const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  4497. IppiSize roiSize, IppiAxis flip))
  4498. IPPAPI(IppStatus, ippiMirror_16s_AC4R, (const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  4499. IppiSize roiSize, IppiAxis flip))
  4500. IPPAPI(IppStatus, ippiMirror_16s_C4R, (const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  4501. IppiSize roiSize, IppiAxis flip))
  4502. IPPAPI(IppStatus, ippiMirror_16s_C1IR, (Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4503. IPPAPI(IppStatus, ippiMirror_16s_C3IR, (Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4504. IPPAPI(IppStatus, ippiMirror_16s_AC4IR, (Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4505. IPPAPI (IppStatus, ippiMirror_16s_C4IR, (Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4506. IPPAPI(IppStatus, ippiMirror_32f_C1R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  4507. IppiSize roiSize, IppiAxis flip))
  4508. IPPAPI(IppStatus, ippiMirror_32f_C3R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  4509. IppiSize roiSize, IppiAxis flip))
  4510. IPPAPI(IppStatus, ippiMirror_32f_AC4R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  4511. IppiSize roiSize, IppiAxis flip))
  4512. IPPAPI(IppStatus, ippiMirror_32f_C4R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  4513. IppiSize roiSize, IppiAxis flip ) )
  4514. IPPAPI(IppStatus, ippiMirror_32f_C1IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4515. IPPAPI(IppStatus, ippiMirror_32f_C3IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4516. IPPAPI(IppStatus, ippiMirror_32f_AC4IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4517. IPPAPI(IppStatus, ippiMirror_32f_C4IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, IppiAxis flip))
  4518. /* /////////////////////////////////////////////////////////////////////////////////////////////////////
  4519. // Name: ippiRemap
  4520. // Purpose: Transforms the source image by remapping its pixels
  4521. // dst[i,j] = src[xMap[i,j], yMap[i,j]]
  4522. // Context:
  4523. // Returns: IppStatus
  4524. // ippStsNoErr OK
  4525. // ippStsNullPtrErr One of the pointers is NULL
  4526. // ippStsSizeErr srcRoi or dstRoiSize has a field with zero or negative value
  4527. // ippStsStepErr One of the step values is zero or negative
  4528. // ippStsInterpolateErr interpolation has an illegal value
  4529. //
  4530. // Parameters:
  4531. // pSrc Pointer to the source image (point to pixel (0,0)). An array
  4532. // of pointers to each plane of the source image for planar data.
  4533. // srcSize Size of the source image.
  4534. // srcStep Step through the source image
  4535. // srcRoi Region if interest in the source image.
  4536. // pxMap Pointer to image with x coordinates of map.
  4537. // xMapStep The step in xMap image
  4538. // pyMap The pointer to image with y coordinates of map.
  4539. // yMapStep The step in yMap image
  4540. // pDst Pointer to the destination image. An array of pointers
  4541. // to each plane of the destination image for planar data.
  4542. // dstStep Step through the destination image
  4543. // dstRoiSize Size of the destination ROI
  4544. // interpolation The type of interpolation to perform for image resampling
  4545. // The following types are currently supported:
  4546. // IPPI_INTER_NN Nearest neighbor interpolation.
  4547. // IPPI_INTER_LINEAR Linear interpolation.
  4548. // IPPI_INTER_CUBIC Cubic interpolation.
  4549. // Notes:
  4550. */
  4551. IPPAPI(IppStatus, ippiRemap_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize,
  4552. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep,
  4553. const Ipp32f* pyMap, int yMapStep, Ipp8u* pDst, int dstStep,
  4554. IppiSize dstRoiSize, int interpolation))
  4555. IPPAPI(IppStatus, ippiRemap_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize,
  4556. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep,
  4557. const Ipp32f* pyMap, int yMapStep, Ipp8u* pDst, int dstStep,
  4558. IppiSize dstRoiSize, int interpolation))
  4559. IPPAPI(IppStatus, ippiRemap_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize,
  4560. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep,
  4561. const Ipp32f* pyMap, int yMapStep, Ipp8u* pDst, int dstStep,
  4562. IppiSize dstRoiSize, int interpolation))
  4563. IPPAPI(IppStatus, ippiRemap_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize,
  4564. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep, const Ipp32f* pyMap,
  4565. int yMapStep, Ipp8u* const pDst[3], int dstStep, IppiSize dstRoi, int interpolation))
  4566. IPPAPI(IppStatus, ippiRemap_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize,
  4567. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep,
  4568. const Ipp32f* pyMap, int yMapStep, Ipp8u* pDst, int dstStep,
  4569. IppiSize dstRoiSize, int interpolation))
  4570. IPPAPI(IppStatus, ippiRemap_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize,
  4571. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep, const Ipp32f* pyMap,
  4572. int yMapStep, Ipp8u* const pDst[4], int dstStep, IppiSize dstRoi, int interpolation))
  4573. IPPAPI(IppStatus, ippiRemap_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize,
  4574. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep,
  4575. const Ipp32f* pyMap, int yMapStep, Ipp32f* pDst, int dstStep,
  4576. IppiSize dstRoiSize, int interpolation))
  4577. IPPAPI(IppStatus, ippiRemap_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize,
  4578. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep,
  4579. const Ipp32f* pyMap, int yMapStep, Ipp32f* pDst, int dstStep,
  4580. IppiSize dstRoiSize, int interpolation))
  4581. IPPAPI(IppStatus, ippiRemap_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize,
  4582. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep,
  4583. const Ipp32f* pyMap, int yMapStep, Ipp32f* pDst, int dstStep,
  4584. IppiSize dstRoiSize, int interpolation))
  4585. IPPAPI(IppStatus, ippiRemap_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize,
  4586. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep, const Ipp32f* pyMap,
  4587. int yMapStep, Ipp32f* const pDst[3], int dstStep, IppiSize dstRoi, int interpolation))
  4588. IPPAPI(IppStatus, ippiRemap_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize,
  4589. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep,
  4590. const Ipp32f* pyMap, int yMapStep, Ipp32f* pDst, int dstStep,
  4591. IppiSize dstRoiSize, int interpolation))
  4592. IPPAPI(IppStatus, ippiRemap_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize,
  4593. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep, const Ipp32f* pyMap,
  4594. int yMapStep, Ipp32f* const pDst[4], int dstStep, IppiSize dstRoi, int interpolation))
  4595. IPPAPI(IppStatus, ippiRemap_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize,
  4596. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep,
  4597. const Ipp32f* pyMap, int yMapStep, Ipp16u* pDst, int dstStep,
  4598. IppiSize dstRoiSize, int interpolation))
  4599. IPPAPI(IppStatus, ippiRemap_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize,
  4600. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep,
  4601. const Ipp32f* pyMap, int yMapStep, Ipp16u* pDst, int dstStep,
  4602. IppiSize dstRoiSize, int interpolation))
  4603. IPPAPI(IppStatus, ippiRemap_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize,
  4604. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep,
  4605. const Ipp32f* pyMap, int yMapStep, Ipp16u* pDst, int dstStep,
  4606. IppiSize dstRoiSize, int interpolation))
  4607. IPPAPI(IppStatus, ippiRemap_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize,
  4608. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep, const Ipp32f* pyMap,
  4609. int yMapStep, Ipp16u* const pDst[3], int dstStep, IppiSize dstRoi, int interpolation))
  4610. IPPAPI(IppStatus, ippiRemap_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize,
  4611. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep,
  4612. const Ipp32f* pyMap, int yMapStep, Ipp16u* pDst, int dstStep,
  4613. IppiSize dstRoiSize, int interpolation))
  4614. IPPAPI(IppStatus, ippiRemap_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize,
  4615. int srcStep, IppiRect srcRoi, const Ipp32f* pxMap, int xMapStep, const Ipp32f* pyMap,
  4616. int yMapStep, Ipp16u* const pDst[4], int dstStep, IppiSize dstRoi, int interpolation))
  4617. /* /////////////////////////////////////////////////////////////////////////////
  4618. //
  4619. // Name: ippiResize
  4620. // Purpose: Resize source image by xFactor and yFactor
  4621. // Parameters:
  4622. // pSrc source image data
  4623. // srcSize size of src
  4624. // srcStep step in src
  4625. // srcROI region of interest of src
  4626. // pDst resultant image data
  4627. // dstStep step in dst
  4628. // dstROI region of interest of dst
  4629. // xFactor, yFactor they specify fractions of resizing
  4630. // interpolation type of interpolation to perform for resampling the input image:
  4631. // IPPI_INTER_NN nearest neighbour interpolation
  4632. // IPPI_INTER_LINEAR linear interpolation
  4633. // IPPI_INTER_CUBIC cubic convolution interpolation
  4634. // IPPI_INTER_LANCZOS interpolation by 3-lobed Lanczos-windowed sinc function
  4635. // IPPI_INTER_SUPER supersampling interpolation
  4636. // Returns:
  4637. // ippStsNoErr no errors
  4638. // ippStsNullPtrErr pSrc == NULL or pDst == NULL
  4639. // ippStsSizeErr width or height of images is less or equal zero
  4640. // ippStsWrongIntersectROI srcRoi hasn`t intersection with the source image, no operation
  4641. // ippStsResizeNoOperationErr one of the output image dimensions is less than 1 pixel
  4642. // ippStsResizeFactorErr xFactor or yFactor is less or equal zero
  4643. // ippStsInterpolationErr (interpolation != IPPI_INTER_NN) &&
  4644. // (interpolation != IPPI_INTER_LINEAR) &&
  4645. // (interpolation != IPPI_INTER_CUBIC) &&
  4646. // (interpolation != IPPI_INTER_LANCZOS) &&
  4647. // (interpolation != IPPI_INTER_SUPER)
  4648. // Notes:
  4649. // not in-place
  4650. */
  4651. IPP_DEPRECATED("use ippiResizeSqrPixel_8u_C1R function instead of this one") \
  4652. IPPAPI(IppStatus, ippiResize_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4653. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  4654. double xFactor, double yFactor, int interpolation))
  4655. IPP_DEPRECATED("use ippiResizeSqrPixel_8u_C3R function instead of this one") \
  4656. IPPAPI(IppStatus, ippiResize_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4657. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  4658. double xFactor, double yFactor, int interpolation))
  4659. IPP_DEPRECATED("use ippiResizeSqrPixel_8u_C4R function instead of this one") \
  4660. IPPAPI(IppStatus, ippiResize_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4661. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  4662. double xFactor, double yFactor, int interpolation))
  4663. IPP_DEPRECATED("use ippiResizeSqrPixel_8u_AC4R function instead of this one") \
  4664. IPPAPI(IppStatus, ippiResize_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4665. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  4666. double xFactor, double yFactor, int interpolation))
  4667. IPP_DEPRECATED("use ippiResizeSqrPixel_8u_P3R function instead of this one") \
  4668. IPPAPI(IppStatus, ippiResize_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4669. Ipp8u* const pDst[3], int dstStep, IppiSize dstRoiSize,
  4670. double xFactor, double yFactor, int interpolation))
  4671. IPP_DEPRECATED("use ippiResizeSqrPixel_8u_P4R function instead of this one") \
  4672. IPPAPI(IppStatus, ippiResize_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4673. Ipp8u* const pDst[4], int dstStep, IppiSize dstRoiSize,
  4674. double xFactor, double yFactor, int interpolation))
  4675. IPP_DEPRECATED("use ippiResizeSqrPixel_16u_C1R function instead of this one") \
  4676. IPPAPI(IppStatus, ippiResize_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4677. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  4678. double xFactor, double yFactor, int interpolation))
  4679. IPP_DEPRECATED("use ippiResizeSqrPixel_16u_C3R function instead of this one") \
  4680. IPPAPI(IppStatus, ippiResize_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4681. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  4682. double xFactor, double yFactor, int interpolation))
  4683. IPP_DEPRECATED("use ippiResizeSqrPixel_16u_C4R function instead of this one") \
  4684. IPPAPI(IppStatus, ippiResize_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4685. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  4686. double xFactor, double yFactor, int interpolation))
  4687. IPP_DEPRECATED("use ippiResizeSqrPixel_16u_AC4R function instead of this one") \
  4688. IPPAPI(IppStatus, ippiResize_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4689. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  4690. double xFactor, double yFactor, int interpolation))
  4691. IPP_DEPRECATED("use ippiResizeSqrPixel_16u_P3R function instead of this one") \
  4692. IPPAPI(IppStatus, ippiResize_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4693. Ipp16u* const pDst[3], int dstStep, IppiSize dstRoiSize,
  4694. double xFactor, double yFactor, int interpolation))
  4695. IPP_DEPRECATED("use ippiResizeSqrPixel_16u_P4R function instead of this one") \
  4696. IPPAPI(IppStatus, ippiResize_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4697. Ipp16u* const pDst[4], int dstStep, IppiSize dstRoiSize,
  4698. double xFactor, double yFactor, int interpolation))
  4699. IPP_DEPRECATED("use ippiResizeSqrPixel_32f_C1R function instead of this one") \
  4700. IPPAPI(IppStatus, ippiResize_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4701. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  4702. double xFactor, double yFactor, int interpolation))
  4703. IPP_DEPRECATED("use ippiResizeSqrPixel_32f_C3R function instead of this one") \
  4704. IPPAPI(IppStatus, ippiResize_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4705. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  4706. double xFactor, double yFactor, int interpolation))
  4707. IPP_DEPRECATED("use ippiResizeSqrPixel_32f_C4R function instead of this one") \
  4708. IPPAPI(IppStatus, ippiResize_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4709. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  4710. double xFactor, double yFactor, int interpolation))
  4711. IPP_DEPRECATED("use ippiResizeSqrPixel_32f_AC4R function instead of this one") \
  4712. IPPAPI(IppStatus, ippiResize_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4713. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  4714. double xFactor, double yFactor, int interpolation))
  4715. IPP_DEPRECATED("use ippiResizeSqrPixel_32f_P3R function instead of this one") \
  4716. IPPAPI(IppStatus, ippiResize_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4717. Ipp32f* const pDst[3], int dstStep, IppiSize dstRoiSize,
  4718. double xFactor, double yFactor, int interpolation))
  4719. IPP_DEPRECATED("use ippiResizeSqrPixel_32f_P4R function instead of this one") \
  4720. IPPAPI(IppStatus, ippiResize_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4721. Ipp32f* const pDst[4], int dstStep, IppiSize dstRoiSize,
  4722. double xFactor, double yFactor, int interpolation))
  4723. /* /////////////////////////////////////////////////////////////////////////////
  4724. //
  4725. // Name: ippiResizeCenter
  4726. // Purpose: Resize source image from defined point by xFactor and yFactor
  4727. // Parameters:
  4728. // pSrc source image data
  4729. // srcSize size of src
  4730. // srcStep step in src
  4731. // srcROI region of interest of src
  4732. // pDst resultant image data
  4733. // dstStep step in dst
  4734. // dstROI region of interest of dst
  4735. // xFactor, yFactor they specify fractions of resizing
  4736. // interpolation type of interpolation to perform for resampling the input image:
  4737. // IPPI_INTER_NN nearest neighbour interpolation
  4738. // IPPI_INTER_LINEAR linear interpolation
  4739. // IPPI_INTER_CUBIC cubic convolution interpolation
  4740. // IPPI_INTER_LANCZOS interpolation by 3-lobed Lanczos-windowed sinc function
  4741. // IPPI_INTER_SUPER supersampling interpolation
  4742. // Returns:
  4743. // ippStsNoErr no errors
  4744. // ippStsNullPtrErr pSrc == NULL or pDst == NULL
  4745. // ippStsSizeErr width or height of images is less or equal zero
  4746. // ippStsWrongIntersectROI srcRoi hasn`t intersection with the source image, no operation
  4747. // ippStsResizeNoOperationErr one of the output image dimensions is less than 1 pixel
  4748. // ippStsResizeFactorErr xFactor or yFactor is less or equal zero
  4749. // ippStsInterpolationErr (interpolation != IPPI_INTER_NN) &&
  4750. // (interpolation != IPPI_INTER_LINEAR) &&
  4751. // (interpolation != IPPI_INTER_CUBIC) &&
  4752. // (interpolation != IPPI_INTER_LANCZOS) &&
  4753. // (interpolation != IPPI_INTER_SUPER)
  4754. // Notes:
  4755. // not in-place
  4756. */
  4757. IPP_DEPRECATED("use ippiResizeSqrPixel_8u_C1R function instead of this one") \
  4758. IPPAPI(IppStatus, ippiResizeCenter_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4759. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  4760. double xFactor, double yFactor,
  4761. double xCenter, double yCenter, int interpolation))
  4762. IPP_DEPRECATED("use ippiResizeSqrPixel_8u_C3R function instead of this one") \
  4763. IPPAPI(IppStatus, ippiResizeCenter_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4764. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  4765. double xFactor, double yFactor,
  4766. double xCenter, double yCenter, int interpolation))
  4767. IPP_DEPRECATED("use ippiResizeSqrPixel_8u_C4R function instead of this one") \
  4768. IPPAPI(IppStatus, ippiResizeCenter_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4769. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  4770. double xFactor, double yFactor,
  4771. double xCenter, double yCenter, int interpolation))
  4772. IPP_DEPRECATED("use ippiResizeSqrPixel_8u_AC4R function instead of this one") \
  4773. IPPAPI(IppStatus, ippiResizeCenter_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4774. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  4775. double xFactor, double yFactor,
  4776. double xCenter, double yCenter, int interpolation))
  4777. IPP_DEPRECATED("use ippiResizeSqrPixel_8u_P3R function instead of this one") \
  4778. IPPAPI(IppStatus, ippiResizeCenter_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4779. Ipp8u* const pDst[3], int dstStep, IppiSize dstRoiSize,
  4780. double xFactor, double yFactor,
  4781. double xCenter, double yCenter, int interpolation))
  4782. IPP_DEPRECATED("use ippiResizeSqrPixel_8u_P4R function instead of this one") \
  4783. IPPAPI(IppStatus, ippiResizeCenter_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4784. Ipp8u* const pDst[4], int dstStep, IppiSize dstRoiSize,
  4785. double xFactor, double yFactor,
  4786. double xCenter, double yCenter, int interpolation))
  4787. IPP_DEPRECATED("use ippiResizeSqrPixel_16u_C1R function instead of this one") \
  4788. IPPAPI(IppStatus, ippiResizeCenter_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4789. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  4790. double xFactor, double yFactor,
  4791. double xCenter, double yCenter, int interpolation))
  4792. IPP_DEPRECATED("use ippiResizeSqrPixel_16u_C3R function instead of this one") \
  4793. IPPAPI(IppStatus, ippiResizeCenter_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4794. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  4795. double xFactor, double yFactor,
  4796. double xCenter, double yCenter, int interpolation))
  4797. IPP_DEPRECATED("use ippiResizeSqrPixel_16u_C4R function instead of this one") \
  4798. IPPAPI(IppStatus, ippiResizeCenter_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4799. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  4800. double xFactor, double yFactor,
  4801. double xCenter, double yCenter, int interpolation))
  4802. IPP_DEPRECATED("use ippiResizeSqrPixel_16u_AC4R function instead of this one") \
  4803. IPPAPI(IppStatus, ippiResizeCenter_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4804. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  4805. double xFactor, double yFactor,
  4806. double xCenter, double yCenter, int interpolation))
  4807. IPP_DEPRECATED("use ippiResizeSqrPixel_16u_P3R function instead of this one") \
  4808. IPPAPI(IppStatus, ippiResizeCenter_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4809. Ipp16u* const pDst[3], int dstStep, IppiSize dstRoiSize,
  4810. double xFactor, double yFactor,
  4811. double xCenter, double yCenter, int interpolation))
  4812. IPP_DEPRECATED("use ippiResizeSqrPixel_16u_P4R function instead of this one") \
  4813. IPPAPI(IppStatus, ippiResizeCenter_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4814. Ipp16u* const pDst[4], int dstStep, IppiSize dstRoiSize,
  4815. double xFactor, double yFactor,
  4816. double xCenter, double yCenter, int interpolation))
  4817. IPP_DEPRECATED("use ippiResizeSqrPixel_32f_C1R function instead of this one") \
  4818. IPPAPI(IppStatus, ippiResizeCenter_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4819. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  4820. double xFactor, double yFactor,
  4821. double xCenter, double yCenter, int interpolation))
  4822. IPP_DEPRECATED("use ippiResizeSqrPixel_32f_C3R function instead of this one") \
  4823. IPPAPI(IppStatus, ippiResizeCenter_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4824. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  4825. double xFactor, double yFactor,
  4826. double xCenter, double yCenter, int interpolation))
  4827. IPP_DEPRECATED("use ippiResizeSqrPixel_32f_C4R function instead of this one") \
  4828. IPPAPI(IppStatus, ippiResizeCenter_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4829. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  4830. double xFactor, double yFactor,
  4831. double xCenter, double yCenter, int interpolation))
  4832. IPP_DEPRECATED("use ippiResizeSqrPixel_32f_AC4R function instead of this one") \
  4833. IPPAPI(IppStatus, ippiResizeCenter_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4834. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  4835. double xFactor, double yFactor,
  4836. double xCenter, double yCenter, int interpolation))
  4837. IPP_DEPRECATED("use ippiResizeSqrPixel_32f_P3R function instead of this one") \
  4838. IPPAPI(IppStatus, ippiResizeCenter_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4839. Ipp32f* const pDst[3], int dstStep, IppiSize dstRoiSize,
  4840. double xFactor, double yFactor,
  4841. double xCenter, double yCenter, int interpolation))
  4842. IPP_DEPRECATED("use ippiResizeSqrPixel_32f_P4R function instead of this one") \
  4843. IPPAPI(IppStatus, ippiResizeCenter_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4844. Ipp32f* const pDst[4], int dstStep, IppiSize dstRoiSize,
  4845. double xFactor, double yFactor,
  4846. double xCenter, double yCenter, int interpolation))
  4847. /* ///////////////////////////////////////////////////////////////////////////////////////////////
  4848. //
  4849. // Name: ippiGetResizeFract
  4850. // Context: Recalculate resize factors for farther tile processing
  4851. // Parameters:
  4852. // srcSize size of src
  4853. // srcROI region of interest of src
  4854. // xFactor, yFactor they specify fractions of resizing
  4855. // xFr, yFr pointers to modified factors
  4856. // interpolation type of interpolation to perform for resampling the input image:
  4857. // IPPI_INTER_NN nearest neighbour interpolation
  4858. // IPPI_INTER_LINEAR linear interpolation
  4859. // IPPI_INTER_CUBIC cubic convolution interpolation
  4860. // IPPI_INTER_LANCZOS interpolation by 3-lobed Lanczos-windowed sinc function
  4861. // Returns:
  4862. // ippStsNoErr no errors
  4863. // ippStsSizeErr width or height of images is less or equal zero
  4864. // ippStsWrongIntersectROI srcRoi hasn`t intersection with the source image, no operation
  4865. // ippStsResizeFactorErr xFactor or yFactor is less or equal zero
  4866. // ippStsInterpolationErr (interpolation != IPPI_INTER_NN) &&
  4867. // (interpolation != IPPI_INTER_LINEAR) &&
  4868. // (interpolation != IPPI_INTER_CUBIC) &&
  4869. // (interpolation != IPPI_INTER_LANCZOS)
  4870. */
  4871. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4872. IPPAPI(IppStatus, ippiGetResizeFract, (IppiSize srcSize, IppiRect srcRoi, double xFactor, double yFactor,
  4873. double* xFr, double* yFr, int interpolation))
  4874. /* /////////////////////////////////////////////////////////////////////////////
  4875. //
  4876. // Name: ippiResizeShift
  4877. // Context: Resize source image by xFactor and yFactor for tile processing
  4878. // Parameters:
  4879. // pSrc source image data
  4880. // srcSize size of src
  4881. // srcStep step in src
  4882. // srcROI region of interest of src
  4883. // pDst resultant image data (size of tile)
  4884. // dstStep step in dst
  4885. // dstROI region of interest of dst
  4886. // xFr, yFr they specify fractions of tile resizing
  4887. // xShift, yShift they specify offsets(double) for tile processing
  4888. // interpolation type of interpolation to perform for resampling the input image:
  4889. // IPPI_INTER_NN nearest neighbour interpolation
  4890. // IPPI_INTER_LINEAR linear interpolation
  4891. // IPPI_INTER_CUBIC cubic convolution interpolation
  4892. // IPPI_INTER_LANCZOS interpolation by 3-lobed Lanczos-windowed sinc function
  4893. // Returns:
  4894. // ippStsNoErr no errors
  4895. // ippStsNullPtrErr pSrc == NULL or pDst == NULL
  4896. // ippStsSizeErr width or height of images is less or equal zero
  4897. // ippStsResizeFactorErr xFactor or yFactor is less or equal zero
  4898. // ippStsInterpolationErr (interpolation != IPPI_INTER_NN) &&
  4899. // (interpolation != IPPI_INTER_LINEAR) &&
  4900. // (interpolation != IPPI_INTER_CUBIC) &&
  4901. // (interpolation != IPPI_INTER_LANCZOS)
  4902. // Notes:
  4903. // not in-place
  4904. // without supersampling interpolation
  4905. */
  4906. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4907. IPPAPI(IppStatus, ippiResizeShift_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4908. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  4909. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4910. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4911. IPPAPI(IppStatus, ippiResizeShift_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4912. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  4913. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4914. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4915. IPPAPI(IppStatus, ippiResizeShift_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4916. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  4917. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4918. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4919. IPPAPI(IppStatus, ippiResizeShift_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4920. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  4921. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4922. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4923. IPPAPI(IppStatus, ippiResizeShift_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4924. Ipp8u* const pDst[3], int dstStep, IppiSize dstRoiSize,
  4925. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4926. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4927. IPPAPI(IppStatus, ippiResizeShift_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4928. Ipp8u* const pDst[4], int dstStep, IppiSize dstRoiSize,
  4929. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4930. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4931. IPPAPI(IppStatus, ippiResizeShift_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4932. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  4933. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4934. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4935. IPPAPI(IppStatus, ippiResizeShift_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4936. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  4937. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4938. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4939. IPPAPI(IppStatus, ippiResizeShift_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4940. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  4941. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4942. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4943. IPPAPI(IppStatus, ippiResizeShift_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4944. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  4945. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4946. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4947. IPPAPI(IppStatus, ippiResizeShift_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4948. Ipp16u* const pDst[3], int dstStep, IppiSize dstRoiSize,
  4949. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4950. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4951. IPPAPI(IppStatus, ippiResizeShift_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4952. Ipp16u* const pDst[4], int dstStep, IppiSize dstRoiSize,
  4953. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4954. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4955. IPPAPI(IppStatus, ippiResizeShift_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4956. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  4957. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4958. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4959. IPPAPI(IppStatus, ippiResizeShift_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4960. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  4961. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4962. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4963. IPPAPI(IppStatus, ippiResizeShift_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4964. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  4965. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4966. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4967. IPPAPI(IppStatus, ippiResizeShift_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4968. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  4969. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4970. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4971. IPPAPI(IppStatus, ippiResizeShift_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4972. Ipp32f* const pDst[3], int dstStep, IppiSize dstRoiSize,
  4973. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4974. IPP_DEPRECATED("use ippiResizeSqrPixel functions for tile processing") \
  4975. IPPAPI(IppStatus, ippiResizeShift_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi,
  4976. Ipp32f* const pDst[4], int dstStep, IppiSize dstRoiSize,
  4977. double xFr, double yFr, double xShift, double yShift, int interpolation))
  4978. /* /////////////////////////////////////////////////////////////////////////////
  4979. //
  4980. // Name: ippiResizeYUV422_8u_C2R
  4981. // Purpose: Resize source image by xFactor and yFactor
  4982. // Parameters:
  4983. // pSrc source image data
  4984. // srcSize size of src
  4985. // srcStep step in src
  4986. // srcROI region of interest of src
  4987. // pDst resultant image data
  4988. // dstStep step in dst
  4989. // dstROI region of interest of dst
  4990. // xFactor, yFactor they specify fractions of resizing
  4991. // interpolation type of interpolation to perform for resampling the input image:
  4992. // IPPI_INTER_NN nearest neighbour interpolation
  4993. // IPPI_INTER_LINEAR linear interpolation
  4994. // IPPI_INTER_CUBIC cubic convolution interpolation
  4995. // Returns:
  4996. // ippStsNoErr no errors
  4997. // ippStsNullPtrErr pSrc == NULL or pDst == NULL
  4998. // ippStsSizeErr width or height of images is less or equal zero,
  4999. // width of src image is odd,
  5000. // width of region of interest of src is odd,
  5001. // xoffset of region of interest of src is odd,
  5002. // width of region of interest of dst is less two
  5003. // ippStsResizeNoOperationErr one of the output image dimensions is less than 1 pixel
  5004. // ippStsResizeFactorErr xFactor or yFactor is less or equal zero
  5005. // ippStsInterpolationErr (interpolation != IPPI_INTER_NN) &&
  5006. // (interpolation != IPPI_INTER_LINEAR) &&
  5007. // (interpolation != IPPI_INTER_CUBIC)
  5008. // Notes:
  5009. // YUY2 pixel format (Y0U0Y1V0,Y2U1Y3V1,.. or Y0Cb0Y1Cr0,Y2Cb1Y3Cr1,..)
  5010. // not in-place
  5011. */
  5012. IPPAPI(IppStatus, ippiResizeYUV422_8u_C2R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi,
  5013. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  5014. double xFactor, double yFactor, int interpolation))
  5015. /* /////////////////////////////////////////////////////////////////////////////
  5016. //
  5017. // Name: ippiResizeSqrPixelGetBufSize
  5018. // Purpose: Computes the size of an external work buffer (in bytes)
  5019. // Parameters:
  5020. // dstSize size of destination image
  5021. // nChannel number of channels
  5022. // interpolation type of interpolation to perform for resizing the input image:
  5023. // IPPI_INTER_NN nearest neighbor interpolation
  5024. // IPPI_INTER_LINEAR linear interpolation
  5025. // IPPI_INTER_CUBIC cubic polynomial interpolation
  5026. // IPPI_INTER_LANCZOS interpolation by Lanczos3-windowed sinc function
  5027. // including two-parameter cubic filters:
  5028. // IPPI_INTER_CUBIC2P_BSPLINE B-spline filter (1, 0)
  5029. // IPPI_INTER_CUBIC2P_CATMULLROM Catmull-Rom filter (0, 1/2)
  5030. // IPPI_INTER_CUBIC2P_B05C03 special filter with parameters (1/2, 3/10)
  5031. // pSize pointer to the external buffer`s size
  5032. // Returns:
  5033. // ippStsNoErr no errors
  5034. // ippStsNullPtrErr pSize == NULL
  5035. // ippStsSizeErr width or height of dst is less or equal zero
  5036. // ippStsNumChannelsErr number of channels is not 1, 3 or 4
  5037. // ippStsInterpolationErr (interpolation != IPPI_INTER_NN) &&
  5038. // (interpolation != IPPI_INTER_LINEAR) &&
  5039. // (interpolation != IPPI_INTER_CUBIC) &&
  5040. // (interpolation != IPPI_INTER_CUBIC2P_BSPLINE) &&
  5041. // (interpolation != IPPI_INTER_CUBIC2P_CATMULLROM) &&
  5042. // (interpolation != IPPI_INTER_CUBIC2P_B05C03) &&
  5043. // (interpolation != IPPI_INTER_LANCZOS)
  5044. */
  5045. IPP_DEPRECATED("use ippiResizeGetBufSize function instead of this one") \
  5046. IPPAPI(IppStatus, ippiResizeSqrPixelGetBufSize, (
  5047. IppiSize dstSize, int nChannel, int interpolation, int* pSize))
  5048. /* /////////////////////////////////////////////////////////////////////////////
  5049. //
  5050. // Name: ippiResizeGetBufSize
  5051. // Purpose: Computes the size of an external work buffer (in bytes)
  5052. // Parameters:
  5053. // srcROI region of interest of source image
  5054. // dstROI region of interest of destination image
  5055. // nChannel number of channels
  5056. // interpolation type of interpolation to perform for resizing the input image:
  5057. // IPPI_INTER_NN Nearest Neighbor interpolation
  5058. // IPPI_INTER_LINEAR Linear interpolation
  5059. // IPPI_INTER_CUBIC Cubic polynomial interpolation
  5060. // IPPI_INTER_LANCZOS Interpolation by Lanczos3-windowed sinc function
  5061. // IPPI_INTER_SUPER Super Sampling method
  5062. // including two-parameter cubic filters:
  5063. // IPPI_INTER_CUBIC2P_BSPLINE B-spline filter (1, 0)
  5064. // IPPI_INTER_CUBIC2P_CATMULLROM Catmull-Rom filter (0, 1/2)
  5065. // IPPI_INTER_CUBIC2P_B05C03 Special filter with parameters (1/2, 3/10)
  5066. // including special feature for smoothing:
  5067. // IPPI_SMOOTH_EDGE Edges smoothing in addition to one of general methods
  5068. // IPPI_SUBPIXEL_EDGE Edges handling in addition to one of general methods
  5069. // pSize pointer to the external buffer`s size
  5070. // Returns:
  5071. // ippStsNoErr no errors
  5072. // ippStsNullPtrErr pSize == NULL
  5073. // ippStsSizeErr width or height of images is less or equal zero
  5074. // ippStsNumChannelsErr number of channels is not 1, 3 or 4
  5075. // ippStsInterpolationErr interpolation has an illegal value
  5076. */
  5077. IPPAPI(IppStatus, ippiResizeGetBufSize, (
  5078. IppiRect srcROI, IppiRect dstROI, int nChannel, int interpolation, int* pSize))
  5079. /* /////////////////////////////////////////////////////////////////////////////
  5080. //
  5081. // Name: ippiResizeSqrPixel
  5082. // Purpose: Performs RESIZE transform of the source image by xFactor and yFactor
  5083. // |X'| |xFactor 0 | |X| |xShift|
  5084. // | | = | | * | | + | |
  5085. // |Y'| | 0 yFactor| |Y| |yShift|
  5086. // Parameters:
  5087. // pSrc source image data
  5088. // srcSize size of source image
  5089. // srcStep step in source image
  5090. // srcROI region of interest of source image
  5091. // pDst resultant image data
  5092. // dstStep step in destination image
  5093. // dstROI region of interest of destination image
  5094. // xFactor, yFactor they specify fractions of resizing
  5095. // xShift, yShift they specify shifts of resizing:
  5096. // interpolation type of interpolation to perform for resizing the input image:
  5097. // IPPI_INTER_NN Nearest Neighbor interpolation
  5098. // IPPI_INTER_LINEAR Linear interpolation
  5099. // IPPI_INTER_CUBIC Cubic polynomial interpolation
  5100. // IPPI_INTER_LANCZOS Interpolation by Lanczos3-windowed sinc function
  5101. // IPPI_INTER_SUPER Super Sampling method
  5102. // including two-parameter cubic filters:
  5103. // IPPI_INTER_CUBIC2P_BSPLINE B-spline filter (1, 0)
  5104. // IPPI_INTER_CUBIC2P_CATMULLROM Catmull-Rom filter (0, 1/2)
  5105. // IPPI_INTER_CUBIC2P_B05C03 Special filter with parameters (1/2, 3/10)
  5106. // including special feature for smoothing:
  5107. // IPPI_SMOOTH_EDGE Edges smoothing in addition to one of the above methods
  5108. // IPPI_SUBPIXEL_EDGE Edges handling in addition to one of general methods
  5109. // pBuffer pointer to work buffer
  5110. // Returns:
  5111. // ippStsNoErr no errors
  5112. // ippStsNullPtrErr pSrc == NULL or pDst == NULL or pBuffer == NULL
  5113. // ippStsSizeErr width or height of images is less or equal zero
  5114. // ippStsWrongIntersectROI srcRoi has not intersection with the source image, no operation
  5115. // ippStsResizeFactorErr xFactor or yFactor is less or equal zero
  5116. // ippStsInterpolationErr interpolation has an illegal value
  5117. */
  5118. IPPAPI(IppStatus, ippiResizeSqrPixel_8u_C1R, (
  5119. const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5120. Ipp8u* pDst, int dstStep, IppiRect dstROI,
  5121. double xFactor, double yFactor, double xShift, double yShift,
  5122. int interpolation, Ipp8u *pBuffer))
  5123. IPPAPI(IppStatus, ippiResizeSqrPixel_8u_C3R, (
  5124. const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5125. Ipp8u* pDst, int dstStep, IppiRect dstROI,
  5126. double xFactor, double yFactor, double xShift, double yShift,
  5127. int interpolation, Ipp8u *pBuffer))
  5128. IPPAPI(IppStatus, ippiResizeSqrPixel_8u_C4R, (
  5129. const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5130. Ipp8u* pDst, int dstStep, IppiRect dstROI,
  5131. double xFactor, double yFactor, double xShift, double yShift,
  5132. int interpolation, Ipp8u *pBuffer))
  5133. IPPAPI(IppStatus, ippiResizeSqrPixel_8u_AC4R, (
  5134. const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5135. Ipp8u* pDst, int dstStep, IppiRect dstROI,
  5136. double xFactor, double yFactor, double xShift, double yShift,
  5137. int interpolation, Ipp8u *pBuffer))
  5138. IPPAPI(IppStatus, ippiResizeSqrPixel_8u_P3R, (
  5139. const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcROI,
  5140. Ipp8u* const pDst[3], int dstStep, IppiRect dstROI,
  5141. double xFactor, double yFactor, double xShift, double yShift,
  5142. int interpolation, Ipp8u *pBuffer))
  5143. IPPAPI(IppStatus, ippiResizeSqrPixel_8u_P4R, (
  5144. const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcROI,
  5145. Ipp8u* const pDst[4], int dstStep, IppiRect dstROI,
  5146. double xFactor, double yFactor, double xShift, double yShift,
  5147. int interpolation, Ipp8u *pBuffer))
  5148. IPPAPI(IppStatus, ippiResizeSqrPixel_16u_C1R, (
  5149. const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5150. Ipp16u* pDst, int dstStep, IppiRect dstROI,
  5151. double xFactor, double yFactor, double xShift, double yShift,
  5152. int interpolation, Ipp8u *pBuffer))
  5153. IPPAPI(IppStatus, ippiResizeSqrPixel_16u_C3R, (
  5154. const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5155. Ipp16u* pDst, int dstStep, IppiRect dstROI,
  5156. double xFactor, double yFactor, double xShift, double yShift,
  5157. int interpolation, Ipp8u *pBuffer))
  5158. IPPAPI(IppStatus, ippiResizeSqrPixel_16u_C4R, (
  5159. const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5160. Ipp16u* pDst, int dstStep, IppiRect dstROI,
  5161. double xFactor, double yFactor, double xShift, double yShift,
  5162. int interpolation, Ipp8u *pBuffer))
  5163. IPPAPI(IppStatus, ippiResizeSqrPixel_16u_AC4R, (
  5164. const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5165. Ipp16u* pDst, int dstStep, IppiRect dstROI,
  5166. double xFactor, double yFactor, double xShift, double yShift,
  5167. int interpolation, Ipp8u *pBuffer))
  5168. IPPAPI(IppStatus, ippiResizeSqrPixel_16u_P3R, (
  5169. const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcROI,
  5170. Ipp16u* const pDst[3], int dstStep, IppiRect dstROI,
  5171. double xFactor, double yFactor, double xShift, double yShift,
  5172. int interpolation, Ipp8u *pBuffer))
  5173. IPPAPI(IppStatus, ippiResizeSqrPixel_16u_P4R, (
  5174. const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcROI,
  5175. Ipp16u* const pDst[4], int dstStep, IppiRect dstROI,
  5176. double xFactor, double yFactor, double xShift, double yShift,
  5177. int interpolation, Ipp8u *pBuffer))
  5178. IPPAPI(IppStatus, ippiResizeSqrPixel_16s_C1R, (
  5179. const Ipp16s* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5180. Ipp16s* pDst, int dstStep, IppiRect dstROI,
  5181. double xFactor, double yFactor, double xShift, double yShift,
  5182. int interpolation, Ipp8u *pBuffer))
  5183. IPPAPI(IppStatus, ippiResizeSqrPixel_16s_C3R, (
  5184. const Ipp16s* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5185. Ipp16s* pDst, int dstStep, IppiRect dstROI,
  5186. double xFactor, double yFactor, double xShift, double yShift,
  5187. int interpolation, Ipp8u *pBuffer))
  5188. IPPAPI(IppStatus, ippiResizeSqrPixel_16s_C4R, (
  5189. const Ipp16s* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5190. Ipp16s* pDst, int dstStep, IppiRect dstROI,
  5191. double xFactor, double yFactor, double xShift, double yShift,
  5192. int interpolation, Ipp8u *pBuffer))
  5193. IPPAPI(IppStatus, ippiResizeSqrPixel_16s_AC4R, (
  5194. const Ipp16s* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5195. Ipp16s* pDst, int dstStep, IppiRect dstROI,
  5196. double xFactor, double yFactor, double xShift, double yShift,
  5197. int interpolation, Ipp8u *pBuffer))
  5198. IPPAPI(IppStatus, ippiResizeSqrPixel_16s_P3R, (
  5199. const Ipp16s* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcROI,
  5200. Ipp16s* const pDst[3], int dstStep, IppiRect dstROI,
  5201. double xFactor, double yFactor, double xShift, double yShift,
  5202. int interpolation, Ipp8u *pBuffer))
  5203. IPPAPI(IppStatus, ippiResizeSqrPixel_16s_P4R, (
  5204. const Ipp16s* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcROI,
  5205. Ipp16s* const pDst[4], int dstStep, IppiRect dstROI,
  5206. double xFactor, double yFactor, double xShift, double yShift,
  5207. int interpolation, Ipp8u *pBuffer))
  5208. IPPAPI(IppStatus, ippiResizeSqrPixel_32f_C1R, (
  5209. const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5210. Ipp32f* pDst, int dstStep, IppiRect dstROI,
  5211. double xFactor, double yFactor, double xShift, double yShift,
  5212. int interpolation, Ipp8u *pBuffer))
  5213. IPPAPI(IppStatus, ippiResizeSqrPixel_32f_C3R, (
  5214. const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5215. Ipp32f* pDst, int dstStep, IppiRect dstROI,
  5216. double xFactor, double yFactor, double xShift, double yShift,
  5217. int interpolation, Ipp8u *pBuffer))
  5218. IPPAPI(IppStatus, ippiResizeSqrPixel_32f_C4R, (
  5219. const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5220. Ipp32f* pDst, int dstStep, IppiRect dstROI,
  5221. double xFactor, double yFactor, double xShift, double yShift,
  5222. int interpolation, Ipp8u *pBuffer))
  5223. IPPAPI(IppStatus, ippiResizeSqrPixel_32f_AC4R, (
  5224. const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcROI,
  5225. Ipp32f* pDst, int dstStep, IppiRect dstROI,
  5226. double xFactor, double yFactor, double xShift, double yShift,
  5227. int interpolation, Ipp8u *pBuffer))
  5228. IPPAPI(IppStatus, ippiResizeSqrPixel_32f_P3R, (
  5229. const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcROI,
  5230. Ipp32f* const pDst[3], int dstStep, IppiRect dstROI,
  5231. double xFactor, double yFactor, double xShift, double yShift,
  5232. int interpolation, Ipp8u *pBuffer))
  5233. IPPAPI(IppStatus, ippiResizeSqrPixel_32f_P4R, (
  5234. const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcROI,
  5235. Ipp32f* const pDst[4], int dstStep, IppiRect dstROI,
  5236. double xFactor, double yFactor, double xShift, double yShift,
  5237. int interpolation, Ipp8u *pBuffer))
  5238. /* /////////////////////////////////////////////////////////////////////////////
  5239. //
  5240. // Name: ippiSuperSamplingGetBufSize
  5241. // Purpose: Computes the size of an external work buffer (in bytes)
  5242. // Parameters:
  5243. // srcRoiSize region of interest of source image
  5244. // dstRoiSize region of interest of destination image
  5245. // nChannel number of channels
  5246. // pSize pointer to the external buffer`s size
  5247. // Returns:
  5248. // ippStsNoErr no errors
  5249. // ippStsNullPtrErr pSize == NULL
  5250. // ippStsSizeErr one of the image dimensions has zero or negative value
  5251. // or any dimension of src less than appropriate dimension of dst
  5252. // ippStsNumChannelsErr number of channels is not 1 or 3 or 4
  5253. */
  5254. IPPAPI(IppStatus, ippiSuperSamplingGetBufSize, (
  5255. IppiSize srcRoiSize, IppiSize dstRoiSize, int nChannel, int *pSize))
  5256. /* /////////////////////////////////////////////////////////////////////////////
  5257. //
  5258. // Name: ippiSuperSampling
  5259. // Purpose: Performs RESIZE transform using Super Sampling method
  5260. // Parameters:
  5261. // pSrc source image data
  5262. // srcStep step in source image
  5263. // srcRoiSize region of interest of source image
  5264. // pDst resultant image data
  5265. // dstStep step in destination image
  5266. // dstRoiSize region of interest of destination image
  5267. // pBuffer pointer to work buffer
  5268. // Returns:
  5269. // ippStsNoErr no errors
  5270. // ippStsNullPtrErr pSrc == NULL or pDst == NULL or pBuffer == NULL
  5271. // ippStsStepErr srcStep or dstStep has a zero or negative value
  5272. // ippStsSizeErr one of the image dimensions has zero or negative value
  5273. // or any dimension of src less than appropriate dimension of dst
  5274. */
  5275. IPPAPI(IppStatus, ippiSuperSampling_8u_C1R, (
  5276. const Ipp8u* pSrc, int srcStep, IppiSize srcRoiSize,
  5277. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  5278. Ipp8u* pBuffer))
  5279. IPPAPI(IppStatus, ippiSuperSampling_8u_C3R, (
  5280. const Ipp8u* pSrc, int srcStep, IppiSize srcRoiSize,
  5281. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  5282. Ipp8u* pBuffer))
  5283. IPPAPI(IppStatus, ippiSuperSampling_8u_C4R, (
  5284. const Ipp8u* pSrc, int srcStep, IppiSize srcRoiSize,
  5285. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  5286. Ipp8u* pBuffer))
  5287. IPPAPI(IppStatus, ippiSuperSampling_8u_AC4R, (
  5288. const Ipp8u* pSrc, int srcStep, IppiSize srcRoiSize,
  5289. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  5290. Ipp8u* pBuffer))
  5291. IPPAPI(IppStatus, ippiSuperSampling_8u_P3R, (
  5292. const Ipp8u* const pSrc[3], int srcStep, IppiSize srcRoiSize,
  5293. Ipp8u* const pDst[3], int dstStep, IppiSize dstRoiSize,
  5294. Ipp8u* pBuffer))
  5295. IPPAPI(IppStatus, ippiSuperSampling_8u_P4R, (
  5296. const Ipp8u* const pSrc[4], int srcStep, IppiSize srcRoiSize,
  5297. Ipp8u* const pDst[4], int dstStep, IppiSize dstRoiSize,
  5298. Ipp8u* pBuffer))
  5299. IPPAPI(IppStatus, ippiSuperSampling_16u_C1R, (
  5300. const Ipp16u* pSrc, int srcStep, IppiSize srcRoiSize,
  5301. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  5302. Ipp8u* pBuffer))
  5303. IPPAPI(IppStatus, ippiSuperSampling_16u_C3R, (
  5304. const Ipp16u* pSrc, int srcStep, IppiSize srcRoiSize,
  5305. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  5306. Ipp8u* pBuffer))
  5307. IPPAPI(IppStatus, ippiSuperSampling_16u_C4R, (
  5308. const Ipp16u* pSrc, int srcStep, IppiSize srcRoiSize,
  5309. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  5310. Ipp8u* pBuffer))
  5311. IPPAPI(IppStatus, ippiSuperSampling_16u_AC4R, (
  5312. const Ipp16u* pSrc, int srcStep, IppiSize srcRoiSize,
  5313. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  5314. Ipp8u* pBuffer))
  5315. IPPAPI(IppStatus, ippiSuperSampling_16u_P3R, (
  5316. const Ipp16u* const pSrc[3], int srcStep, IppiSize srcRoiSize,
  5317. Ipp16u* const pDst[3], int dstStep, IppiSize dstRoiSize,
  5318. Ipp8u* pBuffer))
  5319. IPPAPI(IppStatus, ippiSuperSampling_16u_P4R, (
  5320. const Ipp16u* const pSrc[4], int srcStep, IppiSize srcRoiSize,
  5321. Ipp16u* const pDst[4], int dstStep, IppiSize dstRoiSize,
  5322. Ipp8u* pBuffer))
  5323. IPPAPI(IppStatus, ippiSuperSampling_16s_C1R, (
  5324. const Ipp16s* pSrc, int srcStep, IppiSize srcRoiSize,
  5325. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  5326. Ipp8u* pBuffer))
  5327. IPPAPI(IppStatus, ippiSuperSampling_16s_C3R, (
  5328. const Ipp16s* pSrc, int srcStep, IppiSize srcRoiSize,
  5329. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  5330. Ipp8u* pBuffer))
  5331. IPPAPI(IppStatus, ippiSuperSampling_16s_C4R, (
  5332. const Ipp16s* pSrc, int srcStep, IppiSize srcRoiSize,
  5333. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  5334. Ipp8u* pBuffer))
  5335. IPPAPI(IppStatus, ippiSuperSampling_16s_AC4R, (
  5336. const Ipp16s* pSrc, int srcStep, IppiSize srcRoiSize,
  5337. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  5338. Ipp8u* pBuffer))
  5339. IPPAPI(IppStatus, ippiSuperSampling_16s_P3R, (
  5340. const Ipp16s* const pSrc[3], int srcStep, IppiSize srcRoiSize,
  5341. Ipp16s* const pDst[3], int dstStep, IppiSize dstRoiSize,
  5342. Ipp8u* pBuffer))
  5343. IPPAPI(IppStatus, ippiSuperSampling_16s_P4R, (
  5344. const Ipp16s* const pSrc[4], int srcStep, IppiSize srcRoiSize,
  5345. Ipp16s* const pDst[4], int dstStep, IppiSize dstRoiSize,
  5346. Ipp8u* pBuffer))
  5347. IPPAPI(IppStatus, ippiSuperSampling_32f_C1R, (
  5348. const Ipp32f* pSrc, int srcStep, IppiSize srcRoiSize,
  5349. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  5350. Ipp8u* pBuffer))
  5351. IPPAPI(IppStatus, ippiSuperSampling_32f_C3R, (
  5352. const Ipp32f* pSrc, int srcStep, IppiSize srcRoiSize,
  5353. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  5354. Ipp8u* pBuffer))
  5355. IPPAPI(IppStatus, ippiSuperSampling_32f_C4R, (
  5356. const Ipp32f* pSrc, int srcStep, IppiSize srcRoiSize,
  5357. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  5358. Ipp8u* pBuffer))
  5359. IPPAPI(IppStatus, ippiSuperSampling_32f_AC4R, (
  5360. const Ipp32f* pSrc, int srcStep, IppiSize srcRoiSize,
  5361. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  5362. Ipp8u* pBuffer))
  5363. IPPAPI(IppStatus, ippiSuperSampling_32f_P3R, (
  5364. const Ipp32f* const pSrc[3], int srcStep, IppiSize srcRoiSize,
  5365. Ipp32f* const pDst[3], int dstStep, IppiSize dstRoiSize,
  5366. Ipp8u* pBuffer))
  5367. IPPAPI(IppStatus, ippiSuperSampling_32f_P4R, (
  5368. const Ipp32f* const pSrc[4], int srcStep, IppiSize srcRoiSize,
  5369. Ipp32f* const pDst[4], int dstStep, IppiSize dstRoiSize,
  5370. Ipp8u* pBuffer))
  5371. /* /////////////////////////////////////////////////////////////////////////////
  5372. // Resize filter function
  5373. // /////////////////////////////////////////////////////////////////////////////
  5374. //
  5375. // Name: ippiResizeFilterGetSize_8u_C1R
  5376. // Purpose: Computes pState size for resize filter (in bytes)
  5377. // Parameters:
  5378. // srcRoiSize region of interest of source image
  5379. // dstRoiSize region of interest of destination image
  5380. // filter type of resize filter
  5381. // pSize pointer to State size
  5382. // Returns:
  5383. // ippStsNoErr no errors
  5384. // ippStsSizeErr width or height of images is less or equal to zero
  5385. // ippStsNotSupportedModeErr filter type is not supported
  5386. // ippStsNullPtrErr pointer to buffer size is NULL
  5387. */
  5388. IPPAPI(IppStatus, ippiResizeFilterGetSize_8u_C1R, (
  5389. IppiSize srcRoiSize, IppiSize dstRoiSize, IppiResizeFilterType filter, Ipp32u *pSize))
  5390. /* /////////////////////////////////////////////////////////////////////////////
  5391. // Name: ippiResizeFilterInit_8u_C1R
  5392. // Purpose: Initialization of State for resize filter
  5393. // Parameters:
  5394. // pState pointer to State
  5395. // srcRoiSize region of interest of source image
  5396. // dstRoiSize region of interest of destination image
  5397. // filter type of resize filter
  5398. // Returns:
  5399. // ippStsNoErr no errors
  5400. // ippStsNullPtrErr pointer to Spec is NULL
  5401. // ippStsSizeErr width or height of images is less or equal to zero
  5402. // ippStsNotSupportedModeErr filter type is not supported
  5403. */
  5404. IPPAPI(IppStatus, ippiResizeFilterInit_8u_C1R, (
  5405. IppiResizeFilterState *pState, IppiSize srcRoiSize, IppiSize dstRoiSize, IppiResizeFilterType filter))
  5406. /* /////////////////////////////////////////////////////////////////////////////
  5407. // Name: ippiResizeFilter_8u_C1R
  5408. // Purpose: Performs RESIZE transform using generic filter
  5409. // Parameters:
  5410. // pSrc source image data
  5411. // srcStep step in source image
  5412. // srcRoiSize region of interest of source image
  5413. // pDst resultant image data
  5414. // dstStep step in destination image
  5415. // dstRoiSize region of interest of destination image
  5416. // pState pointer to filter state
  5417. // Return:
  5418. // ippStsNoErr no errors
  5419. // ippStsNullPtrErr pSrc == NULL or pDst == NULL or pState == NULL
  5420. // ippStsStepErr srcStep or dstStep is less than or equal to zero
  5421. // ippStsSizeErr width or height of images is less or equal to zero
  5422. // ippStsContextMatchErr invalid context structure
  5423. */
  5424. IPPAPI(IppStatus, ippiResizeFilter_8u_C1R, (
  5425. const Ipp8u *pSrc, int srcStep, IppiSize srcRoiSize,
  5426. Ipp8u *pDst, int dstStep, IppiSize dstRoiSize, IppiResizeFilterState *pState))
  5427. /* /////////////////////////////////////////////////////////////////////////////
  5428. // Name: ppiGetAffineBound
  5429. // Purpose: Computes the bounding rectangle of the transformed image ROI.
  5430. // Context:
  5431. // Returns: IppStatus
  5432. // ippStsNoErr OK
  5433. // Parameters:
  5434. // srcRoi Source image ROI.
  5435. // coeffs The affine transform matrix
  5436. // |X'| |a11 a12| |X| |a13|
  5437. // | | = | |*| |+| |
  5438. // |Y'| |a21 a22| |Y| |a23|
  5439. // bound Resultant bounding rectangle
  5440. // Notes:
  5441. */
  5442. IPPAPI(IppStatus, ippiGetAffineBound, (IppiRect srcRoi,double bound[2][2], const double coeffs[2][3]))
  5443. /* /////////////////////////////////////////////////////////////////////////////
  5444. // Name: ippiGetAffineQuad
  5445. // Purpose: Computes coordinates of the quadrangle to which a source ROI is mapped
  5446. // Context:
  5447. // Returns: IppStatus.
  5448. // ippStsNoErr OK
  5449. // Parameters:
  5450. // srcRoi Source image ROI.
  5451. // coeffs The affine transform matrix
  5452. // |X'| |a11 a12| |X| |a13|
  5453. // | | = | |*| |+| |
  5454. // |Y'| |a21 a22| |Y| |a23|
  5455. // quadr Resultant quadrangle
  5456. // Notes:
  5457. */
  5458. IPPAPI(IppStatus, ippiGetAffineQuad, (IppiRect srcRoi, double quad[4][2], const double coeffs[2][3]))
  5459. /* /////////////////////////////////////////////////////////////////////////////
  5460. // Name: ippiGetAffineTransform
  5461. // Purpose: Computes coefficients to transform a source ROI to a given quadrangle.
  5462. // Context:
  5463. // Returns: IppStatus.
  5464. // ippStsNoErr OK
  5465. // Parameters:
  5466. // srcRoi Source image ROI.
  5467. // coeffs The resultant affine transform matrix
  5468. // |X'| |a11 a12| |X| |a13|
  5469. // | | = | |*| |+| |
  5470. // |Y'| |a21 a22| |Y| |a23|
  5471. // quad Vertex coordinates of the quadrangle
  5472. // Notes: The function computes the coordinates of the 4th vertex of the quadrangle
  5473. // that uniquely depends on the three other (specified) vertices.
  5474. // If the computed coordinates are not equal to the ones specified in quad,
  5475. // the function returns the warning message and continues operation with the computed values
  5476. */
  5477. IPPAPI(IppStatus, ippiGetAffineTransform, (IppiRect srcRoi, const double quad[4][2], double coeffs[2][3]))
  5478. /* /////////////////////////////////////////////////////////////////////////////
  5479. // Name: ippiWarpAffine
  5480. // Purpose: Performs affine transform of the source image.
  5481. // |X'| |a11 a12| |X| |a13|
  5482. // | | = | |*| |+| |
  5483. // |Y'| |a21 a22| |Y| |a23|
  5484. // Context:
  5485. // Returns: IppStatus
  5486. // ippStsNoErr OK
  5487. // ippStsNullPtrErr pSrc or pDst is NULL
  5488. // ippStsSizeErr One of the image dimensions has zero or negative value
  5489. // ippStsInterpolateErr interpolation has an illegal value
  5490. // Parameters:
  5491. // pSrc Pointer to the source image data (point to pixel (0,0))
  5492. // srcSize Size of the source image
  5493. // srcStep Step through the source image
  5494. // srcRoi Region of interest in the source image
  5495. // pDst Pointer to the destination image (point to pixel (0,0))
  5496. // dstStep Step through the destination image
  5497. // dstRoi Region of interest in the destination image.
  5498. // coeffs The affine transform matrix
  5499. // interpolation The type of interpolation to perform for resampling
  5500. // the input image. Possible values:
  5501. // IPPI_INTER_NN Nearest neighbor interpolation
  5502. // IPPI_INTER_LINEAR Linear interpolation
  5503. // IPPI_INTER_CUBIC Cubic convolution interpolation
  5504. // IPPI_SMOOTH_EDGE smoothed edges
  5505. // Notes:
  5506. */
  5507. IPPAPI(IppStatus, ippiWarpAffine_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5508. IPPAPI(IppStatus, ippiWarpAffine_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5509. IPPAPI(IppStatus, ippiWarpAffine_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5510. IPPAPI(IppStatus, ippiWarpAffine_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5511. IPPAPI(IppStatus, ippiWarpAffine_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5512. IPPAPI(IppStatus, ippiWarpAffine_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5513. IPPAPI(IppStatus, ippiWarpAffine_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5514. IPPAPI(IppStatus, ippiWarpAffine_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5515. IPPAPI(IppStatus, ippiWarpAffine_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5516. IPPAPI(IppStatus, ippiWarpAffine_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5517. IPPAPI(IppStatus, ippiWarpAffine_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5518. IPPAPI(IppStatus, ippiWarpAffine_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5519. IPPAPI(IppStatus, ippiWarpAffine_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5520. IPPAPI(IppStatus, ippiWarpAffine_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5521. IPPAPI(IppStatus, ippiWarpAffine_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5522. IPPAPI(IppStatus, ippiWarpAffine_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5523. IPPAPI(IppStatus, ippiWarpAffine_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5524. IPPAPI(IppStatus, ippiWarpAffine_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5525. /* /////////////////////////////////////////////////////////////////////////////
  5526. // Name: ippiWarpAffineBack
  5527. // Purpose: Performs an inverse affine transform of an image.
  5528. // |X'| |a11 a12| |X| |a13|
  5529. // | | = | |*| |+| |
  5530. // |Y'| |a21 a22| |Y| |a23|
  5531. // Context:
  5532. // Returns: IppStatus
  5533. // ippStsNoErr OK
  5534. // ippStsNullPtrErr pSrc or pDst is NULL
  5535. // ippStsSizeErr One of the image dimensions has zero or negative value
  5536. // ippStsInterpolateErr interpolation has an illegal value
  5537. // Parameters:
  5538. // pSrc Pointer to the source image data (point to pixel (0,0))
  5539. // srcSize Size of the source image
  5540. // srcStep Step through the source image
  5541. // srcRoi Region of interest in the source image
  5542. // pDst Pointer to the destination image (point to pixel (0,0)).
  5543. // dstStep Step through the destination image
  5544. // dstRoi Region of interest in the destination image
  5545. // coeffs The affine transform matrix
  5546. // interpolation The type of interpolation to perform for resampling
  5547. // the input image. Possible values:
  5548. // IPPI_INTER_NN Nearest neighbor interpolation.
  5549. // IPPI_INTER_LINEAR Linear interpolation.
  5550. // IPPI_INTER_CUBIC Cubic convolution interpolation.
  5551. // Notes:
  5552. */
  5553. IPPAPI(IppStatus, ippiWarpAffineBack_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5554. IPPAPI(IppStatus, ippiWarpAffineBack_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5555. IPPAPI(IppStatus, ippiWarpAffineBack_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5556. IPPAPI(IppStatus, ippiWarpAffineBack_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5557. IPPAPI(IppStatus, ippiWarpAffineBack_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5558. IPPAPI(IppStatus, ippiWarpAffineBack_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5559. IPPAPI(IppStatus, ippiWarpAffineBack_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5560. IPPAPI(IppStatus, ippiWarpAffineBack_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5561. IPPAPI(IppStatus, ippiWarpAffineBack_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5562. IPPAPI(IppStatus, ippiWarpAffineBack_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5563. IPPAPI(IppStatus, ippiWarpAffineBack_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5564. IPPAPI(IppStatus, ippiWarpAffineBack_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5565. IPPAPI(IppStatus, ippiWarpAffineBack_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5566. IPPAPI(IppStatus, ippiWarpAffineBack_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5567. IPPAPI(IppStatus, ippiWarpAffineBack_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5568. IPPAPI(IppStatus, ippiWarpAffineBack_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5569. IPPAPI(IppStatus, ippiWarpAffineBack_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5570. IPPAPI(IppStatus, ippiWarpAffineBack_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[2][3], int interpolation))
  5571. /* /////////////////////////////////////////////////////////////////////////////
  5572. // Name: ippiWarpAffineQuad
  5573. // Purpose: Performs affine transform of the given source quadrangle
  5574. // to the specified destination quadrangle
  5575. // |X'| |a11 a12| |X| |a13|
  5576. // | | = | |*| |+| |
  5577. // |Y'| |a21 a22| |Y| |a23|
  5578. // Context:
  5579. // Returns: IppStatus
  5580. // ippStsNoErr OK
  5581. // ippStsNullPtrErr pSrc or pDst is NULL
  5582. // ippStsSizeErr One of the image dimensions has zero or negative value
  5583. // ippStsStepErr srcStep or dstStep has a zero or negative value
  5584. // ippStsInterpolateErr interpolation has an illegal value
  5585. // Parameters:
  5586. // pSrc Pointer to the source image data (point to pixel (0,0))
  5587. // srcSize Size of the source image
  5588. // srcStep Step through the source image
  5589. // srcRoi Region of interest in the source image
  5590. // srcQuad Given quadrangle in the source image
  5591. // pDst Pointer to the destination image (point to pixel (0,0)).
  5592. // dstStep Step through the destination image
  5593. // dstRoi Region of interest in the destination image.
  5594. // dstQuad Given quadrangle in the destination image
  5595. // interpolation The type of interpolation to perform for resampling
  5596. // the input image. Possible values:
  5597. // IPPI_INTER_NN Nearest neighbor interpolation.
  5598. // IPPI_INTER_LINEAR Linear interpolation.
  5599. // IPPI_INTER_CUBIC Cubic convolution interpolation.
  5600. // +IPPI_SMOOTH_EDGE Edges smoothing in addition to one of the
  5601. // above methods
  5602. // Notes: The function computes the coordinates of the 4th vertex of the quadrangle
  5603. // that uniquely depends on the three other (specified) vertices.
  5604. // If the computed coordinates are not equal to the ones specified in quad,
  5605. // the function returns the warning message and continues operation with the computed values
  5606. */
  5607. IPPAPI(IppStatus, ippiWarpAffineQuad_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5608. IPPAPI(IppStatus, ippiWarpAffineQuad_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5609. IPPAPI(IppStatus, ippiWarpAffineQuad_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5610. IPPAPI(IppStatus, ippiWarpAffineQuad_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* const pDst[3], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5611. IPPAPI(IppStatus, ippiWarpAffineQuad_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5612. IPPAPI(IppStatus, ippiWarpAffineQuad_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* const pDst[4], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5613. IPPAPI(IppStatus, ippiWarpAffineQuad_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5614. IPPAPI(IppStatus, ippiWarpAffineQuad_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5615. IPPAPI(IppStatus, ippiWarpAffineQuad_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5616. IPPAPI(IppStatus, ippiWarpAffineQuad_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* const pDst[3], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5617. IPPAPI(IppStatus, ippiWarpAffineQuad_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5618. IPPAPI(IppStatus, ippiWarpAffineQuad_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* const pDst[4], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5619. IPPAPI(IppStatus, ippiWarpAffineQuad_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5620. IPPAPI(IppStatus, ippiWarpAffineQuad_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5621. IPPAPI(IppStatus, ippiWarpAffineQuad_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5622. IPPAPI(IppStatus, ippiWarpAffineQuad_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* const pDst[3], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5623. IPPAPI(IppStatus, ippiWarpAffineQuad_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5624. IPPAPI(IppStatus, ippiWarpAffineQuad_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* const pDst[4], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  5625. /* /////////////////////////////////////////////////////////////////////////////
  5626. // Name: ippiRotate
  5627. // Purpose: Rotates an image around (0, 0) by specified angle + shifts it.
  5628. // Context:
  5629. // Returns: IppStatus
  5630. // ippStsNoErr OK
  5631. // ippStsNullPtrErr pSrc or pDst is NULL
  5632. // ippStsSizeErr One of the image dimensions has zero or negative value
  5633. // ippStsStepErr srcStep or dstStep has a zero or negative value
  5634. // ippStsInterpolateErr interpolation has an illegal value
  5635. // Parameters:
  5636. // pSrc Pointer to the source image data (point to pixel (0,0))
  5637. // srcSize Size of the source image
  5638. // srcStep Step through the source image
  5639. // srcRoi Region of interest in the source image
  5640. // pDst Pointer to the destination image (point to pixel (0,0)).
  5641. // dstStep Step through the destination image
  5642. // dstRoi Region of interest in the destination image.
  5643. // angle The angle of clockwise rotation in degrees
  5644. // xShif, yShift The shift along the corresponding axis
  5645. // interpolation The type of interpolation to perform for resampling
  5646. // the input image. Possible values:
  5647. // IPPI_INTER_NN Nearest neighbor interpolation.
  5648. // IPPI_INTER_LINEAR Linear interpolation.
  5649. // IPPI_INTER_CUBIC Cubic convolution interpolation.
  5650. // +IPPI_SMOOTH_EDGE Edges smoothing in addition to one of the
  5651. // above methods
  5652. // Notes:
  5653. */
  5654. IPPAPI(IppStatus, ippiRotate_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5655. IPPAPI(IppStatus, ippiRotate_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5656. IPPAPI(IppStatus, ippiRotate_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5657. IPPAPI(IppStatus, ippiRotate_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[3], int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5658. IPPAPI(IppStatus, ippiRotate_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5659. IPPAPI(IppStatus, ippiRotate_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[4], int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5660. IPPAPI(IppStatus, ippiRotate_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5661. IPPAPI(IppStatus, ippiRotate_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5662. IPPAPI(IppStatus, ippiRotate_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5663. IPPAPI(IppStatus, ippiRotate_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[3], int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5664. IPPAPI(IppStatus, ippiRotate_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5665. IPPAPI(IppStatus, ippiRotate_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[4], int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5666. IPPAPI(IppStatus, ippiRotate_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5667. IPPAPI(IppStatus, ippiRotate_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5668. IPPAPI(IppStatus, ippiRotate_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5669. IPPAPI(IppStatus, ippiRotate_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[3], int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5670. IPPAPI(IppStatus, ippiRotate_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5671. IPPAPI(IppStatus, ippiRotate_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[4], int dstStep, IppiRect dstRoi, double angle, double xShift, double yShift, int interpolation))
  5672. /* /////////////////////////////////////////////////////////////////////////////
  5673. // Name: ippiAddRotateShift
  5674. // Purpose: Calculates shifts for ippiRotate function to rotate an image
  5675. // around the specified center (xCenter, yCenter) with arbitrary shifts.
  5676. // Context:
  5677. // Returns: IppStatus.
  5678. // ippStsNoErr OK
  5679. // ippStsNullPtrErr One of pointers to the output data is NULL
  5680. // Parameters:
  5681. // xCenter, yCenter Coordinates of the center of rotation
  5682. // angle The angle of clockwise rotation, degrees
  5683. // xShift, yShift Pointers to the shift values
  5684. // Notes:
  5685. */
  5686. IPPAPI(IppStatus, ippiAddRotateShift, (double xCenter, double yCenter, double angle,
  5687. double *xShift, double *yShift))
  5688. /* /////////////////////////////////////////////////////////////////////////////
  5689. // Name: ippiGetRotateShift
  5690. // Purpose: Calculates shifts for ippiRotate function to rotate an image
  5691. // around the specified center (xCenter, yCenter)
  5692. // Context:
  5693. // Returns: IppStatus.
  5694. // ippStsNoErr OK
  5695. // ippStsNullPtrErr One of the pointers to the output data is NULL
  5696. // Parameters:
  5697. // xCenter, yCenter Coordinates of the center of rotation
  5698. // angle The angle of clockwise rotation, degrees
  5699. // xShift, yShift Pointers to the shift values
  5700. // Notes:
  5701. */
  5702. IPPAPI(IppStatus, ippiGetRotateShift, (double xCenter, double yCenter, double angle,
  5703. double *xShift, double *yShift))
  5704. /* /////////////////////////////////////////////////////////////////////////////
  5705. // Name: ippiGetRotateQuad
  5706. // Purpose: Computes the quadrangle to which the source ROI would be mapped
  5707. // Context:
  5708. // Returns: IppStatus
  5709. // ippStsNoErr OK
  5710. // Parameters:
  5711. // srcRoi Source image ROI.
  5712. // angle The angle of rotation in degrees
  5713. // xShift, yShift The shift along the corresponding axis
  5714. // quad Output array with vertex coordinates of the quadrangle
  5715. // Notes:
  5716. */
  5717. IPPAPI(IppStatus, ippiGetRotateQuad, (IppiRect srcRoi, double quad[4][2], double angle, double xShift, double yShift))
  5718. /* /////////////////////////////////////////////////////////////////////////////
  5719. // Name: ippiGetRotateBound
  5720. // Purpose: Computes the bounding rectangle for the transformed image ROI
  5721. // Context:
  5722. // Returns: IppStatus
  5723. // ippStsNoErr OK
  5724. // Parameters:
  5725. // srcRoi Source image ROI.
  5726. // angle The angle of rotation in degrees
  5727. // xShift, yShift The shift along the corresponding axis
  5728. // bound Output array with vertex coordinates of the bounding rectangle
  5729. // Notes:
  5730. */
  5731. IPPAPI(IppStatus, ippiGetRotateBound, (IppiRect srcRoi, double bound[2][2], double angle, double xShift, double yShift))
  5732. /* /////////////////////////////////////////////////////////////////////////////
  5733. // Name: ippiRotateCenter
  5734. // Purpose: Rotates an image about an arbitrary center.
  5735. // Context:
  5736. // Returns: IppStatus
  5737. // ippStsNoErr OK
  5738. // ippStsNullPtrErr pSrc or pDst is NULL
  5739. // ippStsSizeErr One of the image dimensions has zero or negative value
  5740. // ippStsStepErr srcStep or dstStep has a zero or negative value
  5741. // ippStsInterpolateErr interpolation has an illegal value
  5742. // Parameters:
  5743. // pSrc Pointer to the source image data (point to pixel (0,0))
  5744. // srcSize Size of the source image
  5745. // srcStep Step through the source image
  5746. // srcRoi Region of interest in the source image
  5747. // pDst Pointer to the destination image (point to pixel (0,0)).
  5748. // dstStep Step through the destination image
  5749. // dstRoi Region of interest in the destination image.
  5750. // angle The angle of clockwise rotation in degrees
  5751. // xCenter, yCenter Center of rotation coordinates
  5752. // interpolation The type of interpolation to perform for resampling
  5753. // the input image. Possible values:
  5754. // IPPI_INTER_NN Nearest neighbor interpolation.
  5755. // IPPI_INTER_LINEAR Linear interpolation.
  5756. // IPPI_INTER_CUBIC Cubic convolution interpolation.
  5757. // IPPI_SMOOTH_EDGE Edges smoothing in addition to one of the
  5758. // above methods
  5759. // Notes:
  5760. */
  5761. IPPAPI(IppStatus, ippiRotateCenter_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5762. IPPAPI(IppStatus, ippiRotateCenter_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5763. IPPAPI(IppStatus, ippiRotateCenter_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5764. IPPAPI(IppStatus, ippiRotateCenter_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[3], int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5765. IPPAPI(IppStatus, ippiRotateCenter_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5766. IPPAPI(IppStatus, ippiRotateCenter_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[4], int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5767. IPPAPI(IppStatus, ippiRotateCenter_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5768. IPPAPI(IppStatus, ippiRotateCenter_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5769. IPPAPI(IppStatus, ippiRotateCenter_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5770. IPPAPI(IppStatus, ippiRotateCenter_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[3], int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5771. IPPAPI(IppStatus, ippiRotateCenter_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5772. IPPAPI(IppStatus, ippiRotateCenter_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[4], int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5773. IPPAPI(IppStatus, ippiRotateCenter_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5774. IPPAPI(IppStatus, ippiRotateCenter_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5775. IPPAPI(IppStatus, ippiRotateCenter_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5776. IPPAPI(IppStatus, ippiRotateCenter_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[3], int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5777. IPPAPI(IppStatus, ippiRotateCenter_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5778. IPPAPI(IppStatus, ippiRotateCenter_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[4], int dstStep, IppiRect dstRoi, double angle, double xCenter, double yCenter, int interpolation))
  5779. /* /////////////////////////////////////////////////////////////////////////////
  5780. // Name: ippiShear
  5781. // Purpose: Performs shear transform of the source image
  5782. // |X'| |1 Shx| |X|
  5783. // | | = | |*| |
  5784. // |Y'| |Shy 1| |Y|
  5785. // Context:
  5786. // Returns: IppStatus.
  5787. // ippStsNoErr OK
  5788. // ippStsNullPtrErr pSrc or pDst is NULL
  5789. // ippStsSizeErr One of the image dimensions has zero or negative value
  5790. // ippStsStepErr srcStep or dstStep has a zero or negative value
  5791. // ippStsInterpolateErr interpolation has an illegal value
  5792. // Parameters:
  5793. // pSrc Pointer to the source image data (point to pixel (0,0))
  5794. // srcSize Size of the source image
  5795. // srcStep Step through the source image
  5796. // srcRoi Region of interest in the source image
  5797. // pDst Pointer to the destination image (point to pixel (0,0)).
  5798. // dstStep Step through the destination image
  5799. // dstRoi Region of interest in the destination image.
  5800. // xShear, yShear Coefficients of the shearing transform
  5801. // xShif, yShift The shift along the corresponding axis
  5802. // interpolation The type of interpolation to perform for resampling
  5803. // the input image. Possible values:
  5804. // IPPI_INTER_NN Nearest neighbor interpolation
  5805. // IPPI_INTER_LINEAR Linear interpolation
  5806. // IPPI_INTER_CUBIC Cubic convolution interpolation
  5807. // IPPI_SMOOTH_EDGE Edges smoothing in addition to one of the
  5808. // above methods
  5809. // Notes:
  5810. */
  5811. IPPAPI(IppStatus, ippiShear_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5812. IPPAPI(IppStatus, ippiShear_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5813. IPPAPI(IppStatus, ippiShear_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5814. IPPAPI(IppStatus, ippiShear_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[3], int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5815. IPPAPI(IppStatus, ippiShear_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5816. IPPAPI(IppStatus, ippiShear_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[4], int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5817. IPPAPI(IppStatus, ippiShear_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5818. IPPAPI(IppStatus, ippiShear_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5819. IPPAPI(IppStatus, ippiShear_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5820. IPPAPI(IppStatus, ippiShear_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[3], int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5821. IPPAPI(IppStatus, ippiShear_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5822. IPPAPI(IppStatus, ippiShear_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[4], int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5823. IPPAPI(IppStatus, ippiShear_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5824. IPPAPI(IppStatus, ippiShear_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5825. IPPAPI(IppStatus, ippiShear_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5826. IPPAPI(IppStatus, ippiShear_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[3], int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5827. IPPAPI(IppStatus, ippiShear_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5828. IPPAPI(IppStatus, ippiShear_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[4], int dstStep, IppiRect dstRoi, double xShear, double yShear, double xShift, double yShift, int interpolation))
  5829. /* /////////////////////////////////////////////////////////////////////////////
  5830. // Name: ippiGetShearQuad
  5831. // Purpose: Computes the quadrangle to which the source ROI would be mapped
  5832. // Context:
  5833. // Returns: IppStatus
  5834. // ippStsNoErr OK
  5835. // Parameters:
  5836. // srcRoi Source image ROI
  5837. // xShear, yShear The coefficients of the shear transform
  5838. // xShift, yShift The shift along the corresponding axis
  5839. // quad Output array with vertex coordinates of the quadrangle
  5840. // Notes:
  5841. */
  5842. IPPAPI(IppStatus, ippiGetShearQuad, (IppiRect srcRoi, double quad[4][2], double xShear, double yShear, double xShift, double yShift))
  5843. /* /////////////////////////////////////////////////////////////////////////////
  5844. // Name: ippiGetShearBound
  5845. // Purpose: Computes the bounding rectangle for the transformed image ROI
  5846. // Context:
  5847. // Returns: IppStatus
  5848. // ippStsNoErr OK
  5849. // Parameters:
  5850. // srcRoi Source image ROI
  5851. // xShear, yShear The coefficients of the shear transform
  5852. // xShift, yShift The shift along the corresponding axis
  5853. // bound Output array with vertex coordinates of the bounding rectangle
  5854. // Notes:
  5855. */
  5856. IPPAPI(IppStatus, ippiGetShearBound, (IppiRect srcRoi, double bound[2][2], double xShear, double yShear, double xShift, double yShift))
  5857. /* /////////////////////////////////////////////////////////////////////////////
  5858. // Name: ippiGetPerspectiveBound
  5859. // Purpose: Computes the bounding rectangle for the transformed image ROI
  5860. // Context:
  5861. // Returns: IppStatus.
  5862. // ippStsNoErr OK
  5863. // Parameters:
  5864. // srcRoi Source image ROI.
  5865. // coeffs The perspective transform matrix
  5866. // a11*j + a12*i + a13
  5867. // x = -------------------
  5868. // a31*j + a32*i + a33
  5869. //
  5870. // a21*j + a22*i + a23
  5871. // y = -------------------
  5872. // a31*j + a32*i + a33
  5873. // bound Output array with vertex coordinates of the bounding rectangle
  5874. // Notes:
  5875. */
  5876. IPPAPI(IppStatus, ippiGetPerspectiveBound, (IppiRect srcRoi, double bound[2][2], const double coeffs[3][3]))
  5877. /* /////////////////////////////////////////////////////////////////////////////
  5878. // Name: ippiGetPerspectiveQuad
  5879. // Purpose: Computes the quadrangle to which the source ROI would be mapped
  5880. // Context:
  5881. // Returns: IppStatus
  5882. // ippStsNoErr OK
  5883. // Parameters:
  5884. // srcRoi Source image ROI
  5885. // coeffs The perspective transform matrix
  5886. // a11*j + a12*i + a13
  5887. // x = -------------------
  5888. // a31*j + a32*i + a33
  5889. //
  5890. // a21*j + a22*i + a23
  5891. // y = -------------------
  5892. // a31*j + a32*i + a33
  5893. // quadr Output array with vertex coordinates of the quadrangle
  5894. // Notes:
  5895. */
  5896. IPPAPI(IppStatus, ippiGetPerspectiveQuad, (IppiRect srcRoi, double quad[4][2], const double coeffs[3][3]))
  5897. /* /////////////////////////////////////////////////////////////////////////////
  5898. // Name: ippiGetPerspectiveTransform
  5899. // Purpose: Computes perspective transform matrix to transform the source ROI
  5900. // to the given quadrangle
  5901. // Context:
  5902. // Returns: IppStatus.
  5903. // ippStsNoErr OK
  5904. // Parameters:
  5905. // srcRoi Source image ROI.
  5906. // coeffs The resultant perspective transform matrix
  5907. // a11*j + a12*i + a13
  5908. // x = -------------------
  5909. // a31*j + a32*i + a33
  5910. //
  5911. // a21*j + a22*i + a23
  5912. // y = -------------------
  5913. // a31*j + a32*i + a33
  5914. // quad Vertex coordinates of the quadrangle
  5915. // Notes:
  5916. */
  5917. IPPAPI(IppStatus, ippiGetPerspectiveTransform, (IppiRect srcRoi, const double quad[4][2], double coeffs[3][3]))
  5918. /* /////////////////////////////////////////////////////////////////////////////
  5919. // Name: ippiWarpPerspective
  5920. // Purpose: Performs perspective warping of an image
  5921. // a11*j + a12*i + a13
  5922. // x = -------------------
  5923. // a31*j + a32*i + a33
  5924. //
  5925. // a21*j + a22*i + a23
  5926. // y = -------------------
  5927. // a31*j + a32*i + a33
  5928. // Context:
  5929. // Returns: IppStatus
  5930. // ippStsNoErr OK
  5931. // ippStsNullPtrErr pSrc or pDst is NULL
  5932. // ippStsSizeErr One of the image dimensions has zero or negative value
  5933. // ippStsStepErr srcStep or dstStep has a zero or negative value
  5934. // ippStsInterpolateErr interpolation has an illegal value
  5935. // Parameters:
  5936. // pSrc Pointer to the source image data (point to pixel (0,0))
  5937. // srcSize Size of the source image
  5938. // srcStep Step through the source image
  5939. // srcRoi Region of interest in the source image
  5940. // pDst Pointer to the destination image (point to pixel (0,0))
  5941. // dstStep Step through the destination image
  5942. // dstRoi Region of interest in the destination image
  5943. // coeffs The perspective transform matrix
  5944. // interpolation The type of interpolation to perform for resampling
  5945. // the input image. Possible values:
  5946. // IPPI_INTER_NN Nearest neighbor interpolation
  5947. // IPPI_INTER_LINEAR Linear interpolation
  5948. // IPPI_INTER_CUBIC Cubic convolution interpolation
  5949. // IPPI_SMOOTH_EDGE Edges smoothing in addition to one of the
  5950. // above methods
  5951. // Notes:
  5952. */
  5953. IPPAPI(IppStatus, ippiWarpPerspective_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5954. IPPAPI(IppStatus, ippiWarpPerspective_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5955. IPPAPI(IppStatus, ippiWarpPerspective_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5956. IPPAPI(IppStatus, ippiWarpPerspective_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5957. IPPAPI(IppStatus, ippiWarpPerspective_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5958. IPPAPI(IppStatus, ippiWarpPerspective_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5959. IPPAPI(IppStatus, ippiWarpPerspective_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5960. IPPAPI(IppStatus, ippiWarpPerspective_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5961. IPPAPI(IppStatus, ippiWarpPerspective_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5962. IPPAPI(IppStatus, ippiWarpPerspective_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5963. IPPAPI(IppStatus, ippiWarpPerspective_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5964. IPPAPI(IppStatus, ippiWarpPerspective_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5965. IPPAPI(IppStatus, ippiWarpPerspective_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5966. IPPAPI(IppStatus, ippiWarpPerspective_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5967. IPPAPI(IppStatus, ippiWarpPerspective_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5968. IPPAPI(IppStatus, ippiWarpPerspective_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5969. IPPAPI(IppStatus, ippiWarpPerspective_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5970. IPPAPI(IppStatus, ippiWarpPerspective_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  5971. /* /////////////////////////////////////////////////////////////////////////////
  5972. // Name: ippiWarpPerspectiveBack
  5973. // Purpose: Performs an inverse perspective warping of an image
  5974. // a11*j + a12*i + a13
  5975. // x = -------------------
  5976. // a31*j + a32*i + a33
  5977. //
  5978. // a21*j + a22*i + a23
  5979. // y = -------------------
  5980. // a31*j + a32*i + a33
  5981. // Context:
  5982. // Returns: IppStatus
  5983. // ippStsNoErr OK
  5984. // ippStsNullPtrErr pSrc or pDst is NULL
  5985. // ippStsSizeErr One of the image dimensions has zero or negative value
  5986. // ippStsStepErr srcStep or dstStep has a zero or negative value
  5987. // ippStsInterpolateErr interpolation has an illegal value
  5988. // Parameters:
  5989. // pSrc Pointer to the source image data (point to pixel (0,0))
  5990. // srcSize Size of the source image
  5991. // srcStep Step through the source image
  5992. // srcRoi Region of interest in the source image
  5993. // pDst Pointer to the destination image (point to pixel (0,0))
  5994. // dstStep Step through the destination image
  5995. // dstRoi Region of interest in the destination image
  5996. // coeffs The perspective transform matrix
  5997. // interpolation The type of interpolation to perform for resampling
  5998. // the input image. Possible values:
  5999. // IPPI_INTER_NN Nearest neighbor interpolation
  6000. // IPPI_INTER_LINEAR Linear interpolation
  6001. // IPPI_INTER_CUBIC Cubic convolution interpolation
  6002. // Notes:
  6003. */
  6004. IPPAPI(IppStatus, ippiWarpPerspectiveBack_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6005. IPPAPI(IppStatus, ippiWarpPerspectiveBack_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6006. IPPAPI(IppStatus, ippiWarpPerspectiveBack_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6007. IPPAPI(IppStatus, ippiWarpPerspectiveBack_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6008. IPPAPI(IppStatus, ippiWarpPerspectiveBack_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6009. IPPAPI(IppStatus, ippiWarpPerspectiveBack_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6010. IPPAPI(IppStatus, ippiWarpPerspectiveBack_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6011. IPPAPI(IppStatus, ippiWarpPerspectiveBack_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6012. IPPAPI(IppStatus, ippiWarpPerspectiveBack_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6013. IPPAPI(IppStatus, ippiWarpPerspectiveBack_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6014. IPPAPI(IppStatus, ippiWarpPerspectiveBack_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6015. IPPAPI(IppStatus, ippiWarpPerspectiveBack_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6016. IPPAPI(IppStatus, ippiWarpPerspectiveBack_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6017. IPPAPI(IppStatus, ippiWarpPerspectiveBack_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6018. IPPAPI(IppStatus, ippiWarpPerspectiveBack_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6019. IPPAPI(IppStatus, ippiWarpPerspectiveBack_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6020. IPPAPI(IppStatus, ippiWarpPerspectiveBack_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6021. IPPAPI(IppStatus, ippiWarpPerspectiveBack_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[3][3], int interpolation))
  6022. /* ///////////////////////////////////////////////////////////////////////////////
  6023. // Name: ippiWarpPerspectiveQuad
  6024. // Purpose: Performs perspective warping of an arbitrary quadrangle in the source
  6025. // image to the quadrangle in the destination image
  6026. // a11*j + a12*i + a13
  6027. // x = -------------------
  6028. // a31*j + a32*i + a33
  6029. //
  6030. // a21*j + a22*i + a23
  6031. // y = -------------------
  6032. // a31*j + a32*i + a33
  6033. // Context:
  6034. // ippStsNoErr OK
  6035. // ippStsNullPtrErr pSrc or pDst is NULL
  6036. // ippStsSizeErr One of the image dimensions has zero or negative value
  6037. // ippStsStepErr srcStep or dstStep has a zero or negative value
  6038. // ippStsInterpolateErr interpolation has an illegal value
  6039. // Parameters:
  6040. // pSrc Pointer to the source image data (point to the pixel (0,0))
  6041. // srcSize Size of the source image
  6042. // srcStep Step through the source image
  6043. // srcRoi Region of interest in the source image
  6044. // srcQuad Vertex coordinates of a given quadrangle in the source image
  6045. // pDst Pointer to the destination image (point to the pixel (0,0))
  6046. // dstStep Step through the destination image
  6047. // dstRoi Region of interest in the destination image
  6048. // dstQuad Vertex coordinates of the given quadrangle in the destination image
  6049. // interpolation The type of interpolation to perform for resampling
  6050. // the input image. Possible values:
  6051. // IPPI_INTER_NN Nearest neighbor interpolation
  6052. // IPPI_INTER_LINEAR Linear interpolation
  6053. // IPPI_INTER_CUBIC Cubic convolution interpolation
  6054. // Notes:
  6055. */
  6056. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6057. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6058. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6059. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* const pDst[3], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6060. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6061. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* const pDst[4], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6062. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6063. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6064. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6065. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* const pDst[3], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6066. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6067. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* const pDst[4], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6068. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6069. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6070. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6071. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* const pDst[3], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6072. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6073. IPPAPI(IppStatus, ippiWarpPerspectiveQuad_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* const pDst[4], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6074. /* /////////////////////////////////////////////////////////////////////////////
  6075. // Name: ippiGetBilinearBound
  6076. // Purpose: Computes the bounding rectangle for the transformed image ROI
  6077. // Context:
  6078. // Returns: IppStatus.
  6079. // ippStsNoErr OK
  6080. // Parameters:
  6081. // srcRoi Source image ROI.
  6082. // coeffs The bilinear transform matrix
  6083. // |X| |a11| |a12 a13| |J| |a14|
  6084. // | | = | |*JI + | |*| | + | |
  6085. // |Y| |a21| |a22 a23| |I| |a24|
  6086. // bound Output array with vertex coordinates of the bounding rectangle
  6087. // Notes:
  6088. */
  6089. IPPAPI(IppStatus, ippiGetBilinearBound, (IppiRect srcRoi, double bound[2][2], const double coeffs[2][4]))
  6090. /* /////////////////////////////////////////////////////////////////////////////
  6091. // Name: ippiGetBilinearQuad
  6092. // Purpose: Computes the quadrangle to which the source ROI would be mapped
  6093. // Context:
  6094. // Returns: IppStatus.
  6095. // ippStsNoErr OK
  6096. // Parameters:
  6097. // srcRoi Source image ROI.
  6098. // coeffs The bilinear transform matrix
  6099. // |X| |a11| |a12 a13| |J| |a14|
  6100. // | | = | |*JI + | |*| | + | |
  6101. // |Y| |a21| |a22 a23| |I| |a24|
  6102. // quadr Output array with vertex coordinates of the quadrangle
  6103. // Notes:
  6104. */
  6105. IPPAPI(IppStatus, ippiGetBilinearQuad, (IppiRect srcRoi, double quad[4][2], const double coeffs[2][4]))
  6106. /* /////////////////////////////////////////////////////////////////////////////
  6107. // Name: ippiGetBilinearTransform
  6108. // Purpose: Computes bilinear transform matrix to transform the source ROI
  6109. // to the given quadrangle
  6110. // Context:
  6111. // Returns: IppStatus.
  6112. // ippStsNoErr OK
  6113. // Parameters:
  6114. // srcRoi Source image ROI.
  6115. // coeffs The resultant bilinear transform matrix
  6116. // |X| |a11| |a12 a13| |J| |a14|
  6117. // | | = | |*JI + | |*| | + | |
  6118. // |Y| |a21| |a22 a23| |I| |a24|
  6119. // quad Vertex coordinates of the quadrangle
  6120. // Notes:
  6121. */
  6122. IPPAPI(IppStatus, ippiGetBilinearTransform, (IppiRect srcRoi,const double quad[4][2], double coeffs[2][4]))
  6123. /* /////////////////////////////////////////////////////////////////////////////
  6124. // Name: ippiWarpBilinear
  6125. // Purpose: Performs bilinear warping of an image
  6126. // |X| |a11| |a12 a13| |J| |a14|
  6127. // | | = | |*JI + | |*| | + | |
  6128. // |Y| |a21| |a22 a23| |I| |a24|
  6129. // Context:
  6130. // ippStsNoErr OK
  6131. // ippStsNullPtrErr pSrc or pDst is NULL
  6132. // ippStsSizeErr One of the image dimensions has zero or negative value
  6133. // ippStsStepErr srcStep or dstStep has a zero or negative value
  6134. // ippStsInterpolateErr interpolation has an illegal value
  6135. // Parameters:
  6136. // pSrc Pointer to the source image data (point to pixel (0,0))
  6137. // srcSize Size of the source image
  6138. // srcStep Step through the source image
  6139. // srcRoi Region of interest in the source image
  6140. // pDst Pointer to the destination image (point to pixel (0,0))
  6141. // dstStep Step through the destination image
  6142. // dstRoi Region of interest in the destination image
  6143. // coeffs The bilinear transform matrix
  6144. // interpolation The type of interpolation to perform for resampling
  6145. // the input image. Possible values:
  6146. // IPPI_INTER_NN Nearest neighbor interpolation
  6147. // IPPI_INTER_LINEAR Linear interpolation
  6148. // IPPI_INTER_CUBIC Cubic convolution interpolation
  6149. // IPPI_SMOOTH_EDGE Edges smoothing in addition to one of the
  6150. // above methods
  6151. // Notes:
  6152. */
  6153. IPPAPI(IppStatus, ippiWarpBilinear_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6154. IPPAPI(IppStatus, ippiWarpBilinear_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6155. IPPAPI(IppStatus, ippiWarpBilinear_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6156. IPPAPI(IppStatus, ippiWarpBilinear_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6157. IPPAPI(IppStatus, ippiWarpBilinear_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6158. IPPAPI(IppStatus, ippiWarpBilinear_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6159. IPPAPI(IppStatus, ippiWarpBilinear_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6160. IPPAPI(IppStatus, ippiWarpBilinear_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6161. IPPAPI(IppStatus, ippiWarpBilinear_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6162. IPPAPI(IppStatus, ippiWarpBilinear_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6163. IPPAPI(IppStatus, ippiWarpBilinear_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6164. IPPAPI(IppStatus, ippiWarpBilinear_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6165. IPPAPI(IppStatus, ippiWarpBilinear_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6166. IPPAPI(IppStatus, ippiWarpBilinear_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6167. IPPAPI(IppStatus, ippiWarpBilinear_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6168. IPPAPI(IppStatus, ippiWarpBilinear_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6169. IPPAPI(IppStatus, ippiWarpBilinear_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6170. IPPAPI(IppStatus, ippiWarpBilinear_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6171. /* /////////////////////////////////////////////////////////////////////////////
  6172. // Name: ippiWarpBilinearBack
  6173. // Purpose: Performs an inverse bilinear warping of an image
  6174. // |X| |a11| |a12 a13| |J| |a14|
  6175. // | | = | |*JI + | |*| | + | |
  6176. // |Y| |a21| |a22 a23| |I| |a24|
  6177. // Context:
  6178. // ippStsNoErr OK
  6179. // ippStsNullPtrErr pSrc or pDst is NULL
  6180. // ippStsSizeErr One of the image dimensions has zero or negative value
  6181. // ippStsStepErr srcStep or dstStep has a zero or negative value
  6182. // ippStsInterpolateErr interpolation has an illegal value
  6183. // Parameters:
  6184. // pSrc Pointer to the source image data (point to pixel (0,0))
  6185. // srcSize Size of the source image
  6186. // srcStep Step through the source image
  6187. // srcRoi Region of interest in the source image
  6188. // pDst Pointer to the destination image (point to pixel (0,0))
  6189. // dstStep Step through the destination image
  6190. // dstRoi Region of interest in the destination image
  6191. // coeffs The bilinear transform matrix
  6192. // interpolation The type of interpolation to perform for resampling
  6193. // the input image. Possible values:
  6194. // IPPI_INTER_NN Nearest neighbor interpolation
  6195. // IPPI_INTER_LINEAR Linear interpolation
  6196. // IPPI_INTER_CUBIC Cubic convolution interpolation
  6197. // Notes:
  6198. */
  6199. IPPAPI(IppStatus, ippiWarpBilinearBack_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6200. IPPAPI(IppStatus, ippiWarpBilinearBack_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6201. IPPAPI(IppStatus, ippiWarpBilinearBack_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6202. IPPAPI(IppStatus, ippiWarpBilinearBack_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6203. IPPAPI(IppStatus, ippiWarpBilinearBack_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6204. IPPAPI(IppStatus, ippiWarpBilinearBack_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp8u* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6205. IPPAPI(IppStatus, ippiWarpBilinearBack_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6206. IPPAPI(IppStatus, ippiWarpBilinearBack_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6207. IPPAPI(IppStatus, ippiWarpBilinearBack_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6208. IPPAPI(IppStatus, ippiWarpBilinearBack_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6209. IPPAPI(IppStatus, ippiWarpBilinearBack_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6210. IPPAPI(IppStatus, ippiWarpBilinearBack_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp32f* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6211. IPPAPI(IppStatus, ippiWarpBilinearBack_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6212. IPPAPI(IppStatus, ippiWarpBilinearBack_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6213. IPPAPI(IppStatus, ippiWarpBilinearBack_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6214. IPPAPI(IppStatus, ippiWarpBilinearBack_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[3], int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6215. IPPAPI(IppStatus, ippiWarpBilinearBack_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6216. IPPAPI(IppStatus, ippiWarpBilinearBack_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, Ipp16u* const pDst[4], int dstStep, IppiRect dstRoi, const double coeffs[2][4], int interpolation))
  6217. /* /////////////////////////////////////////////////////////////////////////////
  6218. // Name: ippiWarpBilinearQuad
  6219. // Purpose: Performs bilinear warping of an arbitrary quadrangle in the source
  6220. // image to the quadrangle in the destination image
  6221. // |X| |a11| |a12 a13| |J| |a14|
  6222. // | | = | |*JI + | |*| | + | |
  6223. // |Y| |a21| |a22 a23| |I| |a24|
  6224. // Context:
  6225. // ippStsNoErr OK
  6226. // ippStsNullPtrErr pSrc or pDst is NULL
  6227. // ippStsSizeErr One of the image dimensions has zero or negative value
  6228. // ippStsStepErr srcStep or dstStep has a zero or negative value
  6229. // ippStsInterpolateErr interpolation has an illegal value
  6230. // Parameters:
  6231. // pSrc Pointer to the source image data (point to pixel (0,0))
  6232. // srcSize Size of the source image
  6233. // srcStep Step through the source image
  6234. // srcRoi Region of interest in the source image
  6235. // srcQuad A given quadrangle in the source image
  6236. // pDst Pointer to the destination image (point to pixel (0,0))
  6237. // dstStep Step through the destination image
  6238. // dstRoi Region of interest in the destination image
  6239. // dstQuad A given quadrangle in the destination image
  6240. // interpolation The type of interpolation to perform for resampling
  6241. // the input image. Possible values:
  6242. // IPPI_INTER_NN Nearest neighbor interpolation
  6243. // IPPI_INTER_LINEAR Linear interpolation
  6244. // IPPI_INTER_CUBIC Cubic convolution interpolation
  6245. // IPPI_SMOOTH_EDGE Edges smoothing in addition to one of the
  6246. // above methods
  6247. // Notes:
  6248. */
  6249. IPPAPI(IppStatus, ippiWarpBilinearQuad_8u_C1R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6250. IPPAPI(IppStatus, ippiWarpBilinearQuad_8u_C3R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6251. IPPAPI(IppStatus, ippiWarpBilinearQuad_8u_AC4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6252. IPPAPI(IppStatus, ippiWarpBilinearQuad_8u_P3R, (const Ipp8u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* const pDst[3], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6253. IPPAPI(IppStatus, ippiWarpBilinearQuad_8u_C4R, (const Ipp8u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6254. IPPAPI(IppStatus, ippiWarpBilinearQuad_8u_P4R, (const Ipp8u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp8u* const pDst[4], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6255. IPPAPI(IppStatus, ippiWarpBilinearQuad_32f_C1R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6256. IPPAPI(IppStatus, ippiWarpBilinearQuad_32f_C3R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6257. IPPAPI(IppStatus, ippiWarpBilinearQuad_32f_AC4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6258. IPPAPI(IppStatus, ippiWarpBilinearQuad_32f_P3R, (const Ipp32f* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* const pDst[3], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6259. IPPAPI(IppStatus, ippiWarpBilinearQuad_32f_C4R, (const Ipp32f* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6260. IPPAPI(IppStatus, ippiWarpBilinearQuad_32f_P4R, (const Ipp32f* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp32f* const pDst[4], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6261. IPPAPI(IppStatus, ippiWarpBilinearQuad_16u_C1R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6262. IPPAPI(IppStatus, ippiWarpBilinearQuad_16u_C3R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6263. IPPAPI(IppStatus, ippiWarpBilinearQuad_16u_AC4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6264. IPPAPI(IppStatus, ippiWarpBilinearQuad_16u_P3R, (const Ipp16u* const pSrc[3], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* const pDst[3], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6265. IPPAPI(IppStatus, ippiWarpBilinearQuad_16u_C4R, (const Ipp16u* pSrc, IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* pDst, int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6266. IPPAPI(IppStatus, ippiWarpBilinearQuad_16u_P4R, (const Ipp16u* const pSrc[4], IppiSize srcSize, int srcStep, IppiRect srcRoi, const double srcQuad[4][2], Ipp16u* const pDst[4], int dstStep, IppiRect dstRoi, const double dstQuad[4][2], int interpolation))
  6267. /* /////////////////////////////////////////////////////////////////////////////
  6268. // Statistic functions
  6269. ///////////////////////////////////////////////////////////////////////////// */
  6270. #if !defined( _OWN_BLDPCS )
  6271. struct MomentState64f;
  6272. struct MomentState64s;
  6273. typedef struct MomentState64f IppiMomentState_64f;
  6274. typedef struct MomentState64s IppiMomentState_64s;
  6275. typedef Ipp64f IppiHuMoment_64f[7];
  6276. typedef Ipp64s IppiHuMoment_64s[7];
  6277. #endif /* _OWN_BLDPCS */
  6278. /* /////////////////////////////////////////////////////////////////////////////
  6279. // Name: ippiMomentInitAlloc()
  6280. //
  6281. // Purpose: Allocates memory and initializes MomentState structure
  6282. //
  6283. // Returns:
  6284. // ippStsMemAllocErr Memory allocation failure
  6285. // ippStsNoErr No errors
  6286. //
  6287. // Parameters:
  6288. // hint Option to specify the computation algorithm
  6289. // pState Pointer to the MomentState structure
  6290. */
  6291. IPPAPI(IppStatus, ippiMomentInitAlloc_64f, (IppiMomentState_64f** pState, IppHintAlgorithm hint))
  6292. IPPAPI(IppStatus, ippiMomentInitAlloc_64s, (IppiMomentState_64s** pState, IppHintAlgorithm hint))
  6293. /* /////////////////////////////////////////////////////////////////////////////
  6294. // Name: ippiMomentFree()
  6295. //
  6296. // Purpose: Deallocates the MomentState structure
  6297. //
  6298. // Returns:
  6299. // ippStsNullPtrErr pState==NULL
  6300. // ippStsContextMatchErr pState->idCtx != idCtxMoment
  6301. // ippStsNoErr No errors
  6302. //
  6303. // Parameters:
  6304. // pState Pointer to the MomentState structure
  6305. //
  6306. */
  6307. IPPAPI (IppStatus, ippiMomentFree_64f, (IppiMomentState_64f* pState))
  6308. IPPAPI (IppStatus, ippiMomentFree_64s, (IppiMomentState_64s* pState))
  6309. /* /////////////////////////////////////////////////////////////////////////////
  6310. // Name: ippiMomentGetStateSize_64s
  6311. //
  6312. // Purpose: Computes the size of the external buffer for the state
  6313. // structure ippiMomentsState_64s in bytes
  6314. //
  6315. // Returns:
  6316. // ippStsNoErr OK
  6317. // ippStsNullPtrErr pSize==NULL
  6318. // Parameters:
  6319. // hint Option to specify the computation algorithm
  6320. // pSize Pointer to the value of the buffer size
  6321. // of the structure ippiMomentState_64s.
  6322. */
  6323. IPPAPI(IppStatus, ippiMomentGetStateSize_64s,
  6324. (IppHintAlgorithm hint, int * pSize))
  6325. /* ////////////////////////////////////////////////////////////////////////////////////
  6326. // Name: ippiMomentInit64s
  6327. //
  6328. // Purpose: Initializes ippiMomentState_64s structure (without memory allocation)
  6329. //
  6330. // Returns:
  6331. // ippStsNoErr No errors
  6332. //
  6333. // Parameters:
  6334. // pState Pointer to the MomentState structure
  6335. // hint Option to specify the computation algorithm
  6336. */
  6337. IPPAPI (IppStatus, ippiMomentInit_64s,
  6338. (IppiMomentState_64s* pState, IppHintAlgorithm hint))
  6339. /* /////////////////////////////////////////////////////////////////////////////
  6340. // Name: ippiMoments
  6341. //
  6342. // Purpose: Computes statistical moments of an image
  6343. //
  6344. // Returns:
  6345. // ippStsContextMatchErr pState->idCtx != idCtxMoment
  6346. // ippStsNullPtrErr (pSrc == NULL) or (pState == NULL)
  6347. // ippStsStepErr pSrcStep <0
  6348. // ippStsSizeErr (roiSize.width <1) or (roiSize.height <1)
  6349. // ippStsNoErr No errors
  6350. //
  6351. // Parameters:
  6352. // pSrc Pointer to the source image
  6353. // srcStep Step in bytes through the source image
  6354. // roiSize Size of the source ROI
  6355. // pState Pointer to the MomentState structure
  6356. //
  6357. // Notes:
  6358. // These functions compute moments of order 0 to 3 only
  6359. //
  6360. */
  6361. IPPAPI(IppStatus,ippiMoments64f_8u_C1R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, IppiMomentState_64f* pCtx))
  6362. IPPAPI(IppStatus,ippiMoments64f_8u_C3R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, IppiMomentState_64f* pCtx))
  6363. IPPAPI(IppStatus,ippiMoments64f_8u_AC4R,(const Ipp8u* pSrc, int srcStep, IppiSize roiSize, IppiMomentState_64f* pCtx))
  6364. IPPAPI(IppStatus,ippiMoments64f_32f_C1R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, IppiMomentState_64f* pCtx))
  6365. IPPAPI(IppStatus,ippiMoments64f_32f_C3R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, IppiMomentState_64f* pCtx))
  6366. IPPAPI(IppStatus,ippiMoments64f_32f_AC4R,(const Ipp32f* pSrc, int srcStep, IppiSize roiSize, IppiMomentState_64f* pCtx))
  6367. IPPAPI(IppStatus,ippiMoments64s_8u_C1R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, IppiMomentState_64s* pCtx))
  6368. IPPAPI(IppStatus,ippiMoments64s_8u_C3R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, IppiMomentState_64s* pCtx))
  6369. IPPAPI(IppStatus,ippiMoments64s_8u_AC4R,(const Ipp8u* pSrc, int srcStep, IppiSize roiSize, IppiMomentState_64s* pCtx))
  6370. IPPAPI(IppStatus,ippiMoments64f_16u_C1R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, IppiMomentState_64f* pCtx))
  6371. IPPAPI(IppStatus,ippiMoments64f_16u_C3R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, IppiMomentState_64f* pCtx))
  6372. IPPAPI(IppStatus,ippiMoments64f_16u_AC4R,(const Ipp16u* pSrc, int srcStep, IppiSize roiSize, IppiMomentState_64f* pCtx))
  6373. IPPAPI(IppStatus,ippiMoments64s_16u_C1R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, IppiMomentState_64s* pCtx))
  6374. IPPAPI(IppStatus,ippiMoments64s_16u_C3R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, IppiMomentState_64s* pCtx))
  6375. IPPAPI(IppStatus,ippiMoments64s_16u_AC4R,(const Ipp16u* pSrc, int srcStep, IppiSize roiSize, IppiMomentState_64s* pCtx))
  6376. /* /////////////////////////////////////////////////////////////////////////////
  6377. // Name: ippiGetSpatialMoment()
  6378. // ippiGetCentralMoment()
  6379. //
  6380. // Purpose: Retrieves the value of the image spatial/central moment.
  6381. //
  6382. // Returns:
  6383. // ippStsNullPtrErr (pState == NULL) or (pValue == NULL)
  6384. // ippStsContextMatchErr pState->idCtx != idCtxMoment
  6385. // ippStsSizeErr (mOrd+nOrd) >3 or
  6386. // (nChannel<0) or (nChannel>=pState->nChannelInUse)
  6387. // ippStsNoErr No errors
  6388. //
  6389. // Parameters:
  6390. // pState Pointer to the MomentState structure
  6391. // mOrd m- Order (X direction)
  6392. // nOrd n- Order (Y direction)
  6393. // nChannel Channel number
  6394. // roiOffset Offset of the ROI origin (ippiGetSpatialMoment ONLY!)
  6395. // pValue Pointer to the retrieved moment value
  6396. // scaleFactor Factor to scale the moment value (for integer data)
  6397. //
  6398. // NOTE:
  6399. // ippiGetSpatialMoment uses Absolute Coordinates (left-top image has 0,0).
  6400. //
  6401. */
  6402. IPPAPI(IppStatus,ippiGetSpatialMoment_64f,(const IppiMomentState_64f* pState,
  6403. int mOrd, int nOrd, int nChannel,
  6404. IppiPoint roiOffset, Ipp64f* pValue))
  6405. IPPAPI(IppStatus,ippiGetCentralMoment_64f,(const IppiMomentState_64f* pState,
  6406. int mOrd, int nOrd, int nChannel,
  6407. Ipp64f* pValue))
  6408. IPPAPI(IppStatus,ippiGetSpatialMoment_64s,(const IppiMomentState_64s* pState,
  6409. int mOrd, int nOrd, int nChannel,
  6410. IppiPoint roiOffset, Ipp64s* pValue, int scaleFactor))
  6411. IPPAPI(IppStatus,ippiGetCentralMoment_64s,(const IppiMomentState_64s* pState,
  6412. int mOrd, int nOrd, int nChannel,
  6413. Ipp64s* pValue, int scaleFactor))
  6414. /* /////////////////////////////////////////////////////////////////////////////
  6415. // Name: ippiGetNormalizedSpatialMoment()
  6416. // ippiGetNormalizedCentralMoment()
  6417. //
  6418. // Purpose: Retrieves the normalized value of the image spatial/central moment.
  6419. //
  6420. // Returns:
  6421. // ippStsNullPtrErr (pState == NULL) or (pValue == NULL)
  6422. // ippStsContextMatchErr pState->idCtx != idCtxMoment
  6423. // ippStsSizeErr (mOrd+nOrd) >3 or
  6424. // (nChannel<0) or (nChannel>=pState->nChannelInUse)
  6425. // ippStsMoment00ZeroErr mm[0][0] < IPP_EPS52
  6426. // ippStsNoErr No errors
  6427. //
  6428. // Parameters:
  6429. // pState Pointer to the MomentState structure
  6430. // mOrd m- Order (X direction)
  6431. // nOrd n- Order (Y direction)
  6432. // nChannel Channel number
  6433. // roiOffset Offset of the ROI origin (ippiGetSpatialMoment ONLY!)
  6434. // pValue Pointer to the normalized moment value
  6435. // scaleFactor Factor to scale the moment value (for integer data)
  6436. //
  6437. */
  6438. IPPAPI(IppStatus,ippiGetNormalizedSpatialMoment_64f,(const IppiMomentState_64f* pState,
  6439. int mOrd, int nOrd, int nChannel,
  6440. IppiPoint roiOffset, Ipp64f* pValue))
  6441. IPPAPI(IppStatus,ippiGetNormalizedCentralMoment_64f,(const IppiMomentState_64f* pState,
  6442. int mOrd, int nOrd, int nChannel,
  6443. Ipp64f* pValue))
  6444. IPPAPI(IppStatus,ippiGetNormalizedSpatialMoment_64s,(const IppiMomentState_64s* pState,
  6445. int mOrd, int nOrd, int nChannel,
  6446. IppiPoint roiOffset, Ipp64s* pValue, int scaleFactor))
  6447. IPPAPI(IppStatus,ippiGetNormalizedCentralMoment_64s,(const IppiMomentState_64s* pState,
  6448. int mOrd, int nOrd, int nChannel,
  6449. Ipp64s* pValue, int scaleFactor))
  6450. /* /////////////////////////////////////////////////////////////////////////////
  6451. // Name: ippiGetHuMoments()
  6452. //
  6453. // Purpose: Retrieves image Hu moment invariants.
  6454. //
  6455. // Returns:
  6456. // ippStsNullPtrErr (pState == NULL) or (pHu == NULL)
  6457. // ippStsContextMatchErr pState->idCtx != idCtxMoment
  6458. // ippStsSizeErr (nChannel<0) or (nChannel>=pState->nChannelInUse)
  6459. // ippStsMoment00ZeroErr mm[0][0] < IPP_EPS52
  6460. // ippStsNoErr No errors
  6461. //
  6462. // Parameters:
  6463. // pState Pointer to the MomentState structure
  6464. // nChannel Channel number
  6465. // pHm Pointer to the array of the Hu moment invariants
  6466. // scaleFactor Factor to scale the moment value (for integer data)
  6467. //
  6468. // Notes:
  6469. // We consider Hu moments up to the 7-th order only
  6470. */
  6471. IPPAPI(IppStatus,ippiGetHuMoments_64f,(const IppiMomentState_64f* pState,
  6472. int nChannel, IppiHuMoment_64f pHm))
  6473. IPPAPI(IppStatus,ippiGetHuMoments_64s,(const IppiMomentState_64s* pState,
  6474. int nChannel, IppiHuMoment_64s pHm, int scaleFactor))
  6475. /* /////////////////////////////////////////////////////////////////////////////
  6476. // Name: ippiNorm_Inf
  6477. // Purpose: computes the C-norm of pixel values of the image: n = MAX |src1|
  6478. // Context:
  6479. // Returns: IppStatus
  6480. // ippStsNoErr OK
  6481. // ippStsNullPtrErr One of the pointers is NULL
  6482. // ippStsSizeErr roiSize has a field with zero or negative value
  6483. // Parameters:
  6484. // pSrc Pointer to the source image.
  6485. // srcStep Step through the source image
  6486. // roiSize Size of the source ROI.
  6487. // pValue Pointer to the computed norm (one-channel data)
  6488. // value Array of the computed norms for each channel (multi-channel data)
  6489. // Notes:
  6490. */
  6491. IPPAPI(IppStatus, ippiNorm_Inf_8u_C1R, (const Ipp8u* pSrc, int srcStep,
  6492. IppiSize roiSize, Ipp64f* pValue))
  6493. IPPAPI(IppStatus, ippiNorm_Inf_8u_C3R, (const Ipp8u* pSrc, int srcStep,
  6494. IppiSize roiSize, Ipp64f value[3]))
  6495. IPPAPI(IppStatus, ippiNorm_Inf_8u_AC4R, (const Ipp8u* pSrc, int srcStep,
  6496. IppiSize roiSize, Ipp64f value[3]))
  6497. IPPAPI(IppStatus, ippiNorm_Inf_8u_C4R, (const Ipp8u* pSrc, int srcStep,
  6498. IppiSize roiSize, Ipp64f value[4]))
  6499. IPPAPI(IppStatus, ippiNorm_Inf_16s_C1R, (const Ipp16s* pSrc, int srcStep,
  6500. IppiSize roiSize, Ipp64f* pValue))
  6501. IPPAPI(IppStatus, ippiNorm_Inf_16s_C3R, (const Ipp16s* pSrc, int srcStep,
  6502. IppiSize roiSize, Ipp64f value[3]))
  6503. IPPAPI(IppStatus, ippiNorm_Inf_16s_AC4R, (const Ipp16s* pSrc, int srcStep,
  6504. IppiSize roiSize, Ipp64f value[3]))
  6505. IPPAPI(IppStatus, ippiNorm_Inf_16s_C4R, (const Ipp16s* pSrc, int srcStep,
  6506. IppiSize roiSize, Ipp64f value[4]))
  6507. IPPAPI(IppStatus, ippiNorm_Inf_16u_C1R, (const Ipp16u* pSrc, int srcStep,
  6508. IppiSize roiSize, Ipp64f* pValue))
  6509. IPPAPI(IppStatus, ippiNorm_Inf_16u_C3R, (const Ipp16u* pSrc, int srcStep,
  6510. IppiSize roiSize, Ipp64f value[3]))
  6511. IPPAPI(IppStatus, ippiNorm_Inf_16u_AC4R, (const Ipp16u* pSrc, int srcStep,
  6512. IppiSize roiSize, Ipp64f value[3]))
  6513. IPPAPI(IppStatus, ippiNorm_Inf_16u_C4R, (const Ipp16u* pSrc, int srcStep,
  6514. IppiSize roiSize, Ipp64f value[4]))
  6515. IPPAPI(IppStatus, ippiNorm_Inf_32s_C1R, (const Ipp32s* pSrc, int srcStep,
  6516. IppiSize roiSize, Ipp64f* value))
  6517. IPPAPI(IppStatus, ippiNorm_Inf_32f_C1R, (const Ipp32f* pSrc, int srcStep,
  6518. IppiSize roiSize, Ipp64f* pValue))
  6519. IPPAPI(IppStatus, ippiNorm_Inf_32f_C3R, (const Ipp32f* pSrc, int srcStep,
  6520. IppiSize roiSize, Ipp64f value[3]))
  6521. IPPAPI(IppStatus, ippiNorm_Inf_32f_AC4R, (const Ipp32f* pSrc, int srcStep,
  6522. IppiSize roiSize, Ipp64f value[3]))
  6523. IPPAPI(IppStatus, ippiNorm_Inf_32f_C4R, (const Ipp32f* pSrc, int srcStep,
  6524. IppiSize roiSize, Ipp64f value[4]))
  6525. /* /////////////////////////////////////////////////////////////////////////////
  6526. // Name: ippiNorm_L1
  6527. // Purpose: computes the L1-norm of pixel values of the image: n = SUM |src1|
  6528. // Context:
  6529. // Returns: IppStatus
  6530. // ippStsNoErr OK
  6531. // ippStsNullPtrErr One of the pointers is NULL
  6532. // ippStsSizeErr roiSize has a field with zero or negative value
  6533. // Parameters:
  6534. // pSrc Pointer to the source image.
  6535. // srcStep Step through the source image
  6536. // roiSize Size of the source ROI.
  6537. // pValue Pointer to the computed norm (one-channel data)
  6538. // value Array of the computed norms for each channel (multi-channel data)
  6539. // hint Option to specify the computation algorithm
  6540. // Notes:
  6541. */
  6542. IPPAPI(IppStatus, ippiNorm_L1_8u_C1R, (const Ipp8u* pSrc, int srcStep,
  6543. IppiSize roiSize, Ipp64f* pValue))
  6544. IPPAPI(IppStatus, ippiNorm_L1_8u_C3R, (const Ipp8u* pSrc, int srcStep,
  6545. IppiSize roiSize, Ipp64f value[3]))
  6546. IPPAPI(IppStatus, ippiNorm_L1_8u_AC4R, (const Ipp8u* pSrc, int srcStep,
  6547. IppiSize roiSize, Ipp64f value[3]))
  6548. IPPAPI(IppStatus, ippiNorm_L1_8u_C4R, (const Ipp8u* pSrc, int srcStep,
  6549. IppiSize roiSize, Ipp64f value[4]))
  6550. IPPAPI(IppStatus, ippiNorm_L1_16s_C1R, (const Ipp16s* pSrc, int srcStep,
  6551. IppiSize roiSize, Ipp64f* pValue))
  6552. IPPAPI(IppStatus, ippiNorm_L1_16s_C3R, (const Ipp16s* pSrc, int srcStep,
  6553. IppiSize roiSize, Ipp64f value[3]))
  6554. IPPAPI(IppStatus, ippiNorm_L1_16s_AC4R, (const Ipp16s* pSrc, int srcStep,
  6555. IppiSize roiSize, Ipp64f value[3]))
  6556. IPPAPI(IppStatus, ippiNorm_L1_16s_C4R, (const Ipp16s* pSrc, int srcStep,
  6557. IppiSize roiSize, Ipp64f value[4]))
  6558. IPPAPI(IppStatus, ippiNorm_L1_16u_C1R, (const Ipp16u* pSrc, int srcStep,
  6559. IppiSize roiSize, Ipp64f* pValue))
  6560. IPPAPI(IppStatus, ippiNorm_L1_16u_C3R, (const Ipp16u* pSrc, int srcStep,
  6561. IppiSize roiSize, Ipp64f value[3]))
  6562. IPPAPI(IppStatus, ippiNorm_L1_16u_AC4R, (const Ipp16u* pSrc, int srcStep,
  6563. IppiSize roiSize, Ipp64f value[3]))
  6564. IPPAPI(IppStatus, ippiNorm_L1_16u_C4R, (const Ipp16u* pSrc, int srcStep,
  6565. IppiSize roiSize, Ipp64f value[4]))
  6566. IPPAPI(IppStatus, ippiNorm_L1_32f_C1R, (const Ipp32f* pSrc, int srcStep,
  6567. IppiSize roiSize, Ipp64f* pValue, IppHintAlgorithm hint))
  6568. IPPAPI(IppStatus, ippiNorm_L1_32f_C3R, (const Ipp32f* pSrc, int srcStep,
  6569. IppiSize roiSize, Ipp64f value[3], IppHintAlgorithm hint))
  6570. IPPAPI(IppStatus, ippiNorm_L1_32f_AC4R, (const Ipp32f* pSrc, int srcStep,
  6571. IppiSize roiSize, Ipp64f value[3], IppHintAlgorithm hint))
  6572. IPPAPI(IppStatus, ippiNorm_L1_32f_C4R, (const Ipp32f* pSrc, int srcStep,
  6573. IppiSize roiSize, Ipp64f value[4], IppHintAlgorithm hint))
  6574. /* /////////////////////////////////////////////////////////////////////////////
  6575. // Name: ippiNorm_L2
  6576. // Purpose: computes the L2-norm of pixel values of the image: n = SQRT(SUM |src1|^2)
  6577. // Context:
  6578. // Returns: IppStatus
  6579. // ippStsNoErr OK
  6580. // ippStsNullPtrErr One of the pointers is NULL
  6581. // ippStsSizeErr roiSize has a field with zero or negative value
  6582. // Parameters:
  6583. // pSrc Pointer to the source image.
  6584. // srcStep Step through the source image
  6585. // roiSize Size of the source ROI.
  6586. // pValue Pointer to the computed norm (one-channel data)
  6587. // value Array of the computed norms for each channel (multi-channel data)
  6588. // hint Option to specify the computation algorithm
  6589. // Notes:
  6590. // simple mul is better than table for P6 family
  6591. */
  6592. IPPAPI(IppStatus, ippiNorm_L2_8u_C1R, (const Ipp8u* pSrc, int srcStep,
  6593. IppiSize roiSize, Ipp64f* pValue))
  6594. IPPAPI(IppStatus, ippiNorm_L2_8u_C3R, (const Ipp8u* pSrc, int srcStep,
  6595. IppiSize roiSize, Ipp64f value[3]))
  6596. IPPAPI(IppStatus, ippiNorm_L2_8u_AC4R, (const Ipp8u* pSrc, int srcStep,
  6597. IppiSize roiSize, Ipp64f value[3]))
  6598. IPPAPI(IppStatus, ippiNorm_L2_8u_C4R, (const Ipp8u* pSrc, int srcStep,
  6599. IppiSize roiSize, Ipp64f value[4]))
  6600. IPPAPI(IppStatus, ippiNorm_L2_16s_C1R, (const Ipp16s* pSrc, int srcStep,
  6601. IppiSize roiSize, Ipp64f* pValue))
  6602. IPPAPI(IppStatus, ippiNorm_L2_16s_C3R, (const Ipp16s* pSrc, int srcStep,
  6603. IppiSize roiSize, Ipp64f value[3]))
  6604. IPPAPI(IppStatus, ippiNorm_L2_16s_AC4R, (const Ipp16s* pSrc, int srcStep,
  6605. IppiSize roiSize, Ipp64f value[3]))
  6606. IPPAPI(IppStatus, ippiNorm_L2_16s_C4R, (const Ipp16s* pSrc, int srcStep,
  6607. IppiSize roiSize, Ipp64f value[4]))
  6608. IPPAPI(IppStatus, ippiNorm_L2_16u_C1R, (const Ipp16u* pSrc, int srcStep,
  6609. IppiSize roiSize, Ipp64f* pValue))
  6610. IPPAPI(IppStatus, ippiNorm_L2_16u_C3R, (const Ipp16u* pSrc, int srcStep,
  6611. IppiSize roiSize, Ipp64f value[3]))
  6612. IPPAPI(IppStatus, ippiNorm_L2_16u_AC4R, (const Ipp16u* pSrc, int srcStep,
  6613. IppiSize roiSize, Ipp64f value[3]))
  6614. IPPAPI(IppStatus, ippiNorm_L2_16u_C4R, (const Ipp16u* pSrc, int srcStep,
  6615. IppiSize roiSize, Ipp64f value[4]))
  6616. IPPAPI(IppStatus, ippiNorm_L2_32f_C1R, (const Ipp32f* pSrc, int srcStep,
  6617. IppiSize roiSize, Ipp64f* pValue, IppHintAlgorithm hint))
  6618. IPPAPI(IppStatus, ippiNorm_L2_32f_C3R, (const Ipp32f* pSrc, int srcStep,
  6619. IppiSize roiSize, Ipp64f value[3], IppHintAlgorithm hint))
  6620. IPPAPI(IppStatus, ippiNorm_L2_32f_AC4R, (const Ipp32f* pSrc, int srcStep,
  6621. IppiSize roiSize, Ipp64f value[3], IppHintAlgorithm hint))
  6622. IPPAPI(IppStatus, ippiNorm_L2_32f_C4R, (const Ipp32f* pSrc, int srcStep,
  6623. IppiSize roiSize, Ipp64f value[4], IppHintAlgorithm hint))
  6624. /* /////////////////////////////////////////////////////////////////////////////
  6625. // Name: ippiNormDiff_Inf
  6626. // Purpose: computes the C-norm of pixel values of two images: n = MAX |src1 - src2|
  6627. // Context:
  6628. // Returns: IppStatus
  6629. // ippStsNoErr OK
  6630. // ippStsNullPtrErr One of the pointers is NULL
  6631. // ippStsSizeErr roiSize has a field with zero or negative value
  6632. // Parameters:
  6633. // pSrc1, pSrc2 Pointers to the source images.
  6634. // src1Step, src2Step Steps in bytes through the source images
  6635. // roiSize Size of the source ROI.
  6636. // pValue Pointer to the computed norm (one-channel data)
  6637. // value Array of the computed norms for each channel (multi-channel data)
  6638. // Notes:
  6639. */
  6640. IPPAPI(IppStatus, ippiNormDiff_Inf_8u_C1R, (const Ipp8u* pSrc1, int src1Step,
  6641. const Ipp8u* pSrc2, int src2Step,
  6642. IppiSize roiSize, Ipp64f* pValue))
  6643. IPPAPI(IppStatus, ippiNormDiff_Inf_8u_C3R, (const Ipp8u* pSrc1, int src1Step,
  6644. const Ipp8u* pSrc2, int src2Step,
  6645. IppiSize roiSize, Ipp64f value[3]))
  6646. IPPAPI(IppStatus, ippiNormDiff_Inf_8u_AC4R, (const Ipp8u* pSrc1, int src1Step,
  6647. const Ipp8u* pSrc2, int src2Step,
  6648. IppiSize roiSize, Ipp64f value[3]))
  6649. IPPAPI(IppStatus, ippiNormDiff_Inf_8u_C4R, (const Ipp8u* pSrc1, int src1Step,
  6650. const Ipp8u* pSrc2, int src2Step,
  6651. IppiSize roiSize, Ipp64f value[4]))
  6652. IPPAPI(IppStatus, ippiNormDiff_Inf_16s_C1R, (const Ipp16s* pSrc1, int src1Step,
  6653. const Ipp16s* pSrc2, int src2Step,
  6654. IppiSize roiSize, Ipp64f* pValue))
  6655. IPPAPI(IppStatus, ippiNormDiff_Inf_16s_C3R, (const Ipp16s* pSrc1, int src1Step,
  6656. const Ipp16s* pSrc2, int src2Step,
  6657. IppiSize roiSize, Ipp64f value[3]))
  6658. IPPAPI(IppStatus, ippiNormDiff_Inf_16s_AC4R, (const Ipp16s* pSrc1, int src1Step,
  6659. const Ipp16s* pSrc2, int src2Step,
  6660. IppiSize roiSize, Ipp64f value[3]))
  6661. IPPAPI(IppStatus, ippiNormDiff_Inf_16s_C4R, (const Ipp16s* pSrc1, int src1Step,
  6662. const Ipp16s* pSrc2, int src2Step,
  6663. IppiSize roiSize, Ipp64f value[4]))
  6664. IPPAPI(IppStatus, ippiNormDiff_Inf_16u_C1R, (const Ipp16u* pSrc1, int src1Step,
  6665. const Ipp16u* pSrc2, int src2Step,
  6666. IppiSize roiSize, Ipp64f* pValue))
  6667. IPPAPI(IppStatus, ippiNormDiff_Inf_16u_C3R, (const Ipp16u* pSrc1, int src1Step,
  6668. const Ipp16u* pSrc2, int src2Step,
  6669. IppiSize roiSize, Ipp64f value[3]))
  6670. IPPAPI(IppStatus, ippiNormDiff_Inf_16u_AC4R, (const Ipp16u* pSrc1, int src1Step,
  6671. const Ipp16u* pSrc2, int src2Step,
  6672. IppiSize roiSize, Ipp64f value[3]))
  6673. IPPAPI(IppStatus, ippiNormDiff_Inf_16u_C4R, (const Ipp16u* pSrc1, int src1Step,
  6674. const Ipp16u* pSrc2, int src2Step,
  6675. IppiSize roiSize, Ipp64f value[4]))
  6676. IPPAPI(IppStatus, ippiNormDiff_Inf_32f_C1R, (const Ipp32f* pSrc1, int src1Step,
  6677. const Ipp32f* pSrc2, int src2Step,
  6678. IppiSize roiSize, Ipp64f* pValue))
  6679. IPPAPI(IppStatus, ippiNormDiff_Inf_32f_C3R, (const Ipp32f* pSrc1, int src1Step,
  6680. const Ipp32f* pSrc2, int src2Step,
  6681. IppiSize roiSize, Ipp64f value[3]))
  6682. IPPAPI(IppStatus, ippiNormDiff_Inf_32f_AC4R, (const Ipp32f* pSrc1, int src1Step,
  6683. const Ipp32f* pSrc2, int src2Step,
  6684. IppiSize roiSize, Ipp64f value[3]))
  6685. IPPAPI(IppStatus, ippiNormDiff_Inf_32f_C4R, (const Ipp32f* pSrc1, int src1Step,
  6686. const Ipp32f* pSrc2, int src2Step,
  6687. IppiSize roiSize, Ipp64f value[4]))
  6688. /* /////////////////////////////////////////////////////////////////////////////
  6689. // Name: ippiNormDiff_L1
  6690. // Purpose: computes the L1-norm of pixel values of two images: n = SUM |src1 - src2|
  6691. // Context:
  6692. // Returns: IppStatus
  6693. // ippStsNoErr OK
  6694. // ippStsNullPtrErr One of the pointers is NULL
  6695. // ippStsSizeErr roiSize has a field with zero or negative value
  6696. // Parameters:
  6697. // pSrc1, pSrc2 Pointers to the source images.
  6698. // src1Step, src2Step Steps in bytes through the source images
  6699. // roiSize Size of the source ROI.
  6700. // pValue Pointer to the computed norm (one-channel data)
  6701. // value Array of the computed norms for each channel (multi-channel data)
  6702. // hint Option to specify the computation algorithm
  6703. // Notes:
  6704. */
  6705. IPPAPI(IppStatus, ippiNormDiff_L1_8u_C1R, (const Ipp8u* pSrc1, int src1Step,
  6706. const Ipp8u* pSrc2, int src2Step,
  6707. IppiSize roiSize, Ipp64f* pValue))
  6708. IPPAPI(IppStatus, ippiNormDiff_L1_8u_C3R, (const Ipp8u* pSrc1, int src1Step,
  6709. const Ipp8u* pSrc2, int src2Step,
  6710. IppiSize roiSize, Ipp64f value[3]))
  6711. IPPAPI(IppStatus, ippiNormDiff_L1_8u_AC4R, (const Ipp8u* pSrc1, int src1Step,
  6712. const Ipp8u* pSrc2, int src2Step,
  6713. IppiSize roiSize, Ipp64f value[3]))
  6714. IPPAPI(IppStatus, ippiNormDiff_L1_8u_C4R, (const Ipp8u* pSrc1, int src1Step,
  6715. const Ipp8u* pSrc2, int src2Step,
  6716. IppiSize roiSize, Ipp64f value[4]))
  6717. IPPAPI(IppStatus, ippiNormDiff_L1_16s_C1R, (const Ipp16s* pSrc1, int src1Step,
  6718. const Ipp16s* pSrc2, int src2Step,
  6719. IppiSize roiSize, Ipp64f* pValue))
  6720. IPPAPI(IppStatus, ippiNormDiff_L1_16s_C3R, (const Ipp16s* pSrc1, int src1Step,
  6721. const Ipp16s* pSrc2, int src2Step,
  6722. IppiSize roiSize, Ipp64f value[3]))
  6723. IPPAPI(IppStatus, ippiNormDiff_L1_16s_AC4R, (const Ipp16s* pSrc1, int src1Step,
  6724. const Ipp16s* pSrc2, int src2Step,
  6725. IppiSize roiSize, Ipp64f value[3]))
  6726. IPPAPI(IppStatus, ippiNormDiff_L1_16s_C4R, (const Ipp16s* pSrc1, int src1Step,
  6727. const Ipp16s* pSrc2, int src2Step,
  6728. IppiSize roiSize, Ipp64f value[4]))
  6729. IPPAPI(IppStatus, ippiNormDiff_L1_16u_C1R, (const Ipp16u* pSrc1, int src1Step,
  6730. const Ipp16u* pSrc2, int src2Step,
  6731. IppiSize roiSize, Ipp64f* pValue))
  6732. IPPAPI(IppStatus, ippiNormDiff_L1_16u_C3R, (const Ipp16u* pSrc1, int src1Step,
  6733. const Ipp16u* pSrc2, int src2Step,
  6734. IppiSize roiSize, Ipp64f value[3]))
  6735. IPPAPI(IppStatus, ippiNormDiff_L1_16u_AC4R, (const Ipp16u* pSrc1, int src1Step,
  6736. const Ipp16u* pSrc2, int src2Step,
  6737. IppiSize roiSize, Ipp64f value[3]))
  6738. IPPAPI(IppStatus, ippiNormDiff_L1_16u_C4R, (const Ipp16u* pSrc1, int src1Step,
  6739. const Ipp16u* pSrc2, int src2Step,
  6740. IppiSize roiSize, Ipp64f value[4]))
  6741. IPPAPI(IppStatus, ippiNormDiff_L1_32f_C1R, (const Ipp32f* pSrc1, int src1Step,
  6742. const Ipp32f* pSrc2, int src2Step,
  6743. IppiSize roiSize, Ipp64f* pValue, IppHintAlgorithm hint))
  6744. IPPAPI(IppStatus, ippiNormDiff_L1_32f_C3R, (const Ipp32f* pSrc1, int src1Step,
  6745. const Ipp32f* pSrc2, int src2Step,
  6746. IppiSize roiSize, Ipp64f value[3], IppHintAlgorithm hint))
  6747. IPPAPI(IppStatus, ippiNormDiff_L1_32f_AC4R, (const Ipp32f* pSrc1, int src1Step,
  6748. const Ipp32f* pSrc2, int src2Step,
  6749. IppiSize roiSize, Ipp64f value[3], IppHintAlgorithm hint))
  6750. IPPAPI(IppStatus, ippiNormDiff_L1_32f_C4R, (const Ipp32f* pSrc1, int src1Step,
  6751. const Ipp32f* pSrc2, int src2Step,
  6752. IppiSize roiSize, Ipp64f value[4], IppHintAlgorithm hint))
  6753. /* /////////////////////////////////////////////////////////////////////////////////
  6754. // Name: ippiNormDiff_L2
  6755. // Purpose: computes the L2-norm of pixel values of two images:
  6756. // n = SQRT(SUM |src1 - src2|^2)
  6757. // Context:
  6758. // Returns: IppStatus
  6759. // ippStsNoErr OK
  6760. // ippStsNullPtrErr One of the pointers is NULL
  6761. // ippStsSizeErr roiSize has a field with zero or negative value
  6762. // Parameters:
  6763. // pSrc1, pSrc2 Pointers to the source images.
  6764. // src1Step, src2Step Steps in bytes through the source images
  6765. // roiSize Size of the source ROI.
  6766. // pValue Pointer to the computed norm (one-channel data)
  6767. // value Array of the computed norms for each channel (multi-channel data)
  6768. // hint Option to specify the computation algorithm
  6769. // Notes:
  6770. */
  6771. IPPAPI(IppStatus, ippiNormDiff_L2_8u_C1R, (const Ipp8u* pSrc1, int src1Step,
  6772. const Ipp8u* pSrc2, int src2Step,
  6773. IppiSize roiSize, Ipp64f* pValue))
  6774. IPPAPI(IppStatus, ippiNormDiff_L2_8u_C3R, (const Ipp8u* pSrc1, int src1Step,
  6775. const Ipp8u* pSrc2, int src2Step,
  6776. IppiSize roiSize, Ipp64f value[3]))
  6777. IPPAPI(IppStatus, ippiNormDiff_L2_8u_AC4R, (const Ipp8u* pSrc1, int src1Step,
  6778. const Ipp8u* pSrc2, int src2Step,
  6779. IppiSize roiSize, Ipp64f value[3]))
  6780. IPPAPI(IppStatus, ippiNormDiff_L2_8u_C4R, (const Ipp8u* pSrc1, int src1Step,
  6781. const Ipp8u* pSrc2, int src2Step,
  6782. IppiSize roiSize, Ipp64f value[4]))
  6783. IPPAPI(IppStatus, ippiNormDiff_L2_16s_C1R, (const Ipp16s* pSrc1, int src1Step,
  6784. const Ipp16s* pSrc2, int src2Step,
  6785. IppiSize roiSize, Ipp64f* pValue))
  6786. IPPAPI(IppStatus, ippiNormDiff_L2_16s_C3R, (const Ipp16s* pSrc1, int src1Step,
  6787. const Ipp16s* pSrc2, int src2Step,
  6788. IppiSize roiSize, Ipp64f value[3]))
  6789. IPPAPI(IppStatus, ippiNormDiff_L2_16s_AC4R, (const Ipp16s* pSrc1, int src1Step,
  6790. const Ipp16s* pSrc2, int src2Step,
  6791. IppiSize roiSize, Ipp64f value[3]))
  6792. IPPAPI(IppStatus, ippiNormDiff_L2_16s_C4R, (const Ipp16s* pSrc1, int src1Step,
  6793. const Ipp16s* pSrc2, int src2Step,
  6794. IppiSize roiSize, Ipp64f value[4]))
  6795. IPPAPI(IppStatus, ippiNormDiff_L2_16u_C1R, (const Ipp16u* pSrc1, int src1Step,
  6796. const Ipp16u* pSrc2, int src2Step,
  6797. IppiSize roiSize, Ipp64f* pValue))
  6798. IPPAPI(IppStatus, ippiNormDiff_L2_16u_C3R, (const Ipp16u* pSrc1, int src1Step,
  6799. const Ipp16u* pSrc2, int src2Step,
  6800. IppiSize roiSize, Ipp64f value[3]))
  6801. IPPAPI(IppStatus, ippiNormDiff_L2_16u_AC4R, (const Ipp16u* pSrc1, int src1Step,
  6802. const Ipp16u* pSrc2, int src2Step,
  6803. IppiSize roiSize, Ipp64f value[3]))
  6804. IPPAPI(IppStatus, ippiNormDiff_L2_16u_C4R, (const Ipp16u* pSrc1, int src1Step,
  6805. const Ipp16u* pSrc2, int src2Step,
  6806. IppiSize roiSize, Ipp64f value[4]))
  6807. IPPAPI(IppStatus, ippiNormDiff_L2_32f_C1R, (const Ipp32f* pSrc1, int src1Step,
  6808. const Ipp32f* pSrc2, int src2Step,
  6809. IppiSize roiSize, Ipp64f* pValue, IppHintAlgorithm hint))
  6810. IPPAPI(IppStatus, ippiNormDiff_L2_32f_C3R, (const Ipp32f* pSrc1, int src1Step,
  6811. const Ipp32f* pSrc2, int src2Step,
  6812. IppiSize roiSize, Ipp64f value[3], IppHintAlgorithm hint))
  6813. IPPAPI(IppStatus, ippiNormDiff_L2_32f_AC4R, (const Ipp32f* pSrc1, int src1Step,
  6814. const Ipp32f* pSrc2, int src2Step,
  6815. IppiSize roiSize, Ipp64f value[3], IppHintAlgorithm hint))
  6816. IPPAPI(IppStatus, ippiNormDiff_L2_32f_C4R, (const Ipp32f* pSrc1, int src1Step,
  6817. const Ipp32f* pSrc2, int src2Step,
  6818. IppiSize roiSize, Ipp64f value[4], IppHintAlgorithm hint))
  6819. /* //////////////////////////////////////////////////////////////////////////////////////////
  6820. // Name: ippiNormRel_Inf
  6821. // Purpose: computes the relative error for the C-norm of pixel values of two images:
  6822. // n = MAX |src1 - src2| / MAX |src2|
  6823. // Context:
  6824. // Returns: IppStatus
  6825. // ippStsNoErr OK
  6826. // ippStsNullPtrErr One of the pointers is NULL
  6827. // ippStsSizeErr roiSize has a field with zero or negative value
  6828. // ippStsDivByZero MAX |src2| == 0
  6829. // Parameters:
  6830. // pSrc1, pSrc2 Pointers to the source images.
  6831. // src1Step, src2Step Steps in bytes through the source images
  6832. // roiSize Size of the source ROI.
  6833. // pValue Pointer to the computed norm (one-channel data)
  6834. // value Array of the computed norms for each channel (multi-channel data)
  6835. // Notes:
  6836. */
  6837. IPPAPI(IppStatus, ippiNormRel_Inf_8u_C1R, (const Ipp8u* pSrc1, int src1Step,
  6838. const Ipp8u* pSrc2, int src2Step,
  6839. IppiSize roiSize, Ipp64f* pValue))
  6840. IPPAPI(IppStatus, ippiNormRel_Inf_8u_C3R, (const Ipp8u* pSrc1, int src1Step,
  6841. const Ipp8u* pSrc2, int src2Step,
  6842. IppiSize roiSize, Ipp64f value[3]))
  6843. IPPAPI(IppStatus, ippiNormRel_Inf_8u_AC4R, (const Ipp8u* pSrc1, int src1Step,
  6844. const Ipp8u* pSrc2, int src2Step,
  6845. IppiSize roiSize, Ipp64f value[3]))
  6846. IPPAPI(IppStatus, ippiNormRel_Inf_8u_C4R, (const Ipp8u* pSrc1, int src1Step,
  6847. const Ipp8u* pSrc2, int src2Step,
  6848. IppiSize roiSize, Ipp64f value[4]))
  6849. IPPAPI(IppStatus, ippiNormRel_Inf_16s_C1R, (const Ipp16s* pSrc1, int src1Step,
  6850. const Ipp16s* pSrc2, int src2Step,
  6851. IppiSize roiSize, Ipp64f* pValue))
  6852. IPPAPI(IppStatus, ippiNormRel_Inf_16s_C3R, (const Ipp16s* pSrc1, int src1Step,
  6853. const Ipp16s* pSrc2, int src2Step,
  6854. IppiSize roiSize, Ipp64f value[3]))
  6855. IPPAPI(IppStatus, ippiNormRel_Inf_16s_AC4R, (const Ipp16s* pSrc1, int src1Step,
  6856. const Ipp16s* pSrc2, int src2Step,
  6857. IppiSize roiSize, Ipp64f value[3]))
  6858. IPPAPI(IppStatus, ippiNormRel_Inf_16s_C4R, (const Ipp16s* pSrc1, int src1Step,
  6859. const Ipp16s* pSrc2, int src2Step,
  6860. IppiSize roiSize, Ipp64f value[4]))
  6861. IPPAPI(IppStatus, ippiNormRel_Inf_16u_C1R, (const Ipp16u* pSrc1, int src1Step,
  6862. const Ipp16u* pSrc2, int src2Step,
  6863. IppiSize roiSize, Ipp64f* pValue))
  6864. IPPAPI(IppStatus, ippiNormRel_Inf_16u_C3R, (const Ipp16u* pSrc1, int src1Step,
  6865. const Ipp16u* pSrc2, int src2Step,
  6866. IppiSize roiSize, Ipp64f value[3]))
  6867. IPPAPI(IppStatus, ippiNormRel_Inf_16u_AC4R, (const Ipp16u* pSrc1, int src1Step,
  6868. const Ipp16u* pSrc2, int src2Step,
  6869. IppiSize roiSize, Ipp64f value[3]))
  6870. IPPAPI(IppStatus, ippiNormRel_Inf_16u_C4R, (const Ipp16u* pSrc1, int src1Step,
  6871. const Ipp16u* pSrc2, int src2Step,
  6872. IppiSize roiSize, Ipp64f value[4]))
  6873. IPPAPI(IppStatus, ippiNormRel_Inf_32f_C1R, (const Ipp32f* pSrc1, int src1Step,
  6874. const Ipp32f* pSrc2, int src2Step,
  6875. IppiSize roiSize, Ipp64f* pValue))
  6876. IPPAPI(IppStatus, ippiNormRel_Inf_32f_C3R, (const Ipp32f* pSrc1, int src1Step,
  6877. const Ipp32f* pSrc2, int src2Step,
  6878. IppiSize roiSize, Ipp64f value[3]))
  6879. IPPAPI(IppStatus, ippiNormRel_Inf_32f_AC4R, (const Ipp32f* pSrc1, int src1Step,
  6880. const Ipp32f* pSrc2, int src2Step,
  6881. IppiSize roiSize, Ipp64f value[3]))
  6882. IPPAPI(IppStatus, ippiNormRel_Inf_32f_C4R, (const Ipp32f* pSrc1, int src1Step,
  6883. const Ipp32f* pSrc2, int src2Step,
  6884. IppiSize roiSize, Ipp64f value[4]))
  6885. /* /////////////////////////////////////////////////////////////////////////////////////////
  6886. // Name: ippiNormRel_L1
  6887. // Purpose: computes the relative error for the 1-norm of pixel values of two images:
  6888. // n = SUM |src1 - src2| / SUM |src2|
  6889. // Context:
  6890. // Returns: IppStatus
  6891. // ippStsNoErr OK
  6892. // ippStsNullPtrErr One of the pointers is NULL
  6893. // ippStsSizeErr roiSize has a field with zero or negative value
  6894. // ippStsDivByZero SUM |src2| == 0
  6895. // Parameters:
  6896. // pSrc1, pSrc2 Pointers to the source images.
  6897. // src1Step, src2Step Steps in bytes through the source images
  6898. // roiSize Size of the source ROI.
  6899. // pValue Pointer to the computed norm (one-channel data)
  6900. // value Array of the computed norms for each channel (multi-channel data)
  6901. // hint Option to specify the computation algorithm
  6902. // Notes:
  6903. */
  6904. IPPAPI(IppStatus, ippiNormRel_L1_8u_C1R, (const Ipp8u* pSrc1, int src1Step,
  6905. const Ipp8u* pSrc2, int src2Step,
  6906. IppiSize roiSize, Ipp64f* pValue))
  6907. IPPAPI(IppStatus, ippiNormRel_L1_8u_C3R, (const Ipp8u* pSrc1, int src1Step,
  6908. const Ipp8u* pSrc2, int src2Step,
  6909. IppiSize roiSize, Ipp64f value[3]))
  6910. IPPAPI(IppStatus, ippiNormRel_L1_8u_AC4R, (const Ipp8u* pSrc1, int src1Step,
  6911. const Ipp8u* pSrc2, int src2Step,
  6912. IppiSize roiSize, Ipp64f value[3]))
  6913. IPPAPI(IppStatus, ippiNormRel_L1_8u_C4R, (const Ipp8u* pSrc1, int src1Step,
  6914. const Ipp8u* pSrc2, int src2Step,
  6915. IppiSize roiSize, Ipp64f value[4]))
  6916. IPPAPI(IppStatus, ippiNormRel_L1_16s_C1R, (const Ipp16s* pSrc1, int src1Step,
  6917. const Ipp16s* pSrc2, int src2Step,
  6918. IppiSize roiSize, Ipp64f* pValue))
  6919. IPPAPI(IppStatus, ippiNormRel_L1_16s_C3R, (const Ipp16s* pSrc1, int src1Step,
  6920. const Ipp16s* pSrc2, int src2Step,
  6921. IppiSize roiSize, Ipp64f value[3]))
  6922. IPPAPI(IppStatus, ippiNormRel_L1_16s_AC4R, (const Ipp16s* pSrc1, int src1Step,
  6923. const Ipp16s* pSrc2, int src2Step,
  6924. IppiSize roiSize, Ipp64f value[3]))
  6925. IPPAPI(IppStatus, ippiNormRel_L1_16s_C4R, (const Ipp16s* pSrc1, int src1Step,
  6926. const Ipp16s* pSrc2, int src2Step,
  6927. IppiSize roiSize, Ipp64f value[4]))
  6928. IPPAPI(IppStatus, ippiNormRel_L1_16u_C1R, (const Ipp16u* pSrc1, int src1Step,
  6929. const Ipp16u* pSrc2, int src2Step,
  6930. IppiSize roiSize, Ipp64f* pValue))
  6931. IPPAPI(IppStatus, ippiNormRel_L1_16u_C3R, (const Ipp16u* pSrc1, int src1Step,
  6932. const Ipp16u* pSrc2, int src2Step,
  6933. IppiSize roiSize, Ipp64f value[3]))
  6934. IPPAPI(IppStatus, ippiNormRel_L1_16u_AC4R, (const Ipp16u* pSrc1, int src1Step,
  6935. const Ipp16u* pSrc2, int src2Step,
  6936. IppiSize roiSize, Ipp64f value[3]))
  6937. IPPAPI(IppStatus, ippiNormRel_L1_16u_C4R, (const Ipp16u* pSrc1, int src1Step,
  6938. const Ipp16u* pSrc2, int src2Step,
  6939. IppiSize roiSize, Ipp64f value[4]))
  6940. IPPAPI(IppStatus, ippiNormRel_L1_32f_C1R, (const Ipp32f* pSrc1, int src1Step,
  6941. const Ipp32f* pSrc2, int src2Step,
  6942. IppiSize roiSize, Ipp64f* pValue, IppHintAlgorithm hint))
  6943. IPPAPI(IppStatus, ippiNormRel_L1_32f_C3R, (const Ipp32f* pSrc1, int src1Step,
  6944. const Ipp32f* pSrc2, int src2Step,
  6945. IppiSize roiSize, Ipp64f value[3], IppHintAlgorithm hint))
  6946. IPPAPI(IppStatus, ippiNormRel_L1_32f_AC4R, (const Ipp32f* pSrc1, int src1Step,
  6947. const Ipp32f* pSrc2, int src2Step,
  6948. IppiSize roiSize, Ipp64f value[3], IppHintAlgorithm hint))
  6949. IPPAPI(IppStatus, ippiNormRel_L1_32f_C4R, (const Ipp32f* pSrc1, int src1Step,
  6950. const Ipp32f* pSrc2, int src2Step,
  6951. IppiSize roiSize, Ipp64f value[4], IppHintAlgorithm hint))
  6952. /* //////////////////////////////////////////////////////////////////////////////////////////
  6953. // Name: ippiNormRel_L2
  6954. // Purpose: computes the relative error for the L2-norm of pixel values of two images:
  6955. // n = SQRT(SUM |src1 - src2|^2 / SUM |src2|^2)
  6956. // Context:
  6957. // Returns: IppStatus
  6958. // ippStsNoErr OK
  6959. // ippStsNullPtrErr One of the pointers is NULL
  6960. // ippStsSizeErr roiSize has a field with zero or negative value
  6961. // ippStsDivByZero SUM |src2|^2 == 0
  6962. // Parameters:
  6963. // pSrc1, pSrc2 Pointers to the source images.
  6964. // src1Step, src2Step Steps in bytes through the source images
  6965. // roiSize Size of the source ROI.
  6966. // pValue Pointer to the computed norm (one-channel data)
  6967. // value Array of the computed norms for each channel (multi-channel data)
  6968. // hint Option to specify the computation algorithm
  6969. // Notes:
  6970. */
  6971. IPPAPI(IppStatus, ippiNormRel_L2_8u_C1R, (const Ipp8u* pSrc1, int src1Step,
  6972. const Ipp8u* pSrc2, int src2Step,
  6973. IppiSize roiSize, Ipp64f* pValue))
  6974. IPPAPI(IppStatus, ippiNormRel_L2_8u_C3R, (const Ipp8u* pSrc1, int src1Step,
  6975. const Ipp8u* pSrc2, int src2Step,
  6976. IppiSize roiSize, Ipp64f value[3]))
  6977. IPPAPI(IppStatus, ippiNormRel_L2_8u_AC4R, (const Ipp8u* pSrc1, int src1Step,
  6978. const Ipp8u* pSrc2, int src2Step,
  6979. IppiSize roiSize, Ipp64f value[3]))
  6980. IPPAPI(IppStatus, ippiNormRel_L2_8u_C4R, (const Ipp8u* pSrc1, int src1Step,
  6981. const Ipp8u* pSrc2, int src2Step,
  6982. IppiSize roiSize, Ipp64f value[4]))
  6983. IPPAPI(IppStatus, ippiNormRel_L2_16s_C1R, (const Ipp16s* pSrc1, int src1Step,
  6984. const Ipp16s* pSrc2, int src2Step,
  6985. IppiSize roiSize, Ipp64f* pValue))
  6986. IPPAPI(IppStatus, ippiNormRel_L2_16s_C3R, (const Ipp16s* pSrc1, int src1Step,
  6987. const Ipp16s* pSrc2, int src2Step,
  6988. IppiSize roiSize, Ipp64f value[3]))
  6989. IPPAPI(IppStatus, ippiNormRel_L2_16s_AC4R, (const Ipp16s* pSrc1, int src1Step,
  6990. const Ipp16s* pSrc2, int src2Step,
  6991. IppiSize roiSize, Ipp64f value[3]))
  6992. IPPAPI(IppStatus, ippiNormRel_L2_16s_C4R, (const Ipp16s* pSrc1, int src1Step,
  6993. const Ipp16s* pSrc2, int src2Step,
  6994. IppiSize roiSize, Ipp64f value[4]))
  6995. IPPAPI(IppStatus, ippiNormRel_L2_16u_C1R, (const Ipp16u* pSrc1, int src1Step,
  6996. const Ipp16u* pSrc2, int src2Step,
  6997. IppiSize roiSize, Ipp64f* pValue))
  6998. IPPAPI(IppStatus, ippiNormRel_L2_16u_C3R, (const Ipp16u* pSrc1, int src1Step,
  6999. const Ipp16u* pSrc2, int src2Step,
  7000. IppiSize roiSize, Ipp64f value[3]))
  7001. IPPAPI(IppStatus, ippiNormRel_L2_16u_AC4R, (const Ipp16u* pSrc1, int src1Step,
  7002. const Ipp16u* pSrc2, int src2Step,
  7003. IppiSize roiSize, Ipp64f value[3]))
  7004. IPPAPI(IppStatus, ippiNormRel_L2_16u_C4R, (const Ipp16u* pSrc1, int src1Step,
  7005. const Ipp16u* pSrc2, int src2Step,
  7006. IppiSize roiSize, Ipp64f value[4]))
  7007. IPPAPI(IppStatus, ippiNormRel_L2_32f_C1R, (const Ipp32f* pSrc1, int src1Step,
  7008. const Ipp32f* pSrc2, int src2Step,
  7009. IppiSize roiSize, Ipp64f* pValue, IppHintAlgorithm hint))
  7010. IPPAPI(IppStatus, ippiNormRel_L2_32f_C3R, (const Ipp32f* pSrc1, int src1Step,
  7011. const Ipp32f* pSrc2, int src2Step,
  7012. IppiSize roiSize, Ipp64f value[3], IppHintAlgorithm hint))
  7013. IPPAPI(IppStatus, ippiNormRel_L2_32f_AC4R, (const Ipp32f* pSrc1, int src1Step,
  7014. const Ipp32f* pSrc2, int src2Step,
  7015. IppiSize roiSize, Ipp64f value[3], IppHintAlgorithm hint))
  7016. IPPAPI(IppStatus, ippiNormRel_L2_32f_C4R, (const Ipp32f* pSrc1, int src1Step,
  7017. const Ipp32f* pSrc2, int src2Step,
  7018. IppiSize roiSize, Ipp64f value[4], IppHintAlgorithm hint))
  7019. /* /////////////////////////////////////////////////////////////////////////////
  7020. // Name: ippiSum
  7021. // Purpose: computes the sum of image pixel values
  7022. // Context:
  7023. // Returns: IppStatus
  7024. // ippStsNoErr OK
  7025. // ippStsNullPtrErr One of the pointers is NULL
  7026. // ippStsSizeErr roiSize has a field with zero or negative value
  7027. // Parameters:
  7028. // pSrc Pointer to the source image.
  7029. // srcStep Step in bytes through the source image
  7030. // roiSize Size of the source image ROI.
  7031. // pSum Pointer to the result (one-channel data)
  7032. // sum Array containing the results (multi-channel data)
  7033. // hint Option to select the algorithmic implementation of the function
  7034. // Notes:
  7035. */
  7036. IPPAPI(IppStatus, ippiSum_8u_C1R, (const Ipp8u* pSrc, int srcStep,
  7037. IppiSize roiSize, Ipp64f* pSum))
  7038. IPPAPI(IppStatus, ippiSum_8u_C3R, (const Ipp8u* pSrc, int srcStep,
  7039. IppiSize roiSize, Ipp64f sum[3]))
  7040. IPPAPI(IppStatus, ippiSum_8u_AC4R, (const Ipp8u* pSrc, int srcStep,
  7041. IppiSize roiSize, Ipp64f sum[3]))
  7042. IPPAPI(IppStatus, ippiSum_8u_C4R, (const Ipp8u* pSrc, int srcStep,
  7043. IppiSize roiSize, Ipp64f sum[4]))
  7044. IPPAPI(IppStatus, ippiSum_16s_C1R, (const Ipp16s* pSrc, int srcStep,
  7045. IppiSize roiSize, Ipp64f* pSum))
  7046. IPPAPI(IppStatus, ippiSum_16s_C3R, (const Ipp16s* pSrc, int srcStep,
  7047. IppiSize roiSize, Ipp64f sum[3]))
  7048. IPPAPI(IppStatus, ippiSum_16s_AC4R, (const Ipp16s* pSrc, int srcStep,
  7049. IppiSize roiSize, Ipp64f sum[3]))
  7050. IPPAPI(IppStatus, ippiSum_16s_C4R, (const Ipp16s* pSrc, int srcStep,
  7051. IppiSize roiSize, Ipp64f sum[4]))
  7052. IPPAPI(IppStatus, ippiSum_16u_C1R, (const Ipp16u* pSrc, int srcStep,
  7053. IppiSize roiSize, Ipp64f* pSum))
  7054. IPPAPI(IppStatus, ippiSum_16u_C3R, (const Ipp16u* pSrc, int srcStep,
  7055. IppiSize roiSize, Ipp64f sum[3]))
  7056. IPPAPI(IppStatus, ippiSum_16u_AC4R, (const Ipp16u* pSrc, int srcStep,
  7057. IppiSize roiSize, Ipp64f sum[3]))
  7058. IPPAPI(IppStatus, ippiSum_16u_C4R, (const Ipp16u* pSrc, int srcStep,
  7059. IppiSize roiSize, Ipp64f sum[4]))
  7060. IPPAPI(IppStatus, ippiSum_32f_C1R, (const Ipp32f* pSrc, int srcStep,
  7061. IppiSize roiSize, Ipp64f* pSum, IppHintAlgorithm hint))
  7062. IPPAPI(IppStatus, ippiSum_32f_C3R, (const Ipp32f* pSrc, int srcStep,
  7063. IppiSize roiSize, Ipp64f sum[3], IppHintAlgorithm hint))
  7064. IPPAPI(IppStatus, ippiSum_32f_AC4R, (const Ipp32f* pSrc, int srcStep,
  7065. IppiSize roiSize, Ipp64f sum[3], IppHintAlgorithm hint))
  7066. IPPAPI(IppStatus, ippiSum_32f_C4R, (const Ipp32f* pSrc, int srcStep,
  7067. IppiSize roiSize, Ipp64f sum[4], IppHintAlgorithm hint))
  7068. /* /////////////////////////////////////////////////////////////////////////////
  7069. // Name: ippiMean
  7070. // Purpose: computes the mean of image pixel values
  7071. // Context:
  7072. // Returns: IppStatus
  7073. // ippStsNoErr OK
  7074. // ippStsNullPtrErr One of the pointers is NULL
  7075. // ippStsSizeErr roiSize has a field with zero or negative value.
  7076. // Parameters:
  7077. // pSrc Pointer to the source image.
  7078. // srcStep Step in bytes through the source image
  7079. // roiSize Size of the source ROI.
  7080. // pMean Pointer to the result (one-channel data)
  7081. // mean Array containing the results (multi-channel data)
  7082. // hint Option to select the algorithmic implementation of the function
  7083. // Notes:
  7084. */
  7085. IPPAPI(IppStatus, ippiMean_8u_C1R, (const Ipp8u* pSrc, int srcStep,
  7086. IppiSize roiSize, Ipp64f* pMean))
  7087. IPPAPI(IppStatus, ippiMean_8u_C3R, (const Ipp8u* pSrc, int srcStep,
  7088. IppiSize roiSize, Ipp64f mean[3]))
  7089. IPPAPI(IppStatus, ippiMean_8u_AC4R, (const Ipp8u* pSrc, int srcStep,
  7090. IppiSize roiSize, Ipp64f mean[3]))
  7091. IPPAPI(IppStatus, ippiMean_8u_C4R, (const Ipp8u* pSrc, int srcStep,
  7092. IppiSize roiSize, Ipp64f mean[4]))
  7093. IPPAPI(IppStatus, ippiMean_16s_C1R, (const Ipp16s* pSrc, int srcStep,
  7094. IppiSize roiSize, Ipp64f* pMean))
  7095. IPPAPI(IppStatus, ippiMean_16s_C3R, (const Ipp16s* pSrc, int srcStep,
  7096. IppiSize roiSize, Ipp64f mean[3]))
  7097. IPPAPI(IppStatus, ippiMean_16s_AC4R, (const Ipp16s* pSrc, int srcStep,
  7098. IppiSize roiSize, Ipp64f mean[3]))
  7099. IPPAPI(IppStatus, ippiMean_16s_C4R, (const Ipp16s* pSrc, int srcStep,
  7100. IppiSize roiSize, Ipp64f mean[4]))
  7101. IPPAPI(IppStatus, ippiMean_16u_C1R, (const Ipp16u* pSrc, int srcStep,
  7102. IppiSize roiSize, Ipp64f* pMean))
  7103. IPPAPI(IppStatus, ippiMean_16u_C3R, (const Ipp16u* pSrc, int srcStep,
  7104. IppiSize roiSize, Ipp64f mean[3]))
  7105. IPPAPI(IppStatus, ippiMean_16u_AC4R, (const Ipp16u* pSrc, int srcStep,
  7106. IppiSize roiSize, Ipp64f mean[3]))
  7107. IPPAPI(IppStatus, ippiMean_16u_C4R, (const Ipp16u* pSrc, int srcStep,
  7108. IppiSize roiSize, Ipp64f mean[4]))
  7109. IPPAPI(IppStatus, ippiMean_32f_C1R, (const Ipp32f* pSrc, int srcStep,
  7110. IppiSize roiSize, Ipp64f* pMean, IppHintAlgorithm hint))
  7111. IPPAPI(IppStatus, ippiMean_32f_C3R, (const Ipp32f* pSrc, int srcStep,
  7112. IppiSize roiSize, Ipp64f mean[3], IppHintAlgorithm hint))
  7113. IPPAPI(IppStatus, ippiMean_32f_AC4R, (const Ipp32f* pSrc, int srcStep,
  7114. IppiSize roiSize, Ipp64f mean[3], IppHintAlgorithm hint))
  7115. IPPAPI(IppStatus, ippiMean_32f_C4R, (const Ipp32f* pSrc, int srcStep,
  7116. IppiSize roiSize, Ipp64f mean[4], IppHintAlgorithm hint))
  7117. /* /////////////////////////////////////////////////////////////////////////////
  7118. // Names:
  7119. // ippiQualityIndex_8u_C1R, ippiQualityIndex_32f_C1R,
  7120. // ippiQualityIndex_8u_C3R, ippiQualityIndex_32f_C3R,
  7121. // ippiQualityIndex_8u_AC4R, ippiQualityIndex_32f_AC4R.
  7122. //
  7123. // Purpose: ippiQualityIndex() function calculates the Universal Image Quality
  7124. // Index. Instead of traditional error summation methods, the
  7125. // proposed index is designed by modeling any image distortion as a
  7126. // combination of three factors: loss of correlation, luminance
  7127. // distortion, and contrast distortion. The dynamic range of the index
  7128. // is [-1.0, 1.0].
  7129. //
  7130. // Parameters:
  7131. // pSrc1 Pointer to the 1st source image ROI;
  7132. // src1Step Step in bytes through the 1 source image buffer;
  7133. // pSrc2 Pointer to the 2nd source image ROI;
  7134. // src2Step Step in bytes through the 2nd source image buffer;
  7135. // roiSize Size of the 1st and 2nd source images ROI in pixels;
  7136. // pQualityIndex Pointer where to store the calculated Universal
  7137. // Image Quality Index;
  7138. //
  7139. // Returns:
  7140. // ippStsNoErr OK
  7141. // ippStsNullPtrErr One of the pointers to pSrc1, pSrc2 or
  7142. // pQualityIndex is NULL;
  7143. // ippStsSizeErr roiSize has a field with zero or negative value;
  7144. // ippStsStepErr One of the src1Step or src2Step is less than or
  7145. // equal to zero;
  7146. // ippStsMemAllocErr Memory allocation for internal buffers fails.
  7147. */
  7148. IPPAPI( IppStatus, ippiQualityIndex_8u32f_C1R,( const Ipp8u* pSrc1,
  7149. int src1Step, const Ipp8u* pSrc2, int src2Step, IppiSize roiSize,
  7150. Ipp32f* pQualityIndex ))
  7151. IPPAPI( IppStatus, ippiQualityIndex_8u32f_C3R,( const Ipp8u* pSrc1,
  7152. int src1Step, const Ipp8u* pSrc2, int src2Step, IppiSize roiSize,
  7153. Ipp32f pQualityIndex[3] ))
  7154. IPPAPI( IppStatus, ippiQualityIndex_8u32f_AC4R,( const Ipp8u* pSrc1,
  7155. int src1Step, const Ipp8u* pSrc2, int src2Step, IppiSize roiSize,
  7156. Ipp32f pQualityIndex[3] ))
  7157. IPPAPI( IppStatus, ippiQualityIndex_32f_C1R,( const Ipp32f* pSrc1,
  7158. int src1Step, const Ipp32f* pSrc2, int src2Step, IppiSize roiSize,
  7159. Ipp32f* pQualityIndex ))
  7160. IPPAPI( IppStatus, ippiQualityIndex_32f_C3R,( const Ipp32f* pSrc1,
  7161. int src1Step, const Ipp32f* pSrc2, int src2Step, IppiSize roiSize,
  7162. Ipp32f pQualityIndex[3] ))
  7163. IPPAPI( IppStatus, ippiQualityIndex_32f_AC4R,( const Ipp32f* pSrc1,
  7164. int src1Step, const Ipp32f* pSrc2, int src2Step, IppiSize roiSize,
  7165. Ipp32f pQualityIndex[3] ))
  7166. IPPAPI( IppStatus, ippiQualityIndex_16u32f_C1R,( const Ipp16u* pSrc1,
  7167. int src1Step, const Ipp16u* pSrc2, int src2Step, IppiSize roiSize,
  7168. Ipp32f* pQualityIndex ))
  7169. IPPAPI( IppStatus, ippiQualityIndex_16u32f_C3R,( const Ipp16u* pSrc1,
  7170. int src1Step, const Ipp16u* pSrc2, int src2Step, IppiSize roiSize,
  7171. Ipp32f pQualityIndex[3] ))
  7172. IPPAPI( IppStatus, ippiQualityIndex_16u32f_AC4R,( const Ipp16u* pSrc1,
  7173. int src1Step, const Ipp16u* pSrc2, int src2Step, IppiSize roiSize,
  7174. Ipp32f pQualityIndex[3] ))
  7175. /* /////////////////////////////////////////////////////////////////////////////
  7176. // Name: ippiHistogramRange
  7177. // Purpose: computes the intensity histogram of an image
  7178. // Context:
  7179. // Returns: IppStatus
  7180. // ippStsNoErr OK
  7181. // ippStsNullPtrErr One of the pointers is NULL
  7182. // ippStsSizeErr roiSize has a field with zero or negative value
  7183. // ippStsMemAllocErr There is not enough memory for the inner histogram
  7184. // ippStsHistoNofLevelsErr Number of levels is less than 2
  7185. // Parameters:
  7186. // pSrc Pointer to the source image.
  7187. // srcStep Step in bytes through the source image
  7188. // roiSize Size of the source ROI.
  7189. // pHist Pointer to the computed histogram.
  7190. // pLevels Pointer to the array of level values.
  7191. // nLevels Number of levels
  7192. // Notes:
  7193. */
  7194. IPPAPI(IppStatus, ippiHistogramRange_8u_C1R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist, const Ipp32s* pLevels, int nLevels))
  7195. IPPAPI(IppStatus, ippiHistogramRange_8u_C3R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7196. IPPAPI(IppStatus, ippiHistogramRange_8u_AC4R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7197. IPPAPI(IppStatus, ippiHistogramRange_8u_C4R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7198. IPPAPI(IppStatus, ippiHistogramRange_16s_C1R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist, const Ipp32s* pLevels, int nLevels))
  7199. IPPAPI(IppStatus, ippiHistogramRange_16s_C3R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[3],const Ipp32s* pLevels[3], int nLevels[3]))
  7200. IPPAPI(IppStatus, ippiHistogramRange_16s_AC4R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[3],const Ipp32s* pLevels[3], int nLevels[3]))
  7201. IPPAPI(IppStatus, ippiHistogramRange_16s_C4R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[4],const Ipp32s* pLevels[4], int nLevels[4]))
  7202. IPPAPI(IppStatus, ippiHistogramRange_16u_C1R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist, const Ipp32s* pLevels, int nLevels))
  7203. IPPAPI(IppStatus, ippiHistogramRange_16u_C3R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[3],const Ipp32s* pLevels[3], int nLevels[3]))
  7204. IPPAPI(IppStatus, ippiHistogramRange_16u_AC4R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[3],const Ipp32s* pLevels[3], int nLevels[3]))
  7205. IPPAPI(IppStatus, ippiHistogramRange_16u_C4R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[4],const Ipp32s* pLevels[4], int nLevels[4]))
  7206. IPPAPI(IppStatus, ippiHistogramRange_32f_C1R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist, const Ipp32f* pLevels, int nLevels))
  7207. IPPAPI(IppStatus, ippiHistogramRange_32f_C3R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[3], const Ipp32f* pLevels[3], int nLevels[3]))
  7208. IPPAPI(IppStatus, ippiHistogramRange_32f_AC4R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[3], const Ipp32f* pLevels[3], int nLevels[3]))
  7209. IPPAPI(IppStatus, ippiHistogramRange_32f_C4R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[4], const Ipp32f* pLevels[4], int nLevels[4]))
  7210. /* /////////////////////////////////////////////////////////////////////////////
  7211. // Name: ippiHistogramEven
  7212. // Purpose: Computes the intensity histogram of an image
  7213. // using equal bins - even histogram
  7214. // Context:
  7215. // Returns: IppStatus
  7216. // ippStsNoErr OK
  7217. // ippStsNullPtrErr One of the pointers is NULL
  7218. // ippStsSizeErr roiSize has a field with zero or negative value
  7219. // ippStsMemAllocErr There is not enough memory for the inner histogram
  7220. // ippStsHistoNofLevelsErr Number of levels is less 2
  7221. // Parameters:
  7222. // pSrc Pointer to the source image.
  7223. // srcStep Step in bytes through the source image
  7224. // roiSize Size of the source ROI.
  7225. // pHist Pointer to the computed histogram.
  7226. // pLevels Pointer to the array of level values.
  7227. // nLevels Number of levels
  7228. // lowerLevel Lower level boundary
  7229. // upperLevel Upper level boundary
  7230. // Notes:
  7231. */
  7232. IPPAPI(IppStatus, ippiHistogramEven_8u_C1R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist, Ipp32s* pLevels, int nLevels, Ipp32s lowerLevel, Ipp32s upperLevel))
  7233. IPPAPI(IppStatus, ippiHistogramEven_8u_C3R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[3], Ipp32s* pLevels[3], int nLevels[3], Ipp32s lowerLevel[3], Ipp32s upperLevel[3]))
  7234. IPPAPI(IppStatus, ippiHistogramEven_8u_AC4R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[3], Ipp32s* pLevels[3], int nLevels[3], Ipp32s lowerLevel[3], Ipp32s upperLevel[3]))
  7235. IPPAPI(IppStatus, ippiHistogramEven_8u_C4R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[4], Ipp32s* pLevels[4], int nLevels[4], Ipp32s lowerLevel[4], Ipp32s upperLevel[4]))
  7236. IPPAPI(IppStatus, ippiHistogramEven_16s_C1R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist, Ipp32s* pLevels, int nLevels, Ipp32s lowerLevel, Ipp32s upperLevel))
  7237. IPPAPI(IppStatus, ippiHistogramEven_16s_C3R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[3], Ipp32s* pLevels[3], int nLevels[3], Ipp32s lowerLevel[3], Ipp32s upperLevel[3]))
  7238. IPPAPI(IppStatus, ippiHistogramEven_16s_AC4R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[3], Ipp32s* pLevels[3], int nLevels[3], Ipp32s lowerLevel[3], Ipp32s upperLevel[3]))
  7239. IPPAPI(IppStatus, ippiHistogramEven_16s_C4R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[4], Ipp32s* pLevels[4], int nLevels[4], Ipp32s lowerLevel[4], Ipp32s upperLevel[4]))
  7240. IPPAPI(IppStatus, ippiHistogramEven_16u_C1R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist, Ipp32s* pLevels, int nLevels, Ipp32s lowerLevel, Ipp32s upperLevel))
  7241. IPPAPI(IppStatus, ippiHistogramEven_16u_C3R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[3], Ipp32s* pLevels[3], int nLevels[3], Ipp32s lowerLevel[3], Ipp32s upperLevel[3]))
  7242. IPPAPI(IppStatus, ippiHistogramEven_16u_AC4R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[3], Ipp32s* pLevels[3], int nLevels[3], Ipp32s lowerLevel[3], Ipp32s upperLevel[3]))
  7243. IPPAPI(IppStatus, ippiHistogramEven_16u_C4R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp32s* pHist[4], Ipp32s* pLevels[4], int nLevels[4], Ipp32s lowerLevel[4], Ipp32s upperLevel[4]))
  7244. /* /////////////////////////////////////////////////////////////////////////////
  7245. // Name: ippiLUT, ippiLUT_Linear, ippiLUT_Cubic
  7246. // Purpose: Performs intensity transformation of an image
  7247. // using lookup table (LUT) without interpolation or
  7248. // using lookup table (LUT) with linear interpolation or
  7249. // using lookup table (LUT) with cubic interpolation
  7250. // Parameters:
  7251. // pSrc pointer to the source image
  7252. // srcStep step in bytes through the source image
  7253. // pDst pointer to the destination image
  7254. // dstStep step in bytes through the destination image
  7255. // pSrcDst pointer to the destination image (inplace case)
  7256. // srcDstStep step in bytes through the destination image (inplace case)
  7257. // roiSize size of the source and destination ROI
  7258. // pValues pointer to the array of intensity values
  7259. // pLevels pointer to the array of level values
  7260. // nLevels number of levels
  7261. // Returns:
  7262. // ippStsNoErr no errors
  7263. // ippStsNullPtrErr one of the pointers is NULL
  7264. // ippStsSizeErr roiSize has a field with zero or negative value
  7265. // ippStsMemAllocErr there is not enough memory for the inner histogram
  7266. // ippStsLUTNofLevelsErr number of levels is less 2
  7267. // Notes:
  7268. */
  7269. IPPAPI(IppStatus, ippiLUT_8u_C1R,(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7270. IPPAPI(IppStatus, ippiLUT_8u_C3R,(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7271. IPPAPI(IppStatus, ippiLUT_8u_C4R,(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7272. IPPAPI(IppStatus, ippiLUT_8u_AC4R,(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7273. IPPAPI(IppStatus, ippiLUT_8u_C1IR,(Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7274. IPPAPI(IppStatus, ippiLUT_8u_C3IR,(Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7275. IPPAPI(IppStatus, ippiLUT_8u_C4IR,(Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7276. IPPAPI(IppStatus, ippiLUT_8u_AC4IR,(Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7277. IPPAPI(IppStatus, ippiLUT_16s_C1R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7278. IPPAPI(IppStatus, ippiLUT_16s_C3R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7279. IPPAPI(IppStatus, ippiLUT_16s_C4R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7280. IPPAPI(IppStatus, ippiLUT_16s_AC4R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7281. IPPAPI(IppStatus, ippiLUT_16s_C1IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7282. IPPAPI(IppStatus, ippiLUT_16s_C3IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7283. IPPAPI(IppStatus, ippiLUT_16s_C4IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7284. IPPAPI(IppStatus, ippiLUT_16s_AC4IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7285. IPPAPI(IppStatus, ippiLUT_16u_C1R,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7286. IPPAPI(IppStatus, ippiLUT_16u_C3R,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7287. IPPAPI(IppStatus, ippiLUT_16u_C4R,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7288. IPPAPI(IppStatus, ippiLUT_16u_AC4R,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7289. IPPAPI(IppStatus, ippiLUT_16u_C1IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7290. IPPAPI(IppStatus, ippiLUT_16u_C3IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7291. IPPAPI(IppStatus, ippiLUT_16u_C4IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7292. IPPAPI(IppStatus, ippiLUT_16u_AC4IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7293. IPPAPI(IppStatus, ippiLUT_32f_C1R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f* pValues, const Ipp32f* pLevels, int nLevels))
  7294. IPPAPI(IppStatus, ippiLUT_32f_C3R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f* pValues[3], const Ipp32f* pLevels[3], int nLevels[3]))
  7295. IPPAPI(IppStatus, ippiLUT_32f_C4R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f* pValues[4], const Ipp32f* pLevels[4], int nLevels[4]))
  7296. IPPAPI(IppStatus, ippiLUT_32f_AC4R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f* pValues[3], const Ipp32f* pLevels[3], int nLevels[3]))
  7297. IPPAPI(IppStatus, ippiLUT_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32f* pValues, const Ipp32f* pLevels, int nLevels))
  7298. IPPAPI(IppStatus, ippiLUT_32f_C3IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32f* pValues[3], const Ipp32f* pLevels[3], int nLevels[3]))
  7299. IPPAPI(IppStatus, ippiLUT_32f_C4IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32f* pValues[4], const Ipp32f* pLevels[4], int nLevels[4]))
  7300. IPPAPI(IppStatus, ippiLUT_32f_AC4IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32f* pValues[3], const Ipp32f* pLevels[3], int nLevels[3]))
  7301. IPPAPI(IppStatus, ippiLUT_Linear_8u_C1R,(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7302. IPPAPI(IppStatus, ippiLUT_Linear_8u_C3R,(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7303. IPPAPI(IppStatus, ippiLUT_Linear_8u_C4R,(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7304. IPPAPI(IppStatus, ippiLUT_Linear_8u_AC4R,(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7305. IPPAPI(IppStatus, ippiLUT_Linear_8u_C1IR,(Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7306. IPPAPI(IppStatus, ippiLUT_Linear_8u_C3IR,(Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7307. IPPAPI(IppStatus, ippiLUT_Linear_8u_C4IR,(Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7308. IPPAPI(IppStatus, ippiLUT_Linear_8u_AC4IR,(Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7309. IPPAPI(IppStatus, ippiLUT_Linear_16s_C1R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7310. IPPAPI(IppStatus, ippiLUT_Linear_16s_C3R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7311. IPPAPI(IppStatus, ippiLUT_Linear_16s_C4R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7312. IPPAPI(IppStatus, ippiLUT_Linear_16s_AC4R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7313. IPPAPI(IppStatus, ippiLUT_Linear_16s_C1IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7314. IPPAPI(IppStatus, ippiLUT_Linear_16s_C3IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7315. IPPAPI(IppStatus, ippiLUT_Linear_16s_C4IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7316. IPPAPI(IppStatus, ippiLUT_Linear_16s_AC4IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7317. IPPAPI(IppStatus, ippiLUT_Linear_16u_C1R,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7318. IPPAPI(IppStatus, ippiLUT_Linear_16u_C3R,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7319. IPPAPI(IppStatus, ippiLUT_Linear_16u_C4R,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7320. IPPAPI(IppStatus, ippiLUT_Linear_16u_AC4R,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7321. IPPAPI(IppStatus, ippiLUT_Linear_16u_C1IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7322. IPPAPI(IppStatus, ippiLUT_Linear_16u_C3IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7323. IPPAPI(IppStatus, ippiLUT_Linear_16u_C4IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7324. IPPAPI(IppStatus, ippiLUT_Linear_16u_AC4IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7325. IPPAPI(IppStatus, ippiLUT_Linear_32f_C1R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f* pValues, const Ipp32f* pLevels, int nLevels))
  7326. IPPAPI(IppStatus, ippiLUT_Linear_32f_C3R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f* pValues[3], const Ipp32f* pLevels[3], int nLevels[3]))
  7327. IPPAPI(IppStatus, ippiLUT_Linear_32f_C4R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f* pValues[4], const Ipp32f* pLevels[4], int nLevels[4]))
  7328. IPPAPI(IppStatus, ippiLUT_Linear_32f_AC4R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f* pValues[3], const Ipp32f* pLevels[3], int nLevels[3]))
  7329. IPPAPI(IppStatus, ippiLUT_Linear_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32f* pValues, const Ipp32f* pLevels, int nLevels))
  7330. IPPAPI(IppStatus, ippiLUT_Linear_32f_C3IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32f* pValues[3], const Ipp32f* pLevels[3], int nLevels[3]))
  7331. IPPAPI(IppStatus, ippiLUT_Linear_32f_C4IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32f* pValues[4], const Ipp32f* pLevels[4], int nLevels[4]))
  7332. IPPAPI(IppStatus, ippiLUT_Linear_32f_AC4IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32f* pValues[3], const Ipp32f* pLevels[3], int nLevels[3]))
  7333. IPPAPI(IppStatus, ippiLUT_Cubic_8u_C1R,(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7334. IPPAPI(IppStatus, ippiLUT_Cubic_8u_C3R,(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7335. IPPAPI(IppStatus, ippiLUT_Cubic_8u_C4R,(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7336. IPPAPI(IppStatus, ippiLUT_Cubic_8u_AC4R,(const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7337. IPPAPI(IppStatus, ippiLUT_Cubic_8u_C1IR,(Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7338. IPPAPI(IppStatus, ippiLUT_Cubic_8u_C3IR,(Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7339. IPPAPI(IppStatus, ippiLUT_Cubic_8u_C4IR,(Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7340. IPPAPI(IppStatus, ippiLUT_Cubic_8u_AC4IR,(Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7341. IPPAPI(IppStatus, ippiLUT_Cubic_16s_C1R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7342. IPPAPI(IppStatus, ippiLUT_Cubic_16s_C3R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7343. IPPAPI(IppStatus, ippiLUT_Cubic_16s_C4R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7344. IPPAPI(IppStatus, ippiLUT_Cubic_16s_AC4R,(const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7345. IPPAPI(IppStatus, ippiLUT_Cubic_16s_C1IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7346. IPPAPI(IppStatus, ippiLUT_Cubic_16s_C3IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7347. IPPAPI(IppStatus, ippiLUT_Cubic_16s_C4IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7348. IPPAPI(IppStatus, ippiLUT_Cubic_16s_AC4IR,(Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7349. IPPAPI(IppStatus, ippiLUT_Cubic_16u_C1R,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7350. IPPAPI(IppStatus, ippiLUT_Cubic_16u_C3R,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7351. IPPAPI(IppStatus, ippiLUT_Cubic_16u_C4R,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7352. IPPAPI(IppStatus, ippiLUT_Cubic_16u_AC4R,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7353. IPPAPI(IppStatus, ippiLUT_Cubic_16u_C1IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues, const Ipp32s* pLevels, int nLevels))
  7354. IPPAPI(IppStatus, ippiLUT_Cubic_16u_C3IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7355. IPPAPI(IppStatus, ippiLUT_Cubic_16u_C4IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[4], const Ipp32s* pLevels[4], int nLevels[4]))
  7356. IPPAPI(IppStatus, ippiLUT_Cubic_16u_AC4IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32s* pValues[3], const Ipp32s* pLevels[3], int nLevels[3]))
  7357. IPPAPI(IppStatus, ippiLUT_Cubic_32f_C1R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f* pValues, const Ipp32f* pLevels, int nLevels))
  7358. IPPAPI(IppStatus, ippiLUT_Cubic_32f_C3R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f* pValues[3], const Ipp32f* pLevels[3], int nLevels[3]))
  7359. IPPAPI(IppStatus, ippiLUT_Cubic_32f_C4R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f* pValues[4], const Ipp32f* pLevels[4], int nLevels[4]))
  7360. IPPAPI(IppStatus, ippiLUT_Cubic_32f_AC4R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f* pValues[3], const Ipp32f* pLevels[3], int nLevels[3]))
  7361. IPPAPI(IppStatus, ippiLUT_Cubic_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32f* pValues, const Ipp32f* pLevels, int nLevels))
  7362. IPPAPI(IppStatus, ippiLUT_Cubic_32f_C3IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32f* pValues[3], const Ipp32f* pLevels[3], int nLevels[3]))
  7363. IPPAPI(IppStatus, ippiLUT_Cubic_32f_C4IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32f* pValues[4], const Ipp32f* pLevels[4], int nLevels[4]))
  7364. IPPAPI(IppStatus, ippiLUT_Cubic_32f_AC4IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize, const Ipp32f* pValues[3], const Ipp32f* pLevels[3], int nLevels[3]))
  7365. /* ////////////////////////////////////////////////////////////////////////////
  7366. // Names: ippiLUTPalette
  7367. // Purpose: intensity transformation of image using the palette lookup table pTable
  7368. // Parameters:
  7369. // pSrc pointer to the source image
  7370. // srcStep line offset in input data in bytes
  7371. // alphaValue constant alpha channel
  7372. // pDst pointer to the destination image
  7373. // dstStep line offset in output data in bytes
  7374. // roiSize size of source ROI in pixels
  7375. // pTable pointer to palette table of size 2^nBitSize or
  7376. // array of pointers to each channel
  7377. // nBitSize number of valid bits in the source image
  7378. // (range [1,8] for 8u source images and range [1,16] for 16u source images)
  7379. // Returns:
  7380. // ippStsNoErr no errors
  7381. // ippStsNullPtrErr pSrc == NULL or pDst == NULL or pTable == NULL
  7382. // ippStsSizeErr width or height of ROI is less or equal zero
  7383. // ippStsOutOfRangeErr nBitSize is out of range
  7384. // Notes:
  7385. */
  7386. IPPAPI(IppStatus, ippiLUTPalette_16u32u_C1R, (const Ipp16u* pSrc, int srcStep, Ipp32u* pDst, int dstStep,
  7387. IppiSize roiSize, const Ipp32u* pTable, int nBitSize))
  7388. IPPAPI(IppStatus, ippiLUTPalette_16u24u_C1R, (const Ipp16u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  7389. IppiSize roiSize, const Ipp8u* pTable, int nBitSize))
  7390. IPPAPI(IppStatus, ippiLUTPalette_16u8u_C1R, (const Ipp16u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  7391. IppiSize roiSize, const Ipp8u* pTable, int nBitSize))
  7392. IPPAPI(IppStatus, ippiLUTPalette_8u32u_C1R, (const Ipp8u* pSrc, int srcStep, Ipp32u* pDst, int dstStep,
  7393. IppiSize roiSize, const Ipp32u* pTable, int nBitSize))
  7394. IPPAPI(IppStatus, ippiLUTPalette_8u24u_C1R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  7395. IppiSize roiSize, const Ipp8u* pTable, int nBitSize))
  7396. IPPAPI(IppStatus, ippiLUTPalette_8u_C1R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  7397. IppiSize roiSize, const Ipp8u* pTable, int nBitSize))
  7398. IPPAPI(IppStatus, ippiLUTPalette_16u_C1R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  7399. IppiSize roiSize, const Ipp16u* pTable, int nBitSize))
  7400. IPPAPI(IppStatus, ippiLUTPalette_8u_C3R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  7401. IppiSize roiSize, const Ipp8u* const pTable[3], int nBitSize))
  7402. IPPAPI(IppStatus, ippiLUTPalette_16u_C3R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  7403. IppiSize roiSize, const Ipp16u* const pTable[3], int nBitSize))
  7404. IPPAPI(IppStatus, ippiLUTPalette_8u_C4R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  7405. IppiSize roiSize, const Ipp8u* const pTable[4], int nBitSize))
  7406. IPPAPI(IppStatus, ippiLUTPalette_16u_C4R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  7407. IppiSize roiSize, const Ipp16u* const pTable[4], int nBitSize))
  7408. IPPAPI(IppStatus, ippiLUTPalette_8u_AC4R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  7409. IppiSize roiSize, const Ipp8u* const pTable[3], int nBitSize))
  7410. IPPAPI(IppStatus, ippiLUTPalette_16u_AC4R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  7411. IppiSize roiSize, const Ipp16u* const pTable[3], int nBitSize))
  7412. IPPAPI(IppStatus, ippiLUTPalette_8u_C3A0C4R, (const Ipp8u* pSrc, int srcStep, int alphaValue, Ipp8u* pDst, int dstStep,
  7413. IppiSize roiSize, const Ipp8u* const pTable[3], int nBitSize))
  7414. IPPAPI(IppStatus, ippiLUTPalette_16u_C3A0C4R, (const Ipp16u* pSrc, int srcStep, int alphaValue, Ipp16u* pDst, int dstStep,
  7415. IppiSize roiSize, const Ipp16u* const pTable[3], int nBitSize))
  7416. IPPAPI(IppStatus, ippiLUTPaletteSwap_8u_C3A0C4R, (const Ipp8u* pSrc, int srcStep, int alphaValue, Ipp8u* pDst, int dstStep,
  7417. IppiSize roiSize, const Ipp8u* const pTable[3], int nBitSize))
  7418. IPPAPI(IppStatus, ippiLUTPaletteSwap_16u_C3A0C4R, (const Ipp16u* pSrc, int srcStep, int alphaValue, Ipp16u* pDst, int dstStep,
  7419. IppiSize roiSize, const Ipp16u* const pTable[3], int nBitSize))
  7420. /* /////////////////////////////////////////////////////////////////////////////
  7421. // Name: ippiCountInRange
  7422. //
  7423. // Purpose: Computes the number of pixels with intensity values within the given range
  7424. //
  7425. // Returns: IppStatus
  7426. // ippStsNoErr No errors
  7427. // ippStsNullPtrErr pSrc == NULL
  7428. // ippStsStepErr srcStep is less than or equal to zero
  7429. // ippStsSizeErr roiSize has a field with zero or negative value
  7430. // ippStsRangeErr lowerBound is greater than upperBound
  7431. //
  7432. // Parameters:
  7433. // pSrc Pointer to the source buffer
  7434. // roiSize Size of the source ROI
  7435. // srcStep Step through the source image buffer
  7436. // counts Number of pixels within the given intensity range
  7437. // lowerBound Lower limit of the range
  7438. // upperBound Upper limit of the range
  7439. */
  7440. IPPAPI(IppStatus, ippiCountInRange_8u_C1R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize,
  7441. int* counts, Ipp8u lowerBound, Ipp8u upperBound))
  7442. IPPAPI(IppStatus, ippiCountInRange_8u_C3R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize,
  7443. int counts[3], Ipp8u lowerBound[3], Ipp8u upperBound[3]))
  7444. IPPAPI(IppStatus, ippiCountInRange_8u_AC4R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize,
  7445. int counts[3], Ipp8u lowerBound[3], Ipp8u upperBound[3]))
  7446. IPPAPI(IppStatus, ippiCountInRange_32f_C1R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize,
  7447. int* counts, Ipp32f lowerBound, Ipp32f upperBound))
  7448. IPPAPI(IppStatus, ippiCountInRange_32f_C3R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize,
  7449. int counts[3], Ipp32f lowerBound[3], Ipp32f upperBound[3]))
  7450. IPPAPI(IppStatus, ippiCountInRange_32f_AC4R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize,
  7451. int counts[3], Ipp32f lowerBound[3], Ipp32f upperBound[3]))
  7452. /* ///////////////////////////////////////////////////////////////////////////
  7453. // Non-linear Filters
  7454. /////////////////////////////////////////////////////////////////////////// */
  7455. /* ////////////////////////////////////////////////////////////////////////////
  7456. // Names: ippiFilterMedianHoriz_8u_C1R
  7457. // ippiFilterMedianHoriz_8u_C3R
  7458. // ippiFilterMedianHoriz_8u_AC4R
  7459. // ippiFilterMedianHoriz_16s_C1R
  7460. // ippiFilterMedianHoriz_16s_C3R
  7461. // ippiFilterMedianHoriz_16s_AC4R
  7462. // ippiFilterMedianHoriz_8u_C4R
  7463. // ippiFilterMedianHoriz_16s_C4R
  7464. // ippiFilterMedianHoriz_16u_C1R
  7465. // ippiFilterMedianHoriz_16u_C3R
  7466. // ippiFilterMedianHoriz_16u_AC4R
  7467. // ippiFilterMedianHoriz_16u_C4R
  7468. // Purpose: Performs horizontal median filtering
  7469. // Returns:
  7470. // ippStsNoErr OK
  7471. // ippStsNullPtrErr pSrc or pDst is NULL
  7472. // ippStsSizeErr dstRoiSize has a field with zero or negative value
  7473. // ippStsStepErr srcStep or dstStep has zero or negative value
  7474. // ippStsMaskSizeErr Illegal value of mask
  7475. //
  7476. // Parameters:
  7477. // pSrc Pointer to the source image
  7478. // srcStep Step through the source image
  7479. // pDst Pointer to the destination image
  7480. // dstStep Step through the destination image
  7481. // dstRoiSize Size of the destination ROI
  7482. // mask Type of the filter mask
  7483. */
  7484. IPPAPI(IppStatus,ippiFilterMedianHoriz_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  7485. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7486. IPPAPI(IppStatus,ippiFilterMedianHoriz_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  7487. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7488. IPPAPI(IppStatus,ippiFilterMedianHoriz_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  7489. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7490. IPPAPI(IppStatus,ippiFilterMedianHoriz_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  7491. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7492. IPPAPI(IppStatus,ippiFilterMedianHoriz_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  7493. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7494. IPPAPI(IppStatus,ippiFilterMedianHoriz_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  7495. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7496. IPPAPI(IppStatus,ippiFilterMedianHoriz_8u_C4R,(const Ipp8u* pSrc, int srcStep,
  7497. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7498. IPPAPI(IppStatus,ippiFilterMedianHoriz_16s_C4R,(const Ipp16s* pSrc, int srcStep,
  7499. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7500. IPPAPI(IppStatus,ippiFilterMedianHoriz_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  7501. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7502. IPPAPI(IppStatus,ippiFilterMedianHoriz_16u_C3R,(const Ipp16u* pSrc, int srcStep,
  7503. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7504. IPPAPI(IppStatus,ippiFilterMedianHoriz_16u_AC4R,(const Ipp16u* pSrc, int srcStep,
  7505. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7506. IPPAPI(IppStatus,ippiFilterMedianHoriz_16u_C4R,(const Ipp16u* pSrc, int srcStep,
  7507. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7508. /* ////////////////////////////////////////////////////////////////////////////
  7509. // Names: ippiFilterMedianVert_8u_C1R
  7510. // ippiFilterMedianVert_8u_C3R
  7511. // ippiFilterMedianVert_8u_AC4R
  7512. // ippiFilterMedianVert_16s_C1R
  7513. // ippiFilterMedianVert_16s_C3R
  7514. // ippiFilterMedianVert_16s_AC4R
  7515. // ippiFilterMedianVert_8u_C4R
  7516. // ippiFilterMedianVert_16s_C4R
  7517. // ippiFilterMedianVert_16u_C1R
  7518. // ippiFilterMedianVert_16u_C3R
  7519. // ippiFilterMedianVert_16u_AC4R
  7520. // ippiFilterMedianVert_16u_C4R
  7521. // Purpose: Performs vertical median filtering
  7522. // Returns:
  7523. // ippStsNoErr OK
  7524. // ippStsNullPtrErr pSrc or pDst is NULL
  7525. // ippStsSizeErr dstRoiSize has a field with zero or negative value
  7526. // ippStsStepErr srcStep or dstStep has zero or negative value
  7527. // ippStsMaskSizeErr Illegal value of mask
  7528. //
  7529. // Parameters:
  7530. // pSrc Pointer to the source image
  7531. // srcStep Step through the source image
  7532. // pDst Pointer to the destination image
  7533. // dstStep Step through the destination image
  7534. // dstRoiSize Size of the destination ROI
  7535. // mask Type of the filter mask
  7536. */
  7537. IPPAPI(IppStatus,ippiFilterMedianVert_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  7538. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7539. IPPAPI(IppStatus,ippiFilterMedianVert_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  7540. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7541. IPPAPI(IppStatus,ippiFilterMedianVert_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  7542. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7543. IPPAPI(IppStatus,ippiFilterMedianVert_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  7544. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7545. IPPAPI(IppStatus,ippiFilterMedianVert_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  7546. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7547. IPPAPI(IppStatus,ippiFilterMedianVert_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  7548. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7549. IPPAPI(IppStatus,ippiFilterMedianVert_8u_C4R,(const Ipp8u* pSrc, int srcStep,
  7550. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7551. IPPAPI(IppStatus,ippiFilterMedianVert_16s_C4R,(const Ipp16s* pSrc, int srcStep,
  7552. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7553. IPPAPI(IppStatus,ippiFilterMedianVert_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  7554. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7555. IPPAPI(IppStatus,ippiFilterMedianVert_16u_C3R,(const Ipp16u* pSrc, int srcStep,
  7556. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7557. IPPAPI(IppStatus,ippiFilterMedianVert_16u_AC4R,(const Ipp16u* pSrc, int srcStep,
  7558. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7559. IPPAPI(IppStatus,ippiFilterMedianVert_16u_C4R,(const Ipp16u* pSrc, int srcStep,
  7560. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7561. /* ////////////////////////////////////////////////////////////////////////////
  7562. // Names: ippiFilterMedian_8u_C1R
  7563. // ippiFilterMedian_8u_C3R
  7564. // ippiFilterMedian_8u_AC4R
  7565. // ippiFilterMedian_16s_C1R
  7566. // ippiFilterMedian_16s_C3R
  7567. // ippiFilterMedian_16s_AC4R
  7568. // ippiFilterMedian_8u_C4R
  7569. // ippiFilterMedian_16s_C4R
  7570. // ippiFilterMedian_16u_C1R
  7571. // ippiFilterMedian_16u_C3R
  7572. // ippiFilterMedian_16u_AC4R
  7573. // ippiFilterMedian_16u_C4R
  7574. // Purpose: Filters an image using a box median filter
  7575. // Returns:
  7576. // ippStsNoErr OK
  7577. // ippStsNullPtrErr pSrc or pDst is NULL
  7578. // ippStsSizeErr dstRoiSize has a field with zero or negative value
  7579. // ippStsStepErr srcStep or dstStep has zero or negative value
  7580. // ippStsMaskSizeErr maskSize has a field with zero, negative, or even value
  7581. // ippStsAnchorErr anchor is outside the mask
  7582. //
  7583. // Parameters:
  7584. // pSrc Pointer to the source image
  7585. // srcStep Step through the source image
  7586. // pDst Pointer to the destination image
  7587. // dstStep Step through the destination image
  7588. // dstRoiSize Size of the destination ROI
  7589. // maskSize Size of the mask in pixels
  7590. // anchor Anchor cell specifying the mask alignment with respect to
  7591. // the position of input pixel
  7592. */
  7593. IPPAPI(IppStatus,ippiFilterMedian_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  7594. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7595. IppiPoint anchor))
  7596. IPPAPI(IppStatus,ippiFilterMedian_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  7597. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7598. IppiPoint anchor))
  7599. IPPAPI(IppStatus,ippiFilterMedian_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  7600. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7601. IppiPoint anchor))
  7602. IPPAPI(IppStatus,ippiFilterMedian_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  7603. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7604. IppiPoint anchor))
  7605. IPPAPI(IppStatus,ippiFilterMedian_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  7606. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7607. IppiPoint anchor))
  7608. IPPAPI(IppStatus,ippiFilterMedian_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  7609. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7610. IppiPoint anchor))
  7611. IPPAPI(IppStatus,ippiFilterMedian_8u_C4R,(const Ipp8u* pSrc, int srcStep,
  7612. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7613. IppiPoint anchor))
  7614. IPPAPI(IppStatus,ippiFilterMedian_16s_C4R,(const Ipp16s* pSrc, int srcStep,
  7615. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7616. IppiPoint anchor))
  7617. IPPAPI(IppStatus,ippiFilterMedian_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  7618. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7619. IppiPoint anchor))
  7620. IPPAPI(IppStatus,ippiFilterMedian_16u_C3R,(const Ipp16u* pSrc, int srcStep,
  7621. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7622. IppiPoint anchor))
  7623. IPPAPI(IppStatus,ippiFilterMedian_16u_AC4R,(const Ipp16u* pSrc, int srcStep,
  7624. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7625. IppiPoint anchor))
  7626. IPPAPI(IppStatus,ippiFilterMedian_16u_C4R,(const Ipp16u* pSrc, int srcStep,
  7627. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7628. IppiPoint anchor))
  7629. IPPAPI(IppStatus,ippiFilterMedian_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  7630. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7631. IppiPoint anchor))
  7632. /* ////////////////////////////////////////////////////////////////////////////
  7633. // Names: ippiFilterMedianCross_8u_C1R
  7634. // ippiFilterMedianCross_8u_C3R
  7635. // ippiFilterMedianCross_8u_AC4R
  7636. // ippiFilterMedianCross_16s_C1R
  7637. // ippiFilterMedianCross_16s_C3R
  7638. // ippiFilterMedianCross_16s_AC4R
  7639. // ippiFilterMedianCross_16u_C1R
  7640. // ippiFilterMedianCross_16u_C3R
  7641. // ippiFilterMedianCross_16u_AC4R
  7642. // Purpose: Filters an image using a cross median filter
  7643. // Returns:
  7644. // ippStsNoErr OK
  7645. // ippStsNullPtrErr pSrc or pDst is NULL
  7646. // ippStsSizeErr dstRoiSize has a field with zero or negative value
  7647. // ippStsStepErr srcStep or dstStep has zero or negative value
  7648. // ippStsMaskSizeErr Illegal value of mask
  7649. //
  7650. // Parameters:
  7651. // pSrc Pointer to the source image
  7652. // srcStep Step through the source image
  7653. // pDst Pointer to the destination image
  7654. // dstStep Step through the destination image
  7655. // dstRoiSize Size of the destination ROI
  7656. // mask Type of the filter mask
  7657. */
  7658. IPPAPI(IppStatus,ippiFilterMedianCross_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  7659. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7660. IPPAPI(IppStatus,ippiFilterMedianCross_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  7661. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7662. IPPAPI(IppStatus,ippiFilterMedianCross_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  7663. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7664. IPPAPI(IppStatus,ippiFilterMedianCross_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  7665. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7666. IPPAPI(IppStatus,ippiFilterMedianCross_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  7667. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7668. IPPAPI(IppStatus,ippiFilterMedianCross_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  7669. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7670. IPPAPI(IppStatus,ippiFilterMedianCross_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  7671. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7672. IPPAPI(IppStatus,ippiFilterMedianCross_16u_C3R,(const Ipp16u* pSrc, int srcStep,
  7673. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7674. IPPAPI(IppStatus,ippiFilterMedianCross_16u_AC4R,(const Ipp16u* pSrc, int srcStep,
  7675. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7676. /* ////////////////////////////////////////////////////////////////////////////
  7677. // Names: ippiFilterMedianColor_8u_C3R
  7678. // ippiFilterMedianColor_8u_AC4R
  7679. // ippiFilterMedianColor_16s_C3R
  7680. // ippiFilterMedianColor_16s_AC4R
  7681. // ippiFilterMedianColor_32f_C3R
  7682. // ippiFilterMedianColor_32f_AC4R
  7683. // Purpose: Filters an image using a box color median filter
  7684. // Returns:
  7685. // ippStsNoErr OK
  7686. // ippStsNullPtrErr pSrc or pDst is NULL
  7687. // ippStsSizeErr dstRoiSize has a field with zero or negative value
  7688. // ippStsStepErr srcStep or dstStep has zero or negative value
  7689. // ippStsMaskSizeErr Illegal value of mask
  7690. //
  7691. // Parameters:
  7692. // pSrc Pointer to the source image
  7693. // srcStep Step through the source image
  7694. // pDst Pointer to the destination image
  7695. // dstStep Step through the destination image
  7696. // dstRoiSize Size of the destination ROI
  7697. // mask Type of the filter mask
  7698. */
  7699. IPPAPI(IppStatus,ippiFilterMedianColor_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  7700. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7701. IPPAPI(IppStatus,ippiFilterMedianColor_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  7702. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7703. IPPAPI(IppStatus,ippiFilterMedianColor_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  7704. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7705. IPPAPI(IppStatus,ippiFilterMedianColor_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  7706. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7707. IPPAPI(IppStatus,ippiFilterMedianColor_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  7708. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7709. IPPAPI(IppStatus,ippiFilterMedianColor_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  7710. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, IppiMaskSize mask))
  7711. /* ////////////////////////////////////////////////////////////////////////////
  7712. // Names: ippiFilterMedianWeightedCenter3x3_8u_C1R
  7713. // Purpose: Filter an image using a median filter with kernel size 3x3 and
  7714. // enlarged weight of central pixel
  7715. // Returns:
  7716. // ippStsNoErr OK
  7717. // ippStsNullPtrErr pSrc or pDst is NULL
  7718. // ippStsSizeErr dstRoiSize has a field with zero or negative value
  7719. // ippStsStepErr srcStep or dstStep has zero or negative value
  7720. // ippStsWeightErr weight of central Pixel has zero or negative value
  7721. // ippStsEvenMedianWeight weight of central Pixel has even value
  7722. //
  7723. // Parameters:
  7724. // pSrc Pointer to the source image
  7725. // srcStep Step through the source image
  7726. // pDst Pointer to the destination image
  7727. // dstStep Step through the destination image
  7728. // dstRoiSize Size of the destination ROI
  7729. // weight Weight of central pixel
  7730. */
  7731. IPPAPI(IppStatus,ippiFilterMedianWeightedCenter3x3_8u_C1R,(const Ipp8u* pSrc,
  7732. int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, int weight))
  7733. /* ////////////////////////////////////////////////////////////////////////////
  7734. // Names: ippiFilterMax_8u_C1R
  7735. // ippiFilterMax_8u_C3R
  7736. // ippiFilterMax_8u_AC4R
  7737. // ippiFilterMax_8u_C4R
  7738. // ippiFilterMax_16s_C1R
  7739. // ippiFilterMax_16s_C3R
  7740. // ippiFilterMax_16s_AC4R
  7741. // ippiFilterMax_16s_C4R
  7742. // ippiFilterMax_16u_C1R
  7743. // ippiFilterMax_16u_C3R
  7744. // ippiFilterMax_16u_AC4R
  7745. // ippiFilterMax_16u_C4R
  7746. // ippiFilterMax_32f_C1R
  7747. // ippiFilterMax_32f_C3R
  7748. // ippiFilterMax_32f_AC4R
  7749. // ippiFilterMax_32f_C4R
  7750. // Purpose: Applies the "max" filter to an image
  7751. // Returns:
  7752. // ippStsNoErr OK
  7753. // ippStsNullPtrErr pSrc or pDst is NULL
  7754. // ippStsSizeErr dstRoiSize has a field with zero or negative value
  7755. // ippStsStepErr srcStep or dstStep has zero or negative value
  7756. // ippStsMaskSizeErr maskSize has a field with zero, or negative value
  7757. // ippStsAnchorErr anchor is outside the mask
  7758. //
  7759. // Parameters:
  7760. // pSrc Pointer to the source image
  7761. // srcStep Step through the source image
  7762. // pDst Pointer to the destination image
  7763. // dstStep Step through the destination image
  7764. // pSrcDst Pointer to the source/destination image (in-place flavors)
  7765. // srcDstStep Step through the source/destination image (in-place flavors)
  7766. // dstRoiSize Size of the destination ROI
  7767. // roiSize Size of the source/destination ROI (in-place flavors)
  7768. // maskSize Size of the mask in pixels
  7769. // anchor Anchor cell specifying the mask alignment with respect to
  7770. // the position of input pixel
  7771. */
  7772. IPPAPI(IppStatus,ippiFilterMax_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  7773. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7774. IppiPoint anchor))
  7775. IPPAPI(IppStatus,ippiFilterMax_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  7776. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7777. IppiPoint anchor))
  7778. IPPAPI(IppStatus,ippiFilterMax_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  7779. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7780. IppiPoint anchor))
  7781. IPPAPI(IppStatus,ippiFilterMax_8u_C4R,(const Ipp8u* pSrc, int srcStep,
  7782. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7783. IppiPoint anchor))
  7784. IPPAPI(IppStatus,ippiFilterMax_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  7785. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7786. IppiPoint anchor))
  7787. IPPAPI(IppStatus,ippiFilterMax_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  7788. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7789. IppiPoint anchor))
  7790. IPPAPI(IppStatus,ippiFilterMax_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  7791. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7792. IppiPoint anchor))
  7793. IPPAPI(IppStatus,ippiFilterMax_16s_C4R,(const Ipp16s* pSrc, int srcStep,
  7794. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7795. IppiPoint anchor))
  7796. IPPAPI(IppStatus,ippiFilterMax_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  7797. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7798. IppiPoint anchor))
  7799. IPPAPI(IppStatus,ippiFilterMax_16u_C3R,(const Ipp16u* pSrc, int srcStep,
  7800. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7801. IppiPoint anchor))
  7802. IPPAPI(IppStatus,ippiFilterMax_16u_AC4R,(const Ipp16u* pSrc, int srcStep,
  7803. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7804. IppiPoint anchor))
  7805. IPPAPI(IppStatus,ippiFilterMax_16u_C4R,(const Ipp16u* pSrc, int srcStep,
  7806. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7807. IppiPoint anchor))
  7808. IPPAPI(IppStatus,ippiFilterMax_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  7809. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7810. IppiPoint anchor))
  7811. IPPAPI(IppStatus,ippiFilterMax_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  7812. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7813. IppiPoint anchor))
  7814. IPPAPI(IppStatus,ippiFilterMax_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  7815. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7816. IppiPoint anchor))
  7817. IPPAPI(IppStatus,ippiFilterMax_32f_C4R,(const Ipp32f* pSrc, int srcStep,
  7818. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7819. IppiPoint anchor))
  7820. /* ////////////////////////////////////////////////////////////////////////////
  7821. // Names: ippiFilterMin_8u_C1R
  7822. // ippiFilterMin_8u_C3R
  7823. // ippiFilterMin_8u_AC4R
  7824. // ippiFilterMin_8u_C4R
  7825. // ippiFilterMin_16s_C1R
  7826. // ippiFilterMin_16s_C3R
  7827. // ippiFilterMin_16s_AC4R
  7828. // ippiFilterMin_16s_C4R
  7829. // ippiFilterMin_16u_C1R
  7830. // ippiFilterMin_16u_C3R
  7831. // ippiFilterMin_16u_AC4R
  7832. // ippiFilterMin_16u_C4R
  7833. // ippiFilterMin_32f_C1R
  7834. // ippiFilterMin_32f_C3R
  7835. // ippiFilterMin_32f_AC4R
  7836. // ippiFilterMin_32f_C4R
  7837. // Purpose: Applies the "min" filter to an image
  7838. // Returns:
  7839. // ippStsNoErr OK
  7840. // ippStsNullPtrErr pSrc or pDst is NULL
  7841. // ippStsSizeErr dstRoiSize has a field with zero or negative value
  7842. // ippStsStepErr srcStep or dstStep has zero or negative value
  7843. // ippStsMaskSizeErr maskSize has a field with zero, or negative value
  7844. // ippStsAnchorErr anchor is outside the mask
  7845. //
  7846. // Parameters:
  7847. // pSrc Pointer to the source image
  7848. // srcStep Step through the source image
  7849. // pDst Pointer to the destination image
  7850. // dstStep Step through the destination image
  7851. // dstRoiSize Size of the destination ROI
  7852. // maskSize Size of the mask in pixels
  7853. // anchor Anchor cell specifying the mask alignment with respect to
  7854. // the position of input pixel
  7855. */
  7856. IPPAPI(IppStatus,ippiFilterMin_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  7857. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7858. IppiPoint anchor))
  7859. IPPAPI(IppStatus,ippiFilterMin_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  7860. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7861. IppiPoint anchor))
  7862. IPPAPI(IppStatus,ippiFilterMin_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  7863. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7864. IppiPoint anchor))
  7865. IPPAPI(IppStatus,ippiFilterMin_8u_C4R,(const Ipp8u* pSrc, int srcStep,
  7866. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7867. IppiPoint anchor))
  7868. IPPAPI(IppStatus,ippiFilterMin_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  7869. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7870. IppiPoint anchor))
  7871. IPPAPI(IppStatus,ippiFilterMin_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  7872. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7873. IppiPoint anchor))
  7874. IPPAPI(IppStatus,ippiFilterMin_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  7875. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7876. IppiPoint anchor))
  7877. IPPAPI(IppStatus,ippiFilterMin_16s_C4R,(const Ipp16s* pSrc, int srcStep,
  7878. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7879. IppiPoint anchor))
  7880. IPPAPI(IppStatus,ippiFilterMin_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  7881. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7882. IppiPoint anchor))
  7883. IPPAPI(IppStatus,ippiFilterMin_16u_C3R,(const Ipp16u* pSrc, int srcStep,
  7884. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7885. IppiPoint anchor))
  7886. IPPAPI(IppStatus,ippiFilterMin_16u_AC4R,(const Ipp16u* pSrc, int srcStep,
  7887. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7888. IppiPoint anchor))
  7889. IPPAPI(IppStatus,ippiFilterMin_16u_C4R,(const Ipp16u* pSrc, int srcStep,
  7890. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7891. IppiPoint anchor))
  7892. IPPAPI(IppStatus,ippiFilterMin_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  7893. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7894. IppiPoint anchor))
  7895. IPPAPI(IppStatus,ippiFilterMin_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  7896. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7897. IppiPoint anchor))
  7898. IPPAPI(IppStatus,ippiFilterMin_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  7899. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7900. IppiPoint anchor))
  7901. IPPAPI(IppStatus,ippiFilterMin_32f_C4R,(const Ipp32f* pSrc, int srcStep,
  7902. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  7903. IppiPoint anchor))
  7904. /* ///////////////////////////////////////////////////////////////////////////
  7905. // Linear Filters
  7906. /////////////////////////////////////////////////////////////////////////// */
  7907. /* ///////////////////////////////////////////////////////////////////////////
  7908. // Name: ippiFilterBox_8u_<desc>R, ippiFilterBox_8u_<desc>IR
  7909. // ippiFilterBox_16u_<desc>R, ippiFilterBox_16u_<desc>IR
  7910. // ippiFilterBox_16s_<desc>R, ippiFilterBox_16s_<desc>IR
  7911. // ippiFilterBox_32f_<desc>R, ippiFilterBox_32f_<desc>IR
  7912. // <desc> C1|C3|C4|AC4 (descriptor)
  7913. // Purpose: Blurs an image using a simple box filter
  7914. // Parameters:
  7915. // pSrc pointer to the source image
  7916. // srcStep step in the source image
  7917. // pDst pointer to the destination image
  7918. // dstStep step in the destination image
  7919. // pSrcDst pointer to the source/destination image (in-place flavors)
  7920. // srcDstStep step in the source/destination image (in-place flavors)
  7921. // dstRoiSize size of the destination ROI
  7922. // roiSize size of the source/destination ROI (in-place flavors)
  7923. // maskSize size of the mask in pixels
  7924. // anchor the [x,y] coordinates of the anchor cell in the kernel
  7925. // Returns:
  7926. // ippStsNoErr No errors
  7927. // ippStsNullPtrErr pSrc == NULL or pDst == NULL or pSrcDst == NULL
  7928. // ippStsStepErr one of the step values is zero or negative
  7929. // ippStsSizeErr dstRoiSize or roiSize has a field with zero or negative value
  7930. // ippStsMaskSizeErr maskSize has a field with zero or negative value
  7931. // ippStsAnchorErr anchor is outside the mask
  7932. // ippStsMemAllocErr memory allocation error
  7933. */
  7934. IPPAPI(IppStatus, ippiFilterBox_8u_C1R, (const Ipp8u* pSrc,int srcStep,
  7935. Ipp8u* pDst, int dstStep,IppiSize dstRoiSize, IppiSize maskSize, IppiPoint anchor))
  7936. IPPAPI(IppStatus, ippiFilterBox_8u_C3R, (const Ipp8u* pSrc,int srcStep,
  7937. Ipp8u* pDst, int dstStep,IppiSize dstRoiSize, IppiSize maskSize, IppiPoint anchor))
  7938. IPPAPI(IppStatus, ippiFilterBox_8u_C4R, (const Ipp8u* pSrc,int srcStep,
  7939. Ipp8u* pDst, int dstStep,IppiSize dstRoiSize, IppiSize maskSize, IppiPoint anchor))
  7940. IPPAPI(IppStatus, ippiFilterBox_8u_AC4R, (const Ipp8u* pSrc,int srcStep,
  7941. Ipp8u* pDst, int dstStep,IppiSize dstRoiSize, IppiSize maskSize, IppiPoint anchor))
  7942. IPPAPI(IppStatus, ippiFilterBox_16u_C1R, (const Ipp16u* pSrc,int srcStep,
  7943. Ipp16u* pDst, int dstStep,IppiSize dstRoiSize,IppiSize maskSize, IppiPoint anchor))
  7944. IPPAPI(IppStatus, ippiFilterBox_16u_C3R, (const Ipp16u* pSrc,int srcStep,
  7945. Ipp16u* pDst, int dstStep,IppiSize dstRoiSize, IppiSize maskSize, IppiPoint anchor))
  7946. IPPAPI(IppStatus, ippiFilterBox_16u_C4R, (const Ipp16u* pSrc,int srcStep,
  7947. Ipp16u* pDst, int dstStep,IppiSize dstRoiSize, IppiSize maskSize, IppiPoint anchor))
  7948. IPPAPI(IppStatus, ippiFilterBox_16u_AC4R, (const Ipp16u* pSrc,int srcStep,
  7949. Ipp16u* pDst, int dstStep,IppiSize dstRoiSize,IppiSize maskSize, IppiPoint anchor))
  7950. IPPAPI(IppStatus, ippiFilterBox_16s_C1R, (const Ipp16s* pSrc,int srcStep,
  7951. Ipp16s* pDst, int dstStep,IppiSize dstRoiSize,IppiSize maskSize, IppiPoint anchor))
  7952. IPPAPI(IppStatus, ippiFilterBox_16s_C3R, (const Ipp16s* pSrc,int srcStep,
  7953. Ipp16s* pDst, int dstStep,IppiSize dstRoiSize, IppiSize maskSize, IppiPoint anchor))
  7954. IPPAPI(IppStatus, ippiFilterBox_16s_C4R, (const Ipp16s* pSrc,int srcStep,
  7955. Ipp16s* pDst, int dstStep,IppiSize dstRoiSize, IppiSize maskSize, IppiPoint anchor))
  7956. IPPAPI(IppStatus, ippiFilterBox_16s_AC4R, (const Ipp16s* pSrc,int srcStep,
  7957. Ipp16s* pDst, int dstStep,IppiSize dstRoiSize,IppiSize maskSize, IppiPoint anchor))
  7958. IPPAPI(IppStatus, ippiFilterBox_32f_C1R, (const Ipp32f* pSrc, int srcStep,
  7959. Ipp32f* pDst, int dstStep,IppiSize dstRoiSize, IppiSize maskSize, IppiPoint anchor))
  7960. IPPAPI(IppStatus, ippiFilterBox_32f_C3R, (const Ipp32f* pSrc, int srcStep,
  7961. Ipp32f* pDst, int dstStep,IppiSize dstRoiSize, IppiSize maskSize, IppiPoint anchor))
  7962. IPPAPI(IppStatus, ippiFilterBox_32f_C4R, (const Ipp32f* pSrc,int srcStep,
  7963. Ipp32f* pDst, int dstStep,IppiSize dstRoiSize, IppiSize maskSize, IppiPoint anchor))
  7964. IPPAPI(IppStatus, ippiFilterBox_32f_AC4R, (const Ipp32f* pSrc, int srcStep,
  7965. Ipp32f* pDst, int dstStep,IppiSize dstRoiSize, IppiSize maskSize, IppiPoint anchor))
  7966. IPPAPI(IppStatus, ippiFilterBox_8u_C1IR, (Ipp8u* pSrcDst, int srcDstStep,
  7967. IppiSize roiSize, IppiSize maskSize, IppiPoint anchor))
  7968. IPPAPI(IppStatus, ippiFilterBox_8u_C3IR, (Ipp8u* pSrcDst, int srcDstStep,
  7969. IppiSize roiSize, IppiSize maskSize, IppiPoint anchor))
  7970. IPPAPI(IppStatus, ippiFilterBox_8u_C4IR, (Ipp8u* pSrcDst, int srcDstStep,
  7971. IppiSize roiSize,IppiSize maskSize,IppiPoint anchor))
  7972. IPPAPI(IppStatus, ippiFilterBox_8u_AC4IR, (Ipp8u* pSrcDst, int srcDstStep,
  7973. IppiSize roiSize, IppiSize maskSize, IppiPoint anchor))
  7974. IPPAPI(IppStatus, ippiFilterBox_16u_C1IR, (Ipp16u* pSrcDst, int srcDstStep,
  7975. IppiSize roiSize, IppiSize maskSize, IppiPoint anchor))
  7976. IPPAPI(IppStatus, ippiFilterBox_16u_C3IR, (Ipp16u* pSrcDst, int srcDstStep,
  7977. IppiSize roiSize, IppiSize maskSize, IppiPoint anchor))
  7978. IPPAPI(IppStatus, ippiFilterBox_16u_C4IR, (Ipp16u* pSrcDst, int srcDstStep,
  7979. IppiSize roiSize,IppiSize maskSize,IppiPoint anchor))
  7980. IPPAPI(IppStatus, ippiFilterBox_16u_AC4IR, (Ipp16u* pSrc, int srcDstStep,
  7981. IppiSize roiSize, IppiSize maskSize, IppiPoint anchor))
  7982. IPPAPI(IppStatus, ippiFilterBox_16s_C1IR, (Ipp16s* pSrcDst, int srcDstStep,
  7983. IppiSize roiSize, IppiSize maskSize, IppiPoint anchor))
  7984. IPPAPI(IppStatus, ippiFilterBox_16s_C3IR, (Ipp16s* pSrcDst, int srcDstStep,
  7985. IppiSize roiSize, IppiSize maskSize, IppiPoint anchor))
  7986. IPPAPI(IppStatus, ippiFilterBox_16s_C4IR, (Ipp16s* pSrcDst, int srcDstStep,
  7987. IppiSize roiSize,IppiSize maskSize,IppiPoint anchor))
  7988. IPPAPI(IppStatus, ippiFilterBox_16s_AC4IR, (Ipp16s* pSrc, int srcDstStep,
  7989. IppiSize roiSize, IppiSize maskSize, IppiPoint anchor))
  7990. IPPAPI(IppStatus, ippiFilterBox_32f_C1IR, (Ipp32f* pSrcDst, int srcDstStep,
  7991. IppiSize roiSize, IppiSize maskSize, IppiPoint anchor))
  7992. IPPAPI(IppStatus, ippiFilterBox_32f_C3IR, (Ipp32f* pSrcDst, int srcDstStep,
  7993. IppiSize roiSize, IppiSize maskSize, IppiPoint anchor))
  7994. IPPAPI(IppStatus, ippiFilterBox_32f_C4IR, (Ipp32f* pSrcDst, int srcDstStep,
  7995. IppiSize roiSize,IppiSize maskSize,IppiPoint anchor))
  7996. IPPAPI(IppStatus, ippiFilterBox_32f_AC4IR, (Ipp32f* pSrcDst, int srcDstStep,
  7997. IppiSize roiSize, IppiSize maskSize, IppiPoint anchor))
  7998. /* ///////////////////////////////////////////////////////////////////////////
  7999. // Name: ippiSumWindowRow_8u32f_<desc>R, ippiSumWindowColumn_8u32f_<desc>R
  8000. // ippiSumWindowRow_16u32f_<desc>R, ippiSumWindowColumn_16u32f_<desc>R
  8001. // ippiSumWindowRow_16s32f_<desc>R, ippiSumWindowColumn_16s32f_<desc>R
  8002. // <desc> C1|C3|C4 (descriptor)
  8003. // Purpose: Sums pixel values in the row or column mask applied to the image
  8004. // Parameters:
  8005. // pSrc pointer to the source image
  8006. // srcStep step in the source image
  8007. // pDst pointer to the destination image
  8008. // dstStep step in the destination image
  8009. // dstRoiSize size of the destination ROI
  8010. // maskSize size of the horizontal or vertical mask in pixels
  8011. // anchor the anchor cell
  8012. // Returns:
  8013. // ippStsNoErr No errors
  8014. // ippStsNullPtrErr pSrc == NULL or pDst == NULL or pSrcDst == NULL
  8015. // ippStsSizeErr dstRoiSize has a field with zero or negative value
  8016. // ippStsMaskSizeErr maskSize is zero or negative value
  8017. // ippStsAnchorErr anchor is outside the mask
  8018. // ippStsMemAllocErr memory allocation error (ippiSumWindowColumn only)
  8019. */
  8020. IPPAPI(IppStatus,ippiSumWindowRow_8u32f_C1R, (const Ipp8u* pSrc, int srcStep,
  8021. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8022. IPPAPI(IppStatus,ippiSumWindowRow_8u32f_C3R, (const Ipp8u* pSrc, int srcStep,
  8023. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8024. IPPAPI(IppStatus,ippiSumWindowRow_8u32f_C4R, (const Ipp8u* pSrc, int srcStep,
  8025. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8026. IPPAPI(IppStatus,ippiSumWindowRow_16u32f_C1R, (const Ipp16u* pSrc, int srcStep,
  8027. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8028. IPPAPI(IppStatus,ippiSumWindowRow_16u32f_C3R, (const Ipp16u* pSrc, int srcStep,
  8029. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8030. IPPAPI(IppStatus,ippiSumWindowRow_16u32f_C4R, (const Ipp16u* pSrc, int srcStep,
  8031. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8032. IPPAPI(IppStatus,ippiSumWindowRow_16s32f_C1R, (const Ipp16s* pSrc, int srcStep,
  8033. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8034. IPPAPI(IppStatus,ippiSumWindowRow_16s32f_C3R, (const Ipp16s* pSrc, int srcStep,
  8035. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8036. IPPAPI(IppStatus,ippiSumWindowRow_16s32f_C4R, (const Ipp16s* pSrc, int srcStep,
  8037. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8038. IPPAPI(IppStatus,ippiSumWindowColumn_8u32f_C1R, (const Ipp8u* pSrc, int srcStep,
  8039. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8040. IPPAPI(IppStatus,ippiSumWindowColumn_8u32f_C3R, (const Ipp8u* pSrc, int srcStep,
  8041. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8042. IPPAPI(IppStatus,ippiSumWindowColumn_8u32f_C4R, (const Ipp8u* pSrc, int srcStep,
  8043. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8044. IPPAPI(IppStatus,ippiSumWindowColumn_16u32f_C1R, (const Ipp16u* pSrc, int srcStep,
  8045. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8046. IPPAPI(IppStatus,ippiSumWindowColumn_16u32f_C3R, (const Ipp16u* pSrc, int srcStep,
  8047. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8048. IPPAPI(IppStatus,ippiSumWindowColumn_16u32f_C4R, (const Ipp16u* pSrc, int srcStep,
  8049. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8050. IPPAPI(IppStatus,ippiSumWindowColumn_16s32f_C1R, (const Ipp16s* pSrc, int srcStep,
  8051. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8052. IPPAPI(IppStatus,ippiSumWindowColumn_16s32f_C3R, (const Ipp16s* pSrc, int srcStep,
  8053. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8054. IPPAPI(IppStatus,ippiSumWindowColumn_16s32f_C4R, (const Ipp16s* pSrc, int srcStep,
  8055. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, int maskSize, int anchor))
  8056. /* ///////////////////////////////////////////////////////////////////////////
  8057. // Filters with Fixed Kernel
  8058. /////////////////////////////////////////////////////////////////////////// */
  8059. /* ////////////////////////////////////////////////////////////////////////////
  8060. // Names: ippiFilterPrewittHoriz_8u_C1R
  8061. // ippiFilterPrewittHoriz_8u_C3R
  8062. // ippiFilterPrewittHoriz_8u_AC4R
  8063. // ippiFilterPrewittHoriz_8u_C4R
  8064. // ippiFilterPrewittHoriz_16s_C1R
  8065. // ippiFilterPrewittHoriz_16s_C3R
  8066. // ippiFilterPrewittHoriz_16s_AC4R
  8067. // ippiFilterPrewittHoriz_16s_C4R
  8068. // ippiFilterPrewittHoriz_32f_C1R
  8069. // ippiFilterPrewittHoriz_32f_C3R
  8070. // ippiFilterPrewittHoriz_32f_AC4R
  8071. // ippiFilterPrewittHoriz_32f_C4R
  8072. // ippiFilterPrewittVert_8u_C1R
  8073. // ippiFilterPrewittVert_8u_C3R
  8074. // ippiFilterPrewittVert_8u_AC4R
  8075. // ippiFilterPrewittVert_8u_C4R
  8076. // ippiFilterPrewittVert_16s_C1R
  8077. // ippiFilterPrewittVert_16s_C3R
  8078. // ippiFilterPrewittVert_16s_AC4R
  8079. // ippiFilterPrewittVert_16s_C4R
  8080. // ippiFilterPrewittVert_32f_C1R
  8081. // ippiFilterPrewittVert_32f_C3R
  8082. // ippiFilterPrewittVert_32f_AC4R
  8083. // ippiFilterPrewittVert_32f_C4R
  8084. // ippiFilterSobelHoriz_8u_C1R
  8085. // ippiFilterSobelHoriz_8u_C3R
  8086. // ippiFilterSobelHoriz_8u_AC4R
  8087. // ippiFilterSobelHoriz_8u_C4R
  8088. // ippiFilterSobelHoriz_16s_C1R
  8089. // ippiFilterSobelHoriz_16s_C3R
  8090. // ippiFilterSobelHoriz_16s_AC4R
  8091. // ippiFilterSobelHoriz_16s_C4R
  8092. // ippiFilterSobelHoriz_32f_C1R
  8093. // ippiFilterSobelHoriz_32f_C3R
  8094. // ippiFilterSobelHoriz_32f_AC4R
  8095. // ippiFilterSobelHoriz_32f_C4R
  8096. // ippiFilterSobelVert_8u_C1R
  8097. // ippiFilterSobelVert_8u_C3R
  8098. // ippiFilterSobelVert_8u_AC4R
  8099. // ippiFilterSobelVert_8u_C4R
  8100. // ippiFilterSobelVert_16s_C1R
  8101. // ippiFilterSobelVert_16s_C3R
  8102. // ippiFilterSobelVert_16s_AC4R
  8103. // ippiFilterSobelVert_16s_C4R
  8104. // ippiFilterSobelVert_32f_C1R
  8105. // ippiFilterSobelVert_32f_C3R
  8106. // ippiFilterSobelVert_32f_AC4R
  8107. // ippiFilterSobelVert_32f_C4R
  8108. // ippiFilterRobertsDown_8u_C1R
  8109. // ippiFilterRobertsDown_8u_C3R
  8110. // ippiFilterRobertsDown_8u_AC4R
  8111. // ippiFilterRobertsDown_16s_C1R
  8112. // ippiFilterRobertsDown_16s_C3R
  8113. // ippiFilterRobertsDown_16s_AC4R
  8114. // ippiFilterRobertsDown_32f_C1R
  8115. // ippiFilterRobertsDown_32f_C3R
  8116. // ippiFilterRobertsDown_32f_AC4R
  8117. // ippiFilterRobertsUp_8u_C1R
  8118. // ippiFilterRobertsUp_8u_C3R
  8119. // ippiFilterRobertsUp_8u_AC4R
  8120. // ippiFilterRobertsUp_16s_C1R
  8121. // ippiFilterRobertsUp_16s_C3R
  8122. // ippiFilterRobertsUp_16s_AC4R
  8123. // ippiFilterRobertsUp_32f_C1R
  8124. // ippiFilterRobertsUp_32f_C3R
  8125. // ippiFilterRobertsUp_32f_AC4R
  8126. // ippiFilterSharpen_8u_C1R
  8127. // ippiFilterSharpen_8u_C3R
  8128. // ippiFilterSharpen_8u_AC4R
  8129. // ippiFilterSharpen_8u_C4R
  8130. // ippiFilterSharpen_16s_C1R
  8131. // ippiFilterSharpen_16s_C3R
  8132. // ippiFilterSharpen_16s_AC4R
  8133. // ippiFilterSharpen_16s_C4R
  8134. // ippiFilterSharpen_32f_C1R
  8135. // ippiFilterSharpen_32f_C3R
  8136. // ippiFilterSharpen_32f_AC4R
  8137. // ippiFilterSharpen_32f_C4R
  8138. // ippiFilterScharrVert_8u16s_C1R
  8139. // ippiFilterScharrVert_8s16s_C1R
  8140. // ippiFilterScharrVert_32f_C1R
  8141. // ippiFilterScharrHoriz_8u16s_C1R
  8142. // ippiFilterScharrHoriz_8s16s_C1R
  8143. // ippiFilterScharrHoriz_32f_C1R
  8144. //
  8145. // Purpose: Perform linear filtering of an image using one of
  8146. // predefined convolution kernels (3x3):
  8147. //
  8148. // 1 1 1
  8149. // PrewittHoriz 0 0 0
  8150. // -1 -1 -1
  8151. //
  8152. //
  8153. // -1 0 1
  8154. // PrewittVert -1 0 1
  8155. // -1 0 1
  8156. //
  8157. //
  8158. // 1 2 1
  8159. // SobelHoriz 0 0 0
  8160. // -1 -2 -1
  8161. //
  8162. //
  8163. // -1 0 1
  8164. // SobelVert -2 0 2
  8165. // -1 0 1
  8166. //
  8167. //
  8168. // 0 0 0
  8169. // RobetsDown 0 1 0
  8170. // 0 0 -1
  8171. //
  8172. //
  8173. // 0 0 0
  8174. // RobertsUp 0 1 0
  8175. // -1 0 0
  8176. //
  8177. //
  8178. // -1 -1 1
  8179. // Sharpen -1 16 1 X 1/8
  8180. // -1 -1 1
  8181. //
  8182. //
  8183. // 3 0 -3
  8184. // ScharrVert 10 0 -10
  8185. // 3 0 -3
  8186. //
  8187. //
  8188. // 3 10 3
  8189. // ScharrHoriz 0 0 0
  8190. // -3 -10 -3
  8191. //
  8192. //
  8193. // Returns:
  8194. // ippStsNoErr OK
  8195. // ippStsNullPtrErr pSrc or pDst is NULL
  8196. // ippStsSizeErr roiSize has a field with zero or negative value
  8197. // ippStsStepErr srcStep or dstStep has zero or negative value
  8198. //
  8199. // Parameters:
  8200. // pSrc Pointer to the source image
  8201. // srcStep Step through the source image
  8202. // pDst Pointer to the destination image
  8203. // dstStep Step through the destination image
  8204. // roiSize size of the ROI
  8205. */
  8206. IPPAPI(IppStatus,ippiFilterPrewittVert_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  8207. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8208. IPPAPI(IppStatus,ippiFilterPrewittVert_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  8209. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8210. IPPAPI(IppStatus,ippiFilterPrewittVert_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  8211. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8212. IPPAPI(IppStatus,ippiFilterPrewittVert_8u_C4R,(const Ipp8u* pSrc, int srcStep,
  8213. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8214. IPPAPI(IppStatus,ippiFilterPrewittVert_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  8215. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8216. IPPAPI(IppStatus,ippiFilterPrewittVert_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  8217. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8218. IPPAPI(IppStatus,ippiFilterPrewittVert_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  8219. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8220. IPPAPI(IppStatus,ippiFilterPrewittVert_16s_C4R,(const Ipp16s* pSrc, int srcStep,
  8221. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8222. IPPAPI(IppStatus,ippiFilterPrewittVert_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8223. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8224. IPPAPI(IppStatus,ippiFilterPrewittVert_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  8225. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8226. IPPAPI(IppStatus,ippiFilterPrewittVert_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  8227. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8228. IPPAPI(IppStatus,ippiFilterPrewittVert_32f_C4R,(const Ipp32f* pSrc, int srcStep,
  8229. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8230. IPPAPI(IppStatus,ippiFilterPrewittHoriz_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  8231. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8232. IPPAPI(IppStatus,ippiFilterPrewittHoriz_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  8233. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8234. IPPAPI(IppStatus,ippiFilterPrewittHoriz_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  8235. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8236. IPPAPI(IppStatus,ippiFilterPrewittHoriz_8u_C4R,(const Ipp8u* pSrc, int srcStep,
  8237. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8238. IPPAPI(IppStatus,ippiFilterPrewittHoriz_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  8239. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8240. IPPAPI(IppStatus,ippiFilterPrewittHoriz_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  8241. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8242. IPPAPI(IppStatus,ippiFilterPrewittHoriz_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  8243. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8244. IPPAPI(IppStatus,ippiFilterPrewittHoriz_16s_C4R,(const Ipp16s* pSrc, int srcStep,
  8245. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8246. IPPAPI(IppStatus,ippiFilterPrewittHoriz_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8247. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8248. IPPAPI(IppStatus,ippiFilterPrewittHoriz_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  8249. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8250. IPPAPI(IppStatus,ippiFilterPrewittHoriz_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  8251. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8252. IPPAPI(IppStatus,ippiFilterPrewittHoriz_32f_C4R,(const Ipp32f* pSrc, int srcStep,
  8253. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8254. IPPAPI(IppStatus,ippiFilterSobelVert_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  8255. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8256. IPPAPI(IppStatus,ippiFilterSobelVert_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  8257. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8258. IPPAPI(IppStatus,ippiFilterSobelVert_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  8259. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8260. IPPAPI(IppStatus,ippiFilterSobelVert_8u_C4R,(const Ipp8u* pSrc, int srcStep,
  8261. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8262. IPPAPI(IppStatus,ippiFilterSobelVert_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  8263. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8264. IPPAPI(IppStatus,ippiFilterSobelVert_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  8265. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8266. IPPAPI(IppStatus,ippiFilterSobelVert_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  8267. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8268. IPPAPI(IppStatus,ippiFilterSobelVert_16s_C4R,(const Ipp16s* pSrc, int srcStep,
  8269. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8270. IPPAPI(IppStatus,ippiFilterSobelVert_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8271. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8272. IPPAPI(IppStatus,ippiFilterSobelVert_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  8273. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8274. IPPAPI(IppStatus,ippiFilterSobelVert_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  8275. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8276. IPPAPI(IppStatus,ippiFilterSobelVert_32f_C4R,(const Ipp32f* pSrc, int srcStep,
  8277. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8278. IPPAPI(IppStatus,ippiFilterSobelHoriz_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  8279. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8280. IPPAPI(IppStatus,ippiFilterSobelHoriz_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  8281. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8282. IPPAPI(IppStatus,ippiFilterSobelHoriz_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  8283. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8284. IPPAPI(IppStatus,ippiFilterSobelHoriz_8u_C4R,(const Ipp8u* pSrc, int srcStep,
  8285. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8286. IPPAPI(IppStatus,ippiFilterSobelHoriz_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  8287. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8288. IPPAPI(IppStatus,ippiFilterSobelHoriz_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  8289. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8290. IPPAPI(IppStatus,ippiFilterSobelHoriz_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  8291. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8292. IPPAPI(IppStatus,ippiFilterSobelHoriz_16s_C4R,(const Ipp16s* pSrc, int srcStep,
  8293. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8294. IPPAPI(IppStatus,ippiFilterSobelHoriz_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8295. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8296. IPPAPI(IppStatus,ippiFilterSobelHoriz_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  8297. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8298. IPPAPI(IppStatus,ippiFilterSobelHoriz_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  8299. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8300. IPPAPI(IppStatus,ippiFilterSobelHoriz_32f_C4R,(const Ipp32f* pSrc, int srcStep,
  8301. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8302. IPPAPI(IppStatus,ippiFilterRobertsUp_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  8303. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8304. IPPAPI(IppStatus,ippiFilterRobertsUp_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  8305. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8306. IPPAPI(IppStatus,ippiFilterRobertsUp_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  8307. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8308. IPPAPI(IppStatus,ippiFilterRobertsUp_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  8309. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8310. IPPAPI(IppStatus,ippiFilterRobertsUp_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  8311. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8312. IPPAPI(IppStatus,ippiFilterRobertsUp_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  8313. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8314. IPPAPI(IppStatus,ippiFilterRobertsUp_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8315. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8316. IPPAPI(IppStatus,ippiFilterRobertsUp_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  8317. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8318. IPPAPI(IppStatus,ippiFilterRobertsUp_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  8319. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8320. IPPAPI(IppStatus,ippiFilterRobertsDown_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  8321. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8322. IPPAPI(IppStatus,ippiFilterRobertsDown_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  8323. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8324. IPPAPI(IppStatus,ippiFilterRobertsDown_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  8325. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8326. IPPAPI(IppStatus,ippiFilterRobertsDown_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  8327. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8328. IPPAPI(IppStatus,ippiFilterRobertsDown_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  8329. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8330. IPPAPI(IppStatus,ippiFilterRobertsDown_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  8331. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8332. IPPAPI(IppStatus,ippiFilterRobertsDown_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8333. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8334. IPPAPI(IppStatus,ippiFilterRobertsDown_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  8335. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8336. IPPAPI(IppStatus,ippiFilterRobertsDown_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  8337. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8338. IPPAPI(IppStatus,ippiFilterSharpen_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  8339. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8340. IPPAPI(IppStatus,ippiFilterSharpen_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  8341. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8342. IPPAPI(IppStatus,ippiFilterSharpen_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  8343. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8344. IPPAPI(IppStatus,ippiFilterSharpen_8u_C4R,(const Ipp8u* pSrc, int srcStep,
  8345. Ipp8u* pDst, int dstStep, IppiSize roiSize))
  8346. IPPAPI(IppStatus,ippiFilterSharpen_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  8347. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8348. IPPAPI(IppStatus,ippiFilterSharpen_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  8349. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8350. IPPAPI(IppStatus,ippiFilterSharpen_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  8351. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8352. IPPAPI(IppStatus,ippiFilterSharpen_16s_C4R,(const Ipp16s* pSrc, int srcStep,
  8353. Ipp16s* pDst, int dstStep, IppiSize roiSize))
  8354. IPPAPI(IppStatus,ippiFilterSharpen_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8355. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8356. IPPAPI(IppStatus,ippiFilterSharpen_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  8357. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8358. IPPAPI(IppStatus,ippiFilterSharpen_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  8359. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8360. IPPAPI(IppStatus,ippiFilterSharpen_32f_C4R,(const Ipp32f* pSrc, int srcStep,
  8361. Ipp32f* pDst, int dstStep, IppiSize roiSize))
  8362. IPPAPI(IppStatus,ippiFilterScharrVert_8u16s_C1R,(const Ipp8u* pSrc, int srcStep,
  8363. Ipp16s* pDst, int dstStep, IppiSize roiSize ))
  8364. IPPAPI(IppStatus,ippiFilterScharrHoriz_8u16s_C1R,(const Ipp8u* pSrc, int srcStep,
  8365. Ipp16s* pDst, int dstStep, IppiSize roiSize ))
  8366. IPPAPI(IppStatus,ippiFilterScharrVert_8s16s_C1R,(const Ipp8s* pSrc, int srcStep,
  8367. Ipp16s* pDst, int dstStep, IppiSize roiSize ))
  8368. IPPAPI(IppStatus,ippiFilterScharrHoriz_8s16s_C1R,(const Ipp8s* pSrc, int srcStep,
  8369. Ipp16s* pDst, int dstStep, IppiSize roiSize ))
  8370. IPPAPI(IppStatus,ippiFilterScharrVert_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8371. Ipp32f* pDst, int dstStep, IppiSize roiSize ))
  8372. IPPAPI(IppStatus,ippiFilterScharrHoriz_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8373. Ipp32f* pDst, int dstStep, IppiSize roiSize ))
  8374. /* ////////////////////////////////////////////////////////////////////////////
  8375. // Names: ippiFilterLaplace_8u_C1R
  8376. // ippiFilterLaplace_8u_C3R
  8377. // ippiFilterLaplace_8u_AC4R
  8378. // ippiFilterLaplace_8u_C4R
  8379. // ippiFilterLaplace_16s_C1R
  8380. // ippiFilterLaplace_16s_C3R
  8381. // ippiFilterLaplace_16s_AC4R
  8382. // ippiFilterLaplace_16s_C4R
  8383. // ippiFilterLaplace_32f_C1R
  8384. // ippiFilterLaplace_32f_C3R
  8385. // ippiFilterLaplace_32f_AC4R
  8386. // ippiFilterLaplace_32f_C4R
  8387. // ippiFilterGauss_8u_C1R
  8388. // ippiFilterGauss_8u_C3R
  8389. // ippiFilterGauss_8u_AC4R
  8390. // ippiFilterGauss_8u_C4R
  8391. // ippiFilterGauss_16s_C1R
  8392. // ippiFilterGauss_16s_C3R
  8393. // ippiFilterGauss_16s_AC4R
  8394. // ippiFilterGauss_16s_C4R
  8395. // ippiFilterGauss_16u_C1R
  8396. // ippiFilterGauss_16u_C3R
  8397. // ippiFilterGauss_16u_AC4R
  8398. // ippiFilterGauss_16u_C4R
  8399. // ippiFilterGauss_32f_C1R
  8400. // ippiFilterGauss_32f_C3R
  8401. // ippiFilterGauss_32f_AC4R
  8402. // ippiFilterGauss_32f_C4R
  8403. // ippiFilterLowpass_8u_C1R
  8404. // ippiFilterLowpass_8u_C3R
  8405. // ippiFilterLowpass_8u_AC4R
  8406. // ippiFilterLowpass_16s_C1R
  8407. // ippiFilterLowpass_16s_C3R
  8408. // ippiFilterLowpass_16s_AC4R
  8409. // ippiFilterLowpass_16u_C1R
  8410. // ippiFilterLowpass_16u_C3R
  8411. // ippiFilterLowpass_16u_AC4R
  8412. // ippiFilterLowpass_32f_C1R
  8413. // ippiFilterLowpass_32f_C3R
  8414. // ippiFilterLowpass_32f_AC4R
  8415. // ippiFilterHipass_8u_C1R
  8416. // ippiFilterHipass_8u_C3R
  8417. // ippiFilterHipass_8u_AC4R
  8418. // ippiFilterHipass_8u_C4R
  8419. // ippiFilterHipass_16s_C1R
  8420. // ippiFilterHipass_16s_C3R
  8421. // ippiFilterHipass_16s_AC4R
  8422. // ippiFilterHipass_16s_C4R
  8423. // ippiFilterHipass_32f_C1R
  8424. // ippiFilterHipass_32f_C3R
  8425. // ippiFilterHipass_32f_AC4R
  8426. // ippiFilterHipass_32f_C4R
  8427. // ippiFilterSobelVert_8u16s_C1R
  8428. // ippiFilterSobelVert_8s16s_C1R
  8429. // ippiFilterSobelVertMask_32f_C1R
  8430. // ippiFilterSobelHoriz_8u16s_C1R
  8431. // ippiFilterSobelHoriz_8s16s_C1R
  8432. // ippiFilterSobelHorizMask_32f_C1R
  8433. // ippiFilterSobelVertSecond_8u16s_C1R
  8434. // ippiFilterSobelVertSecond_8s16s_C1R
  8435. // ippiFilterSobelVertSecond_32f_C1R
  8436. // ippiFilterSobelHorizSecond_8u16s_C1R
  8437. // ippiFilterSobelHorizSecond_8s16s_C1R
  8438. // ippiFilterSobelHorizSecond_32f_C1R
  8439. // ippiFilterSobelCross_8u16s_C1R
  8440. // ippiFilterSobelCross_8s16s_C1R
  8441. // ippiFilterSobelCross_32f_C1R
  8442. //
  8443. // Purpose: Perform linear filtering of an image using one of
  8444. // predefined convolution kernels (3x3 or 5x5):
  8445. //
  8446. // -1 -1 1
  8447. // Laplace (3x3) -1 8 1
  8448. // -1 -1 1
  8449. //
  8450. //
  8451. // 1 2 1
  8452. // Gauss (3x3) 2 4 2 X 1/16
  8453. // 1 2 1
  8454. //
  8455. //
  8456. // 1 1 1
  8457. // Lowpass (3x3) 1 1 1 X 1/9
  8458. // 1 1 1
  8459. //
  8460. //
  8461. // -1 -1 -1
  8462. // Hipass (3x3 ) -1 8 -1
  8463. // -1 -1 -1
  8464. //
  8465. //
  8466. // -1 0 1
  8467. // SobelVert (3x3) -2 0 2
  8468. // -1 0 1
  8469. //
  8470. //
  8471. // 1 2 1
  8472. // SobelHoriz (3x3) 0 0 0
  8473. // -1 -2 -1
  8474. //
  8475. //
  8476. // 1 -2 1
  8477. // SobelVertSecond (3x3) 2 -4 2
  8478. // 1 -2 1
  8479. //
  8480. //
  8481. // 1 2 1
  8482. // SobelHorizSecond (3x3) -2 -4 -2
  8483. // 1 2 1
  8484. //
  8485. //
  8486. // -1 0 1
  8487. // SobelCross (3x3) 0 0 0
  8488. // 1 0 -1
  8489. //
  8490. //
  8491. // -1 -3 -4 -3 -1
  8492. // -3 0 6 0 -3
  8493. // Laplace (5x5) -4 6 20 6 -4
  8494. // -3 0 6 0 -3
  8495. // -1 -3 -4 -3 -1
  8496. //
  8497. // 2 7 12 7 2
  8498. // 7 31 52 31 7
  8499. // Gauss (5x5) 12 52 127 52 12 X 1/571
  8500. // 7 31 52 31 7
  8501. // 2 7 12 7 2
  8502. //
  8503. // 1 1 1 1 1
  8504. // 1 1 1 1 1
  8505. // Lowpass (5x5) 1 1 1 1 1 X 1/25
  8506. // 1 1 1 1 1
  8507. // 1 1 1 1 1
  8508. //
  8509. // -1 -1 -1 -1 -1
  8510. // -1 -1 -1 -1 -1
  8511. // Hipass (5x5) -1 -1 24 -1 -1
  8512. // -1 -1 -1 -1 -1
  8513. // -1 -1 -1 -1 -1
  8514. //
  8515. // -1 -2 0 2 1
  8516. // -4 -8 0 8 4
  8517. // SobelVert (5x5) -6 -12 0 12 6
  8518. // -4 -8 0 8 4
  8519. // -1 -2 0 2 1
  8520. //
  8521. // 1 4 6 4 1
  8522. // 2 8 12 8 2
  8523. // SobelHoriz (5x5) 0 0 0 0 0
  8524. // -2 -8 -12 -8 -4
  8525. // -1 -4 -6 -4 -1
  8526. //
  8527. // 1 0 -2 0 1
  8528. // 4 0 -8 0 4
  8529. // SobelVertSecond (5x5) 6 0 -12 0 6
  8530. // 4 0 -8 0 4
  8531. // 1 0 -2 0 1
  8532. //
  8533. // 1 4 6 4 1
  8534. // 0 0 0 0 0
  8535. // SobelVertHoriz (5x5) -2 -8 -12 -8 -2
  8536. // 0 0 0 0 0
  8537. // 1 4 6 4 1
  8538. //
  8539. // -1 -2 0 2 1
  8540. // -2 -4 0 4 2
  8541. // SobelCross (5x5) 0 0 0 0 0
  8542. // 2 4 0 -4 -2
  8543. // 1 2 0 -2 -1
  8544. //
  8545. // Returns:
  8546. // ippStsNoErr OK
  8547. // ippStsNullPtrErr pSrc or pDst is NULL
  8548. // ippStsSizeErr roiSize has a field with zero or negative value
  8549. // ippStsStepErr srcStep or dstStep has zero or negative value
  8550. // ippStsMaskSizeErr Illegal mask value
  8551. //
  8552. // Parameters:
  8553. // pSrc Pointer to the source image
  8554. // srcStep Step through the source image
  8555. // pDst Pointer to the destination image
  8556. // dstStep Step through the destination image
  8557. // roiSize size of the ROI
  8558. // mask Filter mask
  8559. */
  8560. IPPAPI(IppStatus,ippiFilterLaplace_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  8561. Ipp8u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8562. IPPAPI(IppStatus,ippiFilterLaplace_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  8563. Ipp8u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8564. IPPAPI(IppStatus,ippiFilterLaplace_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  8565. Ipp8u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8566. IPPAPI(IppStatus,ippiFilterLaplace_8u_C4R,(const Ipp8u* pSrc, int srcStep,
  8567. Ipp8u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8568. IPPAPI(IppStatus,ippiFilterLaplace_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  8569. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8570. IPPAPI(IppStatus,ippiFilterLaplace_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  8571. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8572. IPPAPI(IppStatus,ippiFilterLaplace_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  8573. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8574. IPPAPI(IppStatus,ippiFilterLaplace_16s_C4R,(const Ipp16s* pSrc, int srcStep,
  8575. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8576. IPPAPI(IppStatus,ippiFilterLaplace_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8577. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8578. IPPAPI(IppStatus,ippiFilterLaplace_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  8579. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8580. IPPAPI(IppStatus,ippiFilterLaplace_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  8581. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8582. IPPAPI(IppStatus,ippiFilterLaplace_32f_C4R,(const Ipp32f* pSrc, int srcStep,
  8583. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8584. IPPAPI(IppStatus,ippiFilterGauss_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  8585. Ipp8u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8586. IPPAPI(IppStatus,ippiFilterGauss_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  8587. Ipp8u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8588. IPPAPI(IppStatus,ippiFilterGauss_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  8589. Ipp8u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8590. IPPAPI(IppStatus,ippiFilterGauss_8u_C4R,(const Ipp8u* pSrc, int srcStep,
  8591. Ipp8u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8592. IPPAPI(IppStatus,ippiFilterGauss_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  8593. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8594. IPPAPI(IppStatus,ippiFilterGauss_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  8595. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8596. IPPAPI(IppStatus,ippiFilterGauss_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  8597. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8598. IPPAPI(IppStatus,ippiFilterGauss_16s_C4R,(const Ipp16s* pSrc, int srcStep,
  8599. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8600. IPPAPI(IppStatus,ippiFilterGauss_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  8601. Ipp16u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8602. IPPAPI(IppStatus,ippiFilterGauss_16u_C3R,(const Ipp16u* pSrc, int srcStep,
  8603. Ipp16u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8604. IPPAPI(IppStatus,ippiFilterGauss_16u_AC4R,(const Ipp16u* pSrc, int srcStep,
  8605. Ipp16u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8606. IPPAPI(IppStatus,ippiFilterGauss_16u_C4R,(const Ipp16u* pSrc, int srcStep,
  8607. Ipp16u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8608. IPPAPI(IppStatus,ippiFilterGauss_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8609. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8610. IPPAPI(IppStatus,ippiFilterGauss_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  8611. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8612. IPPAPI(IppStatus,ippiFilterGauss_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  8613. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8614. IPPAPI(IppStatus,ippiFilterGauss_32f_C4R,(const Ipp32f* pSrc, int srcStep,
  8615. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8616. IPPAPI(IppStatus,ippiFilterHipass_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  8617. Ipp8u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8618. IPPAPI(IppStatus,ippiFilterHipass_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  8619. Ipp8u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8620. IPPAPI(IppStatus,ippiFilterHipass_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  8621. Ipp8u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8622. IPPAPI(IppStatus,ippiFilterHipass_8u_C4R,(const Ipp8u* pSrc, int srcStep,
  8623. Ipp8u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8624. IPPAPI(IppStatus,ippiFilterHipass_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  8625. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8626. IPPAPI(IppStatus,ippiFilterHipass_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  8627. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8628. IPPAPI(IppStatus,ippiFilterHipass_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  8629. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8630. IPPAPI(IppStatus,ippiFilterHipass_16s_C4R,(const Ipp16s* pSrc, int srcStep,
  8631. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8632. IPPAPI(IppStatus,ippiFilterHipass_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8633. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8634. IPPAPI(IppStatus,ippiFilterHipass_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  8635. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8636. IPPAPI(IppStatus,ippiFilterHipass_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  8637. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8638. IPPAPI(IppStatus,ippiFilterHipass_32f_C4R,(const Ipp32f* pSrc, int srcStep,
  8639. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8640. IPPAPI(IppStatus,ippiFilterLowpass_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  8641. Ipp8u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8642. IPPAPI(IppStatus,ippiFilterLowpass_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  8643. Ipp8u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8644. IPPAPI(IppStatus,ippiFilterLowpass_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  8645. Ipp8u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8646. IPPAPI(IppStatus,ippiFilterLowpass_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  8647. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8648. IPPAPI(IppStatus,ippiFilterLowpass_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  8649. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8650. IPPAPI(IppStatus,ippiFilterLowpass_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  8651. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8652. IPPAPI(IppStatus,ippiFilterLowpass_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  8653. Ipp16u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8654. IPPAPI(IppStatus,ippiFilterLowpass_16u_C3R,(const Ipp16u* pSrc, int srcStep,
  8655. Ipp16u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8656. IPPAPI(IppStatus,ippiFilterLowpass_16u_AC4R,(const Ipp16u* pSrc, int srcStep,
  8657. Ipp16u* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8658. IPPAPI(IppStatus,ippiFilterLowpass_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8659. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8660. IPPAPI(IppStatus,ippiFilterLowpass_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  8661. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8662. IPPAPI(IppStatus,ippiFilterLowpass_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  8663. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask))
  8664. IPPAPI(IppStatus,ippiFilterLaplace_8u16s_C1R,(const Ipp8u* pSrc, int srcStep,
  8665. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8666. IPPAPI(IppStatus,ippiFilterLaplace_8s16s_C1R,(const Ipp8s* pSrc, int srcStep,
  8667. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8668. IPPAPI(IppStatus,ippiFilterSobelVert_8u16s_C1R,(const Ipp8u* pSrc, int srcStep,
  8669. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8670. IPPAPI(IppStatus,ippiFilterSobelHoriz_8u16s_C1R,(const Ipp8u* pSrc, int srcStep,
  8671. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8672. IPPAPI(IppStatus,ippiFilterSobelVertSecond_8u16s_C1R,(const Ipp8u* pSrc, int srcStep,
  8673. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8674. IPPAPI(IppStatus,ippiFilterSobelHorizSecond_8u16s_C1R,(const Ipp8u* pSrc, int srcStep,
  8675. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8676. IPPAPI(IppStatus,ippiFilterSobelCross_8u16s_C1R,(const Ipp8u* pSrc, int srcStep,
  8677. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8678. IPPAPI(IppStatus,ippiFilterSobelVert_8s16s_C1R,(const Ipp8s* pSrc, int srcStep,
  8679. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8680. IPPAPI(IppStatus,ippiFilterSobelHoriz_8s16s_C1R,(const Ipp8s* pSrc, int srcStep,
  8681. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8682. IPPAPI(IppStatus,ippiFilterSobelVertSecond_8s16s_C1R,(const Ipp8s* pSrc, int srcStep,
  8683. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8684. IPPAPI(IppStatus,ippiFilterSobelHorizSecond_8s16s_C1R,(const Ipp8s* pSrc, int srcStep,
  8685. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8686. IPPAPI(IppStatus,ippiFilterSobelCross_8s16s_C1R,(const Ipp8s* pSrc, int srcStep,
  8687. Ipp16s* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8688. IPPAPI(IppStatus,ippiFilterSobelVertMask_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8689. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8690. IPPAPI(IppStatus,ippiFilterSobelHorizMask_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8691. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8692. IPPAPI(IppStatus,ippiFilterSobelVertSecond_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8693. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8694. IPPAPI(IppStatus,ippiFilterSobelHorizSecond_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8695. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8696. IPPAPI(IppStatus,ippiFilterSobelCross_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  8697. Ipp32f* pDst, int dstStep, IppiSize roiSize, IppiMaskSize mask ))
  8698. /* ///////////////////////////////////////////////////////////////////////////
  8699. // General Linear Filters
  8700. /////////////////////////////////////////////////////////////////////////// */
  8701. /* ////////////////////////////////////////////////////////////////////////////
  8702. // Names: ippiFilter_8u_C1R
  8703. // ippiFilter_8u_C3R
  8704. // ippiFilter_8u_C4R
  8705. // ippiFilter_8u_AC4R
  8706. // ippiFilter_16s_C1R ippiFilter_16u_C1R
  8707. // ippiFilter_16s_C3R ippiFilter_16u_C3R
  8708. // ippiFilter_16s_C4R ippiFilter_16u_C4R
  8709. // ippiFilter_16s_AC4R ippiFilter_16u_AC4R
  8710. //
  8711. // Purpose: Filters an image using a general integer rectangular kernel
  8712. // Returns:
  8713. // ippStsNoErr OK
  8714. // ippStsNullPtrErr One of the pointers is NULL
  8715. // ippStsSizeErr dstRoiSize or kernelSize has a field with zero or negative value
  8716. // ippStsDivisorErr divisor value is zero, function execution is interrupted
  8717. //
  8718. // Parameters:
  8719. // pSrc Pointer to the source buffer
  8720. // srcStep Step in bytes through the source image buffer
  8721. // pDst Pointer to the destination buffer
  8722. // dstStep Step in bytes through the destination image buffer
  8723. // dstRoiSize Size of the source and destination ROI in pixels
  8724. // pKernel Pointer to the kernel values ( 32s kernel )
  8725. // kernelSize Size of the rectangular kernel in pixels.
  8726. // anchor Anchor cell specifying the rectangular kernel alignment
  8727. // with respect to the position of the input pixel
  8728. // divisor The integer value by which the computed result is divided.
  8729. */
  8730. IPPAPI( IppStatus, ippiFilter_8u_C1R, ( const Ipp8u* pSrc, int srcStep,
  8731. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  8732. IppiSize kernelSize, IppiPoint anchor, int divisor ))
  8733. IPPAPI( IppStatus, ippiFilter_8u_C3R, ( const Ipp8u* pSrc, int srcStep,
  8734. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  8735. IppiSize kernelSize, IppiPoint anchor, int divisor ))
  8736. IPPAPI( IppStatus, ippiFilter_8u_C4R, ( const Ipp8u* pSrc, int srcStep,
  8737. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  8738. IppiSize kernelSize, IppiPoint anchor, int divisor ))
  8739. IPPAPI( IppStatus, ippiFilter_8u_AC4R, ( const Ipp8u* pSrc, int srcStep,
  8740. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  8741. IppiSize kernelSize, IppiPoint anchor, int divisor ))
  8742. IPPAPI( IppStatus, ippiFilter_16s_C1R, ( const Ipp16s* pSrc, int srcStep,
  8743. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  8744. IppiSize kernelSize, IppiPoint anchor, int divisor ))
  8745. IPPAPI( IppStatus, ippiFilter_16s_C3R, ( const Ipp16s* pSrc, int srcStep,
  8746. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  8747. IppiSize kernelSize, IppiPoint anchor, int divisor ))
  8748. IPPAPI( IppStatus, ippiFilter_16s_C4R, ( const Ipp16s* pSrc, int srcStep,
  8749. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  8750. IppiSize kernelSize, IppiPoint anchor, int divisor ))
  8751. IPPAPI( IppStatus, ippiFilter_16s_AC4R, ( const Ipp16s* pSrc, int srcStep,
  8752. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  8753. IppiSize kernelSize, IppiPoint anchor, int divisor ))
  8754. IPPAPI( IppStatus, ippiFilter_16u_C1R, ( const Ipp16u* pSrc, int srcStep,
  8755. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  8756. IppiSize kernelSize, IppiPoint anchor, int divisor ))
  8757. IPPAPI( IppStatus, ippiFilter_16u_C3R, ( const Ipp16u* pSrc, int srcStep,
  8758. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  8759. IppiSize kernelSize, IppiPoint anchor, int divisor ))
  8760. IPPAPI( IppStatus, ippiFilter_16u_C4R, ( const Ipp16u* pSrc, int srcStep,
  8761. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  8762. IppiSize kernelSize, IppiPoint anchor, int divisor ))
  8763. IPPAPI( IppStatus, ippiFilter_16u_AC4R, ( const Ipp16u* pSrc, int srcStep,
  8764. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  8765. IppiSize kernelSize, IppiPoint anchor, int divisor ))
  8766. /* ////////////////////////////////////////////////////////////////////////////
  8767. // Names: ippiFilter32f_8u_C1R
  8768. // ippiFilter32f_8u_C3R
  8769. // ippiFilter32f_8u_C4R
  8770. // ippiFilter32f_8u_AC4R
  8771. // ippiFilter32f_16s_C1R ippiFilter32f_16u_C1R
  8772. // ippiFilter32f_16s_C3R ippiFilter32f_16u_C3R
  8773. // ippiFilter32f_16s_C4R ippiFilter32f_16u_C4R
  8774. // ippiFilter32f_16s_AC4R ippiFilter32f_16u_AC4R
  8775. // ippiFilter32f_8u16s_C1R
  8776. // ippiFilter32f_8u16s_C3R
  8777. // ippiFilter32f_8u16s_C4R
  8778. // ippiFilter32f_8s16s_C1R
  8779. // ippiFilter32f_8s16s_C3R
  8780. // ippiFilter32f_8s16s_C4R
  8781. // ippiFilter32f_8s_C1R
  8782. // ippiFilter32f_8s_C3R
  8783. // ippiFilter32f_8s_C4R
  8784. // ippiFilter32f_32s_C1R
  8785. // ippiFilter32f_32s_C3R
  8786. // ippiFilter32f_32s_C4R
  8787. // ippiFilter_32f_C1R
  8788. // ippiFilter_32f_C3R
  8789. // ippiFilter_32f_C4R
  8790. // ippiFilter_32f_AC4R
  8791. // Purpose: Filters an image that consists of integer data with use of
  8792. // the rectangular kernel of floating-point values.
  8793. // Returns:
  8794. // ippStsNoErr OK
  8795. // ippStsNullPtrErr One of the pointers is NULL
  8796. // ippStsSizeErr dstRoiSize or kernelSize has a field with zero or negative value
  8797. //
  8798. // Parameters:
  8799. // pSrc Pointer to the source buffer
  8800. // srcStep Step in bytes through the source image buffer
  8801. // pDst Pointer to the destination buffer
  8802. // dstStep Step in bytes through the destination image buffer
  8803. // dstRoiSize Size of the source and destination ROI in pixels
  8804. // pKernel Pointer to the kernel values ( 32f kernel )
  8805. // kernelSize Size of the rectangular kernel in pixels.
  8806. // anchor Anchor cell specifying the rectangular kernel alignment
  8807. // with respect to the position of the input pixel
  8808. */
  8809. IPPAPI( IppStatus, ippiFilter32f_8u_C1R, ( const Ipp8u* pSrc, int srcStep,
  8810. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8811. IppiSize kernelSize, IppiPoint anchor ))
  8812. IPPAPI( IppStatus, ippiFilter32f_8u_C3R, ( const Ipp8u* pSrc, int srcStep,
  8813. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8814. IppiSize kernelSize, IppiPoint anchor ))
  8815. IPPAPI( IppStatus, ippiFilter32f_8u_C4R, ( const Ipp8u* pSrc, int srcStep,
  8816. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8817. IppiSize kernelSize, IppiPoint anchor ))
  8818. IPPAPI( IppStatus, ippiFilter32f_8u_AC4R, ( const Ipp8u* pSrc, int srcStep,
  8819. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8820. IppiSize kernelSize, IppiPoint anchor ))
  8821. IPPAPI( IppStatus, ippiFilter32f_16s_C1R, ( const Ipp16s* pSrc, int srcStep,
  8822. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8823. IppiSize kernelSize, IppiPoint anchor ))
  8824. IPPAPI( IppStatus, ippiFilter32f_16s_C3R, ( const Ipp16s* pSrc, int srcStep,
  8825. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8826. IppiSize kernelSize, IppiPoint anchor ))
  8827. IPPAPI( IppStatus, ippiFilter32f_16s_C4R, ( const Ipp16s* pSrc, int srcStep,
  8828. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8829. IppiSize kernelSize, IppiPoint anchor ))
  8830. IPPAPI( IppStatus, ippiFilter32f_16s_AC4R, ( const Ipp16s* pSrc, int srcStep,
  8831. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8832. IppiSize kernelSize, IppiPoint anchor ))
  8833. IPPAPI( IppStatus, ippiFilter32f_16u_C1R, ( const Ipp16u* pSrc, int srcStep,
  8834. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8835. IppiSize kernelSize, IppiPoint anchor ))
  8836. IPPAPI( IppStatus, ippiFilter32f_16u_C3R, ( const Ipp16u* pSrc, int srcStep,
  8837. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8838. IppiSize kernelSize, IppiPoint anchor ))
  8839. IPPAPI( IppStatus, ippiFilter32f_16u_C4R, ( const Ipp16u* pSrc, int srcStep,
  8840. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8841. IppiSize kernelSize, IppiPoint anchor ))
  8842. IPPAPI( IppStatus, ippiFilter32f_16u_AC4R, ( const Ipp16u* pSrc, int srcStep,
  8843. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8844. IppiSize kernelSize, IppiPoint anchor ))
  8845. IPPAPI( IppStatus, ippiFilter_32f_C1R, ( const Ipp32f* pSrc, int srcStep,
  8846. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8847. IppiSize kernelSize, IppiPoint anchor ))
  8848. IPPAPI( IppStatus, ippiFilter_32f_C3R, ( const Ipp32f* pSrc, int srcStep,
  8849. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8850. IppiSize kernelSize, IppiPoint anchor ))
  8851. IPPAPI( IppStatus, ippiFilter_32f_C4R, ( const Ipp32f* pSrc, int srcStep,
  8852. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8853. IppiSize kernelSize, IppiPoint anchor ))
  8854. IPPAPI( IppStatus, ippiFilter_32f_AC4R, ( const Ipp32f* pSrc, int srcStep,
  8855. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8856. IppiSize kernelSize, IppiPoint anchor ))
  8857. IPPAPI( IppStatus, ippiFilter32f_8u16s_C1R, ( const Ipp8u* pSrc, int srcStep,
  8858. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8859. IppiSize kernelSize, IppiPoint anchor ))
  8860. IPPAPI( IppStatus, ippiFilter32f_8u16s_C3R, ( const Ipp8u* pSrc, int srcStep,
  8861. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8862. IppiSize kernelSize, IppiPoint anchor ))
  8863. IPPAPI( IppStatus, ippiFilter32f_8u16s_C4R, ( const Ipp8u* pSrc, int srcStep,
  8864. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8865. IppiSize kernelSize, IppiPoint anchor ))
  8866. IPPAPI( IppStatus, ippiFilter32f_8s16s_C1R, ( const Ipp8s* pSrc, int srcStep,
  8867. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8868. IppiSize kernelSize, IppiPoint anchor ))
  8869. IPPAPI( IppStatus, ippiFilter32f_8s16s_C3R, ( const Ipp8s* pSrc, int srcStep,
  8870. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8871. IppiSize kernelSize, IppiPoint anchor ))
  8872. IPPAPI( IppStatus, ippiFilter32f_8s16s_C4R, ( const Ipp8s* pSrc, int srcStep,
  8873. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8874. IppiSize kernelSize, IppiPoint anchor ))
  8875. IPPAPI( IppStatus, ippiFilter32f_8s_C1R, ( const Ipp8s* pSrc, int srcStep,
  8876. Ipp8s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8877. IppiSize kernelSize, IppiPoint anchor ))
  8878. IPPAPI( IppStatus, ippiFilter32f_8s_C3R, ( const Ipp8s* pSrc, int srcStep,
  8879. Ipp8s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8880. IppiSize kernelSize, IppiPoint anchor ))
  8881. IPPAPI( IppStatus, ippiFilter32f_8s_C4R, ( const Ipp8s* pSrc, int srcStep,
  8882. Ipp8s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8883. IppiSize kernelSize, IppiPoint anchor ))
  8884. IPPAPI( IppStatus, ippiFilter32f_32s_C1R, ( const Ipp32s* pSrc, int srcStep,
  8885. Ipp32s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8886. IppiSize kernelSize, IppiPoint anchor ))
  8887. IPPAPI( IppStatus, ippiFilter32f_32s_C3R, ( const Ipp32s* pSrc, int srcStep,
  8888. Ipp32s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8889. IppiSize kernelSize, IppiPoint anchor ))
  8890. IPPAPI( IppStatus, ippiFilter32f_32s_C4R, ( const Ipp32s* pSrc, int srcStep,
  8891. Ipp32s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  8892. IppiSize kernelSize, IppiPoint anchor ))
  8893. /* ////////////////////////////////////////////////////////////////////////////
  8894. // Separable Filters
  8895. //////////////////////////////////////////////////////////////////////////// */
  8896. /* ////////////////////////////////////////////////////////////////////////////
  8897. // Names: ippiFilterColumn_8u_C1R
  8898. // ippiFilterColumn_8u_C3R
  8899. // ippiFilterColumn_8u_C4R
  8900. // ippiFilterColumn_8u_AC4R
  8901. // ippiFilterColumn_16s_C1R ippiFilterColumn_16u_C1R
  8902. // ippiFilterColumn_16s_C3R ippiFilterColumn_16u_C3R
  8903. // ippiFilterColumn_16s_C4R ippiFilterColumn_16u_C4R
  8904. // ippiFilterColumn_16s_AC4R ippiFilterColumn_16u_AC4R
  8905. //
  8906. // Purpose: Filters an image using a spatial 32s kernel consisting of a
  8907. // single column
  8908. // Returns:
  8909. // ippStsNoErr OK
  8910. // ippStsNullPtrErr One of the pointers is NULL
  8911. // ippStsSizeErr dstRoiSize has a field with zero or negative value, or
  8912. // kernelSize value is zero or negative
  8913. // ippStsDivisorErr divisor value is zero, function execution is interrupted
  8914. //
  8915. // Parameters:
  8916. // pSrc Pointer to the source buffer
  8917. // srcStep Step in bytes through the source image buffer
  8918. // pDst Pointer to the destination buffer
  8919. // dstStep Step in bytes through the destination image buffer
  8920. // dstRoiSize Size of the source and destination ROI in pixels
  8921. // pKernel Pointer to the column kernel values ( 32s kernel )
  8922. // kernelSize Size of the column kernel in pixels.
  8923. // yAnchor Anchor cell specifying the kernel vertical alignment with
  8924. // respect to the position of the input pixel
  8925. // divisor The integer value by which the computed result is divided.
  8926. */
  8927. IPPAPI( IppStatus, ippiFilterColumn_8u_C1R, ( const Ipp8u* pSrc,
  8928. int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  8929. const Ipp32s* pKernel, int kernelSize, int yAnchor, int divisor ))
  8930. IPPAPI( IppStatus, ippiFilterColumn_8u_C3R, ( const Ipp8u* pSrc,
  8931. int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  8932. const Ipp32s* pKernel, int kernelSize, int yAnchor, int divisor ))
  8933. IPPAPI( IppStatus, ippiFilterColumn_8u_C4R, ( const Ipp8u* pSrc,
  8934. int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  8935. const Ipp32s* pKernel, int kernelSize, int yAnchor, int divisor ))
  8936. IPPAPI( IppStatus, ippiFilterColumn_8u_AC4R, ( const Ipp8u* pSrc,
  8937. int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  8938. const Ipp32s* pKernel, int kernelSize, int yAnchor, int divisor ))
  8939. IPPAPI( IppStatus, ippiFilterColumn_16s_C1R, ( const Ipp16s* pSrc,
  8940. int srcStep, Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  8941. const Ipp32s* pKernel, int kernelSize, int yAnchor, int divisor ))
  8942. IPPAPI( IppStatus, ippiFilterColumn_16s_C3R, ( const Ipp16s* pSrc,
  8943. int srcStep, Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  8944. const Ipp32s* pKernel, int kernelSize, int yAnchor, int divisor ))
  8945. IPPAPI( IppStatus, ippiFilterColumn_16s_C4R, ( const Ipp16s* pSrc,
  8946. int srcStep, Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  8947. const Ipp32s* pKernel, int kernelSize, int yAnchor, int divisor ))
  8948. IPPAPI( IppStatus, ippiFilterColumn_16s_AC4R, ( const Ipp16s* pSrc,
  8949. int srcStep, Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  8950. const Ipp32s* pKernel, int kernelSize, int yAnchor, int divisor ))
  8951. IPPAPI( IppStatus, ippiFilterColumn_16u_C1R, ( const Ipp16u* pSrc,
  8952. int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  8953. const Ipp32s* pKernel, int kernelSize, int yAnchor, int divisor ))
  8954. IPPAPI( IppStatus, ippiFilterColumn_16u_C3R, ( const Ipp16u* pSrc,
  8955. int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  8956. const Ipp32s* pKernel, int kernelSize, int yAnchor, int divisor ))
  8957. IPPAPI( IppStatus, ippiFilterColumn_16u_C4R, ( const Ipp16u* pSrc,
  8958. int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  8959. const Ipp32s* pKernel, int kernelSize, int yAnchor, int divisor ))
  8960. IPPAPI( IppStatus, ippiFilterColumn_16u_AC4R, ( const Ipp16u* pSrc,
  8961. int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  8962. const Ipp32s* pKernel, int kernelSize, int yAnchor, int divisor ))
  8963. /* ////////////////////////////////////////////////////////////////////////////
  8964. // Names: ippiFilterColumn32f_8u_C1R
  8965. // ippiFilterColumn32f_8u_C3R
  8966. // ippiFilterColumn32f_8u_C4R
  8967. // ippiFilterColumn32f_8u_AC4R
  8968. // ippiFilterColumn32f_16s_C1R ippiFilterColumn32f_16u_C1R
  8969. // ippiFilterColumn32f_16s_C3R ippiFilterColumn32f_16u_C3R
  8970. // ippiFilterColumn32f_16s_C4R ippiFilterColumn32f_16u_C4R
  8971. // ippiFilterColumn32f_16s_AC4R ippiFilterColumn32f_16u_AC4R
  8972. // ippiFilterColumn_32f_C1R
  8973. // ippiFilterColumn_32f_C3R
  8974. // ippiFilterColumn_32f_C4R
  8975. // ippiFilterColumn_32f_AC4R
  8976. //
  8977. // Purpose: Filters an image using a spatial 32f kernel consisting of a
  8978. // single column
  8979. // Returns:
  8980. // ippStsNoErr OK
  8981. // ippStsNullPtrErr Some of pointers to pSrc, pDst or pKernel are NULL
  8982. // ippStsSizeErr dstRoiSize has a field with zero or negative value, or
  8983. // kernelSize value is zero or negative
  8984. //
  8985. // Parameters:
  8986. // pSrc Pointer to the source buffer
  8987. // srcStep Step in bytes through the source image buffer
  8988. // pDst Pointer to the destination buffer
  8989. // dstStep Step in bytes through the destination image buffer
  8990. // dstRoiSize Size of the source and destination ROI in pixels
  8991. // pKernel Pointer to the column kernel values ( 32f kernel )
  8992. // kernelSize Size of the column kernel in pixels.
  8993. // yAnchor Anchor cell specifying the kernel vertical alignment with
  8994. // respect to the position of the input pixel
  8995. */
  8996. IPPAPI( IppStatus, ippiFilterColumn32f_8u_C1R, ( const Ipp8u* pSrc,
  8997. int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  8998. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  8999. IPPAPI( IppStatus, ippiFilterColumn32f_8u_C3R, ( const Ipp8u* pSrc,
  9000. int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  9001. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  9002. IPPAPI( IppStatus, ippiFilterColumn32f_8u_C4R, ( const Ipp8u* pSrc,
  9003. int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  9004. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  9005. IPPAPI( IppStatus, ippiFilterColumn32f_8u_AC4R, ( const Ipp8u* pSrc,
  9006. int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  9007. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  9008. IPPAPI( IppStatus, ippiFilterColumn32f_16s_C1R, ( const Ipp16s* pSrc,
  9009. int srcStep, Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  9010. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  9011. IPPAPI( IppStatus, ippiFilterColumn32f_16s_C3R, ( const Ipp16s* pSrc,
  9012. int srcStep, Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  9013. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  9014. IPPAPI( IppStatus, ippiFilterColumn32f_16s_C4R, ( const Ipp16s* pSrc,
  9015. int srcStep, Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  9016. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  9017. IPPAPI( IppStatus, ippiFilterColumn32f_16s_AC4R, ( const Ipp16s* pSrc,
  9018. int srcStep, Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  9019. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  9020. IPPAPI( IppStatus, ippiFilterColumn32f_16u_C1R, ( const Ipp16u* pSrc,
  9021. int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  9022. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  9023. IPPAPI( IppStatus, ippiFilterColumn32f_16u_C3R, ( const Ipp16u* pSrc,
  9024. int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  9025. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  9026. IPPAPI( IppStatus, ippiFilterColumn32f_16u_C4R, ( const Ipp16u* pSrc,
  9027. int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  9028. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  9029. IPPAPI( IppStatus, ippiFilterColumn32f_16u_AC4R, ( const Ipp16u* pSrc,
  9030. int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  9031. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  9032. IPPAPI( IppStatus, ippiFilterColumn_32f_C1R, ( const Ipp32f* pSrc,
  9033. int srcStep, Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  9034. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  9035. IPPAPI( IppStatus, ippiFilterColumn_32f_C3R, ( const Ipp32f* pSrc,
  9036. int srcStep, Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  9037. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  9038. IPPAPI( IppStatus, ippiFilterColumn_32f_C4R, ( const Ipp32f* pSrc,
  9039. int srcStep, Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  9040. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  9041. IPPAPI( IppStatus, ippiFilterColumn_32f_AC4R, ( const Ipp32f* pSrc,
  9042. int srcStep, Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  9043. const Ipp32f* pKernel, int kernelSize, int yAnchor ))
  9044. /* ////////////////////////////////////////////////////////////////////////////
  9045. // Names: ippiFilterRow_8u_C1R
  9046. // ippiFilterRow_8u_C3R
  9047. // ippiFilterRow_8u_C4R
  9048. // ippiFilterRow_8u_AC4R
  9049. // ippiFilterRow_16s_C1R ippiFilterRow_16u_C1R
  9050. // ippiFilterRow_16s_C3R ippiFilterRow_16u_C3R
  9051. // ippiFilterRow_16s_C4R ippiFilterRow_16u_C4R
  9052. // ippiFilterRow_16s_AC4R ippiFilterRow_16u_AC4R
  9053. //
  9054. // Purpose: Filters an image using a spatial 32s kernel consisting of a
  9055. // single row
  9056. // Returns:
  9057. // ippStsNoErr OK
  9058. // ippStsNullPtrErr One of the pointers is NULL
  9059. // ippStsSizeErr dstRoiSize has a field with zero or negative value, or
  9060. // kernelSize value is zero or negative
  9061. // ippStsDivisorErr divisor value is zero, function execution is interrupted
  9062. //
  9063. // Parameters:
  9064. // pSrc Pointer to the source buffer
  9065. // srcStep Step in bytes through the source image buffer
  9066. // pDst Pointer to the destination buffer
  9067. // dstStep Step in bytes through the destination image buffer
  9068. // dstRoiSize Size of the source and destination ROI in pixels
  9069. // pKernel Pointer to the row kernel values ( 32s kernel )
  9070. // kernelSize Size of the row kernel in pixels.
  9071. // xAnchor Anchor cell specifying the kernel horizontal alignment with
  9072. // respect to the position of the input pixel.
  9073. // divisor The integer value by which the computed result is divided.
  9074. */
  9075. IPPAPI( IppStatus, ippiFilterRow_8u_C1R, ( const Ipp8u* pSrc, int srcStep,
  9076. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  9077. int kernelSize, int xAnchor, int divisor ))
  9078. IPPAPI( IppStatus, ippiFilterRow_8u_C3R, ( const Ipp8u* pSrc, int srcStep,
  9079. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  9080. int kernelSize, int xAnchor, int divisor ))
  9081. IPPAPI( IppStatus, ippiFilterRow_8u_C4R, ( const Ipp8u* pSrc, int srcStep,
  9082. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  9083. int kernelSize, int xAnchor, int divisor ))
  9084. IPPAPI( IppStatus, ippiFilterRow_8u_AC4R, ( const Ipp8u* pSrc, int srcStep,
  9085. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  9086. int kernelSize, int xAnchor, int divisor ))
  9087. IPPAPI( IppStatus, ippiFilterRow_16s_C1R, ( const Ipp16s* pSrc, int srcStep,
  9088. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  9089. int kernelSize, int xAnchor, int divisor ))
  9090. IPPAPI( IppStatus, ippiFilterRow_16s_C3R, ( const Ipp16s* pSrc, int srcStep,
  9091. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  9092. int kernelSize, int xAnchor, int divisor ))
  9093. IPPAPI( IppStatus, ippiFilterRow_16s_C4R, ( const Ipp16s* pSrc, int srcStep,
  9094. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  9095. int kernelSize, int xAnchor, int divisor ))
  9096. IPPAPI( IppStatus, ippiFilterRow_16s_AC4R, ( const Ipp16s* pSrc, int srcStep,
  9097. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  9098. int kernelSize, int xAnchor, int divisor ))
  9099. IPPAPI( IppStatus, ippiFilterRow_16u_C1R, ( const Ipp16u* pSrc, int srcStep,
  9100. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  9101. int kernelSize, int xAnchor, int divisor ))
  9102. IPPAPI( IppStatus, ippiFilterRow_16u_C3R, ( const Ipp16u* pSrc, int srcStep,
  9103. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  9104. int kernelSize, int xAnchor, int divisor ))
  9105. IPPAPI( IppStatus, ippiFilterRow_16u_C4R, ( const Ipp16u* pSrc, int srcStep,
  9106. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  9107. int kernelSize, int xAnchor, int divisor ))
  9108. IPPAPI( IppStatus, ippiFilterRow_16u_AC4R, ( const Ipp16u* pSrc, int srcStep,
  9109. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  9110. int kernelSize, int xAnchor, int divisor ))
  9111. /* ////////////////////////////////////////////////////////////////////////////
  9112. // Names: ippiFilterRow32f_8u_C1R
  9113. // ippiFilterRow32f_8u_C3R
  9114. // ippiFilterRow32f_8u_C4R
  9115. // ippiFilterRow32f_8u_AC4R
  9116. // ippiFilterRow32f_16s_C1R ippiFilterRow32f_16u_C1R
  9117. // ippiFilterRow32f_16s_C3R ippiFilterRow32f_16u_C3R
  9118. // ippiFilterRow32f_16s_C4R ippiFilterRow32f_16u_C4R
  9119. // ippiFilterRow32f_16s_AC4R ippiFilterRow32f_16u_AC4R
  9120. // ippiFilterRow_32f_C1R
  9121. // ippiFilterRow_32f_C3R
  9122. // ippiFilterRow_32f_C4R
  9123. // ippiFilterRow_32f_AC4R
  9124. //
  9125. // Purpose: Filters an image using a spatial 32f kernel consisting of a
  9126. // single row
  9127. // Returns:
  9128. // ippStsNoErr OK
  9129. // ippStsNullPtrErr One of the pointers is NULL
  9130. // ippStsSizeErr dstRoiSize has a field with zero or negative value, or
  9131. // kernelSize value is zero or negative
  9132. //
  9133. // Parameters:
  9134. // pSrc Pointer to the source buffer;
  9135. // srcStep Step in bytes through the source image buffer;
  9136. // pDst Pointer to the destination buffer;
  9137. // dstStep Step in bytes through the destination image buffer;
  9138. // dstRoiSize Size of the source and destination ROI in pixels;
  9139. // pKernel Pointer to the row kernel values ( 32f kernel );
  9140. // kernelSize Size of the row kernel in pixels;
  9141. // xAnchor Anchor cell specifying the kernel horizontal alignment with
  9142. // respect to the position of the input pixel.
  9143. */
  9144. IPPAPI( IppStatus, ippiFilterRow32f_8u_C1R, ( const Ipp8u* pSrc, int srcStep,
  9145. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9146. int kernelSize, int xAnchor ))
  9147. IPPAPI( IppStatus, ippiFilterRow32f_8u_C3R, ( const Ipp8u* pSrc, int srcStep,
  9148. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9149. int kernelSize, int xAnchor ))
  9150. IPPAPI( IppStatus, ippiFilterRow32f_8u_C4R, ( const Ipp8u* pSrc, int srcStep,
  9151. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9152. int kernelSize, int xAnchor ))
  9153. IPPAPI( IppStatus, ippiFilterRow32f_8u_AC4R, ( const Ipp8u* pSrc, int srcStep,
  9154. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9155. int kernelSize, int xAnchor ))
  9156. IPPAPI( IppStatus, ippiFilterRow32f_16s_C1R, ( const Ipp16s* pSrc, int srcStep,
  9157. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9158. int kernelSize, int xAnchor ))
  9159. IPPAPI( IppStatus, ippiFilterRow32f_16s_C3R, ( const Ipp16s* pSrc, int srcStep,
  9160. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9161. int kernelSize, int xAnchor ))
  9162. IPPAPI( IppStatus, ippiFilterRow32f_16s_C4R, ( const Ipp16s* pSrc, int srcStep,
  9163. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9164. int kernelSize, int xAnchor ))
  9165. IPPAPI( IppStatus, ippiFilterRow32f_16s_AC4R, ( const Ipp16s* pSrc, int srcStep,
  9166. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9167. int kernelSize, int xAnchor ))
  9168. IPPAPI( IppStatus, ippiFilterRow32f_16u_C1R, ( const Ipp16u* pSrc, int srcStep,
  9169. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9170. int kernelSize, int xAnchor ))
  9171. IPPAPI( IppStatus, ippiFilterRow32f_16u_C3R, ( const Ipp16u* pSrc, int srcStep,
  9172. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9173. int kernelSize, int xAnchor ))
  9174. IPPAPI( IppStatus, ippiFilterRow32f_16u_C4R, ( const Ipp16u* pSrc, int srcStep,
  9175. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9176. int kernelSize, int xAnchor ))
  9177. IPPAPI( IppStatus, ippiFilterRow32f_16u_AC4R, ( const Ipp16u* pSrc, int srcStep,
  9178. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9179. int kernelSize, int xAnchor ))
  9180. IPPAPI( IppStatus, ippiFilterRow_32f_C1R, ( const Ipp32f* pSrc, int srcStep,
  9181. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9182. int kernelSize, int xAnchor ))
  9183. IPPAPI( IppStatus, ippiFilterRow_32f_C3R, ( const Ipp32f* pSrc, int srcStep,
  9184. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9185. int kernelSize, int xAnchor ))
  9186. IPPAPI( IppStatus, ippiFilterRow_32f_C4R, ( const Ipp32f* pSrc, int srcStep,
  9187. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9188. int kernelSize, int xAnchor ))
  9189. IPPAPI( IppStatus, ippiFilterRow_32f_AC4R, ( const Ipp32f* pSrc, int srcStep,
  9190. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  9191. int kernelSize, int xAnchor ))
  9192. /* /////////////////////////////////////////////////////////////////////////////
  9193. // Wiener Filters
  9194. ///////////////////////////////////////////////////////////////////////////// */
  9195. /* /////////////////////////////////////////////////////////////////////////////
  9196. // Names:
  9197. // ippiFilterWienerGetBufferSize,
  9198. // Purpose: Computes the size of the external buffer for Wiener filter
  9199. //
  9200. // ippiFilterWiener_8u_C1R, ippiFilterWiener_16s_C1R,
  9201. // ippiFilterWiener_8u_C3R, ippiFilterWiener_16s_C3R,
  9202. // ippiFilterWiener_8u_C4R, ippiFilterWiener_16s_C4R,
  9203. // ippiFilterWiener_8u_AC4R, ippiFilterWiener_16s_AC4R,
  9204. // ippiFilterWiener_32f_C1R,
  9205. // ippiFilterWiener_32f_C3R,
  9206. // ippiFilterWiener_32f_C4R,
  9207. // ippiFilterWiener_32f_AC4R.
  9208. //
  9209. // Purpose: Performs two-dimensional adaptive noise-removal
  9210. // filtering of an image using Wiener filter.
  9211. //
  9212. // Parameters:
  9213. // pSrc Pointer to the source image ROI;
  9214. // srcStep Step in bytes through the source image buffer;
  9215. // pDst Pointer to the destination image ROI;
  9216. // dstStep Step in bytes through the destination image buffer;
  9217. // dstRoiSize Size of the destination ROI in pixels;
  9218. // maskSize Size of the rectangular local pixel neighborhood (mask);
  9219. // anchor Anchor cell specifying the mask alignment
  9220. // with respect to the position of the input pixel;
  9221. // noise Noise level value or array of the noise level values for
  9222. // multi-channel image;
  9223. // pBuffer Pointer to the external work buffer;
  9224. // pBufferSize Pointer to the computed value of the external buffer size;
  9225. // channels Number of channels in the image ( 1, 3, or 4 ).
  9226. //
  9227. // Returns:
  9228. // ippStsNoErr OK
  9229. // ippStsNumChannelsErr channels is not 1, 3, or 4
  9230. // ippStsNullPtrErr One of the pointers is NULL;
  9231. // ippStsSizeErr dstRoiSize has a field with zero or negative value
  9232. // ippStsMaskSizeErr maskSize has a field with zero or negative value
  9233. // ippStsNoiseRangeErr One of the noise values is less than 0
  9234. // or greater than 1.0;
  9235. */
  9236. IPPAPI( IppStatus, ippiFilterWienerGetBufferSize,( IppiSize dstRoiSize,
  9237. IppiSize maskSize, int channels, int* pBufferSize ))
  9238. IPPAPI( IppStatus, ippiFilterWiener_8u_C1R,( const Ipp8u* pSrc, int srcStep,
  9239. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  9240. IppiPoint anchor, Ipp32f noise[1], Ipp8u* pBuffer ))
  9241. IPPAPI( IppStatus, ippiFilterWiener_8u_C3R,( const Ipp8u* pSrc, int srcStep,
  9242. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  9243. IppiPoint anchor, Ipp32f noise[3], Ipp8u* pBuffer ))
  9244. IPPAPI( IppStatus, ippiFilterWiener_8u_AC4R,( const Ipp8u* pSrc, int srcStep,
  9245. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  9246. IppiPoint anchor, Ipp32f noise[3], Ipp8u* pBuffer ))
  9247. IPPAPI( IppStatus, ippiFilterWiener_8u_C4R,( const Ipp8u* pSrc, int srcStep,
  9248. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  9249. IppiPoint anchor, Ipp32f noise[4], Ipp8u* pBuffer ))
  9250. IPPAPI( IppStatus, ippiFilterWiener_16s_C1R,( const Ipp16s* pSrc, int srcStep,
  9251. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  9252. IppiPoint anchor, Ipp32f noise[1], Ipp8u* pBuffer ))
  9253. IPPAPI( IppStatus, ippiFilterWiener_16s_C3R,( const Ipp16s* pSrc, int srcStep,
  9254. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  9255. IppiPoint anchor, Ipp32f noise[3], Ipp8u* pBuffer ))
  9256. IPPAPI( IppStatus, ippiFilterWiener_16s_AC4R,( const Ipp16s* pSrc, int srcStep,
  9257. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  9258. IppiPoint anchor, Ipp32f noise[3], Ipp8u* pBuffer ))
  9259. IPPAPI( IppStatus, ippiFilterWiener_16s_C4R,( const Ipp16s* pSrc, int srcStep,
  9260. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  9261. IppiPoint anchor, Ipp32f noise[4], Ipp8u* pBuffer ))
  9262. IPPAPI( IppStatus, ippiFilterWiener_32f_C1R,( const Ipp32f* pSrc, int srcStep,
  9263. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  9264. IppiPoint anchor, Ipp32f noise[1], Ipp8u* pBuffer ))
  9265. IPPAPI( IppStatus, ippiFilterWiener_32f_C3R,( const Ipp32f* pSrc, int srcStep,
  9266. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  9267. IppiPoint anchor, Ipp32f noise[3], Ipp8u* pBuffer ))
  9268. IPPAPI( IppStatus, ippiFilterWiener_32f_AC4R,( const Ipp32f* pSrc, int srcStep,
  9269. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  9270. IppiPoint anchor, Ipp32f noise[3], Ipp8u* pBuffer ))
  9271. IPPAPI( IppStatus, ippiFilterWiener_32f_C4R,( const Ipp32f* pSrc, int srcStep,
  9272. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize, IppiSize maskSize,
  9273. IppiPoint anchor, Ipp32f noise[4], Ipp8u* pBuffer ))
  9274. /* ////////////////////////////////////////////////////////////////////////////
  9275. // Names: ippiConvFull_32f_C1R
  9276. // ippiConvFull_32f_C3R
  9277. // ippiConvFull_32f_AC4R
  9278. // ippiConvFull_16s_C1R
  9279. // ippiConvFull_16s_C3R
  9280. // ippiConvFull_16s_AC4R
  9281. // ippiConvFull_8u_C1R
  9282. // ippiConvFull_8u_C3R
  9283. // ippiConvFull_8u_AC4R
  9284. //
  9285. // Purpose: Performs full 2-D convolution of matrices (images). If IppiSize's
  9286. // of matrices are Wa*Ha and Wb*Hb correspondingly, then the
  9287. // IppiSize of the resulting matrix (image) will be
  9288. // (Wa+Wb-1)*(Ha+Hb-1).
  9289. // If the resulting IppiSize > CRITERION, then convolution is done
  9290. // using 2D FFT.
  9291. //
  9292. // Returns:
  9293. // ippStsNoErr OK;
  9294. // ippStsNullPtrErr One of the pointers pSrc1, pSrc2, pDst is NULL;
  9295. // ippStsSizeErr src1Size, src2Size has at least one field with
  9296. // zero or negative value;
  9297. // ippStsStepErr One of the step values is zero or negative;
  9298. /// ippStsDivisorErr divisor value is zero, function execution is interrupted;
  9299. // ippStsMemAllocErr Memory allocation error.
  9300. //
  9301. // Parameters:
  9302. // pSrc1 Pointer to the source buffer 1;
  9303. // src1Step Step in bytes through the source image buffer 1;
  9304. // src1Size Size of the source buffer 1 in pixels;
  9305. // pSrc2 Pointer to the source buffer 2;
  9306. // src2Step Step in bytes through the source image buffer 2;
  9307. // Src2Size Size of the source buffer 2 in pixels;
  9308. // pDst Pointer to the destination buffer;
  9309. // dstStep Step in bytes through the destination image buffer;
  9310. // divisor The integer value by which the computed result is divided
  9311. // (in case of 8u or 16s data).
  9312. */
  9313. IPPAPI( IppStatus, ippiConvFull_32f_C1R,( const Ipp32f* pSrc1, int src1Step,
  9314. IppiSize src1Size, const Ipp32f* pSrc2, int src2Step, IppiSize src2Size,
  9315. Ipp32f* pDst, int dstStep ))
  9316. IPPAPI( IppStatus, ippiConvFull_32f_C3R,( const Ipp32f* pSrc1, int src1Step,
  9317. IppiSize src1Size, const Ipp32f* pSrc2, int src2Step, IppiSize src2Size,
  9318. Ipp32f* pDst, int dstStep ))
  9319. IPPAPI( IppStatus, ippiConvFull_32f_AC4R,( const Ipp32f* pSrc1, int src1Step,
  9320. IppiSize src1Size, const Ipp32f* pSrc2, int src2Step, IppiSize src2Size,
  9321. Ipp32f* pDst, int dstStep ))
  9322. IPPAPI( IppStatus, ippiConvFull_16s_C1R,( const Ipp16s* pSrc1, int src1Step,
  9323. IppiSize src1Size, const Ipp16s* pSrc2, int src2Step, IppiSize src2Size,
  9324. Ipp16s* pDst, int dstStep, int divisor ))
  9325. IPPAPI( IppStatus, ippiConvFull_16s_C3R,( const Ipp16s* pSrc1, int src1Step,
  9326. IppiSize src1Size, const Ipp16s* pSrc2, int src2Step, IppiSize src2Size,
  9327. Ipp16s* pDst, int dstStep, int divisor ))
  9328. IPPAPI( IppStatus, ippiConvFull_16s_AC4R,( const Ipp16s* pSrc1, int src1Step,
  9329. IppiSize src1Size, const Ipp16s* pSrc2, int src2Step, IppiSize src2Size,
  9330. Ipp16s* pDst, int dstStep, int divisor ))
  9331. IPPAPI( IppStatus, ippiConvFull_8u_C1R,( const Ipp8u* pSrc1, int src1Step,
  9332. IppiSize src1Size, const Ipp8u* pSrc2, int src2Step, IppiSize src2Size,
  9333. Ipp8u* pDst, int dstStep, int divisor ))
  9334. IPPAPI( IppStatus, ippiConvFull_8u_C3R,( const Ipp8u* pSrc1, int src1Step,
  9335. IppiSize src1Size, const Ipp8u* pSrc2, int src2Step, IppiSize src2Size,
  9336. Ipp8u* pDst, int dstStep, int divisor ))
  9337. IPPAPI( IppStatus, ippiConvFull_8u_AC4R,( const Ipp8u* pSrc1, int src1Step,
  9338. IppiSize src1Size, const Ipp8u* pSrc2, int src2Step, IppiSize src2Size,
  9339. Ipp8u* pDst, int dstStep, int divisor ))
  9340. /* ////////////////////////////////////////////////////////////////////////////
  9341. // Names: ippiConvValid_32f_C1R
  9342. // ippiConvValid_32f_C3R
  9343. // ippiConvValid_32f_AC4R
  9344. // ippiConvValid_16s_C1R
  9345. // ippiConvValid_16s_C3R
  9346. // ippiConvValid_16s_AC4R
  9347. // ippiConvValid_8u_C1R
  9348. // ippiConvValid_8u_C3R
  9349. // ippiConvValid_8u_AC4R
  9350. //
  9351. // Purpose: Performs the VALID 2-D convolution of matrices (images).
  9352. // If IppiSize's of matrices (images) are Wa*Ha and Wb*Hb
  9353. // correspondingly, then the IppiSize of the resulting matrix
  9354. // (image) will be (|Wa-Wb|+1)*(|Ha-Hb|+1).
  9355. // If the smallest image IppiSize > CRITERION, then convolution
  9356. // is done using 2D FFT.
  9357. //
  9358. // Returns:
  9359. // ippStsNoErr OK;
  9360. // ippStsNullPtrErr One of the pointers pSrc1, pSrc2, pDst is NULL;
  9361. // ippStsSizeErr src1Size, src2Size has at least one field with
  9362. // zero or negative value;
  9363. // ippStsStepErr One of the step values is zero or negative;
  9364. /// ippStsDivisorErr divisor value is zero, function execution is interrupted;
  9365. // ippStsMemAllocErr Memory allocation error.
  9366. //
  9367. // Parameters:
  9368. // pSrc1 Pointer to the source buffer 1;
  9369. // src1Step Step in bytes through the source image buffer 1;
  9370. // src1Size Size of the source buffer 1 in pixels;
  9371. // pSrc2 Pointer to the source buffer 2;
  9372. // src2Step Step in bytes through the source image buffer 2;
  9373. // src2Size Size of the source buffer 2 in pixels;
  9374. // pDst Pointer to the destination buffer;
  9375. // dstStep Step in bytes through the destination image buffer;
  9376. // divisor The integer value by which the computed result is divided
  9377. // (in case of 8u or 16s data).
  9378. */
  9379. IPPAPI( IppStatus, ippiConvValid_32f_C1R,( const Ipp32f* pSrc1, int src1Step,
  9380. IppiSize src1Size, const Ipp32f* pSrc2, int src2Step, IppiSize src2Size,
  9381. Ipp32f* pDst, int dstStep ))
  9382. IPPAPI( IppStatus, ippiConvValid_32f_C3R,( const Ipp32f* pSrc1, int src1Step,
  9383. IppiSize src1Size, const Ipp32f* pSrc2, int src2Step, IppiSize src2Size,
  9384. Ipp32f* pDst, int dstStep ))
  9385. IPPAPI( IppStatus, ippiConvValid_32f_AC4R,( const Ipp32f* pSrc1, int src1Step,
  9386. IppiSize src1Size, const Ipp32f* pSrc2, int src2Step, IppiSize src2Size,
  9387. Ipp32f* pDst, int dstStep ))
  9388. IPPAPI( IppStatus, ippiConvValid_16s_C1R,( const Ipp16s* pSrc1, int src1Step,
  9389. IppiSize src1Size, const Ipp16s* pSrc2, int src2Step, IppiSize src2Size,
  9390. Ipp16s* pDst, int dstStep, int divisor ))
  9391. IPPAPI( IppStatus, ippiConvValid_16s_C3R,( const Ipp16s* pSrc1, int src1Step,
  9392. IppiSize src1Size, const Ipp16s* pSrc2, int src2Step, IppiSize src2Size,
  9393. Ipp16s* pDst, int dstStep, int divisor ))
  9394. IPPAPI( IppStatus, ippiConvValid_16s_AC4R,( const Ipp16s* pSrc1, int src1Step,
  9395. IppiSize src1Size, const Ipp16s* pSrc2, int src2Step, IppiSize src2Size,
  9396. Ipp16s* pDst, int dstStep, int divisor ))
  9397. IPPAPI( IppStatus, ippiConvValid_8u_C1R,( const Ipp8u* pSrc1, int src1Step,
  9398. IppiSize src1Size, const Ipp8u* pSrc2, int src2Step, IppiSize src2Size,
  9399. Ipp8u* pDst, int dstStep, int divisor ))
  9400. IPPAPI( IppStatus, ippiConvValid_8u_C3R,( const Ipp8u* pSrc1, int src1Step,
  9401. IppiSize src1Size, const Ipp8u* pSrc2, int src2Step, IppiSize src2Size,
  9402. Ipp8u* pDst, int dstStep, int divisor ))
  9403. IPPAPI( IppStatus, ippiConvValid_8u_AC4R,( const Ipp8u* pSrc1, int src1Step,
  9404. IppiSize src1Size, const Ipp8u* pSrc2, int src2Step, IppiSize src2Size,
  9405. Ipp8u* pDst, int dstStep, int divisor ))
  9406. /* //////////////////////////////////////////////////////////////////////////////////////
  9407. // Image Proximity Measures
  9408. ////////////////////////////////////////////////////////////////////////////////////// */
  9409. /*///////////////////////////////////////////////////////////////////////////////////////
  9410. // Names:
  9411. // ippiCrossCorrFull_Norm_32f_C1R, ippiCrossCorrSame_Norm_32f_C1R,
  9412. // ippiCrossCorrFull_Norm_32f_C3R, ippiCrossCorrSame_Norm_32f_C3R,
  9413. // ippiCrossCorrFull_Norm_32f_C4R, ippiCrossCorrSame_Norm_32f_C4R,
  9414. // ippiCrossCorrFull_Norm_32f_AC4R, ippiCrossCorrSame_Norm_32f_AC4R,
  9415. // ippiCrossCorrFull_Norm_8u_C1RSfs, ippiCrossCorrSame_Norm_8u_C1RSfs,
  9416. // ippiCrossCorrFull_Norm_8u_C3RSfs, ippiCrossCorrSame_Norm_8u_C3RSfs,
  9417. // ippiCrossCorrFull_Norm_8u_C4RSfs, ippiCrossCorrSame_Norm_8u_C4RSfs,
  9418. // ippiCrossCorrFull_Norm_8u_AC4RSfs, ippiCrossCorrSame_Norm_8u_AC4RSfs,
  9419. // ippiCrossCorrFull_Norm_8u32f_C1R, ippiCrossCorrSame_Norm_8u32f_C1R,
  9420. // ippiCrossCorrFull_Norm_8u32f_C3R, ippiCrossCorrSame_Norm_8u32f_C3R,
  9421. // ippiCrossCorrFull_Norm_8u32f_C4R, ippiCrossCorrSame_Norm_8u32f_C4R,
  9422. // ippiCrossCorrFull_Norm_8u32f_AC4R, ippiCrossCorrSame_Norm_8u32f_AC4R,
  9423. // ippiCrossCorrFull_Norm_8s32f_C1R, ippiCrossCorrSame_Norm_8s32f_C1R,
  9424. // ippiCrossCorrFull_Norm_8s32f_C3R, ippiCrossCorrSame_Norm_8s32f_C3R,
  9425. // ippiCrossCorrFull_Norm_8s32f_C4R, ippiCrossCorrSame_Norm_8s32f_C4R,
  9426. // ippiCrossCorrFull_Norm_8s32f_AC4R, ippiCrossCorrSame_Norm_8s32f_AC4R,
  9427. // ippiCrossCorrFull_Norm_16u32f_C1R, ippiCrossCorrSame_Norm_16u32f_C1R,
  9428. // ippiCrossCorrFull_Norm_16u32f_C3R, ippiCrossCorrSame_Norm_16u32f_C3R,
  9429. // ippiCrossCorrFull_Norm_16u32f_C4R, ippiCrossCorrSame_Norm_16u32f_C4R,
  9430. // ippiCrossCorrFull_Norm_16u32f_AC4R, ippiCrossCorrSame_Norm_16u32f_AC4R,
  9431. //
  9432. // ippiCrossCorrValid_Norm_32f_C1R,
  9433. // ippiCrossCorrValid_Norm_32f_C3R,
  9434. // ippiCrossCorrValid_Norm_32f_C4R,
  9435. // ippiCrossCorrValid_Norm_32f_AC4R,
  9436. // ippiCrossCorrValid_Norm_8u_C1RSfs,
  9437. // ippiCrossCorrValid_Norm_8u_C3RSfs,
  9438. // ippiCrossCorrValid_Norm_8u_C4RSfs,
  9439. // ippiCrossCorrValid_Norm_8u_AC4RSfs,
  9440. // ippiCrossCorrValid_Norm_8u32f_C1R,
  9441. // ippiCrossCorrValid_Norm_8u32f_C3R,
  9442. // ippiCrossCorrValid_Norm_8u32f_C4R,
  9443. // ippiCrossCorrValid_Norm_8u32f_AC4R.
  9444. // ippiCrossCorrValid_Norm_8s32f_C1R,
  9445. // ippiCrossCorrValid_Norm_8s32f_C3R,
  9446. // ippiCrossCorrValid_Norm_8s32f_C4R,
  9447. // ippiCrossCorrValid_Norm_8s32f_AC4R.
  9448. //
  9449. // Purpose: Computes normalized cross-correlation between
  9450. // an image and a template (another image).
  9451. // The cross-correlation values are the image similarity measures: the
  9452. // higher cross-correlation at a particular pixel, the more
  9453. // similarity between the template and the image in the neighborhood
  9454. // of the pixel. If IppiSize's of image and template are Wa * Ha and
  9455. // Wb * Hb correspondingly, then the IppiSize of the resulting
  9456. // matrix with normalized cross-correlation coefficients will be
  9457. // a) in case of 'Full' suffix:
  9458. // ( Wa + Wb - 1 )*( Ha + Hb - 1 ).
  9459. // b) in case of 'Same' suffix:
  9460. // ( Wa )*( Ha ).
  9461. // c) in case of 'Valid' suffix:
  9462. // ( Wa - Wb + 1 )*( Ha - Hb + 1 ).
  9463. // Notice:
  9464. // suffix 'R' (ROI) means only scanline alignment (srcStep), in
  9465. // 'Same' and 'Full' cases no any requirements for data outside
  9466. // the ROI - it's assumed that template and source images are zero padded.
  9467. //
  9468. // Parameters:
  9469. // pSrc Pointer to the source image ROI;
  9470. // srcStep Step in bytes through the source image buffer;
  9471. // srcRoiSize Size of the source ROI in pixels;
  9472. // pTpl Pointer to the template ( feature ) image ROI;
  9473. // tplStep Step in bytes through the template image buffer;
  9474. // tplRoiSize Size of the template ROI in pixels;
  9475. // pDst Pointer to the destination buffer;
  9476. // dstStep Step in bytes through the destination image buffer;
  9477. // scaleFactor Scale factor value ( integer output data ).
  9478. //
  9479. // Returns:
  9480. // ippStsNoErr OK
  9481. // ippStsNullPtrErr One of the pointers to pSrc, pDst or pTpl is NULL;
  9482. // ippStsSizeErr srcRoiSize or tplRoiSize has a field with zero or
  9483. // negative value,
  9484. // or srcRoiSize has a field with value smaller than value
  9485. // of the corresponding field of tplRoiSize;
  9486. // ippStsStepErr One of the step values is less than or equal to zero;
  9487. // ippStsMemAllocErr Memory allocation for internal buffers fails.
  9488. */
  9489. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_32f_C1R, ( const Ipp32f* pSrc, int srcStep,
  9490. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9491. Ipp32f* pDst, int dstStep ))
  9492. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_32f_C3R, ( const Ipp32f* pSrc, int srcStep,
  9493. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9494. Ipp32f* pDst, int dstStep ))
  9495. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_32f_AC4R, ( const Ipp32f* pSrc, int srcStep,
  9496. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9497. Ipp32f* pDst, int dstStep ))
  9498. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_8u32f_C1R, ( const Ipp8u* pSrc, int srcStep,
  9499. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9500. Ipp32f* pDst, int dstStep ))
  9501. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_8u32f_C3R, ( const Ipp8u* pSrc, int srcStep,
  9502. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9503. Ipp32f* pDst, int dstStep ))
  9504. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_8u32f_AC4R, ( const Ipp8u* pSrc, int srcStep,
  9505. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9506. Ipp32f* pDst, int dstStep ))
  9507. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_8u_C1RSfs, ( const Ipp8u* pSrc, int srcStep,
  9508. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9509. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9510. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_8u_C3RSfs, ( const Ipp8u* pSrc, int srcStep,
  9511. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9512. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9513. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_8u_AC4RSfs, ( const Ipp8u* pSrc, int srcStep,
  9514. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9515. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9516. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_16u32f_C1R, ( const Ipp16u* pSrc,
  9517. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9518. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9519. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_16u32f_C3R, ( const Ipp16u* pSrc,
  9520. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9521. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9522. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_16u32f_AC4R, ( const Ipp16u* pSrc,
  9523. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9524. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9525. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_16u32f_C4R, ( const Ipp16u* pSrc,
  9526. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9527. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9528. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_32f_C4R, ( const Ipp32f* pSrc, int srcStep,
  9529. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9530. Ipp32f* pDst, int dstStep ))
  9531. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_8u32f_C4R, ( const Ipp8u* pSrc, int srcStep,
  9532. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9533. Ipp32f* pDst, int dstStep ))
  9534. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_8s32f_C1R, ( const Ipp8s* pSrc, int srcStep,
  9535. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9536. Ipp32f* pDst, int dstStep ))
  9537. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_8s32f_C3R, ( const Ipp8s* pSrc, int srcStep,
  9538. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9539. Ipp32f* pDst, int dstStep ))
  9540. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_8s32f_C4R, ( const Ipp8s* pSrc, int srcStep,
  9541. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9542. Ipp32f* pDst, int dstStep ))
  9543. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_8s32f_AC4R, ( const Ipp8s* pSrc, int srcStep,
  9544. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9545. Ipp32f* pDst, int dstStep ))
  9546. IPPAPI( IppStatus, ippiCrossCorrFull_Norm_8u_C4RSfs, ( const Ipp8u* pSrc, int srcStep,
  9547. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9548. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9549. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_32f_C1R, ( const Ipp32f* pSrc, int srcStep,
  9550. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9551. Ipp32f* pDst, int dstStep ))
  9552. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_32f_C3R, ( const Ipp32f* pSrc, int srcStep,
  9553. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9554. Ipp32f* pDst, int dstStep ))
  9555. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_32f_AC4R, ( const Ipp32f* pSrc, int srcStep,
  9556. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9557. Ipp32f* pDst, int dstStep ))
  9558. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_8u32f_C1R, ( const Ipp8u* pSrc, int srcStep,
  9559. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9560. Ipp32f* pDst, int dstStep ))
  9561. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_8u32f_C3R, ( const Ipp8u* pSrc, int srcStep,
  9562. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9563. Ipp32f* pDst, int dstStep ))
  9564. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_8u32f_AC4R, ( const Ipp8u* pSrc, int srcStep,
  9565. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9566. Ipp32f* pDst, int dstStep ))
  9567. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_8u_C1RSfs, ( const Ipp8u* pSrc, int srcStep,
  9568. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9569. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9570. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_8u_C3RSfs, ( const Ipp8u* pSrc, int srcStep,
  9571. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9572. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9573. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_8u_AC4RSfs, ( const Ipp8u* pSrc, int srcStep,
  9574. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9575. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9576. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_32f_C4R, ( const Ipp32f* pSrc, int srcStep,
  9577. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9578. Ipp32f* pDst, int dstStep ))
  9579. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_8u32f_C4R, ( const Ipp8u* pSrc, int srcStep,
  9580. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9581. Ipp32f* pDst, int dstStep ))
  9582. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_8s32f_C1R, ( const Ipp8s* pSrc, int srcStep,
  9583. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9584. Ipp32f* pDst, int dstStep ))
  9585. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_8s32f_C3R, ( const Ipp8s* pSrc, int srcStep,
  9586. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9587. Ipp32f* pDst, int dstStep ))
  9588. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_8s32f_C4R, ( const Ipp8s* pSrc, int srcStep,
  9589. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9590. Ipp32f* pDst, int dstStep ))
  9591. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_8s32f_AC4R, ( const Ipp8s* pSrc, int srcStep,
  9592. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9593. Ipp32f* pDst, int dstStep ))
  9594. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_8u_C4RSfs, ( const Ipp8u* pSrc, int srcStep,
  9595. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9596. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9597. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_16u32f_C1R, ( const Ipp16u* pSrc,
  9598. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9599. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9600. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_16u32f_C3R, ( const Ipp16u* pSrc,
  9601. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9602. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9603. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_16u32f_AC4R, ( const Ipp16u* pSrc,
  9604. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9605. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9606. IPPAPI( IppStatus, ippiCrossCorrValid_Norm_16u32f_C4R, ( const Ipp16u* pSrc,
  9607. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9608. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9609. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_32f_C1R, ( const Ipp32f* pSrc, int srcStep,
  9610. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9611. Ipp32f* pDst, int dstStep ))
  9612. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_32f_C3R, ( const Ipp32f* pSrc, int srcStep,
  9613. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9614. Ipp32f* pDst, int dstStep ))
  9615. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_32f_AC4R, ( const Ipp32f* pSrc, int srcStep,
  9616. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9617. Ipp32f* pDst, int dstStep ))
  9618. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_8u32f_C1R, ( const Ipp8u* pSrc, int srcStep,
  9619. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9620. Ipp32f* pDst, int dstStep ))
  9621. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_8u32f_C3R, ( const Ipp8u* pSrc, int srcStep,
  9622. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9623. Ipp32f* pDst, int dstStep ))
  9624. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_8u32f_AC4R, ( const Ipp8u* pSrc, int srcStep,
  9625. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9626. Ipp32f* pDst, int dstStep ))
  9627. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_8u_C1RSfs, ( const Ipp8u* pSrc, int srcStep,
  9628. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9629. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9630. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_8u_C3RSfs, ( const Ipp8u* pSrc, int srcStep,
  9631. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9632. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9633. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_8u_AC4RSfs, ( const Ipp8u* pSrc, int srcStep,
  9634. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9635. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9636. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_32f_C4R, ( const Ipp32f* pSrc, int srcStep,
  9637. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9638. Ipp32f* pDst, int dstStep ))
  9639. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_8u32f_C4R, ( const Ipp8u* pSrc, int srcStep,
  9640. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9641. Ipp32f* pDst, int dstStep ))
  9642. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_8s32f_C1R, ( const Ipp8s* pSrc, int srcStep,
  9643. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9644. Ipp32f* pDst, int dstStep ))
  9645. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_8s32f_C3R, ( const Ipp8s* pSrc, int srcStep,
  9646. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9647. Ipp32f* pDst, int dstStep ))
  9648. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_8s32f_C4R, ( const Ipp8s* pSrc, int srcStep,
  9649. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9650. Ipp32f* pDst, int dstStep ))
  9651. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_8s32f_AC4R, ( const Ipp8s* pSrc, int srcStep,
  9652. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9653. Ipp32f* pDst, int dstStep ))
  9654. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_8u_C4RSfs, ( const Ipp8u* pSrc, int srcStep,
  9655. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9656. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9657. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_16u32f_C1R, ( const Ipp16u* pSrc,
  9658. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9659. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9660. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_16u32f_C3R, ( const Ipp16u* pSrc,
  9661. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9662. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9663. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_16u32f_AC4R, ( const Ipp16u* pSrc,
  9664. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9665. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9666. IPPAPI( IppStatus, ippiCrossCorrSame_Norm_16u32f_C4R, ( const Ipp16u* pSrc,
  9667. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9668. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9669. /* /////////////////////////////////////////////////////////////////////////////////
  9670. // Names:
  9671. // ippiCrossCorrFull_NormLevel_32f_C1R, ippiCrossCorrSame_NormLevel_32f_C1R,
  9672. // ippiCrossCorrFull_NormLevel_32f_C3R, ippiCrossCorrSame_NormLevel_32f_C3R,
  9673. // ippiCrossCorrFull_NormLevel_32f_C4R, ippiCrossCorrSame_NormLevel_32f_C4R,
  9674. // ippiCrossCorrFull_NormLevel_32f_AC4R, ippiCrossCorrSame_NormLevel_32f_AC4R,
  9675. // ippiCrossCorrFull_NormLevel_8u_C1RSfs, ippiCrossCorrSame_NormLevel_8u_C1RSfs,
  9676. // ippiCrossCorrFull_NormLevel_8u_C3RSfs, ippiCrossCorrSame_NormLevel_8u_C3RSfs,
  9677. // ippiCrossCorrFull_NormLevel_8u_C4RSfs, ippiCrossCorrSame_NormLevel_8u_C4RSfs,
  9678. // ippiCrossCorrFull_NormLevel_8u_AC4RSfs, ippiCrossCorrSame_NormLevel_8u_AC4RSfs,
  9679. // ippiCrossCorrFull_NormLevel_8u32f_C1R, ippiCrossCorrSame_NormLevel_8u32f_C1R,
  9680. // ippiCrossCorrFull_NormLevel_8u32f_C3R, ippiCrossCorrSame_NormLevel_8u32f_C3R,
  9681. // ippiCrossCorrFull_NormLevel_8u32f_C4R, ippiCrossCorrSame_NormLevel_8u32f_C4R,
  9682. // ippiCrossCorrFull_NormLevel_8u32f_AC4R, ippiCrossCorrSame_NormLevel_8u32f_AC4R,
  9683. // ippiCrossCorrFull_NormLevel_8s32f_C1R, ippiCrossCorrSame_NormLevel_8s32f_C1R,
  9684. // ippiCrossCorrFull_NormLevel_8s32f_C3R, ippiCrossCorrSame_NormLevel_8s32f_C3R,
  9685. // ippiCrossCorrFull_NormLevel_8s32f_C4R, ippiCrossCorrSame_NormLevel_8s32f_C4R,
  9686. // ippiCrossCorrFull_NormLevel_8s32f_AC4R, ippiCrossCorrSame_NormLevel_8s32f_AC4R,
  9687. // ippiCrossCorrFull_NormLevel_16u32f_C1R, ippiCrossCorrSame_NormLevel_16u32f_C1R,
  9688. // ippiCrossCorrFull_NormLevel_16u32f_C3R, ippiCrossCorrSame_NormLevel_16u32f_C3R,
  9689. // ippiCrossCorrFull_NormLevel_16u32f_C4R, ippiCrossCorrSame_NormLevel_16u32f_C4R,
  9690. // ippiCrossCorrFull_NormLevel_16u32f_AC4R,ippiCrossCorrSame_NormLevel_16u32f_AC4R,
  9691. //
  9692. // ippiCrossCorrValid_NormLevel_32f_C1R,
  9693. // ippiCrossCorrValid_NormLevel_32f_C3R,
  9694. // ippiCrossCorrValid_NormLevel_32f_C4R,
  9695. // ippiCrossCorrValid_NormLevel_32f_AC4R,
  9696. // ippiCrossCorrValid_NormLevel_8u_C1RSfs,
  9697. // ippiCrossCorrValid_NormLevel_8u_C3RSfs,
  9698. // ippiCrossCorrValid_NormLevel_8u_C4RSfs,
  9699. // ippiCrossCorrValid_NormLevel_8u_AC4RSfs,
  9700. // ippiCrossCorrValid_NormLevel_8u32f_C1R,
  9701. // ippiCrossCorrValid_NormLevel_8u32f_C3R,
  9702. // ippiCrossCorrValid_NormLevel_8u32f_C4R,
  9703. // ippiCrossCorrValid_NormLevel_8u32f_AC4R,
  9704. // ippiCrossCorrValid_NormLevel_8s32f_C1R,
  9705. // ippiCrossCorrValid_NormLevel_8s32f_C3R,
  9706. // ippiCrossCorrValid_NormLevel_8s32f_C4R,
  9707. // ippiCrossCorrValid_NormLevel_8s32f_AC4R.
  9708. // ippiCrossCorrValid_NormLevel_16u32f_C1R,
  9709. // ippiCrossCorrValid_NormLevel_16u32f_C3R,
  9710. // ippiCrossCorrValid_NormLevel_16u32f_C4R,
  9711. // ippiCrossCorrValid_NormLevel_16u32f_AC4R.
  9712. //
  9713. // Purpose: Computes normalized correlation coefficient between an image
  9714. // and a template.
  9715. // ippiCrossCorr_NormLevel() function allows you to compute the
  9716. // cross-correlation of an image and a template (another image).
  9717. // The cross-correlation values are image similarity measures: the
  9718. // higher cross-correlation at a particular pixel, the more
  9719. // similarity between the template and the image in the neighborhood
  9720. // of the pixel. If IppiSize's of image and template are Wa * Ha and
  9721. // Wb * Hb correspondingly, then the IppiSize of the resulting
  9722. // matrix with normalized cross-correlation coefficients will be
  9723. // a) in case of 'Full' suffix:
  9724. // ( Wa + Wb - 1 )*( Ha + Hb - 1 ).
  9725. // b) in case of 'Same' suffix:
  9726. // ( Wa )*( Ha ).
  9727. // c) in case of 'Valid' suffix:
  9728. // ( Wa - Wb + 1 )*( Ha - Hb + 1 ).
  9729. // Notice:
  9730. // suffix 'R' (ROI) means only scanline alignment (srcStep), in
  9731. // 'Same' and 'Full' cases no any requirements for data outstand
  9732. // the ROI - it's assumes that template and src are zero padded.
  9733. // The difference from ippiCrossCorr_Norm() functions is the using
  9734. // of Zero Mean image and Template to avoid brightness impact.
  9735. // (Before the calculation of the cross-correlation coefficients,
  9736. // the mean of the image in the region under the feature is subtracted
  9737. // from every image pixel; the same for the template.)
  9738. //
  9739. // Parameters:
  9740. // pSrc Pointer to the source image ROI;
  9741. // srcStep Step in bytes through the source image buffer;
  9742. // srcRoiSize Size of the source ROI in pixels;
  9743. // pTpl Pointer to the template ( feature ) image ROI;
  9744. // tplStep Step in bytes through the template image buffer;
  9745. // tplRoiSize Size of the template ROI in pixels;
  9746. // pDst Pointer to the destination buffer;
  9747. // dstStep Step in bytes through the destination image buffer;
  9748. // scaleFactor Scale factor value ( integer output data ).
  9749. //
  9750. // Returns:
  9751. // ippStsNoErr OK
  9752. // ippStsNullPtrErr One of the pointers to pSrc, pDst or pTpl is NULL;
  9753. // ippStsSizeErr srcRoiSize or tplRoiSize has a field with zero or
  9754. // negative value,
  9755. // or srcRoiSize has a field with value smaller than value
  9756. // of the corresponding field of tplRoiSize;
  9757. // ippStsStepErr One of the step values is less than or equal to zero;
  9758. // ippStsMemAllocErr Memory allocation for internal buffers fails.
  9759. */
  9760. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_32f_C1R, ( const Ipp32f* pSrc, int srcStep,
  9761. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9762. Ipp32f* pDst, int dstStep ))
  9763. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_32f_C3R, ( const Ipp32f* pSrc, int srcStep,
  9764. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9765. Ipp32f* pDst, int dstStep ))
  9766. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_32f_C4R, ( const Ipp32f* pSrc, int srcStep,
  9767. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9768. Ipp32f* pDst, int dstStep ))
  9769. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_32f_AC4R, ( const Ipp32f* pSrc, int srcStep,
  9770. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9771. Ipp32f* pDst, int dstStep ))
  9772. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_8u32f_C1R, ( const Ipp8u* pSrc, int srcStep,
  9773. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9774. Ipp32f* pDst, int dstStep ))
  9775. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_8u32f_C3R, ( const Ipp8u* pSrc, int srcStep,
  9776. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9777. Ipp32f* pDst, int dstStep ))
  9778. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_8u32f_C4R, ( const Ipp8u* pSrc, int srcStep,
  9779. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9780. Ipp32f* pDst, int dstStep ))
  9781. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_8u32f_AC4R, ( const Ipp8u* pSrc, int srcStep,
  9782. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9783. Ipp32f* pDst, int dstStep ))
  9784. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_8s32f_C1R, ( const Ipp8s* pSrc, int srcStep,
  9785. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9786. Ipp32f* pDst, int dstStep ))
  9787. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_8s32f_C3R, ( const Ipp8s* pSrc, int srcStep,
  9788. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9789. Ipp32f* pDst, int dstStep ))
  9790. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_8s32f_C4R, ( const Ipp8s* pSrc, int srcStep,
  9791. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9792. Ipp32f* pDst, int dstStep ))
  9793. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_8s32f_AC4R, ( const Ipp8s* pSrc, int srcStep,
  9794. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9795. Ipp32f* pDst, int dstStep ))
  9796. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_8u_C1RSfs, ( const Ipp8u* pSrc, int srcStep,
  9797. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9798. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9799. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_8u_C3RSfs, ( const Ipp8u* pSrc, int srcStep,
  9800. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9801. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9802. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_8u_C4RSfs, ( const Ipp8u* pSrc, int srcStep,
  9803. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9804. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9805. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_8u_AC4RSfs, ( const Ipp8u* pSrc, int srcStep,
  9806. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9807. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9808. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_16u32f_C1R, ( const Ipp16u* pSrc,
  9809. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9810. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9811. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_16u32f_C3R, ( const Ipp16u* pSrc,
  9812. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9813. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9814. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_16u32f_AC4R, ( const Ipp16u* pSrc,
  9815. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9816. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9817. IPPAPI( IppStatus, ippiCrossCorrFull_NormLevel_16u32f_C4R, ( const Ipp16u* pSrc,
  9818. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9819. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9820. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_32f_C1R, ( const Ipp32f* pSrc, int srcStep,
  9821. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9822. Ipp32f* pDst, int dstStep ))
  9823. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_32f_C3R, ( const Ipp32f* pSrc, int srcStep,
  9824. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9825. Ipp32f* pDst, int dstStep ))
  9826. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_32f_C4R, ( const Ipp32f* pSrc, int srcStep,
  9827. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9828. Ipp32f* pDst, int dstStep ))
  9829. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_32f_AC4R, ( const Ipp32f* pSrc, int srcStep,
  9830. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9831. Ipp32f* pDst, int dstStep ))
  9832. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_8u32f_C1R, ( const Ipp8u* pSrc, int srcStep,
  9833. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9834. Ipp32f* pDst, int dstStep ))
  9835. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_8u32f_C3R, ( const Ipp8u* pSrc, int srcStep,
  9836. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9837. Ipp32f* pDst, int dstStep ))
  9838. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_8u32f_C4R, ( const Ipp8u* pSrc, int srcStep,
  9839. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9840. Ipp32f* pDst, int dstStep ))
  9841. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_8u32f_AC4R, ( const Ipp8u* pSrc, int srcStep,
  9842. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9843. Ipp32f* pDst, int dstStep ))
  9844. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_8s32f_C1R, ( const Ipp8s* pSrc, int srcStep,
  9845. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9846. Ipp32f* pDst, int dstStep ))
  9847. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_8s32f_C3R, ( const Ipp8s* pSrc, int srcStep,
  9848. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9849. Ipp32f* pDst, int dstStep ))
  9850. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_8s32f_C4R, ( const Ipp8s* pSrc, int srcStep,
  9851. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9852. Ipp32f* pDst, int dstStep ))
  9853. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_8s32f_AC4R, ( const Ipp8s* pSrc, int srcStep,
  9854. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9855. Ipp32f* pDst, int dstStep ))
  9856. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_8u_C1RSfs, ( const Ipp8u* pSrc, int srcStep,
  9857. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9858. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9859. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_8u_C3RSfs, ( const Ipp8u* pSrc, int srcStep,
  9860. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9861. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9862. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_8u_C4RSfs, ( const Ipp8u* pSrc, int srcStep,
  9863. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9864. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9865. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_8u_AC4RSfs, ( const Ipp8u* pSrc, int srcStep,
  9866. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9867. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9868. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_16u32f_C1R, ( const Ipp16u* pSrc,
  9869. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9870. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9871. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_16u32f_C3R, ( const Ipp16u* pSrc,
  9872. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9873. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9874. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_16u32f_AC4R, ( const Ipp16u* pSrc,
  9875. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9876. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9877. IPPAPI( IppStatus, ippiCrossCorrValid_NormLevel_16u32f_C4R, ( const Ipp16u* pSrc,
  9878. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9879. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9880. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_32f_C1R, ( const Ipp32f* pSrc, int srcStep,
  9881. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9882. Ipp32f* pDst, int dstStep ))
  9883. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_32f_C3R, ( const Ipp32f* pSrc, int srcStep,
  9884. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9885. Ipp32f* pDst, int dstStep ))
  9886. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_32f_C4R, ( const Ipp32f* pSrc, int srcStep,
  9887. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9888. Ipp32f* pDst, int dstStep ))
  9889. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_32f_AC4R, ( const Ipp32f* pSrc, int srcStep,
  9890. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  9891. Ipp32f* pDst, int dstStep ))
  9892. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_8u32f_C1R, ( const Ipp8u* pSrc, int srcStep,
  9893. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9894. Ipp32f* pDst, int dstStep ))
  9895. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_8u32f_C3R, ( const Ipp8u* pSrc, int srcStep,
  9896. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9897. Ipp32f* pDst, int dstStep ))
  9898. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_8u32f_C4R, ( const Ipp8u* pSrc, int srcStep,
  9899. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9900. Ipp32f* pDst, int dstStep ))
  9901. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_8u32f_AC4R, ( const Ipp8u* pSrc, int srcStep,
  9902. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9903. Ipp32f* pDst, int dstStep ))
  9904. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_8s32f_C1R, ( const Ipp8s* pSrc, int srcStep,
  9905. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9906. Ipp32f* pDst, int dstStep ))
  9907. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_8s32f_C3R, ( const Ipp8s* pSrc, int srcStep,
  9908. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9909. Ipp32f* pDst, int dstStep ))
  9910. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_8s32f_C4R, ( const Ipp8s* pSrc, int srcStep,
  9911. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9912. Ipp32f* pDst, int dstStep ))
  9913. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_8s32f_AC4R, ( const Ipp8s* pSrc, int srcStep,
  9914. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  9915. Ipp32f* pDst, int dstStep ))
  9916. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_8u_C1RSfs, ( const Ipp8u* pSrc, int srcStep,
  9917. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9918. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9919. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_8u_C3RSfs, ( const Ipp8u* pSrc, int srcStep,
  9920. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9921. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9922. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_8u_C4RSfs, ( const Ipp8u* pSrc, int srcStep,
  9923. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9924. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9925. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_8u_AC4RSfs, ( const Ipp8u* pSrc, int srcStep,
  9926. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  9927. Ipp8u* pDst, int dstStep, int scaleFactor ))
  9928. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_16u32f_C1R, ( const Ipp16u* pSrc,
  9929. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9930. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9931. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_16u32f_C3R, ( const Ipp16u* pSrc,
  9932. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9933. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9934. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_16u32f_AC4R, ( const Ipp16u* pSrc,
  9935. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9936. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9937. IPPAPI( IppStatus, ippiCrossCorrSame_NormLevel_16u32f_C4R, ( const Ipp16u* pSrc,
  9938. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  9939. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  9940. /* //////////////////////////////////////////////////////////////////////////////////
  9941. // Names:
  9942. // ippiSqrDistanceFull_Norm_32f_C1R, ippiSqrDistanceSame_Norm_32f_C1R,
  9943. // ippiSqrDistanceFull_Norm_32f_C3R, ippiSqrDistanceSame_Norm_32f_C3R,
  9944. // ippiSqrDistanceFull_Norm_32f_C4R, ippiSqrDistanceSame_Norm_32f_C4R,
  9945. // ippiSqrDistanceFull_Norm_32f_AC4R, ippiSqrDistanceSame_Norm_32f_AC4R,
  9946. // ippiSqrDistanceFull_Norm_8u_C1RSfs, ippiSqrDistanceSame_Norm_8u_C1RSfs,
  9947. // ippiSqrDistanceFull_Norm_8u_C3RSfs, ippiSqrDistanceSame_Norm_8u_C3RSfs,
  9948. // ippiSqrDistanceFull_Norm_8u_C4RSfs, ippiSqrDistanceSame_Norm_8u_C4RSfs,
  9949. // ippiSqrDistanceFull_Norm_8u_AC4RSfs, ippiSqrDistanceSame_Norm_8u_AC4RSfs,
  9950. // ippiSqrDistanceFull_Norm_8u32f_C1R, ippiSqrDistanceSame_Norm_8u32f_C1R,
  9951. // ippiSqrDistanceFull_Norm_8u32f_C3R, ippiSqrDistanceSame_Norm_8u32f_C3R,
  9952. // ippiSqrDistanceFull_Norm_8u32f_C4R, ippiSqrDistanceSame_Norm_8u32f_C4R,
  9953. // ippiSqrDistanceFull_Norm_8u32f_AC4R, ippiSqrDistanceSame_Norm_8u32f_AC4R,
  9954. // ippiSqrDistanceFull_Norm_8s32f_C1R, ippiSqrDistanceSame_Norm_8s32f_C1R,
  9955. // ippiSqrDistanceFull_Norm_8s32f_C3R, ippiSqrDistanceSame_Norm_8s32f_C3R,
  9956. // ippiSqrDistanceFull_Norm_8s32f_C4R, ippiSqrDistanceSame_Norm_8s32f_C4R,
  9957. // ippiSqrDistanceFull_Norm_8s32f_AC4R, ippiSqrDistanceSame_Norm_8s32f_AC4R,
  9958. // ippiSqrDistanceFull_Norm_16u32f_C1R, ippiSqrDistanceSame_Norm_16u32f_C1R,
  9959. // ippiSqrDistanceFull_Norm_16u32f_C3R, ippiSqrDistanceSame_Norm_16u32f_C3R,
  9960. // ippiSqrDistanceFull_Norm_16u32f_C4R, ippiSqrDistanceSame_Norm_16u32f_C4R,
  9961. // ippiSqrDistanceFull_Norm_16u32f_AC4R,ippiSqrDistanceSame_Norm_16u32f_AC4R,
  9962. //
  9963. // ippiSqrDistanceValid_Norm_32f_C1R,
  9964. // ippiSqrDistanceValid_Norm_32f_C3R,
  9965. // ippiSqrDistanceValid_Norm_32f_C4R,
  9966. // ippiSqrDistanceValid_Norm_32f_AC4R,
  9967. // ippiSqrDistanceValid_Norm_8u_C1RSfs,
  9968. // ippiSqrDistanceValid_Norm_8u_C3RSfs,
  9969. // ippiSqrDistanceValid_Norm_8u_C4RSfs,
  9970. // ippiSqrDistanceValid_Norm_8u_AC4RSfs,
  9971. // ippiSqrDistanceValid_Norm_8u32f_C1R,
  9972. // ippiSqrDistanceValid_Norm_8u32f_C3R,
  9973. // ippiSqrDistanceValid_Norm_8u32f_C4R,
  9974. // ippiSqrDistanceValid_Norm_8u32f_AC4R.
  9975. // ippiSqrDistanceValid_Norm_16u32f_C1R,
  9976. // ippiSqrDistanceValid_Norm_16u32f_C3R,
  9977. // ippiSqrDistanceValid_Norm_16u32f_C4R,
  9978. // ippiSqrDistanceValid_Norm_16u32f_AC4R.
  9979. // ippiSqrDistanceValid_Norm_8s32f_C1R,
  9980. // ippiSqrDistanceValid_Norm_8s32f_C3R,
  9981. // ippiSqrDistanceValid_Norm_8s32f_C4R,
  9982. // ippiSqrDistanceValid_Norm_8s32f_AC4R.
  9983. //
  9984. // Purpose: Computes normalized Euclidean distance, or Sum of Squared
  9985. // Distance (SSD) of an image and a template (another image).
  9986. // The SSD values are image similarity measures: the smaller
  9987. // value of SSD at a particular pixel, the more similarity between
  9988. // the template and the image in the neighborhood of the pixel.
  9989. // If IppiSize's of image and template are Wa * Ha and
  9990. // Wb * Hb correspondingly, then the IppiSize of the resulting
  9991. // matrix with normalized SSD coefficients will be
  9992. // a) in case of 'Full' suffix:
  9993. // ( Wa + Wb - 1 )*( Ha + Hb - 1 ).
  9994. // b) in case of 'Same' suffix:
  9995. // ( Wa )*( Ha ).
  9996. // c) in case of 'Valid' suffix:
  9997. // ( Wa - Wb + 1 )*( Ha - Hb + 1 ).
  9998. // Notice:
  9999. // suffix 'R' (ROI) means only scanline alignment (srcStep), in
  10000. // 'Same' and 'Full' cases no any requirements for data outstand
  10001. // the ROI - it's assumed that template and source images are zero padded.
  10002. //
  10003. // Parameters:
  10004. // pSrc Pointer to the source image ROI;
  10005. // srcStep Step in bytes through the source image buffer;
  10006. // srcRoiSize Size of the source ROI in pixels;
  10007. // pTpl Pointer to the template ( feature ) image ROI;
  10008. // tplStep Step in bytes through the template image buffer;
  10009. // tplRoiSize Size of the template ROI in pixels;
  10010. // pDst Pointer to the destination buffer;
  10011. // dstStep Step in bytes through the destination image buffer;
  10012. // scaleFactor Scale factor value ( integer output data ).
  10013. //
  10014. // Returns:
  10015. // ippStsNoErr OK
  10016. // ippStsNullPtrErr One of the pointers to pSrc, pDst or pTpl is NULL;
  10017. // ippStsSizeErr srcRoiSize or tplRoiSize has a field with zero or
  10018. // negative value,
  10019. // or srcRoiSize has a field with value smaller than value
  10020. // of the corresponding field of tplRoiSize;
  10021. // ippStsStepErr One of the step values is less than or equal to zero;
  10022. // ippStsMemAllocErr Memory allocation for internal buffers fails.
  10023. */
  10024. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_32f_C1R, ( const Ipp32f* pSrc, int srcStep,
  10025. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  10026. Ipp32f* pDst, int dstStep ))
  10027. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_32f_C3R, ( const Ipp32f* pSrc, int srcStep,
  10028. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  10029. Ipp32f* pDst, int dstStep ))
  10030. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_32f_AC4R, ( const Ipp32f* pSrc, int srcStep,
  10031. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  10032. Ipp32f* pDst, int dstStep ))
  10033. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_8u32f_C1R, ( const Ipp8u* pSrc, int srcStep,
  10034. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10035. Ipp32f* pDst, int dstStep ))
  10036. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_8u32f_C3R, ( const Ipp8u* pSrc, int srcStep,
  10037. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10038. Ipp32f* pDst, int dstStep ))
  10039. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_8u32f_AC4R, ( const Ipp8u* pSrc, int srcStep,
  10040. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10041. Ipp32f* pDst, int dstStep ))
  10042. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_8u_C1RSfs, ( const Ipp8u* pSrc, int srcStep,
  10043. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10044. Ipp8u* pDst, int dstStep, int scaleFactor ))
  10045. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_8u_C3RSfs, ( const Ipp8u* pSrc, int srcStep,
  10046. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10047. Ipp8u* pDst, int dstStep, int scaleFactor ))
  10048. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_8u_AC4RSfs, ( const Ipp8u* pSrc, int srcStep,
  10049. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10050. Ipp8u* pDst, int dstStep, int scaleFactor ))
  10051. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_32f_C1R, ( const Ipp32f* pSrc, int srcStep,
  10052. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  10053. Ipp32f* pDst, int dstStep ))
  10054. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_32f_C3R, ( const Ipp32f* pSrc, int srcStep,
  10055. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  10056. Ipp32f* pDst, int dstStep ))
  10057. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_32f_AC4R, ( const Ipp32f* pSrc, int srcStep,
  10058. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  10059. Ipp32f* pDst, int dstStep ))
  10060. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_8u32f_C1R, ( const Ipp8u* pSrc, int srcStep,
  10061. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10062. Ipp32f* pDst, int dstStep ))
  10063. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_8u32f_C3R, ( const Ipp8u* pSrc, int srcStep,
  10064. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10065. Ipp32f* pDst, int dstStep ))
  10066. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_8u32f_AC4R, ( const Ipp8u* pSrc, int srcStep,
  10067. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10068. Ipp32f* pDst, int dstStep ))
  10069. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_8u_C1RSfs, ( const Ipp8u* pSrc, int srcStep,
  10070. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10071. Ipp8u* pDst, int dstStep, int scaleFactor ))
  10072. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_8u_C3RSfs, ( const Ipp8u* pSrc, int srcStep,
  10073. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10074. Ipp8u* pDst, int dstStep, int scaleFactor ))
  10075. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_8u_AC4RSfs, ( const Ipp8u* pSrc, int srcStep,
  10076. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10077. Ipp8u* pDst, int dstStep, int scaleFactor ))
  10078. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_32f_C1R, ( const Ipp32f* pSrc, int srcStep,
  10079. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  10080. Ipp32f* pDst, int dstStep ))
  10081. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_32f_C3R, ( const Ipp32f* pSrc, int srcStep,
  10082. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  10083. Ipp32f* pDst, int dstStep ))
  10084. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_32f_AC4R, ( const Ipp32f* pSrc, int srcStep,
  10085. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  10086. Ipp32f* pDst, int dstStep ))
  10087. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_8u32f_C1R, ( const Ipp8u* pSrc, int srcStep,
  10088. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10089. Ipp32f* pDst, int dstStep ))
  10090. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_8u32f_C3R, ( const Ipp8u* pSrc, int srcStep,
  10091. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10092. Ipp32f* pDst, int dstStep ))
  10093. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_8u32f_AC4R, ( const Ipp8u* pSrc, int srcStep,
  10094. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10095. Ipp32f* pDst, int dstStep ))
  10096. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_8u_C1RSfs, ( const Ipp8u* pSrc, int srcStep,
  10097. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10098. Ipp8u* pDst, int dstStep, int scaleFactor ))
  10099. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_8u_C3RSfs, ( const Ipp8u* pSrc, int srcStep,
  10100. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10101. Ipp8u* pDst, int dstStep, int scaleFactor ))
  10102. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_8u_AC4RSfs, ( const Ipp8u* pSrc, int srcStep,
  10103. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10104. Ipp8u* pDst, int dstStep, int scaleFactor ))
  10105. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_32f_C4R, ( const Ipp32f* pSrc, int srcStep,
  10106. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  10107. Ipp32f* pDst, int dstStep ))
  10108. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_8u32f_C4R, ( const Ipp8u* pSrc, int srcStep,
  10109. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10110. Ipp32f* pDst, int dstStep ))
  10111. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_8s32f_C1R, ( const Ipp8s* pSrc, int srcStep,
  10112. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  10113. Ipp32f* pDst, int dstStep ))
  10114. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_8s32f_C3R, ( const Ipp8s* pSrc, int srcStep,
  10115. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  10116. Ipp32f* pDst, int dstStep ))
  10117. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_8s32f_C4R, ( const Ipp8s* pSrc, int srcStep,
  10118. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  10119. Ipp32f* pDst, int dstStep ))
  10120. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_8s32f_AC4R, ( const Ipp8s* pSrc, int srcStep,
  10121. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  10122. Ipp32f* pDst, int dstStep ))
  10123. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_8u_C4RSfs, ( const Ipp8u* pSrc, int srcStep,
  10124. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10125. Ipp8u* pDst, int dstStep, int scaleFactor ))
  10126. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_16u32f_C1R, ( const Ipp16u* pSrc,
  10127. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  10128. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10129. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_16u32f_C3R, ( const Ipp16u* pSrc,
  10130. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  10131. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10132. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_16u32f_AC4R, ( const Ipp16u* pSrc,
  10133. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  10134. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10135. IPPAPI( IppStatus, ippiSqrDistanceFull_Norm_16u32f_C4R, ( const Ipp16u* pSrc,
  10136. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  10137. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10138. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_32f_C4R, ( const Ipp32f* pSrc, int srcStep,
  10139. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  10140. Ipp32f* pDst, int dstStep ))
  10141. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_8u32f_C4R, ( const Ipp8u* pSrc, int srcStep,
  10142. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10143. Ipp32f* pDst, int dstStep ))
  10144. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_8s32f_C1R, ( const Ipp8s* pSrc, int srcStep,
  10145. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  10146. Ipp32f* pDst, int dstStep ))
  10147. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_8s32f_C3R, ( const Ipp8s* pSrc, int srcStep,
  10148. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  10149. Ipp32f* pDst, int dstStep ))
  10150. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_8s32f_C4R, ( const Ipp8s* pSrc, int srcStep,
  10151. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  10152. Ipp32f* pDst, int dstStep ))
  10153. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_8s32f_AC4R, ( const Ipp8s* pSrc, int srcStep,
  10154. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  10155. Ipp32f* pDst, int dstStep ))
  10156. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_8u_C4RSfs, ( const Ipp8u* pSrc, int srcStep,
  10157. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10158. Ipp8u* pDst, int dstStep, int scaleFactor ))
  10159. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_16u32f_C1R, ( const Ipp16u* pSrc,
  10160. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  10161. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10162. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_16u32f_C3R, ( const Ipp16u* pSrc,
  10163. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  10164. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10165. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_16u32f_AC4R, ( const Ipp16u* pSrc,
  10166. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  10167. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10168. IPPAPI( IppStatus, ippiSqrDistanceValid_Norm_16u32f_C4R, ( const Ipp16u* pSrc,
  10169. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  10170. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10171. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_32f_C4R, ( const Ipp32f* pSrc, int srcStep,
  10172. IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep, IppiSize tplRoiSize,
  10173. Ipp32f* pDst, int dstStep ))
  10174. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_8u32f_C4R, ( const Ipp8u* pSrc, int srcStep,
  10175. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10176. Ipp32f* pDst, int dstStep ))
  10177. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_8s32f_C1R, ( const Ipp8s* pSrc, int srcStep,
  10178. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  10179. Ipp32f* pDst, int dstStep ))
  10180. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_8s32f_C3R, ( const Ipp8s* pSrc, int srcStep,
  10181. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  10182. Ipp32f* pDst, int dstStep ))
  10183. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_8s32f_C4R, ( const Ipp8s* pSrc, int srcStep,
  10184. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  10185. Ipp32f* pDst, int dstStep ))
  10186. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_8s32f_AC4R, ( const Ipp8s* pSrc, int srcStep,
  10187. IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep, IppiSize tplRoiSize,
  10188. Ipp32f* pDst, int dstStep ))
  10189. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_8u_C4RSfs, ( const Ipp8u* pSrc, int srcStep,
  10190. IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep, IppiSize tplRoiSize,
  10191. Ipp8u* pDst, int dstStep, int scaleFactor ))
  10192. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_16u32f_C1R, ( const Ipp16u* pSrc,
  10193. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  10194. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10195. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_16u32f_C3R, ( const Ipp16u* pSrc,
  10196. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  10197. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10198. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_16u32f_AC4R, ( const Ipp16u* pSrc,
  10199. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  10200. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10201. IPPAPI( IppStatus, ippiSqrDistanceSame_Norm_16u32f_C4R, ( const Ipp16u* pSrc,
  10202. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  10203. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10204. /*
  10205. /////////////////////// Version without normalization ///////////////////////
  10206. //
  10207. // Names:
  10208. // ippiCrossCorrValid_32f_C1R
  10209. // ippiCrossCorrValid_8u32f_C1R
  10210. // ippiCrossCorrValid_8s32f_C1R
  10211. // ippiCrossCorrValid_16u32f_C1R
  10212. //
  10213. // Arguments:
  10214. // pSrc - pointer to the source image ROI;
  10215. // srcStep - step in bytes through the source image buffer;
  10216. // srcRoiSize - size of the source ROI in pixels;
  10217. // pTpl - pointer to the template ( feature ) image ROI;
  10218. // tplStep - step in bytes through the template image buffer;
  10219. // tplRoiSize - size of the template ROI in pixels;
  10220. // pDst - pointer to the destination buffer;
  10221. // dstStep - step in bytes through the destination image buffer;
  10222. //
  10223. // Return:
  10224. // ippStsNoErr - Ok
  10225. // ippStsNullPtrErr - at least one of the pointers to pSrc, pDst or pTpl is NULL;
  10226. // ippStsSizeErr - at least one of the sizes of srcRoiSize or tplRoiSize is less or equal zero,
  10227. // or at least one of the sizes of srcRoiSize is smaller than the corresponding
  10228. // size of the tplRoiSize;
  10229. // ippStsStepErr - at least one of the srcStep, tplStep or dstStep is less or equal zero;
  10230. // ippStsMemAllocErr - an error occurs during allocation memory for internal buffers.
  10231. //
  10232. // Purpose: ippiCrossCorr() function allows you to compute the
  10233. // cross-correlation of an image and a template (another image).
  10234. // The cross-correlation values are image similarity measures: the
  10235. // higher cross-correlation at a particular pixel, the more
  10236. // similarity between the template and the image in the neighborhood
  10237. // of the pixel.
  10238. //
  10239. // If IppiSize's of image and template are Wa * Ha and
  10240. // Wb * Hb correspondingly, then the IppiSize of the resulting
  10241. // matrice with coefficients will be
  10242. //
  10243. // ( Wa - Wb + 1 )*( Ha - Hb + 1 )
  10244. //
  10245. // ('Valid' case in MatLab notation)
  10246. // Notice:
  10247. // suffix 'R' (ROI) means only scanline alingment (srcStep), in
  10248. // 'Same' and 'Full' cases no any requirements for data outstand
  10249. // the ROI - it's assumes that template and src are zero padded.
  10250. */
  10251. IPPAPI( IppStatus, ippiCrossCorrValid_32f_C1R, ( const Ipp32f* pSrc,
  10252. int srcStep, IppiSize srcRoiSize, const Ipp32f* pTpl, int tplStep,
  10253. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10254. IPPAPI( IppStatus, ippiCrossCorrValid_8u32f_C1R, ( const Ipp8u* pSrc,
  10255. int srcStep, IppiSize srcRoiSize, const Ipp8u* pTpl, int tplStep,
  10256. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10257. IPPAPI( IppStatus, ippiCrossCorrValid_8s32f_C1R, ( const Ipp8s* pSrc,
  10258. int srcStep, IppiSize srcRoiSize, const Ipp8s* pTpl, int tplStep,
  10259. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10260. IPPAPI( IppStatus, ippiCrossCorrValid_16u32f_C1R, ( const Ipp16u* pSrc,
  10261. int srcStep, IppiSize srcRoiSize, const Ipp16u* pTpl, int tplStep,
  10262. IppiSize tplRoiSize, Ipp32f* pDst, int dstStep ))
  10263. /* /////////////////////////////////////////////////////////////////////////////
  10264. // Threshold operations
  10265. ///////////////////////////////////////////////////////////////////////////// */
  10266. /* ////////////////////////////////////////////////////////////////////////////
  10267. // Names: ippiThreshold_8u_C1R
  10268. // ippiThreshold_8u_C3R
  10269. // ippiThreshold_8u_AC4R
  10270. // ippiThreshold_16s_C1R
  10271. // ippiThreshold_16s_C3R
  10272. // ippiThreshold_16s_AC4R
  10273. // ippiThreshold_32f_C1R
  10274. // ippiThreshold_32f_C3R
  10275. // ippiThreshold_32f_AC4R
  10276. // ippiThreshold_8u_C1IR
  10277. // ippiThreshold_8u_C3IR
  10278. // ippiThreshold_8u_AC4IR
  10279. // ippiThreshold_16s_C1IR
  10280. // ippiThreshold_16s_C3IR
  10281. // ippiThreshold_16s_AC4IR
  10282. // ippiThreshold_32f_C1IR
  10283. // ippiThreshold_32f_C3IR
  10284. // ippiThreshold_32f_AC4IR
  10285. // ippiThreshold_16u_C1R
  10286. // ippiThreshold_16u_C3R
  10287. // ippiThreshold_16u_AC4R
  10288. // ippiThreshold_16u_C1IR
  10289. // ippiThreshold_16u_C3IR
  10290. // ippiThreshold_16u_AC4IR
  10291. //
  10292. // Purpose: Performs thresholding of an image using the specified level
  10293. // Returns:
  10294. // ippStsNoErr OK
  10295. // ippStsNullPtrErr One of the pointers is NULL
  10296. // ippStsSizeErr roiSize has a field with zero or negative value
  10297. // ippStsStepErr One of the step values is zero or negative
  10298. //
  10299. // Parameters:
  10300. // pSrc Pointer to the source image
  10301. // srcStep Step through the source image
  10302. // pDst Pointer to the destination image
  10303. // dstStep Step through the destination image
  10304. // pSrcDst Pointer to the source/destination image (in-place flavors)
  10305. // srcDstStep Step through the source/destination image (in-place flavors)
  10306. // roiSize Size of the ROI
  10307. // threshold Threshold level value (array of values for multi-channel data)
  10308. // ippCmpOp Comparison mode, possible values:
  10309. // ippCmpLess - less than,
  10310. // ippCmpGreater - greater than
  10311. */
  10312. IPPAPI(IppStatus,ippiThreshold_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  10313. Ipp8u* pDst, int dstStep, IppiSize roiSize, Ipp8u threshold,
  10314. IppCmpOp ippCmpOp))
  10315. IPPAPI(IppStatus,ippiThreshold_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  10316. Ipp16s* pDst, int dstStep, IppiSize roiSize, Ipp16s threshold,
  10317. IppCmpOp ippCmpOp))
  10318. IPPAPI(IppStatus,ippiThreshold_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  10319. Ipp32f* pDst, int dstStep, IppiSize roiSize, Ipp32f threshold,
  10320. IppCmpOp ippCmpOp))
  10321. IPPAPI(IppStatus,ippiThreshold_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  10322. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u threshold[3],
  10323. IppCmpOp ippCmpOp))
  10324. IPPAPI(IppStatus,ippiThreshold_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  10325. Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp16s threshold[3],
  10326. IppCmpOp ippCmpOp))
  10327. IPPAPI(IppStatus,ippiThreshold_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  10328. Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f threshold[3],
  10329. IppCmpOp ippCmpOp))
  10330. IPPAPI(IppStatus,ippiThreshold_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  10331. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u threshold[3],
  10332. IppCmpOp ippCmpOp))
  10333. IPPAPI(IppStatus,ippiThreshold_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  10334. Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp16s threshold[3],
  10335. IppCmpOp ippCmpOp))
  10336. IPPAPI(IppStatus,ippiThreshold_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  10337. Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f threshold[3],
  10338. IppCmpOp ippCmpOp))
  10339. IPPAPI(IppStatus,ippiThreshold_8u_C1IR,(Ipp8u* pSrcDst, int srcDstStep,
  10340. IppiSize roiSize, Ipp8u threshold, IppCmpOp ippCmpOp))
  10341. IPPAPI(IppStatus,ippiThreshold_16s_C1IR,(Ipp16s* pSrcDst, int srcDstStep,
  10342. IppiSize roiSize, Ipp16s threshold, IppCmpOp ippCmpOp))
  10343. IPPAPI(IppStatus,ippiThreshold_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep,
  10344. IppiSize roiSize, Ipp32f threshold, IppCmpOp ippCmpOp))
  10345. IPPAPI(IppStatus,ippiThreshold_8u_C3IR,(Ipp8u* pSrcDst, int srcDstStep,
  10346. IppiSize roiSize, const Ipp8u threshold[3], IppCmpOp ippCmpOp))
  10347. IPPAPI(IppStatus,ippiThreshold_16s_C3IR,(Ipp16s* pSrcDst, int srcDstStep,
  10348. IppiSize roiSize, const Ipp16s threshold[3], IppCmpOp ippCmpOp))
  10349. IPPAPI(IppStatus,ippiThreshold_32f_C3IR,(Ipp32f* pSrcDst, int srcDstStep,
  10350. IppiSize roiSize, const Ipp32f threshold[3], IppCmpOp ippCmpOp))
  10351. IPPAPI(IppStatus,ippiThreshold_8u_AC4IR,(Ipp8u* pSrcDst, int srcDstStep,
  10352. IppiSize roiSize, const Ipp8u threshold[3], IppCmpOp ippCmpOp))
  10353. IPPAPI(IppStatus,ippiThreshold_16s_AC4IR,(Ipp16s* pSrcDst, int srcDstStep,
  10354. IppiSize roiSize, const Ipp16s threshold[3], IppCmpOp ippCmpOp))
  10355. IPPAPI(IppStatus,ippiThreshold_32f_AC4IR,(Ipp32f* pSrcDst, int srcDstStep,
  10356. IppiSize roiSize, const Ipp32f threshold[3], IppCmpOp ippCmpOp))
  10357. IPPAPI(IppStatus,ippiThreshold_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  10358. Ipp16u* pDst, int dstStep, IppiSize roiSize, Ipp16u threshold,
  10359. IppCmpOp ippCmpOp))
  10360. IPPAPI(IppStatus,ippiThreshold_16u_C3R,(const Ipp16u* pSrc, int srcStep,
  10361. Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp16u threshold[3],
  10362. IppCmpOp ippCmpOp))
  10363. IPPAPI(IppStatus,ippiThreshold_16u_AC4R,(const Ipp16u* pSrc, int srcStep,
  10364. Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp16u threshold[3],
  10365. IppCmpOp ippCmpOp))
  10366. IPPAPI(IppStatus,ippiThreshold_16u_C1IR,(Ipp16u* pSrcDst, int srcDstStep,
  10367. IppiSize roiSize, Ipp16u threshold, IppCmpOp ippCmpOp))
  10368. IPPAPI(IppStatus,ippiThreshold_16u_C3IR,(Ipp16u* pSrcDst, int srcDstStep,
  10369. IppiSize roiSize, const Ipp16u threshold[3], IppCmpOp ippCmpOp))
  10370. IPPAPI(IppStatus,ippiThreshold_16u_AC4IR,(Ipp16u* pSrcDst, int srcDstStep,
  10371. IppiSize roiSize, const Ipp16u threshold[3], IppCmpOp ippCmpOp))
  10372. /* ////////////////////////////////////////////////////////////////////////////
  10373. // Names: ippiThreshold_GT_8u_C1R
  10374. // ippiThreshold_GT_8u_C3R
  10375. // ippiThreshold_GT_8u_AC4R
  10376. // ippiThreshold_GT_16s_C1R
  10377. // ippiThreshold_GT_16s_C3R
  10378. // ippiThreshold_GT_16s_AC4R
  10379. // ippiThreshold_GT_32f_C1R
  10380. // ippiThreshold_GT_32f_C3R
  10381. // ippiThreshold_GT_32f_AC4R
  10382. // ippiThreshold_GT_8u_C1IR
  10383. // ippiThreshold_GT_8u_C3IR
  10384. // ippiThreshold_GT_8u_AC4IR
  10385. // ippiThreshold_GT_16s_C1IR
  10386. // ippiThreshold_GT_16s_C3IR
  10387. // ippiThreshold_GT_16s_AC4IR
  10388. // ippiThreshold_GT_32f_C1IR
  10389. // ippiThreshold_GT_32f_C3IR
  10390. // ippiThreshold_GT_32f_AC4IR
  10391. // ippiThreshold_GT_16u_C1R
  10392. // ippiThreshold_GT_16u_C3R
  10393. // ippiThreshold_GT_16u_AC4R
  10394. // ippiThreshold_GT_16u_C1IR
  10395. // ippiThreshold_GT_16u_C3IR
  10396. // ippiThreshold_GT_16u_AC4IR
  10397. //
  10398. // Purpose: Performs threshold operation using the comparison "greater than"
  10399. // Returns:
  10400. // ippStsNoErr OK
  10401. // ippStsNullPtrErr One of the pointers is NULL
  10402. // ippStsSizeErr roiSize has a field with zero or negative value
  10403. // ippStsStepErr One of the step values is zero or negative
  10404. //
  10405. // Parameters:
  10406. // pSrc Pointer to the source image
  10407. // srcStep Step through the source image
  10408. // pDst Pointer to the destination image
  10409. // dstStep Step through the destination image
  10410. // pSrcDst Pointer to the source/destination image (in-place flavors)
  10411. // srcDstStep Step through the source/destination image (in-place flavors)
  10412. // roiSize Size of the ROI
  10413. // threshold Threshold level value (array of values for multi-channel data)
  10414. */
  10415. IPPAPI(IppStatus,ippiThreshold_GT_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  10416. Ipp8u* pDst, int dstStep, IppiSize roiSize, Ipp8u threshold))
  10417. IPPAPI(IppStatus,ippiThreshold_GT_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  10418. Ipp16s* pDst, int dstStep, IppiSize roiSize, Ipp16s threshold))
  10419. IPPAPI(IppStatus,ippiThreshold_GT_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  10420. Ipp32f* pDst, int dstStep, IppiSize roiSize, Ipp32f threshold))
  10421. IPPAPI(IppStatus,ippiThreshold_GT_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  10422. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u threshold[3]))
  10423. IPPAPI(IppStatus,ippiThreshold_GT_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  10424. Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp16s threshold[3]))
  10425. IPPAPI(IppStatus,ippiThreshold_GT_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  10426. Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f threshold[3]))
  10427. IPPAPI(IppStatus,ippiThreshold_GT_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  10428. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u threshold[3]))
  10429. IPPAPI(IppStatus,ippiThreshold_GT_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  10430. Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp16s threshold[3]))
  10431. IPPAPI(IppStatus,ippiThreshold_GT_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  10432. Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f threshold[3]))
  10433. IPPAPI(IppStatus,ippiThreshold_GT_8u_C1IR,(Ipp8u* pSrcDst, int srcDstStep,
  10434. IppiSize roiSize, Ipp8u threshold))
  10435. IPPAPI(IppStatus,ippiThreshold_GT_16s_C1IR,(Ipp16s* pSrcDst, int srcDstStep,
  10436. IppiSize roiSize, Ipp16s threshold))
  10437. IPPAPI(IppStatus,ippiThreshold_GT_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep,
  10438. IppiSize roiSize, Ipp32f threshold))
  10439. IPPAPI(IppStatus,ippiThreshold_GT_8u_C3IR,(Ipp8u* pSrcDst, int srcDstStep,
  10440. IppiSize roiSize, const Ipp8u threshold[3]))
  10441. IPPAPI(IppStatus,ippiThreshold_GT_16s_C3IR,(Ipp16s* pSrcDst, int srcDstStep,
  10442. IppiSize roiSize, const Ipp16s threshold[3]))
  10443. IPPAPI(IppStatus,ippiThreshold_GT_32f_C3IR,(Ipp32f* pSrcDst, int srcDstStep,
  10444. IppiSize roiSize, const Ipp32f threshold[3]))
  10445. IPPAPI(IppStatus,ippiThreshold_GT_8u_AC4IR,(Ipp8u* pSrcDst, int srcDstStep,
  10446. IppiSize roiSize, const Ipp8u threshold[3]))
  10447. IPPAPI(IppStatus,ippiThreshold_GT_16s_AC4IR,(Ipp16s* pSrcDst, int srcDstStep,
  10448. IppiSize roiSize, const Ipp16s threshold[3]))
  10449. IPPAPI(IppStatus,ippiThreshold_GT_32f_AC4IR,(Ipp32f* pSrcDst, int srcDstStep,
  10450. IppiSize roiSize, const Ipp32f threshold[3]))
  10451. IPPAPI(IppStatus,ippiThreshold_GT_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  10452. Ipp16u* pDst, int dstStep, IppiSize roiSize, Ipp16u threshold))
  10453. IPPAPI(IppStatus,ippiThreshold_GT_16u_C3R,(const Ipp16u* pSrc, int srcStep,
  10454. Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp16u threshold[3]))
  10455. IPPAPI(IppStatus,ippiThreshold_GT_16u_AC4R,(const Ipp16u* pSrc, int srcStep,
  10456. Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp16u threshold[3]))
  10457. IPPAPI(IppStatus,ippiThreshold_GT_16u_C1IR,(Ipp16u* pSrcDst, int srcDstStep,
  10458. IppiSize roiSize, Ipp16u threshold))
  10459. IPPAPI(IppStatus,ippiThreshold_GT_16u_C3IR,(Ipp16u* pSrcDst, int srcDstStep,
  10460. IppiSize roiSize, const Ipp16u threshold[3]))
  10461. IPPAPI(IppStatus,ippiThreshold_GT_16u_AC4IR,(Ipp16u* pSrcDst, int srcDstStep,
  10462. IppiSize roiSize, const Ipp16u threshold[3]))
  10463. /* ////////////////////////////////////////////////////////////////////////////
  10464. // Names: ippiThreshold_LT_8u_C1R
  10465. // ippiThreshold_LT_8u_C3R
  10466. // ippiThreshold_LT_8u_AC4R
  10467. // ippiThreshold_LT_16s_C1R
  10468. // ippiThreshold_LT_16s_C3R
  10469. // ippiThreshold_LT_16s_AC4R
  10470. // ippiThreshold_LT_32f_C1R
  10471. // ippiThreshold_LT_32f_C3R
  10472. // ippiThreshold_LT_32f_AC4R
  10473. // ippiThreshold_LT_8u_C1IR
  10474. // ippiThreshold_LT_8u_C3IR
  10475. // ippiThreshold_LT_8u_AC4IR
  10476. // ippiThreshold_LT_16s_C1IR
  10477. // ippiThreshold_LT_16s_C3IR
  10478. // ippiThreshold_LT_16s_AC4IR
  10479. // ippiThreshold_LT_32f_C1IR
  10480. // ippiThreshold_LT_32f_C3IR
  10481. // ippiThreshold_LT_32f_AC4IR
  10482. // ippiThreshold_LT_16u_C1R
  10483. // ippiThreshold_LT_16u_C3R
  10484. // ippiThreshold_LT_16u_AC4R
  10485. // ippiThreshold_LT_16u_C1IR
  10486. // ippiThreshold_LT_16u_C3IR
  10487. // ippiThreshold_LT_16u_AC4IR
  10488. //
  10489. // Purpose: Performs threshold operation using the comparison "less than"
  10490. // Returns:
  10491. // ippStsNoErr OK
  10492. // ippStsNullPtrErr One of the pointers is NULL
  10493. // ippStsSizeErr roiSize has a field with zero or negative value
  10494. // ippStsStepErr One of the step values is zero or negative
  10495. //
  10496. // Parameters:
  10497. // pSrc Pointer to the source image
  10498. // srcStep Step through the source image
  10499. // pDst Pointer to the destination image
  10500. // dstStep Step through the destination image
  10501. // pSrcDst Pointer to the source/destination image (in-place flavors)
  10502. // srcDstStep Step through the source/destination image (in-place flavors)
  10503. // roiSize Size of the ROI
  10504. // threshold Threshold level value (array of values for multi-channel data)
  10505. // ippCmpOp Comparison mode, possible values:
  10506. // ippCmpLess - less than
  10507. // ippCmpGreater - greater than
  10508. */
  10509. IPPAPI(IppStatus,ippiThreshold_LT_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  10510. Ipp8u* pDst, int dstStep, IppiSize roiSize, Ipp8u threshold))
  10511. IPPAPI(IppStatus,ippiThreshold_LT_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  10512. Ipp16s* pDst, int dstStep, IppiSize roiSize, Ipp16s threshold))
  10513. IPPAPI(IppStatus,ippiThreshold_LT_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  10514. Ipp32f* pDst, int dstStep, IppiSize roiSize, Ipp32f threshold))
  10515. IPPAPI(IppStatus,ippiThreshold_LT_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  10516. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u threshold[3]))
  10517. IPPAPI(IppStatus,ippiThreshold_LT_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  10518. Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp16s threshold[3]))
  10519. IPPAPI(IppStatus,ippiThreshold_LT_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  10520. Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f threshold[3]))
  10521. IPPAPI(IppStatus,ippiThreshold_LT_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  10522. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u threshold[3]))
  10523. IPPAPI(IppStatus,ippiThreshold_LT_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  10524. Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp16s threshold[3]))
  10525. IPPAPI(IppStatus,ippiThreshold_LT_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  10526. Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f threshold[3]))
  10527. IPPAPI(IppStatus,ippiThreshold_LT_8u_C1IR,(Ipp8u* pSrcDst, int srcDstStep,
  10528. IppiSize roiSize, Ipp8u threshold))
  10529. IPPAPI(IppStatus,ippiThreshold_LT_16s_C1IR,(Ipp16s* pSrcDst, int srcDstStep,
  10530. IppiSize roiSize, Ipp16s threshold))
  10531. IPPAPI(IppStatus,ippiThreshold_LT_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep,
  10532. IppiSize roiSize, Ipp32f threshold))
  10533. IPPAPI(IppStatus,ippiThreshold_LT_8u_C3IR,(Ipp8u* pSrcDst, int srcDstStep,
  10534. IppiSize roiSize, const Ipp8u threshold[3]))
  10535. IPPAPI(IppStatus,ippiThreshold_LT_16s_C3IR,(Ipp16s* pSrcDst, int srcDstStep,
  10536. IppiSize roiSize, const Ipp16s threshold[3]))
  10537. IPPAPI(IppStatus,ippiThreshold_LT_32f_C3IR,(Ipp32f* pSrcDst, int srcDstStep,
  10538. IppiSize roiSize, const Ipp32f threshold[3]))
  10539. IPPAPI(IppStatus,ippiThreshold_LT_8u_AC4IR,(Ipp8u* pSrcDst, int srcDstStep,
  10540. IppiSize roiSize, const Ipp8u threshold[3]))
  10541. IPPAPI(IppStatus,ippiThreshold_LT_16s_AC4IR,(Ipp16s* pSrcDst, int srcDstStep,
  10542. IppiSize roiSize, const Ipp16s threshold[3]))
  10543. IPPAPI(IppStatus,ippiThreshold_LT_32f_AC4IR,(Ipp32f* pSrcDst, int srcDstStep,
  10544. IppiSize roiSize, const Ipp32f threshold[3]))
  10545. IPPAPI(IppStatus,ippiThreshold_LT_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  10546. Ipp16u* pDst, int dstStep, IppiSize roiSize, Ipp16u threshold))
  10547. IPPAPI(IppStatus,ippiThreshold_LT_16u_C3R,(const Ipp16u* pSrc, int srcStep,
  10548. Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp16u threshold[3]))
  10549. IPPAPI(IppStatus,ippiThreshold_LT_16u_AC4R,(const Ipp16u* pSrc, int srcStep,
  10550. Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp16u threshold[3]))
  10551. IPPAPI(IppStatus,ippiThreshold_LT_16u_C1IR,(Ipp16u* pSrcDst, int srcDstStep,
  10552. IppiSize roiSize, Ipp16u threshold))
  10553. IPPAPI(IppStatus,ippiThreshold_LT_16u_C3IR,(Ipp16u* pSrcDst, int srcDstStep,
  10554. IppiSize roiSize, const Ipp16u threshold[3]))
  10555. IPPAPI(IppStatus,ippiThreshold_LT_16u_AC4IR,(Ipp16u* pSrcDst, int srcDstStep,
  10556. IppiSize roiSize, const Ipp16u threshold[3]))
  10557. /* ////////////////////////////////////////////////////////////////////////////
  10558. // Names: ippiThreshold_Val_8u_C1R
  10559. // ippiThreshold_Val_8u_C3R
  10560. // ippiThreshold_Val_8u_AC4R
  10561. // ippiThreshold_Val_16s_C1R
  10562. // ippiThreshold_Val_16s_C3R
  10563. // ippiThreshold_Val_16s_AC4R
  10564. // ippiThreshold_Val_32f_C1R
  10565. // ippiThreshold_Val_32f_C3R
  10566. // ippiThreshold_Val_32f_AC4R
  10567. // ippiThreshold_Val_8u_C1IR
  10568. // ippiThreshold_Val_8u_C3IR
  10569. // ippiThreshold_Val_8u_AC4IR
  10570. // ippiThreshold_Val_16s_C1IR
  10571. // ippiThreshold_Val_16s_C3IR
  10572. // ippiThreshold_Val_16s_AC4IR
  10573. // ippiThreshold_Val_32f_C1IR
  10574. // ippiThreshold_Val_32f_C3IR
  10575. // ippiThreshold_Val_32f_AC4IR
  10576. // ippiThreshold_Val_16u_C1R
  10577. // ippiThreshold_Val_16u_C3R
  10578. // ippiThreshold_Val_16u_AC4R
  10579. // ippiThreshold_Val_16u_C1IR
  10580. // ippiThreshold_Val_16u_C3IR
  10581. // ippiThreshold_Val_16u_AC4IR
  10582. //
  10583. // Purpose: Performs thresholding of pixel values: pixels that satisfy
  10584. // the compare conditions are set to a specified value
  10585. // Returns:
  10586. // ippStsNoErr OK
  10587. // ippStsNullPtrErr One of the pointers is NULL
  10588. // ippStsSizeErr roiSize has a field with zero or negative value
  10589. // ippStsStepErr One of the step values is zero or negative
  10590. //
  10591. // Parameters:
  10592. // pSrc Pointer to the source image
  10593. // srcStep Step through the source image
  10594. // pDst Pointer to the destination image
  10595. // dstStep Step through the destination image
  10596. // pSrcDst Pointer to the source/destination image (in-place flavors)
  10597. // srcDstStep Step through the source/destination image (in-place flavors)
  10598. // roiSize Size of the ROI
  10599. // threshold Threshold level value (array of values for multi-channel data)
  10600. // value The output value (array or values for multi-channel data)
  10601. // ippCmpOp comparison mode, ippCmpLess or ippCmpGreater
  10602. */
  10603. IPPAPI(IppStatus,ippiThreshold_Val_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  10604. Ipp8u* pDst, int dstStep, IppiSize roiSize, Ipp8u threshold,
  10605. Ipp8u value, IppCmpOp ippCmpOp))
  10606. IPPAPI(IppStatus,ippiThreshold_Val_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  10607. Ipp16s* pDst, int dstStep, IppiSize roiSize, Ipp16s threshold,
  10608. Ipp16s value, IppCmpOp ippCmpOp))
  10609. IPPAPI(IppStatus,ippiThreshold_Val_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  10610. Ipp32f* pDst, int dstStep, IppiSize roiSize, Ipp32f threshold,
  10611. Ipp32f value, IppCmpOp ippCmpOp))
  10612. IPPAPI(IppStatus,ippiThreshold_Val_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  10613. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u threshold[3],
  10614. const Ipp8u value[3], IppCmpOp ippCmpOp))
  10615. IPPAPI(IppStatus,ippiThreshold_Val_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  10616. Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp16s threshold[3],
  10617. const Ipp16s value[3], IppCmpOp ippCmpOp))
  10618. IPPAPI(IppStatus,ippiThreshold_Val_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  10619. Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f threshold[3],
  10620. const Ipp32f value[3], IppCmpOp ippCmpOp))
  10621. IPPAPI(IppStatus,ippiThreshold_Val_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  10622. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u threshold[3],
  10623. const Ipp8u value[3], IppCmpOp ippCmpOp))
  10624. IPPAPI(IppStatus,ippiThreshold_Val_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  10625. Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp16s threshold[3],
  10626. const Ipp16s value[3], IppCmpOp ippCmpOp))
  10627. IPPAPI(IppStatus,ippiThreshold_Val_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  10628. Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f threshold[3],
  10629. const Ipp32f value[3], IppCmpOp ippCmpOp))
  10630. IPPAPI(IppStatus,ippiThreshold_Val_8u_C1IR,(Ipp8u* pSrcDst, int srcDstStep,
  10631. IppiSize roiSize, Ipp8u threshold, Ipp8u value, IppCmpOp ippCmpOp))
  10632. IPPAPI(IppStatus,ippiThreshold_Val_16s_C1IR,(Ipp16s* pSrcDst, int srcDstStep,
  10633. IppiSize roiSize, Ipp16s threshold, Ipp16s value, IppCmpOp ippCmpOp))
  10634. IPPAPI(IppStatus,ippiThreshold_Val_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep,
  10635. IppiSize roiSize, Ipp32f threshold, Ipp32f value, IppCmpOp ippCmpOp))
  10636. IPPAPI(IppStatus,ippiThreshold_Val_8u_C3IR,(Ipp8u* pSrcDst, int srcDstStep,
  10637. IppiSize roiSize, const Ipp8u threshold[3], const Ipp8u value[3],
  10638. IppCmpOp ippCmpOp))
  10639. IPPAPI(IppStatus,ippiThreshold_Val_16s_C3IR,(Ipp16s* pSrcDst, int srcDstStep,
  10640. IppiSize roiSize, const Ipp16s threshold[3], const Ipp16s value[3],
  10641. IppCmpOp ippCmpOp))
  10642. IPPAPI(IppStatus,ippiThreshold_Val_32f_C3IR,(Ipp32f* pSrcDst, int srcDstStep,
  10643. IppiSize roiSize, const Ipp32f threshold[3], const Ipp32f value[3],
  10644. IppCmpOp ippCmpOp))
  10645. IPPAPI(IppStatus,ippiThreshold_Val_8u_AC4IR,(Ipp8u* pSrcDst, int srcDstStep,
  10646. IppiSize roiSize, const Ipp8u threshold[3], const Ipp8u value[3],
  10647. IppCmpOp ippCmpOp))
  10648. IPPAPI(IppStatus,ippiThreshold_Val_16s_AC4IR,(Ipp16s* pSrcDst, int srcDstStep,
  10649. IppiSize roiSize, const Ipp16s threshold[3], const Ipp16s value[3],
  10650. IppCmpOp ippCmpOp))
  10651. IPPAPI(IppStatus,ippiThreshold_Val_32f_AC4IR,(Ipp32f* pSrcDst, int srcDstStep,
  10652. IppiSize roiSize, const Ipp32f threshold[3], const Ipp32f value[3],
  10653. IppCmpOp ippCmpOp))
  10654. IPPAPI(IppStatus,ippiThreshold_Val_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  10655. Ipp16u* pDst, int dstStep, IppiSize roiSize, Ipp16u threshold,
  10656. Ipp16u value, IppCmpOp ippCmpOp))
  10657. IPPAPI(IppStatus,ippiThreshold_Val_16u_C3R,(const Ipp16u* pSrc, int srcStep,
  10658. Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp16u threshold[3],
  10659. const Ipp16u value[3], IppCmpOp ippCmpOp))
  10660. IPPAPI(IppStatus,ippiThreshold_Val_16u_AC4R,(const Ipp16u* pSrc, int srcStep,
  10661. Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp16u threshold[3],
  10662. const Ipp16u value[3], IppCmpOp ippCmpOp))
  10663. IPPAPI(IppStatus,ippiThreshold_Val_16u_C1IR,(Ipp16u* pSrcDst, int srcDstStep,
  10664. IppiSize roiSize, Ipp16u threshold, Ipp16u value, IppCmpOp ippCmpOp))
  10665. IPPAPI(IppStatus,ippiThreshold_Val_16u_C3IR,(Ipp16u* pSrcDst, int srcDstStep,
  10666. IppiSize roiSize, const Ipp16u threshold[3], const Ipp16u value[3],
  10667. IppCmpOp ippCmpOp))
  10668. IPPAPI(IppStatus,ippiThreshold_Val_16u_AC4IR,(Ipp16u* pSrcDst, int srcDstStep,
  10669. IppiSize roiSize, const Ipp16u threshold[3], const Ipp16u value[3],
  10670. IppCmpOp ippCmpOp))
  10671. /* ////////////////////////////////////////////////////////////////////////////
  10672. // Names: ippiThreshold_GTVal_8u_C1R
  10673. // ippiThreshold_GTVal_8u_C3R
  10674. // ippiThreshold_GTVal_8u_AC4R
  10675. // ippiThreshold_GTVal_16s_C1R
  10676. // ippiThreshold_GTVal_16s_C3R
  10677. // ippiThreshold_GTVal_16s_AC4R
  10678. // ippiThreshold_GTVal_32f_C1R
  10679. // ippiThreshold_GTVal_32f_C3R
  10680. // ippiThreshold_GTVal_32f_AC4R
  10681. // ippiThreshold_GTVal_8u_C1IR
  10682. // ippiThreshold_GTVal_8u_C3IR
  10683. // ippiThreshold_GTVal_8u_AC4IR
  10684. // ippiThreshold_GTVal_16s_C1IR
  10685. // ippiThreshold_GTVal_16s_C3IR
  10686. // ippiThreshold_GTVal_16s_AC4IR
  10687. // ippiThreshold_GTVal_32f_C1IR
  10688. // ippiThreshold_GTVal_32f_C3IR
  10689. // ippiThreshold_GTVal_32f_AC4IR
  10690. // ippiThreshold_GTVal_8u_C4R
  10691. // ippiThreshold_GTVal_16s_C4R
  10692. // ippiThreshold_GTVal_32f_C4R
  10693. // ippiThreshold_GTVal_8u_C4IR
  10694. // ippiThreshold_GTVal_16s_C4IR
  10695. // ippiThreshold_GTVal_32f_C4IR
  10696. // ippiThreshold_GTVal_16u_C1R
  10697. // ippiThreshold_GTVal_16u_C3R
  10698. // ippiThreshold_GTVal_16u_AC4R
  10699. // ippiThreshold_GTVal_16u_C1IR
  10700. // ippiThreshold_GTVal_16u_C3IR
  10701. // ippiThreshold_GTVal_16u_AC4IR
  10702. // ippiThreshold_GTVal_16u_C4R
  10703. // ippiThreshold_GTVal_16u_C4IR
  10704. //
  10705. // Purpose: Performs thresholding of pixel values: pixels that are
  10706. // greater than threshold, are set to a specified value
  10707. // Returns:
  10708. // ippStsNoErr OK
  10709. // ippStsNullPtrErr One of the pointers is NULL
  10710. // ippStsSizeErr roiSize has a field with zero or negative value
  10711. // ippStsStepErr One of the step values is zero or negative
  10712. //
  10713. // Parameters:
  10714. // pSrc Pointer to the source image
  10715. // srcStep Step through the source image
  10716. // pDst Pointer to the destination image
  10717. // dstStep Step through the destination image
  10718. // pSrcDst Pointer to the source/destination image (in-place flavors)
  10719. // srcDstStep Step through the source/destination image (in-place flavors)
  10720. // roiSize Size of the ROI
  10721. // threshold Threshold level value (array of values for multi-channel data)
  10722. // value The output value (array or values for multi-channel data)
  10723. */
  10724. IPPAPI(IppStatus,ippiThreshold_GTVal_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  10725. Ipp8u* pDst, int dstStep, IppiSize roiSize, Ipp8u threshold,
  10726. Ipp8u value))
  10727. IPPAPI(IppStatus,ippiThreshold_GTVal_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  10728. Ipp16s* pDst, int dstStep, IppiSize roiSize, Ipp16s threshold,
  10729. Ipp16s value))
  10730. IPPAPI(IppStatus,ippiThreshold_GTVal_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  10731. Ipp32f* pDst, int dstStep, IppiSize roiSize, Ipp32f threshold,
  10732. Ipp32f value))
  10733. IPPAPI(IppStatus,ippiThreshold_GTVal_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  10734. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u threshold[3],
  10735. const Ipp8u value[3]))
  10736. IPPAPI(IppStatus,ippiThreshold_GTVal_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  10737. Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp16s threshold[3],
  10738. const Ipp16s value[3]))
  10739. IPPAPI(IppStatus,ippiThreshold_GTVal_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  10740. Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f threshold[3],
  10741. const Ipp32f value[3]))
  10742. IPPAPI(IppStatus,ippiThreshold_GTVal_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  10743. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u threshold[3],
  10744. const Ipp8u value[3]))
  10745. IPPAPI(IppStatus,ippiThreshold_GTVal_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  10746. Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp16s threshold[3],
  10747. const Ipp16s value[3]))
  10748. IPPAPI(IppStatus,ippiThreshold_GTVal_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  10749. Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f threshold[3],
  10750. const Ipp32f value[3]))
  10751. IPPAPI(IppStatus,ippiThreshold_GTVal_8u_C1IR,(Ipp8u* pSrcDst, int srcDstStep,
  10752. IppiSize roiSize, Ipp8u threshold, Ipp8u value))
  10753. IPPAPI(IppStatus,ippiThreshold_GTVal_16s_C1IR,(Ipp16s* pSrcDst, int srcDstStep,
  10754. IppiSize roiSize, Ipp16s threshold, Ipp16s value))
  10755. IPPAPI(IppStatus,ippiThreshold_GTVal_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep,
  10756. IppiSize roiSize, Ipp32f threshold, Ipp32f value))
  10757. IPPAPI(IppStatus,ippiThreshold_GTVal_8u_C3IR,(Ipp8u* pSrcDst, int srcDstStep,
  10758. IppiSize roiSize, const Ipp8u threshold[3], const Ipp8u value[3]))
  10759. IPPAPI(IppStatus,ippiThreshold_GTVal_16s_C3IR,(Ipp16s* pSrcDst, int srcDstStep,
  10760. IppiSize roiSize, const Ipp16s threshold[3], const Ipp16s value[3]))
  10761. IPPAPI(IppStatus,ippiThreshold_GTVal_32f_C3IR,(Ipp32f* pSrcDst, int srcDstStep,
  10762. IppiSize roiSize, const Ipp32f threshold[3], const Ipp32f value[3]))
  10763. IPPAPI(IppStatus,ippiThreshold_GTVal_8u_AC4IR,(Ipp8u* pSrcDst, int srcDstStep,
  10764. IppiSize roiSize, const Ipp8u threshold[3], const Ipp8u value[3]))
  10765. IPPAPI(IppStatus,ippiThreshold_GTVal_16s_AC4IR,(Ipp16s* pSrcDst, int srcDstStep,
  10766. IppiSize roiSize, const Ipp16s threshold[3], const Ipp16s value[3]))
  10767. IPPAPI(IppStatus,ippiThreshold_GTVal_32f_AC4IR,(Ipp32f* pSrcDst, int srcDstStep,
  10768. IppiSize roiSize, const Ipp32f threshold[3], const Ipp32f value[3]))
  10769. IPPAPI(IppStatus,ippiThreshold_GTVal_8u_C4R,(const Ipp8u* pSrc, int srcStep,
  10770. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u threshold[4],
  10771. const Ipp8u value[4]))
  10772. IPPAPI(IppStatus,ippiThreshold_GTVal_16s_C4R,(const Ipp16s* pSrc, int srcStep,
  10773. Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp16s threshold[4],
  10774. const Ipp16s value[4]))
  10775. IPPAPI(IppStatus,ippiThreshold_GTVal_32f_C4R,(const Ipp32f* pSrc, int srcStep,
  10776. Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f threshold[4],
  10777. const Ipp32f value[4]))
  10778. IPPAPI(IppStatus,ippiThreshold_GTVal_8u_C4IR,(Ipp8u* pSrcDst, int srcDstStep,
  10779. IppiSize roiSize, const Ipp8u threshold[4], const Ipp8u value[4]))
  10780. IPPAPI(IppStatus,ippiThreshold_GTVal_16s_C4IR,(Ipp16s* pSrcDst, int srcDstStep,
  10781. IppiSize roiSize, const Ipp16s threshold[4], const Ipp16s value[4]))
  10782. IPPAPI(IppStatus,ippiThreshold_GTVal_32f_C4IR,(Ipp32f* pSrcDst, int srcDstStep,
  10783. IppiSize roiSize, const Ipp32f threshold[4], const Ipp32f value[4]))
  10784. IPPAPI(IppStatus,ippiThreshold_GTVal_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  10785. Ipp16u* pDst, int dstStep, IppiSize roiSize, Ipp16u threshold,
  10786. Ipp16u value))
  10787. IPPAPI(IppStatus,ippiThreshold_GTVal_16u_C3R,(const Ipp16u* pSrc, int srcStep,
  10788. Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp16u threshold[3],
  10789. const Ipp16u value[3]))
  10790. IPPAPI(IppStatus,ippiThreshold_GTVal_16u_AC4R,(const Ipp16u* pSrc, int srcStep,
  10791. Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp16u threshold[3],
  10792. const Ipp16u value[3]))
  10793. IPPAPI(IppStatus,ippiThreshold_GTVal_16u_C1IR,(Ipp16u* pSrcDst, int srcDstStep,
  10794. IppiSize roiSize, Ipp16u threshold, Ipp16u value))
  10795. IPPAPI(IppStatus,ippiThreshold_GTVal_16u_C3IR,(Ipp16u* pSrcDst, int srcDstStep,
  10796. IppiSize roiSize, const Ipp16u threshold[3], const Ipp16u value[3]))
  10797. IPPAPI(IppStatus,ippiThreshold_GTVal_16u_AC4IR,(Ipp16u* pSrcDst, int srcDstStep,
  10798. IppiSize roiSize, const Ipp16u threshold[3], const Ipp16u value[3]))
  10799. IPPAPI(IppStatus,ippiThreshold_GTVal_16u_C4R,(const Ipp16u* pSrc, int srcStep,
  10800. Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp16u threshold[4],
  10801. const Ipp16u value[4]))
  10802. IPPAPI(IppStatus,ippiThreshold_GTVal_16u_C4IR,(Ipp16u* pSrcDst, int srcDstStep,
  10803. IppiSize roiSize, const Ipp16u threshold[4], const Ipp16u value[4]))
  10804. /* ////////////////////////////////////////////////////////////////////////////
  10805. // Names: ippiThreshold_LTVal_8u_C1R
  10806. // ippiThreshold_LTVal_8u_C3R
  10807. // ippiThreshold_LTVal_8u_AC4R
  10808. // ippiThreshold_LTVal_16s_C1R
  10809. // ippiThreshold_LTVal_16s_C3R
  10810. // ippiThreshold_LTVal_16s_AC4R
  10811. // ippiThreshold_LTVal_32f_C1R
  10812. // ippiThreshold_LTVal_32f_C3R
  10813. // ippiThreshold_LTVal_32f_AC4R
  10814. // ippiThreshold_LTVal_8u_C1IR
  10815. // ippiThreshold_LTVal_8u_C3IR
  10816. // ippiThreshold_LTVal_8u_AC4IR
  10817. // ippiThreshold_LTVal_16s_C1IR
  10818. // ippiThreshold_LTVal_16s_C3IR
  10819. // ippiThreshold_LTVal_16s_AC4IR
  10820. // ippiThreshold_LTVal_32f_C1IR
  10821. // ippiThreshold_LTVal_32f_C3IR
  10822. // ippiThreshold_LTVal_32f_AC4IR
  10823. // ippiThreshold_LTVal_8u_C4R
  10824. // ippiThreshold_LTVal_16s_C4R
  10825. // ippiThreshold_LTVal_32f_C4R
  10826. // ippiThreshold_LTVal_8u_C4IR
  10827. // ippiThreshold_LTVal_16s_C4IR
  10828. // ippiThreshold_LTVal_32f_C4IR
  10829. // ippiThreshold_LTVal_16u_C1R
  10830. // ippiThreshold_LTVal_16u_C3R
  10831. // ippiThreshold_LTVal_16u_AC4R
  10832. // ippiThreshold_LTVal_16u_C1IR
  10833. // ippiThreshold_LTVal_16u_C3IR
  10834. // ippiThreshold_LTVal_16u_AC4IR
  10835. // ippiThreshold_LTVal_16u_C4R
  10836. // ippiThreshold_LTVal_16u_C4IR
  10837. //
  10838. // Purpose: Performs thresholding of pixel values: pixels that are
  10839. // less than threshold, are set to a specified value
  10840. // Returns:
  10841. // ippStsNoErr OK
  10842. // ippStsNullPtrErr One of the pointers is NULL
  10843. // ippStsSizeErr roiSize has a field with zero or negative value
  10844. // ippStsStepErr One of the step values is zero or negative
  10845. //
  10846. // Parameters:
  10847. // pSrc Pointer to the source image
  10848. // srcStep Step through the source image
  10849. // pDst Pointer to the destination image
  10850. // dstStep Step through the destination image
  10851. // pSrcDst Pointer to the source/destination image (in-place flavors)
  10852. // srcDstStep Step through the source/destination image (in-place flavors)
  10853. // roiSize Size of the ROI
  10854. // threshold Threshold level value (array of values for multi-channel data)
  10855. // value The output value (array or values for multi-channel data)
  10856. */
  10857. IPPAPI(IppStatus,ippiThreshold_LTVal_8u_C1R,(const Ipp8u* pSrc, int srcStep,
  10858. Ipp8u* pDst, int dstStep, IppiSize roiSize, Ipp8u threshold,
  10859. Ipp8u value))
  10860. IPPAPI(IppStatus,ippiThreshold_LTVal_16s_C1R,(const Ipp16s* pSrc, int srcStep,
  10861. Ipp16s* pDst, int dstStep, IppiSize roiSize, Ipp16s threshold,
  10862. Ipp16s value))
  10863. IPPAPI(IppStatus,ippiThreshold_LTVal_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  10864. Ipp32f* pDst, int dstStep, IppiSize roiSize, Ipp32f threshold,
  10865. Ipp32f value))
  10866. IPPAPI(IppStatus,ippiThreshold_LTVal_8u_C3R,(const Ipp8u* pSrc, int srcStep,
  10867. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u threshold[3],
  10868. const Ipp8u value[3]))
  10869. IPPAPI(IppStatus,ippiThreshold_LTVal_16s_C3R,(const Ipp16s* pSrc, int srcStep,
  10870. Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp16s threshold[3],
  10871. const Ipp16s value[3]))
  10872. IPPAPI(IppStatus,ippiThreshold_LTVal_32f_C3R,(const Ipp32f* pSrc, int srcStep,
  10873. Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f threshold[3],
  10874. const Ipp32f value[3]))
  10875. IPPAPI(IppStatus,ippiThreshold_LTVal_8u_AC4R,(const Ipp8u* pSrc, int srcStep,
  10876. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u threshold[3],
  10877. const Ipp8u value[3]))
  10878. IPPAPI(IppStatus,ippiThreshold_LTVal_16s_AC4R,(const Ipp16s* pSrc, int srcStep,
  10879. Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp16s threshold[3],
  10880. const Ipp16s value[3]))
  10881. IPPAPI(IppStatus,ippiThreshold_LTVal_32f_AC4R,(const Ipp32f* pSrc, int srcStep,
  10882. Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f threshold[3],
  10883. const Ipp32f value[3]))
  10884. IPPAPI(IppStatus,ippiThreshold_LTVal_8u_C1IR,(Ipp8u* pSrcDst, int srcDstStep,
  10885. IppiSize roiSize, Ipp8u threshold, Ipp8u value))
  10886. IPPAPI(IppStatus,ippiThreshold_LTVal_16s_C1IR,(Ipp16s* pSrcDst, int srcDstStep,
  10887. IppiSize roiSize, Ipp16s threshold, Ipp16s value))
  10888. IPPAPI(IppStatus,ippiThreshold_LTVal_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep,
  10889. IppiSize roiSize, Ipp32f threshold, Ipp32f value))
  10890. IPPAPI(IppStatus,ippiThreshold_LTVal_8u_C3IR,(Ipp8u* pSrcDst, int srcDstStep,
  10891. IppiSize roiSize, const Ipp8u threshold[3], const Ipp8u value[3]))
  10892. IPPAPI(IppStatus,ippiThreshold_LTVal_16s_C3IR,(Ipp16s* pSrcDst, int srcDstStep,
  10893. IppiSize roiSize, const Ipp16s threshold[3], const Ipp16s value[3]))
  10894. IPPAPI(IppStatus,ippiThreshold_LTVal_32f_C3IR,(Ipp32f* pSrcDst, int srcDstStep,
  10895. IppiSize roiSize, const Ipp32f threshold[3], const Ipp32f value[3]))
  10896. IPPAPI(IppStatus,ippiThreshold_LTVal_8u_AC4IR,(Ipp8u* pSrcDst, int srcDstStep,
  10897. IppiSize roiSize, const Ipp8u threshold[3], const Ipp8u value[3]))
  10898. IPPAPI(IppStatus,ippiThreshold_LTVal_16s_AC4IR,(Ipp16s* pSrcDst, int srcDstStep,
  10899. IppiSize roiSize, const Ipp16s threshold[3], const Ipp16s value[3]))
  10900. IPPAPI(IppStatus,ippiThreshold_LTVal_32f_AC4IR,(Ipp32f* pSrcDst, int srcDstStep,
  10901. IppiSize roiSize, const Ipp32f threshold[3], const Ipp32f value[3]))
  10902. IPPAPI(IppStatus,ippiThreshold_LTVal_8u_C4R,(const Ipp8u* pSrc, int srcStep,
  10903. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u threshold[4],
  10904. const Ipp8u value[4]))
  10905. IPPAPI(IppStatus,ippiThreshold_LTVal_16s_C4R,(const Ipp16s* pSrc, int srcStep,
  10906. Ipp16s* pDst, int dstStep, IppiSize roiSize, const Ipp16s threshold[4],
  10907. const Ipp16s value[4]))
  10908. IPPAPI(IppStatus,ippiThreshold_LTVal_32f_C4R,(const Ipp32f* pSrc, int srcStep,
  10909. Ipp32f* pDst, int dstStep, IppiSize roiSize, const Ipp32f threshold[4],
  10910. const Ipp32f value[4]))
  10911. IPPAPI(IppStatus,ippiThreshold_LTVal_8u_C4IR,(Ipp8u* pSrcDst, int srcDstStep,
  10912. IppiSize roiSize, const Ipp8u threshold[4], const Ipp8u value[4]))
  10913. IPPAPI(IppStatus,ippiThreshold_LTVal_16s_C4IR,(Ipp16s* pSrcDst, int srcDstStep,
  10914. IppiSize roiSize, const Ipp16s threshold[4], const Ipp16s value[4]))
  10915. IPPAPI(IppStatus,ippiThreshold_LTVal_32f_C4IR,(Ipp32f* pSrcDst, int srcDstStep,
  10916. IppiSize roiSize, const Ipp32f threshold[4], const Ipp32f value[4]))
  10917. IPPAPI(IppStatus,ippiThreshold_LTVal_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  10918. Ipp16u* pDst, int dstStep, IppiSize roiSize, Ipp16u threshold,
  10919. Ipp16u value))
  10920. IPPAPI(IppStatus,ippiThreshold_LTVal_16u_C3R,(const Ipp16u* pSrc, int srcStep,
  10921. Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp16u threshold[3],
  10922. const Ipp16u value[3]))
  10923. IPPAPI(IppStatus,ippiThreshold_LTVal_16u_AC4R,(const Ipp16u* pSrc, int srcStep,
  10924. Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp16u threshold[3],
  10925. const Ipp16u value[3]))
  10926. IPPAPI(IppStatus,ippiThreshold_LTVal_16u_C1IR,(Ipp16u* pSrcDst, int srcDstStep,
  10927. IppiSize roiSize, Ipp16u threshold, Ipp16u value))
  10928. IPPAPI(IppStatus,ippiThreshold_LTVal_16u_C3IR,(Ipp16u* pSrcDst, int srcDstStep,
  10929. IppiSize roiSize, const Ipp16u threshold[3], const Ipp16u value[3]))
  10930. IPPAPI(IppStatus,ippiThreshold_LTVal_16u_AC4IR,(Ipp16u* pSrcDst, int srcDstStep,
  10931. IppiSize roiSize, const Ipp16u threshold[3], const Ipp16u value[3]))
  10932. IPPAPI(IppStatus,ippiThreshold_LTVal_16u_C4R,(const Ipp16u* pSrc, int srcStep,
  10933. Ipp16u* pDst, int dstStep, IppiSize roiSize, const Ipp16u threshold[4],
  10934. const Ipp16u value[4]))
  10935. IPPAPI(IppStatus,ippiThreshold_LTVal_16u_C4IR,(Ipp16u* pSrcDst, int srcDstStep,
  10936. IppiSize roiSize, const Ipp16u threshold[4], const Ipp16u value[4]))
  10937. /* ////////////////////////////////////////////////////////////////////////////
  10938. // Names: ippiThreshold_LTValGTVal_8u_C1R
  10939. // ippiThreshold_LTValGTVal_8u_C3R
  10940. // ippiThreshold_LTValGTVal_8u_AC4R
  10941. // ippiThreshold_LTValGTVal_16s_C1R
  10942. // ippiThreshold_LTValGTVal_16s_C3R
  10943. // ippiThreshold_LTValGTVal_16s_AC4R
  10944. // ippiThreshold_LTValGTVal_32f_C1R
  10945. // ippiThreshold_LTValGTVal_32f_C3R
  10946. // ippiThreshold_LTValGTVal_32f_AC4R
  10947. // ippiThreshold_LTValGTVal_16u_C1R
  10948. // ippiThreshold_LTValGTVal_16u_C3R
  10949. // ippiThreshold_LTValGTVal_16u_AC4R
  10950. //
  10951. // Purpose: Performs double thresholding of pixel values
  10952. // Returns:
  10953. // ippStsNoErr OK
  10954. // ippStsNullPtrErr One of the pointers is NULL
  10955. // ippStsSizeErr roiSize has a field with zero or negative value
  10956. // ippStsThresholdErr thresholdLT > thresholdGT
  10957. // ippStsStepErr One of the step values is zero or negative
  10958. //
  10959. // Parameters:
  10960. /// Parameters:
  10961. // pSrc Pointer to the source image
  10962. // srcStep Step through the source image
  10963. // pDst Pointer to the destination image
  10964. // dstStep Step through the destination image
  10965. // pSrcDst Pointer to the source/destination image (in-place flavors)
  10966. // srcDstStep Step through the source/destination image (in-place flavors)
  10967. // roiSize Size of the ROI
  10968. // thresholdLT Lower threshold value (array of values for multi-channel data)
  10969. // valueLT Lower output value (array or values for multi-channel data)
  10970. // thresholdGT Upper threshold value (array of values for multi-channel data)
  10971. // valueGT Upper output value (array or values for multi-channel data)
  10972. */
  10973. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_8u_C1R,(const Ipp8u* pSrc,int srcStep,
  10974. Ipp8u* pDst, int dstStep, IppiSize roiSize, Ipp8u thresholdLT,
  10975. Ipp8u valueLT, Ipp8u thresholdGT, Ipp8u valueGT))
  10976. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_16s_C1R,(const Ipp16s* pSrc,
  10977. int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  10978. Ipp16s thresholdLT, Ipp16s valueLT, Ipp16s thresholdGT,
  10979. Ipp16s valueGT))
  10980. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_32f_C1R,(const Ipp32f* pSrc,
  10981. int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize,
  10982. Ipp32f thresholdLT, Ipp32f valueLT, Ipp32f thresholdGT,
  10983. Ipp32f valueGT))
  10984. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_8u_C3R,(const Ipp8u* pSrc,int srcStep,
  10985. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u thresholdLT[3],
  10986. const Ipp8u valueLT[3], const Ipp8u thresholdGT[3],
  10987. const Ipp8u valueGT[3]))
  10988. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_16s_C3R,(const Ipp16s* pSrc,
  10989. int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  10990. const Ipp16s thresholdLT[3], const Ipp16s valueLT[3],
  10991. const Ipp16s thresholdGT[3], const Ipp16s valueGT[3]))
  10992. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_32f_C3R,(const Ipp32f* pSrc,
  10993. int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize,
  10994. const Ipp32f thresholdLT[3], const Ipp32f valueLT[3],
  10995. const Ipp32f thresholdGT[3], const Ipp32f valueGT[3]))
  10996. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_8u_AC4R,(const Ipp8u* pSrc,int srcStep,
  10997. Ipp8u* pDst, int dstStep, IppiSize roiSize, const Ipp8u thresholdLT[3],
  10998. const Ipp8u valueLT[3], const Ipp8u thresholdGT[3],
  10999. const Ipp8u valueGT[3]))
  11000. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_16s_AC4R,(const Ipp16s* pSrc,
  11001. int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  11002. const Ipp16s thresholdLT[3], const Ipp16s valueLT[3],
  11003. const Ipp16s thresholdGT[3], const Ipp16s valueGT[3]))
  11004. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_32f_AC4R,(const Ipp32f* pSrc,
  11005. int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize,
  11006. const Ipp32f thresholdLT[3], const Ipp32f valueLT[3],
  11007. const Ipp32f thresholdGT[3], const Ipp32f valueGT[3]))
  11008. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_8u_C1IR,(Ipp8u* pSrcDst, int srcDstStep,
  11009. IppiSize roiSize, Ipp8u thresholdLT, Ipp8u valueLT, Ipp8u thresholdGT,
  11010. Ipp8u valueGT))
  11011. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_16s_C1IR,(Ipp16s* pSrcDst, int srcDstStep,
  11012. IppiSize roiSize, Ipp16s thresholdLT, Ipp16s valueLT, Ipp16s thresholdGT,
  11013. Ipp16s valueGT))
  11014. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep,
  11015. IppiSize roiSize, Ipp32f thresholdLT, Ipp32f valueLT, Ipp32f thresholdGT,
  11016. Ipp32f valueGT))
  11017. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_8u_C3IR,(Ipp8u* pSrcDst,int srcDstStep,
  11018. IppiSize roiSize, const Ipp8u thresholdLT[3], const Ipp8u valueLT[3],
  11019. const Ipp8u thresholdGT[3], const Ipp8u valueGT[3]))
  11020. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_16s_C3IR,(Ipp16s* pSrcDst, int srcDstStep,
  11021. IppiSize roiSize, const Ipp16s thresholdLT[3], const Ipp16s valueLT[3],
  11022. const Ipp16s thresholdGT[3], const Ipp16s valueGT[3]))
  11023. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_32f_C3IR,(Ipp32f* pSrcDst, int srcDstStep,
  11024. IppiSize roiSize, const Ipp32f thresholdLT[3], const Ipp32f valueLT[3],
  11025. const Ipp32f thresholdGT[3], const Ipp32f valueGT[3]))
  11026. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_8u_AC4IR,(Ipp8u* pSrcDst,int srcDstStep,
  11027. IppiSize roiSize, const Ipp8u thresholdLT[3], const Ipp8u valueLT[3],
  11028. const Ipp8u thresholdGT[3], const Ipp8u valueGT[3]))
  11029. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_16s_AC4IR,(Ipp16s* pSrcDst, int srcDstStep,
  11030. IppiSize roiSize, const Ipp16s thresholdLT[3], const Ipp16s valueLT[3],
  11031. const Ipp16s thresholdGT[3], const Ipp16s valueGT[3]))
  11032. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_32f_AC4IR,(Ipp32f* pSrcDst, int srcDstStep,
  11033. IppiSize roiSize, const Ipp32f thresholdLT[3], const Ipp32f valueLT[3],
  11034. const Ipp32f thresholdGT[3], const Ipp32f valueGT[3]))
  11035. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_16u_C1R,(const Ipp16u* pSrc,
  11036. int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  11037. Ipp16u thresholdLT, Ipp16u valueLT, Ipp16u thresholdGT,
  11038. Ipp16u valueGT))
  11039. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_16u_C3R,(const Ipp16u* pSrc,
  11040. int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  11041. const Ipp16u thresholdLT[3], const Ipp16u valueLT[3],
  11042. const Ipp16u thresholdGT[3], const Ipp16u valueGT[3]))
  11043. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_16u_AC4R,(const Ipp16u* pSrc,
  11044. int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  11045. const Ipp16u thresholdLT[3], const Ipp16u valueLT[3],
  11046. const Ipp16u thresholdGT[3], const Ipp16u valueGT[3]))
  11047. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_16u_C1IR,(Ipp16u* pSrcDst, int srcDstStep,
  11048. IppiSize roiSize, Ipp16u thresholdLT, Ipp16u valueLT, Ipp16u thresholdGT,
  11049. Ipp16u valueGT))
  11050. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_16u_C3IR,(Ipp16u* pSrcDst, int srcDstStep,
  11051. IppiSize roiSize, const Ipp16u thresholdLT[3], const Ipp16u valueLT[3],
  11052. const Ipp16u thresholdGT[3], const Ipp16u valueGT[3]))
  11053. IPPAPI(IppStatus,ippiThreshold_LTValGTVal_16u_AC4IR,(Ipp16u* pSrcDst, int srcDstStep,
  11054. IppiSize roiSize, const Ipp16u thresholdLT[3], const Ipp16u valueLT[3],
  11055. const Ipp16u thresholdGT[3], const Ipp16u valueGT[3]))
  11056. /*F/////////////////////////////////////////////////////////////////////////////////
  11057. // Name: ippiComputeThreshold_Otsu_8u_C1R
  11058. //
  11059. // Purpose: Calculate Otsu theshold value of images
  11060. // Return:
  11061. // ippStsNoErr Ok
  11062. // ippStsNullPtrErr One of pointers is NULL
  11063. // ippStsSizeErr The width or height of images is less or equal zero
  11064. // ippStsStepErr The steps in images is less ROI
  11065. // Parameters:
  11066. // pSrc Pointer to image
  11067. // srcStep Image step
  11068. // roiSize Size of image ROI
  11069. // pThreshold Returned Otsu theshold value
  11070. //
  11071. //F*/
  11072. IPPAPI (IppStatus, ippiComputeThreshold_Otsu_8u_C1R, (const Ipp8u* pSrc, int srcStep,
  11073. IppiSize roiSize, Ipp8u* pThreshold))
  11074. /* /////////////////////////////////////////////////////////////////////////////
  11075. // Convert and Initialization functions
  11076. ///////////////////////////////////////////////////////////////////////////// */
  11077. /* ////////////////////////////////////////////////////////////////////////////
  11078. // Name: ippiCopyManaged
  11079. //
  11080. // Purpose: copy pixel values from the source image to the destination image
  11081. //
  11082. //
  11083. // Returns:
  11084. // ippStsNullPtrErr One of the pointers is NULL
  11085. // ippStsSizeErr roiSize has a field with zero or negative value
  11086. // ippStsNoErr OK
  11087. //
  11088. // Parameters:
  11089. // pSrc Pointer to the source image buffer
  11090. // srcStep Step in bytes through the source image buffer
  11091. // pDst Pointer to the destination image buffer
  11092. // dstStep Step in bytes through the destination image buffer
  11093. // roiSize Size of the ROI
  11094. // flags The logic sum of tags sets type of copying.
  11095. // (IPP_TEMPORAL_COPY,IPP_NONTEMPORAL_STORE etc.)
  11096. */
  11097. IPPAPI( IppStatus, ippiCopyManaged_8u_C1R,
  11098. ( const Ipp8u* pSrc, int srcStep,
  11099. Ipp8u* pDst, int dstStep,
  11100. IppiSize roiSize, int flags ))
  11101. /* ////////////////////////////////////////////////////////////////////////////
  11102. // Name: ippiCopy
  11103. //
  11104. // Purpose: copy pixel values from the source image to the destination image
  11105. //
  11106. //
  11107. // Returns:
  11108. // ippStsNullPtrErr One of the pointers is NULL
  11109. // ippStsSizeErr roiSize has a field with zero or negative value
  11110. // ippStsNoErr OK
  11111. //
  11112. // Parameters:
  11113. // pSrc Pointer to the source image buffer
  11114. // srcStep Step in bytes through the source image buffer
  11115. // pDst Pointer to the destination image buffer
  11116. // dstStep Step in bytes through the destination image buffer
  11117. // roiSize Size of the ROI
  11118. // pMask Pointer to the mask image buffer
  11119. // maskStep Step in bytes through the mask image buffer
  11120. */
  11121. IPPAPI( IppStatus, ippiCopy_8u_C3C1R,
  11122. ( const Ipp8u* pSrc, int srcStep,
  11123. Ipp8u* pDst, int dstStep, IppiSize roiSize ))
  11124. IPPAPI( IppStatus, ippiCopy_8u_C1C3R,
  11125. ( const Ipp8u* pSrc, int srcStep,
  11126. Ipp8u* pDst, int dstStep, IppiSize roiSize ))
  11127. IPPAPI( IppStatus, ippiCopy_8u_C4C1R,
  11128. ( const Ipp8u* pSrc, int srcStep,
  11129. Ipp8u* pDst, int dstStep, IppiSize roiSize ))
  11130. IPPAPI( IppStatus, ippiCopy_8u_C1C4R,
  11131. ( const Ipp8u* pSrc, int srcStep,
  11132. Ipp8u* pDst, int dstStep, IppiSize roiSize ))
  11133. IPPAPI( IppStatus, ippiCopy_8u_C3CR,
  11134. ( const Ipp8u* pSrc, int srcStep,
  11135. Ipp8u* pDst, int dstStep, IppiSize roiSize ))
  11136. IPPAPI( IppStatus, ippiCopy_8u_C4CR,
  11137. ( const Ipp8u* pSrc, int srcStep,
  11138. Ipp8u* pDst, int dstStep, IppiSize roiSize ))
  11139. IPPAPI( IppStatus, ippiCopy_8u_AC4C3R,
  11140. ( const Ipp8u* pSrc, int srcStep,
  11141. Ipp8u* pDst, int dstStep, IppiSize roiSize ))
  11142. IPPAPI( IppStatus, ippiCopy_8u_C3AC4R,
  11143. ( const Ipp8u* pSrc, int srcStep,
  11144. Ipp8u* pDst, int dstStep, IppiSize roiSize ))
  11145. IPPAPI ( IppStatus, ippiCopy_8u_C1R,
  11146. ( const Ipp8u* pSrc, int srcStep,
  11147. Ipp8u* pDst, int dstStep,IppiSize roiSize ))
  11148. IPPAPI ( IppStatus, ippiCopy_8u_C3R,
  11149. ( const Ipp8u* pSrc, int srcStep,
  11150. Ipp8u* pDst, int dstStep,IppiSize roiSize ))
  11151. IPPAPI ( IppStatus, ippiCopy_8u_C4R,
  11152. ( const Ipp8u* pSrc, int srcStep,
  11153. Ipp8u* pDst, int dstStep,IppiSize roiSize ))
  11154. IPPAPI ( IppStatus, ippiCopy_8u_AC4R,
  11155. ( const Ipp8u* pSrc, int srcStep,
  11156. Ipp8u* pDst, int dstStep,IppiSize roiSize ))
  11157. IPPAPI ( IppStatus, ippiCopy_8u_C1MR,
  11158. ( const Ipp8u* pSrc, int srcStep,
  11159. Ipp8u* pDst, int dstStep,IppiSize roiSize,
  11160. const Ipp8u* pMask, int maskStep ))
  11161. IPPAPI ( IppStatus, ippiCopy_8u_C3MR,
  11162. ( const Ipp8u* pSrc, int srcStep,
  11163. Ipp8u* pDst, int dstStep,IppiSize roiSize,
  11164. const Ipp8u* pMask, int maskStep ))
  11165. IPPAPI ( IppStatus, ippiCopy_8u_C4MR,
  11166. ( const Ipp8u* pSrc, int srcStep,
  11167. Ipp8u* pDst, int dstStep,IppiSize roiSize,
  11168. const Ipp8u* pMask, int maskStep ))
  11169. IPPAPI ( IppStatus, ippiCopy_8u_AC4MR,
  11170. ( const Ipp8u* pSrc, int srcStep,
  11171. Ipp8u* pDst, int dstStep,IppiSize roiSize,
  11172. const Ipp8u* pMask, int maskStep ))
  11173. IPPAPI( IppStatus, ippiCopy_16s_C3C1R,
  11174. ( const Ipp16s* pSrc, int srcStep,
  11175. Ipp16s* pDst, int dstStep, IppiSize roiSize ))
  11176. IPPAPI( IppStatus, ippiCopy_16s_C1C3R,
  11177. ( const Ipp16s* pSrc, int srcStep,
  11178. Ipp16s* pDst, int dstStep, IppiSize roiSize ))
  11179. IPPAPI( IppStatus, ippiCopy_16s_C4C1R,
  11180. ( const Ipp16s* pSrc, int srcStep,
  11181. Ipp16s* pDst, int dstStep, IppiSize roiSize ))
  11182. IPPAPI( IppStatus, ippiCopy_16s_C1C4R,
  11183. ( const Ipp16s* pSrc, int srcStep,
  11184. Ipp16s* pDst, int dstStep, IppiSize roiSize ))
  11185. IPPAPI( IppStatus, ippiCopy_16s_C3CR,
  11186. ( const Ipp16s* pSrc, int srcStep,
  11187. Ipp16s* pDst, int dstStep, IppiSize roiSize ))
  11188. IPPAPI( IppStatus, ippiCopy_16s_C4CR,
  11189. ( const Ipp16s* pSrc, int srcStep,
  11190. Ipp16s* pDst, int dstStep, IppiSize roiSize ))
  11191. IPPAPI( IppStatus, ippiCopy_16s_AC4C3R,
  11192. ( const Ipp16s* pSrc, int srcStep,
  11193. Ipp16s* pDst, int dstStep, IppiSize roiSize ))
  11194. IPPAPI( IppStatus, ippiCopy_16s_C3AC4R,
  11195. ( const Ipp16s* pSrc, int srcStep,
  11196. Ipp16s* pDst, int dstStep, IppiSize roiSize ))
  11197. IPPAPI ( IppStatus, ippiCopy_16s_C1R,
  11198. ( const Ipp16s* pSrc, int srcStep,
  11199. Ipp16s* pDst, int dstStep,IppiSize roiSize ))
  11200. IPPAPI ( IppStatus, ippiCopy_16s_C3R,
  11201. ( const Ipp16s* pSrc, int srcStep,
  11202. Ipp16s* pDst, int dstStep,IppiSize roiSize ))
  11203. IPPAPI ( IppStatus, ippiCopy_16s_C4R,
  11204. ( const Ipp16s* pSrc, int srcStep,
  11205. Ipp16s* pDst, int dstStep,IppiSize roiSize ))
  11206. IPPAPI ( IppStatus, ippiCopy_16s_AC4R,
  11207. ( const Ipp16s* pSrc, int srcStep,
  11208. Ipp16s* pDst, int dstStep,IppiSize roiSize ))
  11209. IPPAPI ( IppStatus, ippiCopy_16s_C1MR,
  11210. ( const Ipp16s* pSrc, int srcStep,
  11211. Ipp16s* pDst, int dstStep,IppiSize roiSize,
  11212. const Ipp8u* pMask, int maskStep ))
  11213. IPPAPI ( IppStatus, ippiCopy_16s_C3MR,
  11214. ( const Ipp16s* pSrc, int srcStep,
  11215. Ipp16s* pDst, int dstStep,IppiSize roiSize,
  11216. const Ipp8u* pMask, int maskStep ))
  11217. IPPAPI ( IppStatus, ippiCopy_16s_C4MR,
  11218. ( const Ipp16s* pSrc, int srcStep,
  11219. Ipp16s* pDst, int dstStep,IppiSize roiSize,
  11220. const Ipp8u* pMask, int maskStep ))
  11221. IPPAPI ( IppStatus, ippiCopy_16s_AC4MR,
  11222. ( const Ipp16s* pSrc, int srcStep,
  11223. Ipp16s* pDst, int dstStep,IppiSize roiSize,
  11224. const Ipp8u* pMask, int maskStep ))
  11225. IPPAPI( IppStatus, ippiCopy_32f_C3C1R,
  11226. ( const Ipp32f* pSrc, int srcStep,
  11227. Ipp32f* pDst, int dstStep, IppiSize roiSize ))
  11228. IPPAPI( IppStatus, ippiCopy_32f_C1C3R,
  11229. ( const Ipp32f* pSrc, int srcStep,
  11230. Ipp32f* pDst, int dstStep, IppiSize roiSize ))
  11231. IPPAPI( IppStatus, ippiCopy_32f_C4C1R,
  11232. ( const Ipp32f* pSrc, int srcStep,
  11233. Ipp32f* pDst, int dstStep, IppiSize roiSize ))
  11234. IPPAPI( IppStatus, ippiCopy_32f_C1C4R,
  11235. ( const Ipp32f* pSrc, int srcStep,
  11236. Ipp32f* pDst, int dstStep, IppiSize roiSize ))
  11237. IPPAPI( IppStatus, ippiCopy_32f_C3CR,
  11238. ( const Ipp32f* pSrc, int srcStep,
  11239. Ipp32f* pDst, int dstStep, IppiSize roiSize ))
  11240. IPPAPI( IppStatus, ippiCopy_32f_C4CR,
  11241. ( const Ipp32f* pSrc, int srcStep,
  11242. Ipp32f* pDst, int dstStep, IppiSize roiSize ))
  11243. IPPAPI( IppStatus, ippiCopy_32f_AC4C3R,
  11244. ( const Ipp32f* pSrc, int srcStep,
  11245. Ipp32f* pDst, int dstStep, IppiSize roiSize ))
  11246. IPPAPI( IppStatus, ippiCopy_32f_C3AC4R,
  11247. ( const Ipp32f* pSrc, int srcStep,
  11248. Ipp32f* pDst, int dstStep, IppiSize roiSize ))
  11249. IPPAPI ( IppStatus, ippiCopy_32f_C1R,
  11250. ( const Ipp32f* pSrc, int srcStep,
  11251. Ipp32f* pDst, int dstStep,IppiSize roiSize ))
  11252. IPPAPI ( IppStatus, ippiCopy_32f_C3R,
  11253. ( const Ipp32f* pSrc, int srcStep,
  11254. Ipp32f* pDst, int dstStep,IppiSize roiSize ))
  11255. IPPAPI ( IppStatus, ippiCopy_32f_C4R,
  11256. ( const Ipp32f* pSrc, int srcStep,
  11257. Ipp32f* pDst, int dstStep,IppiSize roiSize ))
  11258. IPPAPI ( IppStatus, ippiCopy_32f_AC4R,
  11259. ( const Ipp32f* pSrc, int srcStep,
  11260. Ipp32f* pDst, int dstStep,IppiSize roiSize ))
  11261. IPPAPI ( IppStatus, ippiCopy_32f_C1MR,
  11262. ( const Ipp32f* pSrc, int srcStep,
  11263. Ipp32f* pDst, int dstStep,IppiSize roiSize,
  11264. const Ipp8u* pMask, int maskStep ))
  11265. IPPAPI ( IppStatus, ippiCopy_32f_C3MR,
  11266. ( const Ipp32f* pSrc, int srcStep,
  11267. Ipp32f* pDst, int dstStep,IppiSize roiSize,
  11268. const Ipp8u* pMask, int maskStep ))
  11269. IPPAPI ( IppStatus, ippiCopy_32f_C4MR,
  11270. ( const Ipp32f* pSrc, int srcStep,
  11271. Ipp32f* pDst, int dstStep,IppiSize roiSize,
  11272. const Ipp8u* pMask, int maskStep ))
  11273. IPPAPI ( IppStatus, ippiCopy_32f_AC4MR,
  11274. ( const Ipp32f* pSrc, int srcStep,
  11275. Ipp32f* pDst, int dstStep,IppiSize roiSize,
  11276. const Ipp8u* pMask, int maskStep ))
  11277. IPPAPI ( IppStatus, ippiCopy_8u_C3P3R, ( const Ipp8u* pSrc, int srcStep,
  11278. Ipp8u* const pDst[3], int dstStep, IppiSize roiSize ))
  11279. IPPAPI ( IppStatus, ippiCopy_8u_P3C3R, (const Ipp8u* const pSrc[3],
  11280. int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize ))
  11281. IPPAPI ( IppStatus, ippiCopy_8u_C4P4R, ( const Ipp8u* pSrc, int srcStep,
  11282. Ipp8u* const pDst[4], int dstStep, IppiSize roiSize ))
  11283. IPPAPI ( IppStatus, ippiCopy_8u_P4C4R, (const Ipp8u* const pSrc[4],
  11284. int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize ))
  11285. IPPAPI ( IppStatus, ippiCopy_16s_C3P3R, ( const Ipp16s* pSrc, int srcStep,
  11286. Ipp16s* const pDst[3], int dstStep, IppiSize roiSize ))
  11287. IPPAPI ( IppStatus, ippiCopy_16s_P3C3R, (const Ipp16s* const pSrc[3],
  11288. int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize ))
  11289. IPPAPI ( IppStatus, ippiCopy_16s_C4P4R, ( const Ipp16s* pSrc, int srcStep,
  11290. Ipp16s* const pDst[4], int dstStep, IppiSize roiSize ))
  11291. IPPAPI ( IppStatus, ippiCopy_16s_P4C4R, (const Ipp16s* const pSrc[4],
  11292. int srcStep, Ipp16s* pDst, int dstStep, IppiSize roiSize ))
  11293. IPPAPI ( IppStatus, ippiCopy_32f_C3P3R, ( const Ipp32f* pSrc, int srcStep,
  11294. Ipp32f* const pDst[3], int dstStep, IppiSize roiSize ))
  11295. IPPAPI ( IppStatus, ippiCopy_32f_P3C3R, (const Ipp32f* const pSrc[3],
  11296. int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize ))
  11297. IPPAPI ( IppStatus, ippiCopy_32f_C4P4R, ( const Ipp32f* pSrc, int srcStep,
  11298. Ipp32f* const pDst[4], int dstStep, IppiSize roiSize ))
  11299. IPPAPI ( IppStatus, ippiCopy_32f_P4C4R, (const Ipp32f* const pSrc[4],
  11300. int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize ))
  11301. IPPAPI( IppStatus, ippiCopy_32s_C3C1R,
  11302. ( const Ipp32s* pSrc, int srcStep,
  11303. Ipp32s* pDst, int dstStep, IppiSize roiSize ))
  11304. IPPAPI( IppStatus, ippiCopy_32s_C1C3R,
  11305. ( const Ipp32s* pSrc, int srcStep,
  11306. Ipp32s* pDst, int dstStep, IppiSize roiSize ))
  11307. IPPAPI( IppStatus, ippiCopy_32s_C4C1R,
  11308. ( const Ipp32s* pSrc, int srcStep,
  11309. Ipp32s* pDst, int dstStep, IppiSize roiSize ))
  11310. IPPAPI( IppStatus, ippiCopy_32s_C1C4R,
  11311. ( const Ipp32s* pSrc, int srcStep,
  11312. Ipp32s* pDst, int dstStep, IppiSize roiSize ))
  11313. IPPAPI( IppStatus, ippiCopy_32s_C3CR,
  11314. ( const Ipp32s* pSrc, int srcStep,
  11315. Ipp32s* pDst, int dstStep, IppiSize roiSize ))
  11316. IPPAPI( IppStatus, ippiCopy_32s_C4CR,
  11317. ( const Ipp32s* pSrc, int srcStep,
  11318. Ipp32s* pDst, int dstStep, IppiSize roiSize ))
  11319. IPPAPI( IppStatus, ippiCopy_32s_AC4C3R,
  11320. ( const Ipp32s* pSrc, int srcStep,
  11321. Ipp32s* pDst, int dstStep, IppiSize roiSize ))
  11322. IPPAPI( IppStatus, ippiCopy_32s_C3AC4R,
  11323. ( const Ipp32s* pSrc, int srcStep,
  11324. Ipp32s* pDst, int dstStep, IppiSize roiSize ))
  11325. IPPAPI ( IppStatus, ippiCopy_32s_C1R,
  11326. ( const Ipp32s* pSrc, int srcStep,
  11327. Ipp32s* pDst, int dstStep,IppiSize roiSize ))
  11328. IPPAPI ( IppStatus, ippiCopy_32s_C3R,
  11329. ( const Ipp32s* pSrc, int srcStep,
  11330. Ipp32s* pDst, int dstStep,IppiSize roiSize ))
  11331. IPPAPI ( IppStatus, ippiCopy_32s_C4R,
  11332. ( const Ipp32s* pSrc, int srcStep,
  11333. Ipp32s* pDst, int dstStep,IppiSize roiSize ))
  11334. IPPAPI ( IppStatus, ippiCopy_32s_AC4R,
  11335. ( const Ipp32s* pSrc, int srcStep,
  11336. Ipp32s* pDst, int dstStep,IppiSize roiSize ))
  11337. IPPAPI ( IppStatus, ippiCopy_32s_C1MR,
  11338. ( const Ipp32s* pSrc, int srcStep,
  11339. Ipp32s* pDst, int dstStep,IppiSize roiSize,
  11340. const Ipp8u* pMask, int maskStep ))
  11341. IPPAPI ( IppStatus, ippiCopy_32s_C3MR,
  11342. ( const Ipp32s* pSrc, int srcStep,
  11343. Ipp32s* pDst, int dstStep,IppiSize roiSize,
  11344. const Ipp8u* pMask, int maskStep ))
  11345. IPPAPI ( IppStatus, ippiCopy_32s_C4MR,
  11346. ( const Ipp32s* pSrc, int srcStep,
  11347. Ipp32s* pDst, int dstStep,IppiSize roiSize,
  11348. const Ipp8u* pMask, int maskStep ))
  11349. IPPAPI ( IppStatus, ippiCopy_32s_AC4MR,
  11350. ( const Ipp32s* pSrc, int srcStep,
  11351. Ipp32s* pDst, int dstStep,IppiSize roiSize,
  11352. const Ipp8u* pMask, int maskStep ))
  11353. IPPAPI ( IppStatus, ippiCopy_32s_C3P3R, ( const Ipp32s* pSrc, int srcStep,
  11354. Ipp32s* const pDst[3], int dstStep, IppiSize roiSize ))
  11355. IPPAPI ( IppStatus, ippiCopy_32s_P3C3R, (const Ipp32s* const pSrc[3],
  11356. int srcStep, Ipp32s* pDst, int dstStep, IppiSize roiSize ))
  11357. IPPAPI ( IppStatus, ippiCopy_32s_C4P4R, ( const Ipp32s* pSrc, int srcStep,
  11358. Ipp32s* const pDst[4], int dstStep, IppiSize roiSize ))
  11359. IPPAPI ( IppStatus, ippiCopy_32s_P4C4R, (const Ipp32s* const pSrc[4],
  11360. int srcStep, Ipp32s* pDst, int dstStep, IppiSize roiSize ))
  11361. IPPAPI( IppStatus, ippiCopy_16u_C3C1R,
  11362. ( const Ipp16u* pSrc, int srcStep,
  11363. Ipp16u* pDst, int dstStep, IppiSize roiSize ))
  11364. IPPAPI( IppStatus, ippiCopy_16u_C1C3R,
  11365. ( const Ipp16u* pSrc, int srcStep,
  11366. Ipp16u* pDst, int dstStep, IppiSize roiSize ))
  11367. IPPAPI( IppStatus, ippiCopy_16u_C4C1R,
  11368. ( const Ipp16u* pSrc, int srcStep,
  11369. Ipp16u* pDst, int dstStep, IppiSize roiSize ))
  11370. IPPAPI( IppStatus, ippiCopy_16u_C1C4R,
  11371. ( const Ipp16u* pSrc, int srcStep,
  11372. Ipp16u* pDst, int dstStep, IppiSize roiSize ))
  11373. IPPAPI( IppStatus, ippiCopy_16u_C3CR,
  11374. ( const Ipp16u* pSrc, int srcStep,
  11375. Ipp16u* pDst, int dstStep, IppiSize roiSize ))
  11376. IPPAPI( IppStatus, ippiCopy_16u_C4CR,
  11377. ( const Ipp16u* pSrc, int srcStep,
  11378. Ipp16u* pDst, int dstStep, IppiSize roiSize ))
  11379. IPPAPI( IppStatus, ippiCopy_16u_AC4C3R,
  11380. ( const Ipp16u* pSrc, int srcStep,
  11381. Ipp16u* pDst, int dstStep, IppiSize roiSize ))
  11382. IPPAPI( IppStatus, ippiCopy_16u_C3AC4R,
  11383. ( const Ipp16u* pSrc, int srcStep,
  11384. Ipp16u* pDst, int dstStep, IppiSize roiSize ))
  11385. IPPAPI ( IppStatus, ippiCopy_16u_C1R,
  11386. ( const Ipp16u* pSrc, int srcStep,
  11387. Ipp16u* pDst, int dstStep,IppiSize roiSize ))
  11388. IPPAPI ( IppStatus, ippiCopy_16u_C3R,
  11389. ( const Ipp16u* pSrc, int srcStep,
  11390. Ipp16u* pDst, int dstStep,IppiSize roiSize ))
  11391. IPPAPI ( IppStatus, ippiCopy_16u_C4R,
  11392. ( const Ipp16u* pSrc, int srcStep,
  11393. Ipp16u* pDst, int dstStep,IppiSize roiSize ))
  11394. IPPAPI ( IppStatus, ippiCopy_16u_AC4R,
  11395. ( const Ipp16u* pSrc, int srcStep,
  11396. Ipp16u* pDst, int dstStep,IppiSize roiSize ))
  11397. IPPAPI ( IppStatus, ippiCopy_16u_C1MR,
  11398. ( const Ipp16u* pSrc, int srcStep,
  11399. Ipp16u* pDst, int dstStep,IppiSize roiSize,
  11400. const Ipp8u* pMask, int maskStep ))
  11401. IPPAPI ( IppStatus, ippiCopy_16u_C3MR,
  11402. ( const Ipp16u* pSrc, int srcStep,
  11403. Ipp16u* pDst, int dstStep,IppiSize roiSize,
  11404. const Ipp8u* pMask, int maskStep ))
  11405. IPPAPI ( IppStatus, ippiCopy_16u_C4MR,
  11406. ( const Ipp16u* pSrc, int srcStep,
  11407. Ipp16u* pDst, int dstStep,IppiSize roiSize,
  11408. const Ipp8u* pMask, int maskStep ))
  11409. IPPAPI ( IppStatus, ippiCopy_16u_AC4MR,
  11410. ( const Ipp16u* pSrc, int srcStep,
  11411. Ipp16u* pDst, int dstStep,IppiSize roiSize,
  11412. const Ipp8u* pMask, int maskStep ))
  11413. IPPAPI ( IppStatus, ippiCopy_16u_C3P3R, ( const Ipp16u* pSrc, int srcStep,
  11414. Ipp16u* const pDst[3], int dstStep, IppiSize roiSize ))
  11415. IPPAPI ( IppStatus, ippiCopy_16u_P3C3R, (const Ipp16u* const pSrc[3],
  11416. int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize ))
  11417. IPPAPI ( IppStatus, ippiCopy_16u_C4P4R, ( const Ipp16u* pSrc, int srcStep,
  11418. Ipp16u* const pDst[4], int dstStep, IppiSize roiSize ))
  11419. IPPAPI ( IppStatus, ippiCopy_16u_P4C4R, (const Ipp16u* const pSrc[4],
  11420. int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize ))
  11421. /* ////////////////////////////////////////////////////////////////////////////
  11422. // Name: ippiCopyReplicateBorder
  11423. //
  11424. // Purpose: Copies pixel values between two buffers and adds
  11425. // the replicated border pixels.
  11426. //
  11427. // Returns:
  11428. // ippStsNullPtrErr One of the pointers is NULL
  11429. // ippStsSizeErr 1). srcRoiSize or dstRoiSize has a field with negative or zero value
  11430. // 2). topBorderHeight or leftBorderWidth is less than zero
  11431. // 3). dstRoiSize.width < srcRoiSize.width + leftBorderWidth
  11432. // 4). dstRoiSize.height < srcRoiSize.height + topBorderHeight
  11433. // ippStsStepErr srcStep or dstStep is less than or equal to zero
  11434. // ippStsNoErr OK
  11435. //
  11436. // Parameters:
  11437. // pSrc Pointer to the source image buffer
  11438. // srcStep Step in bytes through the source image
  11439. // pDst Pointer to the destination image buffer
  11440. // dstStep Step in bytes through the destination image
  11441. // scrRoiSize Size of the source ROI in pixels
  11442. // dstRoiSize Size of the destination ROI in pixels
  11443. // topBorderHeight Height of the top border in pixels
  11444. // leftBorderWidth Width of the left border in pixels
  11445. */
  11446. IPPAPI (IppStatus, ippiCopyReplicateBorder_8u_C1R,
  11447. ( const Ipp8u* pSrc, int srcStep, IppiSize srcRoiSize,
  11448. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  11449. int topBorderHeight, int leftBorderWidth ) )
  11450. IPPAPI (IppStatus, ippiCopyReplicateBorder_8u_C3R,
  11451. ( const Ipp8u* pSrc, int srcStep, IppiSize srcRoiSize,
  11452. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  11453. int topBorderHeight, int leftBorderWidth ) )
  11454. IPPAPI (IppStatus, ippiCopyReplicateBorder_8u_AC4R,
  11455. ( const Ipp8u* pSrc, int srcStep, IppiSize srcRoiSize,
  11456. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  11457. int topBorderHeight, int leftBorderWidth ) )
  11458. IPPAPI (IppStatus, ippiCopyReplicateBorder_8u_C4R,
  11459. ( const Ipp8u* pSrc, int srcStep, IppiSize srcRoiSize,
  11460. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  11461. int topBorderHeight, int leftBorderWidth ) )
  11462. IPPAPI (IppStatus, ippiCopyReplicateBorder_16s_C1R,
  11463. ( const Ipp16s* pSrc, int srcStep, IppiSize srcRoiSize,
  11464. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  11465. int topBorderHeight, int leftBorderWidth ) )
  11466. IPPAPI (IppStatus, ippiCopyReplicateBorder_16s_C3R,
  11467. ( const Ipp16s* pSrc, int srcStep, IppiSize srcRoiSize,
  11468. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  11469. int topBorderHeight, int leftBorderWidth ) )
  11470. IPPAPI (IppStatus, ippiCopyReplicateBorder_16s_AC4R,
  11471. ( const Ipp16s* pSrc, int srcStep, IppiSize srcRoiSize,
  11472. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  11473. int topBorderHeight, int leftBorderWidth ) )
  11474. IPPAPI (IppStatus, ippiCopyReplicateBorder_16s_C4R,
  11475. ( const Ipp16s* pSrc, int srcStep, IppiSize srcRoiSize,
  11476. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  11477. int topBorderHeight, int leftBorderWidth ) )
  11478. IPPAPI (IppStatus, ippiCopyReplicateBorder_32s_C1R,
  11479. ( const Ipp32s* pSrc, int srcStep, IppiSize srcRoiSize,
  11480. Ipp32s* pDst, int dstStep, IppiSize dstRoiSize,
  11481. int topBorderHeight, int leftBorderWidth ) )
  11482. IPPAPI (IppStatus, ippiCopyReplicateBorder_32s_C3R,
  11483. ( const Ipp32s* pSrc, int srcStep, IppiSize srcRoiSize,
  11484. Ipp32s* pDst, int dstStep, IppiSize dstRoiSize,
  11485. int topBorderHeight, int leftBorderWidth ) )
  11486. IPPAPI (IppStatus, ippiCopyReplicateBorder_32s_AC4R,
  11487. ( const Ipp32s* pSrc, int srcStep, IppiSize srcRoiSize,
  11488. Ipp32s* pDst, int dstStep, IppiSize dstRoiSize,
  11489. int topBorderHeight, int leftBorderWidth ) )
  11490. IPPAPI (IppStatus, ippiCopyReplicateBorder_32s_C4R,
  11491. ( const Ipp32s* pSrc, int srcStep, IppiSize srcRoiSize,
  11492. Ipp32s* pDst, int dstStep, IppiSize dstRoiSize,
  11493. int topBorderHeight, int leftBorderWidth ) )
  11494. IPPAPI ( IppStatus, ippiCopyReplicateBorder_8u_C1IR,
  11495. ( const Ipp8u* pSrc, int srcDstStep,
  11496. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11497. int topBorderHeight, int leftborderwidth ) )
  11498. IPPAPI ( IppStatus, ippiCopyReplicateBorder_8u_C3IR,
  11499. ( const Ipp8u* pSrc, int srcDstStep,
  11500. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11501. int topBorderHeight, int leftborderwidth ) )
  11502. IPPAPI ( IppStatus, ippiCopyReplicateBorder_8u_AC4IR,
  11503. ( const Ipp8u* pSrc, int srcDstStep,
  11504. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11505. int topBorderHeight, int leftborderwidth ) )
  11506. IPPAPI ( IppStatus, ippiCopyReplicateBorder_8u_C4IR,
  11507. ( const Ipp8u* pSrc, int srcDstStep,
  11508. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11509. int topBorderHeight, int leftborderwidth ) )
  11510. IPPAPI ( IppStatus, ippiCopyReplicateBorder_16s_C1IR,
  11511. ( const Ipp16s* pSrc, int srcDstStep,
  11512. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11513. int topBorderHeight, int leftborderwidth ) )
  11514. IPPAPI ( IppStatus, ippiCopyReplicateBorder_16s_C3IR,
  11515. ( const Ipp16s* pSrc, int srcDstStep,
  11516. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11517. int topBorderHeight, int leftborderwidth ) )
  11518. IPPAPI ( IppStatus, ippiCopyReplicateBorder_16s_AC4IR,
  11519. ( const Ipp16s* pSrc, int srcDstStep,
  11520. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11521. int topBorderHeight, int leftborderwidth ) )
  11522. IPPAPI ( IppStatus, ippiCopyReplicateBorder_16s_C4IR,
  11523. ( const Ipp16s* pSrc, int srcDstStep,
  11524. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11525. int topBorderHeight, int leftborderwidth ) )
  11526. IPPAPI ( IppStatus, ippiCopyReplicateBorder_32s_C1IR,
  11527. ( const Ipp32s* pSrc, int srcDstStep,
  11528. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11529. int topBorderHeight, int leftborderwidth ) )
  11530. IPPAPI ( IppStatus, ippiCopyReplicateBorder_32s_C3IR,
  11531. ( const Ipp32s* pSrc, int srcDstStep,
  11532. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11533. int topBorderHeight, int leftborderwidth ) )
  11534. IPPAPI ( IppStatus, ippiCopyReplicateBorder_32s_AC4IR,
  11535. ( const Ipp32s* pSrc, int srcDstStep,
  11536. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11537. int topBorderHeight, int leftborderwidth ) )
  11538. IPPAPI ( IppStatus, ippiCopyReplicateBorder_32s_C4IR,
  11539. ( const Ipp32s* pSrc, int srcDstStep,
  11540. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11541. int topBorderHeight, int leftborderwidth ) )
  11542. IPPAPI ( IppStatus, ippiCopyReplicateBorder_16u_C1IR,
  11543. ( const Ipp16u* pSrc, int srcDstStep,
  11544. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11545. int topBorderHeight, int leftborderwidth ) )
  11546. IPPAPI ( IppStatus, ippiCopyReplicateBorder_16u_C3IR,
  11547. ( const Ipp16u* pSrc, int srcDstStep,
  11548. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11549. int topBorderHeight, int leftborderwidth ) )
  11550. IPPAPI ( IppStatus, ippiCopyReplicateBorder_16u_AC4IR,
  11551. ( const Ipp16u* pSrc, int srcDstStep,
  11552. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11553. int topBorderHeight, int leftborderwidth ) )
  11554. IPPAPI ( IppStatus, ippiCopyReplicateBorder_16u_C4IR,
  11555. ( const Ipp16u* pSrc, int srcDstStep,
  11556. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11557. int topBorderHeight, int leftborderwidth ) )
  11558. IPPAPI (IppStatus, ippiCopyReplicateBorder_16u_C1R,
  11559. ( const Ipp16u* pSrc, int srcStep, IppiSize srcRoiSize,
  11560. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  11561. int topBorderHeight, int leftBorderWidth ) )
  11562. IPPAPI (IppStatus, ippiCopyReplicateBorder_16u_C3R,
  11563. ( const Ipp16u* pSrc, int srcStep, IppiSize srcRoiSize,
  11564. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  11565. int topBorderHeight, int leftBorderWidth ) )
  11566. IPPAPI (IppStatus, ippiCopyReplicateBorder_16u_AC4R,
  11567. ( const Ipp16u* pSrc, int srcStep, IppiSize srcRoiSize,
  11568. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  11569. int topBorderHeight, int leftBorderWidth ) )
  11570. IPPAPI (IppStatus, ippiCopyReplicateBorder_16u_C4R,
  11571. ( const Ipp16u* pSrc, int srcStep, IppiSize srcRoiSize,
  11572. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  11573. int topBorderHeight, int leftBorderWidth ) )
  11574. IPPAPI (IppStatus, ippiCopyReplicateBorder_32f_C1R,
  11575. ( const Ipp32f* pSrc, int srcStep, IppiSize srcRoiSize,
  11576. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  11577. int topBorderHeight, int leftBorderWidth ) )
  11578. IPPAPI (IppStatus, ippiCopyReplicateBorder_32f_C3R,
  11579. ( const Ipp32f* pSrc, int srcStep, IppiSize srcRoiSize,
  11580. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  11581. int topBorderHeight, int leftBorderWidth ) )
  11582. IPPAPI (IppStatus, ippiCopyReplicateBorder_32f_AC4R,
  11583. ( const Ipp32f* pSrc, int srcStep, IppiSize srcRoiSize,
  11584. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  11585. int topBorderHeight, int leftBorderWidth ) )
  11586. IPPAPI (IppStatus, ippiCopyReplicateBorder_32f_C4R,
  11587. ( const Ipp32f* pSrc, int srcStep, IppiSize srcRoiSize,
  11588. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  11589. int topBorderHeight, int leftBorderWidth ) )
  11590. IPPAPI ( IppStatus, ippiCopyReplicateBorder_32f_C1IR,
  11591. ( const Ipp32f* pSrc, int srcDstStep,
  11592. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11593. int topBorderHeight, int leftborderwidth ) )
  11594. IPPAPI ( IppStatus, ippiCopyReplicateBorder_32f_C3IR,
  11595. ( const Ipp32f* pSrc, int srcDstStep,
  11596. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11597. int topBorderHeight, int leftborderwidth ) )
  11598. IPPAPI ( IppStatus, ippiCopyReplicateBorder_32f_AC4IR,
  11599. ( const Ipp32f* pSrc, int srcDstStep,
  11600. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11601. int topBorderHeight, int leftborderwidth ) )
  11602. IPPAPI ( IppStatus, ippiCopyReplicateBorder_32f_C4IR,
  11603. ( const Ipp32f* pSrc, int srcDstStep,
  11604. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11605. int topBorderHeight, int leftborderwidth ) )
  11606. /* ////////////////////////////////////////////////////////////////////////////
  11607. // Name: ippiCopyConstBorder
  11608. //
  11609. // Purpose: Copies pixel values between two buffers and adds
  11610. // the border pixels with constant value.
  11611. //
  11612. // Returns:
  11613. // ippStsNullPtrErr One of the pointers is NULL
  11614. // ippStsSizeErr 1). srcRoiSize or dstRoiSize has a field with negative or zero value
  11615. // 2). topBorderHeight or leftBorderWidth is less than zero
  11616. // 3). dstRoiSize.width < srcRoiSize.width + leftBorderWidth
  11617. // 4). dstRoiSize.height < srcRoiSize.height + topBorderHeight
  11618. // ippStsStepErr srcStep or dstStep is less than or equal to zero
  11619. // ippStsNoErr OK
  11620. //
  11621. // Parameters:
  11622. // pSrc Pointer to the source image buffer
  11623. // srcStep Step in bytes through the source image
  11624. // pDst Pointer to the destination image buffer
  11625. // dstStep Step in bytes through the destination image
  11626. // srcRoiSize Size of the source ROI in pixels
  11627. // dstRoiSize Size of the destination ROI in pixels
  11628. // topBorderHeight Height of the top border in pixels
  11629. // leftBorderWidth Width of the left border in pixels
  11630. // value Constant value to assign to the border pixels
  11631. */
  11632. IPPAPI (IppStatus, ippiCopyConstBorder_8u_C1R,
  11633. ( const Ipp8u* pSrc, int srcStep, IppiSize srcRoiSize,
  11634. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  11635. int topBorderHeight, int leftBorderWidth,
  11636. Ipp8u value ) )
  11637. IPPAPI (IppStatus, ippiCopyConstBorder_8u_C3R,
  11638. ( const Ipp8u* pSrc, int srcStep, IppiSize srcRoiSize,
  11639. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  11640. int topBorderHeight, int leftBorderWidth,
  11641. const Ipp8u value[3] ) )
  11642. IPPAPI (IppStatus, ippiCopyConstBorder_8u_AC4R,
  11643. ( const Ipp8u* pSrc, int srcStep, IppiSize srcRoiSize,
  11644. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  11645. int topBorderHeight, int leftBorderWidth,
  11646. const Ipp8u value[3] ) )
  11647. IPPAPI (IppStatus, ippiCopyConstBorder_8u_C4R,
  11648. ( const Ipp8u* pSrc, int srcStep, IppiSize srcRoiSize,
  11649. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  11650. int topBorderHeight, int leftBorderWidth,
  11651. const Ipp8u value[4] ) )
  11652. IPPAPI (IppStatus, ippiCopyConstBorder_16s_C1R,
  11653. ( const Ipp16s* pSrc, int srcStep, IppiSize srcRoiSize,
  11654. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  11655. int topBorderHeight, int leftBorderWidth,
  11656. Ipp16s value ) )
  11657. IPPAPI (IppStatus, ippiCopyConstBorder_16s_C3R,
  11658. ( const Ipp16s* pSrc, int srcStep, IppiSize srcRoiSize,
  11659. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  11660. int topBorderHeight, int leftBorderWidth,
  11661. const Ipp16s value[3] ) )
  11662. IPPAPI (IppStatus, ippiCopyConstBorder_16s_AC4R,
  11663. ( const Ipp16s* pSrc, int srcStep, IppiSize srcRoiSize,
  11664. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  11665. int topBorderHeight, int leftBorderWidth,
  11666. const Ipp16s value[3] ) )
  11667. IPPAPI (IppStatus, ippiCopyConstBorder_16s_C4R,
  11668. ( const Ipp16s* pSrc, int srcStep, IppiSize srcRoiSize,
  11669. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize,
  11670. int topBorderHeight, int leftBorderWidth,
  11671. const Ipp16s value[4] ) )
  11672. IPPAPI (IppStatus, ippiCopyConstBorder_32s_C1R,
  11673. ( const Ipp32s* pSrc, int srcStep, IppiSize srcRoiSize,
  11674. Ipp32s* pDst, int dstStep, IppiSize dstRoiSize,
  11675. int topBorderHeight, int leftBorderWidth,
  11676. Ipp32s value ) )
  11677. IPPAPI (IppStatus, ippiCopyConstBorder_32s_C3R,
  11678. ( const Ipp32s* pSrc, int srcStep, IppiSize srcRoiSize,
  11679. Ipp32s* pDst, int dstStep, IppiSize dstRoiSize,
  11680. int topBorderHeight, int leftBorderWidth,
  11681. const Ipp32s value[3] ) )
  11682. IPPAPI (IppStatus, ippiCopyConstBorder_32s_AC4R,
  11683. ( const Ipp32s* pSrc, int srcStep, IppiSize srcRoiSize,
  11684. Ipp32s* pDst, int dstStep, IppiSize dstRoiSize,
  11685. int topBorderHeight, int leftBorderWidth,
  11686. const Ipp32s value[3] ) )
  11687. IPPAPI (IppStatus, ippiCopyConstBorder_32s_C4R,
  11688. ( const Ipp32s* pSrc, int srcStep, IppiSize srcRoiSize,
  11689. Ipp32s* pDst, int dstStep, IppiSize dstRoiSize,
  11690. int topBorderHeight, int leftBorderWidth,
  11691. const Ipp32s value[4] ) )
  11692. IPPAPI (IppStatus, ippiCopyConstBorder_16u_C1R,
  11693. ( const Ipp16u* pSrc, int srcStep, IppiSize srcRoiSize,
  11694. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  11695. int topBorderHeight, int leftBorderWidth,
  11696. Ipp16u value ) )
  11697. IPPAPI (IppStatus, ippiCopyConstBorder_16u_C3R,
  11698. ( const Ipp16u* pSrc, int srcStep, IppiSize srcRoiSize,
  11699. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  11700. int topBorderHeight, int leftBorderWidth,
  11701. const Ipp16u value[3] ) )
  11702. IPPAPI (IppStatus, ippiCopyConstBorder_16u_AC4R,
  11703. ( const Ipp16u* pSrc, int srcStep, IppiSize srcRoiSize,
  11704. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  11705. int topBorderHeight, int leftBorderWidth,
  11706. const Ipp16u value[3] ) )
  11707. IPPAPI (IppStatus, ippiCopyConstBorder_16u_C4R,
  11708. ( const Ipp16u* pSrc, int srcStep, IppiSize srcRoiSize,
  11709. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  11710. int topBorderHeight, int leftBorderWidth,
  11711. const Ipp16u value[4] ) )
  11712. IPPAPI (IppStatus, ippiCopyConstBorder_32f_C1R,
  11713. ( const Ipp32f* pSrc, int srcStep, IppiSize srcRoiSize,
  11714. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  11715. int topBorderHeight, int leftBorderWidth,
  11716. Ipp32f value ) )
  11717. IPPAPI (IppStatus, ippiCopyConstBorder_32f_C3R,
  11718. ( const Ipp32f* pSrc, int srcStep, IppiSize srcRoiSize,
  11719. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  11720. int topBorderHeight, int leftBorderWidth,
  11721. const Ipp32f value[3] ) )
  11722. IPPAPI (IppStatus, ippiCopyConstBorder_32f_AC4R,
  11723. ( const Ipp32f* pSrc, int srcStep, IppiSize srcRoiSize,
  11724. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  11725. int topBorderHeight, int leftBorderWidth,
  11726. const Ipp32f value[3] ) )
  11727. IPPAPI (IppStatus, ippiCopyConstBorder_32f_C4R,
  11728. ( const Ipp32f* pSrc, int srcStep, IppiSize srcRoiSize,
  11729. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  11730. int topBorderHeight, int leftBorderWidth,
  11731. const Ipp32f value[4] ) )
  11732. /* ////////////////////////////////////////////////////////////////////////////
  11733. // Name: ippiCopyWrapBorder
  11734. //
  11735. // Purpose: Copies pixel values between two buffers and adds the border pixels.
  11736. //
  11737. // Returns:
  11738. // ippStsNullPtrErr One of the pointers is NULL
  11739. // ippStsSizeErr 1). srcRoiSize or dstRoiSize has a field with negative or zero value
  11740. // 2). topBorderHeight or leftBorderWidth is less than zero
  11741. // 3). dstRoiSize.width < srcRoiSize.width + leftBorderWidth
  11742. // 4). dstRoiSize.height < srcRoiSize.height + topBorderHeight
  11743. // ippStsStepErr srcStep or dstStep is less than or equal to zero
  11744. // ippStsNoErr OK
  11745. //
  11746. // Parameters:
  11747. // pSrc Pointer to the source image buffer
  11748. // srcStep Step in bytes through the source image
  11749. // pDst Pointer to the destination image buffer
  11750. // dstStep Step in bytes through the destination image
  11751. // scrRoiSize Size of the source ROI in pixels
  11752. // dstRoiSize Size of the destination ROI in pixels
  11753. // topBorderHeight Height of the top border in pixels
  11754. // leftBorderWidth Width of the left border in pixels
  11755. */
  11756. IPPAPI (IppStatus, ippiCopyWrapBorder_32s_C1R,
  11757. ( const Ipp32s* pSrc, int srcStep, IppiSize srcRoiSize,
  11758. Ipp32s* pDst, int dstStep, IppiSize dstRoiSize,
  11759. int topBorderHeight, int leftBorderWidth ) )
  11760. IPPAPI ( IppStatus, ippiCopyWrapBorder_32s_C1IR,
  11761. ( const Ipp32s* pSrc, int srcDstStep,
  11762. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11763. int topBorderHeight, int leftborderwidth ) )
  11764. IPPAPI (IppStatus, ippiCopyWrapBorder_32f_C1R,
  11765. ( const Ipp32f* pSrc, int srcStep, IppiSize srcRoiSize,
  11766. Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  11767. int topBorderHeight, int leftBorderWidth ) )
  11768. IPPAPI ( IppStatus, ippiCopyWrapBorder_32f_C1IR,
  11769. ( const Ipp32f* pSrc, int srcDstStep,
  11770. IppiSize srcRoiSize, IppiSize dstRoiSize,
  11771. int topBorderHeight, int leftborderwidth ) )
  11772. /* ////////////////////////////////////////////////////////////////////////////
  11773. // Name: ippiDup
  11774. //
  11775. // Purpose: Duplication pixel values from the source image
  11776. // to the correspondent pixels in all channels
  11777. // of the destination image.
  11778. //
  11779. // Returns:
  11780. // ippStsNullPtrErr One of the pointers is NULL
  11781. // ippStsSizeErr roiSize has a field with zero or negative value
  11782. // ippStsNoErr OK
  11783. //
  11784. // Parameters:
  11785. // pSrc Pointer to the source image buffer
  11786. // srcStep Step in bytes through the source image buffer
  11787. // pDst Pointer to the destination image buffer
  11788. // dstStep Step in bytes through the destination image buffer
  11789. // roiSize Size of the ROI
  11790. */
  11791. IPPAPI( IppStatus, ippiDup_8u_C1C3R,
  11792. ( const Ipp8u* pSrc, int srcStep,
  11793. Ipp8u* pDst, int dstStep, IppiSize roiSize ))
  11794. /* /////////////////////////////////////////////////////////////////////////////
  11795. // Name: ippiSet
  11796. //
  11797. // Purpose: Sets pixels in the image buffer to a constant value
  11798. //
  11799. // Returns:
  11800. // ippStsNullPtrErr One of pointers is NULL
  11801. // ippStsSizeErr roiSize has a field with negative or zero value
  11802. // ippStsNoErr OK
  11803. //
  11804. // Parameters:
  11805. // value Constant value assigned to each pixel in the image buffer
  11806. // pDst Pointer to the destination image buffer
  11807. // dstStep Step in bytes through the destination image buffer
  11808. // roiSize Size of the ROI
  11809. // pMask Pointer to the mask image buffer
  11810. // maskStep Step in bytes through the mask image buffer
  11811. */
  11812. IPPAPI ( IppStatus, ippiSet_8u_C1R,
  11813. ( Ipp8u value, Ipp8u* pDst, int dstStep,
  11814. IppiSize roiSize ))
  11815. IPPAPI ( IppStatus, ippiSet_8u_C3CR,
  11816. ( Ipp8u value, Ipp8u* pDst, int dstStep,
  11817. IppiSize roiSize ))
  11818. IPPAPI ( IppStatus, ippiSet_8u_C4CR,
  11819. ( Ipp8u value, Ipp8u* pDst, int dstStep,
  11820. IppiSize roiSize ))
  11821. IPPAPI ( IppStatus, ippiSet_8u_C3R,
  11822. ( const Ipp8u value[3], Ipp8u* pDst, int dstStep,
  11823. IppiSize roiSize ))
  11824. IPPAPI ( IppStatus, ippiSet_8u_C4R,
  11825. ( const Ipp8u value[4], Ipp8u* pDst, int dstStep,
  11826. IppiSize roiSize ))
  11827. IPPAPI ( IppStatus, ippiSet_8u_AC4R,
  11828. ( const Ipp8u value[3], Ipp8u* pDst, int dstStep,
  11829. IppiSize roiSize ))
  11830. IPPAPI ( IppStatus, ippiSet_8u_C1MR,
  11831. ( Ipp8u value, Ipp8u* pDst, int dstStep,
  11832. IppiSize roiSize,
  11833. const Ipp8u* pMask, int maskStep ))
  11834. IPPAPI ( IppStatus, ippiSet_8u_C3MR,
  11835. ( const Ipp8u value[3], Ipp8u* pDst, int dstStep,
  11836. IppiSize roiSize,
  11837. const Ipp8u* pMask, int maskStep ))
  11838. IPPAPI ( IppStatus, ippiSet_8u_C4MR,
  11839. ( const Ipp8u value[4], Ipp8u* pDst, int dstStep,
  11840. IppiSize roiSize,
  11841. const Ipp8u* pMask, int maskStep ))
  11842. IPPAPI ( IppStatus, ippiSet_8u_AC4MR,
  11843. ( const Ipp8u value[3], Ipp8u* pDst, int dstStep,
  11844. IppiSize roiSize,
  11845. const Ipp8u* pMask, int maskStep ))
  11846. IPPAPI ( IppStatus, ippiSet_16s_C1R,
  11847. ( Ipp16s value, Ipp16s* pDst, int dstStep,
  11848. IppiSize roiSize ))
  11849. IPPAPI ( IppStatus, ippiSet_16s_C3CR,
  11850. ( Ipp16s value, Ipp16s* pDst, int dstStep,
  11851. IppiSize roiSize ))
  11852. IPPAPI ( IppStatus, ippiSet_16s_C4CR,
  11853. ( Ipp16s value, Ipp16s* pDst, int dstStep,
  11854. IppiSize roiSize ))
  11855. IPPAPI ( IppStatus, ippiSet_16s_C3R,
  11856. ( const Ipp16s value[3], Ipp16s* pDst, int dstStep,
  11857. IppiSize roiSize ))
  11858. IPPAPI ( IppStatus, ippiSet_16s_C4R,
  11859. ( const Ipp16s value[4], Ipp16s* pDst, int dstStep,
  11860. IppiSize roiSize ))
  11861. IPPAPI ( IppStatus, ippiSet_16s_AC4R,
  11862. ( const Ipp16s value[3], Ipp16s* pDst, int dstStep,
  11863. IppiSize roiSize ))
  11864. IPPAPI ( IppStatus, ippiSet_16s_C1MR,
  11865. ( Ipp16s value, Ipp16s* pDst, int dstStep,
  11866. IppiSize roiSize,
  11867. const Ipp8u* pMask, int maskStep ))
  11868. IPPAPI ( IppStatus, ippiSet_16s_C3MR,
  11869. ( const Ipp16s value[3], Ipp16s* pDst, int dstStep,
  11870. IppiSize roiSize,
  11871. const Ipp8u* pMask, int maskStep ))
  11872. IPPAPI ( IppStatus, ippiSet_16s_C4MR,
  11873. ( const Ipp16s value[4], Ipp16s* pDst, int dstStep,
  11874. IppiSize roiSize,
  11875. const Ipp8u* pMask, int maskStep ))
  11876. IPPAPI ( IppStatus, ippiSet_16s_AC4MR,
  11877. ( const Ipp16s value[3], Ipp16s* pDst, int dstStep,
  11878. IppiSize roiSize,
  11879. const Ipp8u* pMask, int maskStep ))
  11880. IPPAPI ( IppStatus, ippiSet_32f_C1R,
  11881. ( Ipp32f value, Ipp32f* pDst, int dstStep,
  11882. IppiSize roiSize ))
  11883. IPPAPI ( IppStatus, ippiSet_32f_C3CR,
  11884. ( Ipp32f value, Ipp32f* pDst, int dstStep,
  11885. IppiSize roiSize ))
  11886. IPPAPI ( IppStatus, ippiSet_32f_C4CR,
  11887. ( Ipp32f value, Ipp32f* pDst, int dstStep,
  11888. IppiSize roiSize ))
  11889. IPPAPI ( IppStatus, ippiSet_32f_C3R,
  11890. ( const Ipp32f value[3], Ipp32f* pDst, int dstStep,
  11891. IppiSize roiSize ))
  11892. IPPAPI ( IppStatus, ippiSet_32f_C4R,
  11893. ( const Ipp32f value[4], Ipp32f* pDst, int dstStep,
  11894. IppiSize roiSize ))
  11895. IPPAPI ( IppStatus, ippiSet_32f_AC4R,
  11896. ( const Ipp32f value[3], Ipp32f* pDst, int dstStep,
  11897. IppiSize roiSize ))
  11898. IPPAPI ( IppStatus, ippiSet_32f_C1MR,
  11899. ( Ipp32f value, Ipp32f* pDst, int dstStep,
  11900. IppiSize roiSize,
  11901. const Ipp8u* pMask, int maskStep ))
  11902. IPPAPI ( IppStatus, ippiSet_32f_C3MR,
  11903. ( const Ipp32f value[3], Ipp32f* pDst, int dstStep,
  11904. IppiSize roiSize,
  11905. const Ipp8u* pMask, int maskStep ))
  11906. IPPAPI ( IppStatus, ippiSet_32f_C4MR,
  11907. ( const Ipp32f value[4], Ipp32f* pDst, int dstStep,
  11908. IppiSize roiSize,
  11909. const Ipp8u* pMask, int maskStep ))
  11910. IPPAPI ( IppStatus, ippiSet_32f_AC4MR,
  11911. ( const Ipp32f value[3], Ipp32f* pDst, int dstStep,
  11912. IppiSize roiSize,
  11913. const Ipp8u* pMask, int maskStep ))
  11914. IPPAPI ( IppStatus, ippiSet_32s_C1R,
  11915. ( Ipp32s value, Ipp32s* pDst, int dstStep,
  11916. IppiSize roiSize ))
  11917. IPPAPI ( IppStatus, ippiSet_32s_C3CR,
  11918. ( Ipp32s value, Ipp32s* pDst, int dstStep,
  11919. IppiSize roiSize ))
  11920. IPPAPI ( IppStatus, ippiSet_32s_C4CR,
  11921. ( Ipp32s value, Ipp32s* pDst, int dstStep,
  11922. IppiSize roiSize ))
  11923. IPPAPI ( IppStatus, ippiSet_32s_C3R,
  11924. ( const Ipp32s value[3], Ipp32s* pDst, int dstStep,
  11925. IppiSize roiSize ))
  11926. IPPAPI ( IppStatus, ippiSet_32s_C4R,
  11927. ( const Ipp32s value[4], Ipp32s* pDst, int dstStep,
  11928. IppiSize roiSize ))
  11929. IPPAPI ( IppStatus, ippiSet_32s_AC4R,
  11930. ( const Ipp32s value[3], Ipp32s* pDst, int dstStep,
  11931. IppiSize roiSize ))
  11932. IPPAPI ( IppStatus, ippiSet_32s_C1MR,
  11933. ( Ipp32s value, Ipp32s* pDst, int dstStep,
  11934. IppiSize roiSize,
  11935. const Ipp8u* pMask, int maskStep ))
  11936. IPPAPI ( IppStatus, ippiSet_32s_C3MR,
  11937. ( const Ipp32s value[3], Ipp32s* pDst, int dstStep,
  11938. IppiSize roiSize,
  11939. const Ipp8u* pMask, int maskStep ))
  11940. IPPAPI ( IppStatus, ippiSet_32s_C4MR,
  11941. ( const Ipp32s value[4], Ipp32s* pDst, int dstStep,
  11942. IppiSize roiSize,
  11943. const Ipp8u* pMask, int maskStep ))
  11944. IPPAPI ( IppStatus, ippiSet_32s_AC4MR,
  11945. ( const Ipp32s value[3], Ipp32s* pDst, int dstStep,
  11946. IppiSize roiSize,
  11947. const Ipp8u* pMask, int maskStep ))
  11948. IPPAPI ( IppStatus, ippiSet_16u_C1R,
  11949. ( Ipp16u value, Ipp16u* pDst, int dstStep,
  11950. IppiSize roiSize ))
  11951. IPPAPI ( IppStatus, ippiSet_16u_C3CR,
  11952. ( Ipp16u value, Ipp16u* pDst, int dstStep,
  11953. IppiSize roiSize ))
  11954. IPPAPI ( IppStatus, ippiSet_16u_C4CR,
  11955. ( Ipp16u value, Ipp16u* pDst, int dstStep,
  11956. IppiSize roiSize ))
  11957. IPPAPI ( IppStatus, ippiSet_16u_C3R,
  11958. ( const Ipp16u value[3], Ipp16u* pDst, int dstStep,
  11959. IppiSize roiSize ))
  11960. IPPAPI ( IppStatus, ippiSet_16u_C4R,
  11961. ( const Ipp16u value[4], Ipp16u* pDst, int dstStep,
  11962. IppiSize roiSize ))
  11963. IPPAPI ( IppStatus, ippiSet_16u_AC4R,
  11964. ( const Ipp16u value[3], Ipp16u* pDst, int dstStep,
  11965. IppiSize roiSize ))
  11966. IPPAPI ( IppStatus, ippiSet_16u_C1MR,
  11967. ( Ipp16u value, Ipp16u* pDst, int dstStep,
  11968. IppiSize roiSize,
  11969. const Ipp8u* pMask, int maskStep ))
  11970. IPPAPI ( IppStatus, ippiSet_16u_C3MR,
  11971. ( const Ipp16u value[3], Ipp16u* pDst, int dstStep,
  11972. IppiSize roiSize,
  11973. const Ipp8u* pMask, int maskStep ))
  11974. IPPAPI ( IppStatus, ippiSet_16u_C4MR,
  11975. ( const Ipp16u value[4], Ipp16u* pDst, int dstStep,
  11976. IppiSize roiSize,
  11977. const Ipp8u* pMask, int maskStep ))
  11978. IPPAPI ( IppStatus, ippiSet_16u_AC4MR,
  11979. ( const Ipp16u value[3], Ipp16u* pDst, int dstStep,
  11980. IppiSize roiSize,
  11981. const Ipp8u* pMask, int maskStep ))
  11982. /* //////////////////////////////////////////////////////////////////////////////////
  11983. // Name: ippiAddRandUniform_Direct_8u_C1IR, ippiAddRandUniform_Direct_8u_C3IR,
  11984. // ippiAddRandUniform_Direct_8u_C4IR, ippiAddRandUniform_Direct_8u_AC4IR,
  11985. // ippiAddRandUniform_Direct_16s_C1IR, ippiAddRandUniform_Direct_16s_C3IR,
  11986. // ippiAddRandUniform_Direct_16s_C4IR, ippiAddRandUniform_Direct_16s_AC4IR,
  11987. // ippiAddRandUniform_Direct_32f_C1IR, ippiAddRandUniform_Direct_32f_C3IR,
  11988. // ippiAddRandUniform_Direct_32f_C4IR, ippiAddRandUniform_Direct_32f_AC4IR
  11989. // ippiAddRandUniform_Direct_16u_C1IR, ippiAddRandUniform_Direct_16u_C3IR,
  11990. // ippiAddRandUniform_Direct_16u_C4IR, ippiAddRandUniform_Direct_16u_AC4IR,
  11991. //
  11992. // Purpose: Generates pseudo-random samples with uniform distribution and adds them
  11993. // to an image.
  11994. //
  11995. // Returns:
  11996. // ippStsNoErr OK
  11997. // ippStsNullPtrErr One of the pointers is NULL
  11998. // ippStsSizeErr roiSize has a field with zero or negative value
  11999. // ippStsStepErr The step in image is less than or equal to zero
  12000. //
  12001. // Parameters:
  12002. // pSrcDst Pointer to the image
  12003. // srcDstStep Step in bytes through the image
  12004. // roiSize ROI size
  12005. // low The lower bounds of the uniform distributions range
  12006. // high The upper bounds of the uniform distributions range
  12007. // pSeed Pointer to the seed value for the pseudo-random number
  12008. // generator
  12009. */
  12010. IPPAPI(IppStatus, ippiAddRandUniform_Direct_8u_C1IR, (Ipp8u* pSrcDst, int srcDstStep,
  12011. IppiSize roiSize, Ipp8u low, Ipp8u high,
  12012. unsigned int* pSeed))
  12013. IPPAPI(IppStatus, ippiAddRandUniform_Direct_8u_C3IR, (Ipp8u* pSrcDst, int srcDstStep,
  12014. IppiSize roiSize, Ipp8u low, Ipp8u high,
  12015. unsigned int* pSeed))
  12016. IPPAPI(IppStatus, ippiAddRandUniform_Direct_8u_C4IR, (Ipp8u* pSrcDst, int srcDstStep,
  12017. IppiSize roiSize, Ipp8u low, Ipp8u high,
  12018. unsigned int* pSeed))
  12019. IPPAPI(IppStatus, ippiAddRandUniform_Direct_8u_AC4IR, (Ipp8u* pSrcDst, int srcDstStep,
  12020. IppiSize roiSize, Ipp8u low, Ipp8u high,
  12021. unsigned int* pSeed))
  12022. IPPAPI(IppStatus, ippiAddRandUniform_Direct_16s_C1IR, (Ipp16s* pSrcDst, int srcDstStep,
  12023. IppiSize roiSize, Ipp16s low, Ipp16s high,
  12024. unsigned int* pSeed))
  12025. IPPAPI(IppStatus, ippiAddRandUniform_Direct_16s_C3IR, (Ipp16s* pSrcDst, int srcDstStep,
  12026. IppiSize roiSize, Ipp16s low, Ipp16s high,
  12027. unsigned int* pSeed))
  12028. IPPAPI(IppStatus, ippiAddRandUniform_Direct_16s_C4IR, (Ipp16s* pSrcDst, int srcDstStep,
  12029. IppiSize roiSize, Ipp16s low, Ipp16s high,
  12030. unsigned int* pSeed))
  12031. IPPAPI(IppStatus, ippiAddRandUniform_Direct_16s_AC4IR, (Ipp16s* pSrcDst, int srcDstStep,
  12032. IppiSize roiSize, Ipp16s low, Ipp16s high,
  12033. unsigned int* pSeed))
  12034. IPPAPI(IppStatus, ippiAddRandUniform_Direct_32f_C1IR, (Ipp32f* pSrcDst, int srcDstStep,
  12035. IppiSize roiSize, Ipp32f low, Ipp32f high,
  12036. unsigned int* pSeed))
  12037. IPPAPI(IppStatus, ippiAddRandUniform_Direct_32f_C3IR, (Ipp32f* pSrcDst, int srcDstStep,
  12038. IppiSize roiSize, Ipp32f low, Ipp32f high,
  12039. unsigned int* pSeed))
  12040. IPPAPI(IppStatus, ippiAddRandUniform_Direct_32f_C4IR, (Ipp32f* pSrcDst, int srcDstStep,
  12041. IppiSize roiSize, Ipp32f low, Ipp32f high,
  12042. unsigned int* pSeed))
  12043. IPPAPI(IppStatus, ippiAddRandUniform_Direct_32f_AC4IR, (Ipp32f* pSrcDst, int srcDstStep,
  12044. IppiSize roiSize, Ipp32f low, Ipp32f high,
  12045. unsigned int* pSeed))
  12046. IPPAPI(IppStatus,ippiAddRandUniform_Direct_16u_C1IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize,
  12047. Ipp16u low, Ipp16u high, unsigned int* pSeed))
  12048. IPPAPI(IppStatus,ippiAddRandUniform_Direct_16u_C3IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize,
  12049. Ipp16u low, Ipp16u high, unsigned int* pSeed))
  12050. IPPAPI(IppStatus,ippiAddRandUniform_Direct_16u_C4IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize,
  12051. Ipp16u low, Ipp16u high, unsigned int* pSeed))
  12052. IPPAPI(IppStatus,ippiAddRandUniform_Direct_16u_AC4IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize,
  12053. Ipp16u low, Ipp16u high, unsigned int* pSeed))
  12054. /* ////////////////////////////////////////////////////////////////////////////////////////////
  12055. // Name: ippiAddRandGauss_Direct_8u_C1IR, ippiAddRandGauss_Direct_8u_C3IR,
  12056. // ippiAddRandGauss_Direct_8u_C4IR, ippiAddRandGauss_Direct_8u_AC4IR
  12057. // ippiAddRandGauss_Direct_16s_C1IR, ippiAddRandGauss_Direct_16s_C3IR,
  12058. // ippiAddRandGauss_Direct_16s_C4IR, ippiAddRandGauss_Direct_16s_AC4IR,
  12059. // ippiAddRandGauss_Direct_32f_C1IR, ippiAddRandGauss_Direct_32f_C3IR,
  12060. // ippiAddRandGauss_Direct_32f_C4IR, ippiAddRandGauss_Direct_32f_AC4IR
  12061. // ippiAddRandGauss_Direct_16u_C1IR, ippiAddRandGauss_Direct_16u_C3IR,
  12062. // ippiAddRandGauss_Direct_16u_C4IR, ippiAddRandGauss_Direct_16u_AC4IR,
  12063. //
  12064. // Purpose: Generates pseudo-random samples with normal distribution and adds them
  12065. // to an image.
  12066. //
  12067. // Returns:
  12068. // ippStsNoErr OK
  12069. // ippStsNullPtrErr One of the pointers is NULL
  12070. // ippStsSizeErr roiSize has a field with zero or negative value
  12071. // ippStsStepErr The step value is less than or equal to zero
  12072. //
  12073. // Parameters:
  12074. // pSrcDst Pointer to the image
  12075. // srcDstStep Step in bytes through the image
  12076. // roiSize ROI size
  12077. // mean The mean of the normal distribution
  12078. // stdev The standard deviation of the normal distribution
  12079. // pSeed Pointer to the seed value for the pseudo-random number
  12080. // generator
  12081. */
  12082. IPPAPI(IppStatus, ippiAddRandGauss_Direct_8u_C1IR, (Ipp8u* pSrcDst, int srcDstStep,
  12083. IppiSize roiSize, Ipp8u mean, Ipp8u stdev,
  12084. unsigned int* pSeed))
  12085. IPPAPI(IppStatus, ippiAddRandGauss_Direct_8u_C3IR, (Ipp8u* pSrcDst, int srcDstStep,
  12086. IppiSize roiSize, Ipp8u mean, Ipp8u stdev,
  12087. unsigned int* pSeed))
  12088. IPPAPI(IppStatus, ippiAddRandGauss_Direct_8u_C4IR, (Ipp8u* pSrcDst, int srcDstStep,
  12089. IppiSize roiSize, Ipp8u mean, Ipp8u stdev,
  12090. unsigned int* pSeed))
  12091. IPPAPI(IppStatus, ippiAddRandGauss_Direct_8u_AC4IR, (Ipp8u* pSrcDst, int srcDstStep,
  12092. IppiSize roiSize, Ipp8u mean, Ipp8u stdev,
  12093. unsigned int* pSeed))
  12094. IPPAPI(IppStatus, ippiAddRandGauss_Direct_16s_C1IR, (Ipp16s* pSrcDst, int srcDstStep,
  12095. IppiSize roiSize, Ipp16s mean, Ipp16s stdev,
  12096. unsigned int* pSeed))
  12097. IPPAPI(IppStatus, ippiAddRandGauss_Direct_16s_C3IR, (Ipp16s* pSrcDst, int srcDstStep,
  12098. IppiSize roiSize, Ipp16s mean, Ipp16s stdev,
  12099. unsigned int* pSeed))
  12100. IPPAPI(IppStatus, ippiAddRandGauss_Direct_16s_C4IR, (Ipp16s* pSrcDst, int srcDstStep,
  12101. IppiSize roiSize, Ipp16s mean, Ipp16s stdev,
  12102. unsigned int* pSeed))
  12103. IPPAPI(IppStatus, ippiAddRandGauss_Direct_16s_AC4IR, (Ipp16s* pSrcDst, int srcDstStep,
  12104. IppiSize roiSize, Ipp16s mean, Ipp16s stdev,
  12105. unsigned int* pSeed))
  12106. IPPAPI(IppStatus, ippiAddRandGauss_Direct_32f_C1IR, (Ipp32f* pSrcDst, int srcDstStep,
  12107. IppiSize roiSize, Ipp32f mean, Ipp32f stdev,
  12108. unsigned int* pSeed))
  12109. IPPAPI(IppStatus, ippiAddRandGauss_Direct_32f_C3IR, (Ipp32f* pSrcDst, int srcDstStep,
  12110. IppiSize roiSize, Ipp32f mean, Ipp32f stdev,
  12111. unsigned int* pSeed))
  12112. IPPAPI(IppStatus, ippiAddRandGauss_Direct_32f_C4IR, (Ipp32f* pSrcDst, int srcDstStep,
  12113. IppiSize roiSize, Ipp32f mean, Ipp32f stdev,
  12114. unsigned int* pSeed))
  12115. IPPAPI(IppStatus, ippiAddRandGauss_Direct_32f_AC4IR, (Ipp32f* pSrcDst, int srcDstStep,
  12116. IppiSize roiSize, Ipp32f mean, Ipp32f stdev,
  12117. unsigned int* pSeed))
  12118. IPPAPI(IppStatus,ippiAddRandGauss_Direct_16u_C1IR, (Ipp16u* pSrcDst,int srcDstStep,IppiSize roiSize,
  12119. Ipp16u mean, Ipp16u stdev, unsigned int* pSeed))
  12120. IPPAPI(IppStatus,ippiAddRandGauss_Direct_16u_C3IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize,
  12121. Ipp16u mean, Ipp16u stdev, unsigned int* pSeed))
  12122. IPPAPI(IppStatus,ippiAddRandGauss_Direct_16u_C4IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize,
  12123. Ipp16u mean, Ipp16u stdev, unsigned int* pSeed))
  12124. IPPAPI(IppStatus,ippiAddRandGauss_Direct_16u_AC4IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize,
  12125. Ipp16u mean, Ipp16u stdev, unsigned int* pSeed))
  12126. /* ////////////////////////////////////////////////////////////////////////////////////
  12127. // Name: ippiImageJaehne
  12128. // Purpose: Creates Jaenne's test image
  12129. // Returns:
  12130. // ippStsNoErr No error
  12131. // ippStsNullPtrErr pDst pointer is NULL
  12132. // ippStsSizeErr roiSize has a field with zero or negative value, or
  12133. // srcDstStep has a zero or negative value
  12134. // Parameters:
  12135. // pDst Pointer to the destination buffer
  12136. // DstStep Step in bytes through the destination buffer
  12137. // roiSize Size of the destination image ROI in pixels
  12138. // Notes:
  12139. // Dst(x,y,) = A*Sin(0.5*IPP_PI* (x2^2 + y2^2) / roiSize.height),
  12140. // x variables from 0 to roi.width-1,
  12141. // y variables from 0 to roi.height-1,
  12142. // x2 = (x-roi.width+1)/2.0 , y2 = (y-roi.height+1)/2.0 .
  12143. // A is the constant value depends on the image type being created.
  12144. */
  12145. IPPAPI(IppStatus, ippiImageJaehne_8u_C1R, (Ipp8u* pDst, int DstStep, IppiSize roiSize))
  12146. IPPAPI(IppStatus, ippiImageJaehne_8u_C3R, (Ipp8u* pDst, int DstStep, IppiSize roiSize))
  12147. IPPAPI(IppStatus, ippiImageJaehne_8s_C1R, (Ipp8s* pDst, int DstStep, IppiSize roiSize))
  12148. IPPAPI(IppStatus, ippiImageJaehne_8s_C3R, (Ipp8s* pDst, int DstStep, IppiSize roiSize))
  12149. IPPAPI(IppStatus, ippiImageJaehne_16u_C1R, (Ipp16u* pDst, int DstStep, IppiSize roiSize))
  12150. IPPAPI(IppStatus, ippiImageJaehne_16u_C3R, (Ipp16u* pDst, int DstStep, IppiSize roiSize))
  12151. IPPAPI(IppStatus, ippiImageJaehne_16s_C1R, (Ipp16s* pDst, int DstStep, IppiSize roiSize))
  12152. IPPAPI(IppStatus, ippiImageJaehne_16s_C3R, (Ipp16s* pDst, int DstStep, IppiSize roiSize))
  12153. IPPAPI(IppStatus, ippiImageJaehne_32s_C1R, (Ipp32s* pDst, int DstStep, IppiSize roiSize))
  12154. IPPAPI(IppStatus, ippiImageJaehne_32s_C3R, (Ipp32s* pDst, int DstStep, IppiSize roiSize))
  12155. IPPAPI(IppStatus, ippiImageJaehne_32f_C1R, (Ipp32f* pDst, int DstStep, IppiSize roiSize))
  12156. IPPAPI(IppStatus, ippiImageJaehne_32f_C3R, (Ipp32f* pDst, int DstStep, IppiSize roiSize))
  12157. IPPAPI(IppStatus, ippiImageJaehne_8u_C4R, (Ipp8u* pDst, int DstStep, IppiSize roiSize))
  12158. IPPAPI(IppStatus, ippiImageJaehne_8s_C4R, (Ipp8s* pDst, int DstStep, IppiSize roiSize))
  12159. IPPAPI(IppStatus, ippiImageJaehne_16u_C4R, (Ipp16u* pDst, int DstStep, IppiSize roiSize))
  12160. IPPAPI(IppStatus, ippiImageJaehne_16s_C4R, (Ipp16s* pDst, int DstStep, IppiSize roiSize))
  12161. IPPAPI(IppStatus, ippiImageJaehne_32s_C4R, (Ipp32s* pDst, int DstStep, IppiSize roiSize))
  12162. IPPAPI(IppStatus, ippiImageJaehne_32f_C4R, (Ipp32f* pDst, int DstStep, IppiSize roiSize))
  12163. IPPAPI(IppStatus, ippiImageJaehne_8u_AC4R, (Ipp8u* pDst, int DstStep, IppiSize roiSize))
  12164. IPPAPI(IppStatus, ippiImageJaehne_8s_AC4R, (Ipp8s* pDst, int DstStep, IppiSize roiSize))
  12165. IPPAPI(IppStatus, ippiImageJaehne_16u_AC4R,(Ipp16u* pDst, int DstStep, IppiSize roiSize))
  12166. IPPAPI(IppStatus, ippiImageJaehne_16s_AC4R,(Ipp16s* pDst, int DstStep, IppiSize roiSize))
  12167. IPPAPI(IppStatus, ippiImageJaehne_32s_AC4R,(Ipp32s* pDst, int DstStep, IppiSize roiSize))
  12168. IPPAPI(IppStatus, ippiImageJaehne_32f_AC4R,(Ipp32f* pDst, int DstStep, IppiSize roiSize))
  12169. /* /////////////////////////////////////////////////////////////////////////
  12170. // Name: ippiImageRamp
  12171. // Purpose: Creates an ippi test image with an intensity ramp
  12172. // Returns:
  12173. // ippStsNoErr No error
  12174. // ippStsNullPtrErr pDst pointer is NULL
  12175. // ippStsSizeErr roiSize has a field with zero or negative value, or
  12176. // srcDstStep has a zero or negative value
  12177. // Parameters:
  12178. // pDst Pointer to the destination buffer
  12179. // DstStep Step in bytes through the destination buffer
  12180. // roiSize Size of the destination image ROI in pixels
  12181. // offset Offset value
  12182. // slope Slope coefficient
  12183. // axis Specifies the direction of the image intensity ramp,
  12184. // possible values:
  12185. // ippAxsHorizontal in X-direction,
  12186. // ippAxsVertical in Y-direction,
  12187. // ippAxsBoth in both X and Y-directions.
  12188. // Notes: Dst(x,y) = offset + slope * x (if ramp for X-direction)
  12189. // Dst(x,y) = offset + slope * y (if ramp for Y-direction)
  12190. // Dst(x,y) = offset + slope * x*y (if ramp for X,Y-direction)
  12191. */
  12192. IPPAPI(IppStatus, ippiImageRamp_8u_C1R, (Ipp8u* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12193. IPPAPI(IppStatus, ippiImageRamp_8u_C3R, (Ipp8u* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12194. IPPAPI(IppStatus, ippiImageRamp_8s_C1R, (Ipp8s* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12195. IPPAPI(IppStatus, ippiImageRamp_8s_C3R, (Ipp8s* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12196. IPPAPI(IppStatus, ippiImageRamp_16u_C1R, (Ipp16u* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12197. IPPAPI(IppStatus, ippiImageRamp_16u_C3R, (Ipp16u* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12198. IPPAPI(IppStatus, ippiImageRamp_16s_C1R, (Ipp16s* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12199. IPPAPI(IppStatus, ippiImageRamp_16s_C3R, (Ipp16s* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12200. IPPAPI(IppStatus, ippiImageRamp_32s_C1R, (Ipp32s* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12201. IPPAPI(IppStatus, ippiImageRamp_32s_C3R, (Ipp32s* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12202. IPPAPI(IppStatus, ippiImageRamp_32f_C1R, (Ipp32f* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12203. IPPAPI(IppStatus, ippiImageRamp_32f_C3R, (Ipp32f* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12204. IPPAPI(IppStatus, ippiImageRamp_8u_C4R, (Ipp8u* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12205. IPPAPI(IppStatus, ippiImageRamp_8s_C4R, (Ipp8s* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12206. IPPAPI(IppStatus, ippiImageRamp_16u_C4R,(Ipp16u* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12207. IPPAPI(IppStatus, ippiImageRamp_16s_C4R,(Ipp16s* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12208. IPPAPI(IppStatus, ippiImageRamp_32s_C4R,(Ipp32s* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12209. IPPAPI(IppStatus, ippiImageRamp_32f_C4R,(Ipp32f* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12210. IPPAPI(IppStatus, ippiImageRamp_8u_AC4R, (Ipp8u* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12211. IPPAPI(IppStatus, ippiImageRamp_8s_AC4R, (Ipp8s* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12212. IPPAPI(IppStatus, ippiImageRamp_16u_AC4R,(Ipp16u* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12213. IPPAPI(IppStatus, ippiImageRamp_16s_AC4R,(Ipp16s* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12214. IPPAPI(IppStatus, ippiImageRamp_32s_AC4R,(Ipp32s* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12215. IPPAPI(IppStatus, ippiImageRamp_32f_AC4R,(Ipp32f* pDst, int DstStep, IppiSize roiSize, float offset, float slope, IppiAxis axis))
  12216. /* ////////////////////////////////////////////////////////////////////////////
  12217. // Name: ippiConvert
  12218. //
  12219. // Purpose: Converts pixel values of an image from one bit depth to another
  12220. //
  12221. // Returns:
  12222. // ippStsNullPtrErr One of the pointers is NULL
  12223. // ippStsSizeErr roiSize has a field with zero or negative value
  12224. // ippStsStepErr srcStep or dstStep has zero or negative value
  12225. // ippStsNoErr OK
  12226. //
  12227. // Parameters:
  12228. // pSrc Pointer to the source image
  12229. // srcStep Step through the source image
  12230. // pDst Pointer to the destination image
  12231. // dstStep Step in bytes through the destination image
  12232. // roiSize Size of the ROI
  12233. // roundMode Rounding mode, ippRndZero or ippRndNear
  12234. */
  12235. IPPAPI ( IppStatus, ippiConvert_8u16u_C1R,
  12236. (const Ipp8u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12237. IppiSize roiSize ))
  12238. IPPAPI ( IppStatus, ippiConvert_8u16u_C3R,
  12239. (const Ipp8u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12240. IppiSize roiSize ))
  12241. IPPAPI ( IppStatus, ippiConvert_8u16u_AC4R,
  12242. (const Ipp8u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12243. IppiSize roiSize ))
  12244. IPPAPI ( IppStatus, ippiConvert_8u16u_C4R,
  12245. (const Ipp8u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12246. IppiSize roiSize ))
  12247. IPPAPI ( IppStatus, ippiConvert_16u8u_C1R,
  12248. ( const Ipp16u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12249. IppiSize roiSize ))
  12250. IPPAPI ( IppStatus, ippiConvert_16u8u_C3R,
  12251. ( const Ipp16u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12252. IppiSize roiSize ))
  12253. IPPAPI ( IppStatus, ippiConvert_16u8u_AC4R,
  12254. ( const Ipp16u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12255. IppiSize roiSize ))
  12256. IPPAPI ( IppStatus, ippiConvert_16u8u_C4R,
  12257. ( const Ipp16u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12258. IppiSize roiSize ))
  12259. IPPAPI ( IppStatus, ippiConvert_8u16s_C1R,
  12260. (const Ipp8u* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12261. IppiSize roiSize ))
  12262. IPPAPI ( IppStatus, ippiConvert_8u16s_C3R,
  12263. (const Ipp8u* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12264. IppiSize roiSize ))
  12265. IPPAPI ( IppStatus, ippiConvert_8u16s_AC4R,
  12266. (const Ipp8u* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12267. IppiSize roiSize ))
  12268. IPPAPI ( IppStatus, ippiConvert_8u16s_C4R,
  12269. (const Ipp8u* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12270. IppiSize roiSize ))
  12271. IPPAPI ( IppStatus, ippiConvert_16s8u_C1R,
  12272. ( const Ipp16s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12273. IppiSize roiSize ))
  12274. IPPAPI ( IppStatus, ippiConvert_16s8u_C3R,
  12275. ( const Ipp16s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12276. IppiSize roiSize ))
  12277. IPPAPI ( IppStatus, ippiConvert_16s8u_AC4R,
  12278. ( const Ipp16s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12279. IppiSize roiSize ))
  12280. IPPAPI ( IppStatus, ippiConvert_16s8u_C4R,
  12281. ( const Ipp16s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12282. IppiSize roiSize ))
  12283. IPPAPI ( IppStatus, ippiConvert_8u32f_C1R,
  12284. (const Ipp8u* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12285. IppiSize roiSize ))
  12286. IPPAPI ( IppStatus, ippiConvert_8u32f_C3R,
  12287. (const Ipp8u* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12288. IppiSize roiSize ))
  12289. IPPAPI ( IppStatus, ippiConvert_8u32f_AC4R,
  12290. (const Ipp8u* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12291. IppiSize roiSize ))
  12292. IPPAPI ( IppStatus, ippiConvert_8u32f_C4R,
  12293. (const Ipp8u* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12294. IppiSize roiSize ))
  12295. IPPAPI ( IppStatus, ippiConvert_32f8u_C1R,
  12296. ( const Ipp32f* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12297. IppiSize roiSize, IppRoundMode roundMode ))
  12298. IPPAPI ( IppStatus, ippiConvert_32f8u_C3R,
  12299. ( const Ipp32f* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12300. IppiSize roiSize, IppRoundMode roundMode ))
  12301. IPPAPI ( IppStatus, ippiConvert_32f8u_AC4R,
  12302. ( const Ipp32f* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12303. IppiSize roiSize, IppRoundMode roundMode ))
  12304. IPPAPI ( IppStatus, ippiConvert_32f8u_C4R,
  12305. ( const Ipp32f* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12306. IppiSize roiSize, IppRoundMode roundMode ))
  12307. IPPAPI ( IppStatus, ippiConvert_16s32f_C1R,
  12308. (const Ipp16s* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12309. IppiSize roiSize ))
  12310. IPPAPI ( IppStatus, ippiConvert_16s32f_C3R,
  12311. (const Ipp16s* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12312. IppiSize roiSize ))
  12313. IPPAPI ( IppStatus, ippiConvert_16s32f_AC4R,
  12314. (const Ipp16s* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12315. IppiSize roiSize ))
  12316. IPPAPI ( IppStatus, ippiConvert_16s32f_C4R,
  12317. (const Ipp16s* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12318. IppiSize roiSize ))
  12319. IPPAPI ( IppStatus, ippiConvert_32f16s_C1R,
  12320. ( const Ipp32f* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12321. IppiSize roiSize, IppRoundMode roundMode ))
  12322. IPPAPI ( IppStatus, ippiConvert_32f16s_C3R,
  12323. ( const Ipp32f* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12324. IppiSize roiSize, IppRoundMode roundMode ))
  12325. IPPAPI ( IppStatus, ippiConvert_32f16s_AC4R,
  12326. ( const Ipp32f* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12327. IppiSize roiSize, IppRoundMode roundMode ))
  12328. IPPAPI ( IppStatus, ippiConvert_32f16s_C4R,
  12329. ( const Ipp32f* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12330. IppiSize roiSize, IppRoundMode roundMode ))
  12331. IPPAPI ( IppStatus, ippiConvert_8s32f_C1R,
  12332. (const Ipp8s* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12333. IppiSize roiSize ))
  12334. IPPAPI ( IppStatus, ippiConvert_8s32f_C3R,
  12335. (const Ipp8s* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12336. IppiSize roiSize ))
  12337. IPPAPI ( IppStatus, ippiConvert_8s32f_AC4R,
  12338. (const Ipp8s* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12339. IppiSize roiSize ))
  12340. IPPAPI ( IppStatus, ippiConvert_8s32f_C4R,
  12341. (const Ipp8s* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12342. IppiSize roiSize ))
  12343. IPPAPI ( IppStatus, ippiConvert_32f8s_C1R,
  12344. ( const Ipp32f* pSrc, int srcStep, Ipp8s* pDst, int dstStep,
  12345. IppiSize roiSize, IppRoundMode roundMode ))
  12346. IPPAPI ( IppStatus, ippiConvert_32f8s_C3R,
  12347. ( const Ipp32f* pSrc, int srcStep, Ipp8s* pDst, int dstStep,
  12348. IppiSize roiSize, IppRoundMode roundMode ))
  12349. IPPAPI ( IppStatus, ippiConvert_32f8s_AC4R,
  12350. ( const Ipp32f* pSrc, int srcStep, Ipp8s* pDst, int dstStep,
  12351. IppiSize roiSize, IppRoundMode roundMode ))
  12352. IPPAPI ( IppStatus, ippiConvert_32f8s_C4R,
  12353. ( const Ipp32f* pSrc, int srcStep, Ipp8s* pDst, int dstStep,
  12354. IppiSize roiSize, IppRoundMode roundMode ))
  12355. IPPAPI ( IppStatus, ippiConvert_16u32f_C1R,
  12356. (const Ipp16u* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12357. IppiSize roiSize ))
  12358. IPPAPI ( IppStatus, ippiConvert_16u32f_C3R,
  12359. (const Ipp16u* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12360. IppiSize roiSize ))
  12361. IPPAPI ( IppStatus, ippiConvert_16u32f_AC4R,
  12362. (const Ipp16u* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12363. IppiSize roiSize ))
  12364. IPPAPI ( IppStatus, ippiConvert_16u32f_C4R,
  12365. (const Ipp16u* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12366. IppiSize roiSize ))
  12367. IPPAPI ( IppStatus, ippiConvert_32f16u_C1R,
  12368. ( const Ipp32f* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12369. IppiSize roiSize, IppRoundMode roundMode ))
  12370. IPPAPI ( IppStatus, ippiConvert_32f16u_C3R,
  12371. ( const Ipp32f* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12372. IppiSize roiSize, IppRoundMode roundMode ))
  12373. IPPAPI ( IppStatus, ippiConvert_32f16u_AC4R,
  12374. ( const Ipp32f* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12375. IppiSize roiSize, IppRoundMode roundMode ))
  12376. IPPAPI ( IppStatus, ippiConvert_32f16u_C4R,
  12377. ( const Ipp32f* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12378. IppiSize roiSize, IppRoundMode roundMode ))
  12379. IPPAPI ( IppStatus, ippiConvert_8u32s_C1R,
  12380. (const Ipp8u* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12381. IppiSize roiSize ))
  12382. IPPAPI ( IppStatus, ippiConvert_8u32s_C3R,
  12383. (const Ipp8u* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12384. IppiSize roiSize ))
  12385. IPPAPI ( IppStatus, ippiConvert_8u32s_AC4R,
  12386. (const Ipp8u* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12387. IppiSize roiSize ))
  12388. IPPAPI ( IppStatus, ippiConvert_8u32s_C4R,
  12389. (const Ipp8u* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12390. IppiSize roiSize ))
  12391. IPPAPI ( IppStatus, ippiConvert_32s8u_C1R,
  12392. ( const Ipp32s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12393. IppiSize roiSize ))
  12394. IPPAPI ( IppStatus, ippiConvert_32s8u_C3R,
  12395. ( const Ipp32s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12396. IppiSize roiSize ))
  12397. IPPAPI ( IppStatus, ippiConvert_32s8u_AC4R,
  12398. ( const Ipp32s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12399. IppiSize roiSize ))
  12400. IPPAPI ( IppStatus, ippiConvert_32s8u_C4R,
  12401. ( const Ipp32s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12402. IppiSize roiSize ))
  12403. IPPAPI ( IppStatus, ippiConvert_8s32s_C1R,
  12404. (const Ipp8s* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12405. IppiSize roiSize ))
  12406. IPPAPI ( IppStatus, ippiConvert_8s32s_C3R,
  12407. (const Ipp8s* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12408. IppiSize roiSize ))
  12409. IPPAPI ( IppStatus, ippiConvert_8s32s_AC4R,
  12410. (const Ipp8s* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12411. IppiSize roiSize ))
  12412. IPPAPI ( IppStatus, ippiConvert_8s32s_C4R,
  12413. (const Ipp8s* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12414. IppiSize roiSize ))
  12415. IPPAPI ( IppStatus, ippiConvert_32s8s_C1R,
  12416. ( const Ipp32s* pSrc, int srcStep, Ipp8s* pDst, int dstStep,
  12417. IppiSize roiSize ))
  12418. IPPAPI ( IppStatus, ippiConvert_32s8s_C3R,
  12419. ( const Ipp32s* pSrc, int srcStep, Ipp8s* pDst, int dstStep,
  12420. IppiSize roiSize ))
  12421. IPPAPI ( IppStatus, ippiConvert_32s8s_AC4R,
  12422. ( const Ipp32s* pSrc, int srcStep, Ipp8s* pDst, int dstStep,
  12423. IppiSize roiSize ))
  12424. IPPAPI ( IppStatus, ippiConvert_32s8s_C4R,
  12425. ( const Ipp32s* pSrc, int srcStep, Ipp8s* pDst, int dstStep,
  12426. IppiSize roiSize ))
  12427. IPPAPI ( IppStatus, ippiConvert_16u32s_C1R,
  12428. (const Ipp16u* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12429. IppiSize roiSize ))
  12430. IPPAPI ( IppStatus, ippiConvert_16u32s_C3R,
  12431. (const Ipp16u* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12432. IppiSize roiSize ))
  12433. IPPAPI ( IppStatus, ippiConvert_16u32s_AC4R,
  12434. (const Ipp16u* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12435. IppiSize roiSize ))
  12436. IPPAPI ( IppStatus, ippiConvert_16u32s_C4R,
  12437. (const Ipp16u* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12438. IppiSize roiSize ))
  12439. IPPAPI ( IppStatus, ippiConvert_16s32s_C1R,
  12440. (const Ipp16s* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12441. IppiSize roiSize ))
  12442. IPPAPI ( IppStatus, ippiConvert_16s32s_C3R,
  12443. (const Ipp16s* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12444. IppiSize roiSize ))
  12445. IPPAPI ( IppStatus, ippiConvert_16s32s_AC4R,
  12446. (const Ipp16s* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12447. IppiSize roiSize ))
  12448. IPPAPI ( IppStatus, ippiConvert_16s32s_C4R,
  12449. (const Ipp16s* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12450. IppiSize roiSize ))
  12451. IPPAPI ( IppStatus, ippiConvert_8s8u_C1Rs,
  12452. (const Ipp8s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12453. IppiSize roi))
  12454. IPPAPI ( IppStatus, ippiConvert_8s16s_C1R,
  12455. (const Ipp8s* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12456. IppiSize roi))
  12457. IPPAPI ( IppStatus, ippiConvert_8s16u_C1Rs,
  12458. (const Ipp8s* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12459. IppiSize roi))
  12460. IPPAPI ( IppStatus, ippiConvert_8s32u_C1Rs,
  12461. (const Ipp8s* pSrc, int srcStep, Ipp32u* pDst, int dstStep,
  12462. IppiSize roi))
  12463. IPPAPI ( IppStatus, ippiConvert_8u8s_C1RSfs,
  12464. (const Ipp8u* pSrc, int srcStep, Ipp8s* pDst, int dstStep,
  12465. IppiSize roi,IppRoundMode rndMode, int scaleFactor))
  12466. IPPAPI ( IppStatus, ippiConvert_16s8s_C1RSfs,
  12467. (const Ipp16s* pSrc, int srcStep, Ipp8s* pDst, int dstStep,
  12468. IppiSize roi,IppRoundMode rndMode, int scaleFactor))
  12469. IPPAPI ( IppStatus, ippiConvert_16s16u_C1Rs,
  12470. (const Ipp16s* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12471. IppiSize roi))
  12472. IPPAPI ( IppStatus, ippiConvert_16s32u_C1Rs,
  12473. (const Ipp16s* pSrc, int srcStep, Ipp32u* pDst, int dstStep,
  12474. IppiSize roi))
  12475. IPPAPI ( IppStatus, ippiConvert_16u8s_C1RSfs,
  12476. (const Ipp16u* pSrc, int srcStep, Ipp8s* pDst, int dstStep,
  12477. IppiSize roi,IppRoundMode rndMode, int scaleFactor))
  12478. IPPAPI ( IppStatus, ippiConvert_16u16s_C1RSfs,
  12479. (const Ipp16u* pSrc, int srcStep, Ipp16s* pDst,
  12480. int dstStep, IppiSize roi,IppRoundMode rndMode, int scaleFactor))
  12481. IPPAPI ( IppStatus, ippiConvert_16u32u_C1R,
  12482. (const Ipp16u* pSrc, int srcStep, Ipp32u* pDst, int dstStep,
  12483. IppiSize roi))
  12484. IPPAPI ( IppStatus, ippiConvert_32s16s_C1RSfs,
  12485. (const Ipp32s* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12486. IppiSize roi,IppRoundMode rndMode, int scaleFactor))
  12487. IPPAPI ( IppStatus, ippiConvert_32s16u_C1RSfs,
  12488. (const Ipp32s* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12489. IppiSize roi,IppRoundMode rndMode, int scaleFactor))
  12490. IPPAPI ( IppStatus, ippiConvert_32s32u_C1Rs,
  12491. (const Ipp32s* pSrc, int srcStep, Ipp32u* pDst, int dstStep,
  12492. IppiSize roi))
  12493. IPPAPI ( IppStatus, ippiConvert_32s32f_C1R,
  12494. (const Ipp32s* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12495. IppiSize roi))
  12496. IPPAPI ( IppStatus, ippiConvert_32u8s_C1RSfs,
  12497. (const Ipp32u* pSrc, int srcStep, Ipp8s* pDst, int dstStep,
  12498. IppiSize roi,IppRoundMode rndMode, int scaleFactor))
  12499. IPPAPI ( IppStatus, ippiConvert_32u8u_C1RSfs,
  12500. (const Ipp32u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12501. IppiSize roi,IppRoundMode rndMode, int scaleFactor))
  12502. IPPAPI ( IppStatus, ippiConvert_32u16s_C1RSfs,
  12503. (const Ipp32u* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12504. IppiSize roi,IppRoundMode rndMode, int scaleFactor))
  12505. IPPAPI ( IppStatus, ippiConvert_32u16u_C1RSfs,
  12506. (const Ipp32u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12507. IppiSize roi,IppRoundMode rndMode, int scaleFactor))
  12508. IPPAPI ( IppStatus, ippiConvert_32u32s_C1RSfs,
  12509. (const Ipp32u* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12510. IppiSize roi,IppRoundMode rndMode, int scaleFactor))
  12511. IPPAPI ( IppStatus, ippiConvert_32u32f_C1R,
  12512. (const Ipp32u* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12513. IppiSize roi))
  12514. IPPAPI ( IppStatus, ippiConvert_32f32u_C1RSfs,
  12515. (const Ipp32f* pSrc, int srcStep, Ipp32u* pDst, int dstStep,
  12516. IppiSize roi,IppRoundMode rndMode, int scaleFactor))
  12517. IPPAPI ( IppStatus, ippiConvert_32f8s_C1RSfs,
  12518. (const Ipp32f* pSrc, int srcStep, Ipp8s* pDst, int dstStep,
  12519. IppiSize roi, IppRoundMode round, int scaleFactor))
  12520. IPPAPI ( IppStatus, ippiConvert_32f8u_C1RSfs,
  12521. (const Ipp32f* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12522. IppiSize roi, IppRoundMode round, int scaleFactor))
  12523. IPPAPI ( IppStatus, ippiConvert_32f16s_C1RSfs,
  12524. (const Ipp32f* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12525. IppiSize roi, IppRoundMode round, int scaleFactor))
  12526. IPPAPI ( IppStatus, ippiConvert_32f16u_C1RSfs,
  12527. (const Ipp32f* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12528. IppiSize roi, IppRoundMode round, int scaleFactor))
  12529. IPPAPI ( IppStatus, ippiConvert_32f32s_C1RSfs,
  12530. (const Ipp32f* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12531. IppiSize roi, IppRoundMode round, int scaleFactor))
  12532. /* ////////////////////////////////////////////////////////////////////////////
  12533. // Name: ippiConvert_1u8u_C1R
  12534. //
  12535. // Purpose: Converts a bitonal image to an 8u grayscale image
  12536. //
  12537. // Returns:
  12538. // ippStsNullPtrErr One of the pointers is NULL
  12539. // ippStsSizeErr roiSize has a field with zero or negative value,
  12540. // or srcBitOffset is less than zero
  12541. // ippStsStepErr srcStep or dstStep has a negative or zero value
  12542. // ippStsNoErr OK
  12543. //
  12544. // Parameters:
  12545. // pSrc Pointer to the source image
  12546. // srcStep Step through the source image
  12547. // srcBitOffset Offset in the first byte of the source image row
  12548. // pDst Pointer to the destination image
  12549. // dstStep Step through the destination image
  12550. // roiSize Size of the ROI
  12551. */
  12552. IPPAPI ( IppStatus, ippiConvert_1u8u_C1R,
  12553. ( const Ipp8u* pSrc, int srcStep, int srcBitOffset,
  12554. Ipp8u* pDst, int dstStep, IppiSize roiSize ))
  12555. /* ////////////////////////////////////////////////////////////////////////////
  12556. // Name: ippiConvert_8u1u_C1R
  12557. //
  12558. // Purpose: Converts an 8u grayscale image to a bitonal image
  12559. //
  12560. // Returns:
  12561. // ippStsNullPtrErr One of the pointers is NULL
  12562. // ippStsSizeErr roiSize has a field with zero or negative value,
  12563. // or dstBitOffset is less than zero
  12564. // ippStsStepErr srcStep or dstStep has a negative or zero value
  12565. // ippStsMemAllocErr Memory allocation fails
  12566. // ippStsNoErr OK
  12567. //
  12568. // Parameters:
  12569. // pSrc Pointer to the source image
  12570. // srcStep Step through the source image
  12571. // pDst Pointer to the destination image
  12572. // dstStep Step through the destination image
  12573. // dstBitOffset Offset in the first byte of the destination image row
  12574. // roiSize Size of the ROI
  12575. // threshold Threshold level for Stucki's dithering.
  12576. */
  12577. IPPAPI ( IppStatus, ippiConvert_8u1u_C1R,( const Ipp8u* pSrc, int srcStep,
  12578. Ipp8u* pDst, int dstStep, int dstBitOffset, IppiSize roiSize,Ipp8u threshold))
  12579. /* /////////////////////////////////////////////////////////////////////////////
  12580. // Names: ippiPolarToCart
  12581. //
  12582. // Purpose: Converts an image in the polar coordinate form to Cartesian
  12583. // coordinate form
  12584. // Parameters:
  12585. // pSrcMagn Pointer to the source image plane containing magnitudes
  12586. // pSrcPhase Pointer to the source image plane containing phase values
  12587. // srcStep Step through the source image
  12588. // pDst Pointer to the destination image
  12589. // dstStep Step through the destination image
  12590. // roiSize Size of the ROI
  12591. // Return:
  12592. // ippStsNullPtrErr One of the pointers is NULL
  12593. // ippStsSizeErr height or width of the image is less than 1
  12594. // ippStsStepErr, if srcStep <= 0 or
  12595. // dstStep <= 0
  12596. // ippStsNoErr No errors
  12597. */
  12598. IPPAPI(IppStatus,ippiPolarToCart_32f32fc_P2C1R,( const Ipp32f *pSrcMagn, const Ipp32f *pSrcPhase,
  12599. int srcStep, Ipp32fc *pDst, int dstStep, IppiSize roiSize ))
  12600. IPPAPI(IppStatus, ippiPolarToCart_32fc_C1R,(const Ipp32f* pSrcMagn, const Ipp32f* pSrcPhase, int srcStep,
  12601. IppiSize roiSize, Ipp32fc *pDst , int dstStep))
  12602. IPPAPI(IppStatus, ippiPolarToCart_32sc_C1R,(const Ipp32s* pSrcMagn, const Ipp32s* pSrcPhase, int srcStep,
  12603. int PhaseFixedPoint, IppiSize roiSize, Ipp32sc *pDst , int dstStep))
  12604. IPPAPI(IppStatus, ippiPolarToCart_16sc_C1R,(const Ipp16s* pSrcMagn, const Ipp16s* pSrcPhase, int srcStep,
  12605. int PhaseFixedPoint, IppiSize roiSize, Ipp16sc *pDst , int dstStep))
  12606. IPPAPI(IppStatus, ippiPolarToCart_32fc_C3R,(const Ipp32f* pSrcMagn, const Ipp32f* pSrcPhase, int srcStep,
  12607. IppiSize roiSize, Ipp32fc *pDst , int dstStep))
  12608. IPPAPI(IppStatus, ippiPolarToCart_32sc_C3R,(const Ipp32s* pSrcMagn, const Ipp32s* pSrcPhase, int srcStep,
  12609. int PhaseFixedPoint, IppiSize roiSize, Ipp32sc *pDst , int dstStep))
  12610. IPPAPI(IppStatus, ippiPolarToCart_16sc_C3R,(const Ipp16s* pSrcMagn, const Ipp16s* pSrcPhase, int srcStep,
  12611. int PhaseFixedPoint, IppiSize roiSize, Ipp16sc *pDst , int dstStep))
  12612. /* ////////////////////////////////////////////////////////////////////////////
  12613. // Name: ippiSwapChannels
  12614. //
  12615. // Purpose: Changes the order of channels of the image
  12616. // The function performs operation for each pixel:
  12617. // pDst[0] = pSrc[ dstOrder[0] ]
  12618. // pDst[1] = pSrc[ dstOrder[1] ]
  12619. // pDst[2] = pSrc[ dstOrder[2] ]
  12620. //
  12621. // Returns:
  12622. // ippStsNullPtrErr One of the pointers is NULL
  12623. // ippStsSizeErr roiSize has a field with zero or negative value
  12624. // ippStsStepErr One of the step values is less than or equal to zero
  12625. // ippStsChannelOrderErr dstOrder is out of the range,
  12626. // it should be: dstOrder[3] = { 0..2, 0..2, 0..2 }
  12627. // ippStsNoErr OK
  12628. //
  12629. // Parameters:
  12630. // pSrc Pointer to the source image
  12631. // srcStep Step in bytes through the source image
  12632. // pDst Pointer to the destination image
  12633. // dstStep Step in bytes through the destination image
  12634. // pSrcDst Pointer to the source/destination image (in-place flavors)
  12635. // srcDstStep Step through the source/destination image (in-place flavors)
  12636. // roiSize Size of the ROI
  12637. // dstOrder The order of channels in the destination image
  12638. */
  12639. IPPAPI ( IppStatus, ippiSwapChannels_8u_C3R,
  12640. ( const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12641. IppiSize roiSize, const int dstOrder[3] ))
  12642. IPPAPI ( IppStatus, ippiSwapChannels_8u_AC4R,
  12643. ( const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12644. IppiSize roiSize, const int dstOrder[3] ))
  12645. IPPAPI ( IppStatus, ippiSwapChannels_16u_C3R,
  12646. ( const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12647. IppiSize roiSize, const int dstOrder[3] ))
  12648. IPPAPI ( IppStatus, ippiSwapChannels_16u_AC4R,
  12649. ( const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12650. IppiSize roiSize, const int dstOrder[3] ))
  12651. IPPAPI ( IppStatus, ippiSwapChannels_16s_C3R,
  12652. ( const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12653. IppiSize roiSize, const int dstOrder[3] ))
  12654. IPPAPI ( IppStatus, ippiSwapChannels_16s_AC4R,
  12655. ( const Ipp16s* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12656. IppiSize roiSize, const int dstOrder[3] ))
  12657. IPPAPI ( IppStatus, ippiSwapChannels_32s_C3R,
  12658. ( const Ipp32s* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12659. IppiSize roiSize, const int dstOrder[3] ))
  12660. IPPAPI ( IppStatus, ippiSwapChannels_32s_AC4R,
  12661. ( const Ipp32s* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12662. IppiSize roiSize, const int dstOrder[3] ))
  12663. IPPAPI ( IppStatus, ippiSwapChannels_32f_C3R,
  12664. ( const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12665. IppiSize roiSize, const int dstOrder[3] ))
  12666. IPPAPI ( IppStatus, ippiSwapChannels_32f_AC4R,
  12667. ( const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12668. IppiSize roiSize, const int dstOrder[3] ))
  12669. IPPAPI ( IppStatus, ippiSwapChannels_8u_C3IR,
  12670. ( Ipp8u* pSrcDst, int srcDstStep,
  12671. IppiSize roiSize, const int dstOrder[3] ))
  12672. IPPAPI ( IppStatus, ippiSwapChannels_8u_C4IR,
  12673. ( Ipp8u* pSrcDst, int srcDstStep,
  12674. IppiSize roiSize, const int dstOrder[4] ))
  12675. /* ////////////////////////////////////////////////////////////////////////////
  12676. // Name: ippiSwapChannels C3C4R,C4C3R
  12677. //
  12678. // Purpose: Changes the order of channels of the image
  12679. // The function performs operation for each pixel:
  12680. // a) C3C4R.
  12681. // if(dstOrder[i] < 3) dst[i] = src[dstOrder[i]];
  12682. // if(dstOrder[i] == 3) dst[i] = val;
  12683. // if(dstOrder[i] > 3) dst[i] does not change;
  12684. // i = 0,1,2,3
  12685. // b) C4C3R.
  12686. // dst[0] = src [dstOrder[0]];
  12687. // dst[1] = src [dstOrder[1]];
  12688. // dst[2] = src [dstOrder[2]];
  12689. //
  12690. // Returns:
  12691. // ippStsNullPtrErr One of the pointers is NULL
  12692. // ippStsSizeErr roiSize has a field with zero or negative value
  12693. // ippStsChannelOrderErr dstOrder is out of the range, it should be:
  12694. // a) C3C4R.
  12695. // dstOrder[i] => 0, i = 0,1,2,3.
  12696. // b) C4C3R.
  12697. // 0 <= dstOrder[i] <= 3, i = 0,1,2.
  12698. // ippStsNoErr OK
  12699. //
  12700. // Parameters:
  12701. // pSrc Pointer to the source image
  12702. // srcStep Step in bytes through the source image
  12703. // pDst Pointer to the destination image
  12704. // dstStep Step in bytes through the destination image
  12705. // roiSize Size of the ROI
  12706. // dstOrder The order of channels in the destination image
  12707. // val Constant value for C3C4R
  12708. */
  12709. IPPAPI ( IppStatus, ippiSwapChannels_8u_C3C4R,
  12710. ( const Ipp8u* pSrc, int srcStep,
  12711. Ipp8u* pDst, int dstStep, IppiSize roiSize,
  12712. const int dstOrder[4], Ipp8u val ))
  12713. IPPAPI ( IppStatus, ippiSwapChannels_8u_C4C3R,
  12714. ( const Ipp8u* pSrc, int srcStep,
  12715. Ipp8u* pDst, int dstStep, IppiSize roiSize,
  12716. const int dstOrder[3] ))
  12717. IPPAPI ( IppStatus, ippiSwapChannels_16s_C3C4R,
  12718. ( const Ipp16s* pSrc, int srcStep,
  12719. Ipp16s* pDst, int dstStep, IppiSize roiSize,
  12720. const int dstOrder[4], Ipp16s val ))
  12721. IPPAPI ( IppStatus, ippiSwapChannels_16s_C4C3R,
  12722. ( const Ipp16s* pSrc, int srcStep,
  12723. Ipp16s* pDst, int dstStep, IppiSize roiSize,
  12724. const int dstOrder[3] ))
  12725. IPPAPI ( IppStatus, ippiSwapChannels_16u_C3C4R,
  12726. ( const Ipp16u* pSrc, int srcStep,
  12727. Ipp16u* pDst, int dstStep, IppiSize roiSize,
  12728. const int dstOrder[4], Ipp16u val ))
  12729. IPPAPI ( IppStatus, ippiSwapChannels_16u_C4C3R,
  12730. ( const Ipp16u* pSrc, int srcStep,
  12731. Ipp16u* pDst, int dstStep, IppiSize roiSize,
  12732. const int dstOrder[3] ))
  12733. IPPAPI ( IppStatus, ippiSwapChannels_32s_C3C4R,
  12734. ( const Ipp32s* pSrc, int srcStep,
  12735. Ipp32s* pDst, int dstStep, IppiSize roiSize,
  12736. const int dstOrder[4], Ipp32s val ))
  12737. IPPAPI ( IppStatus, ippiSwapChannels_32s_C4C3R,
  12738. ( const Ipp32s* pSrc, int srcStep,
  12739. Ipp32s* pDst, int dstStep, IppiSize roiSize,
  12740. const int dstOrder[3] ))
  12741. IPPAPI ( IppStatus, ippiSwapChannels_32f_C3C4R,
  12742. ( const Ipp32f* pSrc, int srcStep,
  12743. Ipp32f* pDst, int dstStep, IppiSize roiSize,
  12744. const int dstOrder[4], Ipp32f val ))
  12745. IPPAPI ( IppStatus, ippiSwapChannels_32f_C4C3R,
  12746. ( const Ipp32f* pSrc, int srcStep,
  12747. Ipp32f* pDst, int dstStep, IppiSize roiSize,
  12748. const int dstOrder[3] ))
  12749. /* /////////////////////////////////////////////////////////////////////////////////
  12750. // Name: ippiScale
  12751. //
  12752. // Purpose: Scales pixel values of an image and converts them to another bit depth
  12753. // dst = a + b * src;
  12754. // a = type_min_dst - b * type_min_src;
  12755. // b = (type_max_dst - type_min_dst) / (type_max_src - type_min_src).
  12756. //
  12757. // Returns:
  12758. // ippStsNullPtrErr One of the pointers is NULL
  12759. // ippStsSizeErr roiSize has a field with zero or negative value
  12760. // ippStsStepErr One of the step values is less than or equal to zero
  12761. // ippStsScaleRangeErr Input data bounds are incorrect (vMax - vMin <= 0)
  12762. // ippStsNoErr OK
  12763. //
  12764. // Parameters:
  12765. // pSrc Pointer to the source image
  12766. // srcStep Step through the source image
  12767. // pDst Pointer to the destination image
  12768. // dstStep Step through the destination image
  12769. // roiSize Size of the ROI
  12770. // vMin, vMax Minimum and maximum values of the input data (32f).
  12771. // hint Option to select the algorithmic implementation:
  12772. // 1). hint == ippAlgHintAccurate
  12773. // - accuracy e-8, but slowly;
  12774. // 2). hint == ippAlgHintFast,
  12775. // or ippAlgHintNone
  12776. // - accuracy e-3, but quickly.
  12777. */
  12778. IPPAPI ( IppStatus, ippiScale_8u16u_C1R,
  12779. (const Ipp8u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12780. IppiSize roiSize ))
  12781. IPPAPI ( IppStatus, ippiScale_8u16s_C1R,
  12782. (const Ipp8u* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12783. IppiSize roiSize ))
  12784. IPPAPI ( IppStatus, ippiScale_8u32s_C1R,
  12785. (const Ipp8u* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12786. IppiSize roiSize ))
  12787. IPPAPI ( IppStatus, ippiScale_8u32f_C1R,
  12788. (const Ipp8u* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12789. IppiSize roiSize, Ipp32f vMin, Ipp32f vMax ))
  12790. IPPAPI ( IppStatus, ippiScale_8u16u_C3R,
  12791. (const Ipp8u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12792. IppiSize roiSize ))
  12793. IPPAPI ( IppStatus, ippiScale_8u16s_C3R,
  12794. (const Ipp8u* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12795. IppiSize roiSize ))
  12796. IPPAPI ( IppStatus, ippiScale_8u32s_C3R,
  12797. (const Ipp8u* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12798. IppiSize roiSize ))
  12799. IPPAPI ( IppStatus, ippiScale_8u32f_C3R,
  12800. (const Ipp8u* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12801. IppiSize roiSize, Ipp32f vMin, Ipp32f vMax ))
  12802. IPPAPI ( IppStatus, ippiScale_8u16u_AC4R,
  12803. (const Ipp8u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12804. IppiSize roiSize ))
  12805. IPPAPI ( IppStatus, ippiScale_8u16s_AC4R,
  12806. (const Ipp8u* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12807. IppiSize roiSize ))
  12808. IPPAPI ( IppStatus, ippiScale_8u32s_AC4R,
  12809. (const Ipp8u* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12810. IppiSize roiSize ))
  12811. IPPAPI ( IppStatus, ippiScale_8u32f_AC4R,
  12812. (const Ipp8u* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12813. IppiSize roiSize, Ipp32f vMin, Ipp32f vMax ))
  12814. IPPAPI ( IppStatus, ippiScale_8u16u_C4R,
  12815. (const Ipp8u* pSrc, int srcStep, Ipp16u* pDst, int dstStep,
  12816. IppiSize roiSize ))
  12817. IPPAPI ( IppStatus, ippiScale_8u16s_C4R,
  12818. (const Ipp8u* pSrc, int srcStep, Ipp16s* pDst, int dstStep,
  12819. IppiSize roiSize ))
  12820. IPPAPI ( IppStatus, ippiScale_8u32s_C4R,
  12821. (const Ipp8u* pSrc, int srcStep, Ipp32s* pDst, int dstStep,
  12822. IppiSize roiSize ))
  12823. IPPAPI ( IppStatus, ippiScale_8u32f_C4R,
  12824. (const Ipp8u* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  12825. IppiSize roiSize, Ipp32f vMin, Ipp32f vMax ))
  12826. IPPAPI ( IppStatus, ippiScale_16u8u_C1R,
  12827. (const Ipp16u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12828. IppiSize roiSize, IppHintAlgorithm hint ))
  12829. IPPAPI ( IppStatus, ippiScale_16s8u_C1R,
  12830. (const Ipp16s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12831. IppiSize roiSize, IppHintAlgorithm hint ))
  12832. IPPAPI ( IppStatus, ippiScale_32s8u_C1R,
  12833. (const Ipp32s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12834. IppiSize roiSize, IppHintAlgorithm hint ))
  12835. IPPAPI ( IppStatus, ippiScale_32f8u_C1R,
  12836. (const Ipp32f* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12837. IppiSize roiSize, Ipp32f vMin, Ipp32f vMax ))
  12838. IPPAPI ( IppStatus, ippiScale_16u8u_C3R,
  12839. (const Ipp16u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12840. IppiSize roiSize, IppHintAlgorithm hint ))
  12841. IPPAPI ( IppStatus, ippiScale_16s8u_C3R,
  12842. (const Ipp16s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12843. IppiSize roiSize, IppHintAlgorithm hint ))
  12844. IPPAPI ( IppStatus, ippiScale_32s8u_C3R,
  12845. (const Ipp32s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12846. IppiSize roiSize, IppHintAlgorithm hint ))
  12847. IPPAPI ( IppStatus, ippiScale_32f8u_C3R,
  12848. (const Ipp32f* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12849. IppiSize roiSize, Ipp32f vMin, Ipp32f vMax ))
  12850. IPPAPI ( IppStatus, ippiScale_16u8u_AC4R,
  12851. (const Ipp16u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12852. IppiSize roiSize, IppHintAlgorithm hint ))
  12853. IPPAPI ( IppStatus, ippiScale_16s8u_AC4R,
  12854. (const Ipp16s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12855. IppiSize roiSize, IppHintAlgorithm hint ))
  12856. IPPAPI ( IppStatus, ippiScale_32s8u_AC4R,
  12857. (const Ipp32s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12858. IppiSize roiSize, IppHintAlgorithm hint ))
  12859. IPPAPI ( IppStatus, ippiScale_32f8u_AC4R,
  12860. (const Ipp32f* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12861. IppiSize roiSize, Ipp32f vMin, Ipp32f vMax ))
  12862. IPPAPI ( IppStatus, ippiScale_16u8u_C4R,
  12863. (const Ipp16u* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12864. IppiSize roiSize, IppHintAlgorithm hint ))
  12865. IPPAPI ( IppStatus, ippiScale_16s8u_C4R,
  12866. (const Ipp16s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12867. IppiSize roiSize, IppHintAlgorithm hint ))
  12868. IPPAPI ( IppStatus, ippiScale_32s8u_C4R,
  12869. (const Ipp32s* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12870. IppiSize roiSize, IppHintAlgorithm hint ))
  12871. IPPAPI ( IppStatus, ippiScale_32f8u_C4R,
  12872. (const Ipp32f* pSrc, int srcStep, Ipp8u* pDst, int dstStep,
  12873. IppiSize roiSize, Ipp32f vMin, Ipp32f vMax ))
  12874. /* /////////////////////////////////////////////////////////////////////////////
  12875. // Name: ippiMin
  12876. // Purpose: computes the minimum of image pixel values
  12877. // Returns: IppStatus
  12878. // ippStsNoErr OK
  12879. // ippStsNullPtrErr One of the pointers is NULL
  12880. // ippStsSizeErr roiSize has a field with zero or negative value
  12881. // Parameters:
  12882. // pSrc Pointer to the source image.
  12883. // srcStep Step through the source image
  12884. // roiSize Size of the source image ROI.
  12885. // pMin Pointer to the result (C1)
  12886. // min Array containing results (C3, AC4, C4)
  12887. */
  12888. IPPAPI(IppStatus, ippiMin_8u_C1R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u* pMin))
  12889. IPPAPI(IppStatus, ippiMin_8u_C3R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u min[3]))
  12890. IPPAPI(IppStatus, ippiMin_8u_AC4R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u min[3]))
  12891. IPPAPI(IppStatus, ippiMin_8u_C4R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u min[4]))
  12892. IPPAPI(IppStatus, ippiMin_16s_C1R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s* pMin))
  12893. IPPAPI(IppStatus, ippiMin_16s_C3R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s min[3]))
  12894. IPPAPI(IppStatus, ippiMin_16s_AC4R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s min[3]))
  12895. IPPAPI(IppStatus, ippiMin_16s_C4R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s min[4]))
  12896. IPPAPI(IppStatus, ippiMin_16u_C1R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u* pMin))
  12897. IPPAPI(IppStatus, ippiMin_16u_C3R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u min[3]))
  12898. IPPAPI(IppStatus, ippiMin_16u_AC4R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u min[3]))
  12899. IPPAPI(IppStatus, ippiMin_16u_C4R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u min[4]))
  12900. IPPAPI(IppStatus, ippiMin_32f_C1R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f* pMin))
  12901. IPPAPI(IppStatus, ippiMin_32f_C3R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f min[3]))
  12902. IPPAPI(IppStatus, ippiMin_32f_AC4R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f min[3]))
  12903. IPPAPI(IppStatus, ippiMin_32f_C4R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f min[4]))
  12904. /* /////////////////////////////////////////////////////////////////////////////
  12905. // Name: ippiMinIndx
  12906. // Purpose: computes the minimum of image pixel values and retrieves
  12907. // the x and y coordinates of pixels with this value
  12908. // Returns: IppStatus
  12909. // ippStsNoErr OK
  12910. // ippStsNullPtrErr One of the pointers is NULL
  12911. // ippStsSizeErr roiSize has a field with zero or negative value
  12912. // Parameters:
  12913. // pSrc Pointer to the source image.
  12914. // srcStep Step in bytes through the source image
  12915. // roiSize Size of the source image ROI.
  12916. // pMin Pointer to the result (C1)
  12917. // min Array of the results (C3, AC4, C4)
  12918. // pIndexX Pointer to the x coordinate of the pixel with min value (C1)
  12919. // pIndexY Pointer to the y coordinate of the pixel with min value (C1)
  12920. // indexX Array containing the x coordinates of the pixel with min value (C3, AC4, C4)
  12921. // indexY Array containing the y coordinates of the pixel with min value (C3, AC4, C4)
  12922. */
  12923. IPPAPI(IppStatus, ippiMinIndx_8u_C1R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u* pMin, int* pIndexX, int* pIndexY))
  12924. IPPAPI(IppStatus, ippiMinIndx_8u_C3R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u min[3], int indexX[3], int indexY[3]))
  12925. IPPAPI(IppStatus, ippiMinIndx_8u_AC4R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u min[3], int indexX[3], int indexY[3]))
  12926. IPPAPI(IppStatus, ippiMinIndx_8u_C4R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u min[4], int indexX[4], int indexY[4]))
  12927. IPPAPI(IppStatus, ippiMinIndx_16s_C1R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s* pMin, int* pIndexX, int* pIndexY))
  12928. IPPAPI(IppStatus, ippiMinIndx_16s_C3R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s min[3], int indexX[3], int indexY[3]))
  12929. IPPAPI(IppStatus, ippiMinIndx_16s_AC4R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s min[3], int indexX[3], int indexY[3]))
  12930. IPPAPI(IppStatus, ippiMinIndx_16s_C4R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s min[4], int indexX[4], int indexY[4]))
  12931. IPPAPI(IppStatus, ippiMinIndx_16u_C1R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u* pMin, int* pIndexX, int* pIndexY))
  12932. IPPAPI(IppStatus, ippiMinIndx_16u_C3R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u min[3], int indexX[3], int indexY[3]))
  12933. IPPAPI(IppStatus, ippiMinIndx_16u_AC4R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u min[3], int indexX[3], int indexY[3]))
  12934. IPPAPI(IppStatus, ippiMinIndx_16u_C4R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u min[4], int indexX[4], int indexY[4]))
  12935. IPPAPI(IppStatus, ippiMinIndx_32f_C1R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f* pMin, int* pIndexX, int* pIndexY))
  12936. IPPAPI(IppStatus, ippiMinIndx_32f_C3R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f min[3], int indexX[3], int indexY[3]))
  12937. IPPAPI(IppStatus, ippiMinIndx_32f_AC4R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f min[3], int indexX[3], int indexY[3]))
  12938. IPPAPI(IppStatus, ippiMinIndx_32f_C4R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f min[4], int indexX[4], int indexY[4]))
  12939. /* /////////////////////////////////////////////////////////////////////////////
  12940. // Name: ippiMax
  12941. // Purpose: computes the maximum of image pixel values
  12942. // Returns: IppStatus
  12943. // ippStsNoErr OK
  12944. // ippStsNullPtrErr One of the pointers is NULL
  12945. // ippStsSizeErr roiSize has a field with zero or negative value
  12946. // Parameters:
  12947. // pSrc Pointer to the source image.
  12948. // srcStep Step in bytes through the source image
  12949. // roiSize Size of the source image ROI.
  12950. // pMax Pointer to the result (C1)
  12951. // max Array containing the results (C3, AC4, C4)
  12952. */
  12953. IPPAPI(IppStatus, ippiMax_8u_C1R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u* pMax))
  12954. IPPAPI(IppStatus, ippiMax_8u_C3R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u max[3]))
  12955. IPPAPI(IppStatus, ippiMax_8u_AC4R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u max[3]))
  12956. IPPAPI(IppStatus, ippiMax_8u_C4R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u max[4]))
  12957. IPPAPI(IppStatus, ippiMax_16s_C1R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s* pMax))
  12958. IPPAPI(IppStatus, ippiMax_16s_C3R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s max[3]))
  12959. IPPAPI(IppStatus, ippiMax_16s_AC4R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s max[3]))
  12960. IPPAPI(IppStatus, ippiMax_16s_C4R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s max[4]))
  12961. IPPAPI(IppStatus, ippiMax_16u_C1R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u* pMax))
  12962. IPPAPI(IppStatus, ippiMax_16u_C3R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u max[3]))
  12963. IPPAPI(IppStatus, ippiMax_16u_AC4R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u max[3]))
  12964. IPPAPI(IppStatus, ippiMax_16u_C4R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u max[4]))
  12965. IPPAPI(IppStatus, ippiMax_32f_C1R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f* pMax))
  12966. IPPAPI(IppStatus, ippiMax_32f_C3R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f max[3]))
  12967. IPPAPI(IppStatus, ippiMax_32f_AC4R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f max[3]))
  12968. IPPAPI(IppStatus, ippiMax_32f_C4R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f max[4]))
  12969. /* /////////////////////////////////////////////////////////////////////////////
  12970. // Name: ippiMaxIndx
  12971. // Purpose: computes the maximum of image pixel values and retrieves
  12972. // the x and y coordinates of pixels with this value
  12973. // Returns: IppStatus
  12974. // ippStsNoErr OK
  12975. // ippStsNullPtrErr One of the pointers is NULL
  12976. // ippStsSizeErr roiSize has a field with zero or negative value
  12977. // Parameters:
  12978. // pSrc Pointer to the source image.
  12979. // srcStep Step in bytes through the source image
  12980. // roiSize Size of the source image ROI.
  12981. // pMax Pointer to the result (C1)
  12982. // max Array of the results (C3, AC4, C4)
  12983. // pIndexX Pointer to the x coordinate of the pixel with max value (C1)
  12984. // pIndexY Pointer to the y coordinate of the pixel with max value (C1)
  12985. // indexX Array containing the x coordinates of the pixel with max value (C3, AC4, C4)
  12986. // indexY Array containing the y coordinates of the pixel with max value (C3, AC4, C4)
  12987. */
  12988. IPPAPI(IppStatus, ippiMaxIndx_8u_C1R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u* pMax, int* pIndexX, int* pIndexY))
  12989. IPPAPI(IppStatus, ippiMaxIndx_8u_C3R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u max[3], int indexX[3], int indexY[3]))
  12990. IPPAPI(IppStatus, ippiMaxIndx_8u_AC4R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u max[3], int indexX[3], int indexY[3]))
  12991. IPPAPI(IppStatus, ippiMaxIndx_8u_C4R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u max[4], int indexX[4], int indexY[4]))
  12992. IPPAPI(IppStatus, ippiMaxIndx_16s_C1R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s* pMax, int* pIndexX, int* pIndexY))
  12993. IPPAPI(IppStatus, ippiMaxIndx_16s_C3R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s max[3], int indexX[3], int indexY[3]))
  12994. IPPAPI(IppStatus, ippiMaxIndx_16s_AC4R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s max[3], int indexX[3], int indexY[3]))
  12995. IPPAPI(IppStatus, ippiMaxIndx_16s_C4R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s max[4], int indexX[4], int indexY[4]))
  12996. IPPAPI(IppStatus, ippiMaxIndx_16u_C1R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u* pMax, int* pIndexX, int* pIndexY))
  12997. IPPAPI(IppStatus, ippiMaxIndx_16u_C3R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u max[3], int indexX[3], int indexY[3]))
  12998. IPPAPI(IppStatus, ippiMaxIndx_16u_AC4R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u max[3], int indexX[3], int indexY[3]))
  12999. IPPAPI(IppStatus, ippiMaxIndx_16u_C4R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u max[4], int indexX[4], int indexY[4]))
  13000. IPPAPI(IppStatus, ippiMaxIndx_32f_C1R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f* pMax, int* pIndexX, int* pIndexY))
  13001. IPPAPI(IppStatus, ippiMaxIndx_32f_C3R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f max[3], int indexX[3], int indexY[3]))
  13002. IPPAPI(IppStatus, ippiMaxIndx_32f_AC4R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f max[3], int indexX[3], int indexY[3]))
  13003. IPPAPI(IppStatus, ippiMaxIndx_32f_C4R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f max[4], int indexX[4], int indexY[4]))
  13004. /* /////////////////////////////////////////////////////////////////////////////
  13005. // Name: ippiMinMax
  13006. // Purpose: computes the minimum and maximum of image pixel value
  13007. // Returns: IppStatus
  13008. // ippStsNoErr OK
  13009. // ippStsNullPtrErr One of the pointers is NULL
  13010. // ippStsSizeErr roiSize has a field with zero or negative value
  13011. // Parameters:
  13012. // pSrc Pointer to the source image
  13013. // srcStep Step in bytes through the source image
  13014. // roiSize Size of the source image ROI.
  13015. // pMin, pMax Pointers to the results (C1)
  13016. // min, max Arrays containing the results (C3, AC4, C4)
  13017. */
  13018. IPPAPI(IppStatus, ippiMinMax_8u_C1R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u* pMin, Ipp8u* pMax))
  13019. IPPAPI(IppStatus, ippiMinMax_8u_C3R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u min[3], Ipp8u max[3]))
  13020. IPPAPI(IppStatus, ippiMinMax_8u_AC4R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u min[3], Ipp8u max[3]))
  13021. IPPAPI(IppStatus, ippiMinMax_8u_C4R, (const Ipp8u* pSrc, int srcStep, IppiSize roiSize, Ipp8u min[4], Ipp8u max[4]))
  13022. IPPAPI(IppStatus, ippiMinMax_16s_C1R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s* pMin, Ipp16s* pMax))
  13023. IPPAPI(IppStatus, ippiMinMax_16s_C3R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s min[3], Ipp16s max[3]))
  13024. IPPAPI(IppStatus, ippiMinMax_16s_AC4R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s min[3], Ipp16s max[3]))
  13025. IPPAPI(IppStatus, ippiMinMax_16s_C4R, (const Ipp16s* pSrc, int srcStep, IppiSize roiSize, Ipp16s min[4], Ipp16s max[4]))
  13026. IPPAPI(IppStatus, ippiMinMax_16u_C1R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u* pMin, Ipp16u* pMax))
  13027. IPPAPI(IppStatus, ippiMinMax_16u_C3R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u min[3], Ipp16u max[3]))
  13028. IPPAPI(IppStatus, ippiMinMax_16u_AC4R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u min[3], Ipp16u max[3]))
  13029. IPPAPI(IppStatus, ippiMinMax_16u_C4R, (const Ipp16u* pSrc, int srcStep, IppiSize roiSize, Ipp16u min[4], Ipp16u max[4]))
  13030. IPPAPI(IppStatus, ippiMinMax_32f_C1R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f* pMin, Ipp32f* pMax))
  13031. IPPAPI(IppStatus, ippiMinMax_32f_C3R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f min[3], Ipp32f max[3]))
  13032. IPPAPI(IppStatus, ippiMinMax_32f_AC4R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f min[3], Ipp32f max[3]))
  13033. IPPAPI(IppStatus, ippiMinMax_32f_C4R, (const Ipp32f* pSrc, int srcStep, IppiSize roiSize, Ipp32f min[4], Ipp32f max[4]))
  13034. /* ////////////////////////////////////////////////////////////////////////////
  13035. // Names: ippiMinEvery, ippiMaxEvery
  13036. // Purpose: calculation min/max value for every element of two images
  13037. // Parameters:
  13038. // pSrc pointer to input image
  13039. // pSrcDst pointer to input/output image
  13040. // srcStep Step in bytes through the source image
  13041. // roiSize Size of the source image ROI.
  13042. // Return:
  13043. // ippStsNullPtrErr pointer(s) to the data is NULL
  13044. // ippStsSizeErr roiSize has a field with zero or negative value
  13045. // ippStsNoErr otherwise
  13046. */
  13047. IPPAPI(IppStatus,ippiMaxEvery_8u_C1IR,(const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  13048. int srcDstStep, IppiSize roiSize))
  13049. IPPAPI(IppStatus,ippiMinEvery_8u_C1IR,(const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  13050. int srcDstStep, IppiSize roiSize))
  13051. IPPAPI(IppStatus,ippiMaxEvery_16s_C1IR,(const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  13052. int srcDstStep, IppiSize roiSize))
  13053. IPPAPI(IppStatus,ippiMinEvery_16s_C1IR,(const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  13054. int srcDstStep, IppiSize roiSize))
  13055. IPPAPI(IppStatus,ippiMaxEvery_16u_C1IR,(const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  13056. int srcDstStep, IppiSize roiSize))
  13057. IPPAPI(IppStatus,ippiMinEvery_16u_C1IR,(const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  13058. int srcDstStep, IppiSize roiSize))
  13059. IPPAPI(IppStatus,ippiMaxEvery_32f_C1IR,(const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  13060. int srcDstStep, IppiSize roiSize))
  13061. IPPAPI(IppStatus,ippiMinEvery_32f_C1IR,(const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  13062. int srcDstStep, IppiSize roiSize))
  13063. IPPAPI(IppStatus,ippiMaxEvery_8u_C3IR,(const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  13064. int srcDstStep, IppiSize roiSize))
  13065. IPPAPI(IppStatus,ippiMinEvery_8u_C3IR,(const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  13066. int srcDstStep, IppiSize roiSize))
  13067. IPPAPI(IppStatus,ippiMaxEvery_16s_C3IR,(const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  13068. int srcDstStep, IppiSize roiSize))
  13069. IPPAPI(IppStatus,ippiMinEvery_16s_C3IR,(const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  13070. int srcDstStep, IppiSize roiSize))
  13071. IPPAPI(IppStatus,ippiMaxEvery_16u_C3IR,(const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  13072. int srcDstStep, IppiSize roiSize))
  13073. IPPAPI(IppStatus,ippiMinEvery_16u_C3IR,(const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  13074. int srcDstStep, IppiSize roiSize))
  13075. IPPAPI(IppStatus,ippiMaxEvery_32f_C3IR,(const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  13076. int srcDstStep, IppiSize roiSize))
  13077. IPPAPI(IppStatus,ippiMinEvery_32f_C3IR,(const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  13078. int srcDstStep, IppiSize roiSize))
  13079. IPPAPI(IppStatus,ippiMaxEvery_8u_C4IR,(const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  13080. int srcDstStep, IppiSize roiSize))
  13081. IPPAPI(IppStatus,ippiMinEvery_8u_C4IR,(const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  13082. int srcDstStep, IppiSize roiSize))
  13083. IPPAPI(IppStatus,ippiMaxEvery_16s_C4IR,(const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  13084. int srcDstStep, IppiSize roiSize))
  13085. IPPAPI(IppStatus,ippiMinEvery_16s_C4IR,(const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  13086. int srcDstStep, IppiSize roiSize))
  13087. IPPAPI(IppStatus,ippiMaxEvery_16u_C4IR,(const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  13088. int srcDstStep, IppiSize roiSize))
  13089. IPPAPI(IppStatus,ippiMinEvery_16u_C4IR,(const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  13090. int srcDstStep, IppiSize roiSize))
  13091. IPPAPI(IppStatus,ippiMaxEvery_32f_C4IR,(const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  13092. int srcDstStep, IppiSize roiSize))
  13093. IPPAPI(IppStatus,ippiMinEvery_32f_C4IR,(const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  13094. int srcDstStep, IppiSize roiSize))
  13095. IPPAPI(IppStatus,ippiMaxEvery_8u_AC4IR,(const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  13096. int srcDstStep, IppiSize roiSize))
  13097. IPPAPI(IppStatus,ippiMinEvery_8u_AC4IR,(const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst,
  13098. int srcDstStep, IppiSize roiSize))
  13099. IPPAPI(IppStatus,ippiMaxEvery_16s_AC4IR,(const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  13100. int srcDstStep, IppiSize roiSize))
  13101. IPPAPI(IppStatus,ippiMinEvery_16s_AC4IR,(const Ipp16s* pSrc, int srcStep, Ipp16s* pSrcDst,
  13102. int srcDstStep, IppiSize roiSize))
  13103. IPPAPI(IppStatus,ippiMaxEvery_16u_AC4IR,(const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  13104. int srcDstStep, IppiSize roiSize))
  13105. IPPAPI(IppStatus,ippiMinEvery_16u_AC4IR,(const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst,
  13106. int srcDstStep, IppiSize roiSize))
  13107. IPPAPI(IppStatus,ippiMaxEvery_32f_AC4IR,(const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  13108. int srcDstStep, IppiSize roiSize))
  13109. IPPAPI(IppStatus,ippiMinEvery_32f_AC4IR,(const Ipp32f* pSrc, int srcStep, Ipp32f* pSrcDst,
  13110. int srcDstStep, IppiSize roiSize))
  13111. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  13112. // Logical Operations and Shift Functions
  13113. ///////////////////////////////////////////////////////////////////////////////////////////////// */
  13114. /*
  13115. // Names: ippiAnd, ippiAndC, ippiOr, ippiOrC, ippiXor, ippiXorC, ippiNot,
  13116. // Purpose: Performs corresponding bitwise logical operation between pixels of two image
  13117. // (AndC/OrC/XorC - between pixel of the source image and a constant)
  13118. //
  13119. // Names: ippiLShiftC, ippiRShiftC
  13120. // Purpose: Shifts bits in each pixel value to the left and right
  13121. // Parameters:
  13122. // value 1) The constant value to be ANDed/ORed/XORed with each pixel of the source,
  13123. // constant vector for multi-channel images;
  13124. // 2) The number of bits to shift, constant vector for multi-channel images.
  13125. // pSrc Pointer to the source image
  13126. // srcStep Step through the source image
  13127. // pSrcDst Pointer to the source/destination image (in-place flavors)
  13128. // srcDstStep Step through the source/destination image (in-place flavors)
  13129. // pSrc1 Pointer to first source image
  13130. // src1Step Step through first source image
  13131. // pSrc2 Pointer to second source image
  13132. // src2Step Step through second source image
  13133. // pDst Pointer to the destination image
  13134. // dstStep Step in destination image
  13135. // roiSize Size of the ROI
  13136. //
  13137. // Returns:
  13138. // ippStsNullPtrErr One of the pointers is NULL
  13139. // ippStsStepErr One of the step values is less than or equal to zero
  13140. // ippStsSizeErr roiSize has a field with zero or negative value
  13141. // ippStsShiftErr Shift's value is less than zero
  13142. // ippStsNoErr No errors
  13143. */
  13144. IPPAPI(IppStatus, ippiAnd_8u_C1R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13145. IPPAPI(IppStatus, ippiAnd_8u_C3R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13146. IPPAPI(IppStatus, ippiAnd_8u_C4R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13147. IPPAPI(IppStatus, ippiAnd_8u_AC4R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13148. IPPAPI(IppStatus, ippiAnd_8u_C1IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13149. IPPAPI(IppStatus, ippiAnd_8u_C3IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13150. IPPAPI(IppStatus, ippiAnd_8u_C4IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13151. IPPAPI(IppStatus, ippiAnd_8u_AC4IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13152. IPPAPI(IppStatus, ippiAndC_8u_C1R, (const Ipp8u* pSrc, int srcStep, Ipp8u value, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13153. IPPAPI(IppStatus, ippiAndC_8u_C3R, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[3], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13154. IPPAPI(IppStatus, ippiAndC_8u_C4R, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[4], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13155. IPPAPI(IppStatus, ippiAndC_8u_AC4R, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[3], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13156. IPPAPI(IppStatus, ippiAndC_8u_C1IR, (Ipp8u value, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13157. IPPAPI(IppStatus, ippiAndC_8u_C3IR, (const Ipp8u value[3], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13158. IPPAPI(IppStatus, ippiAndC_8u_C4IR, (const Ipp8u value[4], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13159. IPPAPI(IppStatus, ippiAndC_8u_AC4IR, (const Ipp8u value[3], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13160. IPPAPI(IppStatus, ippiAnd_16u_C1R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13161. IPPAPI(IppStatus, ippiAnd_16u_C3R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13162. IPPAPI(IppStatus, ippiAnd_16u_C4R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13163. IPPAPI(IppStatus, ippiAnd_16u_AC4R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13164. IPPAPI(IppStatus, ippiAnd_16u_C1IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13165. IPPAPI(IppStatus, ippiAnd_16u_C3IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13166. IPPAPI(IppStatus, ippiAnd_16u_C4IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13167. IPPAPI(IppStatus, ippiAnd_16u_AC4IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13168. IPPAPI(IppStatus, ippiAndC_16u_C1R, (const Ipp16u* pSrc, int srcStep, Ipp16u value, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13169. IPPAPI(IppStatus, ippiAndC_16u_C3R, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13170. IPPAPI(IppStatus, ippiAndC_16u_C4R, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[4], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13171. IPPAPI(IppStatus, ippiAndC_16u_AC4R, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13172. IPPAPI(IppStatus, ippiAndC_16u_C1IR, (Ipp16u value, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13173. IPPAPI(IppStatus, ippiAndC_16u_C3IR, (const Ipp16u value[3], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13174. IPPAPI(IppStatus, ippiAndC_16u_C4IR, (const Ipp16u value[4], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13175. IPPAPI(IppStatus, ippiAndC_16u_AC4IR, (const Ipp16u value[3], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13176. IPPAPI(IppStatus, ippiAnd_32s_C1R, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13177. IPPAPI(IppStatus, ippiAnd_32s_C3R, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13178. IPPAPI(IppStatus, ippiAnd_32s_C4R, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13179. IPPAPI(IppStatus, ippiAnd_32s_AC4R, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13180. IPPAPI(IppStatus, ippiAnd_32s_C1IR, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13181. IPPAPI(IppStatus, ippiAnd_32s_C3IR, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13182. IPPAPI(IppStatus, ippiAnd_32s_C4IR, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13183. IPPAPI(IppStatus, ippiAnd_32s_AC4IR, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13184. IPPAPI(IppStatus, ippiAndC_32s_C1R, (const Ipp32s* pSrc, int srcStep, Ipp32s value, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13185. IPPAPI(IppStatus, ippiAndC_32s_C3R, (const Ipp32s* pSrc, int srcStep, const Ipp32s value[3], Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13186. IPPAPI(IppStatus, ippiAndC_32s_C4R, (const Ipp32s* pSrc, int srcStep, const Ipp32s value[4], Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13187. IPPAPI(IppStatus, ippiAndC_32s_AC4R, (const Ipp32s* pSrc, int srcStep, const Ipp32s value[3], Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13188. IPPAPI(IppStatus, ippiAndC_32s_C1IR, (Ipp32s value, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13189. IPPAPI(IppStatus, ippiAndC_32s_C3IR, (const Ipp32s value[3], Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13190. IPPAPI(IppStatus, ippiAndC_32s_C4IR, (const Ipp32s value[4], Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13191. IPPAPI(IppStatus, ippiAndC_32s_AC4IR, (const Ipp32s value[3], Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13192. IPPAPI(IppStatus, ippiOr_8u_C1R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13193. IPPAPI(IppStatus, ippiOr_8u_C3R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13194. IPPAPI(IppStatus, ippiOr_8u_C4R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13195. IPPAPI(IppStatus, ippiOr_8u_AC4R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13196. IPPAPI(IppStatus, ippiOr_8u_C1IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13197. IPPAPI(IppStatus, ippiOr_8u_C3IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13198. IPPAPI(IppStatus, ippiOr_8u_C4IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13199. IPPAPI(IppStatus, ippiOr_8u_AC4IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13200. IPPAPI(IppStatus, ippiOrC_8u_C1R, (const Ipp8u* pSrc, int srcStep, Ipp8u value, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13201. IPPAPI(IppStatus, ippiOrC_8u_C3R, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[3], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13202. IPPAPI(IppStatus, ippiOrC_8u_C4R, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[4], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13203. IPPAPI(IppStatus, ippiOrC_8u_AC4R, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[3], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13204. IPPAPI(IppStatus, ippiOrC_8u_C1IR, (Ipp8u value, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13205. IPPAPI(IppStatus, ippiOrC_8u_C3IR, (const Ipp8u value[3], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13206. IPPAPI(IppStatus, ippiOrC_8u_C4IR, (const Ipp8u value[4], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13207. IPPAPI(IppStatus, ippiOrC_8u_AC4IR, (const Ipp8u value[3], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13208. IPPAPI(IppStatus, ippiOr_16u_C1R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13209. IPPAPI(IppStatus, ippiOr_16u_C3R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13210. IPPAPI(IppStatus, ippiOr_16u_C4R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13211. IPPAPI(IppStatus, ippiOr_16u_AC4R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13212. IPPAPI(IppStatus, ippiOr_16u_C1IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13213. IPPAPI(IppStatus, ippiOr_16u_C3IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13214. IPPAPI(IppStatus, ippiOr_16u_C4IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13215. IPPAPI(IppStatus, ippiOr_16u_AC4IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13216. IPPAPI(IppStatus, ippiOrC_16u_C1R, (const Ipp16u* pSrc, int srcStep, Ipp16u value, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13217. IPPAPI(IppStatus, ippiOrC_16u_C3R, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13218. IPPAPI(IppStatus, ippiOrC_16u_C4R, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[4], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13219. IPPAPI(IppStatus, ippiOrC_16u_AC4R, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13220. IPPAPI(IppStatus, ippiOrC_16u_C1IR, (Ipp16u value, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13221. IPPAPI(IppStatus, ippiOrC_16u_C3IR, (const Ipp16u value[3], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13222. IPPAPI(IppStatus, ippiOrC_16u_C4IR, (const Ipp16u value[4], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13223. IPPAPI(IppStatus, ippiOrC_16u_AC4IR, (const Ipp16u value[3], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13224. IPPAPI(IppStatus, ippiOr_32s_C1R, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13225. IPPAPI(IppStatus, ippiOr_32s_C3R, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13226. IPPAPI(IppStatus, ippiOr_32s_C4R, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13227. IPPAPI(IppStatus, ippiOr_32s_AC4R, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13228. IPPAPI(IppStatus, ippiOr_32s_C1IR, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13229. IPPAPI(IppStatus, ippiOr_32s_C3IR, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13230. IPPAPI(IppStatus, ippiOr_32s_C4IR, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13231. IPPAPI(IppStatus, ippiOr_32s_AC4IR, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13232. IPPAPI(IppStatus, ippiOrC_32s_C1R, (const Ipp32s* pSrc, int srcStep, Ipp32s value, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13233. IPPAPI(IppStatus, ippiOrC_32s_C3R, (const Ipp32s* pSrc, int srcStep, const Ipp32s value[3], Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13234. IPPAPI(IppStatus, ippiOrC_32s_C4R, (const Ipp32s* pSrc, int srcStep, const Ipp32s value[4], Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13235. IPPAPI(IppStatus, ippiOrC_32s_AC4R, (const Ipp32s* pSrc, int srcStep, const Ipp32s value[3], Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13236. IPPAPI(IppStatus, ippiOrC_32s_C1IR, (Ipp32s value, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13237. IPPAPI(IppStatus, ippiOrC_32s_C3IR, (const Ipp32s value[3], Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13238. IPPAPI(IppStatus, ippiOrC_32s_C4IR, (const Ipp32s value[4], Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13239. IPPAPI(IppStatus, ippiOrC_32s_AC4IR, (const Ipp32s value[3], Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13240. IPPAPI(IppStatus, ippiXor_8u_C1R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13241. IPPAPI(IppStatus, ippiXor_8u_C3R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13242. IPPAPI(IppStatus, ippiXor_8u_C4R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13243. IPPAPI(IppStatus, ippiXor_8u_AC4R, (const Ipp8u* pSrc1, int src1Step, const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13244. IPPAPI(IppStatus, ippiXor_8u_C1IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13245. IPPAPI(IppStatus, ippiXor_8u_C3IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13246. IPPAPI(IppStatus, ippiXor_8u_C4IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13247. IPPAPI(IppStatus, ippiXor_8u_AC4IR, (const Ipp8u* pSrc, int srcStep, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13248. IPPAPI(IppStatus, ippiXorC_8u_C1R, (const Ipp8u* pSrc, int srcStep, Ipp8u value, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13249. IPPAPI(IppStatus, ippiXorC_8u_C3R, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[3], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13250. IPPAPI(IppStatus, ippiXorC_8u_C4R, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[4], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13251. IPPAPI(IppStatus, ippiXorC_8u_AC4R, (const Ipp8u* pSrc, int srcStep, const Ipp8u value[3], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13252. IPPAPI(IppStatus, ippiXorC_8u_C1IR, (Ipp8u value, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13253. IPPAPI(IppStatus, ippiXorC_8u_C3IR, (const Ipp8u value[3], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13254. IPPAPI(IppStatus, ippiXorC_8u_C4IR, (const Ipp8u value[4], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13255. IPPAPI(IppStatus, ippiXorC_8u_AC4IR, (const Ipp8u value[3], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13256. IPPAPI(IppStatus, ippiXor_16u_C1R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13257. IPPAPI(IppStatus, ippiXor_16u_C3R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13258. IPPAPI(IppStatus, ippiXor_16u_C4R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13259. IPPAPI(IppStatus, ippiXor_16u_AC4R, (const Ipp16u* pSrc1, int src1Step, const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13260. IPPAPI(IppStatus, ippiXor_16u_C1IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13261. IPPAPI(IppStatus, ippiXor_16u_C3IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13262. IPPAPI(IppStatus, ippiXor_16u_C4IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13263. IPPAPI(IppStatus, ippiXor_16u_AC4IR, (const Ipp16u* pSrc, int srcStep, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13264. IPPAPI(IppStatus, ippiXorC_16u_C1R, (const Ipp16u* pSrc, int srcStep, Ipp16u value, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13265. IPPAPI(IppStatus, ippiXorC_16u_C3R, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13266. IPPAPI(IppStatus, ippiXorC_16u_C4R, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[4], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13267. IPPAPI(IppStatus, ippiXorC_16u_AC4R, (const Ipp16u* pSrc, int srcStep, const Ipp16u value[3], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13268. IPPAPI(IppStatus, ippiXorC_16u_C1IR, (Ipp16u value, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13269. IPPAPI(IppStatus, ippiXorC_16u_C3IR, (const Ipp16u value[3], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13270. IPPAPI(IppStatus, ippiXorC_16u_C4IR, (const Ipp16u value[4], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13271. IPPAPI(IppStatus, ippiXorC_16u_AC4IR, (const Ipp16u value[3], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13272. IPPAPI(IppStatus, ippiXor_32s_C1R, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13273. IPPAPI(IppStatus, ippiXor_32s_C3R, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13274. IPPAPI(IppStatus, ippiXor_32s_C4R, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13275. IPPAPI(IppStatus, ippiXor_32s_AC4R, (const Ipp32s* pSrc1, int src1Step, const Ipp32s* pSrc2, int src2Step, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13276. IPPAPI(IppStatus, ippiXor_32s_C1IR, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13277. IPPAPI(IppStatus, ippiXor_32s_C3IR, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13278. IPPAPI(IppStatus, ippiXor_32s_C4IR, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13279. IPPAPI(IppStatus, ippiXor_32s_AC4IR, (const Ipp32s* pSrc, int srcStep, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13280. IPPAPI(IppStatus, ippiXorC_32s_C1R, (const Ipp32s* pSrc, int srcStep, Ipp32s value, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13281. IPPAPI(IppStatus, ippiXorC_32s_C3R, (const Ipp32s* pSrc, int srcStep, const Ipp32s value[3], Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13282. IPPAPI(IppStatus, ippiXorC_32s_C4R, (const Ipp32s* pSrc, int srcStep, const Ipp32s value[4], Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13283. IPPAPI(IppStatus, ippiXorC_32s_AC4R, (const Ipp32s* pSrc, int srcStep, const Ipp32s value[3], Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13284. IPPAPI(IppStatus, ippiXorC_32s_C1IR, (Ipp32s value, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13285. IPPAPI(IppStatus, ippiXorC_32s_C3IR, (const Ipp32s value[3], Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13286. IPPAPI(IppStatus, ippiXorC_32s_C4IR, (const Ipp32s value[4], Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13287. IPPAPI(IppStatus, ippiXorC_32s_AC4IR, (const Ipp32s value[3], Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13288. IPPAPI(IppStatus, ippiNot_8u_C1R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13289. IPPAPI(IppStatus, ippiNot_8u_C3R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13290. IPPAPI(IppStatus, ippiNot_8u_C4R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13291. IPPAPI(IppStatus, ippiNot_8u_AC4R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13292. IPPAPI(IppStatus, ippiNot_8u_C1IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13293. IPPAPI(IppStatus, ippiNot_8u_C3IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13294. IPPAPI(IppStatus, ippiNot_8u_C4IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13295. IPPAPI(IppStatus, ippiNot_8u_AC4IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13296. IPPAPI(IppStatus, ippiLShiftC_8u_C1R, (const Ipp8u* pSrc, int srcStep, Ipp32u value, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13297. IPPAPI(IppStatus, ippiLShiftC_8u_C3R, (const Ipp8u* pSrc, int srcStep, const Ipp32u value[3], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13298. IPPAPI(IppStatus, ippiLShiftC_8u_C4R, (const Ipp8u* pSrc, int srcStep, const Ipp32u value[4], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13299. IPPAPI(IppStatus, ippiLShiftC_8u_AC4R, (const Ipp8u* pSrc, int srcStep, const Ipp32u value[3], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13300. IPPAPI(IppStatus, ippiLShiftC_8u_C1IR, (Ipp32u value, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13301. IPPAPI(IppStatus, ippiLShiftC_8u_C3IR, (const Ipp32u value[3], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13302. IPPAPI(IppStatus, ippiLShiftC_8u_C4IR, (const Ipp32u value[4], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13303. IPPAPI(IppStatus, ippiLShiftC_8u_AC4IR, (const Ipp32u value[3], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13304. IPPAPI(IppStatus, ippiLShiftC_16u_C1R, (const Ipp16u* pSrc, int srcStep, Ipp32u value, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13305. IPPAPI(IppStatus, ippiLShiftC_16u_C3R, (const Ipp16u* pSrc, int srcStep, const Ipp32u value[3], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13306. IPPAPI(IppStatus, ippiLShiftC_16u_C4R, (const Ipp16u* pSrc, int srcStep, const Ipp32u value[4], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13307. IPPAPI(IppStatus, ippiLShiftC_16u_AC4R, (const Ipp16u* pSrc, int srcStep, const Ipp32u value[3], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13308. IPPAPI(IppStatus, ippiLShiftC_16u_C1IR, (Ipp32u value, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13309. IPPAPI(IppStatus, ippiLShiftC_16u_C3IR, (const Ipp32u value[3], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13310. IPPAPI(IppStatus, ippiLShiftC_16u_C4IR, (const Ipp32u value[4], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13311. IPPAPI(IppStatus, ippiLShiftC_16u_AC4IR, (const Ipp32u value[3], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13312. IPPAPI(IppStatus, ippiLShiftC_32s_C1R, (const Ipp32s* pSrc, int srcStep, Ipp32u value, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13313. IPPAPI(IppStatus, ippiLShiftC_32s_C3R, (const Ipp32s* pSrc, int srcStep, const Ipp32u value[3], Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13314. IPPAPI(IppStatus, ippiLShiftC_32s_C4R, (const Ipp32s* pSrc, int srcStep, const Ipp32u value[4], Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13315. IPPAPI(IppStatus, ippiLShiftC_32s_AC4R, (const Ipp32s* pSrc, int srcStep, const Ipp32u value[3], Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13316. IPPAPI(IppStatus, ippiLShiftC_32s_C1IR, (Ipp32u value, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13317. IPPAPI(IppStatus, ippiLShiftC_32s_C3IR, (const Ipp32u value[3], Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13318. IPPAPI(IppStatus, ippiLShiftC_32s_C4IR, (const Ipp32u value[4], Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13319. IPPAPI(IppStatus, ippiLShiftC_32s_AC4IR, (const Ipp32u value[3], Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13320. IPPAPI(IppStatus, ippiRShiftC_8u_C1R, (const Ipp8u* pSrc, int srcStep, Ipp32u value, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13321. IPPAPI(IppStatus, ippiRShiftC_8u_C3R, (const Ipp8u* pSrc, int srcStep, const Ipp32u value[3], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13322. IPPAPI(IppStatus, ippiRShiftC_8u_C4R, (const Ipp8u* pSrc, int srcStep, const Ipp32u value[4], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13323. IPPAPI(IppStatus, ippiRShiftC_8u_AC4R, (const Ipp8u* pSrc, int srcStep, const Ipp32u value[3], Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13324. IPPAPI(IppStatus, ippiRShiftC_8u_C1IR, (Ipp32u value, Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13325. IPPAPI(IppStatus, ippiRShiftC_8u_C3IR, (const Ipp32u value[3], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13326. IPPAPI(IppStatus, ippiRShiftC_8u_C4IR, (const Ipp32u value[4], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13327. IPPAPI(IppStatus, ippiRShiftC_8u_AC4IR, (const Ipp32u value[3], Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13328. IPPAPI(IppStatus, ippiRShiftC_8s_C1R, (const Ipp8s* pSrc, int srcStep, Ipp32u value, Ipp8s* pDst, int dstStep, IppiSize roiSize))
  13329. IPPAPI(IppStatus, ippiRShiftC_8s_C3R, (const Ipp8s* pSrc, int srcStep, const Ipp32u value[3], Ipp8s* pDst, int dstStep, IppiSize roiSize))
  13330. IPPAPI(IppStatus, ippiRShiftC_8s_C4R, (const Ipp8s* pSrc, int srcStep, const Ipp32u value[4], Ipp8s* pDst, int dstStep, IppiSize roiSize))
  13331. IPPAPI(IppStatus, ippiRShiftC_8s_AC4R, (const Ipp8s* pSrc, int srcStep, const Ipp32u value[3], Ipp8s* pDst, int dstStep, IppiSize roiSize))
  13332. IPPAPI(IppStatus, ippiRShiftC_8s_C1IR, (Ipp32u value, Ipp8s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13333. IPPAPI(IppStatus, ippiRShiftC_8s_C3IR, (const Ipp32u value[3], Ipp8s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13334. IPPAPI(IppStatus, ippiRShiftC_8s_C4IR, (const Ipp32u value[4], Ipp8s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13335. IPPAPI(IppStatus, ippiRShiftC_8s_AC4IR, (const Ipp32u value[3], Ipp8s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13336. IPPAPI(IppStatus, ippiRShiftC_16u_C1R, (const Ipp16u* pSrc, int srcStep, Ipp32u value, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13337. IPPAPI(IppStatus, ippiRShiftC_16u_C3R, (const Ipp16u* pSrc, int srcStep, const Ipp32u value[3], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13338. IPPAPI(IppStatus, ippiRShiftC_16u_C4R, (const Ipp16u* pSrc, int srcStep, const Ipp32u value[4], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13339. IPPAPI(IppStatus, ippiRShiftC_16u_AC4R, (const Ipp16u* pSrc, int srcStep, const Ipp32u value[3], Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13340. IPPAPI(IppStatus, ippiRShiftC_16u_C1IR, (Ipp32u value, Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13341. IPPAPI(IppStatus, ippiRShiftC_16u_C3IR, (const Ipp32u value[3], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13342. IPPAPI(IppStatus, ippiRShiftC_16u_C4IR, (const Ipp32u value[4], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13343. IPPAPI(IppStatus, ippiRShiftC_16u_AC4IR, (const Ipp32u value[3], Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13344. IPPAPI(IppStatus, ippiRShiftC_16s_C1R, (const Ipp16s* pSrc, int srcStep, Ipp32u value, Ipp16s* pDst, int dstStep, IppiSize roiSize))
  13345. IPPAPI(IppStatus, ippiRShiftC_16s_C3R, (const Ipp16s* pSrc, int srcStep, const Ipp32u value[3], Ipp16s* pDst, int dstStep, IppiSize roiSize))
  13346. IPPAPI(IppStatus, ippiRShiftC_16s_C4R, (const Ipp16s* pSrc, int srcStep, const Ipp32u value[4], Ipp16s* pDst, int dstStep, IppiSize roiSize))
  13347. IPPAPI(IppStatus, ippiRShiftC_16s_AC4R, (const Ipp16s* pSrc, int srcStep, const Ipp32u value[3], Ipp16s* pDst, int dstStep, IppiSize roiSize))
  13348. IPPAPI(IppStatus, ippiRShiftC_16s_C1IR, (Ipp32u value, Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13349. IPPAPI(IppStatus, ippiRShiftC_16s_C3IR, (const Ipp32u value[3], Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13350. IPPAPI(IppStatus, ippiRShiftC_16s_C4IR, (const Ipp32u value[4], Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13351. IPPAPI(IppStatus, ippiRShiftC_16s_AC4IR, (const Ipp32u value[3], Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13352. IPPAPI(IppStatus, ippiRShiftC_32s_C1R, (const Ipp32s* pSrc, int srcStep, Ipp32u value, Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13353. IPPAPI(IppStatus, ippiRShiftC_32s_C3R, (const Ipp32s* pSrc, int srcStep, const Ipp32u value[3], Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13354. IPPAPI(IppStatus, ippiRShiftC_32s_C4R, (const Ipp32s* pSrc, int srcStep, const Ipp32u value[4], Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13355. IPPAPI(IppStatus, ippiRShiftC_32s_AC4R, (const Ipp32s* pSrc, int srcStep, const Ipp32u value[3], Ipp32s* pDst, int dstStep, IppiSize roiSize))
  13356. IPPAPI(IppStatus, ippiRShiftC_32s_C1IR, (Ipp32u value, Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13357. IPPAPI(IppStatus, ippiRShiftC_32s_C3IR, (const Ipp32u value[3], Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13358. IPPAPI(IppStatus, ippiRShiftC_32s_C4IR, (const Ipp32u value[4], Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13359. IPPAPI(IppStatus, ippiRShiftC_32s_AC4IR, (const Ipp32u value[3], Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize))
  13360. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  13361. // Compare Operations
  13362. ///////////////////////////////////////////////////////////////////////////////////////////////// */
  13363. /* /////////////////////////////////////////////////////////////////////////////
  13364. // Name: ippiCompare
  13365. // ippiCompareC
  13366. // Purpose: Compares pixel values of two images, or pixel values of an image to a constant
  13367. // value using the following compare conditions: <, <=, ==, >, >= ;
  13368. // Names: ippiCompareEqualEps
  13369. // ippiCompareEqualEpsC
  13370. // Purpose: Compares 32f images for being equal, or equal to a given value within given tolerance
  13371. // Context:
  13372. //
  13373. // Returns: IppStatus
  13374. // ippStsNoErr No errors
  13375. // ippStsNullPtrErr One of the pointers is NULL
  13376. // ippStsStepErr One of the step values is less than or equal to zero
  13377. // ippStsSizeErr roiSize has a field with zero or negative value
  13378. // ippStsEpsValErr eps is negative
  13379. //
  13380. // Parameters:
  13381. // pSrc1 Pointer to the first source image;
  13382. // src1Step Step through the first source image;
  13383. // pSrc2 Pointer to the second source image data;
  13384. // src2Step Step through the second source image;
  13385. // pDst Pointer to destination image data;
  13386. // dstStep Step in destination image;
  13387. // roiSize Size of the ROI;
  13388. // ippCmpOp Compare operation to be used
  13389. // value Value (array of values for multi-channel image) to compare
  13390. // each pixel to
  13391. // eps The tolerance value
  13392. //
  13393. // Notes:
  13394. */
  13395. IPPAPI (IppStatus, ippiCompare_8u_C1R, ( const Ipp8u* pSrc1, int src1Step,
  13396. const Ipp8u* pSrc2, int src2Step,
  13397. Ipp8u* pDst, int dstStep,
  13398. IppiSize roiSize, IppCmpOp ippCmpOp))
  13399. IPPAPI (IppStatus, ippiCompare_8u_C3R, ( const Ipp8u* pSrc1, int src1Step,
  13400. const Ipp8u* pSrc2, int src2Step,
  13401. Ipp8u* pDst, int dstStep,
  13402. IppiSize roiSize, IppCmpOp ippCmpOp))
  13403. IPPAPI (IppStatus, ippiCompare_8u_AC4R, (const Ipp8u* pSrc1, int src1Step,
  13404. const Ipp8u* pSrc2, int src2Step,
  13405. Ipp8u* pDst, int dstStep,
  13406. IppiSize roiSize, IppCmpOp ippCmpOp))
  13407. IPPAPI (IppStatus, ippiCompare_8u_C4R, ( const Ipp8u* pSrc1, int src1Step,
  13408. const Ipp8u* pSrc2, int src2Step,
  13409. Ipp8u* pDst, int dstStep,
  13410. IppiSize roiSize, IppCmpOp ippCmpOp))
  13411. IPPAPI (IppStatus, ippiCompareC_8u_C1R,(const Ipp8u* pSrc, int srcStep, Ipp8u value,
  13412. Ipp8u* pDst, int dstStep,
  13413. IppiSize roiSize, IppCmpOp ippCmpOp))
  13414. IPPAPI (IppStatus, ippiCompareC_8u_C3R,(const Ipp8u* pSrc, int srcStep, const Ipp8u value[3],
  13415. Ipp8u* pDst, int dstStep,
  13416. IppiSize roiSize, IppCmpOp ippCmpOp))
  13417. IPPAPI (IppStatus, ippiCompareC_8u_AC4R,( const Ipp8u* pSrc, int srcStep, const Ipp8u value[3],
  13418. Ipp8u* pDst, int dstStep,
  13419. IppiSize roiSize, IppCmpOp ippCmpOp))
  13420. IPPAPI (IppStatus, ippiCompareC_8u_C4R,(const Ipp8u* pSrc, int srcStep, const Ipp8u value[4],
  13421. Ipp8u* pDst, int dstStep,
  13422. IppiSize roiSize, IppCmpOp ippCmpOp))
  13423. IPPAPI (IppStatus, ippiCompare_16s_C1R, ( const Ipp16s* pSrc1, int src1Step,
  13424. const Ipp16s* pSrc2, int src2Step,
  13425. Ipp8u* pDst, int dstStep,
  13426. IppiSize roiSize, IppCmpOp ippCmpOp))
  13427. IPPAPI (IppStatus, ippiCompare_16s_C3R, ( const Ipp16s* pSrc1, int src1Step,
  13428. const Ipp16s* pSrc2, int src2Step,
  13429. Ipp8u* pDst, int dstStep,
  13430. IppiSize roiSize, IppCmpOp ippCmpOp))
  13431. IPPAPI (IppStatus, ippiCompare_16s_AC4R, (const Ipp16s* pSrc1, int src1Step,
  13432. const Ipp16s* pSrc2, int src2Step,
  13433. Ipp8u* pDst, int dstStep,
  13434. IppiSize roiSize, IppCmpOp ippCmpOp))
  13435. IPPAPI (IppStatus, ippiCompare_16s_C4R, ( const Ipp16s* pSrc1, int src1Step,
  13436. const Ipp16s* pSrc2, int src2Step,
  13437. Ipp8u* pDst, int dstStep,
  13438. IppiSize roiSize, IppCmpOp ippCmpOp))
  13439. IPPAPI (IppStatus, ippiCompareC_16s_C1R, ( const Ipp16s* pSrc, int srcStep, Ipp16s value,
  13440. Ipp8u* pDst, int dstStep,
  13441. IppiSize roiSize, IppCmpOp ippCmpOp))
  13442. IPPAPI (IppStatus, ippiCompareC_16s_C3R, ( const Ipp16s* pSrc, int srcStep, const Ipp16s value[3],
  13443. Ipp8u* pDst, int dstStep,
  13444. IppiSize roiSize, IppCmpOp ippCmpOp))
  13445. IPPAPI (IppStatus, ippiCompareC_16s_AC4R, ( const Ipp16s* pSrc, int srcStep, const Ipp16s value[3],
  13446. Ipp8u* pDst, int dstStep,
  13447. IppiSize roiSize, IppCmpOp ippCmpOp))
  13448. IPPAPI (IppStatus, ippiCompareC_16s_C4R, ( const Ipp16s* pSrc, int srcStep, const Ipp16s value[4],
  13449. Ipp8u* pDst, int dstStep,
  13450. IppiSize roiSize, IppCmpOp ippCmpOp))
  13451. IPPAPI (IppStatus, ippiCompare_16u_C1R, ( const Ipp16u* pSrc1, int src1Step,
  13452. const Ipp16u* pSrc2, int src2Step,
  13453. Ipp8u* pDst, int dstStep,
  13454. IppiSize roiSize, IppCmpOp ippCmpOp))
  13455. IPPAPI (IppStatus, ippiCompare_16u_C3R, ( const Ipp16u* pSrc1, int src1Step,
  13456. const Ipp16u* pSrc2, int src2Step,
  13457. Ipp8u* pDst, int dstStep,
  13458. IppiSize roiSize, IppCmpOp ippCmpOp))
  13459. IPPAPI (IppStatus, ippiCompare_16u_AC4R, (const Ipp16u* pSrc1, int src1Step,
  13460. const Ipp16u* pSrc2, int src2Step,
  13461. Ipp8u* pDst, int dstStep,
  13462. IppiSize roiSize, IppCmpOp ippCmpOp))
  13463. IPPAPI (IppStatus, ippiCompare_16u_C4R, ( const Ipp16u* pSrc1, int src1Step,
  13464. const Ipp16u* pSrc2, int src2Step,
  13465. Ipp8u* pDst, int dstStep,
  13466. IppiSize roiSize, IppCmpOp ippCmpOp))
  13467. IPPAPI (IppStatus, ippiCompareC_16u_C1R, ( const Ipp16u* pSrc, int srcStep, Ipp16u value,
  13468. Ipp8u* pDst, int dstStep,
  13469. IppiSize roiSize, IppCmpOp ippCmpOp))
  13470. IPPAPI (IppStatus, ippiCompareC_16u_C3R, ( const Ipp16u* pSrc, int srcStep, const Ipp16u value[3],
  13471. Ipp8u* pDst, int dstStep,
  13472. IppiSize roiSize, IppCmpOp ippCmpOp))
  13473. IPPAPI (IppStatus, ippiCompareC_16u_AC4R, ( const Ipp16u* pSrc, int srcStep, const Ipp16u value[3],
  13474. Ipp8u* pDst, int dstStep,
  13475. IppiSize roiSize, IppCmpOp ippCmpOp))
  13476. IPPAPI (IppStatus, ippiCompareC_16u_C4R, ( const Ipp16u* pSrc, int srcStep, const Ipp16u value[4],
  13477. Ipp8u* pDst, int dstStep,
  13478. IppiSize roiSize, IppCmpOp ippCmpOp))
  13479. IPPAPI (IppStatus, ippiCompare_32f_C1R, ( const Ipp32f* pSrc1, int src1Step,
  13480. const Ipp32f* pSrc2, int src2Step,
  13481. Ipp8u* pDst, int dstStep,
  13482. IppiSize roiSize, IppCmpOp ippCmpOp))
  13483. IPPAPI (IppStatus, ippiCompare_32f_C3R, ( const Ipp32f* pSrc1, int src1Step,
  13484. const Ipp32f* pSrc2, int src2Step,
  13485. Ipp8u* pDst, int dstStep,
  13486. IppiSize roiSize, IppCmpOp ippCmpOp))
  13487. IPPAPI (IppStatus, ippiCompare_32f_AC4R,( const Ipp32f* pSrc1, int src1Step,
  13488. const Ipp32f* pSrc2, int src2Step,
  13489. Ipp8u* pDst, int dstStep,
  13490. IppiSize roiSize, IppCmpOp ippCmpOp))
  13491. IPPAPI (IppStatus, ippiCompare_32f_C4R, ( const Ipp32f* pSrc1, int src1Step,
  13492. const Ipp32f* pSrc2, int src2Step,
  13493. Ipp8u* pDst, int dstStep,
  13494. IppiSize roiSize, IppCmpOp ippCmpOp))
  13495. IPPAPI (IppStatus, ippiCompareC_32f_C1R, ( const Ipp32f* pSrc, int srcStep, Ipp32f value,
  13496. Ipp8u* pDst, int dstStep,
  13497. IppiSize roiSize, IppCmpOp ippCmpOp))
  13498. IPPAPI (IppStatus, ippiCompareC_32f_C3R, ( const Ipp32f* pSrc, int srcStep, const Ipp32f value[3],
  13499. Ipp8u* pDst, int dstStep,
  13500. IppiSize roiSize, IppCmpOp ippCmpOp))
  13501. IPPAPI (IppStatus, ippiCompareC_32f_AC4R, ( const Ipp32f* pSrc, int srcStep, const Ipp32f value[3],
  13502. Ipp8u* pDst, int dstStep,
  13503. IppiSize roiSize, IppCmpOp ippCmpOp))
  13504. IPPAPI (IppStatus, ippiCompareC_32f_C4R, ( const Ipp32f* pSrc, int srcStep, const Ipp32f value[4],
  13505. Ipp8u* pDst, int dstStep,
  13506. IppiSize roiSize, IppCmpOp ippCmpOp))
  13507. IPPAPI(IppStatus,ippiCompareEqualEps_32f_C1R,(const Ipp32f* pSrc1, int src1Step,
  13508. const Ipp32f* pSrc2, int src2Step,
  13509. Ipp8u* pDst, int dstStep,
  13510. IppiSize roiSize, Ipp32f eps))
  13511. IPPAPI(IppStatus,ippiCompareEqualEps_32f_C3R,(const Ipp32f* pSrc1, int src1Step,
  13512. const Ipp32f* pSrc2, int src2Step,
  13513. Ipp8u* pDst, int dstStep,
  13514. IppiSize roiSize, Ipp32f eps))
  13515. IPPAPI(IppStatus,ippiCompareEqualEps_32f_AC4R,(const Ipp32f* pSrc1,int src1Step,
  13516. const Ipp32f* pSrc2,int src2Step,
  13517. Ipp8u* pDst, int dstStep,
  13518. IppiSize roiSize, Ipp32f eps))
  13519. IPPAPI(IppStatus,ippiCompareEqualEps_32f_C4R,(const Ipp32f* pSrc1, int src1Step,
  13520. const Ipp32f* pSrc2, int src2Step,
  13521. Ipp8u* pDst, int dstStep,
  13522. IppiSize roiSize, Ipp32f eps))
  13523. IPPAPI(IppStatus,ippiCompareEqualEpsC_32f_C1R,(const Ipp32f* pSrc, int srcStep, Ipp32f value,
  13524. Ipp8u* pDst, int dstStep,
  13525. IppiSize roiSize, Ipp32f eps))
  13526. IPPAPI(IppStatus,ippiCompareEqualEpsC_32f_C3R,(const Ipp32f* pSrc, int srcStep,const Ipp32f value[3],
  13527. Ipp8u* pDst, int dstStep,
  13528. IppiSize roiSize, Ipp32f eps))
  13529. IPPAPI(IppStatus,ippiCompareEqualEpsC_32f_AC4R,(const Ipp32f* pSrc, int srcStep,const Ipp32f value[3],
  13530. Ipp8u* pDst, int dstStep,
  13531. IppiSize roiSize, Ipp32f eps))
  13532. IPPAPI(IppStatus,ippiCompareEqualEpsC_32f_C4R,(const Ipp32f* pSrc, int srcStep,const Ipp32f value[4],
  13533. Ipp8u* pDst, int dstStep,
  13534. IppiSize roiSize, Ipp32f eps))
  13535. /* /////////////////////////////////////////////////////////////////////////////////////////////////
  13536. // Morphological Operations
  13537. ///////////////////////////////////////////////////////////////////////////////////////////////// */
  13538. /* /////////////////////////////////////////////////////////////////////////////
  13539. // Name: ippiErode3x3_8u_C1R() ippiDilate3x3_8u_C1R()
  13540. // ippiErode3x3_8u_C3R() ippiDilate3x3_8u_C3R()
  13541. // ippiErode3x3_8u_AC4R() ippiDilate3x3_8u_AC4R()
  13542. // ippiErode3x3_8u_C4R() ippiDilate3x3_8u_C4R()
  13543. //
  13544. // ippiErode3x3_32f_C1R() ippiDilate3x3_32f_C1R()
  13545. // ippiErode3x3_32f_C3R() ippiDilate3x3_32f_C3R()
  13546. // ippiErode3x3_32f_AC4R() ippiDilate3x3_32f_AC4R()
  13547. // ippiErode3x3_32f_C4R() ippiDilate3x3_32f_C4R()
  13548. //
  13549. // Purpose: Performs not in-place erosion/dilation using a 3x3 mask
  13550. //
  13551. // Returns:
  13552. // ippStsNullPtrErr pSrc == NULL or pDst == NULL
  13553. // ippStsStepErr srcStep <= 0 or dstStep <= 0
  13554. // ippStsSizeErr roiSize has a field with zero or negative value
  13555. // ippStsStrideErr (2+roiSize.width)*nChannels*sizeof(item) > srcStep or
  13556. // (2+roiSize.width)*nChannels*sizeof(item) > dstStep
  13557. // ippStsNoErr No errors
  13558. //
  13559. // Parameters:
  13560. // pSrc Pointer to the source image ROI
  13561. // srcStep Step (bytes) through the source image
  13562. // pDst Pointer to the destination image ROI
  13563. // dstStep Step (bytes) through the destination image
  13564. // roiSize Size of the ROI
  13565. */
  13566. IPPAPI (IppStatus, ippiErode3x3_8u_C1R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13567. IPPAPI (IppStatus, ippiErode3x3_8u_C3R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13568. IPPAPI (IppStatus, ippiErode3x3_8u_AC4R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13569. IPPAPI (IppStatus, ippiErode3x3_8u_C4R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13570. IPPAPI (IppStatus, ippiDilate3x3_8u_C1R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13571. IPPAPI (IppStatus, ippiDilate3x3_8u_C3R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13572. IPPAPI (IppStatus, ippiDilate3x3_8u_AC4R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13573. IPPAPI (IppStatus, ippiDilate3x3_8u_C4R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize roiSize))
  13574. IPPAPI (IppStatus, ippiErode3x3_32f_C1R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  13575. IPPAPI (IppStatus, ippiErode3x3_32f_C3R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  13576. IPPAPI (IppStatus, ippiErode3x3_32f_AC4R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  13577. IPPAPI (IppStatus, ippiErode3x3_32f_C4R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  13578. IPPAPI (IppStatus, ippiDilate3x3_32f_C1R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  13579. IPPAPI (IppStatus, ippiDilate3x3_32f_C3R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  13580. IPPAPI (IppStatus, ippiDilate3x3_32f_AC4R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  13581. IPPAPI (IppStatus, ippiDilate3x3_32f_C4R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize roiSize))
  13582. IPPAPI (IppStatus, ippiErode3x3_16u_C1R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13583. IPPAPI (IppStatus, ippiErode3x3_16u_C3R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13584. IPPAPI (IppStatus, ippiErode3x3_16u_C4R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13585. IPPAPI (IppStatus, ippiErode3x3_16u_AC4R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13586. IPPAPI (IppStatus, ippiDilate3x3_16u_C1R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13587. IPPAPI (IppStatus, ippiDilate3x3_16u_C3R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13588. IPPAPI (IppStatus, ippiDilate3x3_16u_AC4R,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13589. IPPAPI (IppStatus, ippiDilate3x3_16u_C4R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize roiSize))
  13590. /* /////////////////////////////////////////////////////////////////////////////
  13591. // Name: ippiErode3x3_8u_C1IR() ippiDilate3x3_8u_C1IR()
  13592. // ippiErode3x3_8u_C3IR() ippiDilate3x3_8u_C3IR()
  13593. // ippiErode3x3_8u_AC4IR() ippiDilate3x3_8u_AC4IR()
  13594. // ippiErode3x3_8u_C4IR() ippiDilate3x3_8u_C4IR()
  13595. //
  13596. // ippiErode3x3_32f_C1IR() ippiDilate3x3_32f_C1IR()
  13597. // ippiErode3x3_32f_C3IR() ippiDilate3x3_32f_C3IR()
  13598. // ippiErode3x3_32f_AC4IR() ippiDilate3x3_32f_AC4IR()
  13599. // ippiErode3x3_32f_C4IR() ippiDilate3x3_32f_C4IR()
  13600. //
  13601. // Purpose: Performs in-place erosion/dilation using a 3x3 mask
  13602. //
  13603. // Returns:
  13604. // ippStsNullPtrErr pSrcDst == NULL
  13605. // ippStsStepErr srcDstStep <= 0
  13606. // ippStsSizeErr roiSize.width <1 or
  13607. // roiSize.height <1
  13608. // ippStsStrideErr (2+roiSize.width)*nChannels*sizeof(item) > srcDstStep
  13609. // ippStsMemAllocErr Memory allocation fails
  13610. // ippStsNoErr No errors
  13611. //
  13612. // Parameters:
  13613. // pSrcDst Pointer to the source/destination image IROI
  13614. // srcDstStep Step (bytes) through the source/destination image
  13615. // roiSize Size of the ROI
  13616. */
  13617. IPPAPI (IppStatus, ippiErode3x3_8u_C1IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13618. IPPAPI (IppStatus, ippiErode3x3_8u_C3IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13619. IPPAPI (IppStatus, ippiErode3x3_8u_AC4IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13620. IPPAPI (IppStatus, ippiErode3x3_8u_C4IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13621. IPPAPI (IppStatus, ippiDilate3x3_8u_C1IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13622. IPPAPI (IppStatus, ippiDilate3x3_8u_C3IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13623. IPPAPI (IppStatus, ippiDilate3x3_8u_AC4IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13624. IPPAPI (IppStatus, ippiDilate3x3_8u_C4IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13625. IPPAPI (IppStatus, ippiErode3x3_32f_C1IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  13626. IPPAPI (IppStatus, ippiErode3x3_32f_C3IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  13627. IPPAPI (IppStatus, ippiErode3x3_32f_AC4IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  13628. IPPAPI (IppStatus, ippiErode3x3_32f_C4IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  13629. IPPAPI (IppStatus, ippiDilate3x3_32f_C1IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  13630. IPPAPI (IppStatus, ippiDilate3x3_32f_C3IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  13631. IPPAPI (IppStatus, ippiDilate3x3_32f_AC4IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  13632. IPPAPI (IppStatus, ippiDilate3x3_32f_C4IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize))
  13633. IPPAPI (IppStatus, ippiErode3x3_16u_C1IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13634. IPPAPI (IppStatus, ippiErode3x3_16u_C3IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13635. IPPAPI (IppStatus, ippiErode3x3_16u_C4IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13636. IPPAPI (IppStatus, ippiErode3x3_16u_AC4IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13637. IPPAPI (IppStatus, ippiDilate3x3_16u_C1IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13638. IPPAPI (IppStatus, ippiDilate3x3_16u_C3IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13639. IPPAPI (IppStatus, ippiDilate3x3_16u_C4IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13640. IPPAPI (IppStatus, ippiDilate3x3_16u_AC4IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize))
  13641. /* /////////////////////////////////////////////////////////////////////////////
  13642. // Name: ippiErode_8u_C1R() ippiDilate_8u_C1R()
  13643. // ippiErode_8u_C3R() ippiDilate_8u_C3R()
  13644. // ippiErode_8u_C4R() ippiDilate_8u_C4R()
  13645. // ippiErode_8u_AC4R() ippiDilate_8u_AC4R()
  13646. //
  13647. // ippiErode_32f_C1R() ippiDilate_32f_C1R()
  13648. // ippiErode_32f_C3R() ippiDilate_32f_C3R()
  13649. // ippiErode_32f_C4R() ippiDilate_32f_C4R()
  13650. // ippiErode_32f_AC4R() ippiDilate_32f_AC4R()
  13651. //
  13652. // Purpose: Performs not in-place erosion/dilation using an arbitrary mask
  13653. //
  13654. // Returns:
  13655. // ippStsNullPtrErr, if pSrc == NULL or
  13656. // pDst == NULL or
  13657. // pMask== NULL
  13658. // ippStsStepErr, if srcStep <= 0 or
  13659. // dstStep <= 0
  13660. // ippStsSizeErr, if dstRoiSize.width <1 or
  13661. // dstRoiSize.height <1
  13662. // ippStsSizeErr, if maskSize.width <1 or
  13663. // maskSize.height <1
  13664. // ippStsAnchorErr, if (0>anchor.x)||(anchor.x>=maskSize.width) or
  13665. // (0>anchor.y)||(anchor.y>=maskSize.height)
  13666. // ippStsStrideErr, if (maskSize.width-1+dstRoiSize.width)*nChannels*sizeof(item)) > srcStep or
  13667. // (maskSize.width-1+dstRoiSize.width)*nChannels*sizeof(item)) > dstStep
  13668. // ippStsMemAllocErr, if can not allocate memory
  13669. // ippStsZeroMaskValuesErr, if all values of the mask are zero
  13670. // ippStsNoErr, if no errors
  13671. //
  13672. // Parameters:
  13673. // pSrc pointer to the source image ROI
  13674. // srcStep source image scan-line size (bytes)
  13675. // pDst pointer to the target image ROI
  13676. // dstStep target image scan-line size (bytes)
  13677. // dstRoiSize size of ROI
  13678. // pMask pointer to the mask
  13679. // maskSize size of mask
  13680. // anchor position of the anchor
  13681. */
  13682. IPPAPI (IppStatus, ippiErode_8u_C1R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  13683. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13684. IPPAPI (IppStatus, ippiErode_8u_C3R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  13685. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13686. IPPAPI (IppStatus, ippiErode_8u_C4R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  13687. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13688. IPPAPI (IppStatus, ippiErode_8u_AC4R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  13689. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13690. IPPAPI (IppStatus, ippiDilate_8u_C1R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  13691. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13692. IPPAPI (IppStatus, ippiDilate_8u_C3R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  13693. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13694. IPPAPI (IppStatus, ippiDilate_8u_C4R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  13695. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13696. IPPAPI (IppStatus, ippiDilate_8u_AC4R, (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, IppiSize dstRoiSize,
  13697. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13698. IPPAPI (IppStatus, ippiErode_32f_C1R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  13699. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13700. IPPAPI (IppStatus, ippiErode_32f_C3R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  13701. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13702. IPPAPI (IppStatus, ippiErode_32f_C4R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  13703. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13704. IPPAPI (IppStatus, ippiErode_32f_AC4R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  13705. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13706. IPPAPI (IppStatus, ippiDilate_32f_C1R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  13707. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13708. IPPAPI (IppStatus, ippiDilate_32f_C3R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  13709. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13710. IPPAPI (IppStatus, ippiDilate_32f_C4R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  13711. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13712. IPPAPI (IppStatus, ippiDilate_32f_AC4R,(const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep, IppiSize dstRoiSize,
  13713. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13714. IPPAPI (IppStatus, ippiErode_16u_C1R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  13715. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13716. IPPAPI (IppStatus, ippiErode_16u_C3R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  13717. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13718. IPPAPI (IppStatus, ippiErode_16u_C4R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  13719. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13720. IPPAPI (IppStatus, ippiErode_16u_AC4R,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  13721. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13722. IPPAPI (IppStatus, ippiDilate_16u_C1R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  13723. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13724. IPPAPI (IppStatus, ippiDilate_16u_C3R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  13725. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13726. IPPAPI (IppStatus, ippiDilate_16u_C4R, (const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  13727. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13728. IPPAPI (IppStatus, ippiDilate_16u_AC4R,(const Ipp16u* pSrc, int srcStep, Ipp16u* pDst, int dstStep, IppiSize dstRoiSize,
  13729. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13730. /* /////////////////////////////////////////////////////////////////////////////
  13731. // Name: ippiErode_8u_C1IR() ippiDilate_8u_C1IR()
  13732. // ippiErode_8u_C3IR() ippiDilate_8u_C3IR()
  13733. // ippiErode_8u_AC4IR() ippiDilate_8u_AC4IR()
  13734. //
  13735. // ippiErode_32f_C1IR() ippiDilate_32f_C1IR()
  13736. // ippiErode_32f_C3IR() ippiDilate_32f_C3IR()
  13737. // ippiErode_32f_AC4IR() ippiDilate_32f_AC4IR()
  13738. //
  13739. // Purpose: Performs in-place erosion/dilation using an arbitrary mask
  13740. //
  13741. // Returns:
  13742. // ippStsNullPtrErr, if pSrcDst == NULL or
  13743. // pMask== NULL
  13744. // ippStsStepErr, if srcDstStep <= 0
  13745. // ippStsSizeErr, if dstRoiSize.width <1 or
  13746. // dstRoiSize.height <1
  13747. // ippStsSizeErr, if maskSize.width <1 or
  13748. // maskSize.height <1
  13749. // ippStsAnchorErr, if (0>anchor.x)||(anchor.x>=maskSize.width) or
  13750. // (0>anchor.y)||(anchor.y>=maskSize.height)
  13751. // ippStsStrideErr, if (maskSize.width-1+dstRoiSize.width)*nChannels*sizeof(item)) > srcDstStep
  13752. // ippStsMemAllocErr, if can not allocate memory
  13753. // ippStsZeroMaskValuesErr, if all values of the mask are zero
  13754. // ippStsNoErr, if no errors
  13755. //
  13756. // Parameters:
  13757. // pSrcDst pointer to the source image ROI
  13758. // srcDstStep source image scan-line size (bytes)
  13759. // dstRoiSize size of ROI
  13760. // pMask pointer to the mask
  13761. // maskSize size of mask
  13762. // anchor position of the anchor
  13763. */
  13764. IPPAPI (IppStatus, ippiErode_8u_C1IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13765. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13766. IPPAPI (IppStatus, ippiErode_8u_C3IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13767. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13768. IPPAPI (IppStatus, ippiErode_8u_AC4IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13769. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13770. IPPAPI (IppStatus, ippiDilate_8u_C1IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13771. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13772. IPPAPI (IppStatus, ippiDilate_8u_C3IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13773. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13774. IPPAPI (IppStatus, ippiDilate_8u_AC4IR, (Ipp8u* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13775. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13776. IPPAPI (IppStatus, ippiErode_32f_C1IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13777. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13778. IPPAPI (IppStatus, ippiErode_32f_C3IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13779. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13780. IPPAPI (IppStatus, ippiErode_32f_AC4IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13781. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13782. IPPAPI (IppStatus, ippiDilate_32f_C1IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13783. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13784. IPPAPI (IppStatus, ippiDilate_32f_C3IR, (Ipp32f* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13785. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13786. IPPAPI (IppStatus, ippiDilate_32f_AC4IR,(Ipp32f* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13787. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13788. IPPAPI (IppStatus, ippiErode_16u_C1IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13789. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13790. IPPAPI (IppStatus, ippiErode_16u_C3IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13791. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13792. IPPAPI (IppStatus, ippiErode_16u_AC4IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13793. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13794. IPPAPI (IppStatus, ippiDilate_16u_C1IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13795. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13796. IPPAPI (IppStatus, ippiDilate_16u_C3IR, (Ipp16u* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13797. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13798. IPPAPI (IppStatus, ippiDilate_16u_AC4IR,(Ipp16u* pSrcDst, int srcDstStep, IppiSize dstRoiSize,
  13799. const Ipp8u* pMask, IppiSize maskSize, IppiPoint anchor))
  13800. /* ///////////////////////////////////////////////////////////////////////////
  13801. // Name:
  13802. // ippiZigzagInv8x8_16s_C1
  13803. // ippiZigzagFwd8x8_16s_C1
  13804. //
  13805. // Purpose:
  13806. // Converts a natural order to zigzag in an 8x8 block (forward function),
  13807. // converts a zigzag order to natural in a 8x8 block (inverse function)
  13808. //
  13809. // Parameter:
  13810. // pSrc Pointer to the source block
  13811. // pDst Pointer to the destination block
  13812. //
  13813. // Returns:
  13814. // ippStsNoErr No errors
  13815. // ippStsNullPtrErr One of the pointers is NULL
  13816. //
  13817. */
  13818. IPPAPI(IppStatus, ippiZigzagInv8x8_16s_C1,(const Ipp16s* pSrc, Ipp16s* pDst))
  13819. IPPAPI(IppStatus, ippiZigzagFwd8x8_16s_C1, (const Ipp16s* pSrc, Ipp16s* pDst))
  13820. /* /////////////////////////////////////////////////////////////////////////////
  13821. // Windowing functions
  13822. //
  13823. // Note: to obtain the window coefficients you have apply the corresponding
  13824. // function to the image with all pixel values set to 1 (this image can
  13825. // be created, for example, calling function ippiSet(1,x,n))
  13826. ///////////////////////////////////////////////////////////////////////////// */
  13827. /* /////////////////////////////////////////////////////////////////////////////
  13828. // Names: ippiWinBartlett, ippiWinBartlettSep
  13829. // Purpose: Applies Bartlett windowing function to an image
  13830. // Parameters:
  13831. // pSrc Pointer to the source image
  13832. // srcStep Step through the source image
  13833. // pDst Pointer to the destination image
  13834. // dstStep Step through the destination image
  13835. // pSrcDst Pointer to the source/destination image (in-place flavors)
  13836. // srcDstStep Step through the source/destination image (in-place flavors)
  13837. // roiSize Size of the ROI
  13838. // Returns:
  13839. // ippStsNullPtrErr One of the pointers is NULL
  13840. // ippStsSizeErr roiSize has a field with value less than 3
  13841. // ippStsNoErr No errors
  13842. */
  13843. IPPAPI(IppStatus, ippiWinBartlett_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep,
  13844. IppiSize roiSize))
  13845. IPPAPI(IppStatus, ippiWinBartlett_8u_C1IR, (Ipp8u* pSrcDst, int srcDstStep,
  13846. IppiSize roiSize))
  13847. IPPAPI(IppStatus, ippiWinBartlettSep_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep,
  13848. IppiSize roiSize))
  13849. IPPAPI(IppStatus, ippiWinBartlettSep_8u_C1IR, (Ipp8u* pSrcDst, int srcDstStep,
  13850. IppiSize roiSize))
  13851. IPPAPI(IppStatus, ippiWinBartlett_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  13852. Ipp32f* pDst, int dstStep,
  13853. IppiSize roiSize))
  13854. IPPAPI(IppStatus, ippiWinBartlett_8u_C1R, (const Ipp8u* pSrc, int srcStep,
  13855. Ipp8u* pDst, int dstStep,
  13856. IppiSize roiSize))
  13857. IPPAPI(IppStatus, ippiWinBartlettSep_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  13858. Ipp32f* pDst, int dstStep,
  13859. IppiSize roiSize))
  13860. IPPAPI(IppStatus, ippiWinBartlettSep_8u_C1R, (const Ipp8u* pSrc, int srcStep,
  13861. Ipp8u* pDst, int dstStep,
  13862. IppiSize roiSize))
  13863. IPPAPI(IppStatus, ippiWinBartlett_16u_C1IR, (Ipp16u* pSrcDst, int srcDstStep,
  13864. IppiSize roiSize))
  13865. IPPAPI(IppStatus, ippiWinBartlettSep_16u_C1IR,(Ipp16u* pSrcDst, int srcDstStep,
  13866. IppiSize roiSize))
  13867. IPPAPI(IppStatus, ippiWinBartlett_16u_C1R, (const Ipp16u* pSrc, int srcStep,
  13868. Ipp16u* pDst, int dstStep,
  13869. IppiSize roiSize))
  13870. IPPAPI(IppStatus, ippiWinBartlettSep_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  13871. Ipp16u* pDst, int dstStep,
  13872. IppiSize roiSize))
  13873. /* /////////////////////////////////////////////////////////////////////////////
  13874. // Names: ippiWinHamming, ippiWinHammimgSep
  13875. // Purpose:
  13876. // Parameters:
  13877. // pSrc Pointer to the source image
  13878. // srcStep Step through the source image
  13879. // pDst Pointer to the destination image
  13880. // dstStep Step through the destination image
  13881. // pSrcDst Pointer to the source/destination image (in-place flavors)
  13882. // srcDstStep Step through the source/destination image (in-place flavors)
  13883. // roiSize Size of the ROI
  13884. // Returns:
  13885. // ippStsNullPtrErr One of the pointers is NULL
  13886. // ippStsSizeErr roiSize has a field with value less than 3
  13887. // ippStsNoErr No errors
  13888. */
  13889. IPPAPI(IppStatus, ippiWinHamming_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep,
  13890. IppiSize roiSize))
  13891. IPPAPI(IppStatus, ippiWinHamming_8u_C1IR, (Ipp8u* pSrcDst, int srcDstStep,
  13892. IppiSize roiSize))
  13893. IPPAPI(IppStatus, ippiWinHammingSep_32f_C1IR,(Ipp32f* pSrcDst, int srcDstStep,
  13894. IppiSize roiSize))
  13895. IPPAPI(IppStatus, ippiWinHammingSep_8u_C1IR, (Ipp8u* pSrcDst, int srcDstStep,
  13896. IppiSize roiSize))
  13897. IPPAPI(IppStatus, ippiWinHamming_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  13898. Ipp32f* pDst, int dstStep,
  13899. IppiSize roiSize))
  13900. IPPAPI(IppStatus, ippiWinHamming_8u_C1R, (const Ipp8u* pSrc, int srcStep,
  13901. Ipp8u* pDst, int dstStep,
  13902. IppiSize roiSize))
  13903. IPPAPI(IppStatus, ippiWinHammingSep_32f_C1R,(const Ipp32f* pSrc, int srcStep,
  13904. Ipp32f* pDst, int dstStep,
  13905. IppiSize roiSize))
  13906. IPPAPI(IppStatus, ippiWinHammingSep_8u_C1R, (const Ipp8u* pSrc, int srcStep,
  13907. Ipp8u* pDst, int dstStep,
  13908. IppiSize roiSize))
  13909. IPPAPI(IppStatus, ippiWinHamming_16u_C1IR, (Ipp16u* pSrcDst, int srcDstStep,
  13910. IppiSize roiSize))
  13911. IPPAPI(IppStatus, ippiWinHammingSep_16u_C1IR,(Ipp16u* pSrcDst, int srcDstStep,
  13912. IppiSize roiSize))
  13913. IPPAPI(IppStatus, ippiWinHamming_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  13914. Ipp16u* pDst, int dstStep,
  13915. IppiSize roiSize))
  13916. IPPAPI(IppStatus, ippiWinHammingSep_16u_C1R,(const Ipp16u* pSrc, int srcStep,
  13917. Ipp16u* pDst, int dstStep,
  13918. IppiSize roiSize))
  13919. /* /////////////////////////////////////////////////////////////////////////////
  13920. //
  13921. // Name: ippiTranspose
  13922. //
  13923. // Purpose: Transposing an image
  13924. //
  13925. // Returns: IppStatus
  13926. // ippStsNoErr No errors
  13927. // ippStsNullPtrErr pSrc == NULL, or pDst == NULL
  13928. // ippStsSizeErr roiSize has a field with zero or negative value,
  13929. // and roiSize.width != roiSize.height (in-place flavors)
  13930. //
  13931. // Parameters:
  13932. // pSrc Pointer to the source image
  13933. // srcStep Step through the source image
  13934. // pDst Pointer to the destination image
  13935. // dstStep Step through the destination image
  13936. // pSrcDst Pointer to the source/destination image (in-place flavors)
  13937. // srcDstStep Step through the source/destination image (in-place flavors)
  13938. // roiSize Size of the ROI
  13939. //
  13940. // Notes: Parameters roiSize.width and roiSize.height are defined for the source image.
  13941. //
  13942. */
  13943. IPPAPI ( IppStatus, ippiTranspose_8u_C1R,
  13944. ( const Ipp8u* pSrc, int srcStep,
  13945. Ipp8u* pDst, int dstStep,
  13946. IppiSize roiSize ))
  13947. IPPAPI ( IppStatus, ippiTranspose_8u_C3R,
  13948. ( const Ipp8u* pSrc, int srcStep,
  13949. Ipp8u* pDst, int dstStep,
  13950. IppiSize roiSize ))
  13951. IPPAPI ( IppStatus, ippiTranspose_8u_C4R,
  13952. ( const Ipp8u* pSrc, int srcStep,
  13953. Ipp8u* pDst, int dstStep,
  13954. IppiSize roiSize ))
  13955. IPPAPI ( IppStatus, ippiTranspose_8u_C1IR,
  13956. ( Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize ))
  13957. IPPAPI ( IppStatus, ippiTranspose_8u_C3IR,
  13958. ( Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize ))
  13959. IPPAPI ( IppStatus, ippiTranspose_8u_C4IR,
  13960. ( Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize ))
  13961. IPPAPI ( IppStatus, ippiTranspose_16u_C1R,
  13962. ( const Ipp16u* pSrc, int srcStep,
  13963. Ipp16u* pDst, int dstStep,
  13964. IppiSize roiSize ))
  13965. IPPAPI ( IppStatus, ippiTranspose_16u_C3R,
  13966. ( const Ipp16u* pSrc, int srcStep,
  13967. Ipp16u* pDst, int dstStep,
  13968. IppiSize roiSize ))
  13969. IPPAPI ( IppStatus, ippiTranspose_16u_C4R,
  13970. ( const Ipp16u* pSrc, int srcStep,
  13971. Ipp16u* pDst, int dstStep,
  13972. IppiSize roiSize ))
  13973. IPPAPI ( IppStatus, ippiTranspose_16u_C1IR,
  13974. ( Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize ))
  13975. IPPAPI ( IppStatus, ippiTranspose_16u_C3IR,
  13976. ( Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize ))
  13977. IPPAPI ( IppStatus, ippiTranspose_16u_C4IR,
  13978. ( Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize ))
  13979. IPPAPI ( IppStatus, ippiTranspose_32s_C1R,
  13980. ( const Ipp32s* pSrc, int srcStep,
  13981. Ipp32s* pDst, int dstStep,
  13982. IppiSize roiSize ))
  13983. IPPAPI ( IppStatus, ippiTranspose_32s_C3R,
  13984. ( const Ipp32s* pSrc, int srcStep,
  13985. Ipp32s* pDst, int dstStep,
  13986. IppiSize roiSize ))
  13987. IPPAPI ( IppStatus, ippiTranspose_32s_C4R,
  13988. ( const Ipp32s* pSrc, int srcStep,
  13989. Ipp32s* pDst, int dstStep,
  13990. IppiSize roiSize ))
  13991. IPPAPI ( IppStatus, ippiTranspose_32s_C1IR,
  13992. ( Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize ))
  13993. IPPAPI ( IppStatus, ippiTranspose_32s_C3IR,
  13994. ( Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize ))
  13995. IPPAPI ( IppStatus, ippiTranspose_32s_C4IR,
  13996. ( Ipp32s* pSrcDst, int srcDstStep, IppiSize roiSize ))
  13997. IPPAPI ( IppStatus, ippiTranspose_16s_C1R,
  13998. ( const Ipp16s* pSrc, int srcStep,
  13999. Ipp16s* pDst, int dstStep,
  14000. IppiSize roiSize ))
  14001. IPPAPI ( IppStatus, ippiTranspose_16s_C3R,
  14002. ( const Ipp16s* pSrc, int srcStep,
  14003. Ipp16s* pDst, int dstStep,
  14004. IppiSize roiSize ))
  14005. IPPAPI ( IppStatus, ippiTranspose_16s_C4R,
  14006. ( const Ipp16s* pSrc, int srcStep,
  14007. Ipp16s* pDst, int dstStep,
  14008. IppiSize roiSize ))
  14009. IPPAPI ( IppStatus, ippiTranspose_16s_C1IR,
  14010. ( Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize ))
  14011. IPPAPI ( IppStatus, ippiTranspose_16s_C3IR,
  14012. ( Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize ))
  14013. IPPAPI ( IppStatus, ippiTranspose_16s_C4IR,
  14014. ( Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize ))
  14015. IPPAPI ( IppStatus, ippiTranspose_32f_C1R,
  14016. ( const Ipp32f* pSrc, int srcStep,
  14017. Ipp32f* pDst, int dstStep,
  14018. IppiSize roiSize ))
  14019. IPPAPI ( IppStatus, ippiTranspose_32f_C3R,
  14020. ( const Ipp32f* pSrc, int srcStep,
  14021. Ipp32f* pDst, int dstStep,
  14022. IppiSize roiSize ))
  14023. IPPAPI ( IppStatus, ippiTranspose_32f_C4R,
  14024. ( const Ipp32f* pSrc, int srcStep,
  14025. Ipp32f* pDst, int dstStep,
  14026. IppiSize roiSize ))
  14027. IPPAPI ( IppStatus, ippiTranspose_32f_C1IR,
  14028. ( Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize ))
  14029. IPPAPI ( IppStatus, ippiTranspose_32f_C3IR,
  14030. ( Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize ))
  14031. IPPAPI ( IppStatus, ippiTranspose_32f_C4IR,
  14032. ( Ipp32f* pSrcDst, int srcDstStep, IppiSize roiSize ))
  14033. /* /////////////////////////////////////////////////////////////////////////////
  14034. //
  14035. // Name: ippiDeconvFFTInitAlloc_32f_C*R
  14036. //
  14037. // Purpose: Creates and initializes the Deconvolution context structure
  14038. //
  14039. // Returns: IppStatus
  14040. // ippStsNoErr No errors
  14041. // ippStsNullPtrErr pDeconvFFTState == NULL, or pKernel == NULL
  14042. // ippStsSizeErr kernelSize less or equal to zero
  14043. // kernelSize great than 2^FFTorder,
  14044. // ippStsBadArgErr threshold less or equal to zero
  14045. //
  14046. // Parameters:
  14047. // pDeconvFFTState Pointer to the created Deconvolution context structure
  14048. // pKernel Pointer to the kernel array
  14049. // kernelSize Size of kernel
  14050. // FFTorder Order of created FFT structure
  14051. // threshold Threshold level value (for except dividing to zero)
  14052. //
  14053. */
  14054. IPPAPI ( IppStatus, ippiDeconvFFTInitAlloc_32f_C1R, (IppiDeconvFFTState_32f_C1R**
  14055. pDeconvFFTState, const Ipp32f* pKernel, int kernelSize, int FFTorder, Ipp32f threshold))
  14056. IPPAPI ( IppStatus, ippiDeconvFFTInitAlloc_32f_C3R, (IppiDeconvFFTState_32f_C3R**
  14057. pDeconvFFTState, const Ipp32f* pKernel, int kernelSize, int FFTorder, Ipp32f threshold))
  14058. /* /////////////////////////////////////////////////////////////////////////////
  14059. //
  14060. // Name: ippiDeconvFFT_32f_C*R
  14061. //
  14062. // Purpose: Perform deconvolution for source image using FFT
  14063. //
  14064. // Returns: IppStatus
  14065. // ippStsNoErr No errors
  14066. // ippStsNullPtrErr pDeconvFFTState == NULL, or pSrc == NULL or pDst == NULL
  14067. // ippStsSizeErr roi.width or roi.height less or equal to zero
  14068. // roi.width or roi.height great than (2^FFTorder-kernelSize)
  14069. // ippStsStepErr srcstep or dststep less than roi.width multiplied by type size
  14070. // ippStsNotEvenStepErr Indicates an error condition if one of step values for floating-point
  14071. // images cannot be divided by 4.
  14072. //
  14073. // Parameters:
  14074. // pSrc Pointer to the source image
  14075. // srcStep Step in bytes in the source image
  14076. // pDst Pointer to the destination image
  14077. // dstStep Step in bytes in the destination image
  14078. // roi Size of the image ROI in pixels.
  14079. // pDeconvFFTState Pointer to the Deconvolution context structure
  14080. //
  14081. */
  14082. IPPAPI ( IppStatus, ippiDeconvFFT_32f_C1R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst,
  14083. int dstStep, IppiSize roi, IppiDeconvFFTState_32f_C1R* pDeconvFFTState))
  14084. IPPAPI ( IppStatus, ippiDeconvFFT_32f_C3R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst,
  14085. int dstStep, IppiSize roi, IppiDeconvFFTState_32f_C3R* pDeconvFFTState))
  14086. /* /////////////////////////////////////////////////////////////////////////////
  14087. //
  14088. // Name: ippiDeconvFFTFree_32f_C*R
  14089. //
  14090. // Purpose: Deallocates memory used by the Deconvolution context structure
  14091. //
  14092. // Returns: IppStatus
  14093. // ippStsNoErr No errors
  14094. // ippStsNullPtrErr pDeconvFFTState == NULL
  14095. //
  14096. // Parameters:
  14097. // pDeconvFFTState Pointer to the Deconvolution context structure
  14098. //
  14099. */
  14100. IPPAPI ( IppStatus, ippiDeconvFFTFree_32f_C1R, (IppiDeconvFFTState_32f_C1R* pDeconvFFTState))
  14101. IPPAPI ( IppStatus, ippiDeconvFFTFree_32f_C3R, (IppiDeconvFFTState_32f_C3R* pDeconvFFTState))
  14102. /* /////////////////////////////////////////////////////////////////////////////
  14103. //
  14104. // Name: ippiDeconvLRInitAlloc_32f_C*R
  14105. //
  14106. // Purpose: Creates and initializes the Lucy-Richardson Deconvolution context structure
  14107. //
  14108. // Returns: IppStatus
  14109. // ippStsNoErr No errors
  14110. // ippStsNullPtrErr pDeconvLR == NULL, or pKernel == NULL
  14111. // ippStsSizeErr kernelSize less or equal to zero
  14112. // kernelSize great than maxroi.width or maxroi.height,
  14113. // maxroi.height or maxroi.width less or equal to zero
  14114. // ippStsBadArgErr threshold less or equal to zero
  14115. //
  14116. // Parameters:
  14117. // pDeconvLR Pointer to the created Lucy-Richardson Deconvolution context structure
  14118. // pKernel Pointer to the kernel array
  14119. // kernelSize Size of kernel
  14120. // maxroi Maximum size of the image ROI in pixels.
  14121. // threshold Threshold level value (for except dividing to zero)
  14122. //
  14123. */
  14124. IPPAPI ( IppStatus, ippiDeconvLRInitAlloc_32f_C1R, (IppiDeconvLR_32f_C1R** pDeconvLR,
  14125. const Ipp32f* pKernel, int kernelSize, IppiSize maxroi, Ipp32f threshold))
  14126. IPPAPI ( IppStatus, ippiDeconvLRInitAlloc_32f_C3R, (IppiDeconvLR_32f_C3R** pDeconvLR,
  14127. const Ipp32f* pKernel, int kernelSize, IppiSize maxroi, Ipp32f threshold))
  14128. /* /////////////////////////////////////////////////////////////////////////////
  14129. //
  14130. // Name: ippiDeconvLR_32f_C*R
  14131. //
  14132. // Purpose: Perform deconvolution for source image using Lucy-Richardson algorithm
  14133. //
  14134. // Returns: IppStatus
  14135. // ippStsNoErr No errors
  14136. // ippStsNullPtrErr pDeconvLR == NULL, or pSrc == NULL or pDst == NULL
  14137. // ippStsSizeErr roi.width or roi.height less or equal to zero
  14138. // roi.width great than (maxroi.width-kernelSize)
  14139. // roi.height great than (maxroi.height-kernelSize)
  14140. // ippStsStepErr srcstep or dststep less than roi.width multiplied by type size
  14141. // ippStsNotEvenStepErr Indicates an error condition if one of step values for floating-point
  14142. // images cannot be divided by 4
  14143. // ippStsBadArgErr number of iterations less or equal to zero
  14144. //
  14145. // Parameters:
  14146. // pSrc Pointer to the source image
  14147. // srcStep Step in bytes in the source image
  14148. // pDst Pointer to the destination image
  14149. // dstStep Step in bytes in the destination image
  14150. // roi Size of the image ROI in pixels
  14151. // numiter Number of algorithm iteration
  14152. // pDeconvLR Pointer to the Lucy-Richardson Deconvolution context structure
  14153. //
  14154. */
  14155. IPPAPI ( IppStatus, ippiDeconvLR_32f_C1R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  14156. IppiSize roi, int numiter, IppiDeconvLR_32f_C1R* pDeconvLR))
  14157. IPPAPI ( IppStatus, ippiDeconvLR_32f_C3R, (const Ipp32f* pSrc, int srcStep, Ipp32f* pDst, int dstStep,
  14158. IppiSize roi, int numiter, IppiDeconvLR_32f_C3R* pDeconvLR))
  14159. /* /////////////////////////////////////////////////////////////////////////////
  14160. //
  14161. // Name: ippiDeconvLRFree_32f_C*R
  14162. //
  14163. // Purpose: Deallocates memory used by the Lucy-Richardson Deconvolution context structure
  14164. //
  14165. // Returns: IppStatus
  14166. // ippStsNoErr No errors
  14167. // ippStsNullPtrErr pDeconvLR == NULL
  14168. //
  14169. // Parameters:
  14170. // pDeconvLR Pointer to the Lucy-Richardson Deconvolution context structure
  14171. //
  14172. */
  14173. IPPAPI ( IppStatus, ippiDeconvLRFree_32f_C1R, (IppiDeconvLR_32f_C1R* pDeconvLR))
  14174. IPPAPI ( IppStatus, ippiDeconvLRFree_32f_C3R, (IppiDeconvLR_32f_C3R* pDeconvLR))
  14175. /* /////////////////////////////////////////////////////////////////////////////
  14176. //
  14177. // Names: ippiCompColorKey_8u_C1R
  14178. // ippiCompColorKey_8u_C3R
  14179. // ippiCompColorKey_8u_C4R
  14180. // ippiCompColorKey_16s_C1R
  14181. // ippiCompColorKey_16s_C3R
  14182. // ippiCompColorKey_16s_C4R
  14183. // ippiCompColorKey_16u_C1R
  14184. // ippiCompColorKey_16u_C3R
  14185. // ippiCompColorKey_16u_C4R
  14186. //
  14187. // Purpose: Perform alpha blending with transparent background.
  14188. //
  14189. // Returns: IppStatus
  14190. // ippStsNoErr No errors
  14191. // ippStsNullPtrErr One of the pointers is NULL
  14192. // ippStsSizeErr The roiSize has a field with negative or zero value
  14193. // ippStsStepErr One of steps is less than or equal to zero
  14194. // ippStsAlphaTypeErr Unsupported type of composition (for ippiAlphaCompColorKey)
  14195. //
  14196. // Parameters:
  14197. // pSrc1, pSrc2 Pointers to the source images
  14198. // src1Step, src2Step Steps through the source images
  14199. // pDst Pointer to the destination image
  14200. // dstStep Step through the destination image
  14201. // roiSize Size of the image ROI
  14202. // colorKey Color value (array of values for multi-channel data)
  14203. // alphaType The type of composition to perform (for ippiAlphaCompColorKey)
  14204. //
  14205. */
  14206. IPPAPI (IppStatus, ippiCompColorKey_8u_C1R, (const Ipp8u* pSrc1, int src1Step,
  14207. const Ipp8u* pSrc2, int src2Step,
  14208. Ipp8u* pDst, int dstStep,
  14209. IppiSize roiSize, Ipp8u colorKey))
  14210. IPPAPI (IppStatus, ippiCompColorKey_8u_C3R, (const Ipp8u* pSrc1, int src1Step,
  14211. const Ipp8u* pSrc2, int src2Step,
  14212. Ipp8u* pDst, int dstStep,
  14213. IppiSize roiSize, Ipp8u colorKey[3]))
  14214. IPPAPI (IppStatus, ippiCompColorKey_8u_C4R, (const Ipp8u* pSrc1, int src1Step,
  14215. const Ipp8u* pSrc2, int src2Step,
  14216. Ipp8u* pDst, int dstStep,
  14217. IppiSize roiSize, Ipp8u colorKey[4]))
  14218. IPPAPI (IppStatus, ippiCompColorKey_16u_C1R, (const Ipp16u* pSrc1, int src1Step,
  14219. const Ipp16u* pSrc2, int src2Step,
  14220. Ipp16u* pDst, int dstStep,
  14221. IppiSize roiSize, Ipp16u colorKey))
  14222. IPPAPI (IppStatus, ippiCompColorKey_16u_C3R, (const Ipp16u* pSrc1, int src1Step,
  14223. const Ipp16u* pSrc2, int src2Step,
  14224. Ipp16u* pDst, int dstStep,
  14225. IppiSize roiSize, Ipp16u colorKey[3]))
  14226. IPPAPI (IppStatus, ippiCompColorKey_16u_C4R, (const Ipp16u* pSrc1, int src1Step,
  14227. const Ipp16u* pSrc2, int src2Step,
  14228. Ipp16u* pDst, int dstStep,
  14229. IppiSize roiSize, Ipp16u colorKey[4]))
  14230. IPPAPI (IppStatus, ippiCompColorKey_16s_C1R, (const Ipp16s* pSrc1, int src1Step,
  14231. const Ipp16s* pSrc2, int src2Step,
  14232. Ipp16s* pDst, int dstStep,
  14233. IppiSize roiSize, Ipp16s colorKey))
  14234. IPPAPI (IppStatus, ippiCompColorKey_16s_C3R, (const Ipp16s* pSrc1, int src1Step,
  14235. const Ipp16s* pSrc2, int src2Step,
  14236. Ipp16s* pDst, int dstStep,
  14237. IppiSize roiSize, Ipp16s colorKey[3]))
  14238. IPPAPI (IppStatus, ippiCompColorKey_16s_C4R, (const Ipp16s* pSrc1, int src1Step,
  14239. const Ipp16s* pSrc2, int src2Step,
  14240. Ipp16s* pDst, int dstStep,
  14241. IppiSize roiSize, Ipp16s colorkey[4]))
  14242. IPPAPI (IppStatus, ippiAlphaCompColorKey_8u_AC4R, ( const Ipp8u* pSrc1, int src1Step,Ipp8u alpha1,
  14243. const Ipp8u* pSrc2, int src2Step, Ipp8u alpha2,
  14244. Ipp8u* pDst, int dstStep,
  14245. IppiSize roiSize, Ipp8u colorKey[4],IppiAlphaType alphaType ))
  14246. /* ///////////////////////////////////////////////////////////////////////////
  14247. // Median filter function
  14248. // ///////////////////////////////////////////////////////////////////////////
  14249. // Name:
  14250. // ippiMedian_8u_P3C1R
  14251. //
  14252. // Purpose:
  14253. // Median of three images.
  14254. //
  14255. // For each pixel (x, y) in the ROI:
  14256. // pDst[x + y*dstStep] = MEDIAN(pSrc[0][x + y*srcStep],
  14257. // pSrc[1][x + y*srcStep],
  14258. // pSrc[2][x + y*srcStep]);
  14259. //
  14260. // Parameters:
  14261. // pSrc Pointer to three source images.
  14262. // srcStep Step in bytes through source images.
  14263. // pDst Pointer to the destination image.
  14264. // dstStep Step in bytes through the destination image buffer.
  14265. // size Size of the ROI in pixels.
  14266. //
  14267. // Returns:
  14268. // ippStsNoErr Indicates no error. Any other value indicates an error or a warning.
  14269. // ippStsNullPtrErr Indicates an error if one of the specified pointers is NULL.
  14270. // ippStsSizeErr Indicates an error condition if size has a field with zero or negative value.
  14271. //
  14272. */
  14273. IPPAPI(IppStatus, ippiMedian_8u_P3C1R, (const Ipp8u *pSrc[3],
  14274. int srcStep,
  14275. Ipp8u *pDst,
  14276. int dstStep,
  14277. IppiSize size))
  14278. /* /////////////////////////////////////////////////////////////////////////////
  14279. // De-interlacing filter function
  14280. // /////////////////////////////////////////////////////////////////////////////
  14281. // /////////////////////////////////////////////////////////////////////////////
  14282. //
  14283. // Name: ippiDeinterlaceFilterCAVT_8u_C1R
  14284. // Purpose: Performs de-interlacing of two-field image
  14285. // using content adaptive vertical temporal (CAVT) filtering
  14286. // Parameters:
  14287. // pSrc pointer to the source image (frame)
  14288. // srcStep step of the source pointer in bytes
  14289. // pDst pointer to the destination image (frame)
  14290. // dstStep step of the destination pointer in bytes
  14291. // threshold threshold level value
  14292. // roiSize size of the source and destination ROI
  14293. // Returns:
  14294. // ippStsNoErr no errors
  14295. // ippStsNullPtrErr pSrc == NULL or pDst == NULL
  14296. // ippStsSizeErr width of roi is less or equal zero or
  14297. // height of roi is less 8 or odd
  14298. */
  14299. IPPAPI(IppStatus, ippiDeinterlaceFilterCAVT_8u_C1R,
  14300. (const Ipp8u* pSrc, int srcStep, Ipp8u* pDst, int dstStep, Ipp16u threshold, IppiSize roiSize))
  14301. /* /////////////////////////////////////////////////////////////////////////////
  14302. // Bilateral filter function
  14303. // /////////////////////////////////////////////////////////////////////////////
  14304. // Name: ippiFilterBilateralGetBufSize_8u_C1R
  14305. // Purpose: to define buffer size for bilateral filter
  14306. // Parameters:
  14307. // filter type of bilateral filter
  14308. // maxDstRoiSize maximum roi size of destination image what will be applied
  14309. // for processing
  14310. // maxKernelSize maximum size of kernel what will be applied for processing
  14311. // pBufferSize pointer to buffer size
  14312. // Return:
  14313. // ippStsNoErr OK
  14314. // ippStsNullPtrErr pointer to buffer size is NULL
  14315. // ippStsSizeErr size of maxDstRoiSize is less or equal 0
  14316. // ippStsMaskSizeErr size of maxKernelSize is less or equal 0
  14317. // ippStsNotSupportedModeErr bilateral filter type is not supported
  14318. */
  14319. IPPAPI(IppStatus,ippiFilterBilateralGetBufSize_8u_C1R,
  14320. ( IppiFilterBilateralType filter, IppiSize maxDstRoiSize,
  14321. IppiSize maxKernelSize, int *pBufferSize ))
  14322. /* /////////////////////////////////////////////////////////////////////////////
  14323. // Name: ippiFilterBilateralInit_8u_C1R
  14324. // Purpose: initialization of Spec for bilateral filter
  14325. // Parameters:
  14326. // filter type of bilateral filter
  14327. // valSquareSigma square of Sigma for factor function for pixel value
  14328. // posSquareSigma square of Sigma for factor function for pixel position
  14329. // stepInKernel processing step in kernel
  14330. // pSpec pointer to Spec
  14331. // Return:
  14332. // ippStsNoErr OK
  14333. // ippStsNullPtrErr pointer to Spec is NULL
  14334. // ippStsMaskSizeErr size of maxKernelSize is less or equal 0
  14335. // ippStsBadArgErr valSquareSigma, posSquareSigma or stepInKernel
  14336. // is less or equal 0
  14337. // ippStsNotSupportedModeErr bilateral filter type is not supported
  14338. */
  14339. IPPAPI(IppStatus,ippiFilterBilateralInit_8u_C1R,( IppiFilterBilateralType filter,
  14340. IppiSize maxKernelSize, Ipp32f valSquareSigma, Ipp32f posSquareSigma,
  14341. int stepInKernel, IppiFilterBilateralSpec *pSpec ))
  14342. /* /////////////////////////////////////////////////////////////////////////////
  14343. // Name: ippiFilterBilateral_8u_C1R
  14344. // Purpose: bilateral filter
  14345. // Parameters:
  14346. // pSrc Pointer to the source image
  14347. // srcStep Step through the source image
  14348. // pDst Pointer to the destination image
  14349. // dstStep Step through the destination image
  14350. // dstRoiSize Size of the destination ROI
  14351. // kernelSize Size of the filter kernel
  14352. // pSpec Pointer to filter spec
  14353. // Return:
  14354. // ippStsNoErr OK
  14355. // ippStsNullPtrErr pointer to Src, Dst or Specc is NULL
  14356. // ippStsSizeErr size of dstRoiSize is less or equal 0
  14357. // ippStsMaskSizeErr size of kernelSize is less or equal 0
  14358. // ippStsStepErr step of src or dst is less or equal 0
  14359. // ippStsContextMatchErr filter Spec is not match
  14360. */
  14361. IPPAPI(IppStatus,ippiFilterBilateral_8u_C1R,( const Ipp8u *pSrc, int srcStep,
  14362. Ipp8u *pDst, int dstStep, IppiSize dstRoiSize, IppiSize kernelSize,
  14363. IppiFilterBilateralSpec *pSpec))
  14364. /* ////////////////////////////////////////////////////////////////////////////
  14365. // Name: ippiFilterGetBufSize_64f_C1R
  14366. // Purpose: Get size of temporal buffer
  14367. // Parameters:
  14368. // kernelSize Size of the rectangular kernel in pixels.
  14369. // roiWidth Width of ROI
  14370. // pSize Pointer to the size of work buffer
  14371. // Returns:
  14372. // ippStsNoErr Ok
  14373. // ippStsNullPtrErr pSize is NULL
  14374. // ippStsSizeErr Some size of kernelSize or roiWidth less or equal zero
  14375. // Remark: Function may return zero size of buffer.
  14376. */
  14377. IPPAPI( IppStatus, ippiFilterGetBufSize_64f_C1R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14378. /* ////////////////////////////////////////////////////////////////////////////
  14379. // Name: ippiFilter64f_8u_C1R
  14380. // Purpose: Filters an image using a general float rectangular kernel
  14381. // Parameters:
  14382. // pSrc Pointer to the source buffer
  14383. // srcStep Step in bytes through the source image buffer
  14384. // pDst Pointer to the destination buffer
  14385. // dstStep Step in bytes through the destination image buffer
  14386. // dstRoiSize Size of the source and destination ROI in pixels
  14387. // pKernel Pointer to the kernel values ( 64f kernel )
  14388. // kernelSize Size of the rectangular kernel in pixels.
  14389. // anchor Anchor cell specifying the rectangular kernel alignment
  14390. // with respect to the position of the input pixel
  14391. // pBuffer Pointer to work buffer
  14392. // Returns:
  14393. // ippStsNoErr Ok
  14394. // ippStsNullPtrErr Some of pointers to pSrc, pDst or pKernel are NULL or
  14395. // pBuffer is null but GetBufSize returned non zero size
  14396. // ippStsSizeErr Some size of dstRoiSize or kernalSize less or equal zero
  14397. // ippStsStepErr srcStep is less than (roiWidth + kernelWidth - 1) * sizeof(Ipp64f) or
  14398. // dstStep is less than roiWidth * sizeof(Ipp64f)
  14399. */
  14400. IPPAPI( IppStatus, ippiFilter_64f_C1R, ( const Ipp64f* pSrc, int srcStep,
  14401. Ipp64f* pDst, int dstStep, IppiSize dstRoiSize, const Ipp64f* pKernel,
  14402. IppiSize kernelSize, IppiPoint anchor, Ipp8u* pBuffer ))
  14403. /* ///////////////////////////////////////////////////////////////////////////
  14404. // General Linear Filters with rounding
  14405. // ////////////////////////////////////////////////////////////////////////////
  14406. // Names: ippiFilterRoundGetBufSize16s_8u_C1R
  14407. // ippiFilterRoundGetBufSize16s_8u_C3R
  14408. // ippiFilterRoundGetBufSize16s_8u_C4R
  14409. // ippiFilterRoundGetBufSize16s_8u_AC4R
  14410. // ippiFilterRoundGetBufSize32s_16u_C1R
  14411. // ippiFilterRoundGetBufSize32s_16u_C3R
  14412. // ippiFilterRoundGetBufSize32s_16u_C4R
  14413. // ippiFilterRoundGetBufSize32s_16u_AC4R
  14414. // ippiFilterRoundGetBufSize32s_16s_C1R
  14415. // ippiFilterRoundGetBufSize32s_16s_C3R
  14416. // ippiFilterRoundGetBufSize32s_16s_C4R
  14417. // ippiFilterRoundGetBufSize32s_16s_AC4R
  14418. // ippiFilterRoundGetBufSize32f_8u_C3R
  14419. // ippiFilterRoundGetBufSize32f_8u_C3R
  14420. // ippiFilterRoundGetBufSize32f_8u_C4R
  14421. // ippiFilterRoundGetBufSize32f_8u_AC4R
  14422. // ippiFilterRoundGetBufSize32f_16u_C1R
  14423. // ippiFilterRoundGetBufSize32f_16u_C3R
  14424. // ippiFilterRoundGetBufSize32f_16u_C4R
  14425. // ippiFilterRoundGetBufSize32f_16u_AC4R
  14426. // ippiFilterRoundGetBufSize32f_16s_C1R
  14427. // ippiFilterRoundGetBufSize32f_16s_C3R
  14428. // ippiFilterRoundGetBufSize32f_16s_C4R
  14429. // ippiFilterRoundGetBufSize32f_16s_AC4R
  14430. // Purpose: Filters an image using a general integer rectangular kernel
  14431. // with rounding(ippRndZero, ippRndNear, ippRndFinancial)
  14432. // Purpose: Get size of temporal buffer
  14433. // kernelSize Size of the rectangular kernel in pixels.
  14434. // roiWidth Width of ROI
  14435. // pSize Pointer to the size of work buffer
  14436. // Returns:
  14437. // ippStsNoErr Ok
  14438. // ippStsNullPtrErr pSize is NULL
  14439. // ippStsSizeErr Some size of kernelSize or roiWidth less or equal zero
  14440. // Remark: Function may return zero size of buffer.
  14441. */
  14442. IPPAPI( IppStatus, ippiFilterRoundGetBufSize16s_8u_C1R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14443. IPPAPI( IppStatus, ippiFilterRoundGetBufSize16s_8u_C3R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14444. IPPAPI( IppStatus, ippiFilterRoundGetBufSize16s_8u_C4R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14445. IPPAPI( IppStatus, ippiFilterRoundGetBufSize16s_8u_AC4R,(IppiSize kernelSize, int roiWidth, int* pSize))
  14446. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32s_16u_C1R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14447. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32s_16u_C3R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14448. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32s_16u_C4R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14449. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32s_16u_AC4R,(IppiSize kernelSize, int roiWidth, int* pSize))
  14450. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32s_16s_C1R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14451. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32s_16s_C3R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14452. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32s_16s_C4R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14453. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32s_16s_AC4R,(IppiSize kernelSize, int roiWidth, int* pSize))
  14454. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32f_8u_C1R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14455. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32f_8u_C3R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14456. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32f_8u_C4R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14457. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32f_8u_AC4R,(IppiSize kernelSize, int roiWidth, int* pSize))
  14458. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32f_16u_C1R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14459. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32f_16u_C3R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14460. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32f_16u_C4R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14461. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32f_16u_AC4R,(IppiSize kernelSize, int roiWidth, int* pSize))
  14462. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32f_16s_C1R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14463. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32f_16s_C3R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14464. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32f_16s_C4R, (IppiSize kernelSize, int roiWidth, int* pSize))
  14465. IPPAPI( IppStatus, ippiFilterRoundGetBufSize32f_16s_AC4R,(IppiSize kernelSize, int roiWidth, int* pSize))
  14466. /*
  14467. //
  14468. // Purpose: Filters an image using a general integer rectangular kernel
  14469. // Names: ippiFilter_Round16s_8u_C1R
  14470. // ippiFilter_Round16s_8u_C3R
  14471. // ippiFilter_Round16s_8u_C4R
  14472. // ippiFilter_Round16s_8u_AC4R
  14473. // ippiFilter_Round32s_16u_C1R
  14474. // ippiFilter_Round32s_16u_C3R
  14475. // ippiFilter_Round32s_16u_C4R
  14476. // ippiFilter_Round32s_16u_AC4R
  14477. // ippiFilter_Round32s_16s_C1R
  14478. // ippiFilter_Round32s_16s_C3R
  14479. // ippiFilter_Round32s_16s_C4R
  14480. // ippiFilter_Round32s_16s_AC4R
  14481. // Purpose: Filters an image using a general integer rectangular kernel
  14482. // with rounding(ippRndZero, ippRndNear, ippRndFinancial)
  14483. // Parameters:
  14484. // pSrc Pointer to the source buffer
  14485. // srcStep Step in bytes through the source image buffer
  14486. // pDst Pointer to the destination buffer
  14487. // dstStep Step in bytes through the destination image buffer
  14488. // dstRoiSize Size of the source and destination ROI in pixels
  14489. // pKernel Pointer to the kernel values ( 16s(32s) kernel )
  14490. // kernelSize Size of the rectangular kernel in pixels.
  14491. // anchor Anchor cell specifying the rectangular kernel alignment
  14492. // with respect to the position of the input pixel
  14493. // divisor The integer value by which the computed result is divided.
  14494. // roundMode Rounding mode (ippRndZero, ippRndNear or ippRndFinancial)
  14495. // pBuffer Pointer to the temporary data
  14496. // Returns:
  14497. // ippStsNoErr OK
  14498. // ippStsNullPtrErr Some of pointers to pSrc, pDst or pKernel are NULL or
  14499. // pBuffer is null but GetBufSize returned non zero size
  14500. // ippStsSizeErr dstRoiSize or kernelSize has a field with zero or negative value
  14501. // ippStsDivisorErr divisor value is zero, function execution is interrupted
  14502. // ippStsStepErr srcStep is less than (roiWidth + kernelWidth - 1) * sizeof(Ipp64f) or
  14503. // dstStep is less than roiWidth * sizeof(*pSrc)
  14504. // ippStsRoundModeNotSupportedErr Unsupported round mode
  14505. */
  14506. IPPAPI( IppStatus, ippiFilter_Round16s_8u_C1R, ( const Ipp8u* pSrc, int srcStep,
  14507. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp16s* pKernel,
  14508. IppiSize kernelSize, IppiPoint anchor, int divisor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14509. IPPAPI( IppStatus, ippiFilter_Round16s_8u_C3R, ( const Ipp8u* pSrc, int srcStep,
  14510. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp16s* pKernel,
  14511. IppiSize kernelSize, IppiPoint anchor, int divisor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14512. IPPAPI( IppStatus, ippiFilter_Round16s_8u_C4R, ( const Ipp8u* pSrc, int srcStep,
  14513. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp16s* pKernel,
  14514. IppiSize kernelSize, IppiPoint anchor, int divisor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14515. IPPAPI( IppStatus, ippiFilter_Round16s_8u_AC4R, ( const Ipp8u* pSrc, int srcStep,
  14516. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp16s* pKernel,
  14517. IppiSize kernelSize, IppiPoint anchor, int divisor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14518. IPPAPI( IppStatus, ippiFilter_Round32s_16u_C1R, ( const Ipp16u* pSrc, int srcStep,
  14519. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  14520. IppiSize kernelSize, IppiPoint anchor, int divisor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14521. IPPAPI( IppStatus, ippiFilter_Round32s_16u_C3R, ( const Ipp16u* pSrc, int srcStep,
  14522. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  14523. IppiSize kernelSize, IppiPoint anchor, int divisor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14524. IPPAPI( IppStatus, ippiFilter_Round32s_16u_C4R, ( const Ipp16u* pSrc, int srcStep,
  14525. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  14526. IppiSize kernelSize, IppiPoint anchor, int divisor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14527. IPPAPI( IppStatus, ippiFilter_Round32s_16u_AC4R, ( const Ipp16u* pSrc, int srcStep,
  14528. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  14529. IppiSize kernelSize, IppiPoint anchor, int divisor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14530. IPPAPI( IppStatus, ippiFilter_Round32s_16s_C1R, ( const Ipp16s* pSrc, int srcStep,
  14531. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  14532. IppiSize kernelSize, IppiPoint anchor, int divisor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14533. IPPAPI( IppStatus, ippiFilter_Round32s_16s_C3R, ( const Ipp16s* pSrc, int srcStep,
  14534. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  14535. IppiSize kernelSize, IppiPoint anchor, int divisor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14536. IPPAPI( IppStatus, ippiFilter_Round32s_16s_C4R, ( const Ipp16s* pSrc, int srcStep,
  14537. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  14538. IppiSize kernelSize, IppiPoint anchor, int divisor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14539. IPPAPI( IppStatus, ippiFilter_Round32s_16s_AC4R, ( const Ipp16s* pSrc, int srcStep,
  14540. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32s* pKernel,
  14541. IppiSize kernelSize, IppiPoint anchor, int divisor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14542. /*
  14543. //
  14544. // Purpose: Filters an image using a general integer rectangular kernel
  14545. // Names: ippiFilter_Round32f_8u_C1R
  14546. // ippiFilter_Round32f_8u_C3R
  14547. // ippiFilter_Round32f_8u_C4R
  14548. // ippiFilter_Round32f_8u_AC4R
  14549. // ippiFilter_Round32f_16u_C1R
  14550. // ippiFilter_Round32f_16u_C3R
  14551. // ippiFilter_Round32f_16u_C4R
  14552. // ippiFilter_Round32f_16u_AC4R
  14553. // ippiFilter_Round32f_16s_C1R
  14554. // ippiFilter_Round32f_16s_C3R
  14555. // ippiFilter_Round32f_16s_C4R
  14556. // ippiFilter_Round32f_16s_AC4R
  14557. // Purpose: Filters an image using a general integer rectangular kernel
  14558. // with rounding(ippRndZero, ippRndNear, ippRndFinancial)
  14559. // Parameters:
  14560. // pSrc Pointer to the source buffer
  14561. // srcStep Step in bytes through the source image buffer
  14562. // pDst Pointer to the destination buffer
  14563. // dstStep Step in bytes through the destination image buffer
  14564. // dstRoiSize Size of the source and destination ROI in pixels
  14565. // pKernel Pointer to the kernel values ( 32f kernel )
  14566. // kernelSize Size of the rectangular kernel in pixels.
  14567. // anchor Anchor cell specifying the rectangular kernel alignment
  14568. // with respect to the position of the input pixel
  14569. // roundMode Rounding mode (ippRndZero, ippRndNear or ippRndFinancial)
  14570. // pBuffer Pointer to the temporary data
  14571. // Returns:
  14572. // ippStsNoErr OK
  14573. // ippStsNullPtrErr Some of pointers to pSrc, pDst or pKernel are NULL or
  14574. // pBuffer is null but GetBufSize returned non zero size
  14575. // ippStsSizeErr dstRoiSize or kernelSize has a field with zero or negative value
  14576. // ippStsStepErr srcStep is less than (roiWidth + kernelWidth - 1) * sizeof(Ipp64f) or
  14577. // dstStep is less than roiWidth * sizeof(*pSrc)
  14578. // ippStsRoundModeNotSupportedErr Unsupported round mode
  14579. */
  14580. IPPAPI( IppStatus, ippiFilter_Round32f_8u_C1R, ( const Ipp8u* pSrc, int srcStep,
  14581. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  14582. IppiSize kernelSize, IppiPoint anchor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14583. IPPAPI( IppStatus, ippiFilter_Round32f_8u_C3R, ( const Ipp8u* pSrc, int srcStep,
  14584. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  14585. IppiSize kernelSize, IppiPoint anchor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14586. IPPAPI( IppStatus, ippiFilter_Round32f_8u_C4R, ( const Ipp8u* pSrc, int srcStep,
  14587. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  14588. IppiSize kernelSize, IppiPoint anchor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14589. IPPAPI( IppStatus, ippiFilter_Round32f_8u_AC4R, ( const Ipp8u* pSrc, int srcStep,
  14590. Ipp8u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  14591. IppiSize kernelSize, IppiPoint anchor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14592. IPPAPI( IppStatus, ippiFilter_Round32f_16u_C1R, ( const Ipp16u* pSrc, int srcStep,
  14593. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  14594. IppiSize kernelSize, IppiPoint anchor, IppRoundMode roundMode, Ipp8u* pBuffer))
  14595. IPPAPI( IppStatus, ippiFilter_Round32f_16u_C3R, ( const Ipp16u* pSrc, int srcStep,
  14596. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  14597. IppiSize kernelSize, IppiPoint anchor, IppRoundMode roundMode, Ipp8u* pBuffer))
  14598. IPPAPI( IppStatus, ippiFilter_Round32f_16u_C4R, ( const Ipp16u* pSrc, int srcStep,
  14599. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  14600. IppiSize kernelSize, IppiPoint anchor, IppRoundMode roundMode, Ipp8u* pBuffer))
  14601. IPPAPI( IppStatus, ippiFilter_Round32f_16u_AC4R, ( const Ipp16u* pSrc, int srcStep,
  14602. Ipp16u* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  14603. IppiSize kernelSize, IppiPoint anchor, IppRoundMode roundMode, Ipp8u* pBuffer))
  14604. IPPAPI( IppStatus, ippiFilter_Round32f_16s_C1R, ( const Ipp16s* pSrc, int srcStep,
  14605. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  14606. IppiSize kernelSize, IppiPoint anchor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14607. IPPAPI( IppStatus, ippiFilter_Round32f_16s_C3R, ( const Ipp16s* pSrc, int srcStep,
  14608. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  14609. IppiSize kernelSize, IppiPoint anchor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14610. IPPAPI( IppStatus, ippiFilter_Round32f_16s_C4R, ( const Ipp16s* pSrc, int srcStep,
  14611. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  14612. IppiSize kernelSize, IppiPoint anchor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14613. IPPAPI( IppStatus, ippiFilter_Round32f_16s_AC4R, ( const Ipp16s* pSrc, int srcStep,
  14614. Ipp16s* pDst, int dstStep, IppiSize dstRoiSize, const Ipp32f* pKernel,
  14615. IppiSize kernelSize, IppiPoint anchor, IppRoundMode roundMode, Ipp8u* pBuffer ))
  14616. /*
  14617. // Purpose: Divides pixel values of an image by pixel values of
  14618. // another image with three rounding modes (ippRndZero,ippRndNear,ippRndFinancial)
  14619. // and places the scaled results in a destination
  14620. // image.
  14621. // Name: ippiDiv_Round_16s_C1RSfs, ippiDiv_Round_8u_C1RSfs, ippiDiv_Round_16u_C1RSfs,
  14622. // ippiDiv_Round_16s_C3RSfs, ippiDiv_Round_8u_C3RSfs, ippiDiv_Round_16u_C3RSfs,
  14623. // ippiDiv_Round_16s_C4RSfs, ippiDiv_Round_8u_C4RSfs, ippiDiv_Round_16u_C4RSfs,
  14624. // ippiDiv_Round_16s_AC4RSfs, ippiDiv_Round_8u_AC4RSfs, ippiDiv_Round_16u_AC4RSfs,
  14625. // Returns:
  14626. // ippStsNoErr OK
  14627. // ippStsNullPtrErr One of the pointers is NULL
  14628. // ippStsSizeErr roiSize has a field with zero or negative value
  14629. // ippStsStepErr At least one step value is less than or equal to zero
  14630. // ippStsDivByZero A warning that a divisor value is zero, the function
  14631. // execution is continued.
  14632. // If a dividend is equal to zero, then the result is zero;
  14633. // if it is greater than zero, then the result is IPP_MAX_16S, or IPP_MAX_8U, or IPP_MAX_16U
  14634. // if it is less than zero (for 16s), then the result is IPP_MIN_16S
  14635. // ippStsRoundModeNotSupportedErr Unsupported round mode
  14636. //
  14637. //
  14638. // Parameters:
  14639. // pSrc1 Pointer to the divisor source image
  14640. // src1Step Step through the divisor source image
  14641. // pSrc2 Pointer to the dividend source image
  14642. // src2Step Step through the dividend source image
  14643. // pDst Pointer to the destination image
  14644. // dstStep Step through the destination image
  14645. // roiSize Size of the ROI
  14646. // rndMode Rounding mode (ippRndZero, ippRndNear or ippRndFinancial)
  14647. // scaleFactor Scale factor
  14648. */
  14649. IPPAPI(IppStatus, ippiDiv_Round_16s_C1RSfs, (const Ipp16s* pSrc1, int src1Step,
  14650. const Ipp16s* pSrc2, int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  14651. IppRoundMode rndMode, int scaleFactor))
  14652. IPPAPI(IppStatus, ippiDiv_Round_16s_C3RSfs, (const Ipp16s* pSrc1, int src1Step,
  14653. const Ipp16s* pSrc2, int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  14654. IppRoundMode rndMode, int scaleFactor))
  14655. IPPAPI(IppStatus, ippiDiv_Round_16s_C4RSfs, (const Ipp16s* pSrc1, int src1Step,
  14656. const Ipp16s* pSrc2, int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  14657. IppRoundMode rndMode, int ScaleFactor))
  14658. IPPAPI(IppStatus, ippiDiv_Round_16s_AC4RSfs, (const Ipp16s* pSrc1, int src1Step,
  14659. const Ipp16s* pSrc2, int src2Step, Ipp16s* pDst, int dstStep, IppiSize roiSize,
  14660. IppRoundMode rndMode, int ScaleFactor))
  14661. IPPAPI(IppStatus, ippiDiv_Round_8u_C1RSfs, (const Ipp8u* pSrc1, int src1Step,
  14662. const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  14663. IppRoundMode rndMode, int scaleFactor))
  14664. IPPAPI(IppStatus, ippiDiv_Round_8u_C3RSfs, (const Ipp8u* pSrc1, int src1Step,
  14665. const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  14666. IppRoundMode rndMode, int scaleFactor))
  14667. IPPAPI(IppStatus, ippiDiv_Round_8u_C4RSfs, (const Ipp8u* pSrc1, int src1Step,
  14668. const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  14669. IppRoundMode rndMode, int ScaleFactor))
  14670. IPPAPI(IppStatus, ippiDiv_Round_8u_AC4RSfs, (const Ipp8u* pSrc1, int src1Step,
  14671. const Ipp8u* pSrc2, int src2Step, Ipp8u* pDst, int dstStep, IppiSize roiSize,
  14672. IppRoundMode rndMode, int ScaleFactor))
  14673. IPPAPI(IppStatus, ippiDiv_Round_16u_C1RSfs, (const Ipp16u* pSrc1, int src1Step,
  14674. const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  14675. IppRoundMode rndMode, int scaleFactor))
  14676. IPPAPI(IppStatus, ippiDiv_Round_16u_C3RSfs, (const Ipp16u* pSrc1, int src1Step,
  14677. const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  14678. IppRoundMode rndMode, int scaleFactor))
  14679. IPPAPI(IppStatus, ippiDiv_Round_16u_C4RSfs, (const Ipp16u* pSrc1, int src1Step,
  14680. const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  14681. IppRoundMode rndMode, int ScaleFactor))
  14682. IPPAPI(IppStatus, ippiDiv_Round_16u_AC4RSfs, (const Ipp16u* pSrc1, int src1Step,
  14683. const Ipp16u* pSrc2, int src2Step, Ipp16u* pDst, int dstStep, IppiSize roiSize,
  14684. IppRoundMode rndMode, int ScaleFactor))
  14685. /*
  14686. // Purpose: Divides pixel values of an image by pixel values of
  14687. // another image with three rounding modes (ippRndZero,ippRndNear,ippRndFinancial)
  14688. // and places the scaled results in a destination
  14689. // image.
  14690. // Name: ippiDiv_Round_16s_C1IRSfs, ippiDiv_Round_8u_C1IRSfs, ippiDiv_Round_16u_C1IRSfs,
  14691. // ippiDiv_Round_16s_C3IRSfs, ippiDiv_Round_8u_C3IRSfs, ippiDiv_Round_16u_C3IRSfs,
  14692. // ippiDiv_Round_16s_C4IRSfs, ippiDiv_Round_8u_C4IRSfs, ippiDiv_Round_16u_C4IRSfs,
  14693. // ippiDiv_Round_16s_AC4IRSfs, ippiDiv_Round_8u_AC4IRSfs, ippiDiv_Round_16u_AC4IRSfs,
  14694. // Parameters:
  14695. // pSrc Pointer to the divisor source image
  14696. // srcStep Step through the divisor source image
  14697. // pSrcDst Pointer to the dividend source/destination image
  14698. // srcDstStep Step through the dividend source/destination image
  14699. // roiSize Size of the ROI
  14700. // rndMode Rounding mode (ippRndZero, ippRndNear or ippRndFinancial)
  14701. // scaleFactor Scale factor
  14702. // Returns:
  14703. // ippStsNoErr OK
  14704. // ippStsNullPtrErr One of the pointers is NULL
  14705. // ippStsSizeErr roiSize has a field with zero or negative value
  14706. // ippStsStepErr At least one step value is less than or equal to zero
  14707. // ippStsDivByZero A warning that a divisor value is zero, the function
  14708. // execution is continued.
  14709. // If a dividend is equal to zero, then the result is zero;
  14710. // if it is greater than zero, then the result is IPP_MAX_16S, or IPP_MAX_8U, or IPP_MAX_16U
  14711. // if it is less than zero (for 16s), then the result is IPP_MIN_16S
  14712. // ippStsRoundModeNotSupportedErr Unsupported round mode
  14713. */
  14714. IPPAPI(IppStatus, ippiDiv_Round_16s_C1IRSfs, (const Ipp16s* pSrc, int srcStep,
  14715. Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize,
  14716. IppRoundMode rndMode, int scaleFactor))
  14717. IPPAPI(IppStatus, ippiDiv_Round_16s_C3IRSfs, (const Ipp16s* pSrc, int srcStep,
  14718. Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize,
  14719. IppRoundMode rndMode, int scaleFactor))
  14720. IPPAPI(IppStatus, ippiDiv_Round_16s_C4IRSfs, (const Ipp16s* pSrc, int srcStep,
  14721. Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize,
  14722. IppRoundMode rndMode, int ScaleFactor))
  14723. IPPAPI(IppStatus, ippiDiv_Round_16s_AC4IRSfs, (const Ipp16s* pSrc, int srcStep,
  14724. Ipp16s* pSrcDst, int srcDstStep, IppiSize roiSize,
  14725. IppRoundMode rndMode, int ScaleFactor))
  14726. IPPAPI(IppStatus, ippiDiv_Round_8u_C1IRSfs, (const Ipp8u* pSrc, int srcStep,
  14727. Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize,
  14728. IppRoundMode rndMode, int scaleFactor))
  14729. IPPAPI(IppStatus, ippiDiv_Round_8u_C3IRSfs, (const Ipp8u* pSrc, int srcStep,
  14730. Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize,
  14731. IppRoundMode rndMode, int scaleFactor))
  14732. IPPAPI(IppStatus, ippiDiv_Round_8u_C4IRSfs, (const Ipp8u* pSrc, int srcStep,
  14733. Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize,
  14734. IppRoundMode rndMode, int ScaleFactor))
  14735. IPPAPI(IppStatus, ippiDiv_Round_8u_AC4IRSfs, (const Ipp8u* pSrc, int srcStep,
  14736. Ipp8u* pSrcDst, int srcDstStep, IppiSize roiSize,
  14737. IppRoundMode rndMode, int ScaleFactor))
  14738. IPPAPI(IppStatus, ippiDiv_Round_16u_C1IRSfs, (const Ipp16u* pSrc, int srcStep,
  14739. Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize,
  14740. IppRoundMode rndMode, int scaleFactor))
  14741. IPPAPI(IppStatus, ippiDiv_Round_16u_C3IRSfs, (const Ipp16u* pSrc, int srcStep,
  14742. Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize,
  14743. IppRoundMode rndMode, int scaleFactor))
  14744. IPPAPI(IppStatus, ippiDiv_Round_16u_C4IRSfs, (const Ipp16u* pSrc, int srcStep,
  14745. Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize,
  14746. IppRoundMode rndMode, int ScaleFactor))
  14747. IPPAPI(IppStatus, ippiDiv_Round_16u_AC4IRSfs, (const Ipp16u* pSrc, int srcStep,
  14748. Ipp16u* pSrcDst, int srcDstStep, IppiSize roiSize,
  14749. IppRoundMode rndMode, int ScaleFactor))
  14750. /*
  14751. // Purpose: Evaluates per-pixel SSIM equation on filtered images.
  14752. // Intended to be uses as part of a wSSIM evaluation pipeline according to the following reference:
  14753. // Z. Wang, A. C. Bovik, H. R. Sheikh and E. P. Simoncelli, "Image quality assessment: From error
  14754. // visibility to structural similarity," IEEE TIP, vol. 13, no. 4, pp. 600-612, Apr. 2004.
  14755. // Link: h__p://www.ece.uwaterloo.ca/~z70wang/publications/ssim.html
  14756. //
  14757. // pDst[i] = (2*F(I1)[i]*F(I2)[i]+C1)/(F(I1)[i]^2+F(I2)[i]^2+C1)*
  14758. // *(2*F(I1*I2)-2*F(I1)[i]*F(I2)[i]+C2)/(F(I1^2)+F(I1^2)-F(I1)[i]^2-F(I2)[i]^2+C2)
  14759. //
  14760. // Parameters:
  14761. // pSrc1 Filtered first source image F(I1)
  14762. // src1Step Step through the first source image
  14763. // pSrc2 Filtered second source image F(I2)
  14764. // src2Step Step through the second source image
  14765. // pSrc3 Filtered squared first source image F(I1^2)
  14766. // src3Step Step through the squared first source image
  14767. // pSrc4 Filtered squared second source image F(I2^2)
  14768. // src4Step Step through the squared second source image
  14769. // pSrc5 Filtered product of the first and second source images F(I1*I2)
  14770. // src5Step Step through the product of the first and second source images
  14771. // pDst Pointer to the unweighted per-pixel SSIM indexes array
  14772. // dstStep Step through the unweighted per-pixel SSIM indexes array
  14773. // roiSize Size of the ROI
  14774. // C1 First predefined algorithm constant
  14775. // C2 Second predefined algorithm constant
  14776. // Returns:
  14777. // ippStsNoErr OK
  14778. // ippStsNullPtrErr One of the pointers is NULL
  14779. // ippStsSizeErr roiSize has a field with zero or negative value
  14780. // ippStsStepErr At least one step value is less than or equal to zero
  14781. // ippStsBadArgErr Incorrect hint value
  14782. */
  14783. IPPAPI( IppStatus, ippiSSIM_32f_C1R,( const Ipp32f* pSrc1, int src1Step, const Ipp32f* pSrc2, int src2Step,
  14784. const Ipp32f* pSrc3, int src3Step, const Ipp32f* pSrc4, int src4Step, const Ipp32f* pSrc5, int src5Step,
  14785. Ipp32f* pDst, int dstStep, IppiSize roiSize, Ipp32f C1, Ipp32f C2, IppHintAlgorithm hint))
  14786. #ifdef __cplusplus
  14787. }
  14788. #endif
  14789. #if defined (_IPP_STDCALL_CDECL)
  14790. #undef _IPP_STDCALL_CDECL
  14791. #define __stdcall __cdecl
  14792. #endif
  14793. #endif /* __IPPI_H__ */
  14794. /* ////////////////////////// End of file "ippi.h" ////////////////////////// */