1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309 |
- /*
- * Copyright 2011 The LibYuv Project Authors. All rights reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
- #ifndef INCLUDE_LIBYUV_ROW_H_
- #define INCLUDE_LIBYUV_ROW_H_
- #include <stdlib.h> // For malloc.
- #include "libyuv/basic_types.h"
- #ifdef __cplusplus
- namespace libyuv {
- extern "C" {
- #endif
- #if defined(__pnacl__) || defined(__CLR_VER) || \
- (defined(__native_client__) && defined(__x86_64__)) || \
- (defined(__i386__) && !defined(__SSE__) && !defined(__clang__))
- #define LIBYUV_DISABLE_X86
- #endif
- #if defined(__native_client__)
- #define LIBYUV_DISABLE_NEON
- #endif
- // MemorySanitizer does not support assembly code yet. http://crbug.com/344505
- #if defined(__has_feature)
- #if __has_feature(memory_sanitizer)
- #define LIBYUV_DISABLE_X86
- #endif
- #endif
- // clang >= 3.5.0 required for Arm64.
- #if defined(__clang__) && defined(__aarch64__) && !defined(LIBYUV_DISABLE_NEON)
- #if (__clang_major__ < 3) || (__clang_major__ == 3 && (__clang_minor__ < 5))
- #define LIBYUV_DISABLE_NEON
- #endif // clang >= 3.5
- #endif // __clang__
- // GCC >= 4.7.0 required for AVX2.
- #if defined(__GNUC__) && (defined(__x86_64__) || defined(__i386__))
- #if (__GNUC__ > 4) || (__GNUC__ == 4 && (__GNUC_MINOR__ >= 7))
- #define GCC_HAS_AVX2 1
- #endif // GNUC >= 4.7
- #endif // __GNUC__
- // clang >= 3.4.0 required for AVX2.
- #if defined(__clang__) && (defined(__x86_64__) || defined(__i386__))
- #if (__clang_major__ > 3) || (__clang_major__ == 3 && (__clang_minor__ >= 4))
- #define CLANG_HAS_AVX2 1
- #endif // clang >= 3.4
- #endif // __clang__
- // clang >= 6.0.0 required for AVX512.
- #if defined(__clang__) && (defined(__x86_64__) || defined(__i386__))
- // clang in xcode follows a different versioning scheme.
- // TODO(fbarchard): fix xcode 9 ios b/789.
- #if (__clang_major__ >= 7) && !defined(__APPLE__)
- #define CLANG_HAS_AVX512 1
- #endif // clang >= 7
- #endif // __clang__
- // Visual C 2012 required for AVX2.
- #if defined(_M_IX86) && !defined(__clang__) && defined(_MSC_VER) && \
- _MSC_VER >= 1700
- #define VISUALC_HAS_AVX2 1
- #endif // VisualStudio >= 2012
- // The following are available on all x86 platforms:
- #if !defined(LIBYUV_DISABLE_X86) && \
- (defined(_M_IX86) || defined(__x86_64__) || defined(__i386__))
- // Conversions:
- #define HAS_ABGRTOUVROW_SSSE3
- #define HAS_ABGRTOYROW_SSSE3
- #define HAS_ARGB1555TOARGBROW_SSE2
- #define HAS_ARGB4444TOARGBROW_SSE2
- #define HAS_ARGBEXTRACTALPHAROW_SSE2
- #define HAS_ARGBSETROW_X86
- #define HAS_ARGBSHUFFLEROW_SSSE3
- #define HAS_ARGBTOARGB1555ROW_SSE2
- #define HAS_ARGBTOARGB4444ROW_SSE2
- #define HAS_ARGBTORAWROW_SSSE3
- #define HAS_ARGBTORGB24ROW_SSSE3
- #define HAS_ARGBTORGB565DITHERROW_SSE2
- #define HAS_ARGBTORGB565ROW_SSE2
- #define HAS_ARGBTOUV444ROW_SSSE3
- #define HAS_ARGBTOUVJROW_SSSE3
- #define HAS_ARGBTOUVROW_SSSE3
- #define HAS_ARGBTOYJROW_SSSE3
- #define HAS_ARGBTOYROW_SSSE3
- #define HAS_BGRATOUVROW_SSSE3
- #define HAS_BGRATOYROW_SSSE3
- #define HAS_COPYROW_ERMS
- #define HAS_COPYROW_SSE2
- #define HAS_H422TOARGBROW_SSSE3
- #define HAS_HALFFLOATROW_SSE2
- #define HAS_I400TOARGBROW_SSE2
- #define HAS_I422TOARGB1555ROW_SSSE3
- #define HAS_I422TOARGB4444ROW_SSSE3
- #define HAS_I422TOARGBROW_SSSE3
- #define HAS_I422TORGB24ROW_SSSE3
- #define HAS_I422TORGB565ROW_SSSE3
- #define HAS_I422TORGBAROW_SSSE3
- #define HAS_I422TOUYVYROW_SSE2
- #define HAS_I422TOYUY2ROW_SSE2
- #define HAS_I444TOARGBROW_SSSE3
- #define HAS_J400TOARGBROW_SSE2
- #define HAS_J422TOARGBROW_SSSE3
- #define HAS_MERGEUVROW_SSE2
- #define HAS_MIRRORROW_SSSE3
- #define HAS_MIRRORUVROW_SSSE3
- #define HAS_NV12TOARGBROW_SSSE3
- #define HAS_NV12TORGB24ROW_SSSE3
- #define HAS_NV12TORGB565ROW_SSSE3
- #define HAS_NV21TOARGBROW_SSSE3
- #define HAS_NV21TORGB24ROW_SSSE3
- #define HAS_RAWTOARGBROW_SSSE3
- #define HAS_RAWTORGB24ROW_SSSE3
- #define HAS_RAWTOYROW_SSSE3
- #define HAS_RGB24TOARGBROW_SSSE3
- #define HAS_RGB24TOYROW_SSSE3
- #define HAS_RGB24TOYJROW_SSSE3
- #define HAS_RAWTOYJROW_SSSE3
- #define HAS_RGB565TOARGBROW_SSE2
- #define HAS_RGBATOUVROW_SSSE3
- #define HAS_RGBATOYROW_SSSE3
- #define HAS_SETROW_ERMS
- #define HAS_SETROW_X86
- #define HAS_SPLITUVROW_SSE2
- #define HAS_UYVYTOARGBROW_SSSE3
- #define HAS_UYVYTOUV422ROW_SSE2
- #define HAS_UYVYTOUVROW_SSE2
- #define HAS_UYVYTOYROW_SSE2
- #define HAS_YUY2TOARGBROW_SSSE3
- #define HAS_YUY2TOUV422ROW_SSE2
- #define HAS_YUY2TOUVROW_SSE2
- #define HAS_YUY2TOYROW_SSE2
- // Effects:
- #define HAS_ARGBADDROW_SSE2
- #define HAS_ARGBAFFINEROW_SSE2
- #define HAS_ARGBATTENUATEROW_SSSE3
- #define HAS_ARGBBLENDROW_SSSE3
- #define HAS_ARGBCOLORMATRIXROW_SSSE3
- #define HAS_ARGBCOLORTABLEROW_X86
- #define HAS_ARGBCOPYALPHAROW_SSE2
- #define HAS_ARGBCOPYYTOALPHAROW_SSE2
- #define HAS_ARGBGRAYROW_SSSE3
- #define HAS_ARGBLUMACOLORTABLEROW_SSSE3
- #define HAS_ARGBMIRRORROW_SSE2
- #define HAS_ARGBMULTIPLYROW_SSE2
- #define HAS_ARGBPOLYNOMIALROW_SSE2
- #define HAS_ARGBQUANTIZEROW_SSE2
- #define HAS_ARGBSEPIAROW_SSSE3
- #define HAS_ARGBSHADEROW_SSE2
- #define HAS_ARGBSUBTRACTROW_SSE2
- #define HAS_ARGBUNATTENUATEROW_SSE2
- #define HAS_BLENDPLANEROW_SSSE3
- #define HAS_COMPUTECUMULATIVESUMROW_SSE2
- #define HAS_CUMULATIVESUMTOAVERAGEROW_SSE2
- #define HAS_INTERPOLATEROW_SSSE3
- #define HAS_RGBCOLORTABLEROW_X86
- #define HAS_SOBELROW_SSE2
- #define HAS_SOBELTOPLANEROW_SSE2
- #define HAS_SOBELXROW_SSE2
- #define HAS_SOBELXYROW_SSE2
- #define HAS_SOBELYROW_SSE2
- // The following functions fail on gcc/clang 32 bit with fpic and framepointer.
- // caveat: clangcl uses row_win.cc which works.
- #if defined(__x86_64__) || !defined(__pic__) || defined(__clang__) || \
- defined(_MSC_VER)
- // TODO(fbarchard): fix build error on android_full_debug=1
- // https://code.google.com/p/libyuv/issues/detail?id=517
- #define HAS_I422ALPHATOARGBROW_SSSE3
- #endif
- #endif
- // The following are available on all x86 platforms, but
- // require VS2012, clang 3.4 or gcc 4.7.
- #if !defined(LIBYUV_DISABLE_X86) && \
- (defined(VISUALC_HAS_AVX2) || defined(CLANG_HAS_AVX2) || \
- defined(GCC_HAS_AVX2))
- #define HAS_ARGBCOPYALPHAROW_AVX2
- #define HAS_ARGBCOPYYTOALPHAROW_AVX2
- #define HAS_ARGBEXTRACTALPHAROW_AVX2
- #define HAS_ARGBMIRRORROW_AVX2
- #define HAS_ARGBPOLYNOMIALROW_AVX2
- #define HAS_ARGBSHUFFLEROW_AVX2
- #define HAS_ARGBTORGB565DITHERROW_AVX2
- #define HAS_ARGBTOUVJROW_AVX2
- #define HAS_ARGBTOUVROW_AVX2
- #define HAS_ARGBTOYJROW_AVX2
- #define HAS_ARGBTOYROW_AVX2
- #define HAS_RGB24TOYJROW_AVX2
- #define HAS_RAWTOYJROW_AVX2
- #define HAS_COPYROW_AVX
- #define HAS_H422TOARGBROW_AVX2
- #define HAS_HALFFLOATROW_AVX2
- // #define HAS_HALFFLOATROW_F16C // Enable to test halffloat cast
- #define HAS_I400TOARGBROW_AVX2
- #define HAS_I422TOARGB1555ROW_AVX2
- #define HAS_I422TOARGB4444ROW_AVX2
- #define HAS_I422TOARGBROW_AVX2
- #define HAS_I422TORGB24ROW_AVX2
- #define HAS_I422TORGB565ROW_AVX2
- #define HAS_I422TORGBAROW_AVX2
- #define HAS_I444TOARGBROW_AVX2
- #define HAS_INTERPOLATEROW_AVX2
- #define HAS_J422TOARGBROW_AVX2
- #define HAS_MERGEUVROW_AVX2
- #define HAS_MIRRORROW_AVX2
- #define HAS_NV12TOARGBROW_AVX2
- #define HAS_NV12TORGB24ROW_AVX2
- #define HAS_NV12TORGB565ROW_AVX2
- #define HAS_NV21TOARGBROW_AVX2
- #define HAS_NV21TORGB24ROW_AVX2
- #define HAS_SPLITUVROW_AVX2
- #define HAS_UYVYTOARGBROW_AVX2
- #define HAS_UYVYTOUV422ROW_AVX2
- #define HAS_UYVYTOUVROW_AVX2
- #define HAS_UYVYTOYROW_AVX2
- #define HAS_YUY2TOARGBROW_AVX2
- #define HAS_YUY2TOUV422ROW_AVX2
- #define HAS_YUY2TOUVROW_AVX2
- #define HAS_YUY2TOYROW_AVX2
- // Effects:
- #define HAS_ARGBADDROW_AVX2
- #define HAS_ARGBATTENUATEROW_AVX2
- #define HAS_ARGBMULTIPLYROW_AVX2
- #define HAS_ARGBSUBTRACTROW_AVX2
- #define HAS_ARGBUNATTENUATEROW_AVX2
- #define HAS_BLENDPLANEROW_AVX2
- #if defined(__x86_64__) || !defined(__pic__) || defined(__clang__) || \
- defined(_MSC_VER)
- // TODO(fbarchard): fix build error on android_full_debug=1
- // https://code.google.com/p/libyuv/issues/detail?id=517
- #define HAS_I422ALPHATOARGBROW_AVX2
- #endif
- #endif
- // The following are available for AVX2 Visual C and clangcl 32 bit:
- // TODO(fbarchard): Port to gcc.
- #if !defined(LIBYUV_DISABLE_X86) && defined(_M_IX86) && defined(_MSC_VER) && \
- (defined(VISUALC_HAS_AVX2) || defined(CLANG_HAS_AVX2))
- #define HAS_ARGB1555TOARGBROW_AVX2
- #define HAS_ARGB4444TOARGBROW_AVX2
- #define HAS_ARGBTOARGB1555ROW_AVX2
- #define HAS_ARGBTOARGB4444ROW_AVX2
- #define HAS_ARGBTORGB565ROW_AVX2
- #define HAS_J400TOARGBROW_AVX2
- #define HAS_RGB565TOARGBROW_AVX2
- #endif
- // The following are also available on x64 Visual C.
- #if !defined(LIBYUV_DISABLE_X86) && defined(_MSC_VER) && defined(_M_X64) && \
- (!defined(__clang__) || defined(__SSSE3__))
- #define HAS_I422ALPHATOARGBROW_SSSE3
- #define HAS_I422TOARGBROW_SSSE3
- #endif
- // The following are available for gcc/clang x86 platforms:
- // TODO(fbarchard): Port to Visual C
- #if !defined(LIBYUV_DISABLE_X86) && \
- (defined(__x86_64__) || (defined(__i386__) && !defined(_MSC_VER)))
- #define HAS_ABGRTOAR30ROW_SSSE3
- #define HAS_ARGBTOAR30ROW_SSSE3
- #define HAS_CONVERT16TO8ROW_SSSE3
- #define HAS_CONVERT8TO16ROW_SSE2
- // I210 is for H010. 2 = 422. I for 601 vs H for 709.
- #define HAS_I210TOAR30ROW_SSSE3
- #define HAS_I210TOARGBROW_SSSE3
- #define HAS_I422TOAR30ROW_SSSE3
- #define HAS_MERGERGBROW_SSSE3
- #define HAS_RAWTORGBAROW_SSSE3
- #define HAS_RGBATOYJROW_SSSE3
- #define HAS_SPLITRGBROW_SSSE3
- #define HAS_SWAPUVROW_SSSE3
- #endif
- // The following are available for AVX2 gcc/clang x86 platforms:
- // TODO(fbarchard): Port to Visual C
- #if !defined(LIBYUV_DISABLE_X86) && \
- (defined(__x86_64__) || (defined(__i386__) && !defined(_MSC_VER))) && \
- (defined(CLANG_HAS_AVX2) || defined(GCC_HAS_AVX2))
- #define HAS_ABGRTOAR30ROW_AVX2
- #define HAS_ABGRTOUVROW_AVX2
- #define HAS_ABGRTOYROW_AVX2
- #define HAS_ARGBTOAR30ROW_AVX2
- #define HAS_ARGBTORAWROW_AVX2
- #define HAS_ARGBTORGB24ROW_AVX2
- #define HAS_CONVERT16TO8ROW_AVX2
- #define HAS_CONVERT8TO16ROW_AVX2
- #define HAS_I210TOAR30ROW_AVX2
- #define HAS_I210TOARGBROW_AVX2
- #define HAS_I422TOAR30ROW_AVX2
- #define HAS_I422TOUYVYROW_AVX2
- #define HAS_I422TOYUY2ROW_AVX2
- #define HAS_MERGEUVROW_16_AVX2
- #define HAS_MULTIPLYROW_16_AVX2
- #define HAS_RGBATOYJROW_AVX2
- #define HAS_SWAPUVROW_AVX2
- // TODO(fbarchard): Fix AVX2 version of YUV24
- // #define HAS_NV21TOYUV24ROW_AVX2
- #endif
- // The following are available for AVX512 clang x86 platforms:
- // TODO(fbarchard): Port to GCC and Visual C
- // TODO(fbarchard): re-enable HAS_ARGBTORGB24ROW_AVX512VBMI. Issue libyuv:789
- #if !defined(LIBYUV_DISABLE_X86) && \
- (defined(__x86_64__) || (defined(__i386__) && !defined(_MSC_VER))) && \
- (defined(CLANG_HAS_AVX512))
- #define HAS_ARGBTORGB24ROW_AVX512VBMI
- #endif
- // The following are available on Neon platforms:
- #if !defined(LIBYUV_DISABLE_NEON) && \
- (defined(__aarch64__) || defined(__ARM_NEON__) || defined(LIBYUV_NEON))
- #define HAS_ABGRTOUVROW_NEON
- #define HAS_ABGRTOYROW_NEON
- #define HAS_ARGB1555TOARGBROW_NEON
- #define HAS_ARGB1555TOUVROW_NEON
- #define HAS_ARGB1555TOYROW_NEON
- #define HAS_ARGB4444TOARGBROW_NEON
- #define HAS_ARGB4444TOUVROW_NEON
- #define HAS_ARGB4444TOYROW_NEON
- #define HAS_ARGBEXTRACTALPHAROW_NEON
- #define HAS_ARGBSETROW_NEON
- #define HAS_ARGBTOARGB1555ROW_NEON
- #define HAS_ARGBTOARGB4444ROW_NEON
- #define HAS_ARGBTORAWROW_NEON
- #define HAS_ARGBTORGB24ROW_NEON
- #define HAS_ARGBTORGB565DITHERROW_NEON
- #define HAS_ARGBTORGB565ROW_NEON
- #define HAS_ARGBTOUV444ROW_NEON
- #define HAS_ARGBTOUVJROW_NEON
- #define HAS_ARGBTOUVROW_NEON
- #define HAS_ARGBTOYJROW_NEON
- #define HAS_RGBATOYJROW_NEON
- #define HAS_ARGBTOYROW_NEON
- #define HAS_AYUVTOUVROW_NEON
- #define HAS_AYUVTOVUROW_NEON
- #define HAS_AYUVTOYROW_NEON
- #define HAS_BGRATOUVROW_NEON
- #define HAS_BGRATOYROW_NEON
- #define HAS_BYTETOFLOATROW_NEON
- #define HAS_COPYROW_NEON
- #define HAS_HALFFLOATROW_NEON
- #define HAS_I400TOARGBROW_NEON
- #define HAS_I422ALPHATOARGBROW_NEON
- #define HAS_I422TOARGB1555ROW_NEON
- #define HAS_I422TOARGB4444ROW_NEON
- #define HAS_I422TOARGBROW_NEON
- #define HAS_I422TORGB24ROW_NEON
- #define HAS_I422TORGB565ROW_NEON
- #define HAS_I422TORGBAROW_NEON
- #define HAS_I422TOUYVYROW_NEON
- #define HAS_I422TOYUY2ROW_NEON
- #define HAS_I444TOARGBROW_NEON
- #define HAS_J400TOARGBROW_NEON
- #define HAS_MERGEUVROW_NEON
- #define HAS_MIRRORROW_NEON
- #define HAS_MIRRORUVROW_NEON
- #define HAS_NV12TOARGBROW_NEON
- #define HAS_NV12TORGB24ROW_NEON
- #define HAS_NV12TORGB565ROW_NEON
- #define HAS_NV21TOARGBROW_NEON
- #define HAS_NV21TORGB24ROW_NEON
- #define HAS_NV21TOYUV24ROW_NEON
- #define HAS_RAWTOARGBROW_NEON
- #define HAS_RAWTORGBAROW_NEON
- #define HAS_RAWTORGB24ROW_NEON
- #define HAS_RAWTOUVROW_NEON
- #define HAS_RAWTOYROW_NEON
- #define HAS_RAWTOYJROW_NEON
- #define HAS_RGB24TOARGBROW_NEON
- #define HAS_RGB24TOUVROW_NEON
- #define HAS_RGB24TOYROW_NEON
- #define HAS_RGB24TOYJROW_NEON
- #define HAS_RGB565TOARGBROW_NEON
- #define HAS_RGB565TOUVROW_NEON
- #define HAS_RGB565TOYROW_NEON
- #define HAS_RGBATOUVROW_NEON
- #define HAS_RGBATOYROW_NEON
- #define HAS_SETROW_NEON
- #define HAS_SPLITRGBROW_NEON
- #define HAS_SPLITUVROW_NEON
- #define HAS_SWAPUVROW_NEON
- #define HAS_UYVYTOARGBROW_NEON
- #define HAS_UYVYTOUV422ROW_NEON
- #define HAS_UYVYTOUVROW_NEON
- #define HAS_UYVYTOYROW_NEON
- #define HAS_YUY2TOARGBROW_NEON
- #define HAS_YUY2TOUV422ROW_NEON
- #define HAS_YUY2TOUVROW_NEON
- #define HAS_YUY2TOYROW_NEON
- // Effects:
- #define HAS_ARGBADDROW_NEON
- #define HAS_ARGBATTENUATEROW_NEON
- #define HAS_ARGBBLENDROW_NEON
- #define HAS_ARGBCOLORMATRIXROW_NEON
- #define HAS_ARGBGRAYROW_NEON
- #define HAS_ARGBMIRRORROW_NEON
- #define HAS_ARGBMULTIPLYROW_NEON
- #define HAS_ARGBQUANTIZEROW_NEON
- #define HAS_ARGBSEPIAROW_NEON
- #define HAS_ARGBSHADEROW_NEON
- #define HAS_ARGBSHUFFLEROW_NEON
- #define HAS_ARGBSUBTRACTROW_NEON
- #define HAS_INTERPOLATEROW_NEON
- #define HAS_SOBELROW_NEON
- #define HAS_SOBELTOPLANEROW_NEON
- #define HAS_SOBELXROW_NEON
- #define HAS_SOBELXYROW_NEON
- #define HAS_SOBELYROW_NEON
- #endif
- // The following are available on AArch64 platforms:
- #if !defined(LIBYUV_DISABLE_NEON) && defined(__aarch64__)
- #define HAS_SCALESUMSAMPLES_NEON
- #define HAS_GAUSSROW_F32_NEON
- #define HAS_GAUSSCOL_F32_NEON
- #endif
- #if !defined(LIBYUV_DISABLE_MSA) && defined(__mips_msa)
- #define HAS_ABGRTOUVROW_MSA
- #define HAS_ABGRTOYROW_MSA
- #define HAS_ARGB1555TOARGBROW_MSA
- #define HAS_ARGB1555TOUVROW_MSA
- #define HAS_ARGB1555TOYROW_MSA
- #define HAS_ARGB4444TOARGBROW_MSA
- #define HAS_ARGBADDROW_MSA
- #define HAS_ARGBATTENUATEROW_MSA
- #define HAS_ARGBBLENDROW_MSA
- #define HAS_ARGBCOLORMATRIXROW_MSA
- #define HAS_ARGBEXTRACTALPHAROW_MSA
- #define HAS_ARGBGRAYROW_MSA
- #define HAS_ARGBMIRRORROW_MSA
- #define HAS_ARGBMULTIPLYROW_MSA
- #define HAS_ARGBQUANTIZEROW_MSA
- #define HAS_ARGBSEPIAROW_MSA
- #define HAS_ARGBSETROW_MSA
- #define HAS_ARGBSHADEROW_MSA
- #define HAS_ARGBSHUFFLEROW_MSA
- #define HAS_ARGBSUBTRACTROW_MSA
- #define HAS_ARGBTOARGB1555ROW_MSA
- #define HAS_ARGBTOARGB4444ROW_MSA
- #define HAS_ARGBTORAWROW_MSA
- #define HAS_ARGBTORGB24ROW_MSA
- #define HAS_ARGBTORGB565DITHERROW_MSA
- #define HAS_ARGBTORGB565ROW_MSA
- #define HAS_ARGBTOUV444ROW_MSA
- #define HAS_ARGBTOUVJROW_MSA
- #define HAS_ARGBTOUVROW_MSA
- #define HAS_ARGBTOYJROW_MSA
- #define HAS_ARGBTOYROW_MSA
- #define HAS_BGRATOUVROW_MSA
- #define HAS_BGRATOYROW_MSA
- #define HAS_HALFFLOATROW_MSA
- #define HAS_I400TOARGBROW_MSA
- #define HAS_I422ALPHATOARGBROW_MSA
- #define HAS_I422TOARGBROW_MSA
- #define HAS_I422TORGB24ROW_MSA
- #define HAS_I422TORGBAROW_MSA
- #define HAS_I422TOUYVYROW_MSA
- #define HAS_I422TOYUY2ROW_MSA
- #define HAS_I444TOARGBROW_MSA
- #define HAS_I422TOARGB1555ROW_MSA
- #define HAS_I422TORGB565ROW_MSA
- #define HAS_INTERPOLATEROW_MSA
- #define HAS_J400TOARGBROW_MSA
- #define HAS_MERGEUVROW_MSA
- #define HAS_MIRRORROW_MSA
- #define HAS_MIRRORUVROW_MSA
- #define HAS_NV12TOARGBROW_MSA
- #define HAS_NV12TORGB565ROW_MSA
- #define HAS_NV21TOARGBROW_MSA
- #define HAS_RAWTOARGBROW_MSA
- #define HAS_RAWTORGB24ROW_MSA
- #define HAS_RAWTOUVROW_MSA
- #define HAS_RAWTOYROW_MSA
- #define HAS_RGB24TOARGBROW_MSA
- #define HAS_RGB24TOUVROW_MSA
- #define HAS_RGB24TOYROW_MSA
- #define HAS_RGB565TOARGBROW_MSA
- #define HAS_RGB565TOUVROW_MSA
- #define HAS_RGB565TOYROW_MSA
- #define HAS_RGBATOUVROW_MSA
- #define HAS_RGBATOYROW_MSA
- #define HAS_SETROW_MSA
- #define HAS_SOBELROW_MSA
- #define HAS_SOBELTOPLANEROW_MSA
- #define HAS_SOBELXROW_MSA
- #define HAS_SOBELXYROW_MSA
- #define HAS_SOBELYROW_MSA
- #define HAS_SPLITUVROW_MSA
- #define HAS_UYVYTOARGBROW_MSA
- #define HAS_UYVYTOUVROW_MSA
- #define HAS_UYVYTOYROW_MSA
- #define HAS_YUY2TOARGBROW_MSA
- #define HAS_YUY2TOUV422ROW_MSA
- #define HAS_YUY2TOUVROW_MSA
- #define HAS_YUY2TOYROW_MSA
- #endif
- #if !defined(LIBYUV_DISABLE_MMI) && defined(_MIPS_ARCH_LOONGSON3A)
- #define HAS_ABGRTOUVROW_MMI
- #define HAS_ABGRTOYROW_MMI
- #define HAS_ARGB1555TOARGBROW_MMI
- #define HAS_ARGB1555TOUVROW_MMI
- #define HAS_ARGB1555TOYROW_MMI
- #define HAS_ARGB4444TOARGBROW_MMI
- #define HAS_ARGB4444TOUVROW_MMI
- #define HAS_ARGB4444TOYROW_MMI
- #define HAS_ARGBADDROW_MMI
- #define HAS_ARGBATTENUATEROW_MMI
- #define HAS_ARGBBLENDROW_MMI
- #define HAS_ARGBCOLORMATRIXROW_MMI
- #define HAS_ARGBCOPYALPHAROW_MMI
- #define HAS_ARGBCOPYYTOALPHAROW_MMI
- #define HAS_ARGBEXTRACTALPHAROW_MMI
- #define HAS_ARGBGRAYROW_MMI
- #define HAS_ARGBMIRRORROW_MMI
- #define HAS_ARGBMULTIPLYROW_MMI
- #define HAS_ARGBSEPIAROW_MMI
- #define HAS_ARGBSETROW_MMI
- #define HAS_ARGBSHADEROW_MMI
- #define HAS_ARGBSHUFFLEROW_MMI
- #define HAS_ARGBSUBTRACTROW_MMI
- #define HAS_ARGBTOARGB1555ROW_MMI
- #define HAS_ARGBTOARGB4444ROW_MMI
- #define HAS_ARGBTORAWROW_MMI
- #define HAS_ARGBTORGB24ROW_MMI
- #define HAS_ARGBTORGB565DITHERROW_MMI
- #define HAS_ARGBTORGB565ROW_MMI
- #define HAS_ARGBTOUV444ROW_MMI
- #define HAS_ARGBTOUVJROW_MMI
- #define HAS_ARGBTOUVROW_MMI
- #define HAS_ARGBTOYJROW_MMI
- #define HAS_ARGBTOYROW_MMI
- #define HAS_BGRATOUVROW_MMI
- #define HAS_BGRATOYROW_MMI
- #define HAS_BLENDPLANEROW_MMI
- #define HAS_COMPUTECUMULATIVESUMROW_MMI
- #define HAS_CUMULATIVESUMTOAVERAGEROW_MMI
- #define HAS_HALFFLOATROW_MMI
- #define HAS_I400TOARGBROW_MMI
- #define HAS_I422TOUYVYROW_MMI
- #define HAS_I422TOYUY2ROW_MMI
- #define HAS_I422TOARGBROW_MMI
- #define HAS_I444TOARGBROW_MMI
- #define HAS_INTERPOLATEROW_MMI
- #define HAS_J400TOARGBROW_MMI
- #define HAS_MERGERGBROW_MMI
- #define HAS_MERGEUVROW_MMI
- #define HAS_MIRRORROW_MMI
- #define HAS_MIRRORUVROW_MMI
- #define HAS_RAWTOARGBROW_MMI
- #define HAS_RAWTORGB24ROW_MMI
- #define HAS_RAWTOUVROW_MMI
- #define HAS_RAWTOYROW_MMI
- #define HAS_RGB24TOARGBROW_MMI
- #define HAS_RGB24TOUVROW_MMI
- #define HAS_RGB24TOYROW_MMI
- #define HAS_RGB565TOARGBROW_MMI
- #define HAS_RGB565TOUVROW_MMI
- #define HAS_RGB565TOYROW_MMI
- #define HAS_RGBATOUVROW_MMI
- #define HAS_RGBATOYROW_MMI
- #define HAS_SOBELROW_MMI
- #define HAS_SOBELTOPLANEROW_MMI
- #define HAS_SOBELXROW_MMI
- #define HAS_SOBELXYROW_MMI
- #define HAS_SOBELYROW_MMI
- #define HAS_SPLITRGBROW_MMI
- #define HAS_SPLITUVROW_MMI
- #define HAS_UYVYTOUVROW_MMI
- #define HAS_UYVYTOYROW_MMI
- #define HAS_YUY2TOUV422ROW_MMI
- #define HAS_YUY2TOUVROW_MMI
- #define HAS_YUY2TOYROW_MMI
- #define HAS_I210TOARGBROW_MMI
- #define HAS_I422TOARGB4444ROW_MMI
- #define HAS_I422TOARGB1555ROW_MMI
- #define HAS_I422TORGB565ROW_MMI
- #define HAS_NV21TORGB24ROW_MMI
- #define HAS_NV12TORGB24ROW_MMI
- #define HAS_I422ALPHATOARGBROW_MMI
- #define HAS_I422TORGB24ROW_MMI
- #define HAS_NV12TOARGBROW_MMI
- #define HAS_NV21TOARGBROW_MMI
- #define HAS_NV12TORGB565ROW_MMI
- #define HAS_YUY2TOARGBROW_MMI
- #define HAS_UYVYTOARGBROW_MMI
- #define HAS_I422TORGBAROW_MMI
- #endif
- #if defined(_MSC_VER) && !defined(__CLR_VER) && !defined(__clang__)
- #if defined(VISUALC_HAS_AVX2)
- #define SIMD_ALIGNED(var) __declspec(align(32)) var
- #else
- #define SIMD_ALIGNED(var) __declspec(align(16)) var
- #endif
- typedef __declspec(align(16)) int16_t vec16[8];
- typedef __declspec(align(16)) int32_t vec32[4];
- typedef __declspec(align(16)) float vecf32[4];
- typedef __declspec(align(16)) int8_t vec8[16];
- typedef __declspec(align(16)) uint16_t uvec16[8];
- typedef __declspec(align(16)) uint32_t uvec32[4];
- typedef __declspec(align(16)) uint8_t uvec8[16];
- typedef __declspec(align(32)) int16_t lvec16[16];
- typedef __declspec(align(32)) int32_t lvec32[8];
- typedef __declspec(align(32)) int8_t lvec8[32];
- typedef __declspec(align(32)) uint16_t ulvec16[16];
- typedef __declspec(align(32)) uint32_t ulvec32[8];
- typedef __declspec(align(32)) uint8_t ulvec8[32];
- #elif !defined(__pnacl__) && (defined(__GNUC__) || defined(__clang__))
- // Caveat GCC 4.2 to 4.7 have a known issue using vectors with const.
- #if defined(CLANG_HAS_AVX2) || defined(GCC_HAS_AVX2)
- #define SIMD_ALIGNED(var) var __attribute__((aligned(32)))
- #else
- #define SIMD_ALIGNED(var) var __attribute__((aligned(16)))
- #endif
- typedef int16_t __attribute__((vector_size(16))) vec16;
- typedef int32_t __attribute__((vector_size(16))) vec32;
- typedef float __attribute__((vector_size(16))) vecf32;
- typedef int8_t __attribute__((vector_size(16))) vec8;
- typedef uint16_t __attribute__((vector_size(16))) uvec16;
- typedef uint32_t __attribute__((vector_size(16))) uvec32;
- typedef uint8_t __attribute__((vector_size(16))) uvec8;
- typedef int16_t __attribute__((vector_size(32))) lvec16;
- typedef int32_t __attribute__((vector_size(32))) lvec32;
- typedef int8_t __attribute__((vector_size(32))) lvec8;
- typedef uint16_t __attribute__((vector_size(32))) ulvec16;
- typedef uint32_t __attribute__((vector_size(32))) ulvec32;
- typedef uint8_t __attribute__((vector_size(32))) ulvec8;
- #else
- #define SIMD_ALIGNED(var) var
- typedef int16_t vec16[8];
- typedef int32_t vec32[4];
- typedef float vecf32[4];
- typedef int8_t vec8[16];
- typedef uint16_t uvec16[8];
- typedef uint32_t uvec32[4];
- typedef uint8_t uvec8[16];
- typedef int16_t lvec16[16];
- typedef int32_t lvec32[8];
- typedef int8_t lvec8[32];
- typedef uint16_t ulvec16[16];
- typedef uint32_t ulvec32[8];
- typedef uint8_t ulvec8[32];
- #endif
- #if defined(__aarch64__)
- // This struct is for Arm64 color conversion.
- struct YuvConstants {
- uvec16 kUVToRB;
- uvec16 kUVToRB2;
- uvec16 kUVToG;
- uvec16 kUVToG2;
- vec16 kUVBiasBGR;
- vec32 kYToRgb;
- };
- #elif defined(__arm__)
- // This struct is for ArmV7 color conversion.
- struct YuvConstants {
- uvec8 kUVToRB;
- uvec8 kUVToG;
- vec16 kUVBiasBGR;
- vec32 kYToRgb;
- };
- #else
- // This struct is for Intel color conversion.
- struct YuvConstants {
- int8_t kUVToB[32];
- int8_t kUVToG[32];
- int8_t kUVToR[32];
- int16_t kUVBiasB[16];
- int16_t kUVBiasG[16];
- int16_t kUVBiasR[16];
- int16_t kYToRgb[16];
- };
- // Offsets into YuvConstants structure
- #define KUVTOB 0
- #define KUVTOG 32
- #define KUVTOR 64
- #define KUVBIASB 96
- #define KUVBIASG 128
- #define KUVBIASR 160
- #define KYTORGB 192
- #endif
- // Conversion matrix for YUV to RGB
- extern const struct YuvConstants SIMD_ALIGNED(kYuvI601Constants); // BT.601
- extern const struct YuvConstants SIMD_ALIGNED(kYuvJPEGConstants); // JPeg
- extern const struct YuvConstants SIMD_ALIGNED(kYuvH709Constants); // BT.709
- extern const struct YuvConstants SIMD_ALIGNED(kYuv2020Constants); // BT.2020
- // Conversion matrix for YVU to BGR
- extern const struct YuvConstants SIMD_ALIGNED(kYvuI601Constants); // BT.601
- extern const struct YuvConstants SIMD_ALIGNED(kYvuJPEGConstants); // JPeg
- extern const struct YuvConstants SIMD_ALIGNED(kYvuH709Constants); // BT.709
- extern const struct YuvConstants SIMD_ALIGNED(kYvu2020Constants); // BT.2020
- #define IS_ALIGNED(p, a) (!((uintptr_t)(p) & ((a)-1)))
- #define align_buffer_64(var, size) \
- uint8_t* var##_mem = (uint8_t*)(malloc((size) + 63)); /* NOLINT */ \
- uint8_t* var = (uint8_t*)(((intptr_t)(var##_mem) + 63) & ~63) /* NOLINT */
- #define free_aligned_buffer_64(var) \
- free(var##_mem); \
- var = 0
- #if defined(__APPLE__) || defined(__x86_64__) || defined(__llvm__)
- #define OMITFP
- #else
- #define OMITFP __attribute__((optimize("omit-frame-pointer")))
- #endif
- // NaCL macros for GCC x86 and x64.
- #if defined(__native_client__)
- #define LABELALIGN ".p2align 5\n"
- #else
- #define LABELALIGN
- #endif
- // Intel Code Analizer markers. Insert IACA_START IACA_END around code to be
- // measured and then run with iaca -64 libyuv_unittest.
- // IACA_ASM_START amd IACA_ASM_END are equivalents that can be used within
- // inline assembly blocks.
- // example of iaca:
- // ~/iaca-lin64/bin/iaca.sh -64 -analysis LATENCY out/Release/libyuv_unittest
- #if defined(__x86_64__) || defined(__i386__)
- #define IACA_ASM_START \
- ".byte 0x0F, 0x0B\n" \
- " movl $111, %%ebx\n" \
- ".byte 0x64, 0x67, 0x90\n"
- #define IACA_ASM_END \
- " movl $222, %%ebx\n" \
- ".byte 0x64, 0x67, 0x90\n" \
- ".byte 0x0F, 0x0B\n"
- #define IACA_SSC_MARK(MARK_ID) \
- __asm__ __volatile__("\n\t movl $" #MARK_ID \
- ", %%ebx" \
- "\n\t .byte 0x64, 0x67, 0x90" \
- : \
- : \
- : "memory");
- #define IACA_UD_BYTES __asm__ __volatile__("\n\t .byte 0x0F, 0x0B");
- #else /* Visual C */
- #define IACA_UD_BYTES \
- { __asm _emit 0x0F __asm _emit 0x0B }
- #define IACA_SSC_MARK(x) \
- { __asm mov ebx, x __asm _emit 0x64 __asm _emit 0x67 __asm _emit 0x90 }
- #define IACA_VC64_START __writegsbyte(111, 111);
- #define IACA_VC64_END __writegsbyte(222, 222);
- #endif
- #define IACA_START \
- { \
- IACA_UD_BYTES \
- IACA_SSC_MARK(111) \
- }
- #define IACA_END \
- { \
- IACA_SSC_MARK(222) \
- IACA_UD_BYTES \
- }
- void I444ToARGBRow_NEON(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_NEON(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_NEON(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- const uint8_t* src_a,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_NEON(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_NEON(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_rgba,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_NEON(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_NEON(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_NEON(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb1555,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_NEON(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb4444,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_NEON(const uint8_t* src_y,
- const uint8_t* src_uv,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_NEON(const uint8_t* src_y,
- const uint8_t* src_uv,
- uint8_t* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_NEON(const uint8_t* src_y,
- const uint8_t* src_vu,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB24Row_NEON(const uint8_t* src_y,
- const uint8_t* src_uv,
- uint8_t* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToRGB24Row_NEON(const uint8_t* src_y,
- const uint8_t* src_vu,
- uint8_t* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToYUV24Row_NEON(const uint8_t* src_y,
- const uint8_t* src_vu,
- uint8_t* dst_yuv24,
- int width);
- void YUY2ToARGBRow_NEON(const uint8_t* src_yuy2,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_NEON(const uint8_t* src_uyvy,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_MSA(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_MMI(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_MSA(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_MSA(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_MMI(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_MSA(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- const uint8_t* src_a,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_MSA(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_MSA(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_MSA(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb4444,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_MSA(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb1555,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_MSA(const uint8_t* src_y,
- const uint8_t* src_uv,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_MSA(const uint8_t* src_y,
- const uint8_t* src_uv,
- uint8_t* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_MSA(const uint8_t* src_y,
- const uint8_t* src_vu,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_MSA(const uint8_t* src_yuy2,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_MSA(const uint8_t* src_uyvy,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void ARGBToYRow_AVX2(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void ARGBToYRow_Any_AVX2(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ABGRToYRow_AVX2(const uint8_t* src_abgr, uint8_t* dst_y, int width);
- void ABGRToYRow_Any_AVX2(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGBToYRow_SSSE3(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void ARGBToYJRow_AVX2(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void ARGBToYJRow_Any_AVX2(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGBToYJRow_SSSE3(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void RGBAToYJRow_AVX2(const uint8_t* src_rgba, uint8_t* dst_y, int width);
- void RGBAToYJRow_Any_AVX2(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGBAToYJRow_SSSE3(const uint8_t* src_rgba, uint8_t* dst_y, int width);
- void BGRAToYRow_SSSE3(const uint8_t* src_bgra, uint8_t* dst_y, int width);
- void ABGRToYRow_SSSE3(const uint8_t* src_abgr, uint8_t* dst_y, int width);
- void RGBAToYRow_SSSE3(const uint8_t* src_rgba, uint8_t* dst_y, int width);
- void RGB24ToYRow_SSSE3(const uint8_t* src_rgb24, uint8_t* dst_y, int width);
- void RGB24ToYJRow_SSSE3(const uint8_t* src_rgb24, uint8_t* dst_y, int width);
- void RAWToYRow_SSSE3(const uint8_t* src_raw, uint8_t* dst_y, int width);
- void RAWToYJRow_SSSE3(const uint8_t* src_raw, uint8_t* dst_y, int width);
- void RGB24ToYJRow_AVX2(const uint8_t* src_rgb24, uint8_t* dst_y, int width);
- void RAWToYJRow_AVX2(const uint8_t* src_raw, uint8_t* dst_y, int width);
- void ARGBToYRow_NEON(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void ARGBToYJRow_NEON(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void RGBAToYJRow_NEON(const uint8_t* src_rgba, uint8_t* dst_y, int width);
- void ARGBToYRow_MSA(const uint8_t* src_argb0, uint8_t* dst_y, int width);
- void ARGBToYJRow_MSA(const uint8_t* src_argb0, uint8_t* dst_y, int width);
- void ARGBToYRow_MMI(const uint8_t* src_argb0, uint8_t* dst_y, int width);
- void ARGBToYJRow_MMI(const uint8_t* src_argb0, uint8_t* dst_y, int width);
- void ARGBToUV444Row_NEON(const uint8_t* src_argb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVRow_NEON(const uint8_t* src_argb,
- int src_stride_argb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUV444Row_MSA(const uint8_t* src_argb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVRow_MSA(const uint8_t* src_argb,
- int src_stride_argb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUV444Row_MMI(const uint8_t* src_argb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVRow_MMI(const uint8_t* src_argb,
- int src_stride_argb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVJRow_NEON(const uint8_t* src_argb,
- int src_stride_argb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void BGRAToUVRow_NEON(const uint8_t* src_bgra,
- int src_stride_bgra,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ABGRToUVRow_NEON(const uint8_t* src_abgr,
- int src_stride_abgr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGBAToUVRow_NEON(const uint8_t* src_rgba,
- int src_stride_rgba,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGB24ToUVRow_NEON(const uint8_t* src_rgb24,
- int src_stride_rgb24,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RAWToUVRow_NEON(const uint8_t* src_raw,
- int src_stride_raw,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGB565ToUVRow_NEON(const uint8_t* src_rgb565,
- int src_stride_rgb565,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGB1555ToUVRow_NEON(const uint8_t* src_argb1555,
- int src_stride_argb1555,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGB4444ToUVRow_NEON(const uint8_t* src_argb4444,
- int src_stride_argb4444,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVJRow_MSA(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void BGRAToUVRow_MSA(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ABGRToUVRow_MSA(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGBAToUVRow_MSA(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGB24ToUVRow_MSA(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RAWToUVRow_MSA(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGB565ToUVRow_MSA(const uint8_t* src_rgb565,
- int src_stride_rgb565,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGB1555ToUVRow_MSA(const uint8_t* src_argb1555,
- int src_stride_argb1555,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVJRow_MMI(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void BGRAToUVRow_MMI(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ABGRToUVRow_MMI(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGBAToUVRow_MMI(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGB24ToUVRow_MMI(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RAWToUVRow_MMI(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGB565ToUVRow_MMI(const uint8_t* src_rgb565,
- int src_stride_rgb565,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGB1555ToUVRow_MMI(const uint8_t* src_argb1555,
- int src_stride_argb1555,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGB4444ToUVRow_MMI(const uint8_t* src_argb4444,
- int src_stride_argb4444,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void BGRAToYRow_NEON(const uint8_t* src_bgra, uint8_t* dst_y, int width);
- void ABGRToYRow_NEON(const uint8_t* src_abgr, uint8_t* dst_y, int width);
- void RGBAToYRow_NEON(const uint8_t* src_rgba, uint8_t* dst_y, int width);
- void RGB24ToYRow_NEON(const uint8_t* src_rgb24, uint8_t* dst_y, int width);
- void RGB24ToYJRow_NEON(const uint8_t* src_rgb24, uint8_t* dst_yj, int width);
- void RAWToYRow_NEON(const uint8_t* src_raw, uint8_t* dst_y, int width);
- void RAWToYJRow_NEON(const uint8_t* src_raw, uint8_t* dst_yj, int width);
- void RGB565ToYRow_NEON(const uint8_t* src_rgb565, uint8_t* dst_y, int width);
- void ARGB1555ToYRow_NEON(const uint8_t* src_argb1555,
- uint8_t* dst_y,
- int width);
- void ARGB4444ToYRow_NEON(const uint8_t* src_argb4444,
- uint8_t* dst_y,
- int width);
- void BGRAToYRow_MSA(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void ABGRToYRow_MSA(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void RGBAToYRow_MSA(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void RGB24ToYRow_MSA(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void RAWToYRow_MSA(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void RGB565ToYRow_MSA(const uint8_t* src_rgb565, uint8_t* dst_y, int width);
- void ARGB1555ToYRow_MSA(const uint8_t* src_argb1555, uint8_t* dst_y, int width);
- void BGRAToYRow_MMI(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void ABGRToYRow_MMI(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void RGBAToYRow_MMI(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void RGB24ToYRow_MMI(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void RAWToYRow_MMI(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void RGB565ToYRow_MMI(const uint8_t* src_rgb565, uint8_t* dst_y, int width);
- void ARGB1555ToYRow_MMI(const uint8_t* src_argb1555, uint8_t* dst_y, int width);
- void ARGB4444ToYRow_MMI(const uint8_t* src_argb4444, uint8_t* dst_y, int width);
- void ARGBToYRow_C(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void ARGBToYJRow_C(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void RGBAToYJRow_C(const uint8_t* src_argb0, uint8_t* dst_y, int width);
- void BGRAToYRow_C(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void ABGRToYRow_C(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void RGBAToYRow_C(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void RGB24ToYRow_C(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void RGB24ToYJRow_C(const uint8_t* src_argb, uint8_t* dst_yj, int width);
- void RAWToYRow_C(const uint8_t* src_argb, uint8_t* dst_y, int width);
- void RAWToYJRow_C(const uint8_t* src_argb, uint8_t* dst_yj, int width);
- void RGB565ToYRow_C(const uint8_t* src_rgb565, uint8_t* dst_y, int width);
- void ARGB1555ToYRow_C(const uint8_t* src_argb1555, uint8_t* dst_y, int width);
- void ARGB4444ToYRow_C(const uint8_t* src_argb4444, uint8_t* dst_y, int width);
- void ARGBToYRow_Any_SSSE3(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGBToYJRow_Any_SSSE3(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGBAToYJRow_Any_SSSE3(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void BGRAToYRow_Any_SSSE3(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ABGRToYRow_Any_SSSE3(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGBAToYRow_Any_SSSE3(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGB24ToYRow_Any_SSSE3(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGB24ToYJRow_Any_SSSE3(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RAWToYRow_Any_SSSE3(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RAWToYJRow_Any_SSSE3(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGB24ToYJRow_Any_AVX2(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RAWToYJRow_Any_AVX2(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGBToYRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGBToYJRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGBAToYJRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void BGRAToYRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ABGRToYRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGBAToYRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGB24ToYRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGB24ToYJRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RAWToYRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RAWToYJRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGB565ToYRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGB1555ToYRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGB4444ToYRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void BGRAToYRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ABGRToYRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGBAToYRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGBToYJRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGBToYRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGB24ToYRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RAWToYRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGB565ToYRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGB1555ToYRow_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void BGRAToYRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ABGRToYRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGBAToYRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGBToYJRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGBToYRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGB24ToYRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RAWToYRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGB565ToYRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGB1555ToYRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGB4444ToYRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToUVRow_AVX2(const uint8_t* src_argb,
- int src_stride_argb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ABGRToUVRow_AVX2(const uint8_t* src_abgr,
- int src_stride_abgr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVJRow_AVX2(const uint8_t* src_argb,
- int src_stride_argb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVRow_SSSE3(const uint8_t* src_argb,
- int src_stride_argb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVJRow_SSSE3(const uint8_t* src_argb,
- int src_stride_argb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void BGRAToUVRow_SSSE3(const uint8_t* src_bgra,
- int src_stride_bgra,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ABGRToUVRow_SSSE3(const uint8_t* src_abgr,
- int src_stride_abgr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGBAToUVRow_SSSE3(const uint8_t* src_rgba,
- int src_stride_rgba,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVRow_Any_AVX2(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ABGRToUVRow_Any_AVX2(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVJRow_Any_AVX2(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVRow_Any_SSSE3(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVJRow_Any_SSSE3(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void BGRAToUVRow_Any_SSSE3(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ABGRToUVRow_Any_SSSE3(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGBAToUVRow_Any_SSSE3(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUV444Row_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVRow_Any_NEON(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUV444Row_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVRow_Any_MSA(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUV444Row_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVRow_Any_MMI(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVJRow_Any_NEON(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void BGRAToUVRow_Any_NEON(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ABGRToUVRow_Any_NEON(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGBAToUVRow_Any_NEON(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGB24ToUVRow_Any_NEON(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RAWToUVRow_Any_NEON(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGB565ToUVRow_Any_NEON(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGB1555ToUVRow_Any_NEON(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGB4444ToUVRow_Any_NEON(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVJRow_Any_MSA(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void BGRAToUVRow_Any_MSA(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ABGRToUVRow_Any_MSA(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGBAToUVRow_Any_MSA(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGB24ToUVRow_Any_MSA(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RAWToUVRow_Any_MSA(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGB565ToUVRow_Any_MSA(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGB1555ToUVRow_Any_MSA(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVJRow_Any_MMI(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void BGRAToUVRow_Any_MMI(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ABGRToUVRow_Any_MMI(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGBAToUVRow_Any_MMI(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGB24ToUVRow_Any_MMI(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RAWToUVRow_Any_MMI(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGB565ToUVRow_Any_MMI(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGB1555ToUVRow_Any_MMI(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGB4444ToUVRow_Any_MMI(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVRow_C(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVJRow_C(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVRow_C(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUVJRow_C(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void BGRAToUVRow_C(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ABGRToUVRow_C(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGBAToUVRow_C(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGB24ToUVRow_C(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RAWToUVRow_C(const uint8_t* src_rgb,
- int src_stride_rgb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void RGB565ToUVRow_C(const uint8_t* src_rgb565,
- int src_stride_rgb565,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGB1555ToUVRow_C(const uint8_t* src_argb1555,
- int src_stride_argb1555,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGB4444ToUVRow_C(const uint8_t* src_argb4444,
- int src_stride_argb4444,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUV444Row_SSSE3(const uint8_t* src_argb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUV444Row_Any_SSSE3(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBToUV444Row_C(const uint8_t* src_argb,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void MirrorRow_AVX2(const uint8_t* src, uint8_t* dst, int width);
- void MirrorRow_SSSE3(const uint8_t* src, uint8_t* dst, int width);
- void MirrorRow_NEON(const uint8_t* src, uint8_t* dst, int width);
- void MirrorRow_MSA(const uint8_t* src, uint8_t* dst, int width);
- void MirrorRow_MMI(const uint8_t* src, uint8_t* dst, int width);
- void MirrorRow_C(const uint8_t* src, uint8_t* dst, int width);
- void MirrorRow_Any_AVX2(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void MirrorRow_Any_SSSE3(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void MirrorRow_Any_SSE2(const uint8_t* src, uint8_t* dst, int width);
- void MirrorRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void MirrorRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void MirrorRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void MirrorUVRow_SSSE3(const uint8_t* src,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void MirrorUVRow_NEON(const uint8_t* src_uv,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void MirrorUVRow_MSA(const uint8_t* src_uv,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void MirrorUVRow_MMI(const uint8_t* src_uv,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void MirrorUVRow_C(const uint8_t* src_uv,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void ARGBMirrorRow_AVX2(const uint8_t* src, uint8_t* dst, int width);
- void ARGBMirrorRow_SSE2(const uint8_t* src, uint8_t* dst, int width);
- void ARGBMirrorRow_NEON(const uint8_t* src, uint8_t* dst, int width);
- void ARGBMirrorRow_MSA(const uint8_t* src, uint8_t* dst, int width);
- void ARGBMirrorRow_MMI(const uint8_t* src, uint8_t* dst, int width);
- void ARGBMirrorRow_C(const uint8_t* src, uint8_t* dst, int width);
- void ARGBMirrorRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBMirrorRow_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBMirrorRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBMirrorRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGBMirrorRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void SplitUVRow_C(const uint8_t* src_uv,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void SplitUVRow_SSE2(const uint8_t* src_uv,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void SplitUVRow_AVX2(const uint8_t* src_uv,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void SplitUVRow_NEON(const uint8_t* src_uv,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void SplitUVRow_MSA(const uint8_t* src_uv,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void SplitUVRow_MMI(const uint8_t* src_uv,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void SplitUVRow_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void SplitUVRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void SplitUVRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void SplitUVRow_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void SplitUVRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void MergeUVRow_C(const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_uv,
- int width);
- void MergeUVRow_SSE2(const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_uv,
- int width);
- void MergeUVRow_AVX2(const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_uv,
- int width);
- void MergeUVRow_NEON(const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_uv,
- int width);
- void MergeUVRow_MSA(const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_uv,
- int width);
- void MergeUVRow_MMI(const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_uv,
- int width);
- void MergeUVRow_Any_SSE2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void MergeUVRow_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void MergeUVRow_Any_NEON(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void MergeUVRow_Any_MSA(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void MergeUVRow_Any_MMI(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void SplitRGBRow_C(const uint8_t* src_rgb,
- uint8_t* dst_r,
- uint8_t* dst_g,
- uint8_t* dst_b,
- int width);
- void SplitRGBRow_SSSE3(const uint8_t* src_rgb,
- uint8_t* dst_r,
- uint8_t* dst_g,
- uint8_t* dst_b,
- int width);
- void SplitRGBRow_NEON(const uint8_t* src_rgb,
- uint8_t* dst_r,
- uint8_t* dst_g,
- uint8_t* dst_b,
- int width);
- void SplitRGBRow_MMI(const uint8_t* src_rgb,
- uint8_t* dst_r,
- uint8_t* dst_g,
- uint8_t* dst_b,
- int width);
- void SplitRGBRow_Any_SSSE3(const uint8_t* src_ptr,
- uint8_t* dst_r,
- uint8_t* dst_g,
- uint8_t* dst_b,
- int width);
- void SplitRGBRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_r,
- uint8_t* dst_g,
- uint8_t* dst_b,
- int width);
- void SplitRGBRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_r,
- uint8_t* dst_g,
- uint8_t* dst_b,
- int width);
- void MergeRGBRow_C(const uint8_t* src_r,
- const uint8_t* src_g,
- const uint8_t* src_b,
- uint8_t* dst_rgb,
- int width);
- void MergeRGBRow_SSSE3(const uint8_t* src_r,
- const uint8_t* src_g,
- const uint8_t* src_b,
- uint8_t* dst_rgb,
- int width);
- void MergeRGBRow_NEON(const uint8_t* src_r,
- const uint8_t* src_g,
- const uint8_t* src_b,
- uint8_t* dst_rgb,
- int width);
- void MergeRGBRow_MMI(const uint8_t* src_r,
- const uint8_t* src_g,
- const uint8_t* src_b,
- uint8_t* dst_rgb,
- int width);
- void MergeRGBRow_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- int width);
- void MergeRGBRow_Any_NEON(const uint8_t* src_r,
- const uint8_t* src_g,
- const uint8_t* src_b,
- uint8_t* dst_rgb,
- int width);
- void MergeRGBRow_Any_MMI(const uint8_t* src_r,
- const uint8_t* src_g,
- const uint8_t* src_b,
- uint8_t* dst_rgb,
- int width);
- void MergeUVRow_16_C(const uint16_t* src_u,
- const uint16_t* src_v,
- uint16_t* dst_uv,
- int scale, /* 64 for 10 bit */
- int width);
- void MergeUVRow_16_AVX2(const uint16_t* src_u,
- const uint16_t* src_v,
- uint16_t* dst_uv,
- int scale,
- int width);
- void MultiplyRow_16_AVX2(const uint16_t* src_y,
- uint16_t* dst_y,
- int scale,
- int width);
- void MultiplyRow_16_C(const uint16_t* src_y,
- uint16_t* dst_y,
- int scale,
- int width);
- void Convert8To16Row_C(const uint8_t* src_y,
- uint16_t* dst_y,
- int scale,
- int width);
- void Convert8To16Row_SSE2(const uint8_t* src_y,
- uint16_t* dst_y,
- int scale,
- int width);
- void Convert8To16Row_AVX2(const uint8_t* src_y,
- uint16_t* dst_y,
- int scale,
- int width);
- void Convert8To16Row_Any_SSE2(const uint8_t* src_ptr,
- uint16_t* dst_ptr,
- int scale,
- int width);
- void Convert8To16Row_Any_AVX2(const uint8_t* src_ptr,
- uint16_t* dst_ptr,
- int scale,
- int width);
- void Convert16To8Row_C(const uint16_t* src_y,
- uint8_t* dst_y,
- int scale,
- int width);
- void Convert16To8Row_SSSE3(const uint16_t* src_y,
- uint8_t* dst_y,
- int scale,
- int width);
- void Convert16To8Row_AVX2(const uint16_t* src_y,
- uint8_t* dst_y,
- int scale,
- int width);
- void Convert16To8Row_Any_SSSE3(const uint16_t* src_ptr,
- uint8_t* dst_ptr,
- int scale,
- int width);
- void Convert16To8Row_Any_AVX2(const uint16_t* src_ptr,
- uint8_t* dst_ptr,
- int scale,
- int width);
- void CopyRow_SSE2(const uint8_t* src, uint8_t* dst, int width);
- void CopyRow_AVX(const uint8_t* src, uint8_t* dst, int width);
- void CopyRow_ERMS(const uint8_t* src, uint8_t* dst, int width);
- void CopyRow_NEON(const uint8_t* src, uint8_t* dst, int width);
- void CopyRow_MIPS(const uint8_t* src, uint8_t* dst, int count);
- void CopyRow_C(const uint8_t* src, uint8_t* dst, int count);
- void CopyRow_Any_SSE2(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void CopyRow_Any_AVX(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void CopyRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void CopyRow_16_C(const uint16_t* src, uint16_t* dst, int count);
- void ARGBCopyAlphaRow_C(const uint8_t* src, uint8_t* dst, int width);
- void ARGBCopyAlphaRow_SSE2(const uint8_t* src, uint8_t* dst, int width);
- void ARGBCopyAlphaRow_AVX2(const uint8_t* src, uint8_t* dst, int width);
- void ARGBCopyAlphaRow_MMI(const uint8_t* src, uint8_t* dst, int width);
- void ARGBCopyAlphaRow_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBCopyAlphaRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBCopyAlphaRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBExtractAlphaRow_C(const uint8_t* src_argb, uint8_t* dst_a, int width);
- void ARGBExtractAlphaRow_SSE2(const uint8_t* src_argb,
- uint8_t* dst_a,
- int width);
- void ARGBExtractAlphaRow_AVX2(const uint8_t* src_argb,
- uint8_t* dst_a,
- int width);
- void ARGBExtractAlphaRow_NEON(const uint8_t* src_argb,
- uint8_t* dst_a,
- int width);
- void ARGBExtractAlphaRow_MSA(const uint8_t* src_argb,
- uint8_t* dst_a,
- int width);
- void ARGBExtractAlphaRow_MMI(const uint8_t* src_argb,
- uint8_t* dst_a,
- int width);
- void ARGBExtractAlphaRow_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBExtractAlphaRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBExtractAlphaRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBExtractAlphaRow_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBExtractAlphaRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBCopyYToAlphaRow_C(const uint8_t* src, uint8_t* dst, int width);
- void ARGBCopyYToAlphaRow_SSE2(const uint8_t* src, uint8_t* dst, int width);
- void ARGBCopyYToAlphaRow_AVX2(const uint8_t* src, uint8_t* dst, int width);
- void ARGBCopyYToAlphaRow_MMI(const uint8_t* src, uint8_t* dst, int width);
- void ARGBCopyYToAlphaRow_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBCopyYToAlphaRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBCopyYToAlphaRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void SetRow_C(uint8_t* dst, uint8_t v8, int width);
- void SetRow_MSA(uint8_t* dst, uint8_t v8, int width);
- void SetRow_X86(uint8_t* dst, uint8_t v8, int width);
- void SetRow_ERMS(uint8_t* dst, uint8_t v8, int width);
- void SetRow_NEON(uint8_t* dst, uint8_t v8, int width);
- void SetRow_Any_X86(uint8_t* dst_ptr, uint8_t v32, int width);
- void SetRow_Any_NEON(uint8_t* dst_ptr, uint8_t v32, int width);
- void ARGBSetRow_C(uint8_t* dst_argb, uint32_t v32, int width);
- void ARGBSetRow_X86(uint8_t* dst_argb, uint32_t v32, int width);
- void ARGBSetRow_NEON(uint8_t* dst, uint32_t v32, int width);
- void ARGBSetRow_Any_NEON(uint8_t* dst_ptr, uint32_t v32, int width);
- void ARGBSetRow_MSA(uint8_t* dst_argb, uint32_t v32, int width);
- void ARGBSetRow_Any_MSA(uint8_t* dst_ptr, uint32_t v32, int width);
- void ARGBSetRow_MMI(uint8_t* dst_argb, uint32_t v32, int width);
- void ARGBSetRow_Any_MMI(uint8_t* dst_ptr, uint32_t v32, int width);
- // ARGBShufflers for BGRAToARGB etc.
- void ARGBShuffleRow_C(const uint8_t* src_argb,
- uint8_t* dst_argb,
- const uint8_t* shuffler,
- int width);
- void ARGBShuffleRow_SSSE3(const uint8_t* src_argb,
- uint8_t* dst_argb,
- const uint8_t* shuffler,
- int width);
- void ARGBShuffleRow_AVX2(const uint8_t* src_argb,
- uint8_t* dst_argb,
- const uint8_t* shuffler,
- int width);
- void ARGBShuffleRow_NEON(const uint8_t* src_argb,
- uint8_t* dst_argb,
- const uint8_t* shuffler,
- int width);
- void ARGBShuffleRow_MSA(const uint8_t* src_argb,
- uint8_t* dst_argb,
- const uint8_t* shuffler,
- int width);
- void ARGBShuffleRow_MMI(const uint8_t* src_argb,
- uint8_t* dst_argb,
- const uint8_t* shuffler,
- int width);
- void ARGBShuffleRow_Any_SSSE3(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const uint8_t* param,
- int width);
- void ARGBShuffleRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const uint8_t* param,
- int width);
- void ARGBShuffleRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const uint8_t* param,
- int width);
- void ARGBShuffleRow_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const uint8_t* param,
- int width);
- void ARGBShuffleRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const uint8_t* param,
- int width);
- void RGB24ToARGBRow_SSSE3(const uint8_t* src_rgb24,
- uint8_t* dst_argb,
- int width);
- void RAWToARGBRow_SSSE3(const uint8_t* src_raw, uint8_t* dst_argb, int width);
- void RAWToRGBARow_SSSE3(const uint8_t* src_raw, uint8_t* dst_rgba, int width);
- void RAWToRGB24Row_SSSE3(const uint8_t* src_raw, uint8_t* dst_rgb24, int width);
- void RGB565ToARGBRow_SSE2(const uint8_t* src, uint8_t* dst, int width);
- void ARGB1555ToARGBRow_SSE2(const uint8_t* src, uint8_t* dst, int width);
- void ARGB4444ToARGBRow_SSE2(const uint8_t* src, uint8_t* dst, int width);
- void RGB565ToARGBRow_AVX2(const uint8_t* src_rgb565,
- uint8_t* dst_argb,
- int width);
- void ARGB1555ToARGBRow_AVX2(const uint8_t* src_argb1555,
- uint8_t* dst_argb,
- int width);
- void ARGB4444ToARGBRow_AVX2(const uint8_t* src_argb4444,
- uint8_t* dst_argb,
- int width);
- void RGB24ToARGBRow_NEON(const uint8_t* src_rgb24,
- uint8_t* dst_argb,
- int width);
- void RGB24ToARGBRow_MSA(const uint8_t* src_rgb24, uint8_t* dst_argb, int width);
- void RGB24ToARGBRow_MMI(const uint8_t* src_rgb24, uint8_t* dst_argb, int width);
- void RAWToARGBRow_NEON(const uint8_t* src_raw, uint8_t* dst_argb, int width);
- void RAWToRGBARow_NEON(const uint8_t* src_raw, uint8_t* dst_rgba, int width);
- void RAWToARGBRow_MSA(const uint8_t* src_raw, uint8_t* dst_argb, int width);
- void RAWToARGBRow_MMI(const uint8_t* src_raw, uint8_t* dst_argb, int width);
- void RAWToRGB24Row_NEON(const uint8_t* src_raw, uint8_t* dst_rgb24, int width);
- void RAWToRGB24Row_MSA(const uint8_t* src_raw, uint8_t* dst_rgb24, int width);
- void RAWToRGB24Row_MMI(const uint8_t* src_raw, uint8_t* dst_rgb24, int width);
- void RGB565ToARGBRow_NEON(const uint8_t* src_rgb565,
- uint8_t* dst_argb,
- int width);
- void RGB565ToARGBRow_MSA(const uint8_t* src_rgb565,
- uint8_t* dst_argb,
- int width);
- void RGB565ToARGBRow_MMI(const uint8_t* src_rgb565,
- uint8_t* dst_argb,
- int width);
- void ARGB1555ToARGBRow_NEON(const uint8_t* src_argb1555,
- uint8_t* dst_argb,
- int width);
- void ARGB1555ToARGBRow_MSA(const uint8_t* src_argb1555,
- uint8_t* dst_argb,
- int width);
- void ARGB1555ToARGBRow_MMI(const uint8_t* src_argb1555,
- uint8_t* dst_argb,
- int width);
- void ARGB4444ToARGBRow_NEON(const uint8_t* src_argb4444,
- uint8_t* dst_argb,
- int width);
- void ARGB4444ToARGBRow_MSA(const uint8_t* src_argb4444,
- uint8_t* dst_argb,
- int width);
- void ARGB4444ToARGBRow_MMI(const uint8_t* src_argb4444,
- uint8_t* dst_argb,
- int width);
- void RGB24ToARGBRow_C(const uint8_t* src_rgb24, uint8_t* dst_argb, int width);
- void RAWToARGBRow_C(const uint8_t* src_raw, uint8_t* dst_argb, int width);
- void RAWToRGBARow_C(const uint8_t* src_raw, uint8_t* dst_rgba, int width);
- void RAWToRGB24Row_C(const uint8_t* src_raw, uint8_t* dst_rgb24, int width);
- void RGB565ToARGBRow_C(const uint8_t* src_rgb565, uint8_t* dst_argb, int width);
- void ARGB1555ToARGBRow_C(const uint8_t* src_argb1555,
- uint8_t* dst_argb,
- int width);
- void ARGB4444ToARGBRow_C(const uint8_t* src_argb4444,
- uint8_t* dst_argb,
- int width);
- void AR30ToARGBRow_C(const uint8_t* src_ar30, uint8_t* dst_argb, int width);
- void AR30ToABGRRow_C(const uint8_t* src_ar30, uint8_t* dst_abgr, int width);
- void ARGBToAR30Row_C(const uint8_t* src_argb, uint8_t* dst_ar30, int width);
- void AR30ToAB30Row_C(const uint8_t* src_ar30, uint8_t* dst_ab30, int width);
- void RGB24ToARGBRow_Any_SSSE3(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void RAWToARGBRow_Any_SSSE3(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void RAWToRGBARow_Any_SSSE3(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void RAWToRGB24Row_Any_SSSE3(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void RGB565ToARGBRow_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGB1555ToARGBRow_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGB4444ToARGBRow_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void RGB565ToARGBRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGB1555ToARGBRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGB4444ToARGBRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void RGB24ToARGBRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void RGB24ToARGBRow_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void RGB24ToARGBRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void RAWToARGBRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RAWToRGBARow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RAWToARGBRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RAWToARGBRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RAWToRGB24Row_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void RAWToRGB24Row_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RAWToRGB24Row_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void RGB565ToARGBRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void RGB565ToARGBRow_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void RGB565ToARGBRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGB1555ToARGBRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGB1555ToARGBRow_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGB1555ToARGBRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGB4444ToARGBRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGB4444ToARGBRow_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGB4444ToARGBRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToRGB24Row_SSSE3(const uint8_t* src, uint8_t* dst, int width);
- void ARGBToRAWRow_SSSE3(const uint8_t* src, uint8_t* dst, int width);
- void ARGBToRGB565Row_SSE2(const uint8_t* src, uint8_t* dst, int width);
- void ARGBToARGB1555Row_SSE2(const uint8_t* src, uint8_t* dst, int width);
- void ARGBToARGB4444Row_SSE2(const uint8_t* src, uint8_t* dst, int width);
- void ABGRToAR30Row_SSSE3(const uint8_t* src, uint8_t* dst, int width);
- void ARGBToAR30Row_SSSE3(const uint8_t* src, uint8_t* dst, int width);
- void ARGBToRAWRow_AVX2(const uint8_t* src, uint8_t* dst, int width);
- void ARGBToRGB24Row_AVX2(const uint8_t* src, uint8_t* dst, int width);
- void ARGBToRGB24Row_AVX512VBMI(const uint8_t* src, uint8_t* dst, int width);
- void ARGBToRGB565DitherRow_C(const uint8_t* src_argb,
- uint8_t* dst_rgb,
- const uint32_t dither4,
- int width);
- void ARGBToRGB565DitherRow_SSE2(const uint8_t* src,
- uint8_t* dst,
- const uint32_t dither4,
- int width);
- void ARGBToRGB565DitherRow_AVX2(const uint8_t* src,
- uint8_t* dst,
- const uint32_t dither4,
- int width);
- void ARGBToRGB565Row_AVX2(const uint8_t* src_argb, uint8_t* dst_rgb, int width);
- void ARGBToARGB1555Row_AVX2(const uint8_t* src_argb,
- uint8_t* dst_rgb,
- int width);
- void ARGBToARGB4444Row_AVX2(const uint8_t* src_argb,
- uint8_t* dst_rgb,
- int width);
- void ABGRToAR30Row_AVX2(const uint8_t* src, uint8_t* dst, int width);
- void ARGBToAR30Row_AVX2(const uint8_t* src, uint8_t* dst, int width);
- void ARGBToRGB24Row_NEON(const uint8_t* src_argb,
- uint8_t* dst_rgb24,
- int width);
- void ARGBToRAWRow_NEON(const uint8_t* src_argb, uint8_t* dst_raw, int width);
- void ARGBToRGB565Row_NEON(const uint8_t* src_argb,
- uint8_t* dst_rgb565,
- int width);
- void ARGBToARGB1555Row_NEON(const uint8_t* src_argb,
- uint8_t* dst_argb1555,
- int width);
- void ARGBToARGB4444Row_NEON(const uint8_t* src_argb,
- uint8_t* dst_argb4444,
- int width);
- void ARGBToRGB565DitherRow_NEON(const uint8_t* src_argb,
- uint8_t* dst_rgb,
- const uint32_t dither4,
- int width);
- void ARGBToRGB24Row_MSA(const uint8_t* src_argb, uint8_t* dst_rgb, int width);
- void ARGBToRAWRow_MSA(const uint8_t* src_argb, uint8_t* dst_rgb, int width);
- void ARGBToRGB565Row_MSA(const uint8_t* src_argb, uint8_t* dst_rgb, int width);
- void ARGBToARGB1555Row_MSA(const uint8_t* src_argb,
- uint8_t* dst_rgb,
- int width);
- void ARGBToARGB4444Row_MSA(const uint8_t* src_argb,
- uint8_t* dst_rgb,
- int width);
- void ARGBToRGB565DitherRow_MSA(const uint8_t* src_argb,
- uint8_t* dst_rgb,
- const uint32_t dither4,
- int width);
- void ARGBToRGB24Row_MMI(const uint8_t* src_argb, uint8_t* dst_rgb, int width);
- void ARGBToRAWRow_MMI(const uint8_t* src_argb, uint8_t* dst_rgb, int width);
- void ARGBToRGB565Row_MMI(const uint8_t* src_argb, uint8_t* dst_rgb, int width);
- void ARGBToARGB1555Row_MMI(const uint8_t* src_argb,
- uint8_t* dst_rgb,
- int width);
- void ARGBToARGB4444Row_MMI(const uint8_t* src_argb,
- uint8_t* dst_rgb,
- int width);
- void ARGBToRGB565DitherRow_MMI(const uint8_t* src_argb,
- uint8_t* dst_rgb,
- const uint32_t dither4,
- int width);
- void ARGBToRGBARow_C(const uint8_t* src_argb, uint8_t* dst_rgb, int width);
- void ARGBToRGB24Row_C(const uint8_t* src_argb, uint8_t* dst_rgb, int width);
- void ARGBToRAWRow_C(const uint8_t* src_argb, uint8_t* dst_rgb, int width);
- void ARGBToRGB565Row_C(const uint8_t* src_argb, uint8_t* dst_rgb, int width);
- void ARGBToARGB1555Row_C(const uint8_t* src_argb, uint8_t* dst_rgb, int width);
- void ARGBToARGB4444Row_C(const uint8_t* src_argb, uint8_t* dst_rgb, int width);
- void ABGRToAR30Row_C(const uint8_t* src_abgr, uint8_t* dst_ar30, int width);
- void ARGBToAR30Row_C(const uint8_t* src_argb, uint8_t* dst_ar30, int width);
- void J400ToARGBRow_SSE2(const uint8_t* src_y, uint8_t* dst_argb, int width);
- void J400ToARGBRow_AVX2(const uint8_t* src_y, uint8_t* dst_argb, int width);
- void J400ToARGBRow_NEON(const uint8_t* src_y, uint8_t* dst_argb, int width);
- void J400ToARGBRow_MSA(const uint8_t* src_y, uint8_t* dst_argb, int width);
- void J400ToARGBRow_MMI(const uint8_t* src_y, uint8_t* dst_argb, int width);
- void J400ToARGBRow_C(const uint8_t* src_y, uint8_t* dst_argb, int width);
- void J400ToARGBRow_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void J400ToARGBRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void J400ToARGBRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void J400ToARGBRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void J400ToARGBRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void I444ToARGBRow_C(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* rgb_buf,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_C(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* rgb_buf,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToAR30Row_C(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* rgb_buf,
- const struct YuvConstants* yuvconstants,
- int width);
- void I210ToAR30Row_C(const uint16_t* src_y,
- const uint16_t* src_u,
- const uint16_t* src_v,
- uint8_t* rgb_buf,
- const struct YuvConstants* yuvconstants,
- int width);
- void I210ToARGBRow_C(const uint16_t* src_y,
- const uint16_t* src_u,
- const uint16_t* src_v,
- uint8_t* rgb_buf,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_C(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- const uint8_t* src_a,
- uint8_t* rgb_buf,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_C(const uint8_t* src_y,
- const uint8_t* src_uv,
- uint8_t* rgb_buf,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_C(const uint8_t* src_y,
- const uint8_t* src_uv,
- uint8_t* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_C(const uint8_t* src_y,
- const uint8_t* src_vu,
- uint8_t* rgb_buf,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB24Row_C(const uint8_t* src_y,
- const uint8_t* src_uv,
- uint8_t* rgb_buf,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToRGB24Row_C(const uint8_t* src_y,
- const uint8_t* src_vu,
- uint8_t* rgb_buf,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToYUV24Row_C(const uint8_t* src_y,
- const uint8_t* src_vu,
- uint8_t* dst_yuv24,
- int width);
- void YUY2ToARGBRow_C(const uint8_t* src_yuy2,
- uint8_t* rgb_buf,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_C(const uint8_t* src_uyvy,
- uint8_t* rgb_buf,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_C(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* rgb_buf,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_C(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* rgb_buf,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_C(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb4444,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_C(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb1555,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_C(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToAR30Row_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ar30,
- const struct YuvConstants* yuvconstants,
- int width);
- void I210ToAR30Row_SSSE3(const uint16_t* y_buf,
- const uint16_t* u_buf,
- const uint16_t* v_buf,
- uint8_t* dst_ar30,
- const struct YuvConstants* yuvconstants,
- int width);
- void I210ToARGBRow_SSSE3(const uint16_t* y_buf,
- const uint16_t* u_buf,
- const uint16_t* v_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToAR30Row_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ar30,
- const struct YuvConstants* yuvconstants,
- int width);
- void I210ToARGBRow_AVX2(const uint16_t* y_buf,
- const uint16_t* u_buf,
- const uint16_t* v_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I210ToAR30Row_AVX2(const uint16_t* y_buf,
- const uint16_t* u_buf,
- const uint16_t* v_buf,
- uint8_t* dst_ar30,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- const uint8_t* a_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- const uint8_t* a_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_SSSE3(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_AVX2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB24Row_SSSE3(const uint8_t* src_y,
- const uint8_t* src_uv,
- uint8_t* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToRGB24Row_SSSE3(const uint8_t* src_y,
- const uint8_t* src_vu,
- uint8_t* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_SSSE3(const uint8_t* src_y,
- const uint8_t* src_uv,
- uint8_t* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB24Row_AVX2(const uint8_t* src_y,
- const uint8_t* src_uv,
- uint8_t* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToRGB24Row_AVX2(const uint8_t* src_y,
- const uint8_t* src_vu,
- uint8_t* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToYUV24Row_AVX2(const uint8_t* src_y,
- const uint8_t* src_vu,
- uint8_t* dst_yuv24,
- int width);
- void NV12ToRGB565Row_AVX2(const uint8_t* src_y,
- const uint8_t* src_uv,
- uint8_t* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_SSSE3(const uint8_t* y_buf,
- const uint8_t* vu_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_AVX2(const uint8_t* y_buf,
- const uint8_t* vu_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_SSSE3(const uint8_t* yuy2_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_SSSE3(const uint8_t* uyvy_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_AVX2(const uint8_t* yuy2_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_AVX2(const uint8_t* uyvy_buf,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_rgba,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_SSSE3(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb4444,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_AVX2(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb4444,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_SSSE3(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb1555,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_AVX2(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb1555,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_SSSE3(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_AVX2(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_AVX2(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToAR30Row_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I210ToAR30Row_Any_SSSE3(const uint16_t* y_buf,
- const uint16_t* u_buf,
- const uint16_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I210ToARGBRow_Any_SSSE3(const uint16_t* y_buf,
- const uint16_t* u_buf,
- const uint16_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToAR30Row_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I210ToARGBRow_Any_AVX2(const uint16_t* y_buf,
- const uint16_t* u_buf,
- const uint16_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I210ToAR30Row_Any_AVX2(const uint16_t* y_buf,
- const uint16_t* u_buf,
- const uint16_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- const uint8_t* a_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- const uint8_t* a_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB24Row_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToRGB24Row_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB24Row_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToRGB24Row_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToYUV24Row_Any_AVX2(const uint8_t* src_y,
- const uint8_t* src_vu,
- uint8_t* dst_yuv24,
- int width);
- void NV12ToRGB565Row_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_Any_SSSE3(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_Any_SSSE3(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I400ToARGBRow_C(const uint8_t* src_y, uint8_t* rgb_buf, int width);
- void I400ToARGBRow_SSE2(const uint8_t* y_buf, uint8_t* dst_argb, int width);
- void I400ToARGBRow_AVX2(const uint8_t* y_buf, uint8_t* dst_argb, int width);
- void I400ToARGBRow_NEON(const uint8_t* src_y, uint8_t* dst_argb, int width);
- void I400ToARGBRow_MSA(const uint8_t* src_y, uint8_t* dst_argb, int width);
- void I400ToARGBRow_MMI(const uint8_t* src_y, uint8_t* dst_argb, int width);
- void I400ToARGBRow_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void I400ToARGBRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void I400ToARGBRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void I400ToARGBRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void I400ToARGBRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- // ARGB preattenuated alpha blend.
- void ARGBBlendRow_SSSE3(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBBlendRow_NEON(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBBlendRow_MSA(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBBlendRow_MMI(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBBlendRow_C(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- // Unattenuated planar alpha blend.
- void BlendPlaneRow_SSSE3(const uint8_t* src0,
- const uint8_t* src1,
- const uint8_t* alpha,
- uint8_t* dst,
- int width);
- void BlendPlaneRow_Any_SSSE3(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- int width);
- void BlendPlaneRow_AVX2(const uint8_t* src0,
- const uint8_t* src1,
- const uint8_t* alpha,
- uint8_t* dst,
- int width);
- void BlendPlaneRow_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- int width);
- void BlendPlaneRow_MMI(const uint8_t* src0,
- const uint8_t* src1,
- const uint8_t* alpha,
- uint8_t* dst,
- int width);
- void BlendPlaneRow_Any_MMI(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- int width);
- void BlendPlaneRow_C(const uint8_t* src0,
- const uint8_t* src1,
- const uint8_t* alpha,
- uint8_t* dst,
- int width);
- // ARGB multiply images. Same API as Blend, but these require
- // pointer and width alignment for SSE2.
- void ARGBMultiplyRow_C(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBMultiplyRow_SSE2(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBMultiplyRow_Any_SSE2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void ARGBMultiplyRow_AVX2(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBMultiplyRow_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void ARGBMultiplyRow_NEON(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBMultiplyRow_Any_NEON(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void ARGBMultiplyRow_MSA(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBMultiplyRow_Any_MSA(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void ARGBMultiplyRow_MMI(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBMultiplyRow_Any_MMI(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- // ARGB add images.
- void ARGBAddRow_C(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBAddRow_SSE2(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBAddRow_Any_SSE2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void ARGBAddRow_AVX2(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBAddRow_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void ARGBAddRow_NEON(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBAddRow_Any_NEON(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void ARGBAddRow_MSA(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBAddRow_Any_MSA(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void ARGBAddRow_MMI(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBAddRow_Any_MMI(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- // ARGB subtract images. Same API as Blend, but these require
- // pointer and width alignment for SSE2.
- void ARGBSubtractRow_C(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBSubtractRow_SSE2(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBSubtractRow_Any_SSE2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void ARGBSubtractRow_AVX2(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBSubtractRow_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void ARGBSubtractRow_NEON(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBSubtractRow_Any_NEON(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void ARGBSubtractRow_MSA(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBSubtractRow_Any_MSA(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void ARGBSubtractRow_MMI(const uint8_t* src_argb0,
- const uint8_t* src_argb1,
- uint8_t* dst_argb,
- int width);
- void ARGBSubtractRow_Any_MMI(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void ARGBToRGB24Row_Any_SSSE3(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToRAWRow_Any_SSSE3(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToRGB565Row_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToARGB1555Row_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToARGB4444Row_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ABGRToAR30Row_Any_SSSE3(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToAR30Row_Any_SSSE3(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToRAWRow_Any_AVX2(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGBToRGB24Row_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToRGB24Row_Any_AVX512VBMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToRGB565DitherRow_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const uint32_t param,
- int width);
- void ARGBToRGB565DitherRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const uint32_t param,
- int width);
- void ARGBToRGB565Row_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToARGB1555Row_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToARGB4444Row_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ABGRToAR30Row_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToAR30Row_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToRGB24Row_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToRAWRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGBToRGB565Row_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToARGB1555Row_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToARGB4444Row_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToRGB565DitherRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const uint32_t param,
- int width);
- void ARGBToRGB24Row_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToRAWRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGBToRGB565Row_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToARGB1555Row_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToARGB4444Row_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToRGB565DitherRow_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const uint32_t param,
- int width);
- void ARGBToRGB24Row_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToRAWRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void ARGBToRGB565Row_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToARGB1555Row_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToARGB4444Row_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBToRGB565DitherRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const uint32_t param,
- int width);
- void I444ToARGBRow_Any_NEON(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_Any_NEON(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_Any_NEON(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- const uint8_t* a_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_Any_NEON(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_Any_NEON(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_Any_NEON(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_Any_NEON(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_Any_NEON(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_Any_NEON(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_Any_NEON(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB24Row_Any_NEON(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToRGB24Row_Any_NEON(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToYUV24Row_Any_NEON(const uint8_t* src_y,
- const uint8_t* src_vu,
- uint8_t* dst_yuv24,
- int width);
- void NV12ToRGB565Row_Any_NEON(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_Any_MSA(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_Any_MMI(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_Any_MSA(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_Any_MMI(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_Any_MSA(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_Any_MSA(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- const uint8_t* a_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_Any_MSA(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_Any_MSA(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_Any_MSA(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_Any_MSA(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_Any_MSA(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_Any_MSA(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_Any_MSA(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToYRow_AVX2(const uint8_t* src_yuy2, uint8_t* dst_y, int width);
- void YUY2ToUVRow_AVX2(const uint8_t* src_yuy2,
- int stride_yuy2,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToUV422Row_AVX2(const uint8_t* src_yuy2,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToYRow_SSE2(const uint8_t* src_yuy2, uint8_t* dst_y, int width);
- void YUY2ToUVRow_SSE2(const uint8_t* src_yuy2,
- int stride_yuy2,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToUV422Row_SSE2(const uint8_t* src_yuy2,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToYRow_NEON(const uint8_t* src_yuy2, uint8_t* dst_y, int width);
- void YUY2ToUVRow_NEON(const uint8_t* src_yuy2,
- int stride_yuy2,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToUV422Row_NEON(const uint8_t* src_yuy2,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToYRow_MSA(const uint8_t* src_yuy2, uint8_t* dst_y, int width);
- void YUY2ToYRow_MMI(const uint8_t* src_yuy2, uint8_t* dst_y, int width);
- void YUY2ToUVRow_MSA(const uint8_t* src_yuy2,
- int src_stride_yuy2,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToUVRow_MMI(const uint8_t* src_yuy2,
- int src_stride_yuy2,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToUV422Row_MSA(const uint8_t* src_yuy2,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToUV422Row_MMI(const uint8_t* src_yuy2,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToYRow_C(const uint8_t* src_yuy2, uint8_t* dst_y, int width);
- void YUY2ToUVRow_C(const uint8_t* src_yuy2,
- int src_stride_yuy2,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToUV422Row_C(const uint8_t* src_yuy2,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToYRow_Any_AVX2(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void YUY2ToUVRow_Any_AVX2(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToUV422Row_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToYRow_Any_SSE2(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void YUY2ToUVRow_Any_SSE2(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToUV422Row_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToYRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void YUY2ToUVRow_Any_NEON(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToUV422Row_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToYRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void YUY2ToYRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void YUY2ToUVRow_Any_MSA(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToUVRow_Any_MMI(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToUV422Row_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void YUY2ToUV422Row_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToYRow_AVX2(const uint8_t* src_uyvy, uint8_t* dst_y, int width);
- void UYVYToUVRow_AVX2(const uint8_t* src_uyvy,
- int stride_uyvy,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToUV422Row_AVX2(const uint8_t* src_uyvy,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToYRow_SSE2(const uint8_t* src_uyvy, uint8_t* dst_y, int width);
- void UYVYToUVRow_SSE2(const uint8_t* src_uyvy,
- int stride_uyvy,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToUV422Row_SSE2(const uint8_t* src_uyvy,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToYRow_AVX2(const uint8_t* src_uyvy, uint8_t* dst_y, int width);
- void UYVYToUVRow_AVX2(const uint8_t* src_uyvy,
- int stride_uyvy,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToUV422Row_AVX2(const uint8_t* src_uyvy,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToYRow_NEON(const uint8_t* src_uyvy, uint8_t* dst_y, int width);
- void UYVYToUVRow_NEON(const uint8_t* src_uyvy,
- int stride_uyvy,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToUV422Row_NEON(const uint8_t* src_uyvy,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToYRow_MSA(const uint8_t* src_uyvy, uint8_t* dst_y, int width);
- void UYVYToYRow_MMI(const uint8_t* src_uyvy, uint8_t* dst_y, int width);
- void UYVYToUVRow_MSA(const uint8_t* src_uyvy,
- int src_stride_uyvy,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToUVRow_MMI(const uint8_t* src_uyvy,
- int src_stride_uyvy,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToUV422Row_MSA(const uint8_t* src_uyvy,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToUV422Row_MMI(const uint8_t* src_uyvy,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToYRow_C(const uint8_t* src_uyvy, uint8_t* dst_y, int width);
- void UYVYToUVRow_C(const uint8_t* src_uyvy,
- int src_stride_uyvy,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToUV422Row_C(const uint8_t* src_uyvy,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToYRow_Any_AVX2(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void UYVYToUVRow_Any_AVX2(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToUV422Row_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToYRow_Any_SSE2(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void UYVYToUVRow_Any_SSE2(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToUV422Row_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToYRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void UYVYToUVRow_Any_NEON(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToUV422Row_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToYRow_Any_MSA(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void UYVYToYRow_Any_MMI(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void UYVYToUVRow_Any_MSA(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToUVRow_Any_MMI(const uint8_t* src_ptr,
- int src_stride_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToUV422Row_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void UYVYToUV422Row_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_u,
- uint8_t* dst_v,
- int width);
- void SwapUVRow_C(const uint8_t* src_uv, uint8_t* dst_vu, int width);
- void SwapUVRow_NEON(const uint8_t* src_uv, uint8_t* dst_vu, int width);
- void SwapUVRow_Any_NEON(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void SwapUVRow_SSSE3(const uint8_t* src_uv, uint8_t* dst_vu, int width);
- void SwapUVRow_Any_SSSE3(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void SwapUVRow_AVX2(const uint8_t* src_uv, uint8_t* dst_vu, int width);
- void SwapUVRow_Any_AVX2(const uint8_t* src_ptr, uint8_t* dst_ptr, int width);
- void AYUVToYRow_C(const uint8_t* src_ayuv, uint8_t* dst_y, int width);
- void AYUVToUVRow_C(const uint8_t* src_ayuv,
- int stride_ayuv,
- uint8_t* dst_uv,
- int width);
- void AYUVToVURow_C(const uint8_t* src_ayuv,
- int stride_ayuv,
- uint8_t* dst_vu,
- int width);
- void AYUVToYRow_NEON(const uint8_t* src_ayuv, uint8_t* dst_y, int width);
- void AYUVToUVRow_NEON(const uint8_t* src_ayuv,
- int stride_ayuv,
- uint8_t* dst_uv,
- int width);
- void AYUVToVURow_NEON(const uint8_t* src_ayuv,
- int stride_ayuv,
- uint8_t* dst_vu,
- int width);
- void AYUVToYRow_Any_NEON(const uint8_t* src_ayuv, uint8_t* dst_y, int width);
- void AYUVToUVRow_Any_NEON(const uint8_t* src_ayuv,
- int stride_ayuv,
- uint8_t* dst_uv,
- int width);
- void AYUVToVURow_Any_NEON(const uint8_t* src_ayuv,
- int stride_ayuv,
- uint8_t* dst_vu,
- int width);
- void I422ToYUY2Row_C(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_frame,
- int width);
- void I422ToUYVYRow_C(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_frame,
- int width);
- void I422ToYUY2Row_SSE2(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_yuy2,
- int width);
- void I422ToUYVYRow_SSE2(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_uyvy,
- int width);
- void I422ToYUY2Row_Any_SSE2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- int width);
- void I422ToUYVYRow_Any_SSE2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- int width);
- void I422ToYUY2Row_AVX2(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_yuy2,
- int width);
- void I422ToUYVYRow_AVX2(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_uyvy,
- int width);
- void I422ToYUY2Row_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- int width);
- void I422ToUYVYRow_Any_AVX2(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- int width);
- void I422ToYUY2Row_NEON(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_yuy2,
- int width);
- void I422ToUYVYRow_NEON(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_uyvy,
- int width);
- void I422ToYUY2Row_Any_NEON(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- int width);
- void I422ToUYVYRow_Any_NEON(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- int width);
- void I422ToYUY2Row_MSA(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_yuy2,
- int width);
- void I422ToYUY2Row_MMI(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_yuy2,
- int width);
- void I422ToUYVYRow_MSA(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_uyvy,
- int width);
- void I422ToUYVYRow_MMI(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_uyvy,
- int width);
- void I422ToYUY2Row_Any_MSA(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- int width);
- void I422ToYUY2Row_Any_MMI(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- int width);
- void I422ToUYVYRow_Any_MSA(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- int width);
- void I422ToUYVYRow_Any_MMI(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- int width);
- // Effects related row functions.
- void ARGBAttenuateRow_C(const uint8_t* src_argb, uint8_t* dst_argb, int width);
- void ARGBAttenuateRow_SSSE3(const uint8_t* src_argb,
- uint8_t* dst_argb,
- int width);
- void ARGBAttenuateRow_AVX2(const uint8_t* src_argb,
- uint8_t* dst_argb,
- int width);
- void ARGBAttenuateRow_NEON(const uint8_t* src_argb,
- uint8_t* dst_argb,
- int width);
- void ARGBAttenuateRow_MSA(const uint8_t* src_argb,
- uint8_t* dst_argb,
- int width);
- void ARGBAttenuateRow_MMI(const uint8_t* src_argb,
- uint8_t* dst_argb,
- int width);
- void ARGBAttenuateRow_Any_SSSE3(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBAttenuateRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBAttenuateRow_Any_NEON(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBAttenuateRow_Any_MSA(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBAttenuateRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- // Inverse table for unattenuate, shared by C and SSE2.
- extern const uint32_t fixed_invtbl8[256];
- void ARGBUnattenuateRow_C(const uint8_t* src_argb,
- uint8_t* dst_argb,
- int width);
- void ARGBUnattenuateRow_SSE2(const uint8_t* src_argb,
- uint8_t* dst_argb,
- int width);
- void ARGBUnattenuateRow_AVX2(const uint8_t* src_argb,
- uint8_t* dst_argb,
- int width);
- void ARGBUnattenuateRow_Any_SSE2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBUnattenuateRow_Any_AVX2(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- int width);
- void ARGBGrayRow_C(const uint8_t* src_argb, uint8_t* dst_argb, int width);
- void ARGBGrayRow_SSSE3(const uint8_t* src_argb, uint8_t* dst_argb, int width);
- void ARGBGrayRow_NEON(const uint8_t* src_argb, uint8_t* dst_argb, int width);
- void ARGBGrayRow_MSA(const uint8_t* src_argb, uint8_t* dst_argb, int width);
- void ARGBGrayRow_MMI(const uint8_t* src_argb, uint8_t* dst_argb, int width);
- void ARGBSepiaRow_C(uint8_t* dst_argb, int width);
- void ARGBSepiaRow_SSSE3(uint8_t* dst_argb, int width);
- void ARGBSepiaRow_NEON(uint8_t* dst_argb, int width);
- void ARGBSepiaRow_MSA(uint8_t* dst_argb, int width);
- void ARGBSepiaRow_MMI(uint8_t* dst_argb, int width);
- void ARGBColorMatrixRow_C(const uint8_t* src_argb,
- uint8_t* dst_argb,
- const int8_t* matrix_argb,
- int width);
- void ARGBColorMatrixRow_SSSE3(const uint8_t* src_argb,
- uint8_t* dst_argb,
- const int8_t* matrix_argb,
- int width);
- void ARGBColorMatrixRow_NEON(const uint8_t* src_argb,
- uint8_t* dst_argb,
- const int8_t* matrix_argb,
- int width);
- void ARGBColorMatrixRow_MSA(const uint8_t* src_argb,
- uint8_t* dst_argb,
- const int8_t* matrix_argb,
- int width);
- void ARGBColorMatrixRow_MMI(const uint8_t* src_argb,
- uint8_t* dst_argb,
- const int8_t* matrix_argb,
- int width);
- void ARGBColorTableRow_C(uint8_t* dst_argb,
- const uint8_t* table_argb,
- int width);
- void ARGBColorTableRow_X86(uint8_t* dst_argb,
- const uint8_t* table_argb,
- int width);
- void RGBColorTableRow_C(uint8_t* dst_argb,
- const uint8_t* table_argb,
- int width);
- void RGBColorTableRow_X86(uint8_t* dst_argb,
- const uint8_t* table_argb,
- int width);
- void ARGBQuantizeRow_C(uint8_t* dst_argb,
- int scale,
- int interval_size,
- int interval_offset,
- int width);
- void ARGBQuantizeRow_SSE2(uint8_t* dst_argb,
- int scale,
- int interval_size,
- int interval_offset,
- int width);
- void ARGBQuantizeRow_NEON(uint8_t* dst_argb,
- int scale,
- int interval_size,
- int interval_offset,
- int width);
- void ARGBQuantizeRow_MSA(uint8_t* dst_argb,
- int scale,
- int interval_size,
- int interval_offset,
- int width);
- void ARGBShadeRow_C(const uint8_t* src_argb,
- uint8_t* dst_argb,
- int width,
- uint32_t value);
- void ARGBShadeRow_SSE2(const uint8_t* src_argb,
- uint8_t* dst_argb,
- int width,
- uint32_t value);
- void ARGBShadeRow_NEON(const uint8_t* src_argb,
- uint8_t* dst_argb,
- int width,
- uint32_t value);
- void ARGBShadeRow_MSA(const uint8_t* src_argb,
- uint8_t* dst_argb,
- int width,
- uint32_t value);
- void ARGBShadeRow_MMI(const uint8_t* src_argb,
- uint8_t* dst_argb,
- int width,
- uint32_t value);
- // Used for blur.
- void CumulativeSumToAverageRow_SSE2(const int32_t* topleft,
- const int32_t* botleft,
- int width,
- int area,
- uint8_t* dst,
- int count);
- void ComputeCumulativeSumRow_SSE2(const uint8_t* row,
- int32_t* cumsum,
- const int32_t* previous_cumsum,
- int width);
- void ComputeCumulativeSumRow_MMI(const uint8_t* row,
- int32_t* cumsum,
- const int32_t* previous_cumsum,
- int width);
- void CumulativeSumToAverageRow_C(const int32_t* tl,
- const int32_t* bl,
- int w,
- int area,
- uint8_t* dst,
- int count);
- void ComputeCumulativeSumRow_C(const uint8_t* row,
- int32_t* cumsum,
- const int32_t* previous_cumsum,
- int width);
- LIBYUV_API
- void ARGBAffineRow_C(const uint8_t* src_argb,
- int src_argb_stride,
- uint8_t* dst_argb,
- const float* uv_dudv,
- int width);
- LIBYUV_API
- void ARGBAffineRow_SSE2(const uint8_t* src_argb,
- int src_argb_stride,
- uint8_t* dst_argb,
- const float* src_dudv,
- int width);
- // Used for I420Scale, ARGBScale, and ARGBInterpolate.
- void InterpolateRow_C(uint8_t* dst_ptr,
- const uint8_t* src_ptr,
- ptrdiff_t src_stride,
- int width,
- int source_y_fraction);
- void InterpolateRow_SSSE3(uint8_t* dst_ptr,
- const uint8_t* src_ptr,
- ptrdiff_t src_stride,
- int dst_width,
- int source_y_fraction);
- void InterpolateRow_AVX2(uint8_t* dst_ptr,
- const uint8_t* src_ptr,
- ptrdiff_t src_stride,
- int dst_width,
- int source_y_fraction);
- void InterpolateRow_NEON(uint8_t* dst_ptr,
- const uint8_t* src_ptr,
- ptrdiff_t src_stride,
- int dst_width,
- int source_y_fraction);
- void InterpolateRow_MSA(uint8_t* dst_ptr,
- const uint8_t* src_ptr,
- ptrdiff_t src_stride,
- int width,
- int source_y_fraction);
- void InterpolateRow_MMI(uint8_t* dst_ptr,
- const uint8_t* src_ptr,
- ptrdiff_t src_stride,
- int width,
- int source_y_fraction);
- void InterpolateRow_Any_NEON(uint8_t* dst_ptr,
- const uint8_t* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_Any_SSSE3(uint8_t* dst_ptr,
- const uint8_t* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_Any_AVX2(uint8_t* dst_ptr,
- const uint8_t* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_Any_MSA(uint8_t* dst_ptr,
- const uint8_t* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_Any_MMI(uint8_t* dst_ptr,
- const uint8_t* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_16_C(uint16_t* dst_ptr,
- const uint16_t* src_ptr,
- ptrdiff_t src_stride,
- int width,
- int source_y_fraction);
- // Sobel images.
- void SobelXRow_C(const uint8_t* src_y0,
- const uint8_t* src_y1,
- const uint8_t* src_y2,
- uint8_t* dst_sobelx,
- int width);
- void SobelXRow_SSE2(const uint8_t* src_y0,
- const uint8_t* src_y1,
- const uint8_t* src_y2,
- uint8_t* dst_sobelx,
- int width);
- void SobelXRow_NEON(const uint8_t* src_y0,
- const uint8_t* src_y1,
- const uint8_t* src_y2,
- uint8_t* dst_sobelx,
- int width);
- void SobelXRow_MSA(const uint8_t* src_y0,
- const uint8_t* src_y1,
- const uint8_t* src_y2,
- uint8_t* dst_sobelx,
- int width);
- void SobelXRow_MMI(const uint8_t* src_y0,
- const uint8_t* src_y1,
- const uint8_t* src_y2,
- uint8_t* dst_sobelx,
- int width);
- void SobelYRow_C(const uint8_t* src_y0,
- const uint8_t* src_y1,
- uint8_t* dst_sobely,
- int width);
- void SobelYRow_SSE2(const uint8_t* src_y0,
- const uint8_t* src_y1,
- uint8_t* dst_sobely,
- int width);
- void SobelYRow_NEON(const uint8_t* src_y0,
- const uint8_t* src_y1,
- uint8_t* dst_sobely,
- int width);
- void SobelYRow_MSA(const uint8_t* src_y0,
- const uint8_t* src_y1,
- uint8_t* dst_sobely,
- int width);
- void SobelYRow_MMI(const uint8_t* src_y0,
- const uint8_t* src_y1,
- uint8_t* dst_sobely,
- int width);
- void SobelRow_C(const uint8_t* src_sobelx,
- const uint8_t* src_sobely,
- uint8_t* dst_argb,
- int width);
- void SobelRow_SSE2(const uint8_t* src_sobelx,
- const uint8_t* src_sobely,
- uint8_t* dst_argb,
- int width);
- void SobelRow_NEON(const uint8_t* src_sobelx,
- const uint8_t* src_sobely,
- uint8_t* dst_argb,
- int width);
- void SobelRow_MSA(const uint8_t* src_sobelx,
- const uint8_t* src_sobely,
- uint8_t* dst_argb,
- int width);
- void SobelRow_MMI(const uint8_t* src_sobelx,
- const uint8_t* src_sobely,
- uint8_t* dst_argb,
- int width);
- void SobelToPlaneRow_C(const uint8_t* src_sobelx,
- const uint8_t* src_sobely,
- uint8_t* dst_y,
- int width);
- void SobelToPlaneRow_SSE2(const uint8_t* src_sobelx,
- const uint8_t* src_sobely,
- uint8_t* dst_y,
- int width);
- void SobelToPlaneRow_NEON(const uint8_t* src_sobelx,
- const uint8_t* src_sobely,
- uint8_t* dst_y,
- int width);
- void SobelToPlaneRow_MSA(const uint8_t* src_sobelx,
- const uint8_t* src_sobely,
- uint8_t* dst_y,
- int width);
- void SobelToPlaneRow_MMI(const uint8_t* src_sobelx,
- const uint8_t* src_sobely,
- uint8_t* dst_y,
- int width);
- void SobelXYRow_C(const uint8_t* src_sobelx,
- const uint8_t* src_sobely,
- uint8_t* dst_argb,
- int width);
- void SobelXYRow_SSE2(const uint8_t* src_sobelx,
- const uint8_t* src_sobely,
- uint8_t* dst_argb,
- int width);
- void SobelXYRow_NEON(const uint8_t* src_sobelx,
- const uint8_t* src_sobely,
- uint8_t* dst_argb,
- int width);
- void SobelXYRow_MSA(const uint8_t* src_sobelx,
- const uint8_t* src_sobely,
- uint8_t* dst_argb,
- int width);
- void SobelXYRow_MMI(const uint8_t* src_sobelx,
- const uint8_t* src_sobely,
- uint8_t* dst_argb,
- int width);
- void SobelRow_Any_SSE2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void SobelRow_Any_NEON(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void SobelRow_Any_MSA(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void SobelRow_Any_MMI(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void SobelToPlaneRow_Any_SSE2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void SobelToPlaneRow_Any_NEON(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void SobelToPlaneRow_Any_MSA(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void SobelToPlaneRow_Any_MMI(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void SobelXYRow_Any_SSE2(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void SobelXYRow_Any_NEON(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void SobelXYRow_Any_MSA(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void SobelXYRow_Any_MMI(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- int width);
- void ARGBPolynomialRow_C(const uint8_t* src_argb,
- uint8_t* dst_argb,
- const float* poly,
- int width);
- void ARGBPolynomialRow_SSE2(const uint8_t* src_argb,
- uint8_t* dst_argb,
- const float* poly,
- int width);
- void ARGBPolynomialRow_AVX2(const uint8_t* src_argb,
- uint8_t* dst_argb,
- const float* poly,
- int width);
- // Scale and convert to half float.
- void HalfFloatRow_C(const uint16_t* src, uint16_t* dst, float scale, int width);
- void HalfFloatRow_SSE2(const uint16_t* src,
- uint16_t* dst,
- float scale,
- int width);
- void HalfFloatRow_Any_SSE2(const uint16_t* src_ptr,
- uint16_t* dst_ptr,
- float param,
- int width);
- void HalfFloatRow_AVX2(const uint16_t* src,
- uint16_t* dst,
- float scale,
- int width);
- void HalfFloatRow_Any_AVX2(const uint16_t* src_ptr,
- uint16_t* dst_ptr,
- float param,
- int width);
- void HalfFloatRow_F16C(const uint16_t* src,
- uint16_t* dst,
- float scale,
- int width);
- void HalfFloatRow_Any_F16C(const uint16_t* src,
- uint16_t* dst,
- float scale,
- int width);
- void HalfFloat1Row_F16C(const uint16_t* src,
- uint16_t* dst,
- float scale,
- int width);
- void HalfFloat1Row_Any_F16C(const uint16_t* src,
- uint16_t* dst,
- float scale,
- int width);
- void HalfFloatRow_NEON(const uint16_t* src,
- uint16_t* dst,
- float scale,
- int width);
- void HalfFloatRow_Any_NEON(const uint16_t* src_ptr,
- uint16_t* dst_ptr,
- float param,
- int width);
- void HalfFloat1Row_NEON(const uint16_t* src,
- uint16_t* dst,
- float scale,
- int width);
- void HalfFloat1Row_Any_NEON(const uint16_t* src_ptr,
- uint16_t* dst_ptr,
- float param,
- int width);
- void HalfFloatRow_MSA(const uint16_t* src,
- uint16_t* dst,
- float scale,
- int width);
- void HalfFloatRow_Any_MSA(const uint16_t* src_ptr,
- uint16_t* dst_ptr,
- float param,
- int width);
- void ByteToFloatRow_C(const uint8_t* src, float* dst, float scale, int width);
- void ByteToFloatRow_NEON(const uint8_t* src,
- float* dst,
- float scale,
- int width);
- void ByteToFloatRow_Any_NEON(const uint8_t* src_ptr,
- float* dst_ptr,
- float param,
- int width);
- void ARGBLumaColorTableRow_C(const uint8_t* src_argb,
- uint8_t* dst_argb,
- int width,
- const uint8_t* luma,
- uint32_t lumacoeff);
- void ARGBLumaColorTableRow_SSSE3(const uint8_t* src_argb,
- uint8_t* dst_argb,
- int width,
- const uint8_t* luma,
- uint32_t lumacoeff);
- float ScaleMaxSamples_C(const float* src, float* dst, float scale, int width);
- float ScaleMaxSamples_NEON(const float* src,
- float* dst,
- float scale,
- int width);
- float ScaleSumSamples_C(const float* src, float* dst, float scale, int width);
- float ScaleSumSamples_NEON(const float* src,
- float* dst,
- float scale,
- int width);
- void ScaleSamples_C(const float* src, float* dst, float scale, int width);
- void ScaleSamples_NEON(const float* src, float* dst, float scale, int width);
- void I210ToARGBRow_MMI(const uint16_t* src_y,
- const uint16_t* src_u,
- const uint16_t* src_v,
- uint8_t* rgb_buf,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_MMI(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_MMI(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- const uint8_t* src_a,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_MMI(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_MMI(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_MMI(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb4444,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_MMI(const uint8_t* src_y,
- const uint8_t* src_u,
- const uint8_t* src_v,
- uint8_t* dst_argb1555,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_MMI(const uint8_t* src_y,
- const uint8_t* src_uv,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_MMI(const uint8_t* src_y,
- const uint8_t* src_uv,
- uint8_t* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_MMI(const uint8_t* src_y,
- const uint8_t* src_vu,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB24Row_MMI(const uint8_t* src_y,
- const uint8_t* src_uv,
- uint8_t* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToRGB24Row_MMI(const uint8_t* src_y,
- const uint8_t* src_vu,
- uint8_t* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_MMI(const uint8_t* src_yuy2,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_MMI(const uint8_t* src_uyvy,
- uint8_t* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I210ToARGBRow_Any_MMI(const uint16_t* y_buf,
- const uint16_t* u_buf,
- const uint16_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_Any_MMI(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_Any_MMI(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- const uint8_t* a_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_Any_MMI(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_Any_MMI(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_Any_MMI(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_Any_MMI(const uint8_t* y_buf,
- const uint8_t* u_buf,
- const uint8_t* v_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_Any_MMI(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_Any_MMI(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_Any_MMI(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB24Row_Any_MMI(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToRGB24Row_Any_MMI(const uint8_t* y_buf,
- const uint8_t* uv_buf,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_Any_MMI(const uint8_t* src_ptr,
- uint8_t* dst_ptr,
- const struct YuvConstants* yuvconstants,
- int width);
- void GaussRow_F32_NEON(const float* src, float* dst, int width);
- void GaussRow_F32_C(const float* src, float* dst, int width);
- void GaussCol_F32_NEON(const float* src0,
- const float* src1,
- const float* src2,
- const float* src3,
- const float* src4,
- float* dst,
- int width);
- void GaussCol_F32_C(const float* src0,
- const float* src1,
- const float* src2,
- const float* src3,
- const float* src4,
- float* dst,
- int width);
- #ifdef __cplusplus
- } // extern "C"
- } // namespace libyuv
- #endif
- #endif // INCLUDE_LIBYUV_ROW_H_
|