FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Variables
vf_srcnn.h File Reference

Default cnn weights for x2 upsampling with srcnn filter. More...

Go to the source code of this file.

Variables

static const double conv1_kernel []
 First convolution kernel. More...
 
static const double conv1_biases []
 First convolution biases. More...
 
static const double conv2_kernel []
 Second convolution kernel. More...
 
static const double conv2_biases []
 Second convolution biases. More...
 
static const double conv3_kernel []
 Third convolution kernel. More...
 
static const double conv3_biases []
 Third convolution biases. More...
 

Detailed Description

Default cnn weights for x2 upsampling with srcnn filter.

Definition in file vf_srcnn.h.

Variable Documentation

const double conv1_kernel[]
static

First convolution kernel.

Definition at line 29 of file vf_srcnn.h.

Referenced by init().

const double conv1_biases[]
static

First convolution biases.

Definition at line 672 of file vf_srcnn.h.

Referenced by init().

const double conv2_kernel[]
static

Second convolution kernel.

Definition at line 740 of file vf_srcnn.h.

Referenced by init().

const double conv2_biases[]
static

Second convolution biases.

Definition at line 807 of file vf_srcnn.h.

Referenced by init().

const double conv3_kernel[]
static
Initial value:
= {
-0.01733648031949997, 0.014926089905202389, 0.019393086433410645, -0.00444532185792923, 0.02693970873951912, 0.0003883102326653898, 0.004221527837216854, 0.0050745452754199505, 0.012986100278794765, 0.008007168769836426, 0.008950762450695038, 0.005279690958559513, 0.01519874669611454, -0.010862989351153374, 0.011825689114630222, -0.019965801388025284, 0.007991938851773739, -0.004620695952326059, 0.011911056004464626, 0.0043943473137915134, -0.01527450606226921, 0.007058924064040184, 0.010290278121829033, 0.013065044768154621, -0.010343007743358612, 0.017746344208717346, -4.6092932279862e-06, -0.0030044177547097206, 0.004238004796206951, 0.011623515747487545, 0.004292194731533527, 0.003601675620302558, 0.02504684589803219, -0.012476416304707527, -0.001889116014353931, -0.014844696037471294, 0.0037114194128662348, 0.0015292391180992126, -0.01960979402065277, -0.023836420848965645, -0.004658454097807407, -0.005420898552983999, -0.011578674428164959, -0.012782600708305836, -0.013413185253739357, -0.0026978880632668734, -0.008449232205748558, -0.001977386884391308, -0.009994491934776306, -0.019018622115254402, -0.01420928630977869, -0.010814856737852097, -0.012635751627385616, -0.02571050450205803, -0.011209324933588505, 0.006185243371874094, -0.028722697868943214, -0.015991590917110443, -7.262170129251899e-06, 0.0059218574315309525, -0.012753800489008427, 0.004631821997463703, -0.012866009026765823, -0.015347815118730068, 0.015386374667286873, 0.023364262655377388, -0.008774848654866219, 0.0003316070360597223, -0.013394287787377834, 0.01839779131114483, -0.0010600975947454572, 0.0013282642466947436, -0.0046541206538677216, -0.003481027204543352, -0.03873523697257042, 0.00432006549090147, -0.012688318267464638, 0.005344531964510679, -0.029875176027417183, 0.009807406924664974, 0.013965515419840813, -0.003954270388931036, -0.002595012541860342, -0.01060534082353115, -0.022159360349178314, -0.04049196094274521, -0.00826672650873661, -0.019309749826788902, -0.005398318637162447, -0.02717643231153488, -7.683406693104189e-06, 0.005884414538741112, -0.0025554620660841465, 0.003152097575366497, 0.007737628649920225, -0.0016007261583581567, 0.009788384661078453, -0.00019503672956489027, -0.016453150659799576, -0.009283055551350117, -0.023557187989354134, 0.0199913140386343, -0.0016918116016313434, 0.006789462175220251, -0.015027258545160294, -0.013967354781925678, -0.025483066216111183, -0.0011143273441120982, -0.024852922186255455, -0.0025222464464604855, -0.006810196675360203, -0.00522286631166935, 0.003403729060664773, -0.00575729925185442, 3.009885585925076e-05, -0.01669410802423954, -0.02657824568450451, -0.0558585524559021, -0.010408259928226471, -0.02449175715446472, -0.01373971812427044, -0.0016934958985075355, -6.971432412683498e-06, 0.016726776957511902, 0.012803487479686737, 0.0015065578045323491, -0.009287698194384575, -0.026466000825166702, 0.011461018584668636, 0.01290250662714243, 0.011383261531591415, -0.014642436988651752, 0.0025061562191694975, -0.005041358061134815, 0.020811449736356735, 0.036239612847566605, 4.4364631321514025e-05, -0.0060895150527358055, -0.0045987810008227825, 0.013829104602336884, -0.009625028818845749, -0.0024851823691278696, 0.011963721364736557, 0.005744087975472212, 0.004409838002175093, -0.002875274745747447, 0.03727300092577934, -0.00797036848962307, -0.023841897025704384, -0.020694682374596596, 0.01830098032951355, -0.0013982733944430947, -0.029326260089874268, 0.03960532322525978, -4.999998509447323e-06, 0.002121264347806573, 0.017022226005792618, 0.00307935057207942, 0.004140383563935757, -0.024156462401151657,
-0.006691846530884504, 0.014618276618421078, 0.0088097108528018, -0.003097307402640581, 0.0045377472415566444, 0.022115124389529228, 0.0010284727904945612, -0.011907028965651989, 0.003773882519453764, -0.003491810755804181, -0.001970492536202073, -0.0022535324096679688, -0.0008858706569299102, -0.009839004836976528, -0.011421483010053635, 0.02180883288383484, -0.0011487964075058699, -0.004101413302123547, -0.00041377657908014953, -0.0025395506527274847, -0.017455890774726868, -0.01648567058146, 0.0025676502846181393, 0.007391395978629589, -0.049815498292446136, -0.008180997334420681, -5.978379249427235e-06, 0.01758566126227379, -0.011831379495561123, 0.011075240559875965, -0.01834580861032009, -0.02892209403216839, -0.008543230593204498, -0.02222561091184616, 0.00198202021420002, -0.0173275638371706, -0.002889616647735238, -0.016437765210866928, -0.0019898039754480124, -0.0046544563956558704, -0.005625379737466574, -0.012663842178881168, -0.0021303114481270313, -0.005864009726792574, -0.02050960063934326, -0.0041898381896317005, -0.001599422306753695, -0.014543072320520878, -0.012980197556316853, -0.012110203504562378, 0.005697437096387148, -0.01134384237229824, -0.006273128557950258, -0.020269395783543587, 0.00206595566123724, -0.006627210881561041, -0.036355212330818176, -0.009883278980851173, -6.210894298419589e-06, -0.026439880952239037, -0.028891965746879578, -0.0013150871964171529, -0.02360166423022747, -0.010725725442171097, -0.02183191105723381, 0.039243895560503006, 0.024056749418377876, 0.016758441925048828, 0.022510681301355362, -0.01064172014594078, 0.01852872408926487, 0.018505385145545006, 0.02285805717110634, 0.019767427816987038, 0.009467927739024162, 0.021334582939743996, 0.006701075471937656, 0.004998492076992989, 0.013553347438573837, -0.01105016004294157, 0.021290680393576622, 0.017781538888812065, 0.023486388847231865, 0.016260700300335884, 0.024738412350416183, 0.06549705564975739, 0.020338254049420357, 0.017187029123306274, -0.005591356195509434, -0.030282070860266685, -3.964171810366679e-06, -0.04010002315044403, -0.02367369644343853, 0.003125580260530114, 0.0036818883381783962, 0.0356549471616745, -0.04779026657342911, -0.011736183427274227, -0.006996487732976675, -0.0037266379222273827, -0.004441506695002317, -0.013957538641989231, -0.01441804226487875, -0.015041263774037361, -0.004064843058586121, -0.001813759095966816, -0.019498180598020554, -0.009017589502036572, -0.022034406661987305, -0.0017824879614636302, -0.02208147756755352, -0.023862911388278008, -0.011861376464366913, -0.009369430132210255, -0.011684310622513294, -0.002783849136903882, 0.0015959303127601743, 0.013797302730381489, -0.009703001007437706, -0.016293305903673172, -0.002277540508657694, -0.058384086936712265, -5.658412646880606e-06, -0.010031881742179394, -0.0515611469745636, -0.0016375213162973523, -0.03382877632975578, -0.014860027469694614, 0.010203640908002853, -0.01677648164331913, -0.008142654784023762, -0.015476839616894722, -0.009880786761641502, -0.009551423601806164, 0.0052429791539907455, 0.025618556886911392, -0.011334288865327835, -0.01023068092763424, -0.007289142347872257, 0.001425967551767826, -0.0038161007687449455, -9.109660459216684e-05, -0.010165611281991005, 0.012489739805459976, -0.00568031333386898, -0.010443033650517464, 0.016427909955382347, -0.009935266338288784, -0.022226503118872643, 0.015649763867259026, 0.0014033179031684995, -0.026624053716659546, -0.0072030117735266685, 0.02539876475930214, -6.032416877133073e-06, 0.02203439362347126, 0.02422020398080349, -0.002492350060492754, -0.0025713376235216856, -0.024256963282823563,
0.028391066938638687, -0.008681230247020721, -0.0075459606014192104, -0.006617182400077581, -0.021044472232460976, -0.014440059661865234, -0.006936822552233934, -0.029412558302283287, -0.011166023090481758, -0.01849893480539322, -0.0005780624924227595, -0.014950568787753582, -0.005253868643194437, -0.005220833234488964, -0.028963478282094002, 0.021637193858623505, -0.019347840920090675, -0.011709429323673248, -0.014264274388551712, -0.011820941232144833, 0.00298744416795671, -0.04346560686826706, -0.008389514870941639, -0.020286206156015396, 0.018381241708993912, 0.009402075782418251, -6.492645752587123e-06, 0.023731611669063568, -0.012512442655861378, 0.0038244938477873802, -0.009620792232453823, -0.07217538356781006, -0.013373111374676228, -0.034088119864463806, 0.018013516440987587, 0.03110465221107006, 0.00410833302885294, -0.03156536445021629, 0.022587930783629417, 0.0012497875140979886, 0.018505631014704704, 0.015937509015202522, 0.03397117182612419, 0.018751027062535286, 0.028309335932135582, 0.0013284453889355063, -0.003424218390136957, -0.049040183424949646, 0.017518097534775734, 0.02935495600104332, 0.012375129386782646, 0.021071018651127815, 0.043245572596788406, -0.0017072117188945413, 0.019170910120010376, 0.02005029283463955, 0.0443248376250267, 0.0003568085958249867, -3.7825570871063974e-06, -0.05497012287378311, 0.00025986708351410925, -0.0030980752781033516, 0.04201911762356758, -0.014718047343194485, 0.09136182069778442, 0.050251998007297516, 0.047536175698041916, 0.055385034531354904, 0.04384322464466095, 0.09153757244348526, 0.05585036426782608, 0.057650815695524216, 0.04947146400809288, 0.049772344529628754, 0.06513509154319763, 0.05598533898591995, 0.07879935204982758, 0.04116233438253403, 0.11658136546611786, 0.11621594429016113, 0.055703893303871155, 0.061708055436611176, 0.05569135770201683, 0.05010691657662392, 0.053597111254930496, 0.11819006502628326, 0.05187384411692619, 0.05305469036102295, 0.09488381445407867, 0.059720080345869064, 0.03125, 0.0926225483417511, 0.07122859358787537, 0.03559500724077225, 0.10132692754268646, 0.033046673983335495, 0.008198931813240051, 0.0003483742184471339, 0.01791943609714508, 0.001972371246665716, 0.028092924505472183, -0.03384608402848244, -0.002994880545884371, 0.007743468973785639, 0.014146284200251102, 0.018825070932507515, 0.014400491490960121, 0.0019946275278925896, 0.02691826969385147, 0.0009523414191789925, 0.02702765353024006, -0.052713021636009216, -0.008234074339270592, 0.018862949684262276, 0.009218212217092514, 0.018653536215424538, 0.018532507121562958, 0.01908375509083271, 0.011865130625665188, 0.020338265225291252, 0.04508337005972862, 0.023039977997541428, -2.3969303128978936e-06, -0.03341738134622574, 0.0004288993077352643, -0.0008280515321530402, 0.010723913088440895, 0.0077158669009804726, 0.006444958969950676, -0.019155774265527725, -5.477798913489096e-05, -0.02078878879547119, 0.008315970189869404, 0.010842232033610344, -0.031902797520160675, -0.026402516290545464, -0.006352603901177645, -0.0014378208434209228, 0.009403265081346035, -0.0235301461070776, 0.030138930305838585, 0.0009560910402797163, 0.0034558959305286407, 0.013105751015245914, -0.03245479613542557, 0.00014958641258999705, -0.01846451871097088, -0.004078384954482317, 0.0037151798605918884, -0.034191444516181946, -0.01241487730294466, 0.020487261936068535, 0.004675493575632572, -0.001711744931526482, -5.699709618056659e-06, -0.016188936308026314, 0.0009379374678246677, -0.004474718123674393, 0.015641530975699425, -0.031059851869940758,
0.017852166667580605, -0.010946747846901417, -0.012056040577590466, -0.024213045835494995, -0.012465649284422398, -0.006464261561632156, -0.011034192517399788, -0.008573409169912338, -0.016811594367027283, -0.022378386929631233, 0.0030896365642547607, -0.01829506829380989, -0.00021189880499150604, -0.008802076801657677, 0.004135396331548691, -0.0019236482912674546, -0.02637781947851181, -0.017801862210035324, -0.006381392478942871, -0.018069086596369743, -0.0036655464209616184, 0.013736056163907051, -0.009265280328691006, -0.027790579944849014, -0.012576323933899403, 0.04333537817001343, -7.037836439849343e-06, 0.026426875963807106, 0.005798666272312403, 0.0013659419491887093, -0.014491761103272438, -0.01638057827949524, -0.02981523796916008, -0.032532256096601486, -0.010090043768286705, -0.007593970745801926, -0.018417589366436005, -0.0216656606644392, 0.004707487300038338, 0.004459805320948362, -0.011068890802562237, -0.0145384157076478, -0.012747114524245262, -4.547689968603663e-05, -0.018158771097660065, -0.0016290376661345363, -0.007845909334719181, -0.024189548566937447, -0.0060073742642998695, -0.013039188459515572, 0.006702722515910864, -0.012077617458999157, -0.0007322088931687176, 0.0034031253308057785, -0.0008505430887453258, -0.017894163727760315, 0.027413401752710342, -0.03949275612831116, -7.241580533445813e-06, -0.019933350384235382, -0.053383633494377136, -0.0054626851342618465, -0.009955281391739845, -0.04589463770389557, -0.034236349165439606, 0.01580982841551304, 0.007976382039487362, 0.028724610805511475, 0.011486087925732136, -0.027824942022562027, 0.022402625530958176, 0.029602553695440292, 0.01704397052526474, 0.022052697837352753, -0.004771718755364418, 0.026639657095074654, -0.011267848312854767, 0.0033830017782747746, -0.015702372416853905, -0.034589529037475586, 0.034043051302433014, 0.009690974839031696, 0.01819804310798645, 0.018704038113355637, 0.0041338009759783745, 0.01277330331504345, 0.013342908583581448, -0.010100413113832474, 0.015592217445373535, -0.031007571145892143, -4.164448455412639e-06, -0.02336093783378601, -0.00736986193805933, -0.0021892155054956675, -0.004158016759902239, 0.040366824716329575, -0.009508250281214714, -0.015689341351389885, -0.02741144597530365, 0.0045163934119045734, -0.02123788185417652, -0.032169606536626816, -0.008436286821961403, 0.007711112964898348, -0.015981104224920273, -0.005847458727657795, -0.016302186995744705, -0.005028838757425547, -0.03451291099190712, -0.005411963909864426, -0.05700745806097984, -0.009519844315946102, 0.0006086266366764903, -0.015810880810022354, -0.013824393041431904, -0.005000389646738768, -0.02759696915745735, -0.04730289429426193, -0.017540261149406433, -0.04141391068696976, -0.041247956454753876, -0.012798106297850609, -5.439681444840971e-06, -0.008614210411906242, 0.0048933797515928745, -0.003266551299020648, -0.04772410914301872, -0.029737742617726326, -0.013271044939756393, -0.0097488509491086, 0.007987074553966522, -0.004178282339125872, 0.012320887297391891, 0.018136637285351753, -0.010289676487445831, -0.012029961682856083, 0.003997388761490583, 0.0027769876178354025, -0.00016121150110848248, -0.0068504842929542065, 0.0006498507573269308, -0.005065080709755421, -0.009735621511936188, 0.017527002841234207, -0.006097816396504641, -0.007242846302688122, -0.006019610911607742, 0.0008342362125404179, -0.023044561967253685, -0.013992048799991608, -0.0020959940738976, 0.011034240014851093, -0.024964068084955215, -0.014639698900282383, -5.802894520456903e-06, 0.013127168640494347, -0.012662719003856182, -0.0008862267713993788, 0.0016509606502950191, -0.04512324184179306,
-0.00812589656561613, 0.023091308772563934, 0.013341490179300308, -0.0017570563359186053, 0.011543834581971169, 0.004988478496670723, 0.02247282676398754, 0.03653952479362488, 0.007683734409511089, 0.0037880358286201954, 0.007956952787935734, 0.015365968458354473, 0.012251682579517365, -0.011300078593194485, 0.018807940185070038, -0.0016539369244128466, 0.01070421189069748, 0.011612690053880215, 0.03027413971722126, 0.004591582342982292, -0.0243303794413805, -0.014095880091190338, 0.01868494786322117, 0.008858193643391132, -0.04804064705967903, 0.016877762973308563, -5.198307917453349e-06, 0.007284262217581272, 0.005965469870716333, 0.005185986869037151, 0.0015474684769287705, 0.0014243163168430328, 0.014486664906144142, -0.0007930672145448625, -0.014664226211607456, -0.016457712277770042, -0.017403796315193176, 0.012685011141002178, -0.0038839769549667835, -2.389050496276468e-05, -0.0160866379737854, -0.01904400624334812, 0.004156769253313541, -0.008070499636232853, -0.0033578418660908937, -0.00516103021800518, 0.014172150753438473, 0.00791727751493454, -0.010331041179597378, -0.008183060213923454, -0.0030316549818962812, -0.018925121054053307, -0.025037286803126335, -0.018173744902014732, -0.008901157416403294, -0.006475025787949562, -0.045409832149744034, 0.007166015915572643, -7.585635557916248e-06, 0.0012800301192328334, 0.0006912891403771937, 0.0059029520489275455, -0.004367201589047909, -0.024956075474619865, 0.022586409002542496, 0.03446779027581215, -0.012960361316800117, -0.0014372625155374408, -0.014426053501665592, 0.01776641421020031, -0.00538691645488143, -0.005508242174983025, -0.008251170627772808, -0.006693737115710974, -0.00424883421510458, -0.0030098704155534506, 0.0014789323322474957, -8.246497600339353e-05, -0.012845523655414581, 0.025194581598043442, 0.0025184480473399162, -0.00496160052716732, -0.010554589331150055, -0.010357110761106014, 0.005486670881509781, -0.021662171930074692, -0.011405641213059425, -0.0068052071146667, -0.004323462024331093, -0.007439297158271074, -7.72375915403245e-06, -0.021758737042546272, 0.008226223289966583, 0.006653657183051109, -0.008580118417739868, 0.03419283404946327, -0.0004065808025188744, 0.002096658106893301, -0.007829351350665092, 0.01040695235133171, 0.004781882278621197, 0.005034750793129206, -0.016704533249139786, -0.016410555690526962, 0.0011981577845290303, 0.009445485658943653, -0.005858719814568758, -0.007212047465145588, -0.02453439123928547, -0.0071554724127054214, -0.014008383266627789, 0.005001842509955168, 0.00020401524670887738, -0.008169618435204029, -0.021851185709238052, 0.008030191995203495, -0.0050564780831336975, -0.02414780668914318, -0.013633708469569683, 0.006448823027312756, -0.029981538653373718, -0.03735398128628731, -6.921254680491984e-06, 0.03399209678173065, -0.004451010841876268, 0.004246181342750788, -0.032517194747924805, -0.01074709091335535, -0.004061675630509853, 0.0025288749020546675, 0.012356824241578579, 0.00828587356954813, 0.02730046585202217, -0.007290054112672806, 0.0016192658804357052, 0.00967408251017332, 0.014147035777568817, 0.01511610671877861, 0.01129476260393858, 0.005221985280513763, 0.013473305851221085, -0.007084429729729891, 0.01748768240213394, -0.018865350633859634, 0.00915855448693037, -0.011141966097056866, 0.005098120309412479, 0.012889760546386242, -0.019689016044139862, 0.0028594080358743668, 0.0053698960691690445, -0.004294142127037048, -0.014502201229333878, 0.014149459078907967, -4.726254246634198e-06, 0.00383391254581511, 0.01293114572763443, 0.004694880452007055, 0.013098621740937233, -0.01542270090430975
}

Third convolution kernel.

Definition at line 843 of file vf_srcnn.h.

Referenced by init().

const double conv3_biases[]
static
Initial value:
= {
0.05037664
}

Third convolution biases.

Definition at line 852 of file vf_srcnn.h.

Referenced by init().