12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308 |
- /*
- * 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
- #define IS_ALIGNED(p, a) (!((uintptr_t)(p) & ((a)-1)))
- #define align_buffer_64(var, size) \
- uint8* var##_mem = (uint8*)(malloc((size) + 63)); /* NOLINT */ \
- uint8* var = (uint8*)(((intptr_t)(var##_mem) + 63) & ~63) /* NOLINT */
- #define free_aligned_buffer_64(var) \
- free(var##_mem); \
- var = 0
- #if defined(__pnacl__) || defined(__CLR_VER) || \
- (defined(__i386__) && !defined(__SSE__) && !defined(__clang__))
- #define LIBYUV_DISABLE_X86
- #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
- // True if compiling for SSSE3 as a requirement.
- #if defined(__SSSE3__) || (defined(_M_IX86_FP) && (_M_IX86_FP >= 3))
- #define LIBYUV_SSSE3_ONLY
- #endif
- #if defined(__native_client__)
- #define LIBYUV_DISABLE_NEON
- #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__
- // 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_SSE2
- #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_NV12TORGB565ROW_SSSE3
- #define HAS_NV21TOARGBROW_SSSE3
- #define HAS_RAWTOARGBROW_SSSE3
- #define HAS_RAWTORGB24ROW_SSSE3
- #define HAS_RAWTOYROW_SSSE3
- #define HAS_RGB24TOARGBROW_SSSE3
- #define HAS_RGB24TOYROW_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.
- // The code supports NaCL but requires a new compiler and validator.
- #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_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_NV12TORGB565ROW_AVX2
- #define HAS_NV21TOARGBROW_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(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_MERGERGBROW_SSSE3
- #define HAS_SPLITRGBROW_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_MERGEUVROW_16_AVX2
- #define HAS_MULTIPLYROW_16_AVX2
- #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_ARGBTOYROW_NEON
- #define HAS_BGRATOUVROW_NEON
- #define HAS_BGRATOYROW_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_NV12TORGB565ROW_NEON
- #define HAS_NV21TOARGBROW_NEON
- #define HAS_RAWTOARGBROW_NEON
- #define HAS_RAWTORGB24ROW_NEON
- #define HAS_RAWTOUVROW_NEON
- #define HAS_RAWTOYROW_NEON
- #define HAS_RGB24TOARGBROW_NEON
- #define HAS_RGB24TOUVROW_NEON
- #define HAS_RGB24TOYROW_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_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
- #endif
- // The following are available on Mips platforms:
- #if !defined(LIBYUV_DISABLE_DSPR2) && defined(__mips__) && \
- (_MIPS_SIM == _MIPS_SIM_ABI32) && (__mips_isa_rev < 6)
- #define HAS_COPYROW_MIPS
- #if defined(__mips_dsp) && (__mips_dsp_rev >= 2)
- #define HAS_I422TOARGBROW_DSPR2
- #define HAS_INTERPOLATEROW_DSPR2
- #define HAS_MIRRORROW_DSPR2
- #define HAS_MIRRORUVROW_DSPR2
- #define HAS_SPLITUVROW_DSPR2
- #define HAS_RGB24TOARGBROW_DSPR2
- #define HAS_RAWTOARGBROW_DSPR2
- #define HAS_RGB565TOARGBROW_DSPR2
- #define HAS_ARGB1555TOARGBROW_DSPR2
- #define HAS_ARGB4444TOARGBROW_DSPR2
- #define HAS_I444TOARGBROW_DSPR2
- #define HAS_I422TOARGB4444ROW_DSPR2
- #define HAS_I422TOARGB1555ROW_DSPR2
- #define HAS_NV12TOARGBROW_DSPR2
- #define HAS_BGRATOUVROW_DSPR2
- #define HAS_BGRATOYROW_DSPR2
- #define HAS_ABGRTOUVROW_DSPR2
- #define HAS_ARGBTOYROW_DSPR2
- #define HAS_ABGRTOYROW_DSPR2
- #define HAS_RGBATOUVROW_DSPR2
- #define HAS_RGBATOYROW_DSPR2
- #define HAS_ARGBTOUVROW_DSPR2
- #endif
- #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_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(_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 vec16[8];
- typedef __declspec(align(16)) int32 vec32[4];
- typedef __declspec(align(16)) int8 vec8[16];
- typedef __declspec(align(16)) uint16 uvec16[8];
- typedef __declspec(align(16)) uint32 uvec32[4];
- typedef __declspec(align(16)) uint8 uvec8[16];
- typedef __declspec(align(32)) int16 lvec16[16];
- typedef __declspec(align(32)) int32 lvec32[8];
- typedef __declspec(align(32)) int8 lvec8[32];
- typedef __declspec(align(32)) uint16 ulvec16[16];
- typedef __declspec(align(32)) uint32 ulvec32[8];
- typedef __declspec(align(32)) uint8 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 __attribute__((vector_size(16))) vec16;
- typedef int32 __attribute__((vector_size(16))) vec32;
- typedef int8 __attribute__((vector_size(16))) vec8;
- typedef uint16 __attribute__((vector_size(16))) uvec16;
- typedef uint32 __attribute__((vector_size(16))) uvec32;
- typedef uint8 __attribute__((vector_size(16))) uvec8;
- typedef int16 __attribute__((vector_size(32))) lvec16;
- typedef int32 __attribute__((vector_size(32))) lvec32;
- typedef int8 __attribute__((vector_size(32))) lvec8;
- typedef uint16 __attribute__((vector_size(32))) ulvec16;
- typedef uint32 __attribute__((vector_size(32))) ulvec32;
- typedef uint8 __attribute__((vector_size(32))) ulvec8;
- #else
- #define SIMD_ALIGNED(var) var
- typedef int16 vec16[8];
- typedef int32 vec32[4];
- typedef int8 vec8[16];
- typedef uint16 uvec16[8];
- typedef uint32 uvec32[4];
- typedef uint8 uvec8[16];
- typedef int16 lvec16[16];
- typedef int32 lvec32[8];
- typedef int8 lvec8[32];
- typedef uint16 ulvec16[16];
- typedef uint32 ulvec32[8];
- typedef uint8 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 kUVToB[32];
- int8 kUVToG[32];
- int8 kUVToR[32];
- int16 kUVBiasB[16];
- int16 kUVBiasG[16];
- int16 kUVBiasR[16];
- int16 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
- // 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
- #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
- #if defined(__native_client__) && defined(__x86_64__)
- // r14 is used for MEMOP macros.
- #define NACL_R14 "r14",
- #define BUNDLELOCK ".bundle_lock\n"
- #define BUNDLEUNLOCK ".bundle_unlock\n"
- #define MEMACCESS(base) "%%nacl:(%%r15,%q" #base ")"
- #define MEMACCESS2(offset, base) "%%nacl:" #offset "(%%r15,%q" #base ")"
- #define MEMLEA(offset, base) #offset "(%q" #base ")"
- #define MEMLEA3(offset, index, scale) #offset "(,%q" #index "," #scale ")"
- #define MEMLEA4(offset, base, index, scale) \
- #offset "(%q" #base ",%q" #index "," #scale ")"
- #define MEMMOVESTRING(s, d) "%%nacl:(%q" #s "),%%nacl:(%q" #d "), %%r15"
- #define MEMSTORESTRING(reg, d) "%%" #reg ",%%nacl:(%q" #d "), %%r15"
- #define MEMOPREG(opcode, offset, base, index, scale, reg) \
- BUNDLELOCK \
- "lea " #offset "(%q" #base ",%q" #index "," #scale "),%%r14d\n" #opcode \
- " (%%r15,%%r14),%%" #reg "\n" BUNDLEUNLOCK
- #define MEMOPMEM(opcode, reg, offset, base, index, scale) \
- BUNDLELOCK \
- "lea " #offset "(%q" #base ",%q" #index "," #scale "),%%r14d\n" #opcode \
- " %%" #reg ",(%%r15,%%r14)\n" BUNDLEUNLOCK
- #define MEMOPARG(opcode, offset, base, index, scale, arg) \
- BUNDLELOCK \
- "lea " #offset "(%q" #base ",%q" #index "," #scale "),%%r14d\n" #opcode \
- " (%%r15,%%r14),%" #arg "\n" BUNDLEUNLOCK
- #define VMEMOPREG(opcode, offset, base, index, scale, reg1, reg2) \
- BUNDLELOCK \
- "lea " #offset "(%q" #base ",%q" #index "," #scale "),%%r14d\n" #opcode \
- " (%%r15,%%r14),%%" #reg1 ",%%" #reg2 "\n" BUNDLEUNLOCK
- #define VEXTOPMEM(op, sel, reg, offset, base, index, scale) \
- BUNDLELOCK \
- "lea " #offset "(%q" #base ",%q" #index "," #scale "),%%r14d\n" #op \
- " $" #sel ",%%" #reg ",(%%r15,%%r14)\n" BUNDLEUNLOCK
- #else // defined(__native_client__) && defined(__x86_64__)
- #define NACL_R14
- #define BUNDLEALIGN
- #define MEMACCESS(base) "(%" #base ")"
- #define MEMACCESS2(offset, base) #offset "(%" #base ")"
- #define MEMLEA(offset, base) #offset "(%" #base ")"
- #define MEMLEA3(offset, index, scale) #offset "(,%" #index "," #scale ")"
- #define MEMLEA4(offset, base, index, scale) \
- #offset "(%" #base ",%" #index "," #scale ")"
- #define MEMMOVESTRING(s, d)
- #define MEMSTORESTRING(reg, d)
- #define MEMOPREG(opcode, offset, base, index, scale, reg) \
- #opcode " " #offset "(%" #base ",%" #index "," #scale "),%%" #reg "\n"
- #define MEMOPMEM(opcode, reg, offset, base, index, scale) \
- #opcode " %%" #reg "," #offset "(%" #base ",%" #index "," #scale ")\n"
- #define MEMOPARG(opcode, offset, base, index, scale, arg) \
- #opcode " " #offset "(%" #base ",%" #index "," #scale "),%" #arg "\n"
- #define VMEMOPREG(opcode, offset, base, index, scale, reg1, reg2) \
- #opcode " " #offset "(%" #base ",%" #index "," #scale "),%%" #reg1 \
- ",%%" #reg2 "\n"
- #define VEXTOPMEM(op, sel, reg, offset, base, index, scale) \
- #op " $" #sel ",%%" #reg "," #offset "(%" #base ",%" #index "," #scale ")\n"
- #endif // defined(__native_client__) && defined(__x86_64__)
- // 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* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_NEON(const uint8* y_buf,
- const uint8* u_buf,
- const uint8* v_buf,
- const uint8* a_buf,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgba,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb1555,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb4444,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_NEON(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_NEON(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_NEON(const uint8* src_y,
- const uint8* src_vu,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_NEON(const uint8* src_yuy2,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_NEON(const uint8* src_uyvy,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_DSPR2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_DSPR2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb4444,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_DSPR2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb1555,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_DSPR2(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgba,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_MSA(const uint8* y_buf,
- const uint8* u_buf,
- const uint8* v_buf,
- const uint8* a_buf,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb4444,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb1555,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_MSA(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_MSA(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_MSA(const uint8* src_y,
- const uint8* src_vu,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_MSA(const uint8* src_yuy2,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_MSA(const uint8* src_uyvy,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void ARGBToYRow_AVX2(const uint8* src_argb, uint8* dst_y, int width);
- void ARGBToYRow_Any_AVX2(const uint8* src_argb, uint8* dst_y, int width);
- void ARGBToYRow_SSSE3(const uint8* src_argb, uint8* dst_y, int width);
- void ARGBToYJRow_AVX2(const uint8* src_argb, uint8* dst_y, int width);
- void ARGBToYJRow_Any_AVX2(const uint8* src_argb, uint8* dst_y, int width);
- void ARGBToYJRow_SSSE3(const uint8* src_argb, uint8* dst_y, int width);
- void BGRAToYRow_SSSE3(const uint8* src_bgra, uint8* dst_y, int width);
- void ABGRToYRow_SSSE3(const uint8* src_abgr, uint8* dst_y, int width);
- void RGBAToYRow_SSSE3(const uint8* src_rgba, uint8* dst_y, int width);
- void RGB24ToYRow_SSSE3(const uint8* src_rgb24, uint8* dst_y, int width);
- void RAWToYRow_SSSE3(const uint8* src_raw, uint8* dst_y, int width);
- void ARGBToYRow_NEON(const uint8* src_argb, uint8* dst_y, int width);
- void ARGBToYJRow_NEON(const uint8* src_argb, uint8* dst_y, int width);
- void ARGBToYRow_MSA(const uint8* src_argb, uint8* dst_y, int width);
- void ARGBToYJRow_MSA(const uint8* src_argb, uint8* dst_y, int width);
- void ARGBToUV444Row_NEON(const uint8* src_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVRow_NEON(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUV444Row_MSA(const uint8* src_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVRow_MSA(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVJRow_NEON(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void BGRAToUVRow_NEON(const uint8* src_bgra,
- int src_stride_bgra,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ABGRToUVRow_NEON(const uint8* src_abgr,
- int src_stride_abgr,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGBAToUVRow_NEON(const uint8* src_rgba,
- int src_stride_rgba,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGB24ToUVRow_NEON(const uint8* src_rgb24,
- int src_stride_rgb24,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RAWToUVRow_NEON(const uint8* src_raw,
- int src_stride_raw,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGB565ToUVRow_NEON(const uint8* src_rgb565,
- int src_stride_rgb565,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGB1555ToUVRow_NEON(const uint8* src_argb1555,
- int src_stride_argb1555,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGB4444ToUVRow_NEON(const uint8* src_argb4444,
- int src_stride_argb4444,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVJRow_MSA(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void BGRAToUVRow_MSA(const uint8* src_bgra,
- int src_stride_bgra,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ABGRToUVRow_MSA(const uint8* src_abgr,
- int src_stride_abgr,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGBAToUVRow_MSA(const uint8* src_rgba,
- int src_stride_rgba,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGB24ToUVRow_MSA(const uint8* src_rgb24,
- int src_stride_rgb24,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RAWToUVRow_MSA(const uint8* src_raw,
- int src_stride_raw,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGB565ToUVRow_MSA(const uint8* src_rgb565,
- int src_stride_rgb565,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGB1555ToUVRow_MSA(const uint8* src_argb1555,
- int src_stride_argb1555,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void BGRAToYRow_NEON(const uint8* src_bgra, uint8* dst_y, int width);
- void ABGRToYRow_NEON(const uint8* src_abgr, uint8* dst_y, int width);
- void RGBAToYRow_NEON(const uint8* src_rgba, uint8* dst_y, int width);
- void RGB24ToYRow_NEON(const uint8* src_rgb24, uint8* dst_y, int width);
- void RAWToYRow_NEON(const uint8* src_raw, uint8* dst_y, int width);
- void RGB565ToYRow_NEON(const uint8* src_rgb565, uint8* dst_y, int width);
- void ARGB1555ToYRow_NEON(const uint8* src_argb1555, uint8* dst_y, int width);
- void ARGB4444ToYRow_NEON(const uint8* src_argb4444, uint8* dst_y, int width);
- void BGRAToYRow_MSA(const uint8* src_bgra, uint8* dst_y, int width);
- void ABGRToYRow_MSA(const uint8* src_abgr, uint8* dst_y, int width);
- void RGBAToYRow_MSA(const uint8* src_rgba, uint8* dst_y, int width);
- void RGB24ToYRow_MSA(const uint8* src_rgb24, uint8* dst_y, int width);
- void RAWToYRow_MSA(const uint8* src_raw, uint8* dst_y, int width);
- void RGB565ToYRow_MSA(const uint8* src_rgb565, uint8* dst_y, int width);
- void ARGB1555ToYRow_MSA(const uint8* src_argb1555, uint8* dst_y, int width);
- void BGRAToUVRow_DSPR2(const uint8* src_bgra,
- int src_stride_bgra,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void BGRAToYRow_DSPR2(const uint8* src_bgra, uint8* dst_y, int width);
- void ABGRToUVRow_DSPR2(const uint8* src_abgr,
- int src_stride_abgr,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToYRow_DSPR2(const uint8* src_argb, uint8* dst_y, int width);
- void ABGRToYRow_DSPR2(const uint8* src_abgr, uint8* dst_y, int width);
- void RGBAToUVRow_DSPR2(const uint8* src_rgba,
- int src_stride_rgba,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGBAToYRow_DSPR2(const uint8* src_rgba, uint8* dst_y, int width);
- void ARGBToUVRow_DSPR2(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToYRow_C(const uint8* src_argb, uint8* dst_y, int width);
- void ARGBToYJRow_C(const uint8* src_argb, uint8* dst_y, int width);
- void BGRAToYRow_C(const uint8* src_bgra, uint8* dst_y, int width);
- void ABGRToYRow_C(const uint8* src_abgr, uint8* dst_y, int width);
- void RGBAToYRow_C(const uint8* src_rgba, uint8* dst_y, int width);
- void RGB24ToYRow_C(const uint8* src_rgb24, uint8* dst_y, int width);
- void RAWToYRow_C(const uint8* src_raw, uint8* dst_y, int width);
- void RGB565ToYRow_C(const uint8* src_rgb565, uint8* dst_y, int width);
- void ARGB1555ToYRow_C(const uint8* src_argb1555, uint8* dst_y, int width);
- void ARGB4444ToYRow_C(const uint8* src_argb4444, uint8* dst_y, int width);
- void ARGBToYRow_Any_SSSE3(const uint8* src_argb, uint8* dst_y, int width);
- void ARGBToYJRow_Any_SSSE3(const uint8* src_argb, uint8* dst_y, int width);
- void BGRAToYRow_Any_SSSE3(const uint8* src_bgra, uint8* dst_y, int width);
- void ABGRToYRow_Any_SSSE3(const uint8* src_abgr, uint8* dst_y, int width);
- void RGBAToYRow_Any_SSSE3(const uint8* src_rgba, uint8* dst_y, int width);
- void RGB24ToYRow_Any_SSSE3(const uint8* src_rgb24, uint8* dst_y, int width);
- void RAWToYRow_Any_SSSE3(const uint8* src_raw, uint8* dst_y, int width);
- void ARGBToYRow_Any_NEON(const uint8* src_argb, uint8* dst_y, int width);
- void ARGBToYJRow_Any_NEON(const uint8* src_argb, uint8* dst_y, int width);
- void BGRAToYRow_Any_NEON(const uint8* src_bgra, uint8* dst_y, int width);
- void ABGRToYRow_Any_NEON(const uint8* src_abgr, uint8* dst_y, int width);
- void RGBAToYRow_Any_NEON(const uint8* src_rgba, uint8* dst_y, int width);
- void RGB24ToYRow_Any_NEON(const uint8* src_rgb24, uint8* dst_y, int width);
- void RAWToYRow_Any_NEON(const uint8* src_raw, uint8* dst_y, int width);
- void RGB565ToYRow_Any_NEON(const uint8* src_rgb565, uint8* dst_y, int width);
- void ARGB1555ToYRow_Any_NEON(const uint8* src_argb1555,
- uint8* dst_y,
- int width);
- void BGRAToYRow_Any_DSPR2(const uint8* src_bgra, uint8* dst_y, int width);
- void ARGBToYRow_Any_DSPR2(const uint8* src_argb, uint8* dst_y, int width);
- void ABGRToYRow_Any_DSPR2(const uint8* src_abgr, uint8* dst_y, int width);
- void RGBAToYRow_Any_DSPR2(const uint8* src_rgba, uint8* dst_y, int width);
- void ARGB4444ToYRow_Any_NEON(const uint8* src_argb4444,
- uint8* dst_y,
- int width);
- void BGRAToYRow_Any_MSA(const uint8* src_bgra, uint8* dst_y, int width);
- void ABGRToYRow_Any_MSA(const uint8* src_abgr, uint8* dst_y, int width);
- void RGBAToYRow_Any_MSA(const uint8* src_rgba, uint8* dst_y, int width);
- void ARGBToYJRow_Any_MSA(const uint8* src_argb, uint8* dst_y, int width);
- void ARGBToYRow_Any_MSA(const uint8* src_argb, uint8* dst_y, int width);
- void RGB24ToYRow_Any_MSA(const uint8* src_rgb24, uint8* dst_y, int width);
- void RAWToYRow_Any_MSA(const uint8* src_raw, uint8* dst_y, int width);
- void RGB565ToYRow_Any_MSA(const uint8* src_rgb565, uint8* dst_y, int width);
- void ARGB1555ToYRow_Any_MSA(const uint8* src_argb1555, uint8* dst_y, int width);
- void ARGBToUVRow_AVX2(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVJRow_AVX2(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVRow_SSSE3(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVJRow_SSSE3(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void BGRAToUVRow_SSSE3(const uint8* src_bgra,
- int src_stride_bgra,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ABGRToUVRow_SSSE3(const uint8* src_abgr,
- int src_stride_abgr,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGBAToUVRow_SSSE3(const uint8* src_rgba,
- int src_stride_rgba,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVRow_Any_AVX2(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVJRow_Any_AVX2(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVRow_Any_SSSE3(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVJRow_Any_SSSE3(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void BGRAToUVRow_Any_SSSE3(const uint8* src_bgra,
- int src_stride_bgra,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ABGRToUVRow_Any_SSSE3(const uint8* src_abgr,
- int src_stride_abgr,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGBAToUVRow_Any_SSSE3(const uint8* src_rgba,
- int src_stride_rgba,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUV444Row_Any_NEON(const uint8* src_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVRow_Any_NEON(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUV444Row_Any_MSA(const uint8* src_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVRow_Any_MSA(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVJRow_Any_NEON(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void BGRAToUVRow_Any_NEON(const uint8* src_bgra,
- int src_stride_bgra,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ABGRToUVRow_Any_NEON(const uint8* src_abgr,
- int src_stride_abgr,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGBAToUVRow_Any_NEON(const uint8* src_rgba,
- int src_stride_rgba,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGB24ToUVRow_Any_NEON(const uint8* src_rgb24,
- int src_stride_rgb24,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RAWToUVRow_Any_NEON(const uint8* src_raw,
- int src_stride_raw,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGB565ToUVRow_Any_NEON(const uint8* src_rgb565,
- int src_stride_rgb565,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGB1555ToUVRow_Any_NEON(const uint8* src_argb1555,
- int src_stride_argb1555,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGB4444ToUVRow_Any_NEON(const uint8* src_argb4444,
- int src_stride_argb4444,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVJRow_Any_MSA(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void BGRAToUVRow_Any_MSA(const uint8* src_bgra,
- int src_stride_bgra,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ABGRToUVRow_Any_MSA(const uint8* src_abgr,
- int src_stride_abgr,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGBAToUVRow_Any_MSA(const uint8* src_rgba,
- int src_stride_rgba,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGB24ToUVRow_Any_MSA(const uint8* src_rgb24,
- int src_stride_rgb24,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RAWToUVRow_Any_MSA(const uint8* src_raw,
- int src_stride_raw,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGB565ToUVRow_Any_MSA(const uint8* src_rgb565,
- int src_stride_rgb565,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGB1555ToUVRow_Any_MSA(const uint8* src_argb1555,
- int src_stride_argb1555,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void BGRAToUVRow_Any_DSPR2(const uint8* src_bgra,
- int src_stride_bgra,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ABGRToUVRow_Any_DSPR2(const uint8* src_abgr,
- int src_stride_abgr,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGBAToUVRow_Any_DSPR2(const uint8* src_rgba,
- int src_stride_rgba,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVRow_Any_DSPR2(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVRow_C(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVJRow_C(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVRow_C(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUVJRow_C(const uint8* src_argb,
- int src_stride_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void BGRAToUVRow_C(const uint8* src_bgra,
- int src_stride_bgra,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ABGRToUVRow_C(const uint8* src_abgr,
- int src_stride_abgr,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGBAToUVRow_C(const uint8* src_rgba,
- int src_stride_rgba,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGB24ToUVRow_C(const uint8* src_rgb24,
- int src_stride_rgb24,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RAWToUVRow_C(const uint8* src_raw,
- int src_stride_raw,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void RGB565ToUVRow_C(const uint8* src_rgb565,
- int src_stride_rgb565,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGB1555ToUVRow_C(const uint8* src_argb1555,
- int src_stride_argb1555,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGB4444ToUVRow_C(const uint8* src_argb4444,
- int src_stride_argb4444,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUV444Row_SSSE3(const uint8* src_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUV444Row_Any_SSSE3(const uint8* src_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void ARGBToUV444Row_C(const uint8* src_argb,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void MirrorRow_AVX2(const uint8* src, uint8* dst, int width);
- void MirrorRow_SSSE3(const uint8* src, uint8* dst, int width);
- void MirrorRow_NEON(const uint8* src, uint8* dst, int width);
- void MirrorRow_DSPR2(const uint8* src, uint8* dst, int width);
- void MirrorRow_MSA(const uint8* src, uint8* dst, int width);
- void MirrorRow_C(const uint8* src, uint8* dst, int width);
- void MirrorRow_Any_AVX2(const uint8* src, uint8* dst, int width);
- void MirrorRow_Any_SSSE3(const uint8* src, uint8* dst, int width);
- void MirrorRow_Any_SSE2(const uint8* src, uint8* dst, int width);
- void MirrorRow_Any_NEON(const uint8* src, uint8* dst, int width);
- void MirrorRow_Any_MSA(const uint8* src, uint8* dst, int width);
- void MirrorUVRow_SSSE3(const uint8* src_uv,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void MirrorUVRow_NEON(const uint8* src_uv,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void MirrorUVRow_DSPR2(const uint8* src_uv,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void MirrorUVRow_MSA(const uint8* src_uv,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void MirrorUVRow_C(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int width);
- void ARGBMirrorRow_AVX2(const uint8* src, uint8* dst, int width);
- void ARGBMirrorRow_SSE2(const uint8* src, uint8* dst, int width);
- void ARGBMirrorRow_NEON(const uint8* src, uint8* dst, int width);
- void ARGBMirrorRow_MSA(const uint8* src, uint8* dst, int width);
- void ARGBMirrorRow_C(const uint8* src, uint8* dst, int width);
- void ARGBMirrorRow_Any_AVX2(const uint8* src, uint8* dst, int width);
- void ARGBMirrorRow_Any_SSE2(const uint8* src, uint8* dst, int width);
- void ARGBMirrorRow_Any_NEON(const uint8* src, uint8* dst, int width);
- void ARGBMirrorRow_Any_MSA(const uint8* src, uint8* dst, int width);
- void SplitUVRow_C(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int width);
- void SplitUVRow_SSE2(const uint8* src_uv,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void SplitUVRow_AVX2(const uint8* src_uv,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void SplitUVRow_NEON(const uint8* src_uv,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void SplitUVRow_DSPR2(const uint8* src_uv,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void SplitUVRow_MSA(const uint8* src_uv, uint8* dst_u, uint8* dst_v, int width);
- void SplitUVRow_Any_SSE2(const uint8* src_uv,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void SplitUVRow_Any_AVX2(const uint8* src_uv,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void SplitUVRow_Any_NEON(const uint8* src_uv,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void SplitUVRow_Any_DSPR2(const uint8* src_uv,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void SplitUVRow_Any_MSA(const uint8* src_uv,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void MergeUVRow_C(const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uv,
- int width);
- void MergeUVRow_SSE2(const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uv,
- int width);
- void MergeUVRow_AVX2(const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uv,
- int width);
- void MergeUVRow_NEON(const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uv,
- int width);
- void MergeUVRow_MSA(const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uv,
- int width);
- void MergeUVRow_Any_SSE2(const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uv,
- int width);
- void MergeUVRow_Any_AVX2(const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uv,
- int width);
- void MergeUVRow_Any_NEON(const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uv,
- int width);
- void MergeUVRow_Any_MSA(const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uv,
- int width);
- void SplitRGBRow_C(const uint8* src_rgb,
- uint8* dst_r,
- uint8* dst_g,
- uint8* dst_b,
- int width);
- void SplitRGBRow_SSSE3(const uint8* src_rgb,
- uint8* dst_r,
- uint8* dst_g,
- uint8* dst_b,
- int width);
- void SplitRGBRow_NEON(const uint8* src_rgb,
- uint8* dst_r,
- uint8* dst_g,
- uint8* dst_b,
- int width);
- void SplitRGBRow_Any_SSSE3(const uint8* src_rgb,
- uint8* dst_r,
- uint8* dst_g,
- uint8* dst_b,
- int width);
- void SplitRGBRow_Any_NEON(const uint8* src_rgb,
- uint8* dst_r,
- uint8* dst_g,
- uint8* dst_b,
- int width);
- void MergeRGBRow_C(const uint8* src_r,
- const uint8* src_g,
- const uint8* src_b,
- uint8* dst_rgb,
- int width);
- void MergeRGBRow_SSSE3(const uint8* src_r,
- const uint8* src_g,
- const uint8* src_b,
- uint8* dst_rgb,
- int width);
- void MergeRGBRow_NEON(const uint8* src_r,
- const uint8* src_g,
- const uint8* src_b,
- uint8* dst_rgb,
- int width);
- void MergeRGBRow_Any_SSSE3(const uint8* src_r,
- const uint8* src_g,
- const uint8* src_b,
- uint8* dst_rgb,
- int width);
- void MergeRGBRow_Any_NEON(const uint8* src_r,
- const uint8* src_g,
- const uint8* src_b,
- uint8* dst_rgb,
- int width);
- void MergeUVRow_16_C(const uint16* src_u,
- const uint16* src_v,
- uint16* dst_uv,
- int scale, /* 64 for 10 bit */
- int width);
- void MergeUVRow_16_AVX2(const uint16* src_u,
- const uint16* src_v,
- uint16* dst_uv,
- int scale,
- int width);
- void MultiplyRow_16_AVX2(const uint16* src_y,
- uint16* dst_y,
- int scale,
- int width);
- void MultiplyRow_16_C(const uint16* src_y, uint16* dst_y, int scale, int width);
- void CopyRow_SSE2(const uint8* src, uint8* dst, int count);
- void CopyRow_AVX(const uint8* src, uint8* dst, int count);
- void CopyRow_ERMS(const uint8* src, uint8* dst, int count);
- void CopyRow_NEON(const uint8* src, uint8* dst, int count);
- void CopyRow_MIPS(const uint8* src, uint8* dst, int count);
- void CopyRow_C(const uint8* src, uint8* dst, int count);
- void CopyRow_Any_SSE2(const uint8* src, uint8* dst, int count);
- void CopyRow_Any_AVX(const uint8* src, uint8* dst, int count);
- void CopyRow_Any_NEON(const uint8* src, uint8* dst, int count);
- void CopyRow_16_C(const uint16* src, uint16* dst, int count);
- void ARGBCopyAlphaRow_C(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGBCopyAlphaRow_SSE2(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGBCopyAlphaRow_AVX2(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGBCopyAlphaRow_Any_SSE2(const uint8* src_argb,
- uint8* dst_argb,
- int width);
- void ARGBCopyAlphaRow_Any_AVX2(const uint8* src_argb,
- uint8* dst_argb,
- int width);
- void ARGBExtractAlphaRow_C(const uint8* src_argb, uint8* dst_a, int width);
- void ARGBExtractAlphaRow_SSE2(const uint8* src_argb, uint8* dst_a, int width);
- void ARGBExtractAlphaRow_AVX2(const uint8* src_argb, uint8* dst_a, int width);
- void ARGBExtractAlphaRow_NEON(const uint8* src_argb, uint8* dst_a, int width);
- void ARGBExtractAlphaRow_MSA(const uint8* src_argb, uint8* dst_a, int width);
- void ARGBExtractAlphaRow_Any_SSE2(const uint8* src_argb,
- uint8* dst_a,
- int width);
- void ARGBExtractAlphaRow_Any_AVX2(const uint8* src_argb,
- uint8* dst_a,
- int width);
- void ARGBExtractAlphaRow_Any_NEON(const uint8* src_argb,
- uint8* dst_a,
- int width);
- void ARGBExtractAlphaRow_Any_MSA(const uint8* src_argb,
- uint8* dst_a,
- int width);
- void ARGBCopyYToAlphaRow_C(const uint8* src_y, uint8* dst_argb, int width);
- void ARGBCopyYToAlphaRow_SSE2(const uint8* src_y, uint8* dst_argb, int width);
- void ARGBCopyYToAlphaRow_AVX2(const uint8* src_y, uint8* dst_argb, int width);
- void ARGBCopyYToAlphaRow_Any_SSE2(const uint8* src_y,
- uint8* dst_argb,
- int width);
- void ARGBCopyYToAlphaRow_Any_AVX2(const uint8* src_y,
- uint8* dst_argb,
- int width);
- void SetRow_C(uint8* dst, uint8 v8, int count);
- void SetRow_MSA(uint8* dst, uint8 v8, int count);
- void SetRow_X86(uint8* dst, uint8 v8, int count);
- void SetRow_ERMS(uint8* dst, uint8 v8, int count);
- void SetRow_NEON(uint8* dst, uint8 v8, int count);
- void SetRow_Any_X86(uint8* dst, uint8 v8, int count);
- void SetRow_Any_NEON(uint8* dst, uint8 v8, int count);
- void ARGBSetRow_C(uint8* dst_argb, uint32 v32, int count);
- void ARGBSetRow_X86(uint8* dst_argb, uint32 v32, int count);
- void ARGBSetRow_NEON(uint8* dst_argb, uint32 v32, int count);
- void ARGBSetRow_Any_NEON(uint8* dst_argb, uint32 v32, int count);
- void ARGBSetRow_MSA(uint8* dst_argb, uint32 v32, int count);
- void ARGBSetRow_Any_MSA(uint8* dst_argb, uint32 v32, int count);
- // ARGBShufflers for BGRAToARGB etc.
- void ARGBShuffleRow_C(const uint8* src_argb,
- uint8* dst_argb,
- const uint8* shuffler,
- int width);
- void ARGBShuffleRow_SSE2(const uint8* src_argb,
- uint8* dst_argb,
- const uint8* shuffler,
- int width);
- void ARGBShuffleRow_SSSE3(const uint8* src_argb,
- uint8* dst_argb,
- const uint8* shuffler,
- int width);
- void ARGBShuffleRow_AVX2(const uint8* src_argb,
- uint8* dst_argb,
- const uint8* shuffler,
- int width);
- void ARGBShuffleRow_NEON(const uint8* src_argb,
- uint8* dst_argb,
- const uint8* shuffler,
- int width);
- void ARGBShuffleRow_MSA(const uint8* src_argb,
- uint8* dst_argb,
- const uint8* shuffler,
- int width);
- void ARGBShuffleRow_Any_SSE2(const uint8* src_argb,
- uint8* dst_argb,
- const uint8* shuffler,
- int width);
- void ARGBShuffleRow_Any_SSSE3(const uint8* src_argb,
- uint8* dst_argb,
- const uint8* shuffler,
- int width);
- void ARGBShuffleRow_Any_AVX2(const uint8* src_argb,
- uint8* dst_argb,
- const uint8* shuffler,
- int width);
- void ARGBShuffleRow_Any_NEON(const uint8* src_argb,
- uint8* dst_argb,
- const uint8* shuffler,
- int width);
- void ARGBShuffleRow_Any_MSA(const uint8* src_argb,
- uint8* dst_argb,
- const uint8* shuffler,
- int width);
- void RGB24ToARGBRow_SSSE3(const uint8* src_rgb24, uint8* dst_argb, int width);
- void RAWToARGBRow_SSSE3(const uint8* src_raw, uint8* dst_argb, int width);
- void RAWToRGB24Row_SSSE3(const uint8* src_raw, uint8* dst_rgb24, int width);
- void RGB565ToARGBRow_SSE2(const uint8* src_rgb565, uint8* dst_argb, int width);
- void ARGB1555ToARGBRow_SSE2(const uint8* src_argb1555,
- uint8* dst_argb,
- int width);
- void ARGB4444ToARGBRow_SSE2(const uint8* src_argb4444,
- uint8* dst_argb,
- int width);
- void RGB565ToARGBRow_AVX2(const uint8* src_rgb565, uint8* dst_argb, int width);
- void ARGB1555ToARGBRow_AVX2(const uint8* src_argb1555,
- uint8* dst_argb,
- int width);
- void ARGB4444ToARGBRow_AVX2(const uint8* src_argb4444,
- uint8* dst_argb,
- int width);
- void RGB24ToARGBRow_NEON(const uint8* src_rgb24, uint8* dst_argb, int width);
- void RGB24ToARGBRow_MSA(const uint8* src_rgb24, uint8* dst_argb, int width);
- void RAWToARGBRow_NEON(const uint8* src_raw, uint8* dst_argb, int width);
- void RAWToARGBRow_MSA(const uint8* src_raw, uint8* dst_argb, int width);
- void RAWToRGB24Row_NEON(const uint8* src_raw, uint8* dst_rgb24, int width);
- void RAWToRGB24Row_MSA(const uint8* src_raw, uint8* dst_rgb24, int width);
- void RGB565ToARGBRow_NEON(const uint8* src_rgb565, uint8* dst_argb, int width);
- void RGB565ToARGBRow_MSA(const uint8* src_rgb565, uint8* dst_argb, int width);
- void ARGB1555ToARGBRow_NEON(const uint8* src_argb1555,
- uint8* dst_argb,
- int width);
- void ARGB1555ToARGBRow_MSA(const uint8* src_argb1555,
- uint8* dst_argb,
- int width);
- void ARGB4444ToARGBRow_NEON(const uint8* src_argb4444,
- uint8* dst_argb,
- int width);
- void RGB24ToARGBRow_DSPR2(const uint8* src_rgb24, uint8* dst_argb, int width);
- void RAWToARGBRow_DSPR2(const uint8* src_raw, uint8* dst_argb, int width);
- void RGB565ToARGBRow_DSPR2(const uint8* src_rgb565, uint8* dst_argb, int width);
- void ARGB1555ToARGBRow_DSPR2(const uint8* src_argb1555,
- uint8* dst_argb,
- int width);
- void ARGB4444ToARGBRow_DSPR2(const uint8* src_argb4444,
- uint8* dst_argb,
- int width);
- void ARGB4444ToARGBRow_MSA(const uint8* src_argb4444,
- uint8* dst_argb,
- int width);
- void RGB24ToARGBRow_C(const uint8* src_rgb24, uint8* dst_argb, int width);
- void RAWToARGBRow_C(const uint8* src_raw, uint8* dst_argb, int width);
- void RAWToRGB24Row_C(const uint8* src_raw, uint8* dst_rgb24, int width);
- void RGB565ToARGBRow_C(const uint8* src_rgb, uint8* dst_argb, int width);
- void ARGB1555ToARGBRow_C(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGB4444ToARGBRow_C(const uint8* src_argb, uint8* dst_argb, int width);
- void RGB24ToARGBRow_Any_SSSE3(const uint8* src_rgb24,
- uint8* dst_argb,
- int width);
- void RAWToARGBRow_Any_SSSE3(const uint8* src_raw, uint8* dst_argb, int width);
- void RAWToRGB24Row_Any_SSSE3(const uint8* src_raw, uint8* dst_rgb24, int width);
- void RGB565ToARGBRow_Any_SSE2(const uint8* src_rgb565,
- uint8* dst_argb,
- int width);
- void ARGB1555ToARGBRow_Any_SSE2(const uint8* src_argb1555,
- uint8* dst_argb,
- int width);
- void ARGB4444ToARGBRow_Any_SSE2(const uint8* src_argb4444,
- uint8* dst_argb,
- int width);
- void RGB565ToARGBRow_Any_AVX2(const uint8* src_rgb565,
- uint8* dst_argb,
- int width);
- void ARGB1555ToARGBRow_Any_AVX2(const uint8* src_argb1555,
- uint8* dst_argb,
- int width);
- void ARGB4444ToARGBRow_Any_AVX2(const uint8* src_argb4444,
- uint8* dst_argb,
- int width);
- void RGB24ToARGBRow_Any_NEON(const uint8* src_rgb24,
- uint8* dst_argb,
- int width);
- void RGB24ToARGBRow_Any_MSA(const uint8* src_rgb24, uint8* dst_argb, int width);
- void RAWToARGBRow_Any_NEON(const uint8* src_raw, uint8* dst_argb, int width);
- void RAWToARGBRow_Any_MSA(const uint8* src_raw, uint8* dst_argb, int width);
- void RAWToRGB24Row_Any_NEON(const uint8* src_raw, uint8* dst_rgb24, int width);
- void RAWToRGB24Row_Any_MSA(const uint8* src_raw, uint8* dst_rgb24, int width);
- void RGB565ToARGBRow_Any_NEON(const uint8* src_rgb565,
- uint8* dst_argb,
- int width);
- void RGB565ToARGBRow_Any_MSA(const uint8* src_rgb565,
- uint8* dst_argb,
- int width);
- void ARGB1555ToARGBRow_Any_NEON(const uint8* src_argb1555,
- uint8* dst_argb,
- int width);
- void ARGB1555ToARGBRow_Any_MSA(const uint8* src_argb1555,
- uint8* dst_argb,
- int width);
- void ARGB4444ToARGBRow_Any_NEON(const uint8* src_argb4444,
- uint8* dst_argb,
- int width);
- void RGB24ToARGBRow_Any_DSPR2(const uint8* src_rgb24,
- uint8* dst_argb,
- int width);
- void RAWToARGBRow_Any_DSPR2(const uint8* src_raw, uint8* dst_argb, int width);
- void RGB565ToARGBRow_Any_DSPR2(const uint8* src_rgb565,
- uint8* dst_argb,
- int width);
- void ARGB1555ToARGBRow_Any_DSPR2(const uint8* src_argb1555,
- uint8* dst_argb,
- int width);
- void ARGB4444ToARGBRow_Any_DSPR2(const uint8* src_argb4444,
- uint8* dst_argb,
- int width);
- void ARGB4444ToARGBRow_Any_MSA(const uint8* src_argb4444,
- uint8* dst_argb,
- int width);
- void ARGBToRGB24Row_SSSE3(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRAWRow_SSSE3(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRGB565Row_SSE2(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToARGB1555Row_SSE2(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToARGB4444Row_SSE2(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRGB565DitherRow_C(const uint8* src_argb,
- uint8* dst_rgb,
- const uint32 dither4,
- int width);
- void ARGBToRGB565DitherRow_SSE2(const uint8* src_argb,
- uint8* dst_rgb,
- const uint32 dither4,
- int width);
- void ARGBToRGB565DitherRow_AVX2(const uint8* src_argb,
- uint8* dst_rgb,
- const uint32 dither4,
- int width);
- void ARGBToRGB565Row_AVX2(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToARGB1555Row_AVX2(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToARGB4444Row_AVX2(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRGB24Row_NEON(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRAWRow_NEON(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRGB565Row_NEON(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToARGB1555Row_NEON(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToARGB4444Row_NEON(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRGB565DitherRow_NEON(const uint8* src_argb,
- uint8* dst_rgb,
- const uint32 dither4,
- int width);
- void ARGBToRGB24Row_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRAWRow_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRGB565Row_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToARGB1555Row_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToARGB4444Row_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRGB565DitherRow_MSA(const uint8* src_argb,
- uint8* dst_rgb,
- const uint32 dither4,
- int width);
- void ARGBToRGBARow_C(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRGB24Row_C(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRAWRow_C(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRGB565Row_C(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToARGB1555Row_C(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToARGB4444Row_C(const uint8* src_argb, uint8* dst_rgb, int width);
- void J400ToARGBRow_SSE2(const uint8* src_y, uint8* dst_argb, int width);
- void J400ToARGBRow_AVX2(const uint8* src_y, uint8* dst_argb, int width);
- void J400ToARGBRow_NEON(const uint8* src_y, uint8* dst_argb, int width);
- void J400ToARGBRow_MSA(const uint8* src_y, uint8* dst_argb, int width);
- void J400ToARGBRow_C(const uint8* src_y, uint8* dst_argb, int width);
- void J400ToARGBRow_Any_SSE2(const uint8* src_y, uint8* dst_argb, int width);
- void J400ToARGBRow_Any_AVX2(const uint8* src_y, uint8* dst_argb, int width);
- void J400ToARGBRow_Any_NEON(const uint8* src_y, uint8* dst_argb, int width);
- void J400ToARGBRow_Any_MSA(const uint8* src_y, uint8* dst_argb, int width);
- void I444ToARGBRow_C(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_C(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_C(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_C(const uint8* y_buf,
- const uint8* u_buf,
- const uint8* v_buf,
- const uint8* a_buf,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_C(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_C(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_C(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_C(const uint8* src_yuy2,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_C(const uint8* src_uyvy,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_C(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgba,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_C(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_C(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb4444,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_C(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb4444,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_C(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_SSSE3(const uint8* y_buf,
- const uint8* u_buf,
- const uint8* v_buf,
- const uint8* a_buf,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_AVX2(const uint8* y_buf,
- const uint8* u_buf,
- const uint8* v_buf,
- const uint8* a_buf,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_SSSE3(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_AVX2(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_SSSE3(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_AVX2(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_SSSE3(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_AVX2(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_SSSE3(const uint8* src_yuy2,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_SSSE3(const uint8* src_uyvy,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_AVX2(const uint8* src_yuy2,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_AVX2(const uint8* src_uyvy,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgba,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_Any_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_Any_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_Any_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_Any_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_Any_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_Any_SSSE3(const uint8* y_buf,
- const uint8* u_buf,
- const uint8* v_buf,
- const uint8* a_buf,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_Any_AVX2(const uint8* y_buf,
- const uint8* u_buf,
- const uint8* v_buf,
- const uint8* a_buf,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_Any_SSSE3(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_Any_AVX2(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_Any_SSSE3(const uint8* src_y,
- const uint8* src_vu,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_Any_AVX2(const uint8* src_y,
- const uint8* src_vu,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_Any_SSSE3(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_Any_AVX2(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_Any_SSSE3(const uint8* src_yuy2,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_Any_SSSE3(const uint8* src_uyvy,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_Any_AVX2(const uint8* src_yuy2,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_Any_AVX2(const uint8* src_uyvy,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_Any_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgba,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_Any_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgba,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_Any_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgba,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_Any_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgba,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_Any_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgba,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_Any_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgba,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_Any_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgba,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_Any_SSSE3(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_Any_AVX2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I400ToARGBRow_C(const uint8* src_y, uint8* dst_argb, int width);
- void I400ToARGBRow_SSE2(const uint8* src_y, uint8* dst_argb, int width);
- void I400ToARGBRow_AVX2(const uint8* src_y, uint8* dst_argb, int width);
- void I400ToARGBRow_NEON(const uint8* src_y, uint8* dst_argb, int width);
- void I400ToARGBRow_MSA(const uint8* src_y, uint8* dst_argb, int width);
- void I400ToARGBRow_Any_SSE2(const uint8* src_y, uint8* dst_argb, int width);
- void I400ToARGBRow_Any_AVX2(const uint8* src_y, uint8* dst_argb, int width);
- void I400ToARGBRow_Any_NEON(const uint8* src_y, uint8* dst_argb, int width);
- void I400ToARGBRow_Any_MSA(const uint8* src_y, uint8* dst_argb, int width);
- // ARGB preattenuated alpha blend.
- void ARGBBlendRow_SSSE3(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBBlendRow_NEON(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBBlendRow_MSA(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBBlendRow_C(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- // Unattenuated planar alpha blend.
- void BlendPlaneRow_SSSE3(const uint8* src0,
- const uint8* src1,
- const uint8* alpha,
- uint8* dst,
- int width);
- void BlendPlaneRow_Any_SSSE3(const uint8* src0,
- const uint8* src1,
- const uint8* alpha,
- uint8* dst,
- int width);
- void BlendPlaneRow_AVX2(const uint8* src0,
- const uint8* src1,
- const uint8* alpha,
- uint8* dst,
- int width);
- void BlendPlaneRow_Any_AVX2(const uint8* src0,
- const uint8* src1,
- const uint8* alpha,
- uint8* dst,
- int width);
- void BlendPlaneRow_C(const uint8* src0,
- const uint8* src1,
- const uint8* alpha,
- uint8* dst,
- int width);
- // ARGB multiply images. Same API as Blend, but these require
- // pointer and width alignment for SSE2.
- void ARGBMultiplyRow_C(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBMultiplyRow_SSE2(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBMultiplyRow_Any_SSE2(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBMultiplyRow_AVX2(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBMultiplyRow_Any_AVX2(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBMultiplyRow_NEON(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBMultiplyRow_Any_NEON(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBMultiplyRow_MSA(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBMultiplyRow_Any_MSA(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- // ARGB add images.
- void ARGBAddRow_C(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBAddRow_SSE2(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBAddRow_Any_SSE2(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBAddRow_AVX2(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBAddRow_Any_AVX2(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBAddRow_NEON(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBAddRow_Any_NEON(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBAddRow_MSA(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBAddRow_Any_MSA(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- // ARGB subtract images. Same API as Blend, but these require
- // pointer and width alignment for SSE2.
- void ARGBSubtractRow_C(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBSubtractRow_SSE2(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBSubtractRow_Any_SSE2(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBSubtractRow_AVX2(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBSubtractRow_Any_AVX2(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBSubtractRow_NEON(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBSubtractRow_Any_NEON(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBSubtractRow_MSA(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBSubtractRow_Any_MSA(const uint8* src_argb,
- const uint8* src_argb1,
- uint8* dst_argb,
- int width);
- void ARGBToRGB24Row_Any_SSSE3(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRAWRow_Any_SSSE3(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRGB565Row_Any_SSE2(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToARGB1555Row_Any_SSE2(const uint8* src_argb,
- uint8* dst_rgb,
- int width);
- void ARGBToARGB4444Row_Any_SSE2(const uint8* src_argb,
- uint8* dst_rgb,
- int width);
- void ARGBToRGB565DitherRow_Any_SSE2(const uint8* src_argb,
- uint8* dst_rgb,
- const uint32 dither4,
- int width);
- void ARGBToRGB565DitherRow_Any_AVX2(const uint8* src_argb,
- uint8* dst_rgb,
- const uint32 dither4,
- int width);
- void ARGBToRGB565Row_Any_AVX2(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToARGB1555Row_Any_AVX2(const uint8* src_argb,
- uint8* dst_rgb,
- int width);
- void ARGBToARGB4444Row_Any_AVX2(const uint8* src_argb,
- uint8* dst_rgb,
- int width);
- void ARGBToRGB24Row_Any_NEON(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRAWRow_Any_NEON(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRGB565Row_Any_NEON(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToARGB1555Row_Any_NEON(const uint8* src_argb,
- uint8* dst_rgb,
- int width);
- void ARGBToARGB4444Row_Any_NEON(const uint8* src_argb,
- uint8* dst_rgb,
- int width);
- void ARGBToRGB565DitherRow_Any_NEON(const uint8* src_argb,
- uint8* dst_rgb,
- const uint32 dither4,
- int width);
- void ARGBToRGB24Row_Any_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRAWRow_Any_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToRGB565Row_Any_MSA(const uint8* src_argb, uint8* dst_rgb, int width);
- void ARGBToARGB1555Row_Any_MSA(const uint8* src_argb,
- uint8* dst_rgb,
- int width);
- void ARGBToARGB4444Row_Any_MSA(const uint8* src_argb,
- uint8* dst_rgb,
- int width);
- void ARGBToRGB565DitherRow_Any_MSA(const uint8* src_argb,
- uint8* dst_rgb,
- const uint32 dither4,
- int width);
- void I444ToARGBRow_Any_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_Any_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_Any_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- const uint8* src_a,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_Any_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_Any_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_Any_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_Any_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_Any_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_Any_NEON(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_Any_NEON(const uint8* src_y,
- const uint8* src_vu,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_Any_NEON(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_Any_NEON(const uint8* src_yuy2,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_Any_NEON(const uint8* src_uyvy,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_Any_DSPR2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_Any_DSPR2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_Any_DSPR2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_DSPR2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_Any_DSPR2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I411ToARGBRow_Any_DSPR2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_Any_DSPR2(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_DSPR2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I444ToARGBRow_Any_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGBRow_Any_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGBARow_Any_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422AlphaToARGBRow_Any_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- const uint8* src_a,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB24Row_Any_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgb24,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToRGB565Row_Any_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_rgb565,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB4444Row_Any_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb4444,
- const struct YuvConstants* yuvconstants,
- int width);
- void I422ToARGB1555Row_Any_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_argb1555,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToARGBRow_Any_MSA(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV12ToRGB565Row_Any_MSA(const uint8* src_y,
- const uint8* src_uv,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void NV21ToARGBRow_Any_MSA(const uint8* src_y,
- const uint8* src_vu,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToARGBRow_Any_MSA(const uint8* src_yuy2,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void UYVYToARGBRow_Any_MSA(const uint8* src_uyvy,
- uint8* dst_argb,
- const struct YuvConstants* yuvconstants,
- int width);
- void YUY2ToYRow_AVX2(const uint8* src_yuy2, uint8* dst_y, int width);
- void YUY2ToUVRow_AVX2(const uint8* src_yuy2,
- int stride_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToUV422Row_AVX2(const uint8* src_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToYRow_SSE2(const uint8* src_yuy2, uint8* dst_y, int width);
- void YUY2ToUVRow_SSE2(const uint8* src_yuy2,
- int stride_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToUV422Row_SSE2(const uint8* src_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToYRow_NEON(const uint8* src_yuy2, uint8* dst_y, int width);
- void YUY2ToUVRow_NEON(const uint8* src_yuy2,
- int stride_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToUV422Row_NEON(const uint8* src_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToYRow_MSA(const uint8* src_yuy2, uint8* dst_y, int width);
- void YUY2ToUVRow_MSA(const uint8* src_yuy2,
- int stride_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToUV422Row_MSA(const uint8* src_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToYRow_C(const uint8* src_yuy2, uint8* dst_y, int width);
- void YUY2ToUVRow_C(const uint8* src_yuy2,
- int stride_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToUV422Row_C(const uint8* src_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToYRow_Any_AVX2(const uint8* src_yuy2, uint8* dst_y, int width);
- void YUY2ToUVRow_Any_AVX2(const uint8* src_yuy2,
- int stride_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToUV422Row_Any_AVX2(const uint8* src_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToYRow_Any_SSE2(const uint8* src_yuy2, uint8* dst_y, int width);
- void YUY2ToUVRow_Any_SSE2(const uint8* src_yuy2,
- int stride_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToUV422Row_Any_SSE2(const uint8* src_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToYRow_Any_NEON(const uint8* src_yuy2, uint8* dst_y, int width);
- void YUY2ToUVRow_Any_NEON(const uint8* src_yuy2,
- int stride_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToUV422Row_Any_NEON(const uint8* src_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToYRow_Any_MSA(const uint8* src_yuy2, uint8* dst_y, int width);
- void YUY2ToUVRow_Any_MSA(const uint8* src_yuy2,
- int stride_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void YUY2ToUV422Row_Any_MSA(const uint8* src_yuy2,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToYRow_AVX2(const uint8* src_uyvy, uint8* dst_y, int width);
- void UYVYToUVRow_AVX2(const uint8* src_uyvy,
- int stride_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToUV422Row_AVX2(const uint8* src_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToYRow_SSE2(const uint8* src_uyvy, uint8* dst_y, int width);
- void UYVYToUVRow_SSE2(const uint8* src_uyvy,
- int stride_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToUV422Row_SSE2(const uint8* src_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToYRow_AVX2(const uint8* src_uyvy, uint8* dst_y, int width);
- void UYVYToUVRow_AVX2(const uint8* src_uyvy,
- int stride_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToUV422Row_AVX2(const uint8* src_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToYRow_NEON(const uint8* src_uyvy, uint8* dst_y, int width);
- void UYVYToUVRow_NEON(const uint8* src_uyvy,
- int stride_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToUV422Row_NEON(const uint8* src_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToYRow_MSA(const uint8* src_uyvy, uint8* dst_y, int width);
- void UYVYToUVRow_MSA(const uint8* src_uyvy,
- int stride_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToUV422Row_MSA(const uint8* src_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToYRow_C(const uint8* src_uyvy, uint8* dst_y, int width);
- void UYVYToUVRow_C(const uint8* src_uyvy,
- int stride_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToUV422Row_C(const uint8* src_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToYRow_Any_AVX2(const uint8* src_uyvy, uint8* dst_y, int width);
- void UYVYToUVRow_Any_AVX2(const uint8* src_uyvy,
- int stride_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToUV422Row_Any_AVX2(const uint8* src_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToYRow_Any_SSE2(const uint8* src_uyvy, uint8* dst_y, int width);
- void UYVYToUVRow_Any_SSE2(const uint8* src_uyvy,
- int stride_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToUV422Row_Any_SSE2(const uint8* src_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToYRow_Any_NEON(const uint8* src_uyvy, uint8* dst_y, int width);
- void UYVYToUVRow_Any_NEON(const uint8* src_uyvy,
- int stride_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToUV422Row_Any_NEON(const uint8* src_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToYRow_Any_MSA(const uint8* src_uyvy, uint8* dst_y, int width);
- void UYVYToUVRow_Any_MSA(const uint8* src_uyvy,
- int stride_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void UYVYToUV422Row_Any_MSA(const uint8* src_uyvy,
- uint8* dst_u,
- uint8* dst_v,
- int width);
- void I422ToYUY2Row_C(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_yuy2,
- int width);
- void I422ToUYVYRow_C(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uyvy,
- int width);
- void I422ToYUY2Row_SSE2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_yuy2,
- int width);
- void I422ToUYVYRow_SSE2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uyvy,
- int width);
- void I422ToYUY2Row_Any_SSE2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_yuy2,
- int width);
- void I422ToUYVYRow_Any_SSE2(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uyvy,
- int width);
- void I422ToYUY2Row_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_yuy2,
- int width);
- void I422ToUYVYRow_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uyvy,
- int width);
- void I422ToYUY2Row_Any_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_yuy2,
- int width);
- void I422ToUYVYRow_Any_NEON(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uyvy,
- int width);
- void I422ToYUY2Row_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_yuy2,
- int width);
- void I422ToUYVYRow_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uyvy,
- int width);
- void I422ToYUY2Row_Any_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_yuy2,
- int width);
- void I422ToUYVYRow_Any_MSA(const uint8* src_y,
- const uint8* src_u,
- const uint8* src_v,
- uint8* dst_uyvy,
- int width);
- // Effects related row functions.
- void ARGBAttenuateRow_C(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGBAttenuateRow_SSSE3(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGBAttenuateRow_AVX2(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGBAttenuateRow_NEON(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGBAttenuateRow_MSA(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGBAttenuateRow_Any_SSE2(const uint8* src_argb,
- uint8* dst_argb,
- int width);
- void ARGBAttenuateRow_Any_SSSE3(const uint8* src_argb,
- uint8* dst_argb,
- int width);
- void ARGBAttenuateRow_Any_AVX2(const uint8* src_argb,
- uint8* dst_argb,
- int width);
- void ARGBAttenuateRow_Any_NEON(const uint8* src_argb,
- uint8* dst_argb,
- int width);
- void ARGBAttenuateRow_Any_MSA(const uint8* src_argb,
- uint8* dst_argb,
- int width);
- // Inverse table for unattenuate, shared by C and SSE2.
- extern const uint32 fixed_invtbl8[256];
- void ARGBUnattenuateRow_C(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGBUnattenuateRow_SSE2(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGBUnattenuateRow_AVX2(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGBUnattenuateRow_Any_SSE2(const uint8* src_argb,
- uint8* dst_argb,
- int width);
- void ARGBUnattenuateRow_Any_AVX2(const uint8* src_argb,
- uint8* dst_argb,
- int width);
- void ARGBGrayRow_C(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGBGrayRow_SSSE3(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGBGrayRow_NEON(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGBGrayRow_MSA(const uint8* src_argb, uint8* dst_argb, int width);
- void ARGBSepiaRow_C(uint8* dst_argb, int width);
- void ARGBSepiaRow_SSSE3(uint8* dst_argb, int width);
- void ARGBSepiaRow_NEON(uint8* dst_argb, int width);
- void ARGBSepiaRow_MSA(uint8* dst_argb, int width);
- void ARGBColorMatrixRow_C(const uint8* src_argb,
- uint8* dst_argb,
- const int8* matrix_argb,
- int width);
- void ARGBColorMatrixRow_SSSE3(const uint8* src_argb,
- uint8* dst_argb,
- const int8* matrix_argb,
- int width);
- void ARGBColorMatrixRow_NEON(const uint8* src_argb,
- uint8* dst_argb,
- const int8* matrix_argb,
- int width);
- void ARGBColorMatrixRow_MSA(const uint8* src_argb,
- uint8* dst_argb,
- const int8* matrix_argb,
- int width);
- void ARGBColorTableRow_C(uint8* dst_argb, const uint8* table_argb, int width);
- void ARGBColorTableRow_X86(uint8* dst_argb, const uint8* table_argb, int width);
- void RGBColorTableRow_C(uint8* dst_argb, const uint8* table_argb, int width);
- void RGBColorTableRow_X86(uint8* dst_argb, const uint8* table_argb, int width);
- void ARGBQuantizeRow_C(uint8* dst_argb,
- int scale,
- int interval_size,
- int interval_offset,
- int width);
- void ARGBQuantizeRow_SSE2(uint8* dst_argb,
- int scale,
- int interval_size,
- int interval_offset,
- int width);
- void ARGBQuantizeRow_NEON(uint8* dst_argb,
- int scale,
- int interval_size,
- int interval_offset,
- int width);
- void ARGBQuantizeRow_MSA(uint8* dst_argb,
- int scale,
- int interval_size,
- int interval_offset,
- int width);
- void ARGBShadeRow_C(const uint8* src_argb,
- uint8* dst_argb,
- int width,
- uint32 value);
- void ARGBShadeRow_SSE2(const uint8* src_argb,
- uint8* dst_argb,
- int width,
- uint32 value);
- void ARGBShadeRow_NEON(const uint8* src_argb,
- uint8* dst_argb,
- int width,
- uint32 value);
- void ARGBShadeRow_MSA(const uint8* src_argb,
- uint8* dst_argb,
- int width,
- uint32 value);
- // Used for blur.
- void CumulativeSumToAverageRow_SSE2(const int32* topleft,
- const int32* botleft,
- int width,
- int area,
- uint8* dst,
- int count);
- void ComputeCumulativeSumRow_SSE2(const uint8* row,
- int32* cumsum,
- const int32* previous_cumsum,
- int width);
- void CumulativeSumToAverageRow_C(const int32* topleft,
- const int32* botleft,
- int width,
- int area,
- uint8* dst,
- int count);
- void ComputeCumulativeSumRow_C(const uint8* row,
- int32* cumsum,
- const int32* previous_cumsum,
- int width);
- LIBYUV_API
- void ARGBAffineRow_C(const uint8* src_argb,
- int src_argb_stride,
- uint8* dst_argb,
- const float* uv_dudv,
- int width);
- LIBYUV_API
- void ARGBAffineRow_SSE2(const uint8* src_argb,
- int src_argb_stride,
- uint8* dst_argb,
- const float* uv_dudv,
- int width);
- // Used for I420Scale, ARGBScale, and ARGBInterpolate.
- void InterpolateRow_C(uint8* dst_ptr,
- const uint8* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_SSSE3(uint8* dst_ptr,
- const uint8* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_AVX2(uint8* dst_ptr,
- const uint8* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_NEON(uint8* dst_ptr,
- const uint8* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_DSPR2(uint8* dst_ptr,
- const uint8* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_MSA(uint8* dst_ptr,
- const uint8* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_Any_NEON(uint8* dst_ptr,
- const uint8* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_Any_SSSE3(uint8* dst_ptr,
- const uint8* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_Any_AVX2(uint8* dst_ptr,
- const uint8* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_Any_DSPR2(uint8* dst_ptr,
- const uint8* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_Any_MSA(uint8* dst_ptr,
- const uint8* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- void InterpolateRow_16_C(uint16* dst_ptr,
- const uint16* src_ptr,
- ptrdiff_t src_stride_ptr,
- int width,
- int source_y_fraction);
- // Sobel images.
- void SobelXRow_C(const uint8* src_y0,
- const uint8* src_y1,
- const uint8* src_y2,
- uint8* dst_sobelx,
- int width);
- void SobelXRow_SSE2(const uint8* src_y0,
- const uint8* src_y1,
- const uint8* src_y2,
- uint8* dst_sobelx,
- int width);
- void SobelXRow_NEON(const uint8* src_y0,
- const uint8* src_y1,
- const uint8* src_y2,
- uint8* dst_sobelx,
- int width);
- void SobelXRow_MSA(const uint8* src_y0,
- const uint8* src_y1,
- const uint8* src_y2,
- uint8* dst_sobelx,
- int width);
- void SobelYRow_C(const uint8* src_y0,
- const uint8* src_y1,
- uint8* dst_sobely,
- int width);
- void SobelYRow_SSE2(const uint8* src_y0,
- const uint8* src_y1,
- uint8* dst_sobely,
- int width);
- void SobelYRow_NEON(const uint8* src_y0,
- const uint8* src_y1,
- uint8* dst_sobely,
- int width);
- void SobelYRow_MSA(const uint8* src_y0,
- const uint8* src_y1,
- uint8* dst_sobely,
- int width);
- void SobelRow_C(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_argb,
- int width);
- void SobelRow_SSE2(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_argb,
- int width);
- void SobelRow_NEON(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_argb,
- int width);
- void SobelRow_MSA(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_argb,
- int width);
- void SobelToPlaneRow_C(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_y,
- int width);
- void SobelToPlaneRow_SSE2(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_y,
- int width);
- void SobelToPlaneRow_NEON(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_y,
- int width);
- void SobelToPlaneRow_MSA(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_y,
- int width);
- void SobelXYRow_C(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_argb,
- int width);
- void SobelXYRow_SSE2(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_argb,
- int width);
- void SobelXYRow_NEON(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_argb,
- int width);
- void SobelXYRow_MSA(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_argb,
- int width);
- void SobelRow_Any_SSE2(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_argb,
- int width);
- void SobelRow_Any_NEON(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_argb,
- int width);
- void SobelRow_Any_MSA(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_argb,
- int width);
- void SobelToPlaneRow_Any_SSE2(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_y,
- int width);
- void SobelToPlaneRow_Any_NEON(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_y,
- int width);
- void SobelToPlaneRow_Any_MSA(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_y,
- int width);
- void SobelXYRow_Any_SSE2(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_argb,
- int width);
- void SobelXYRow_Any_NEON(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_argb,
- int width);
- void SobelXYRow_Any_MSA(const uint8* src_sobelx,
- const uint8* src_sobely,
- uint8* dst_argb,
- int width);
- void ARGBPolynomialRow_C(const uint8* src_argb,
- uint8* dst_argb,
- const float* poly,
- int width);
- void ARGBPolynomialRow_SSE2(const uint8* src_argb,
- uint8* dst_argb,
- const float* poly,
- int width);
- void ARGBPolynomialRow_AVX2(const uint8* src_argb,
- uint8* dst_argb,
- const float* poly,
- int width);
- // Scale and convert to half float.
- void HalfFloatRow_C(const uint16* src, uint16* dst, float scale, int width);
- void HalfFloatRow_SSE2(const uint16* src, uint16* dst, float scale, int width);
- void HalfFloatRow_Any_SSE2(const uint16* src,
- uint16* dst,
- float scale,
- int width);
- void HalfFloatRow_AVX2(const uint16* src, uint16* dst, float scale, int width);
- void HalfFloatRow_Any_AVX2(const uint16* src,
- uint16* dst,
- float scale,
- int width);
- void HalfFloatRow_F16C(const uint16* src, uint16* dst, float scale, int width);
- void HalfFloatRow_Any_F16C(const uint16* src,
- uint16* dst,
- float scale,
- int width);
- void HalfFloat1Row_F16C(const uint16* src, uint16* dst, float scale, int width);
- void HalfFloat1Row_Any_F16C(const uint16* src,
- uint16* dst,
- float scale,
- int width);
- void HalfFloatRow_NEON(const uint16* src, uint16* dst, float scale, int width);
- void HalfFloatRow_Any_NEON(const uint16* src,
- uint16* dst,
- float scale,
- int width);
- void HalfFloat1Row_NEON(const uint16* src, uint16* dst, float scale, int width);
- void HalfFloat1Row_Any_NEON(const uint16* src,
- uint16* dst,
- float scale,
- int width);
- void HalfFloatRow_MSA(const uint16* src, uint16* dst, float scale, int width);
- void HalfFloatRow_Any_MSA(const uint16* src,
- uint16* dst,
- float scale,
- int width);
- void ARGBLumaColorTableRow_C(const uint8* src_argb,
- uint8* dst_argb,
- int width,
- const uint8* luma,
- uint32 lumacoeff);
- void ARGBLumaColorTableRow_SSSE3(const uint8* src_argb,
- uint8* dst_argb,
- int width,
- const uint8* luma,
- uint32 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);
- #ifdef __cplusplus
- } // extern "C"
- } // namespace libyuv
- #endif
- #endif // INCLUDE_LIBYUV_ROW_H_
|