diff options
author | davidovski <david@davidovski.xyz> | 2021-12-05 22:02:25 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2021-12-05 22:02:25 +0000 |
commit | 74452dfb1735e7347459f3b024770ce285f7c96d (patch) | |
tree | 7c3a812c3d6e7c135b5924e2d353e6daac2353fd /config/mpv/shaders/Anime4K_Restore_CNN_Light_VL.glsl | |
parent | bcdb3419af4a28135e2e668cd61b49db72e95796 (diff) |
removed shaders
Diffstat (limited to 'config/mpv/shaders/Anime4K_Restore_CNN_Light_VL.glsl')
-rw-r--r-- | config/mpv/shaders/Anime4K_Restore_CNN_Light_VL.glsl | 873 |
1 files changed, 0 insertions, 873 deletions
diff --git a/config/mpv/shaders/Anime4K_Restore_CNN_Light_VL.glsl b/config/mpv/shaders/Anime4K_Restore_CNN_Light_VL.glsl deleted file mode 100644 index 702b4d1..0000000 --- a/config/mpv/shaders/Anime4K_Restore_CNN_Light_VL.glsl +++ /dev/null @@ -1,873 +0,0 @@ -// MIT License - -// Copyright (c) 2019-2021 bloc97 -// All rights reserved. - -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: - -// The above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the Software. - -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -// SOFTWARE. - -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x3 -//!HOOK MAIN -//!BIND MAIN -//!SAVE conv2d_tf -//!WIDTH MAIN.w -//!HEIGHT MAIN.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off))) -vec4 hook() { - vec4 result = mat4(0.19360119, -0.06232563, -0.10792513, 0.267527, 0.06596755, 0.007092387, 0.055011127, -0.5542146, -0.18271299, -0.040766742, 0.010868089, 0.08003978, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0); - result += mat4(0.18444066, 0.20795864, -0.013852409, 0.066459246, -0.083719544, 0.02597621, 0.21207252, 0.04861354, -0.1355032, 0.0060599954, 0.11346447, -0.17083165, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0); - result += mat4(0.26963052, -0.020136127, 0.47085336, -0.0783945, -0.074662104, -0.09995467, 0.34879264, 0.11067407, 0.003322615, -0.096678294, 0.4094184, -0.030978726, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0); - result += mat4(-0.18401939, 0.0005427562, 0.08059618, 0.13606036, 0.0007498339, 0.08629936, -0.25878906, 0.13051608, 0.23050664, -0.1267959, 0.15268782, -0.37629983, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0); - result += mat4(-0.14618671, 0.6435592, -0.5904388, 0.0074698864, -0.76876163, -0.023974935, -0.104585215, 0.0788201, 0.063245185, 0.047831524, -0.42130437, -0.33175734, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0); - result += mat4(0.14787754, 0.27100593, 0.049896125, -0.080619566, -0.30425274, 0.09128727, 0.14653048, -0.05551923, -0.0210936, -0.010283546, -0.37002796, 0.33142072, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0); - result += mat4(-0.1857126, -0.12313261, 0.27318844, 0.15100765, 0.41548094, 0.020844452, -0.1560056, -0.25053447, -0.14203049, 0.12979753, -0.09916417, -0.03268707, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0); - result += mat4(-0.0930978, 0.15973964, -0.22383998, 0.00032310403, -0.14965023, -0.13818839, 0.15410255, -0.015808647, 0.1774556, -0.0010896238, -0.0076012285, 0.23983447, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0); - result += mat4(0.19456875, -0.19878028, 0.07687821, -0.4680612, 0.17235436, 0.018640667, -0.42486653, 0.49506667, -0.16872008, -0.03551854, 0.2328318, 0.29137224, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0); - result += vec4(0.14583994, -0.17381974, 0.045944635, 0.037107732); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x3 -//!HOOK MAIN -//!BIND MAIN -//!SAVE conv2d_tf1 -//!WIDTH MAIN.w -//!HEIGHT MAIN.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (MAIN_texOff(vec2(x_off, y_off))) -vec4 hook() { - vec4 result = mat4(0.029214405, -0.112253726, -0.028589878, 0.15404084, -0.40891224, 0.0598381, -0.2616539, -0.35286883, 0.0005537194, 0.027737763, 0.16406782, 0.13934903, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, -1.0); - result += mat4(-0.53771687, 0.16892618, -0.4616551, 0.23283535, 0.18896593, -0.21374968, 0.3627087, -0.30193883, -0.1261449, -0.031292416, 0.16928245, -0.18456449, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 0.0); - result += mat4(0.1325694, 0.088515684, 0.61075526, -0.14861652, 0.0039271354, -0.033851713, -0.026976392, 0.20404102, 0.26123998, -0.09144777, -0.11645258, -0.1327874, 0.0, 0.0, 0.0, 0.0) * go_0(-1.0, 1.0); - result += mat4(0.20675217, 0.24580412, 0.28658614, 0.35911646, -0.2529968, -0.2910362, 0.103800304, 0.051136855, -0.16418375, -0.07940908, -0.15664347, -0.53767383, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, -1.0); - result += mat4(0.6265759, -0.31598943, -0.1731524, 0.22604989, 0.050118, 0.48094094, -0.13572039, -0.35443172, 0.4150139, 0.09859694, -0.3651877, -0.14915061, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 0.0); - result += mat4(-0.047976203, -0.16952291, -0.16267753, -0.26938444, 0.041035164, 0.66247874, 0.6011883, 0.32470578, -0.233143, 0.21020572, 0.2981282, 0.45960334, 0.0, 0.0, 0.0, 0.0) * go_0(0.0, 1.0); - result += mat4(-0.0886858, -0.034566384, -0.12172604, -0.0034448267, 0.38064584, 0.022219408, -0.1584216, -0.12864982, -0.195484, -0.00023111182, 0.107520185, 0.09204266, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, -1.0); - result += mat4(-0.36379096, -0.061317224, -0.11892355, -0.3743791, 0.067604125, -0.07272926, -0.24820338, 0.42924345, 0.14554887, -0.02520681, -0.08705948, 0.14988287, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 0.0); - result += mat4(0.032680526, 0.07151607, 0.17548047, -0.16767503, -0.09422988, -0.06357202, -0.26704603, 0.11373316, -0.08092937, -0.0014879751, -0.030586597, 0.1725987, 0.0, 0.0, 0.0, 0.0) * go_0(1.0, 1.0); - result += vec4(0.07151978, -0.041677244, -0.042146206, -0.03620157); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x16 -//!HOOK MAIN -//!BIND conv2d_tf -//!BIND conv2d_tf1 -//!SAVE conv2d_1_tf -//!WIDTH conv2d_tf.w -//!HEIGHT conv2d_tf.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) -#define go_2(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_3(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) -vec4 hook() { - vec4 result = mat4(0.14883332, 0.0049976343, -0.08083236, -0.010437656, 0.043847, 0.02432189, 0.3653255, 0.06594273, 0.1014321, 0.060080532, -0.05379073, 0.09709923, 0.03573748, 0.012542138, 0.056448784, -0.00024919971) * go_0(-1.0, -1.0); - result += mat4(-0.053464893, -0.20767011, 0.057904813, -0.17465684, -0.009104678, -0.004261258, 0.5134061, 0.023199258, -0.05947983, 0.036388993, 0.06296262, -0.029383168, 0.1911236, -0.021738218, 0.12104831, -0.008442415) * go_0(-1.0, 0.0); - result += mat4(-0.05952455, 0.055684544, -0.015956672, 0.04436435, 0.03031293, -0.22474009, -0.109986454, 0.038515188, -0.02654391, 0.034524858, 0.0049528223, -0.07662533, 0.08695276, 0.037749037, 0.047257397, -0.081406936) * go_0(-1.0, 1.0); - result += mat4(0.075898394, -0.15124628, -0.22105663, -0.046951063, -0.100387074, -0.004051052, -0.05079771, 0.15837546, 0.01883324, -0.025705937, -0.071656495, 0.052288454, 0.11953363, -0.11454488, -0.04141402, -0.15820509) * go_0(0.0, -1.0); - result += mat4(-0.19293302, -0.30953202, 0.14755383, -0.1452521, 0.29057288, -0.14351107, -0.0022390774, -0.027359026, 0.06024577, 0.47107852, 0.13686725, 0.06427861, -0.15005597, -0.053554643, 0.0679768, 0.07898082) * go_0(0.0, 0.0); - result += mat4(-0.1039002, 0.42842436, -0.047263812, 0.029059013, 0.0033008375, 0.23683162, -0.18102045, -0.13273092, 0.13324593, 0.10267167, -0.050438814, -0.10928662, 0.025168315, -0.10714287, -0.20626248, 0.16261156) * go_0(0.0, 1.0); - result += mat4(0.0874714, -0.14385991, 0.037957113, 0.14693987, -0.100030564, -0.089901805, -0.13872078, -0.008485582, -0.09531038, -0.07859104, 0.17562534, 0.1745895, 0.046588995, 0.014078927, -0.0028515686, 0.03511642) * go_0(1.0, -1.0); - result += mat4(-0.04375773, 0.16749011, 0.26999992, 0.1114372, -0.031807993, 0.2145715, -0.119178735, 0.0052746893, 0.20842391, -0.14659926, 0.0018399926, 0.29380462, -0.041231003, 0.21079773, -0.033435397, 0.1225379) * go_0(1.0, 0.0); - result += mat4(0.21681055, -0.11559919, -0.13526253, -0.026643602, -0.025298327, 0.08329926, -0.262543, -0.124468714, -0.0815108, -0.1277701, -0.08024967, 0.0840046, -0.22159201, -0.03710134, 0.27610135, -0.24711081) * go_0(1.0, 1.0); - result += mat4(0.014237401, -0.05627874, 0.02812105, -0.018187935, -0.13025898, -0.030601889, -0.09878436, 0.11162679, -0.12699747, -0.141748, -0.032252286, -0.18179509, -0.13830693, 0.22692755, -0.17880245, -0.0018947559) * go_1(-1.0, -1.0); - result += mat4(0.15497315, 0.11640978, 0.13621798, 0.06292997, 0.136697, 0.12547185, 0.17356667, 0.30214548, -0.16270928, -0.13277377, -0.087916926, -0.063455485, -0.051119316, 0.0762781, -0.2650017, -0.038969204) * go_1(-1.0, 0.0); - result += mat4(0.034375515, -0.112406835, -0.059238978, 0.058142785, -0.060363445, 0.10539661, -0.035174843, 0.06031309, -0.02994845, -0.25710714, 0.08539219, 0.117509276, -0.049237557, -0.007281701, 0.07183322, 0.047294106) * go_1(-1.0, 1.0); - result += mat4(-0.007747381, -0.07234373, -0.024231857, -0.14907521, 0.26570424, -0.1284177, -0.06797279, 0.020866405, 0.15884992, 0.14689589, -0.2366259, -0.13964143, -0.2813648, -0.031286288, 0.1915226, 0.18739425) * go_1(0.0, -1.0); - result += mat4(-0.069543935, -0.07082487, 0.007846463, 0.09584261, -0.09406286, -0.023450404, -0.10600043, 0.07084821, 0.031292275, 0.13828489, -0.04066196, -0.35085085, 0.100411825, 0.10757548, 0.096762, 0.03226437) * go_1(0.0, 0.0); - result += mat4(-0.031104298, 0.042261623, 0.04070658, -0.21011598, -0.005348487, -0.17081796, -0.01605322, -0.1287271, -0.2747555, 0.055098165, -0.023450272, -0.04062309, -0.06343935, 0.14160405, -0.11914955, -0.11695483) * go_1(0.0, 1.0); - result += mat4(0.03368308, 0.10448694, -0.07294878, 0.113228574, 0.13509908, 0.22069423, 0.05885462, -0.18090302, 0.016176822, 0.10359291, -0.098322086, -0.023910979, -0.009875173, -0.014139158, 0.041306626, -0.036990196) * go_1(1.0, -1.0); - result += mat4(-0.04812326, 0.018280955, -0.27850032, -0.15390392, 0.09063901, -0.072016194, 0.17855646, -0.15178134, 0.003819186, -0.06310117, 0.05924943, -0.008876516, -0.098928936, -0.1336733, 0.18297043, -0.22958922) * go_1(1.0, 0.0); - result += mat4(-0.11705012, -0.08964545, 0.13490887, 0.120656885, -0.08439733, -0.10712505, -0.04288634, -0.11175989, 0.028064063, -0.0059954906, 0.23845334, 0.10852623, 0.38997042, 0.043880615, -0.2765089, 0.26468486) * go_1(1.0, 1.0); - result += mat4(-0.11266249, 0.09080536, 0.08674198, -0.03574487, -0.042447858, 0.098556004, -0.44117874, -0.053042285, -0.056548443, -0.0878822, 0.065316774, -0.13154295, 0.22691011, 0.1877896, 0.056957055, -0.31494436) * go_2(-1.0, -1.0); - result += mat4(0.11654922, -0.013783506, -0.07700343, 0.15390985, -0.102156855, -0.12269823, -0.49534795, 0.08808431, 0.07686502, 0.055344325, -0.061499316, 0.00078361423, -0.0754523, -0.2566167, -0.1838144, -0.030924272) * go_2(-1.0, 0.0); - result += mat4(0.021358008, 0.0030775762, -0.03086653, -0.11826322, -0.10250527, 0.28716072, 0.12022611, -0.14741284, 0.029264726, 0.016436987, 0.015412514, 0.018860992, -0.07669824, -0.2846353, 0.0358547, -0.05534108) * go_2(-1.0, 1.0); - result += mat4(-0.008869919, 0.14213483, 0.24436511, 0.12571257, 0.023708032, -0.004709381, 0.2911895, -0.17139897, -0.056285806, 0.24821213, 0.1557908, 0.06863559, -0.03745989, 0.18050276, 0.13310982, 0.21807937) * go_2(0.0, -1.0); - result += mat4(-0.11289586, 0.010169366, -0.17275204, 0.23921597, 0.027144466, -0.25061816, 0.0966517, -0.23593621, 0.25891224, -0.19049706, -0.14801154, 0.23096289, 0.14335062, 0.012342667, -0.023367012, -0.10237669) * go_2(0.0, 0.0); - result += mat4(0.10759406, -0.29769954, 0.07594272, -0.027781423, 0.05033381, 0.084845185, 0.20864937, 0.17965376, -0.0727025, -0.05830136, 0.16122739, -0.006746688, 0.049888104, 0.07724194, 0.13449116, -0.008367611) * go_2(0.0, 1.0); - result += mat4(-0.03863607, 0.174793, -0.093805425, -0.17403531, -0.057677146, -0.03796591, 0.103187144, 0.09357234, -0.09539895, 0.19170061, 0.07963041, 0.03444581, -0.13000047, -0.14132936, -0.021197341, 0.074883506) * go_2(1.0, -1.0); - result += mat4(0.056209475, -0.04393892, -0.18347074, -0.12385202, 0.039625462, -0.015726956, -0.09639942, -0.054152664, -0.2793976, 0.31657222, -0.013967456, 0.11484808, 0.09363501, -0.05468502, 0.113634706, -0.0388132) * go_2(1.0, 0.0); - result += mat4(-0.15304504, 0.036504976, 0.1110176, 0.0015338067, -0.020498147, -0.010027394, 0.30413687, 0.27913254, -0.03232552, 0.11144654, 0.08528306, -0.08540335, 0.0010484589, -0.07247024, 0.0036632568, 0.1370013) * go_2(1.0, 1.0); - result += mat4(-0.0063501927, 0.2871977, 0.12502535, 0.025606805, 0.061099768, -0.5992511, -0.17212205, -0.33346593, -0.02565107, -0.04268505, -0.0101346355, 0.17922729, -0.06450564, -0.12950459, -0.054218307, 0.23651253) * go_3(-1.0, -1.0); - result += mat4(-0.06620988, 0.0062947064, -0.18867554, -0.029935384, -0.15671532, 0.07390274, -0.23174438, -0.4375058, -0.15903209, -0.09277648, 0.013176433, -0.10260713, -0.01306296, -0.06900217, 0.27107182, 0.089129426) * go_3(-1.0, 0.0); - result += mat4(-0.14393733, 0.13146797, -0.003896521, -0.15186733, 0.26731753, 0.061232407, 0.14887531, -0.0022249233, -0.038111594, -0.009460442, -0.093824565, 0.041874778, 0.026628528, 0.24353789, -0.105468385, 0.03040401) * go_3(-1.0, 1.0); - result += mat4(-0.10071836, 0.27759352, -0.23939642, 0.1353841, -0.4696704, -0.35996172, 0.111997865, 0.4243692, 0.013494944, 0.117087156, -0.007988721, -0.20791332, 0.16427802, 0.12311875, -0.14574583, -0.12266132) * go_3(0.0, -1.0); - result += mat4(-0.055113558, -0.21249188, 0.17569464, -0.22072235, -0.17665441, -0.08517408, 0.13663405, -0.1590462, 0.14853607, -0.09816993, 0.10452652, -0.13093312, 0.036061518, 0.1062813, -0.17108972, 0.026600767) * go_3(0.0, 0.0); - result += mat4(0.13925338, -0.28799817, -0.18058716, -0.06296662, 0.07256033, 0.34434304, -0.057444483, 0.123039864, 0.078449406, -0.10684205, -0.08656415, -0.10256281, -0.22150153, -0.102204524, 0.17508847, -0.010405384) * go_3(0.0, 1.0); - result += mat4(-0.13067785, -0.0050193495, 0.04078728, -0.0031013708, -0.28031832, 0.40660706, 0.06192895, -0.06727101, -0.1524852, -0.07680743, 0.07955148, -0.068599746, -0.048511457, 0.12875193, -0.10791482, -0.052661054) * go_3(1.0, -1.0); - result += mat4(0.33706537, -0.049321488, 0.18922749, 0.2704247, 0.12213435, -0.051426753, 0.05219936, 0.21360992, -0.08371952, -0.020987509, 0.024351273, -0.039467797, -0.04421191, 0.057788275, -0.019605737, 0.10433522) * go_3(1.0, 0.0); - result += mat4(0.045010246, 0.014201681, -0.17715642, -0.095528014, 0.16486506, 0.18525092, -0.104189776, 0.27026963, -0.05055015, -0.07119431, -0.19230597, -0.039119646, 0.0057485937, 0.012051828, 0.03630418, -0.15586886) * go_3(1.0, 1.0); - result += vec4(0.03405326, 0.039143175, 0.01846662, -0.03880087); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x16 -//!HOOK MAIN -//!BIND conv2d_tf -//!BIND conv2d_tf1 -//!SAVE conv2d_1_tf1 -//!WIDTH conv2d_tf.w -//!HEIGHT conv2d_tf.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (max((conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_1(x_off, y_off) (max((conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) -#define go_2(x_off, y_off) (max(-(conv2d_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_3(x_off, y_off) (max(-(conv2d_tf1_texOff(vec2(x_off, y_off))), 0.0)) -vec4 hook() { - vec4 result = mat4(-0.14652124, -0.16183482, -0.07315444, -0.042863872, 0.05955073, -0.00329054, 0.11407292, -0.19743899, 0.05743144, -0.0022395293, -0.095096655, -0.074167654, -0.17475525, -0.23253608, 0.08207798, -0.03719234) * go_0(-1.0, -1.0); - result += mat4(0.059328698, 0.11892855, -0.094602056, -0.0068637594, -0.11241183, 0.12063242, 0.019908722, 0.0098242685, 0.06292722, 0.014426416, 0.13053507, -0.037534527, -0.079503655, -0.019845333, 0.102862574, -0.015494239) * go_0(-1.0, 0.0); - result += mat4(0.3209467, 0.07334531, 0.012985334, 0.050573897, 0.19523033, -0.0018314086, -0.44067836, -0.07285683, -0.019244894, 0.062407006, 0.060849257, -0.005044136, -0.06659661, 0.027825357, 0.094469056, 0.0066229706) * go_0(-1.0, 1.0); - result += mat4(-0.13710669, -0.05291883, 0.14579259, 0.030291315, 0.009700914, -0.0065886737, 0.06270539, 0.106975235, 0.1305605, -0.26708728, -0.03151061, 0.061163943, 0.0076486235, -0.14016512, 0.155306, 0.045248922) * go_0(0.0, -1.0); - result += mat4(-0.16652064, -0.009881058, -0.40384138, -0.267812, -0.18526025, 0.002032559, 0.013616924, 0.2634461, -0.00064061355, 0.118678324, -0.17072882, -0.06323535, 0.10561639, 0.04592647, 0.0017663407, 0.021617549) * go_0(0.0, 0.0); - result += mat4(0.18761483, 0.007241617, 0.15661849, 0.09689588, -0.09609172, -0.18153413, -0.29889387, 0.016646769, -0.012204181, 0.0638965, 0.17686222, 0.08637195, 0.2290208, 0.02611031, 0.11407943, -0.09617825) * go_0(0.0, 1.0); - result += mat4(-0.24792238, -0.113050856, 0.190573, 0.032475434, -0.09839696, 0.073402695, 0.23274091, 0.1282517, -0.14893058, -0.2431767, -0.13978292, 0.005441146, 0.04207619, 0.07525771, 0.1267702, -0.15269177) * go_0(1.0, -1.0); - result += mat4(-0.046159573, 0.04579516, -0.036680568, 0.16902113, -0.11212564, -0.009402747, 0.19812573, 0.23846918, -0.09939242, -0.1559382, -0.089393996, 0.13819161, 0.16647293, 0.04260531, -0.36743277, 0.008630251) * go_0(1.0, 0.0); - result += mat4(-0.021492321, 0.06446146, -0.03825092, -0.06552036, 0.16035677, 0.012916832, 0.113573804, -0.10975595, -0.029516328, 0.08863083, 0.047495693, -0.11562872, 0.14320356, -0.060489558, -0.06249168, 0.106865026) * go_0(1.0, 1.0); - result += mat4(0.027449643, -0.030238548, -0.029258568, 0.040336255, 0.051396802, 0.04351585, -0.10794716, -0.027819382, -0.12766616, -0.16175146, 0.13589758, -0.022547582, 0.43991855, 0.10060494, -0.14422217, 0.07626484) * go_1(-1.0, -1.0); - result += mat4(-0.105396405, 0.14302222, -0.085199356, -0.037374064, 0.09850412, 0.031214664, 0.11730535, -0.027364325, -0.16421455, 0.005472578, 0.18475033, 0.1602811, 0.13266638, 0.02879979, -0.056837026, 0.018797727) * go_1(-1.0, 0.0); - result += mat4(0.021380914, -0.08905557, -0.082530156, -0.01724814, -0.17282435, 0.046639133, 0.22542654, -0.10429561, -0.046047606, -0.16661516, -0.27716354, 0.0020337207, 0.16523318, 0.076681726, -0.15636058, -0.016467214) * go_1(-1.0, 1.0); - result += mat4(-0.12924775, 0.08280122, -0.025772465, -0.0022894118, -0.02115888, 0.07784755, 0.015649777, -0.023445124, -0.06953856, 0.0914727, 0.0013758949, 0.20613667, 0.20240568, -0.04064732, -0.14765395, -0.037604112) * go_1(0.0, -1.0); - result += mat4(0.016535565, -0.058615092, 0.3370891, 0.13807736, 0.25301075, -0.085945375, -0.059417795, -0.08209282, 0.1144699, 0.047965135, 0.35843506, 0.015516404, -0.055857114, -0.034550183, -0.15555014, 0.04295781) * go_1(0.0, 0.0); - result += mat4(-0.19602683, -0.08944058, 0.10515021, 0.15365584, -0.0045360327, -0.11042353, 0.18332279, 0.082171, 0.22297668, 0.027323032, 0.031416208, -0.028983038, -0.30079353, 0.09478723, 0.1109385, 0.0415933) * go_1(0.0, 1.0); - result += mat4(-0.054647066, 0.10487917, -0.14397447, 0.04618775, -0.16155492, -0.07491243, -0.24450852, 0.12956907, 0.10037339, 0.11230401, 0.1599577, -0.008814668, -0.025784336, 0.07618563, -0.1164978, 0.14016932) * go_1(1.0, -1.0); - result += mat4(0.29510838, -0.15967977, -0.062317856, -0.19588338, 0.047400206, -0.013974471, -0.16257073, 0.14952596, 0.07220818, -0.062695906, -0.11434187, -0.067963235, -0.23061477, -0.10568648, 0.26096728, 0.04092111) * go_1(1.0, 0.0); - result += mat4(-0.19071105, -0.00022339055, 0.058752485, 0.11311053, 0.10291455, -0.020924505, -0.14276274, -0.023665678, -0.094151415, 0.014981935, -0.047807716, 0.023128806, -0.5664996, -0.021028021, 0.1933353, -0.15102088) * go_1(1.0, 1.0); - result += mat4(0.08114911, 0.12874475, 0.013171154, -0.015199226, 0.05120246, -0.04001393, -0.14343406, 0.29168963, -0.025116954, -0.09038986, 0.15837418, 0.0566947, -0.027941821, -0.050488885, 0.27747595, -0.098658994) * go_2(-1.0, -1.0); - result += mat4(-0.1121783, -0.11059685, 0.16887896, 0.041425303, -0.0038248254, -0.0551184, -0.13563855, 0.052701436, 0.00739919, 0.00776732, -0.19963941, 0.072722785, 0.102370605, 0.06122982, -0.26704606, -0.1358136) * go_2(-1.0, 0.0); - result += mat4(-0.2860154, -0.059204385, 0.02313767, -0.007920693, -0.17152447, 0.036151107, 0.42736155, 0.21972227, 0.05793102, -0.019046228, 0.03818771, 0.0127874045, -0.06879294, 0.03036767, 0.16870889, 0.029231329) * go_2(-1.0, 1.0); - result += mat4(0.055086702, 0.12152517, -0.11717637, -0.014932585, -0.062906116, 0.061297026, 0.02959048, -0.2289308, 0.08956083, 0.23433596, 0.25463107, 0.008845051, -0.13284388, 0.034361728, -0.144141, -0.082439154) * go_2(0.0, -1.0); - result += mat4(0.1938812, 0.03844369, 0.100541644, 0.11523029, 0.044659145, -0.19016728, -0.1331784, -0.86553067, 0.05530578, -0.19423246, 0.057359707, -0.04028013, 0.11107616, 0.06750578, 0.07175391, 0.08868807) * go_2(0.0, 0.0); - result += mat4(-0.20563579, 0.011016745, 0.016013788, -0.019212808, 0.15353018, 0.1987407, 0.21886012, 0.30403137, 0.13421147, -0.06305548, -0.11431998, -0.06809931, 0.09380082, -0.07752858, -0.19588207, 0.13511388) * go_2(0.0, 1.0); - result += mat4(0.23523815, 0.16076477, -0.0875269, -0.07781957, 0.23232463, 0.024394248, -0.19910109, 0.024664074, 0.12363594, -0.3912198, 0.106508374, 0.10640564, -0.3612036, -0.19418713, -0.010462364, 0.1011272) * go_2(1.0, -1.0); - result += mat4(0.026739927, -0.17510056, 0.041587405, -0.020632213, 0.08625108, -0.24586627, -0.02768004, -0.30467334, -0.025393644, -0.060308952, -0.07414639, -0.04348881, 0.1677341, 0.076905, 0.2135067, -0.02692365) * go_2(1.0, 0.0); - result += mat4(0.016333828, -0.059538085, -0.02300884, -0.033327438, -0.0025711264, 0.13890542, -0.10329381, 0.05302243, 0.10107987, 0.019908112, -0.0112520205, 0.07987715, -0.052076444, 0.08359499, -0.012752877, 0.16694829) * go_2(1.0, 1.0); - result += mat4(-0.009093296, 0.04495033, 0.0019639023, -0.0013158421, -0.35828316, 0.03139588, 0.066690065, -0.08668488, -0.04279466, 0.06975039, 0.014066698, -0.11249304, -0.29014254, 0.10226124, -0.10425003, 0.06070423) * go_3(-1.0, -1.0); - result += mat4(0.010644585, -0.19986501, 0.14522372, 0.17365773, -0.034128446, -0.08177435, -0.004855473, 0.32221767, -0.03828016, 0.15331762, 0.113191456, -0.16726369, -0.22239509, 0.04473703, 0.16158465, -0.050372113) * go_3(-1.0, 0.0); - result += mat4(-0.09726817, 0.28856224, 0.2113974, -0.0067151473, 0.20972358, -0.051260415, -0.09605937, 0.09921434, -0.05307911, 0.078468256, 0.08264517, 0.030048508, -0.18828459, -0.12217525, 0.040885184, -0.02544825) * go_3(-1.0, 1.0); - result += mat4(0.08888768, -0.05379608, -0.10469299, 0.004728266, -0.04733825, 0.6187783, -0.7153672, -0.42022693, -0.005282295, 0.34516528, -0.10215996, -0.060710642, -0.022433382, 0.12919977, -0.061240025, 0.20216186) * go_3(0.0, -1.0); - result += mat4(0.064072944, -0.12610157, -0.075814016, -0.12845013, -0.13247773, -0.20081128, 0.14477426, 0.06726272, -0.064519554, 0.16487473, 0.08623268, -0.07339877, 0.2726085, -0.10507246, 0.023795146, 0.08817518) * go_3(0.0, 0.0); - result += mat4(0.17783767, 0.33903065, 0.023962386, 0.03462844, -0.04280316, 0.31425503, 0.0330023, -0.11694539, -0.18288052, -0.02388223, 0.090621985, 0.04790237, 0.008648221, -0.058774985, 0.11553172, -0.17962764) * go_3(0.0, 1.0); - result += mat4(0.08770848, -0.42368424, 0.016854538, 0.036750022, 0.04456265, -0.3985223, 0.17827488, 0.37915286, -0.062266253, -0.008858595, -0.251292, -0.15504368, 0.15088275, 0.0016920108, -0.023255885, -0.14385705) * go_3(1.0, -1.0); - result += mat4(0.018943936, 0.10967541, -0.035518408, 0.27795315, -0.012587106, -0.20403755, 0.26019505, -0.25950488, -0.16515031, -0.057595897, 0.05979131, 0.20352438, -0.19138129, 0.13328205, -0.1184452, -0.047368404) * go_3(1.0, 0.0); - result += mat4(0.076364815, -0.03733675, -0.13571341, -0.0013227019, -0.1977032, 0.100590065, 0.17501906, 0.051328253, 0.0514259, 0.008326264, 0.1109551, -0.07145381, 0.31250855, -0.051407184, -0.13219051, -0.10798148) * go_3(1.0, 1.0); - result += vec4(0.06348733, -0.024782084, -0.021212123, -0.17574035); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x16 -//!HOOK MAIN -//!BIND conv2d_1_tf -//!BIND conv2d_1_tf1 -//!SAVE conv2d_2_tf -//!WIDTH conv2d_1_tf.w -//!HEIGHT conv2d_1_tf.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (max((conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_1(x_off, y_off) (max((conv2d_1_tf1_texOff(vec2(x_off, y_off))), 0.0)) -#define go_2(x_off, y_off) (max(-(conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_3(x_off, y_off) (max(-(conv2d_1_tf1_texOff(vec2(x_off, y_off))), 0.0)) -vec4 hook() { - vec4 result = mat4(-0.08480574, 0.11321976, 0.12670645, 0.08362786, 0.05592573, 0.11147589, 0.056580164, 0.03777633, -0.14196445, -0.064194664, 0.04350427, 0.06829772, 0.003542702, 0.39303064, -0.18523338, 0.0765771) * go_0(-1.0, -1.0); - result += mat4(0.13912115, -0.0021219589, 0.18272978, 0.081641905, 0.12426511, -0.021860858, 0.0031387412, 0.043633714, 0.08326322, 0.058229804, 0.095722586, -0.19505185, -0.13574465, 0.14680599, -0.14413944, -0.11631809) * go_0(-1.0, 0.0); - result += mat4(0.11322354, 0.029345773, 0.11131824, -0.09432904, 0.04348295, 0.02462445, -0.028880853, 0.003041007, 0.043334927, -0.0030584014, -0.015709626, -0.0124814315, -0.12614422, -0.0367381, -0.018183708, -0.018730221) * go_0(-1.0, 1.0); - result += mat4(0.00963445, -0.08998312, 0.11029598, 0.14230114, -0.1453962, 0.015524847, -0.046934843, 0.038745366, -0.0126037635, -0.11450985, -0.061118316, 0.07006119, -0.11901991, 0.01924045, 0.13129374, 0.039179396) * go_0(0.0, -1.0); - result += mat4(-0.14269432, -0.25200894, 0.041312814, 0.31075788, 0.096633695, 0.015410642, -0.03003802, -0.09112523, 0.028175779, 0.22108443, 0.04186542, 0.026067073, 0.31961015, -0.39317542, -0.0060102255, -0.09564959) * go_0(0.0, 0.0); - result += mat4(0.08421352, 0.04442623, 0.09370481, -0.19760965, 0.13611193, -0.06857742, 0.006854346, 0.053595312, -0.164917, -0.036479093, 0.08951294, -0.053868633, 0.030519582, 0.13779975, -0.22967865, 0.09291807) * go_0(0.0, 1.0); - result += mat4(-0.05515642, 0.36514673, 0.09891705, 0.045774434, 0.020229887, -0.26778555, -0.073515154, 0.13781959, -0.043792583, 0.034586184, 0.027059758, 0.054261643, 0.16925453, -0.17344351, -0.024978887, -0.013272214) * go_0(1.0, -1.0); - result += mat4(0.03489626, 0.04361595, -0.17865986, 0.10464496, 0.03774252, -0.11916147, 0.013987701, -0.090188146, -0.08831159, -0.040132806, -0.05276772, 0.13481785, 0.060742635, -0.047535334, 0.13014777, -0.15134929) * go_0(1.0, 0.0); - result += mat4(0.058203336, 0.087634325, 0.11030956, -0.047207005, 0.0015679518, 0.06405597, 0.03236958, 0.014598698, 0.08825472, -0.034350615, 0.14856827, -0.029674828, -0.01720403, -0.08813775, -0.08271536, 0.13215572) * go_0(1.0, 1.0); - result += mat4(-0.059697565, -0.012583002, -0.15396784, -0.14978446, -0.00055610534, 0.090461135, -0.10828448, -0.01649956, 0.008096184, -0.11359249, -0.037938677, -0.045864716, 0.19374639, 0.07211657, -0.057552826, 0.20320983) * go_1(-1.0, -1.0); - result += mat4(-0.1477305, 0.05608381, 0.073427245, 0.0727619, -0.044726875, -0.0053885966, 0.025977403, -0.06912947, -0.00078663783, -0.016229888, 0.14073867, 0.012450909, 0.120249726, 0.25358552, 0.058707893, 0.0007868538) * go_1(-1.0, 0.0); - result += mat4(-0.10492936, 0.012697793, -0.16515997, 0.22329651, -0.13941313, -0.1145347, -0.020278532, 0.012282896, -0.010170208, 0.0053987103, 0.17744978, -0.19103956, -0.19810747, -0.09934909, 0.021242233, -0.008589245) * go_1(-1.0, 1.0); - result += mat4(0.11409996, 0.16686693, 0.2718214, -0.116426095, 0.08537312, 0.036953285, -0.13049231, -0.0829513, -0.20367481, 0.029470703, -0.029238366, -0.012685375, -0.008195789, -0.049108904, -0.07321177, 0.0065526515) * go_1(0.0, -1.0); - result += mat4(0.20098308, -0.084561944, 0.16849206, 0.13230674, 0.13817179, -0.027842842, -0.12346346, -0.028943159, -0.017093359, -0.24230127, 0.025914771, -0.058420476, 0.3167407, -0.19887945, 0.03712751, 0.090243496) * go_1(0.0, 0.0); - result += mat4(-0.048648782, 0.035494126, -0.29359072, 0.050819587, 0.13616611, -0.09253517, 0.014991149, 0.13676393, 0.08364519, -0.0039631687, -0.11653702, -0.07796023, -0.019332191, 0.16994397, 0.1031899, 0.01631262) * go_1(0.0, 1.0); - result += mat4(0.084333666, 0.04551177, -0.055473253, -0.05423573, -0.102596566, 0.043075774, 0.102123104, 0.031946607, 0.03813837, -0.0378945, -0.021795772, -0.085064545, -0.067800485, 0.17365377, -0.1587158, 0.0961829) * go_1(1.0, -1.0); - result += mat4(0.12380188, 0.047140546, 0.056829777, -0.10991382, 0.08408676, -0.014275525, 0.02773392, 0.010000812, 0.07957995, 0.03270939, -0.11573031, -0.059185877, -0.055331778, 0.031207843, 0.061872642, 0.20675258) * go_1(1.0, 0.0); - result += mat4(-0.15754157, -0.068367444, 0.05225782, -0.033302244, 0.12172034, -0.09995618, 0.19114761, -0.016438806, -0.051156208, -0.12785244, -0.21840076, 0.021694731, -0.16311881, 0.004594455, 0.12671193, 0.05606322) * go_1(1.0, 1.0); - result += mat4(0.049477212, -0.04156546, -0.11284566, -0.006687929, -0.15042746, -0.1354816, -0.07701578, -0.02052174, -0.100839235, -0.10020966, 0.039397296, 0.075192675, 0.06869246, -0.1989913, 0.12724786, -0.1025761) * go_2(-1.0, -1.0); - result += mat4(-0.20163287, -0.06689907, -0.022043733, -0.051837225, 0.05967262, 0.19296125, -0.047759548, -0.09323758, -0.25433928, -0.16562302, 0.036108643, 0.2725253, 0.25881055, -0.03620503, -0.19310184, 0.1675908) * go_2(-1.0, 0.0); - result += mat4(-0.0828609, 0.013679947, -0.14036302, 0.08984229, -0.037821256, -0.040998567, 0.116784334, -0.018244812, 0.11653188, 0.09700039, -0.14662555, -0.25586325, -0.0036776098, 0.00453992, 0.13865575, 0.16027364) * go_2(-1.0, 1.0); - result += mat4(-0.113930844, 0.16444023, 0.13125749, -0.1796395, 0.13988592, -0.063104786, -0.023817835, -0.01354576, -0.20905343, 0.20908423, 0.053932406, -0.0025217899, 0.30940476, -0.108033076, -0.1765131, -0.09276581) * go_2(0.0, -1.0); - result += mat4(-0.20217319, 0.34800816, 0.18873934, 0.119394094, -0.22997174, -0.114992686, 0.07194553, 0.15572856, -0.04463714, -0.0044968002, -0.08948797, 0.13731599, 0.094768874, 0.287995, -0.00882706, 0.25070938) * go_2(0.0, 0.0); - result += mat4(-0.03628345, -0.036233637, -0.05032622, -0.016046647, -0.09794127, 0.06352892, -0.10505557, -0.24378863, 0.14733508, 0.22737099, -0.119813085, -0.4542017, 0.12379237, 0.071344234, 0.23854165, 0.035849415) * go_2(0.0, 1.0); - result += mat4(-0.096711405, -0.076708786, -0.028801199, 0.090965845, -0.016226552, 0.3054468, -0.005343757, -0.08651231, -0.11383285, 0.033004537, -0.2191614, -0.06078029, -0.1400355, 0.011201032, 0.028039234, -0.018048858) * go_2(1.0, -1.0); - result += mat4(0.17038369, 0.13599117, 0.13138942, -0.09815427, -0.08446489, 0.15529202, -0.10053495, 0.06676813, -0.03606881, 0.29830658, 0.013422983, -0.23210266, 0.13371433, 0.083905704, -0.017449113, 0.070309766) * go_2(1.0, 0.0); - result += mat4(-0.007990575, -0.022026423, 0.050048187, -0.0060456614, -0.010133419, -0.065363556, -0.029351708, -0.09159344, -0.3522328, -0.049889863, -0.05986743, -0.066098854, -0.031131815, 0.012294404, 0.0823492, -0.019801483) * go_2(1.0, 1.0); - result += mat4(0.002065571, 0.029648267, 0.024684066, 0.18537375, 0.08048362, -0.13818885, -0.03386444, -0.05307023, 0.07062592, 0.07712059, 0.10104287, -0.08547906, -0.10190423, 0.06601522, -0.041131627, -0.052161627) * go_3(-1.0, -1.0); - result += mat4(-0.026094614, 0.008054166, 0.18934652, 0.0457666, -0.016259242, -0.09917517, -0.34326178, -0.005258591, -0.025388112, 0.01870604, 0.038269922, -0.12806712, -0.10627213, -0.048573222, 0.13268714, 0.16084617) * go_3(-1.0, 0.0); - result += mat4(0.14064012, 0.020793222, 0.25272962, -0.1535572, 0.017101303, 0.019721886, 0.08775811, -0.13753726, 0.042995177, -0.06423399, 0.12379157, -0.18892893, 0.008164964, -0.019519996, -0.0056174304, 0.097905986) * go_3(-1.0, 1.0); - result += mat4(-0.045062847, -0.015550373, -0.15207195, -0.07709356, -0.010748949, -0.14149745, 0.037076086, 0.09478957, 0.15126255, -0.088988364, 0.03932942, -0.06166289, -0.09039953, -0.04851557, 0.29731947, -0.0006881944) * go_3(0.0, -1.0); - result += mat4(-0.16146475, 0.12269774, 0.001591324, 0.085065156, 0.17001311, 0.31734267, -0.21601838, 0.068867706, -0.03267213, 0.11502972, 0.02779278, -0.1745492, 0.04436103, 0.26972267, 0.195435, 0.11584279) * go_3(0.0, 0.0); - result += mat4(0.08741689, 0.0049522296, 0.10120453, 0.021704294, 0.0040195165, 0.10562763, 0.020016816, -0.06005247, 0.13806197, 0.011161616, 0.14581797, -0.116610706, 0.12585433, 0.0529003, 0.008795806, 0.20243783) * go_3(0.0, 1.0); - result += mat4(-0.000811402, -0.025576333, 0.05507525, 0.06265718, -0.06510683, -0.28040257, -0.111458145, -0.021307128, 0.18432926, -0.043379623, -0.077450596, -0.066561595, 0.16787522, -0.10415151, -0.121295065, -0.040192384) * go_3(1.0, -1.0); - result += mat4(0.078819886, 0.023352338, -0.16955031, 0.10977106, -0.17781584, -0.12217941, 0.0055684145, -0.07936198, 0.08285613, -0.20976615, -0.009171823, 0.008501662, 0.11957166, -0.013002512, 0.019930279, -0.21048005) * go_3(1.0, 0.0); - result += mat4(0.026950927, 0.026623365, -0.047079995, 0.10150038, -0.07037376, 0.105016164, -0.19383426, 0.12275699, 0.024309335, 0.08110088, 0.2069311, -0.12835573, 0.00973883, 0.027825294, -0.1147683, -0.016531648) * go_3(1.0, 1.0); - result += vec4(-0.12733191, -0.0700873, -0.08153056, -0.03441635); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x16 -//!HOOK MAIN -//!BIND conv2d_1_tf -//!BIND conv2d_1_tf1 -//!SAVE conv2d_2_tf1 -//!WIDTH conv2d_1_tf.w -//!HEIGHT conv2d_1_tf.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (max((conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_1(x_off, y_off) (max((conv2d_1_tf1_texOff(vec2(x_off, y_off))), 0.0)) -#define go_2(x_off, y_off) (max(-(conv2d_1_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_3(x_off, y_off) (max(-(conv2d_1_tf1_texOff(vec2(x_off, y_off))), 0.0)) -vec4 hook() { - vec4 result = mat4(0.04710844, 0.02885074, -0.08653721, -0.033820454, -0.08329274, 0.030280083, 0.12286348, 0.054923028, 0.040732536, 0.043602213, -0.05220169, -0.037175585, 0.02793152, -0.059516005, 0.042414997, 0.0580708) * go_0(-1.0, -1.0); - result += mat4(0.10385417, -0.11513615, -0.06693568, 0.084012695, -0.049691543, 0.119549535, 0.09131366, -0.08246902, 0.11521488, -0.12651028, 0.03807189, -0.13703631, 0.053962298, -0.1526481, 0.20260562, 0.09826817) * go_0(-1.0, 0.0); - result += mat4(-0.042871896, -0.112084165, 0.13543971, -0.099892564, -0.1286986, 0.037033286, -0.0076538464, 0.008331587, -0.16132128, -0.10608538, -0.28429806, 0.11153427, -0.11295032, 0.07276047, -0.018826436, 0.13491358) * go_0(-1.0, 1.0); - result += mat4(-0.15395787, -0.06707967, -0.24600041, 0.08669474, 0.19836546, -0.09993217, 0.058163725, -0.05493529, -0.25512978, -0.12831108, -0.19361897, -0.10541689, 0.044038914, -0.032988098, -0.0068737534, 0.08951132) * go_0(0.0, -1.0); - result += mat4(0.1440577, 0.08722956, 0.024615806, 0.026759263, -0.00041472923, -0.19936134, 0.026527353, -0.037964903, 0.4334768, -0.046183918, -0.047570847, -0.13313308, -0.084587984, -0.03472796, -0.20259523, 0.0941046) * go_0(0.0, 0.0); - result += mat4(0.1420196, -0.041416008, -0.072889686, -0.031171652, -0.16076589, 0.015848253, 0.019722803, 0.005657475, -0.15472786, -0.07771729, -0.27663866, 0.15286855, 0.2372843, 0.22341764, 0.03187913, 0.009378276) * go_0(0.0, 1.0); - result += mat4(-0.061352853, 0.22614451, -0.0135969445, -0.020231618, -0.16191655, -0.027427161, 0.06244302, 0.19295312, -0.12131812, 0.041175075, -0.032807786, -0.051469497, -0.10047452, -0.08786709, -0.009553058, 0.12835887) * go_0(1.0, -1.0); - result += mat4(-0.014527569, 0.040515177, 0.24419656, -0.18901597, 0.17902431, -0.14712022, -0.04546452, 0.36809546, 0.26115733, -0.22730863, -0.16039908, 0.2885602, 0.029143259, 0.14838108, -0.09299126, -0.17329401) * go_0(1.0, 0.0); - result += mat4(-0.07470636, -0.0077143973, 0.0055839834, -0.060121927, -0.026643826, 0.04836584, 0.04916127, -0.0052225473, -0.19209749, -0.09525555, -0.01736455, -0.12693658, -0.053708784, -0.15488972, 0.118875496, -0.06919909) * go_0(1.0, 1.0); - result += mat4(0.0012211935, -0.029566932, 0.11996986, 0.07014895, 0.09227415, -0.17705907, 0.14430499, -0.04860705, 0.03923869, 0.011510572, -0.024738194, -0.12337342, 0.002049863, -0.020299934, 0.057552725, -0.03527173) * go_1(-1.0, -1.0); - result += mat4(0.17645101, 0.12079638, -0.11643815, 0.25301746, -0.089463405, -0.14035879, 0.27302817, 0.15148807, -0.11518878, -0.049653534, -0.04743878, -0.03723802, -0.08634323, 0.32201955, -0.1571095, -0.06762423) * go_1(-1.0, 0.0); - result += mat4(-0.12165778, 0.1892384, 0.075157695, -0.019400151, 0.0047173365, 0.06257829, 0.041020676, 0.14088388, -0.06402923, 0.05996232, 0.026633708, 0.011176705, 0.14992069, -0.2145569, 0.075422145, 0.12391139) * go_1(-1.0, 1.0); - result += mat4(-0.052317593, 0.13975143, -0.046502355, 0.10053591, -0.03991687, -0.27031496, -0.006613114, 0.0026606407, -0.15399118, -0.07176687, -0.11733394, -0.052796986, -0.18987378, 0.24348068, -0.14628237, -0.07674113) * go_1(0.0, -1.0); - result += mat4(-0.087050915, 0.0071712076, 0.2577939, -0.30145136, -0.11926774, 0.09188826, -0.32758027, 0.12049164, -0.12084582, -0.19585371, -0.03353224, 0.2110215, -0.05006425, 0.30333972, 0.48589763, 0.16107805) * go_1(0.0, 0.0); - result += mat4(0.22619961, 0.028914332, 0.09455038, -0.11702573, -0.12074434, 0.18360864, -0.059581675, 0.17057672, 0.20083638, -0.021381391, 0.05815149, -0.31442592, 0.21815984, -0.035257537, 0.08259165, -0.120696016) * go_1(0.0, 1.0); - result += mat4(-0.015044711, -0.0894903, -0.108752176, -0.04869659, 0.066174984, 0.0055832975, -0.08378304, 0.08747401, 0.056929193, -0.010705118, -0.026301494, 0.1632467, -0.11885072, 0.26950034, 0.12126304, -0.105640635) * go_1(1.0, -1.0); - result += mat4(-0.02472792, 0.0009067802, -0.065771334, -0.10835196, 0.08045481, -0.019382417, -0.00057835033, 0.018572476, 0.103294514, -0.06899282, 0.0022023015, -0.22808068, 0.1514101, 0.11909684, 0.2079512, 0.032677956) * go_1(1.0, 0.0); - result += mat4(-0.063581064, -0.16503008, -0.18689062, -0.07307252, -0.09207493, 0.0006819654, 0.07683147, -0.23810239, -0.11393531, 0.014008831, -0.0700434, 0.049002763, 0.046122346, -0.039115578, -0.059549235, 0.06070649) * go_1(1.0, 1.0); - result += mat4(0.04179663, -0.100489, 0.084546186, 0.10194717, -0.02610745, -0.123364694, -0.14066029, -0.09119255, -0.0025002635, -0.21707995, -0.03512413, -0.12557563, 0.13963158, 0.09436561, 0.1884048, -0.06387701) * go_2(-1.0, -1.0); - result += mat4(-0.09384194, 0.0988065, 0.0022921755, -0.007875812, 0.11925635, -0.2583149, -0.016689543, 0.16919276, -0.14221291, 0.042093534, -0.18708272, -0.05178951, -0.08284862, -0.208271, -0.065824725, -0.23652016) * go_2(-1.0, 0.0); - result += mat4(0.020692386, 0.18173148, -0.09848628, 0.13424948, -0.03099533, -0.016045488, -0.018189825, -0.067428, 0.33094117, 0.00070047705, 0.14502276, -0.017348297, -0.40888217, -0.06645648, -0.03473157, -0.018978024) * go_2(-1.0, 1.0); - result += mat4(-0.03223126, 0.14178987, 0.08870264, 0.015532251, -0.29690322, 0.0359172, -0.16702051, 0.11197073, 0.22345504, 0.04453903, -0.0645945, 0.157028, -0.18897647, -0.1161586, 0.06708771, -0.15637064) * go_2(0.0, -1.0); - result += mat4(0.02360959, 0.26864496, -0.0017427763, -0.14597012, 0.0022782553, 0.17329521, 0.06729639, 0.061102558, -0.3423163, -0.15231787, 0.023951039, 0.19015466, -0.056862652, -0.14524938, 0.17605421, -0.17231925) * go_2(0.0, 0.0); - result += mat4(0.0343677, 0.028395075, 0.032693338, 0.08873999, 0.2036708, -0.11193417, 0.066739246, -0.037906796, 0.2365359, -0.18781435, 0.11627873, 0.05018336, -0.29334447, -0.12125797, 0.02812298, 0.08912081) * go_2(0.0, 1.0); - result += mat4(-0.03756855, 0.0650307, -0.008297693, -0.0031375117, 0.22874773, -0.112722866, -0.08362732, -0.0766495, 0.06634266, -0.088642605, -0.083271734, 0.13304703, 0.24542038, 0.08533716, 0.030159764, -0.10886978) * go_2(1.0, -1.0); - result += mat4(-0.14236327, -0.019968912, 0.011531122, -0.1298288, -0.11915501, 0.22778039, 0.015772762, -0.19894752, -0.2828638, 0.02233044, -0.07740052, -0.09090421, -0.17177144, -0.2130086, 0.051963728, -0.09329546) * go_2(1.0, 0.0); - result += mat4(-0.11679834, -0.10227034, -0.04554348, -0.036633242, 0.027907027, 0.018276911, 0.027660053, 0.015003852, 0.06978293, 0.07447953, -0.38697773, 0.3429396, 0.0793724, 0.09503672, -0.0197653, 0.06736752) * go_2(1.0, 1.0); - result += mat4(-0.051907822, 0.015101302, -0.112940416, -0.03344059, -0.114325166, 0.011865127, -0.023398442, -0.04374162, -0.0059485063, -0.052999593, 0.014374101, 0.006049997, -0.03538804, -0.07127655, -0.03682392, -0.05625849) * go_3(-1.0, -1.0); - result += mat4(-0.041144885, 0.033783868, 0.010619557, -0.16678908, -0.017333785, 0.049050756, -0.084528185, -0.14812931, 0.0894455, -0.09931529, -0.024667354, -0.10889187, 0.17735493, -0.09656301, -0.053990286, 0.18605794) * go_3(-1.0, 0.0); - result += mat4(0.16498594, -0.11796257, -0.042483192, 0.05268825, 0.023460511, 0.065821394, 0.018842498, -0.011661558, -0.028928583, -0.17339131, -0.0737, -0.0004843325, -0.12388416, 0.19874606, 0.05273855, -0.025031913) * go_3(-1.0, 1.0); - result += mat4(0.121866025, 0.025653284, -0.030481119, 0.031095434, 0.10044417, -0.03765817, 0.15474097, 0.028850751, 0.10089955, -0.19475678, 0.1633435, 0.0023508668, 0.118062586, -0.036297128, -0.019174768, 0.0870241) * go_3(0.0, -1.0); - result += mat4(-0.17150536, 0.30186868, -0.06995744, -0.058424447, 0.19993895, -0.31188324, 0.14514428, 0.09118004, -0.11001965, 0.15630966, 0.085698515, -0.121615954, 0.011450332, 0.10171357, 0.12003417, -0.38643754) * go_3(0.0, 0.0); - result += mat4(-0.09294144, -0.083841994, 0.110522024, 0.15399323, 0.25409266, -0.06585058, 0.23307684, -0.10980433, -0.039479915, -0.042906094, 0.07375509, 0.17783765, -0.08046889, 0.038763043, -0.0045214095, 0.059429802) * go_3(0.0, 1.0); - result += mat4(0.0008457721, -0.06728719, 0.06547401, -0.06712405, 0.030553885, -0.10181692, -0.013999937, -0.066440485, 0.07791532, -0.069535695, -0.08385775, -0.119384415, -0.025026977, -0.119960554, 0.029226173, 0.020924618) * go_3(1.0, -1.0); - result += mat4(0.08772899, -0.0077200723, 0.20660679, 0.1060804, 0.13137446, -0.029342405, 0.06459917, 0.15787701, -0.075774886, -0.013811788, 0.04202857, 0.104449876, 0.025565593, -0.08019981, -0.08371609, 0.11730795) * go_3(1.0, 0.0); - result += mat4(-0.010786047, 0.15931825, -0.0027161248, 0.11842453, 0.13679314, 0.058180977, 0.019779272, 0.106924765, -0.023888024, 0.03412979, -0.026025852, -0.023592668, -0.06813477, 0.08341695, 0.019483056, 0.056823824) * go_3(1.0, 1.0); - result += vec4(0.0067223315, 0.09912634, 0.0019212416, -0.0009317932); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x16 -//!HOOK MAIN -//!BIND conv2d_2_tf -//!BIND conv2d_2_tf1 -//!SAVE conv2d_3_tf -//!WIDTH conv2d_2_tf.w -//!HEIGHT conv2d_2_tf.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_1(x_off, y_off) (max((conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) -#define go_2(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_3(x_off, y_off) (max(-(conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) -vec4 hook() { - vec4 result = mat4(0.033774614, 0.2957386, -0.18949959, -0.14237061, -0.019396832, 0.08156671, -0.014963647, -0.028077913, 0.13610254, 0.051536422, -0.03655884, -0.24287292, -0.0083665615, -0.019639138, 0.047028735, 0.11045373) * go_0(-1.0, -1.0); - result += mat4(0.07450935, -0.043757513, -0.17222394, -0.104539946, 0.009590314, 0.0055894675, -0.08796661, -0.08719293, -0.2147428, -0.07917428, 0.14417116, 0.008023602, -0.055693213, -0.020109981, 0.10868369, 0.1592662) * go_0(-1.0, 0.0); - result += mat4(0.10865388, -0.16897222, 0.06711624, 0.2772358, -0.1069463, -0.07270346, -0.043790855, -0.026656577, -0.03218799, 0.08115647, -0.073925704, -0.04693438, -0.037237253, 0.04818098, -0.11875727, 0.013663197) * go_0(-1.0, 1.0); - result += mat4(-0.12140727, 0.030863931, 0.04636442, 0.0541661, 0.05038194, 0.119073085, -0.1373281, 0.005630878, 0.026125109, -0.1605648, -0.028028594, -0.040655065, 0.25068787, 0.16974567, -0.08845508, 0.0070132064) * go_0(0.0, -1.0); - result += mat4(-0.15422228, 0.09971384, -0.16556466, -0.5899482, 0.03522977, -0.20851381, 0.19192116, 0.009456206, 0.24706036, 0.32578358, -0.0880749, -0.03323328, 0.008463784, 0.09060134, -0.14563191, -0.3583838) * go_0(0.0, 0.0); - result += mat4(0.21916804, -0.042073473, 0.04569465, 0.20165929, 0.085678875, 0.011325524, 0.13235328, 0.04205096, -0.15514316, -0.034886558, -0.05707746, -0.10913765, -0.021308113, -0.06312305, 0.033960495, 0.13644272) * go_0(0.0, 1.0); - result += mat4(-0.0046555665, -0.09683433, -0.1787815, 0.12944399, -0.0063726394, 0.015420718, 0.03908499, -0.0935702, 0.1231096, 0.16829231, 0.057581607, -0.17611441, -0.053314768, -0.06778716, -0.077530764, 0.20212191) * go_0(1.0, -1.0); - result += mat4(-0.041847575, 0.29112667, 0.1374761, 0.0070274314, 0.3466272, 0.23513836, 0.037314005, -0.12550843, -0.0037764686, -0.11684645, -0.09225545, 0.1487379, -0.1579701, -0.011804919, -0.041648373, -0.047080666) * go_0(1.0, 0.0); - result += mat4(0.13610192, -0.0017711999, 0.00049394363, -0.0021043578, 0.07910807, -0.1038854, 0.029766498, 0.21141881, -0.057471268, 0.21915483, -0.01442436, -0.16319297, 0.12741175, 0.050188906, -0.09802679, 0.08874183) * go_0(1.0, 1.0); - result += mat4(0.0022790628, 0.42621505, 0.099504225, -0.16149385, -0.05656185, 0.14948644, 0.04746404, -0.016239926, -0.14242585, -0.2708292, -0.0320305, 0.15973149, -0.03214788, 0.16424336, 0.07831023, -0.13321902) * go_1(-1.0, -1.0); - result += mat4(0.0058705183, 0.13961418, 0.104668625, -0.03877067, -0.00078424555, -0.37114945, 0.022268996, 0.16562253, -0.008650437, -0.21738952, 0.045609813, -0.018128501, -0.040233713, 0.21770544, -0.21251255, -0.067242466) * go_1(-1.0, 0.0); - result += mat4(0.03028062, 0.100499555, -0.08924893, -0.11034809, 0.03266012, 0.15463305, 0.042445857, 0.22010696, 0.044509508, 0.1612132, 0.07150148, -0.21388844, -0.08546261, -0.24139097, -0.22103494, -0.15538296) * go_1(-1.0, 1.0); - result += mat4(-0.14823864, -0.30605343, -0.022796849, 0.085604385, 0.050950006, 0.016020628, 0.053231265, -0.23847164, -0.22097446, -0.010809372, 0.0045369817, 0.08938249, 0.13750997, 0.21287994, 0.02144499, 0.21179198) * go_1(0.0, -1.0); - result += mat4(-0.05867385, -0.022153234, 0.098151684, 0.0068659866, 0.053682048, 0.43308866, -0.3241113, -0.115731485, -0.090611115, -0.087355815, 0.05975864, 0.1235488, 0.5304549, 0.0710305, -0.10266352, 0.11864873) * go_1(0.0, 0.0); - result += mat4(0.1393344, -0.14236829, -0.16151173, -0.086575344, 0.17007536, -0.2598917, -0.03783885, 0.10396254, -0.18305083, -0.21081199, 0.14433095, -0.115958095, -0.06478071, -0.10628086, 0.04155378, -0.00034537414) * go_1(0.0, 1.0); - result += mat4(-0.2091941, -0.026795745, 0.009196021, 0.037928544, 0.0063043954, -0.05388387, -0.035811294, -0.015648538, 0.29975224, 0.056525204, -0.1504933, 0.093834125, 0.045794807, 0.0873269, 0.012261663, 0.09834021) * go_1(1.0, -1.0); - result += mat4(0.015124795, -0.11389472, -0.097974785, 0.13706397, 0.08631918, -0.14939108, -0.00036866154, -0.14995562, -0.06113146, -0.12219891, 0.17512667, 0.113030344, -0.090124995, 0.023742804, -0.01438988, 0.057696886) * go_1(1.0, 0.0); - result += mat4(0.14645198, 0.14328729, -0.051039413, -0.23428136, -0.042988416, 0.14410476, 0.09694354, -0.10964715, -0.32049197, 0.08817688, 0.15855967, -0.03812407, -0.15353622, -0.041201692, 0.16493902, 0.07183907) * go_1(1.0, 1.0); - result += mat4(0.032199357, 0.0069201346, 0.04002813, 0.18322706, 0.047250044, 0.109632805, -0.024821674, 0.05188405, -0.07277024, 0.101417705, 0.06656125, 0.19394933, -0.087749496, 0.1615241, 0.012650446, -0.18212537) * go_2(-1.0, -1.0); - result += mat4(0.057567924, -0.28739858, 0.11114322, 0.059903152, -0.002904071, 0.22815737, -0.05601163, -0.09765342, 0.08700424, 0.0698013, -0.122697294, -0.08875045, 0.08511987, -0.17193086, 0.0770096, 0.14427166) * go_2(-1.0, 0.0); - result += mat4(0.027515057, 0.06750795, 0.09297072, -0.09176502, 0.15324858, 0.06470676, 0.008035314, -0.08329585, -0.07573318, 0.15965882, -0.06703163, -0.07216916, 0.145161, -0.2865797, 0.063925326, -0.118091606) * go_2(-1.0, 1.0); - result += mat4(-0.19937289, -0.1532499, 0.13226546, -0.045400072, 0.10679932, 0.12838435, 0.027190734, 0.0754311, 0.113631725, 0.24951059, 0.12364852, 0.06447208, -0.23674709, 0.12726231, 0.16757116, -0.024704518) * go_2(0.0, -1.0); - result += mat4(0.010965129, 0.50513566, 0.037132587, 0.04913668, -0.09590167, -0.1556142, -0.16342026, -0.06390245, -0.12902072, -0.3716328, 0.102303274, 0.32602644, 0.08034544, 0.22646406, 0.18952124, 0.19758564) * go_2(0.0, 0.0); - result += mat4(-0.107774295, -0.25624242, -0.038145557, -0.20309207, -0.03768547, -0.07161886, -0.12653717, -0.1199719, 0.041241683, -0.03179554, 0.07448303, -0.07824842, 0.16202712, -0.055162866, -0.03540822, -0.11383387) * go_2(0.0, 1.0); - result += mat4(0.011021737, -0.041118503, -0.04686154, 0.10315912, 0.057123102, 0.017380567, -0.016699782, 0.08381459, -0.01250954, -0.06859826, -0.073037595, 0.005977963, -0.13302614, -0.0917211, 0.11271537, 0.10081823) * go_2(1.0, -1.0); - result += mat4(-0.06773172, -0.21593498, -0.072869666, 0.110836506, -0.029008888, -0.08700297, -0.08997817, 0.15897514, -0.021955015, 0.045639183, 0.24715677, -0.10330206, -0.014970353, -0.048464295, 0.16830242, 0.021032687) * go_2(1.0, 0.0); - result += mat4(-0.0011249074, 0.08995086, -0.16862603, -0.05375252, -0.12311947, 0.0039252643, -0.058046527, -0.050957315, 0.091056824, -0.10349893, 0.035863243, -0.03183009, 0.001000576, 0.03158882, -0.0900957, -0.1473601) * go_2(1.0, 1.0); - result += mat4(-0.017890353, 0.13627194, -0.020884437, -0.017207792, 0.09843693, 0.03728121, 0.04875235, -0.06470764, 0.2518381, -0.011054377, 0.056621313, 0.15408361, -0.02475538, -0.11257353, 0.017203778, 0.08334898) * go_3(-1.0, -1.0); - result += mat4(-0.03911305, 0.067654096, 0.005513687, -0.20796147, 0.06416652, -0.08157081, -0.05440702, 0.04168439, 0.13399945, 0.04125491, 0.3601642, -0.15305239, -0.05964271, -0.20988438, 0.16034049, 0.16281763) * go_3(-1.0, 0.0); - result += mat4(-0.07904185, -0.031271737, -0.027321579, -0.25909856, -0.06659947, 0.08311183, -0.054754153, -0.1865804, -0.097887374, -0.01866787, 0.21034953, -0.018194003, 0.10033099, -0.04589483, -0.018624725, 0.08716199) * go_3(-1.0, 1.0); - result += mat4(0.2549674, 0.39227822, 0.029236626, 0.058122355, -0.04054116, -0.05212176, 0.08974333, 0.07455463, 0.07987175, 0.042670757, 0.23820515, -0.06559468, -0.14133768, 0.06411629, -0.015008464, -0.03189006) * go_3(0.0, -1.0); - result += mat4(-0.16010053, -0.09952597, -0.071184315, -0.29331842, -0.07111888, 0.1105805, 0.16699299, 0.15981464, 0.24424556, 0.10375905, -0.024843903, -0.17704584, -0.38188267, -0.022273883, -0.052648664, 0.023843734) * go_3(0.0, 0.0); - result += mat4(-0.019308437, 0.11114777, 0.037891697, -0.19779179, -0.12807496, 0.088208295, 0.030172369, -0.15013503, -0.016756423, 0.14051664, -0.26285377, 0.042917773, 0.06453378, -0.08796191, -0.081585675, 0.15746656) * go_3(0.0, 1.0); - result += mat4(0.15560047, -0.11516344, 0.060815338, 0.02788842, 0.065807484, -0.05893263, -0.028417928, 0.15392993, -0.13998096, -0.02846319, 0.19781885, -0.0042892233, 0.023775954, -0.07186699, -0.08902349, -0.0040389313) * go_3(1.0, -1.0); - result += mat4(-0.029780457, 0.03405355, 0.15919466, -0.076098606, -0.2720768, -0.09346569, 0.011175788, 0.12827738, -0.11231693, -0.082338266, -0.23049125, 0.0060438393, 0.17046458, -0.084095664, -0.12783897, -0.0033811557) * go_3(1.0, 0.0); - result += mat4(-0.15920804, -0.031552102, -0.037703227, 0.04630403, -0.06831918, -0.13371548, -0.07204236, 0.075606644, 0.0008713728, 0.051655423, -0.03179796, 0.07396804, 0.08326751, 0.04909321, -0.16277811, -0.053821247) * go_3(1.0, 1.0); - result += vec4(0.044672783, 0.0054000774, 0.012838655, 0.012880566); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x16 -//!HOOK MAIN -//!BIND conv2d_2_tf -//!BIND conv2d_2_tf1 -//!SAVE conv2d_3_tf1 -//!WIDTH conv2d_2_tf.w -//!HEIGHT conv2d_2_tf.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (max((conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_1(x_off, y_off) (max((conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) -#define go_2(x_off, y_off) (max(-(conv2d_2_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_3(x_off, y_off) (max(-(conv2d_2_tf1_texOff(vec2(x_off, y_off))), 0.0)) -vec4 hook() { - vec4 result = mat4(0.023084074, 0.124410845, -0.07633265, -0.055319328, -0.01517186, 0.14295614, -0.07503663, -0.025614632, 0.13240346, -0.03226547, -0.1885037, 0.0054779034, -0.13700709, 0.012034422, -0.100665666, -0.04637849) * go_0(-1.0, -1.0); - result += mat4(0.17279348, -0.1117425, 0.020616714, 0.19219209, -0.10763484, 0.05957945, -0.06645179, -0.39605787, 0.018953053, -0.0076624877, 0.021626225, 0.06481446, 0.015494609, 0.09402725, -0.06406817, 0.2227594) * go_0(-1.0, 0.0); - result += mat4(-0.058099292, -0.11518623, 0.2132743, 0.020687643, 0.008184537, 0.11968699, -0.10571772, -0.062003415, -0.15550426, -0.075320706, 0.07916489, -0.12999211, 0.06615706, 0.0019385616, 0.049465735, -0.1889946) * go_0(-1.0, 1.0); - result += mat4(-0.1622978, 0.017907398, 0.1659203, -0.059806764, -0.07048893, 0.1685776, 0.050520644, -0.2431823, -0.12721258, -0.06339284, 0.085628204, -0.091189444, 0.25758812, 0.04070486, 0.053773746, -0.11893524) * go_0(0.0, -1.0); - result += mat4(-0.103618085, 0.102481835, -0.22169636, 0.040654995, -0.1205846, -0.20582122, 0.26746815, -0.08736642, -0.0039492766, -0.11757396, 0.04142493, 0.18917418, 0.108022176, -0.04910141, -0.11761497, 0.13572049) * go_0(0.0, 0.0); - result += mat4(0.039745625, 0.08410416, -0.10677579, 0.16973664, -0.1410074, -0.003934978, 0.15166293, -0.077726685, 0.11654765, -0.08942332, -0.06309573, 0.03424992, 0.097424835, -0.05925229, -0.15971376, 0.054771252) * go_0(0.0, 1.0); - result += mat4(0.21810925, -0.13379937, 0.003457202, -0.0740407, -0.04113397, 0.22338098, -0.09423054, -0.14659059, -0.14809315, -0.20204006, -0.20982173, 0.08008986, 0.054350223, 0.0006716012, 0.0740431, -0.119953655) * go_0(1.0, -1.0); - result += mat4(-0.19984837, 0.09935334, 0.22447415, -0.094801225, -0.14136976, 0.08745708, -0.24244891, 0.00847296, -0.08948013, -0.014004481, 0.25290653, 0.063555606, -0.07524994, -0.07408672, 0.11267612, 0.100252755) * go_0(1.0, 0.0); - result += mat4(0.04035074, 0.07060041, -0.17620349, -0.010451698, -0.094020136, -0.16938278, -0.10883585, -0.05718897, -0.11660484, 0.02352999, 0.0020065825, -0.17529091, -0.05006221, 0.008459859, -0.038359825, -0.098998256) * go_0(1.0, 1.0); - result += mat4(-0.024106314, 0.20349175, -0.13804904, 0.1759582, -0.06129235, 0.016402973, 0.0042642443, 0.0054475963, -0.1481375, 0.0070920363, 0.04969078, 0.09393741, 0.054173905, 0.09999941, 0.017287906, -0.2473555) * go_1(-1.0, -1.0); - result += mat4(0.023549221, 0.2699595, 0.19839509, 0.11571793, 0.05720159, -0.18349497, 0.004656336, 0.19325277, -0.22592656, 0.00632149, 0.02072008, 0.025486875, 0.19387434, 0.051055286, -0.07155393, 0.236321) * go_1(-1.0, 0.0); - result += mat4(-0.022921111, -0.015070387, 0.132416, 0.10304856, -0.033137456, 0.061123066, 0.11646719, 0.16346346, -0.006592881, 0.045844246, 0.067021884, -0.037093706, 0.11968955, -0.04953915, 0.07807546, 0.019151682) * go_1(-1.0, 1.0); - result += mat4(-0.03848731, 0.22335933, 0.15562406, 0.0048226854, 0.019685498, -0.20854503, 0.028878238, -0.11230438, -0.18657033, 0.33065018, -0.040483832, -0.04137354, -0.16171388, -0.13971435, 0.045092385, -0.08261818) * go_1(0.0, -1.0); - result += mat4(0.27468714, -0.012483036, 0.014570405, 0.051394604, 0.10079902, -0.028610166, -0.037148714, 0.23037176, -0.08466429, 0.19924973, -0.11983431, -0.1213356, -0.0668911, 0.11002181, -0.15032084, 0.19913602) * go_1(0.0, 0.0); - result += mat4(0.20538397, 0.007205446, 0.28401932, 0.15651804, 0.08397654, -0.015027818, -0.10876324, 0.07107391, -0.0057743615, -0.21072052, 0.050882492, -0.043023735, 0.07339197, -0.14490032, -0.19984353, 0.028711267) * go_1(0.0, 1.0); - result += mat4(-0.06441066, 0.05898833, -0.15851422, 0.09378706, 0.1796046, 0.04915444, -0.122198924, 0.05510284, 0.09005594, -0.15086202, 0.05156559, -0.0038290205, -0.07313775, -0.011576973, 0.08879823, 0.060212377) * go_1(1.0, -1.0); - result += mat4(0.060711656, -0.018930973, -0.20445652, 0.26342344, 0.20649822, 0.040145937, 0.25179395, -0.383338, 0.10665385, 0.01670261, 0.07450397, -0.055127803, -0.09919968, -0.035250936, 0.24411964, 0.035487656) * go_1(1.0, 0.0); - result += mat4(0.061785128, 0.18385391, 0.07542207, 0.12311337, 0.039047312, 0.19154331, 0.017416347, 0.037380997, 0.012316348, -0.054833222, 0.045345817, 0.037723433, -0.17526425, -0.19138831, -0.10245899, -0.025172379) * go_1(1.0, 1.0); - result += mat4(-0.095452175, 0.01763143, 0.044323333, -0.18342718, -0.07608049, -0.13063331, -0.04408249, 0.19170558, -0.028332166, 0.10688128, 0.06592508, -0.089267924, 0.14501002, 0.047345184, 0.023934996, -0.044200625) * go_2(-1.0, -1.0); - result += mat4(-0.016626822, -0.07970185, 0.08588875, -0.105029896, 0.039143916, 0.011237451, -0.097376764, 0.1676857, 0.032234438, 0.11710176, 0.027038814, 0.16721085, 0.3314989, -0.030874668, 0.008423792, -0.019476378) * go_2(-1.0, 0.0); - result += mat4(0.22618619, 0.085527636, -0.32016438, 0.12341558, -0.044301614, -0.09926, 0.23238897, 0.106648825, 0.06233294, 0.08148856, -0.011464855, 0.012563924, 0.42670816, 0.047882944, -0.15090717, 0.14949873) * go_2(-1.0, 1.0); - result += mat4(-0.041434236, 0.08573797, -0.115930706, 0.10434313, -0.065136366, -0.09216472, -0.010771592, -0.09399721, 0.18499829, 0.05477479, -0.08361828, 0.1438163, -0.07708408, 0.022155926, -0.13946384, 0.06038386) * go_2(0.0, -1.0); - result += mat4(0.15247354, 0.03398321, 0.18624982, 0.07784426, 0.13269353, 0.035508234, -0.39917967, -0.01857192, 0.25889796, 0.10185387, -0.082967006, -0.2164908, -0.15297128, 0.07392975, 0.046402697, 0.25575057) * go_2(0.0, 0.0); - result += mat4(0.027411716, -0.09499365, 0.18237627, -0.15951535, 0.029458022, -0.0034055645, -0.06782287, -0.18549295, -0.06861718, 0.080667995, 0.18205914, 0.0032815845, -0.014329557, -0.057558123, 0.06118527, -0.09618032) * go_2(0.0, 1.0); - result += mat4(0.0015772117, 0.18827663, 0.100324236, 0.06878855, -0.16200748, -0.14571506, 0.09178515, 0.12292717, -0.2510271, 0.017681967, 0.22093235, 0.0077369376, 0.11009161, -0.028249215, 0.14313367, -0.078324586) * go_2(1.0, -1.0); - result += mat4(0.06563346, -0.14869916, -0.19218065, -0.076902084, 0.11948692, -0.047123928, 0.29994595, -0.19181353, -0.11609466, 0.004403949, -0.3214406, 0.026227064, 0.082104646, 0.055300966, -0.10642811, -0.14858083) * go_2(1.0, 0.0); - result += mat4(0.03861877, -0.053140018, 0.22070967, -0.13319753, 0.0152667, -0.11385774, -0.029441152, -0.11436287, 0.14595768, 0.030654332, -0.024585053, 0.1419581, 0.13153732, 0.09681562, 0.0018481648, -0.12095732) * go_2(1.0, 1.0); - result += mat4(0.18293242, 0.2995947, -0.1523105, 0.05910807, 0.005426522, -0.044822033, -0.09035138, 0.04573669, -0.29139313, -0.02088365, 0.031372104, 0.1297104, 0.10542233, 0.1489099, -0.028937085, 0.07561992) * go_3(-1.0, -1.0); - result += mat4(0.2536498, 0.1928668, -0.1704913, 0.23822568, -0.0852147, 0.090173855, 0.030125748, -0.19100352, 0.22918184, 0.0020779662, -0.021831438, 0.107597135, -0.2936972, 0.12130832, 0.13701162, 0.021217749) * go_3(-1.0, 0.0); - result += mat4(0.021717172, 0.004137688, -0.034700867, 0.20135467, -0.01702013, 0.08189879, -0.15139256, 0.08386443, 0.0224472, -0.05568821, -0.10856843, 0.13466471, -0.084221266, -0.046533186, 0.010171367, -0.04305552) * go_3(-1.0, 1.0); - result += mat4(0.12198384, 0.2257777, 0.01649945, 0.057661373, 0.036657415, 0.14896627, -0.062094893, -0.023339683, 0.01427483, -0.07004803, -0.106987864, 0.084477425, 0.100392066, 0.4239657, -0.13731097, -0.015948176) * go_3(0.0, -1.0); - result += mat4(0.18484823, 0.14842278, 0.1917101, 0.0017261811, -0.28832245, 0.24391034, -0.0027059368, 0.13844791, 0.2792461, 0.021598188, 0.11045796, -0.3566975, 0.15908128, 0.050878257, 0.23323049, -0.28149644) * go_3(0.0, 0.0); - result += mat4(0.0695204, 0.023186255, -0.116977215, 0.009542914, 0.035347883, -0.050900698, 0.12236831, 0.039584886, 0.0026391118, 0.022982135, 0.045543965, -0.03593827, -0.119991116, 0.015193567, 0.11916073, 0.16051346) * go_3(0.0, 1.0); - result += mat4(-0.0030996024, 0.0246898, 0.2294155, 0.056482725, 0.0003359388, -0.058500808, 0.28936625, 0.101023294, -0.07079487, 0.10426452, 0.057310604, 0.06240896, 0.0011665766, 0.11092869, 0.001830817, -0.074317746) * go_3(1.0, -1.0); - result += mat4(-0.0031791665, 0.052571185, 0.31358021, 0.14744279, 0.088989004, -0.022592302, -0.14505874, 0.15472636, 0.16133149, -0.114546925, -0.011468012, -0.22055939, -0.12211083, -0.17007804, -0.07113424, -0.048996948) * go_3(1.0, 0.0); - result += mat4(0.0011875579, -0.11039124, 0.097752735, -0.027111243, -0.079051666, -0.13598295, 0.06634845, 0.0044815145, 0.026033694, -0.08634671, -0.106540896, 0.18793283, 0.0651579, 0.01634577, -0.019540537, -0.03239664) * go_3(1.0, 1.0); - result += vec4(-0.056661878, -0.05212406, 0.004397819, 0.026770534); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x16 -//!HOOK MAIN -//!BIND conv2d_3_tf -//!BIND conv2d_3_tf1 -//!SAVE conv2d_4_tf -//!WIDTH conv2d_3_tf.w -//!HEIGHT conv2d_3_tf.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (max((conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_1(x_off, y_off) (max((conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0)) -#define go_2(x_off, y_off) (max(-(conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_3(x_off, y_off) (max(-(conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0)) -vec4 hook() { - vec4 result = mat4(0.07611433, 0.00069260073, -0.05454262, 0.12957887, 0.14265707, 0.04281913, 0.03050485, -0.19756468, -0.14385526, 0.28652385, 0.040589184, 0.1829918, -0.3350988, -0.123884544, -0.112361535, 0.027143003) * go_0(-1.0, -1.0); - result += mat4(-0.3268346, -0.097380735, -0.024646303, 0.11340725, 0.20906384, 0.092739835, 0.1467742, -0.11852963, 0.20303065, -0.038220204, 0.0842219, -0.1972842, -0.11760343, -0.011211319, -0.120051146, 0.052778307) * go_0(-1.0, 0.0); - result += mat4(0.06891292, -0.048061583, 0.050200496, -0.009614123, 0.20866057, -0.22210647, -0.057704005, -0.13468598, 0.13208859, -0.046814978, -0.09915921, 0.15799479, 0.0780453, 0.17949972, -0.0619374, 0.25909472) * go_0(-1.0, 1.0); - result += mat4(-0.2242734, -0.094041444, -0.088087186, -0.013186404, 0.36325935, -0.07615429, -0.08036615, -0.03943101, 0.028130528, -0.07042188, 0.01973296, 0.024862261, -0.15274256, -0.13160965, 0.03898846, -0.025086688) * go_0(0.0, -1.0); - result += mat4(0.10829376, 0.4056869, -0.3628768, -0.4394102, -0.026334643, -0.016491309, -0.3030165, -0.19792108, 0.03325393, 0.04701672, -0.07524556, -0.15265667, 0.012167987, 0.13126166, 0.11489333, -0.15954368) * go_0(0.0, 0.0); - result += mat4(0.11781219, -0.039476573, 0.09673635, -0.13005032, 0.34475398, -0.2519112, -0.1827494, -0.06777309, -0.0050454405, -0.23994331, 0.015187319, -0.04381755, -0.14106034, -0.15992747, 7.569843e-05, -0.10695843) * go_0(0.0, 1.0); - result += mat4(0.15761738, 0.032312497, -0.09893457, 0.05427011, 0.09091702, -0.04351285, -0.21222712, 0.10737368, 0.017597726, -0.04063057, -0.1425058, 0.14106944, -0.20473799, -0.1088016, 0.061825134, 0.119364515) * go_0(1.0, -1.0); - result += mat4(0.05797781, 0.25311553, 0.113456815, 0.21003357, 0.45371988, 0.32722816, -0.106663756, -0.059605323, 0.04580755, 0.14621577, 0.015550389, 0.027078668, 0.024150591, -0.08406038, -0.12055682, 0.13312024) * go_0(1.0, 0.0); - result += mat4(0.12547646, 0.1275007, 0.04390018, 0.08573128, 0.24624582, 0.10241075, 0.08834987, 0.004744208, -0.11387498, -0.026564453, -0.063222915, 0.07011588, -0.25863382, 0.033554282, 0.17409581, 0.24001913) * go_0(1.0, 1.0); - result += mat4(0.004538853, 0.003969273, 0.019179216, -0.060090583, -0.15261987, -0.051866557, -0.055171195, 0.06312153, 0.06501847, 0.21512789, 0.010202156, -0.14351548, 0.079149425, 0.038336836, 0.051681414, -0.031811398) * go_1(-1.0, -1.0); - result += mat4(-0.10193775, 0.024807528, -0.104548, -0.21734872, -0.23262694, -0.006929991, -0.045060672, 0.07210944, 0.05176562, 0.109369695, 0.122376986, -0.1578102, -0.057514355, -0.04709056, -0.022218054, 0.11346562) * go_1(-1.0, 0.0); - result += mat4(-0.074522264, -0.08566783, -0.0154488655, 0.011596329, -0.14903784, 0.13357231, -0.09271276, 0.033783495, -0.13040796, -0.0032317848, 0.028000062, -0.016889099, -0.031619422, 0.0383549, 0.11405314, 0.038575403) * go_1(-1.0, 1.0); - result += mat4(0.15591463, -0.07126545, -0.020502359, 0.019051287, 0.020083707, 0.123318754, -0.012915441, -0.061756875, 0.06055615, 0.15191963, 0.038310364, -0.09611425, 0.06773144, 0.05228793, 0.19312225, 0.056315295) * go_1(0.0, -1.0); - result += mat4(0.09312439, 0.07812543, 0.017653475, 0.33093494, 0.043607656, -0.28206465, 0.20450957, -0.0028626856, -0.25675696, -0.27933887, -0.06482212, 0.17029545, 0.13705534, 0.13840933, 0.031832147, 0.16511573) * go_1(0.0, 0.0); - result += mat4(-0.14189519, -0.029103378, -0.16506803, -0.07116757, 0.21498051, 0.07150645, 0.12059359, -0.23228803, 0.070557974, -0.1629968, 0.06365113, -0.002894127, 0.06663217, -0.086247586, 0.07448838, 0.04286364) * go_1(0.0, 1.0); - result += mat4(-0.13707988, -0.1469263, 0.1085344, -0.10413068, -0.008237682, 0.086509295, 0.16910231, 0.11238908, -0.07650496, 0.14699665, -0.0847104, -0.06796573, 0.05192359, -0.061438654, 0.1154557, 0.1018329) * go_1(1.0, -1.0); - result += mat4(0.19785388, 0.14498499, -0.0849947, 0.005500735, 0.2927029, -0.18231975, 0.04411215, 0.1907277, -0.035622295, 0.22010784, -0.11771614, 0.020242523, -0.050676037, -0.06310079, 0.2786518, 0.23240718) * go_1(1.0, 0.0); - result += mat4(0.018742802, -0.023773566, -0.03324256, -0.07386634, 0.19571917, 0.02572015, -0.1150821, -0.1515081, -0.018299734, 0.0324806, 0.028949002, 0.017401822, 0.09676991, -0.055546343, 0.05405755, 0.009785416) * go_1(1.0, 1.0); - result += mat4(-0.044944894, -0.01091652, -0.1010599, -0.11702583, 0.17702599, 0.06794799, -0.15815784, 0.029631298, 0.08108621, -0.061406925, -0.23874603, 0.20683736, 0.0038494568, 0.08497376, 0.09709636, 0.09608023) * go_2(-1.0, -1.0); - result += mat4(0.37273392, -0.012070004, 0.0026259068, -0.37999982, 0.113140516, -0.049797546, -0.04532357, 0.02472957, 0.007235772, -0.12341294, 0.017878233, 0.19900765, -0.110622026, -0.21629599, 0.066295, 0.022202184) * go_2(-1.0, 0.0); - result += mat4(0.0101809725, -0.093338944, -0.029706987, -0.2039197, 0.2778798, 0.1076651, -0.17640696, 0.08431019, 0.07296261, -0.1498039, -0.015624175, -0.10672176, -0.19283271, 0.0020267984, 0.08247179, 0.14691192) * go_2(-1.0, 1.0); - result += mat4(0.098305225, 0.093979836, 0.09812226, -0.029986268, -0.08895141, 0.12597217, -0.009328344, -0.3372727, 0.18639383, 0.020601746, -0.10134508, 0.16618988, -0.0872688, 0.015446251, 0.01679824, 0.24439567) * go_2(0.0, -1.0); - result += mat4(0.072902344, -0.022882424, 0.36304435, 0.14468616, 0.1872232, -0.094426654, -0.06229592, -0.6162401, -0.06438814, 0.21971054, -0.09088658, 0.1048316, -0.06269807, -0.04743165, -0.14971434, 0.27874416) * go_2(0.0, 0.0); - result += mat4(0.123426884, 0.0054508047, -0.09688366, -0.038053017, 0.22894366, 0.07882178, -0.032776073, -0.06879662, -0.31631073, -0.1449141, -0.08164326, 0.052758507, -0.123038135, 0.13797365, 0.16178517, 0.2244327) * go_2(0.0, 1.0); - result += mat4(0.06495569, -0.0009826894, 0.16160972, -0.18678336, 0.236566, 0.028446985, -0.013085661, -0.28069967, 0.08648273, 0.022918994, 0.16091296, -0.02348279, -0.023767162, 0.2518471, 0.0045394795, -0.058401313) * go_2(1.0, -1.0); - result += mat4(0.03726446, -0.111420244, -0.121497095, -0.3474077, 0.12769106, -0.29891765, -0.0747625, -0.34411705, -0.051122393, 0.011634093, 0.026329162, 0.14148863, -0.20776485, -0.017157374, 0.17181128, -0.13967182) * go_2(1.0, 0.0); - result += mat4(-0.10556732, -0.0013411737, -0.04417183, -0.17072037, 0.064428955, -0.13872433, -0.21063603, -0.2820139, -0.024909724, -0.01430731, 0.07289486, 0.16721697, -0.06863479, -0.053304728, -0.06933949, -0.034071624) * go_2(1.0, 1.0); - result += mat4(-0.007949938, -0.0516834, -0.10343717, 0.026149927, -0.07337704, -0.16761225, -0.0045793382, 0.017858233, -0.12526113, -0.10641539, 0.015804287, 0.123944804, -0.21776557, -0.060459364, -0.08809333, 0.02488287) * go_3(-1.0, -1.0); - result += mat4(-0.17596768, 0.05534064, -0.08184091, 0.23159462, 0.1483371, 0.008058285, 0.12200671, 0.15374108, -0.26509255, 0.008224077, 0.030676296, 0.09241693, -0.20197932, -0.058078803, -0.07532085, -0.16988097) * go_3(-1.0, 0.0); - result += mat4(0.14619698, 0.03934531, 0.023870481, 0.03018247, 0.119734555, -0.12765111, 0.15444115, 0.072472, 0.10293279, 0.08436681, 0.08892499, 0.012317973, -0.044464175, 0.04982994, -0.024063865, 0.06800085) * go_3(-1.0, 1.0); - result += mat4(-0.08683089, -0.10776265, -0.00094527786, -0.2747909, 0.11861209, -0.20391002, -0.026918199, 0.23655316, -0.2532196, 0.14337277, 0.19222228, -0.08717689, 0.001210352, -0.1550524, -0.13107522, 0.010864074) * go_3(0.0, -1.0); - result += mat4(0.047478884, -0.22009198, 0.012179018, -0.29231754, -0.033769928, 0.33042994, -0.08804175, 0.15425977, 0.16707046, 0.29586905, 0.19585042, 0.016994428, -0.15396369, 0.0407285, -0.12096026, 0.16919738) * go_3(0.0, 0.0); - result += mat4(0.03317703, 0.1165604, -0.070231564, 0.01984355, -0.26997003, 0.09504468, -0.048439924, 0.28169072, 0.0032175577, 0.14463696, -0.08283063, -0.027791047, -0.07326946, 0.07697455, -0.04840132, 0.18791585) * go_3(0.0, 1.0); - result += mat4(0.0025357709, -0.03608649, 0.09582044, -0.015501274, -0.12223805, -0.28531587, -0.06615618, -0.059664167, 0.0045120236, 0.032665573, 0.21127467, 0.03332066, 0.11206491, 0.06227719, -0.12447829, -0.14273243) * go_3(1.0, -1.0); - result += mat4(-0.0396929, 0.013260153, 0.009519977, -0.01552625, -0.13939723, -0.05735549, -0.2405872, -0.17358105, -0.17037499, -0.17896493, 0.036969725, -0.032576043, -0.17377263, 0.19436459, -0.24216534, -0.16069555) * go_3(1.0, 0.0); - result += mat4(-0.13728409, -0.032200925, -0.17054795, 0.0301398, -0.1759033, -0.13980027, -0.10020578, 0.05994936, -0.08728949, -0.10848021, -0.19899063, -0.026831288, -0.20569909, 0.10326256, -0.09928391, 0.09186353) * go_3(1.0, 1.0); - result += vec4(-0.019530268, -0.076072015, 0.099546686, -0.052649498); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x16 -//!HOOK MAIN -//!BIND conv2d_3_tf -//!BIND conv2d_3_tf1 -//!SAVE conv2d_4_tf1 -//!WIDTH conv2d_3_tf.w -//!HEIGHT conv2d_3_tf.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (max((conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_1(x_off, y_off) (max((conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0)) -#define go_2(x_off, y_off) (max(-(conv2d_3_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_3(x_off, y_off) (max(-(conv2d_3_tf1_texOff(vec2(x_off, y_off))), 0.0)) -vec4 hook() { - vec4 result = mat4(0.03468812, -0.025040576, -0.040357213, -0.10144934, 0.029278038, 0.012784388, 0.11369054, 0.065074876, -0.2994537, 0.03337696, -0.021247048, 0.109454796, -0.06564585, 0.13280483, -0.26093563, -0.31635156) * go_0(-1.0, -1.0); - result += mat4(-0.057347972, -0.009991103, 0.099468745, -0.25470397, 0.020214524, -0.14040078, 0.11621365, -0.21702243, -0.08815864, -0.024226611, 0.15957984, 0.0038349351, -0.1117121, 0.12235626, 0.04210072, -0.022768091) * go_0(-1.0, 0.0); - result += mat4(-0.06862763, -0.06640969, -0.04743523, -0.119578846, -0.065394014, -0.03725596, -0.024544863, -0.0054057585, -0.10949731, 0.053584844, -0.23929308, 0.09566949, -0.07449678, -0.03576739, 0.12940879, -0.07079955) * go_0(-1.0, 1.0); - result += mat4(0.036461655, 0.25460082, -0.07982328, -0.19522718, -0.03254293, 0.036196202, 0.040958907, -0.03215877, 0.034415744, -0.02777887, 0.039655875, 0.07135672, -0.28562683, 0.0007108314, -0.08466833, 0.19554499) * go_0(0.0, -1.0); - result += mat4(0.13049193, -0.14073345, -0.089465, -0.26292297, 0.15755294, -0.24011095, -0.21138282, -0.3042312, 0.032810543, -0.3224002, 0.18274418, -0.102290265, 0.11580708, 0.05974552, 0.20107271, 0.1590196) * go_0(0.0, 0.0); - result += mat4(0.033967074, -0.107581116, 0.055039767, 0.09721266, 0.2154029, -0.20632939, -0.15242831, 0.11850663, 0.09247831, 0.11989475, -0.049962625, -0.12559529, 0.37090197, 0.016117109, 0.024671199, -0.115502045) * go_0(0.0, 1.0); - result += mat4(-0.10834775, 0.23086002, -0.03264123, -0.14101249, -0.034838706, 0.082076944, -0.032610163, -0.11928613, -0.124823906, 0.10047356, -0.14574133, 0.02361127, -0.20715515, 0.0013805936, -0.0048934063, 0.07899259) * go_0(1.0, -1.0); - result += mat4(0.065580405, 0.010346007, -0.042731877, 0.23664358, 0.07387398, -0.050419506, -0.22325715, 0.100542866, -0.056392547, 0.03138939, -0.048086885, 0.12425134, 0.0038931419, 0.08424444, 0.10239084, -0.09981085) * go_0(1.0, 0.0); - result += mat4(0.07384302, -0.0012278382, -0.00692358, 0.06624064, 0.18893376, -0.09161163, -0.004666679, 0.14710985, 0.11464493, 0.0015369639, 0.044133663, 0.0682419, -0.12625584, 0.10784675, -0.12642388, 0.10412759) * go_0(1.0, 1.0); - result += mat4(0.12622373, -0.08223247, 0.26331243, 0.07090146, 0.11661435, 0.018525852, -0.10957812, 0.0048246454, 0.28687242, -0.036613967, -0.023887593, -0.15102625, 0.04360193, -0.036385544, 0.27436587, 0.053277273) * go_1(-1.0, -1.0); - result += mat4(0.019481674, 0.061355907, -0.027242143, -0.30644935, -0.058067504, 0.031703155, -0.11850921, 0.10620572, 0.14462997, -0.23857886, 0.124264434, -0.018748958, 0.018692395, 0.0013274389, -0.2550112, 0.13483934) * go_1(-1.0, 0.0); - result += mat4(-0.22713095, 0.026746867, 0.11336204, -0.092137575, -0.1948921, 0.09705406, 0.16184933, 0.079849824, 0.10637422, -0.17866692, -0.14234395, -0.047621317, -0.03098296, 0.0007102387, -0.094330356, -0.033800215) * go_1(-1.0, 1.0); - result += mat4(0.122073606, 0.036749028, 0.13858977, 0.12494544, -0.029290048, -0.030899357, 0.042229995, 0.22829561, 0.16356787, -0.12961, 0.1257477, -0.18517897, -0.061658602, 0.09743219, 0.15378441, 0.1118787) * go_1(0.0, -1.0); - result += mat4(-0.03905139, 0.13605735, -0.34844247, 0.10222155, 0.18598092, -0.15298563, 0.0077360077, 0.19224864, 0.2405787, -0.3439579, 0.14131385, -0.12699544, -0.07686357, 0.061408058, -0.14416519, -0.24121785) * go_1(0.0, 0.0); - result += mat4(-0.059507262, -0.14343439, 0.17479269, 0.12277135, -0.008617992, -0.032070186, 0.07046295, -0.008964226, -0.042853735, -0.047887612, 0.015222716, -0.06029098, 0.027422715, -0.03295963, -0.1058652, -0.042684443) * go_1(0.0, 1.0); - result += mat4(0.21764119, 0.18296818, -0.12536874, -0.18843439, -0.03285698, 0.05632839, 0.007204522, -0.017514471, -0.08810164, 0.05179028, -0.06559382, -0.08126501, 0.004906716, -0.008639433, -0.044015016, 0.05110506) * go_1(1.0, -1.0); - result += mat4(0.10256641, -0.09172951, -0.013037941, 0.14868897, -0.030030038, 0.037410714, -0.00961147, -3.393848e-05, 0.027525559, 0.089975886, -0.08035047, -0.04564953, -0.1193064, 0.012412308, -0.10036451, -0.087979235) * go_1(1.0, 0.0); - result += mat4(0.27152556, -0.07827847, 0.045174606, -0.06850626, -0.062120732, -0.1086789, -0.016683338, 0.013933034, 0.050839353, -0.008933534, -0.03583462, -0.026311679, 0.013297648, 0.004181163, 0.058807008, 0.14192006) * go_1(1.0, 1.0); - result += mat4(-0.049311683, 0.04869572, -0.072317414, 0.06617943, -0.003940392, 0.010877805, -0.30608538, 0.011722172, -0.17413041, -0.040700294, -0.124844685, -0.13452694, -0.028352736, -0.023415716, 0.13398853, 0.17470263) * go_2(-1.0, -1.0); - result += mat4(-0.28593457, -0.027456988, -0.17636865, 0.17658663, -0.03298212, 0.01263554, -0.15201606, 0.1325892, -0.16743393, 0.04653223, -0.18386483, -0.28851315, 0.07630085, -0.036135975, -0.13019103, 0.027110243) * go_2(-1.0, 0.0); - result += mat4(0.07388453, -0.21454096, 0.0934511, 0.014147877, 0.04752374, 0.15265656, -0.047034554, 0.024808157, 0.011846126, 0.019057665, 0.14646153, 0.110351466, 0.06341136, -0.011226942, 0.020804636, -0.08400428) * go_2(-1.0, 1.0); - result += mat4(-0.10205136, -0.22885224, -0.031966522, 0.19184375, 0.14953206, 0.063513644, -0.019193115, 0.0012388107, -0.21147738, -0.0046343296, -0.0008558616, 0.24945074, -0.00326606, 0.0054526166, -0.0208125, -0.26897764) * go_2(0.0, -1.0); - result += mat4(-0.26102835, 0.23526551, 0.017452138, 0.060781505, -0.1302375, 0.14745368, 0.35308328, 0.17415342, -0.45459843, 0.101833865, -0.1422136, 0.0029134827, -0.11105084, -0.15853414, 0.12081168, -0.021762481) * go_2(0.0, 0.0); - result += mat4(0.15345731, -0.09487171, -0.025768504, 0.018645404, 0.02194758, 0.026727645, 0.05635856, -0.056292012, -0.067659646, 0.08224903, -0.12852308, 0.03901573, -0.35949922, 0.10717667, 0.013725559, 0.063770495) * go_2(0.0, 1.0); - result += mat4(0.13174574, -0.11450555, -0.061899733, -0.16713087, 0.15577973, 0.03498014, 0.008662038, -0.0026135545, 0.08448153, -0.022851696, -0.08821964, -0.0060381736, -0.09796358, -0.043582536, 0.0029376054, -0.009868066) * go_2(1.0, -1.0); - result += mat4(-0.0019510221, 0.01659858, 0.034301683, -0.12198387, 0.022960715, -0.050900064, 0.19702697, -0.08875124, 0.07594619, -0.10267307, -0.17050001, 0.11649957, -0.16553314, -0.073051244, 0.03398374, 0.1482734) * go_2(1.0, 0.0); - result += mat4(0.21494052, 0.027068263, 0.013665851, -0.05822134, -0.12735859, -0.03942586, -0.06702959, -0.029146753, -0.18226482, -0.050884847, -0.005905716, 0.11295532, -0.12915218, 0.101449385, -0.002776989, -0.20698552) * go_2(1.0, 1.0); - result += mat4(0.07910698, -0.059762884, 0.008875, -0.02318169, -0.28850275, 0.058015194, 0.33437124, 0.02541086, -0.2046889, -0.07152897, -0.3134712, -0.12793685, 0.02844894, 0.09522887, 0.009258432, 0.009866841) * go_3(-1.0, -1.0); - result += mat4(-0.12788393, 0.00039419648, -0.08327131, 0.054615278, -0.02956321, 0.09129538, 0.007567533, -0.32633132, 0.31397536, -0.2168834, -0.009610686, -0.024379876, -0.054551404, 0.2993139, 0.007876021, -0.05026748) * go_3(-1.0, 0.0); - result += mat4(0.06879313, 0.099600896, -0.20461527, 0.12237463, -0.033830892, 0.15692532, 0.0063437778, -0.14512335, 0.20007284, -0.11566932, -0.05681947, -0.23377812, -0.0060580666, -0.015349808, 0.105605006, 0.16265358) * go_3(-1.0, 1.0); - result += mat4(0.09559436, -0.13561809, 0.03557711, 0.23146293, -0.027393512, 0.06560806, -0.09282121, -0.15429997, -0.038594987, -0.23231098, -0.39323667, -0.17862265, -0.12850037, -0.009714518, 0.029159905, 0.0945621) * go_3(0.0, -1.0); - result += mat4(-0.09421487, 0.024573201, 0.12218571, -0.05992645, 0.05791059, 0.104942456, -0.24677756, -0.32702264, 0.0450261, 0.05913225, -0.4827415, 0.15849431, -0.09008155, 0.015619016, -0.1076734, -0.07297107) * go_3(0.0, 0.0); - result += mat4(-0.08708443, 0.18420468, 0.080029674, -0.03613447, -0.08150535, 0.20170385, -0.1839727, -0.07096443, 0.22076745, -0.16482067, -0.17313376, -0.15058139, -0.06423259, -0.008002503, 0.115214355, -0.20464574) * go_3(0.0, 1.0); - result += mat4(0.15253943, 0.021180302, 0.017639691, 0.019818407, -0.21812205, 0.03190447, 0.05643516, -0.13314338, 0.15148774, -0.17364718, -0.07524703, -0.1687782, 0.007603104, -0.041041937, 0.030230734, 0.11656707) * go_3(1.0, -1.0); - result += mat4(0.22730835, 0.19332185, -0.014638558, -0.12406841, 0.020797553, -0.038332243, 0.02058134, -0.027444577, 0.19728261, -0.31533754, -0.017901527, 0.055406213, 0.024088578, -0.08686399, -0.14724484, -0.004336983) * go_3(1.0, 0.0); - result += mat4(-0.18748617, 0.0014136995, 0.09263894, 0.12671424, 0.0019485927, 0.059831657, -0.16003697, -0.026203299, 0.12356587, -0.12105653, -0.07238231, -0.061822355, -0.14866437, 0.092749156, -0.043960627, 0.05732517) * go_3(1.0, 1.0); - result += vec4(0.037175197, 0.013056935, 0.047018778, 0.06796101); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x16 -//!HOOK MAIN -//!BIND conv2d_4_tf -//!BIND conv2d_4_tf1 -//!SAVE conv2d_5_tf -//!WIDTH conv2d_4_tf.w -//!HEIGHT conv2d_4_tf.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (max((conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_1(x_off, y_off) (max((conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0)) -#define go_2(x_off, y_off) (max(-(conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_3(x_off, y_off) (max(-(conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0)) -vec4 hook() { - vec4 result = mat4(0.008722481, 0.051887427, 0.0834604, -0.07686618, 0.18138525, -0.0047683255, 0.07215532, 0.014987565, -0.1273039, 0.024147457, -0.053874422, 0.17984723, 0.0289495, 0.028551359, 0.26588982, -0.061111912) * go_0(-1.0, -1.0); - result += mat4(0.120593645, -0.031606745, -0.10051263, 0.057811573, 0.028308602, 0.31455278, 0.30273178, -0.047947377, 0.06426806, -0.11426649, -0.0872584, 0.0546777, 0.08984364, -0.19473243, 0.2784978, -0.07284762) * go_0(-1.0, 0.0); - result += mat4(-0.1522323, -0.011954254, -0.004193199, -0.08897685, -0.24151884, -0.015034903, -0.07857668, 0.29543686, -0.07557066, 0.00948835, -0.2799557, 0.10770242, 0.08839014, 0.02501145, 0.17109324, -0.11276058) * go_0(-1.0, 1.0); - result += mat4(-0.038171593, 0.009941158, -0.21299914, -0.1613502, -0.097583584, 0.060578212, -0.115756914, -0.020422485, -0.19080102, 0.033586994, -0.28631124, 0.051352926, -0.051622774, -0.3538617, 0.40968165, 0.04799995) * go_0(0.0, -1.0); - result += mat4(-0.0022906307, -0.053616945, -0.011060599, 0.14069486, 0.069354646, -0.07138722, 0.18840292, 0.21224746, 0.08347652, -0.0037365244, -0.28766513, -0.031285044, -0.1186365, -0.16384678, 0.000931571, 0.08124224) * go_0(0.0, 0.0); - result += mat4(0.03345984, 0.07959609, 0.06492848, 0.11057531, 0.18869394, -0.3454891, -0.20877995, -0.03183394, 0.103944264, 0.2338131, -0.061058413, 0.0366702, 0.014476002, 0.27132034, 0.110094935, -0.1118376) * go_0(0.0, 1.0); - result += mat4(0.09886484, 0.034951188, -0.07174518, 0.28686956, -0.14963649, 0.21779756, 0.10035872, -0.020515021, -0.06861276, -0.0626272, -0.036789287, 0.046391338, 0.03294667, -0.034716338, -0.01313225, -0.2856092) * go_0(1.0, -1.0); - result += mat4(-0.08674945, 0.02369144, 0.15425129, -0.23662314, -0.13467538, 0.105128296, 0.06861766, 0.18448833, -0.10616233, 0.10394725, 0.15729731, 0.1849579, -0.042698417, -0.018846292, -0.11590955, -0.022613408) * go_0(1.0, 0.0); - result += mat4(0.09022309, -0.088563815, 0.008163722, -0.043980505, -0.030630596, 0.08243288, -0.047062926, -0.07691428, -0.00605382, 0.17177147, -0.048464846, 0.040765304, 0.08538351, -0.08111774, -0.109897666, 0.06505392) * go_0(1.0, 1.0); - result += mat4(0.026837217, -0.061374202, -0.24980344, 0.029805357, 0.027509978, 0.080391124, 0.10986393, -0.0120047, 0.11286819, 0.049519926, 0.08920538, 0.020120902, 0.14569879, 0.00876268, 0.17263329, -0.05923125) * go_1(-1.0, -1.0); - result += mat4(0.011666333, -0.10946894, -0.012641178, 0.0005186066, -0.43876958, -0.028053407, -0.012163765, 0.18817323, 0.21721466, -0.0927291, 0.07293807, -0.09844837, 0.014845449, 0.019646518, 0.18314566, -0.04604414) * go_1(-1.0, 0.0); - result += mat4(0.1438033, -0.12539811, -0.08183431, 0.020469757, 0.04644138, -0.019686574, -0.22896141, 0.010642197, 0.06690323, 0.041082174, 0.25014195, -0.31383613, 0.08273627, -0.012323569, 0.0066909003, -0.033178177) * go_1(-1.0, 1.0); - result += mat4(-0.009489027, 0.0009808654, 0.03661251, 0.06881577, -0.056627303, 0.21983047, -0.041154023, -0.3443599, 0.07706969, -0.038848232, -0.03691364, -0.051495727, 0.049145017, -0.024649566, 0.068479694, -0.029993264) * go_1(0.0, -1.0); - result += mat4(-0.18629244, -0.0020942618, 0.24410431, 0.05428358, -0.18847096, -0.070468634, 0.059144102, -0.1741916, 0.12284205, 0.02092296, -0.046860296, 0.044630613, -0.03451321, -0.009175345, -0.3019387, 0.026538027) * go_1(0.0, 0.0); - result += mat4(-0.07606478, 0.13905904, -0.06378792, 0.004454187, -0.10709678, 0.32452786, 0.034267295, 0.047862314, -0.07127401, 0.1198157, 0.10641721, -0.07840971, 0.036159378, -0.026954172, 0.2308446, 0.0012459883) * go_1(0.0, 1.0); - result += mat4(-0.37720615, 0.053532958, 0.10666788, -0.28346163, -0.032506786, -0.18192641, 0.020339843, 0.05375776, 0.041042186, 0.009635523, -0.19142996, 0.13605832, 0.1664714, 0.07824939, 0.29365268, -0.25680393) * go_1(1.0, -1.0); - result += mat4(-0.15706214, -0.24217391, -0.22301108, 0.012603789, 0.011545323, -0.34180862, 0.14295986, -0.28347465, 0.18270631, 0.575269, 0.18290988, -0.24476893, -0.018570915, 0.16384552, 0.31610188, -0.060493) * go_1(1.0, 0.0); - result += mat4(-0.055723697, 0.02707741, -0.11877054, 0.13594125, 0.011644659, 0.07900802, -0.16736464, 0.05834513, -0.033514276, 0.06491204, 0.11921457, -0.19378218, -0.047084022, 0.078751884, 0.41518387, 0.028017662) * go_1(1.0, 1.0); - result += mat4(0.1476509, 0.18146034, -0.02024178, 0.064291224, -0.024678335, 0.07906982, -0.0903972, -0.22487745, 0.01422112, 0.008870304, -0.1467864, 0.15810189, 0.0023520999, -0.07354253, -0.0455733, -0.051816985) * go_2(-1.0, -1.0); - result += mat4(0.02350863, 0.13140343, -0.20395671, -0.02303875, 0.050100137, -0.19182885, 0.09808918, -0.2691828, 0.18020585, -0.20702761, -0.32315332, 0.1070252, -0.12014059, 0.16571295, -0.14315218, 0.261285) * go_2(-1.0, 0.0); - result += mat4(0.06471253, 0.25061622, -0.29944092, 0.03030446, 0.10178075, -0.082758114, 0.006492503, -0.12981716, 0.02433362, -0.06328227, 0.012130906, 0.010512243, -0.004719057, -0.077618904, -0.105193205, 0.0591405) * go_2(-1.0, 1.0); - result += mat4(0.2727937, -0.014145066, -0.15083927, 0.42058715, 0.09603077, 0.055030264, 0.050416972, 0.35988006, 0.062207945, -0.1025778, -0.042224392, -0.08335956, -0.12864581, 0.054776657, 0.085381046, -0.09867058) * go_2(0.0, -1.0); - result += mat4(-0.055995848, -0.011751584, 0.08677143, -0.026014913, -0.055249013, -0.013125429, 0.081987485, -0.21910794, -0.28380868, 0.2962183, -0.2524013, 0.39787018, 0.0077664712, 0.10838064, 0.040623832, 0.014169495) * go_2(0.0, 0.0); - result += mat4(0.04020957, 0.25042117, -0.19723387, -0.12173471, -0.057498246, 0.14014146, 0.11658953, 0.22996512, -0.37949148, 0.11829378, -0.11504354, -0.011162402, 0.06799766, -0.19519551, -0.03942572, 0.088661894) * go_2(0.0, 1.0); - result += mat4(0.07476507, 0.34229803, -0.22139816, -0.10665003, 0.036967665, 0.018090246, -2.7755046e-05, -0.04466151, -0.0052310578, 0.0044945558, 0.0520175, 0.14077292, -0.009277954, -0.092173904, 0.06458871, -0.018672332) * go_2(1.0, -1.0); - result += mat4(0.12608835, 0.30719075, -0.22274853, 0.09311523, -0.0249615, -0.093764685, 0.04794566, -0.28436977, 0.10496276, 0.06427681, -0.03911664, 0.13729934, -0.16428234, 0.17577858, 0.09157468, -0.32174468) * go_2(1.0, 0.0); - result += mat4(0.034631833, 0.40806758, 0.061315805, -0.11818713, -0.06632442, -0.08192434, -0.040983357, 0.15657653, 0.15144306, 0.08955732, 0.22281046, 0.067661226, -0.0016750945, 0.09390973, -0.049239084, -0.14162084) * go_2(1.0, 1.0); - result += mat4(-0.0046310546, -0.09308065, -0.23862192, -0.14205109, -0.024665013, -0.012917835, -0.15191036, -0.14561374, 0.15143596, -0.026674103, -0.1532805, -0.17460854, 0.046761326, -0.06669407, 0.11672504, -0.10767437) * go_3(-1.0, -1.0); - result += mat4(0.0024401934, 0.11653746, 0.013025881, 0.10290938, 0.022024607, 0.09804524, 0.10535332, 0.052557938, 0.048438292, 0.084257096, -0.005306355, -0.10893925, 0.09817762, 0.002601647, 0.15697762, -0.009542607) * go_3(-1.0, 0.0); - result += mat4(-0.03555972, -0.11401605, 0.029287579, 0.19276759, 0.06674013, 0.1123805, -0.030185036, 0.34196535, 0.09892532, 0.019209255, -0.10689044, 0.082349256, 0.037754513, 0.11466501, 0.11601561, -0.05133245) * go_3(-1.0, 1.0); - result += mat4(-0.122860275, 0.15516993, -0.04225271, 0.04585171, -0.12246802, -0.11503464, -0.1342195, -0.30016133, 0.013857749, -0.10084713, 0.10937627, -0.087014146, -0.09573094, 0.09826018, 0.23323071, 0.019698432) * go_3(0.0, -1.0); - result += mat4(0.0034121138, -0.103220366, -0.27100715, -0.285611, -0.21037325, -0.017924516, -0.05555747, -0.05052527, -0.06888551, -0.1459063, -0.11089435, -0.06696334, 0.01905147, -0.30713603, 0.17677185, -0.017169544) * go_3(0.0, 0.0); - result += mat4(-0.10419749, -0.027251331, 0.009915915, 0.030409086, 0.07578565, -0.14770605, 0.10289873, 0.06973991, 0.18124028, -0.16458279, -0.0077831256, -0.07265405, -0.030383384, -0.13958158, 0.17016695, -0.12504026) * go_3(0.0, 1.0); - result += mat4(-0.03958783, 0.110300444, -0.15736125, -0.07362751, -0.11236959, 0.21275997, 0.11567579, 0.2130723, 0.19763643, -0.06043771, 0.27111322, -0.09655215, 0.06501969, -0.089630194, -0.12475299, -0.010626794) * go_3(1.0, -1.0); - result += mat4(-0.09106905, 0.28555936, -0.026906602, -0.017881172, -0.16168934, 0.09433354, 0.05691931, 0.25447145, -0.09285059, -0.3623674, -0.19763657, -0.18649969, -0.07874302, -0.095489115, -0.10359398, -0.033316527) * go_3(1.0, 0.0); - result += mat4(0.021766307, 0.007963801, -0.059306223, -0.014710337, -0.12915602, 0.18157053, 0.17133343, 0.19800039, 0.028378798, -0.01411956, 0.09014816, -0.19558606, -0.027188873, -0.15458673, -0.16312951, 0.017360168) * go_3(1.0, 1.0); - result += vec4(0.046252128, -0.08161379, 0.013014555, 0.027252534); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x16 -//!HOOK MAIN -//!BIND conv2d_4_tf -//!BIND conv2d_4_tf1 -//!SAVE conv2d_5_tf1 -//!WIDTH conv2d_4_tf.w -//!HEIGHT conv2d_4_tf.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (max((conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_1(x_off, y_off) (max((conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0)) -#define go_2(x_off, y_off) (max(-(conv2d_4_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_3(x_off, y_off) (max(-(conv2d_4_tf1_texOff(vec2(x_off, y_off))), 0.0)) -vec4 hook() { - vec4 result = mat4(0.16613244, -0.0581913, 0.081413746, -0.14830108, -0.15322503, -0.0005429886, 0.15506133, -0.0014870875, 0.08851735, -0.016674649, -0.17314781, -0.030313388, -0.14510283, 0.19856285, -0.169988, -0.036220286) * go_0(-1.0, -1.0); - result += mat4(-0.23817252, 0.018638168, 0.07871864, -0.015092111, 0.034281116, -0.4006987, 0.16341843, 0.040500045, -0.005253854, 0.12097709, -0.031128237, 0.0059543783, 0.13051504, 0.1337595, -0.06399608, 0.15821491) * go_0(-1.0, 0.0); - result += mat4(0.008937914, -0.015773999, -0.021237608, -0.08803064, 0.14235224, -0.21243586, 0.10571499, -0.06759076, 0.1634989, 0.06591315, 0.030064648, -0.019276317, -0.06580521, -0.07390182, -0.011897008, -0.23399718) * go_0(-1.0, 1.0); - result += mat4(0.006822691, 0.023316078, -0.1421887, -0.11096296, 0.0060434463, 0.012121966, -0.15823226, -0.08438852, 0.034511346, -0.013969288, 0.07319478, -0.04730292, 0.06910189, 0.3788829, -0.39420736, 0.01244209) * go_0(0.0, -1.0); - result += mat4(0.04920052, 0.06729769, -0.07169209, -0.0073736385, -0.069936775, -0.13125773, 0.0103923725, 0.058394063, 0.019603554, -0.10106625, -0.32539716, -0.059327364, -0.031574875, 0.26247534, -0.06735535, -0.11087475) * go_0(0.0, 0.0); - result += mat4(-0.070971146, 0.12371577, 0.07981792, -0.056028504, 0.3607138, -0.042136755, 0.051763125, 0.2866581, 0.06441375, -0.10535746, 0.04692427, 0.1028899, 0.073789336, 0.111428834, 0.024932338, 0.002242482) * go_0(0.0, 1.0); - result += mat4(-0.03625048, 0.014327111, -0.06545388, -0.05008451, -0.047524035, 0.15458198, -0.13158742, 0.25617033, -0.120794624, 0.0040447623, -0.22528873, -0.24546304, -0.03410093, 0.20221181, -0.15938841, 0.07121263) * go_0(1.0, -1.0); - result += mat4(-0.049063776, -0.13474956, -0.10370751, -0.046527456, -0.1018613, 0.02736878, 0.0003771524, 0.27637404, -0.17976086, -0.0060337717, -0.20648295, 0.06936666, 0.09472091, 0.23776895, 0.19416358, 0.105760604) * go_0(1.0, 0.0); - result += mat4(-0.049609415, -0.06550162, -0.01661433, 0.045897793, 0.35017186, 0.124585286, -0.08800801, 0.05525382, 0.046786968, 0.023535552, -0.014395217, -0.08779496, 0.048151754, 0.04109896, 0.07176499, -0.070299596) * go_0(1.0, 1.0); - result += mat4(-0.043866172, -0.121729136, 0.066755235, -0.23287094, -0.13287245, -0.10731014, 0.12191964, 0.012871465, -0.13021651, 0.07653765, 0.03902418, 0.060569137, -0.10022457, 0.041915227, 0.034802075, 0.029932518) * go_1(-1.0, -1.0); - result += mat4(0.09363377, 0.04919797, -0.010943963, 0.04571612, -0.017318359, 0.23184317, -0.09093464, -0.019045979, -0.02738578, 0.16434401, 0.08040132, 0.15215163, 0.01711683, 0.10011927, 0.06739137, -0.12672469) * go_1(-1.0, 0.0); - result += mat4(-0.011767831, -0.17184715, -0.110564925, -0.0044015027, 0.076695606, 0.074056305, 0.04285727, 0.22983201, 0.045116324, 0.16210665, 0.039773945, 0.10490251, 0.022370273, 0.20483829, 0.08983195, -0.050567918) * go_1(-1.0, 1.0); - result += mat4(0.0700374, -0.048313852, 0.14639342, 0.028823733, 6.3237196e-05, -0.057914346, -0.002975626, -0.058136456, -0.09867344, 0.06728903, 0.04557553, 0.16246675, -0.04776987, 0.056743547, 0.002995315, -0.14374384) * go_1(0.0, -1.0); - result += mat4(-0.233037, 0.06469635, 0.04175379, 0.22778153, -0.14334461, -0.06685442, 0.03636081, -0.014985893, 0.14960432, -0.041300587, -0.108456604, 0.43048817, 0.18865333, -0.21546814, -0.49353185, -0.38243565) * go_1(0.0, 0.0); - result += mat4(0.09449469, -0.01590968, -0.06674673, -0.25604162, 0.14524701, -0.13716581, 0.05373454, 0.15762699, 0.20203952, -0.040922865, 0.013201345, 0.122196205, -0.20461614, -0.1880677, 0.0412125, 0.3014455) * go_1(0.0, 1.0); - result += mat4(-0.012805236, 0.045115847, 0.06827183, 0.015126339, 0.0972461, 0.064015545, -0.013910371, -0.023982372, 0.04474763, 0.13165843, 0.07865472, 0.19647053, -0.12131488, 0.20134778, 0.12988983, 0.1782831) * go_1(1.0, -1.0); - result += mat4(-0.03461847, 0.13118832, 0.13003772, 0.022972263, -0.068508185, 0.18610281, -0.05661006, -0.07925518, -0.14607808, 0.12201288, 0.25841466, 0.23837866, -0.117601916, -0.10347796, -0.21910201, 0.249433) * go_1(1.0, 0.0); - result += mat4(-0.046659987, -0.16484095, -0.030933004, -0.05057709, 0.26255512, 0.16073991, -0.03490519, 0.106679074, 0.034229975, 0.3272117, 0.0024651212, 0.022446323, -0.12756552, -0.08938153, -0.16247164, 0.11621759) * go_1(1.0, 1.0); - result += mat4(-0.13575508, -0.0546962, 0.18672574, -0.2320256, 0.14246312, -0.2608289, -0.04937707, -0.13825032, -0.24952413, 0.09305395, 0.0189025, -0.023215871, -0.053750746, 0.13940616, 0.017293463, 0.12614514) * go_2(-1.0, -1.0); - result += mat4(0.33033153, -0.1978295, -0.028292509, -0.20903575, 0.14921378, -0.3799901, -0.0042177686, -0.11679605, -0.13273408, -0.3588054, 0.12228484, -0.2641321, -0.18729438, -0.089396976, 0.076826215, -0.034515765) * go_2(-1.0, 0.0); - result += mat4(0.12370568, -0.1419704, 0.20033756, -0.1616098, -0.077917464, 0.022179203, -0.11723773, 0.014533634, 0.058341276, -0.12361406, 0.03625623, 0.16676733, -0.19537404, 0.052992765, 0.047347274, 0.03707248) * go_2(-1.0, 1.0); - result += mat4(0.12697747, -0.23475395, 0.3332558, 0.19326648, 0.118694864, -0.11381353, 0.11252321, 0.01251366, -0.1538229, -0.049346194, -0.15446706, -0.0029870146, -0.15278254, 0.1472905, 0.13959934, 0.07441651) * go_2(0.0, -1.0); - result += mat4(0.005431972, -0.42120433, 0.12950188, 0.12653181, -0.15165293, -0.22083387, 0.052452374, 0.21212403, 0.19233827, -0.115824156, 0.15450667, 0.01119003, 0.13444534, 0.05104997, 0.017549876, 0.08701594) * go_2(0.0, 0.0); - result += mat4(0.20444208, -0.26945463, 0.060124572, -0.14649326, -0.2573408, -0.24195886, -0.069223076, 0.07058752, 0.09630279, -0.047251232, -0.0857095, -0.06363708, -0.121366076, 0.21444392, 0.08334784, 0.051779702) * go_2(0.0, 1.0); - result += mat4(0.2221165, -0.11572562, 0.25381225, -0.05567898, 0.20695157, 0.004014027, 0.14588071, -0.1656522, 0.06633586, -0.048514888, 0.22300029, 0.3255589, -0.067879446, -0.085757956, 0.028550357, -0.1138175) * go_2(1.0, -1.0); - result += mat4(0.250269, 0.16447397, 0.16031978, -0.07230705, 0.037975498, 0.01476777, -0.12412424, -0.083709694, 0.10282629, 0.014961248, 0.19127797, 0.18746781, 0.10279737, -0.19332492, -0.12544742, -0.12829539) * go_2(1.0, 0.0); - result += mat4(0.13897665, 0.013887283, 0.20341265, -0.1679854, 0.025909092, 0.040785797, 0.041057184, 0.11663699, -0.07447668, -0.08219375, 0.23569307, 0.12978245, -0.20286638, 0.04919911, 0.039286364, -0.013212454) * go_2(1.0, 1.0); - result += mat4(0.0041770595, 0.0005471224, -0.11561924, 0.049575947, 0.005516732, 0.28651702, -0.029673418, 0.20829003, 0.054354783, 0.25182283, 0.040655144, 0.051908616, -0.13155626, 0.054772742, 0.15261164, -0.15783058) * go_3(-1.0, -1.0); - result += mat4(-0.027295813, 0.037753053, -0.20230031, 0.08085605, 0.121738344, 0.043915503, -0.013419608, -0.20859095, -0.09957871, 0.16058925, 0.031114213, 0.00883565, 0.042434245, 0.00015958508, 0.077593155, 0.076078825) * go_3(-1.0, 0.0); - result += mat4(-0.1411724, 0.1919647, 0.019350272, 0.040807012, 0.047109984, 0.0060781245, 0.12526557, 0.032970488, -0.027210068, 0.06420343, 0.07193583, 0.00950229, 0.051925395, 0.019653596, -0.014397855, -0.00768324) * go_3(-1.0, 1.0); - result += mat4(0.065547965, 0.063657746, -0.12126232, 0.024442244, -0.08506229, 0.09278205, -0.06922773, 0.28601277, 0.17116347, 0.111376435, 0.05640361, 0.19490376, 0.14358987, -0.2938069, 0.11066121, 0.10622843) * go_3(0.0, -1.0); - result += mat4(0.41642964, -0.3263111, 0.06216189, 0.07345965, -0.31456468, -0.019238219, -0.18486235, 0.28072032, 0.17990473, 0.25093168, -0.21030559, 0.14302889, -0.093536615, -0.07815981, 0.27638897, 0.14604503) * go_3(0.0, 0.0); - result += mat4(0.0039657285, -0.05354925, -0.12117374, -0.09521962, -0.14253147, -0.25733525, -0.025764858, -0.17951238, -0.07261026, 0.11082804, 0.0069163553, 0.36713704, 0.2164588, 0.12679742, -0.077736825, 0.0040385667) * go_3(0.0, 1.0); - result += mat4(0.11829149, 0.058620118, -0.33054298, 0.048646323, 0.03497476, -0.17239204, -0.017679125, -0.092833996, -0.0989846, 0.14667957, -0.025491843, 0.0045806733, -0.04685978, -0.079147935, -0.05655248, -0.16640307) * go_3(1.0, -1.0); - result += mat4(0.27809307, -0.023670912, -0.014412884, -0.055856023, -0.0260514, 0.096493825, -0.14091147, 0.19190478, 0.29470143, -0.07413994, -0.28419018, -0.08382147, 0.033518817, 0.112377934, 0.21260104, -0.10081488) * go_3(1.0, 0.0); - result += mat4(0.16423275, 0.052265, 0.033592843, 0.053546682, 0.008689413, -0.078025006, 0.07282685, 0.274646, 0.013491051, 0.035137985, 0.052892987, 0.086905375, 0.07504918, 0.047103472, 0.058718115, 0.06814955) * go_3(1.0, 1.0); - result += vec4(-0.075419866, 0.03141532, 0.05038225, -0.17037955); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x16 -//!HOOK MAIN -//!BIND conv2d_5_tf -//!BIND conv2d_5_tf1 -//!SAVE conv2d_6_tf -//!WIDTH conv2d_5_tf.w -//!HEIGHT conv2d_5_tf.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (max((conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_1(x_off, y_off) (max((conv2d_5_tf1_texOff(vec2(x_off, y_off))), 0.0)) -#define go_2(x_off, y_off) (max(-(conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_3(x_off, y_off) (max(-(conv2d_5_tf1_texOff(vec2(x_off, y_off))), 0.0)) -vec4 hook() { - vec4 result = mat4(-0.09903704, 0.141924, 0.07957003, -0.023936486, 0.10207994, -0.10354182, -0.07998016, -0.0015790376, 0.12143162, -0.29083094, -0.10767458, -0.023930177, -0.22748052, 0.15251225, -0.04327607, -0.19599481) * go_0(-1.0, -1.0); - result += mat4(-0.020142527, -0.13437472, -0.30242786, 0.17293838, 0.21993922, -0.14510809, 0.43050942, -0.09359858, 0.07349347, -0.22833234, -0.098014675, 0.10430066, 0.058653124, 0.21656388, -0.12055204, -0.2590472) * go_0(-1.0, 0.0); - result += mat4(-0.092259586, -0.033427995, 0.030181816, -0.23848382, 0.07380954, -0.14112435, 0.03883969, -0.09298897, 0.108449765, -0.095868, 0.13194546, -0.09550135, -0.044406705, 0.14839001, -0.020507026, -0.10267985) * go_0(-1.0, 1.0); - result += mat4(-0.14210606, -0.022769699, -0.26057664, 0.052667074, 0.2290447, -0.114096865, 0.14502604, -0.05352132, -0.10096605, -0.21376732, 0.014559582, -0.018855672, -0.1276275, 0.20446005, 0.00452561, -0.04739748) * go_0(0.0, -1.0); - result += mat4(0.18050559, -0.116007224, -0.07949201, 0.15021706, 0.42677328, -0.1496891, 0.19860525, -0.048687745, -0.107428886, 0.064327404, 0.039473098, -0.21215837, -0.1775251, 0.07038826, 0.12770702, -0.004421656) * go_0(0.0, 0.0); - result += mat4(0.00921213, 0.2931037, 0.10290457, -0.058942776, -0.009870099, 0.07440249, 0.109728545, 0.19215313, -0.1619857, -0.17806605, -0.080251016, -0.1905812, -0.045715798, -0.039534766, -0.25994256, -0.29139596) * go_0(0.0, 1.0); - result += mat4(-0.104849055, -0.19675264, -0.103102185, -0.69336736, 0.10994318, -0.12600732, 0.11518605, 0.013002227, 0.09657365, -0.037993807, 0.24414918, -0.0140837645, 0.022077136, 0.06087377, -0.1586995, 0.14106634) * go_0(1.0, -1.0); - result += mat4(0.0023727822, 0.017077917, 0.056769226, -0.1538876, 0.040115863, 0.18736091, 0.065449126, 0.101874955, -0.12971556, -0.026733091, -0.11135673, -0.18067476, -0.18621549, -0.01597408, -0.2368847, 0.028060708) * go_0(1.0, 0.0); - result += mat4(-0.19078374, 0.05806838, -0.1509987, -0.20260125, 0.15281954, 0.012287409, 0.2500965, 0.033487327, 0.05539299, -0.49179342, -0.12857693, -0.0592218, -0.1511609, 0.061301332, -0.13101402, 0.076170385) * go_0(1.0, 1.0); - result += mat4(0.014599097, 0.00033093346, 0.18707427, -0.011050259, -0.13392815, 0.10417483, 0.02226366, 0.04187252, -0.011953793, 0.14580485, -0.13236393, -0.00573767, -0.16836222, -0.175005, -0.18113288, -0.07617938) * go_1(-1.0, -1.0); - result += mat4(0.036439452, 0.104738176, -0.15154836, -0.041232727, 0.10660432, 0.24799806, 0.20106782, -0.15304771, -0.039350864, 0.08000679, -0.059926286, -0.3615435, -0.014968296, -0.07804698, 0.008947019, -0.09509983) * go_1(-1.0, 0.0); - result += mat4(-0.12584874, 0.025298748, -0.081951134, -0.034454215, 0.006912479, -0.0554564, -0.002286018, 0.068463154, -0.048462506, 0.26966482, -0.08045318, -0.24195962, -0.17181782, -0.029970663, -0.051549412, 0.123542696) * go_1(-1.0, 1.0); - result += mat4(0.05630334, 0.03682635, -0.30058977, -0.19609298, 0.24603641, 0.06449512, 0.095483564, 0.10438203, 0.04228492, 0.17040555, -0.054473557, -0.01294896, -0.09608454, -0.2060676, -0.3181175, 0.048622917) * go_1(0.0, -1.0); - result += mat4(-0.29297507, 0.2436728, -0.2239985, 0.039701346, 0.1397053, -0.09511979, 0.14102282, -0.24362211, -0.40762326, 0.2380448, -0.04569721, -0.15982436, 0.14475456, 0.018273512, -0.15112275, -0.31792206) * go_1(0.0, 0.0); - result += mat4(-0.030237146, -0.023752408, -0.103575274, -0.10099703, -0.09781163, -0.12672938, -0.06697744, -0.021352045, -0.012154591, -0.12274026, 0.030666238, -0.36579433, -0.063347474, 0.17699613, -0.027599353, -0.027894288) * go_1(0.0, 1.0); - result += mat4(-0.15700702, -0.110770784, -0.15181227, -0.36058095, 0.05144101, 0.016601535, 0.010867741, 0.05627125, -0.08124055, 0.18674496, 0.12344674, 0.20444797, -0.11558212, -0.030960832, -0.15771315, 0.08206218) * go_1(1.0, -1.0); - result += mat4(0.061822027, 0.102262795, 0.0036645168, -0.26557454, -0.120741636, 0.027974004, 0.04447476, 0.13496968, -0.044526752, 0.10157781, 0.022185221, 0.11877896, -0.075325005, 0.18643066, -0.0034082106, 0.14494598) * go_1(1.0, 0.0); - result += mat4(-0.17181854, 0.071142904, -0.09155746, -0.23239096, -0.17889498, -0.14912713, -0.026817273, -0.033109006, -0.04073152, -0.16986589, -0.16742286, -0.08147713, 0.045209397, 0.002246064, 0.09221473, 0.095537476) * go_1(1.0, 1.0); - result += mat4(0.013496057, 0.1718933, -0.25154305, 0.0005418423, 0.20205286, 0.047607396, 0.38290194, 0.13852061, -0.14781651, -0.11484326, -0.10468923, 0.16375107, 0.12737407, -0.022568313, -0.027580326, 0.0033335045) * go_2(-1.0, -1.0); - result += mat4(0.124392614, 0.2015698, 0.16070235, 0.021973938, 0.039826486, 0.100338034, -0.2694117, 0.20532578, -0.022025175, 0.03465322, 0.08899368, -0.01752961, -0.121547945, 0.030271541, -0.00594433, 0.1516605) * go_2(-1.0, 0.0); - result += mat4(0.024263576, 0.063179485, 0.10901884, 0.06884493, 0.07670133, -0.18518978, 0.21076378, -0.06969073, -0.12839064, -0.0008702046, -0.05734704, 0.21534248, 0.05518908, -0.28148383, -0.1524297, 0.33727062) * go_2(-1.0, 1.0); - result += mat4(-0.12967423, 0.23650742, -0.07792898, 0.034946118, -0.02701484, -0.10590281, 0.13642362, 0.16430813, 0.06610393, -0.10160684, -0.21771228, 0.13180706, -0.0134419175, -0.08328644, -0.18328498, -0.17588566) * go_2(0.0, -1.0); - result += mat4(-0.040500965, 0.07871699, 0.020976303, -0.11445516, -0.4168534, -0.12459889, -0.18794744, 0.29879174, 0.02520419, 0.02707959, -0.052170105, -0.036497504, 0.08065668, 0.15391661, -0.002356169, -0.11667723) * go_2(0.0, 0.0); - result += mat4(-0.009141635, -0.23821701, -0.1925532, 0.0053563085, 0.16808721, -0.011934777, 0.20708206, -0.27727798, -0.05670285, -0.02667447, -0.072566286, 0.08635808, 0.04268296, 0.12114617, 0.19511463, 0.11651574) * go_2(0.0, 1.0); - result += mat4(-0.1914023, 0.1573666, -0.24282637, -0.038332473, -0.049138293, -0.040131524, 0.20321937, -0.027296735, -0.13138783, -0.06600214, -0.072661705, 0.32687458, 0.05060634, -0.08066144, 0.011962153, -0.1621428) * go_2(1.0, -1.0); - result += mat4(-0.06585995, -0.13948554, 0.05139417, -0.064026475, 0.256887, -0.04337304, 0.14032719, 0.06980286, -0.10018997, 0.046689384, -0.14041768, 0.13395311, 0.022293271, 0.07958959, 0.1559901, 0.049215022) * go_2(1.0, 0.0); - result += mat4(0.04515947, -0.03718728, -0.067679904, 0.07805222, 0.17364518, -0.01720137, 0.2860064, 0.110605545, 0.07684699, 0.039156888, -0.20474653, -0.0843774, -0.054638483, -0.05485259, 0.013232311, -0.037148137) * go_2(1.0, 1.0); - result += mat4(0.080464184, -0.05675928, -0.16272697, -0.024243478, 0.0405856, -0.18115897, -0.28556985, -0.115879275, -0.1199361, 0.0061983326, 0.2057066, -0.05006914, -0.0780254, 0.2529404, 0.19586386, -0.08233756) * go_3(-1.0, -1.0); - result += mat4(-0.0027093168, -0.016459575, 0.04609573, -0.09359531, -0.059146855, -0.11767812, 0.16632903, 0.024016436, -0.05317108, 0.02149467, -0.08489546, 0.13506904, -0.16631128, 0.10971366, -0.21305998, 0.1271719) * go_3(-1.0, 0.0); - result += mat4(0.04422496, -0.036498755, 0.00794529, 0.25258887, -0.070288785, 0.03930505, -0.16087824, 0.06397806, -0.111941755, -0.017389603, 0.029207015, 0.024432596, -0.032947063, 0.11465668, -0.19744322, -0.19229762) * go_3(-1.0, 1.0); - result += mat4(0.13589637, -0.28252026, -0.017013304, 0.18535018, -0.108283065, -0.06453962, 0.09136799, 0.03795984, -0.083741866, -0.03835942, -0.039874256, -0.03460075, -0.13682154, 0.14013422, 0.12959325, -0.18273707) * go_3(0.0, -1.0); - result += mat4(0.30207846, -0.05911095, 0.2478117, -0.18173815, -0.07494177, -0.0018872942, -0.015771223, 0.44509628, 0.13651597, -0.25383767, -0.27414864, 0.21210515, -0.2745509, -0.07429617, -0.0039494312, 0.2021812) * go_3(0.0, 0.0); - result += mat4(0.02082503, 0.29251754, -0.11114693, -0.07106459, 0.23231052, 0.06324593, 0.22848736, -0.04169954, 0.07162859, 0.12826705, -0.006160438, 0.15451509, -0.038878776, -0.09075193, -0.19746237, 0.031056527) * go_3(0.0, 1.0); - result += mat4(0.24332176, 0.103452496, 0.0076850047, 0.18359779, 0.015528975, -0.024314083, 0.1728745, -0.028702192, -0.08782734, 0.06912563, -0.01850499, -0.09001944, -0.004911426, 0.19824217, -0.036441665, -0.3474751) * go_3(1.0, -1.0); - result += mat4(-0.082312085, 0.13730714, -0.07225378, -0.027255213, 0.086995624, -0.16088386, -0.013334894, 0.1434566, -0.029165108, 0.019384101, -0.041289184, -0.14064342, -0.08273654, -0.06733766, -0.11815471, -0.23754865) * go_3(1.0, 0.0); - result += mat4(-0.12359963, 0.14454323, 0.07611817, -0.15810803, 0.24018002, 0.1313399, 0.18006271, 0.16341574, 0.046836264, 0.13969298, 0.17398256, -0.074939854, 0.11660665, -0.022316087, -0.24329415, -0.067662) * go_3(1.0, 1.0); - result += vec4(0.15344761, -0.03657182, 0.17161594, 0.042134337); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x16 -//!HOOK MAIN -//!BIND conv2d_5_tf -//!BIND conv2d_5_tf1 -//!SAVE conv2d_6_tf1 -//!WIDTH conv2d_5_tf.w -//!HEIGHT conv2d_5_tf.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (max((conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_1(x_off, y_off) (max((conv2d_5_tf1_texOff(vec2(x_off, y_off))), 0.0)) -#define go_2(x_off, y_off) (max(-(conv2d_5_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_3(x_off, y_off) (max(-(conv2d_5_tf1_texOff(vec2(x_off, y_off))), 0.0)) -vec4 hook() { - vec4 result = mat4(0.10933937, -0.2586216, 0.119741604, -0.1944735, 0.25456777, 0.055759937, 0.17713451, -0.119781576, -0.043074034, 0.053364433, 0.1393489, 0.0063075298, 0.007293496, -0.20403603, 0.18808982, 0.15999225) * go_0(-1.0, -1.0); - result += mat4(-0.15622991, 0.4835854, 0.044360634, 0.018400276, 0.18723078, 0.05938736, 0.17832185, -0.27422816, 0.2060638, 0.25092605, 0.019863455, 0.07386281, 0.07400081, 0.19671166, 0.06393811, -0.06890202) * go_0(-1.0, 0.0); - result += mat4(0.17560425, -0.1708904, -0.08413596, 0.17295998, -0.06531112, 0.08719865, 0.06685763, -0.20339914, 0.19844846, -0.3645245, 0.10169999, -0.1080417, 0.23986302, -0.18760233, 0.015034093, -0.12267765) * go_0(-1.0, 1.0); - result += mat4(-0.10608674, -0.36004975, -0.11493922, 0.41736996, 0.13415572, -0.06959915, 0.17464727, -0.04042992, 0.18750845, -0.027131613, 0.27389592, -0.1350456, -0.12489456, -0.27691916, 0.084380366, 0.17434697) * go_0(0.0, -1.0); - result += mat4(-0.22829042, 0.084041744, 0.11345275, -0.041221775, 0.05456263, 0.22508298, -0.103637904, 0.28892612, 0.32700318, -0.160579, 0.109448016, -0.30653685, 0.13003495, 0.236127, -0.08475466, 0.052173033) * go_0(0.0, 0.0); - result += mat4(0.28227592, -0.34538618, -0.23884174, 0.09810653, -0.03500807, -0.13697687, 0.033694368, 0.020587644, 0.06676804, -0.026755817, -0.04454226, -0.19820356, -0.05706964, -0.10209752, -0.022904133, -0.14874525) * go_0(0.0, 1.0); - result += mat4(-0.39699835, -0.024260966, -0.02090922, 0.019565705, 0.09480958, -0.031437706, 0.0782015, -0.052072857, 0.08276447, -0.09326955, -0.007745976, 0.16250381, 0.09438553, 0.117572375, 0.13515136, 0.016620362) * go_0(1.0, -1.0); - result += mat4(0.05261699, -0.05584202, 0.1660212, 0.1760393, 0.17732987, 0.040728107, -0.013573709, -0.18684877, -0.016406935, -0.1634756, -0.12421184, 0.38586152, -0.07196223, 0.09178003, 0.036252763, -0.05388003) * go_0(1.0, 0.0); - result += mat4(0.12508152, -0.28913215, 0.105552755, -0.12118625, 0.14800611, -0.28088662, -0.18206085, 0.08645328, -0.19807254, 0.1603177, 0.34349325, -0.15355024, 0.013641424, 0.14791232, -0.040868953, -0.032113906) * go_0(1.0, 1.0); - result += mat4(-0.1517577, -0.0043719513, -0.079004265, 0.100627646, 0.15808022, 0.16531636, 0.2615764, -0.20750679, -0.057412565, 0.11222814, -0.034556095, 0.14694919, -0.04298434, 0.093015954, -0.08224483, -0.02026771) * go_1(-1.0, -1.0); - result += mat4(-0.092948005, 0.046098936, -0.13767333, 0.272067, 0.11010025, -0.029182397, 0.035428282, -0.01686815, -0.1992104, 0.22110799, 0.020882778, -0.03712323, 0.06574471, -0.042388987, -0.2505902, -0.05643093) * go_1(-1.0, 0.0); - result += mat4(-0.01385697, -0.1415179, 0.040247794, -0.0669615, 0.11469654, -0.13471791, -0.12165977, 0.056209963, -0.14575836, -0.15395981, 0.026800778, -0.017236087, -0.21929868, -0.09745539, -0.1445151, 0.10733711) * go_1(-1.0, 1.0); - result += mat4(0.03851014, -0.046173725, -0.29251704, 0.11025798, 0.2981792, 0.08355127, 0.1365642, 0.020671628, 0.043658502, -0.06482133, 0.1279779, 0.1957946, -0.35779807, -0.0400792, -0.26499048, 0.43136054) * go_1(0.0, -1.0); - result += mat4(-0.38701457, -0.10084814, 0.018255727, 0.40086743, 0.3082641, -0.07211132, 0.011168546, -0.2190218, -0.058002923, -0.16129981, 0.20764361, -0.09768485, 0.21420433, -0.11586973, -0.038052138, -0.119344786) * go_1(0.0, 0.0); - result += mat4(-0.18308002, -0.31975025, 0.029077187, 0.04309171, 0.07371335, 0.039885044, 0.13769808, -0.118861616, 0.032191522, -0.0019051885, -0.038881846, 0.00036381753, 0.093573, -0.09422214, -0.22213608, 0.14679207) * go_1(0.0, 1.0); - result += mat4(-0.13941059, 0.07008639, 0.06480718, 0.14005901, 0.004430642, 0.07868686, -0.0034771042, 0.16918106, -0.044359136, -0.055420365, 0.027013415, 0.3919985, -0.13911307, 0.06500527, -0.13494039, 0.101598166) * go_1(1.0, -1.0); - result += mat4(-0.20902944, 0.10499033, -0.12907727, 0.090509154, 0.04600731, -0.1775349, 0.033966057, -0.023461794, 0.10276128, -0.26434046, -0.06583582, -0.130151, 0.0014594696, -0.17474951, -0.25953192, -0.006738262) * go_1(1.0, 0.0); - result += mat4(-0.1732899, 0.027290044, -0.120643966, 0.019792847, 0.05189801, -0.028351933, 0.00904172, -0.04879544, -0.23475021, 0.04096496, 0.026843274, 0.08351951, -0.0136037925, -0.0066337087, -0.020977346, -0.16675006) * go_1(1.0, 1.0); - result += mat4(-0.029606437, 0.30548576, -0.29196745, -0.05690921, 0.02305515, 0.0012725939, -0.09723029, 0.12815268, 0.048887573, 0.24429926, -0.0681893, -0.051158264, -0.05331121, 0.14989416, -0.03956986, 0.019370671) * go_2(-1.0, -1.0); - result += mat4(0.06281199, 0.1465788, -0.12003229, -0.1295222, -0.04090229, -0.1520068, -0.0880501, 0.100645974, -0.09470817, -0.16749181, 0.061560627, -0.18976176, -0.20792894, -0.2901343, -0.13570812, 0.04699958) * go_2(-1.0, 0.0); - result += mat4(0.0074477135, 0.030326726, -0.24765874, -0.031029448, -0.015761893, 0.007460971, -0.004643017, 0.12255093, -0.12074377, 0.104406476, -0.18033372, 0.24832624, -0.5184142, 0.12846357, 0.118003905, 0.42146248) * go_2(-1.0, 1.0); - result += mat4(0.027850341, -0.10213704, -0.10156566, 0.15327056, -0.001109185, 0.06468581, -0.16475473, -0.14888781, 0.07103932, 0.23454557, -0.1019389, 0.19095209, 0.0206076, 0.44760326, 0.112958044, -0.05543003) * go_2(0.0, -1.0); - result += mat4(0.03201849, 0.15301192, -0.098525524, -0.11934239, 0.12085634, 0.042280927, 0.05924581, -0.13963456, 0.07518289, -0.35049185, -0.07124896, -0.2192494, -0.30025682, -0.47466168, 0.21015729, -0.055887263) * go_2(0.0, 0.0); - result += mat4(-0.038743775, 0.26123658, 0.03906215, -0.016246911, 0.018878248, 0.08553343, -0.16523865, 0.1594925, 0.0044373, 0.13058716, -0.055060342, -0.053876568, 0.007401359, -0.014723607, -0.1603016, 0.34016648) * go_2(0.0, 1.0); - result += mat4(-0.19874749, 0.008164135, -0.027523857, 0.11297942, -0.08375069, -0.050207987, 0.10622657, 0.030264836, 0.16756412, 0.06990885, -0.1033073, 0.14843427, -0.041824646, 0.10725911, 0.11233082, -0.00038960244) * go_2(1.0, -1.0); - result += mat4(-0.11726938, -0.14613478, -0.047309853, -0.20856526, 0.1262465, 0.049080163, -0.09885573, -0.12483379, 0.103158094, -0.2352196, -0.074911244, -0.24399763, 0.05820524, -0.24750394, -0.08883942, 0.0330459) * go_2(1.0, 0.0); - result += mat4(-0.054187786, 0.1163801, -0.1469305, -0.18968992, 0.15655991, 0.2672053, 0.02435004, -0.024642237, -0.14067766, -0.12117614, 0.14529362, 0.012164607, -0.0082519185, 0.055424936, -0.0025766988, 0.1383949) * go_2(1.0, 1.0); - result += mat4(0.07071469, 0.15606207, 0.009354793, -0.01038711, -0.012950536, -0.052362897, 0.03773111, -0.23836665, -0.013119469, -0.11333598, 0.0070942477, -0.041576438, -0.038995963, -0.2706573, -0.036916986, 0.0599116) * go_3(-1.0, -1.0); - result += mat4(-0.058064543, -0.22946267, -0.037726376, -0.11669404, 0.14143287, -0.14752878, -0.012420762, -0.106980234, -0.037637994, 0.042595934, -0.13303505, 0.2054758, -0.22428225, 0.13137174, -0.0058914963, 0.2208468) * go_3(-1.0, 0.0); - result += mat4(-0.026957516, 0.0121676475, -0.08281531, 0.353447, -0.17252238, -0.07625598, -0.019854434, 0.025932048, 0.039928213, 0.13804999, 0.074095234, 0.0738057, 0.06340536, -0.006330341, 0.21315883, -0.20262466) * go_3(-1.0, 1.0); - result += mat4(-0.011191666, 0.24366145, 0.17014529, 0.1609473, -0.050234254, -0.08549623, -0.11138327, 0.21297818, 0.17063057, -0.13241094, 0.13023826, -0.3891219, 0.026878243, -0.06931907, -0.16771698, -0.16052593) * go_3(0.0, -1.0); - result += mat4(-0.11146724, -0.04313055, 0.037859883, 0.047496043, 0.056904122, -0.08734356, -0.028422398, 0.16435057, -0.41680032, 0.19623752, -0.34034836, -0.008042832, -0.09557602, 0.14368472, -0.014925394, 0.06538855) * go_3(0.0, 0.0); - result += mat4(-0.089598335, -0.055176996, -0.17602937, 0.14255407, 0.021625549, 0.16328195, -0.25449616, 0.3817445, -0.20960012, 0.014184653, -0.09101594, 0.14274444, -0.2754625, -0.084934495, 0.048769236, -0.04577569) * go_3(0.0, 1.0); - result += mat4(0.09459465, 0.094083816, -0.06606762, 0.041828517, -0.055275574, 0.059112854, -0.072598085, -0.11263188, 0.12078316, -0.26206526, -0.00137432, 0.10860246, -0.08466965, 0.104903206, 0.21036705, 0.0312453) * go_3(1.0, -1.0); - result += mat4(0.09946635, -0.09017033, 0.0817844, 0.16292423, 0.026255745, 0.031055257, -0.16508763, -0.14146541, 0.060378898, 0.25001258, 0.124825396, -0.10202926, -0.10813518, 0.14290603, 0.045891885, 0.18053533) * go_3(1.0, 0.0); - result += mat4(0.015930302, 0.053486444, 0.101690404, 0.24346983, 0.15838233, 0.30010527, 0.026393816, -0.097619064, 0.16550697, -0.06215241, -0.040118653, 0.07651894, -0.22488463, 0.08207012, 0.15687686, 0.32629037) * go_3(1.0, 1.0); - result += vec4(0.1056238, -0.02897292, -0.003385929, -0.068565644); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x16 -//!HOOK MAIN -//!BIND conv2d_6_tf -//!BIND conv2d_6_tf1 -//!SAVE conv2d_7_tf -//!WIDTH conv2d_6_tf.w -//!HEIGHT conv2d_6_tf.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (max((conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_1(x_off, y_off) (max((conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0)) -#define go_2(x_off, y_off) (max(-(conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_3(x_off, y_off) (max(-(conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0)) -vec4 hook() { - vec4 result = mat4(-0.09298616, -0.07747702, -0.04670618, 0.1239601, 0.29948702, 0.35177255, 0.3189956, -0.28755596, -0.032235727, -0.0821587, -0.27567095, 0.115123525, -0.08693357, 0.29719752, 0.14682445, 0.13986853) * go_0(-1.0, -1.0); - result += mat4(0.18258291, 0.008651242, -0.110401206, 0.041238826, -0.083573714, -0.1591809, -0.33826578, 0.043122347, -0.012040311, 0.041879836, 0.089610636, -0.077225484, 0.16297276, -0.046664957, 0.0032575547, -0.030482206) * go_0(-1.0, 0.0); - result += mat4(-0.32991013, 0.037620038, -0.11941783, -0.053270344, 0.02318521, 0.065131254, 0.017512733, 0.16554427, 0.13549002, 0.031232761, 0.14399485, -0.15737554, -0.12537576, -0.044809993, -0.043437395, -0.21808949) * go_0(-1.0, 1.0); - result += mat4(-0.11294421, -0.08309665, -0.12776586, -0.015781794, -0.0665699, -0.09825473, -0.12327323, 0.07086391, -0.10500291, 0.14124759, 0.08573633, -0.07306456, 0.3011676, -0.17022921, 0.00517727, 0.021803971) * go_0(0.0, -1.0); - result += mat4(-0.020383084, -0.045413036, -0.34429082, 0.16600524, 0.14132087, 0.054278616, 9.239613e-05, -0.44013014, 0.2165345, 0.039491616, 0.20413998, -0.07870467, 0.14187096, -0.35697728, 0.15279463, 0.2095449) * go_0(0.0, 0.0); - result += mat4(0.15858546, 0.1532616, 0.17005123, -0.1992496, -0.18211377, 0.090669595, 0.23320733, 0.08969188, 0.05598971, -0.24915066, -0.24719551, 0.32876992, 0.042300064, -0.24287844, 0.15697671, -0.49432704) * go_0(0.0, 1.0); - result += mat4(0.05582196, 0.21150292, -0.015622271, 0.056432575, -0.11417193, -0.040782865, -0.17991544, 0.064104654, -0.19631669, -0.051823728, 0.11942405, -0.07964808, 0.1692312, 0.119765855, 0.090493865, 0.022693213) * go_0(1.0, -1.0); - result += mat4(0.015145409, 0.16848962, -0.10131461, -0.026976077, -0.18748184, -0.021378418, 0.06670816, -0.016659236, -0.2089444, -0.06507618, 0.09341307, 0.054840073, 0.28916666, 0.16232124, -0.094353795, -0.22206688) * go_0(1.0, 0.0); - result += mat4(0.33041665, 0.10521582, 0.25219318, -0.041781344, 0.026927345, 0.07944605, 0.18033147, 0.17478718, -0.19795576, -0.041696757, -0.25067112, -0.2816023, -0.13503423, 0.14606066, -0.09927136, -0.08936863) * go_0(1.0, 1.0); - result += mat4(0.20202668, -0.0059339018, 0.12077581, -0.099865146, 0.12939082, 0.37082085, 0.120770894, 0.22750662, 0.08068023, 0.031606216, 0.2870402, 0.01941335, -0.017073687, 0.035035733, 0.06824904, -0.09725816) * go_1(-1.0, -1.0); - result += mat4(-0.41767982, -0.06620377, -0.010047202, 0.08407268, -0.11862024, -0.08045029, -0.023020124, 0.14649181, -0.08958217, -0.13215968, 0.22865745, -0.16224048, -0.17303064, 0.13953763, 0.057390977, -0.041001778) * go_1(-1.0, 0.0); - result += mat4(-0.22180702, -0.06817667, 0.19442295, 0.06406256, -0.14122322, -0.16108498, 0.21896166, -0.21929257, 0.21308415, 0.15599622, 0.045501437, 0.2952144, -0.062145945, 0.079376645, -0.12034205, 0.1357353) * go_1(-1.0, 1.0); - result += mat4(0.09656989, -0.18810685, -0.23045789, 0.088420406, 0.1970724, 0.033070773, -0.13274421, -0.059737105, -0.038101226, -0.10802367, 0.12709807, 0.115941286, -0.057800714, -0.10474452, 0.119313605, -0.0577974) * go_1(0.0, -1.0); - result += mat4(0.18141069, 0.25630286, -0.004921427, -0.08361053, -0.044930436, -0.11264133, -0.2121531, 0.23292989, -0.06959426, 0.32734165, 0.12591064, 0.14410858, -0.49564683, -0.0024029557, -0.004495599, 0.19589739) * go_1(0.0, 0.0); - result += mat4(-0.08126117, -0.29537377, -0.36103687, 0.13270101, 0.24029805, 0.22872883, 0.24158637, -0.122587256, 0.01327331, 0.14938709, -0.013286148, -0.042087477, -0.0715036, 0.11041343, 0.027127068, 0.13974865) * go_1(0.0, 1.0); - result += mat4(0.31908393, -0.17911799, 0.300748, -0.018246895, -0.07992345, 0.08574421, -0.26666358, 0.21264015, -0.030839935, -0.18493964, 0.014989899, -0.02101198, -0.11483265, -0.10112714, -0.007055459, -0.07118135) * go_1(1.0, -1.0); - result += mat4(-0.09422319, -0.24837473, -0.36210662, -0.022152826, 0.011661719, -0.08363898, 0.019799208, 0.0035163478, 0.030383421, 0.30498046, 0.044498403, 0.17201504, 0.07162866, -0.0108610215, -0.110410266, 0.21284562) * go_1(1.0, 0.0); - result += mat4(0.133147, -0.08910978, -0.4177282, -0.030173492, -0.060198095, 0.04044887, -0.004139986, 0.09222587, 0.28527728, 0.21285106, 0.3449858, 0.114900924, -0.09531425, -0.058240496, -0.24427518, -0.0033629425) * go_1(1.0, 1.0); - result += mat4(-0.18756464, -0.21809466, 0.13317947, 0.12118684, -0.07766653, 0.24910966, -0.14780858, -0.016645847, 0.18655157, 0.14169224, 0.16120727, 0.078769274, -0.053655155, -0.18616755, -0.009768089, -0.0471298) * go_2(-1.0, -1.0); - result += mat4(-0.34211698, -0.30050078, 0.0068116384, 0.0803484, 0.13872574, 0.06419091, 0.4576529, 0.052884407, -0.013154108, 0.06864095, -0.051125497, 0.016175376, -0.09200221, 0.22412914, 0.10491478, -0.13145234) * go_2(-1.0, 0.0); - result += mat4(0.28726533, 0.102389045, -0.012971085, -0.17884614, -0.18736881, -0.050781786, 0.1038394, -0.16674057, -0.11298805, 0.021995498, -0.0031691084, 0.27051526, 0.09115255, -0.0084258495, 0.05545804, 0.035612978) * go_2(-1.0, 1.0); - result += mat4(0.03992818, -0.2472601, -0.006119497, 0.022421215, 0.15669042, 0.023507778, 0.31650016, 0.107919626, 0.15949659, -0.0003630481, -0.1576246, -0.00014218716, 0.15274543, 0.110105045, -0.039794296, -0.088754356) * go_2(0.0, -1.0); - result += mat4(-0.08938248, 0.30107626, 0.2424464, -0.24100178, -0.24999878, -0.04450539, -0.18630105, 0.3800366, 0.21850806, -0.109337054, 0.27955496, 0.13123246, 0.13102472, -0.18804419, -0.45165604, 0.120198056) * go_2(0.0, 0.0); - result += mat4(-0.095307365, -0.1506444, -0.10416423, -0.01908949, 0.20553507, -0.102902725, 0.05169947, -0.36779726, 0.07887684, 0.3245078, 0.27736098, 0.28766757, 0.06325335, 0.1779859, -0.052553937, 0.16228867) * go_2(0.0, 1.0); - result += mat4(0.017564483, 0.025630519, -0.040895864, -0.0023744458, 0.24259207, -0.026751183, -0.14336503, -0.03494075, 0.095970444, -0.011880197, 0.18951982, -0.080477834, -0.014327671, 0.106810905, 0.12120912, -0.054769218) * go_2(1.0, -1.0); - result += mat4(-0.19585103, 0.11434398, 0.0810687, -0.043665145, 0.25160095, -0.037376605, 0.11627851, -0.34285706, 0.090680264, -0.028443469, 0.2146575, 0.07702826, 0.1860306, -0.12030833, -0.1484852, 0.11475953) * go_2(1.0, 0.0); - result += mat4(-0.13977987, -0.12729643, -0.19256204, -0.026194166, 0.05604903, -0.16249922, 0.04108536, -0.121881336, 0.059594605, 0.045368925, -0.2656011, 0.016244406, -0.042969584, -0.028374385, 0.056421585, -0.117567204) * go_2(1.0, 1.0); - result += mat4(-0.060654636, -0.14616394, -0.12091979, 0.13007124, -0.089972354, -0.18375, -0.028913707, 0.10075326, -0.018996205, 0.09375386, -0.16207956, 0.20852089, 0.06698635, 0.14828563, -0.250823, 0.012002991) * go_3(-1.0, -1.0); - result += mat4(0.18033476, -0.08742327, -0.13366638, -0.0049443557, -0.10442761, -0.08958913, 0.13505267, -0.13553262, 0.16892663, 0.07668024, 0.1517371, 0.009258327, -0.12997076, -0.4815538, 0.013512462, 0.18335922) * go_3(-1.0, 0.0); - result += mat4(0.22760421, 0.0048599597, 0.036575258, -0.10351606, -0.05622547, -0.13513543, 0.088951156, -0.17391056, -0.21315737, 0.012135027, 0.11968234, -0.09496124, -0.53547007, -0.032806884, 0.44065458, -0.42855212) * go_3(-1.0, 1.0); - result += mat4(0.09163502, 0.052777994, 0.08052482, 0.030937716, 0.11431948, 0.21300802, 0.005624863, -0.1260465, 0.18206342, 0.2951097, 0.103414275, -0.032529574, 0.3183177, 0.06826525, -0.16194476, 0.06084831) * go_3(0.0, -1.0); - result += mat4(0.12275285, -0.021129798, -0.0697701, -0.14264467, 0.27765405, 0.15278265, 0.101297885, -0.05112991, 0.14477895, -0.20616159, -0.3397025, 0.17173639, -0.22859417, -0.06999369, 0.34769204, -0.35456637) * go_3(0.0, 0.0); - result += mat4(-0.10098548, -0.07964086, -0.039017327, -0.19091947, -0.07334077, -0.1389143, -0.13456671, -0.10339172, -0.15421547, 0.029932339, 0.079859026, -0.32894152, -0.033741355, -0.4488355, -0.0040790522, -0.35032076) * go_3(0.0, 1.0); - result += mat4(-0.0727189, -0.025477365, -0.09407044, -0.029692665, -0.11227167, -0.20231564, 0.29387882, -0.15689297, -0.106967494, 0.23718797, -0.017973471, 0.08974747, 0.04605186, -0.10311098, -0.21916036, 0.14121017) * go_3(1.0, -1.0); - result += mat4(0.03363431, 0.14312868, 0.13849273, 0.04244507, -0.02516202, -0.28626648, 0.1603589, -0.13325413, 0.35172695, -0.24766164, 0.03877381, -0.14909102, -0.46260723, 0.0052685863, 0.10103257, -0.15882123) * go_3(1.0, 0.0); - result += mat4(0.12227024, 0.052871924, 0.2606648, 0.023700466, 0.1447309, -0.137015, 0.092406265, -0.2538973, -0.04857298, -0.23280929, -0.18942119, -0.24194096, 0.2500346, -0.3894981, -0.0097273365, 0.057114255) * go_3(1.0, 1.0); - result += vec4(-0.018470844, 0.032974713, -0.08900769, 0.07834676); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-4x3x3x16 -//!HOOK MAIN -//!BIND conv2d_6_tf -//!BIND conv2d_6_tf1 -//!SAVE conv2d_7_tf1 -//!WIDTH conv2d_6_tf.w -//!HEIGHT conv2d_6_tf.h -//!COMPONENTS 4 -#define go_0(x_off, y_off) (max((conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_1(x_off, y_off) (max((conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0)) -#define go_2(x_off, y_off) (max(-(conv2d_6_tf_texOff(vec2(x_off, y_off))), 0.0)) -#define go_3(x_off, y_off) (max(-(conv2d_6_tf1_texOff(vec2(x_off, y_off))), 0.0)) -vec4 hook() { - vec4 result = mat4(0.13838595, -0.1661106, -0.03647696, 0.33726123, 0.14488533, 0.06303961, -0.29277438, -0.28483358, -0.07020814, 0.14675367, 0.09834005, 0.16167468, -0.06891295, 0.14787231, 0.044250797, 0.10000533) * go_0(-1.0, -1.0); - result += mat4(0.14419696, -0.11104678, -0.19797623, 0.5477407, -0.31673816, 0.11866161, 0.14615746, 0.21770369, 0.1484983, 0.056324255, -0.078451686, -0.3678703, -0.096216984, 0.4415643, -0.056252934, -0.053152606) * go_0(-1.0, 0.0); - result += mat4(-0.12594719, 0.22911419, 0.008399029, -0.17429668, -0.17827964, 0.27823094, 0.078182034, 0.12368914, 0.2693025, -0.27098882, -0.22508237, -0.10789655, 0.14652215, 0.38257426, -0.25110042, -0.26689148) * go_0(-1.0, 1.0); - result += mat4(0.13568799, -0.032686707, -0.20724227, -0.009110746, -0.07249124, -0.0047258725, -0.033497337, 0.028244676, -0.050063726, -0.14211343, -0.07358371, 0.13426395, 0.048585974, 0.16977127, 0.044003207, 0.02007365) * go_0(0.0, -1.0); - result += mat4(-0.33090207, 0.04591903, 0.16678622, 0.111953296, 0.42710853, -0.35436276, 0.073025316, 0.27492017, 0.041573346, 0.012654884, -0.057278603, -0.037264604, -0.14776266, -0.43545347, 0.48985186, 0.025895236) * go_0(0.0, 0.0); - result += mat4(0.21810123, 8.102194e-05, 0.11646473, 0.004283347, 0.017429, -0.022536738, 0.080150016, -0.13205492, -0.2865926, 0.024164073, -0.10187987, 0.13495614, -0.109697, 0.16499594, 0.07186435, -0.15981697) * go_0(0.0, 1.0); - result += mat4(0.06137217, 0.034611203, -0.055395834, -0.09455099, -0.003177717, 0.024212481, 0.0414146, -0.047495697, 0.13896663, -0.091916084, -0.13677934, 0.25764975, -0.168757, 0.19635871, -0.095512845, -0.037486732) * go_0(1.0, -1.0); - result += mat4(-0.2080078, 0.026515383, 0.017833425, -0.12664129, -0.040677544, 0.109919414, -0.042064115, -0.1256282, 0.0056896876, 0.0067070443, -0.43935236, 0.0683501, 0.12141784, -0.00834393, 0.0048380326, -0.15044647) * go_0(1.0, 0.0); - result += mat4(0.05155097, -0.07090803, -0.009492833, -0.20031464, 0.16613689, 0.16850127, -0.120815866, -0.13237514, -0.091768585, -0.060668845, -0.13460699, 0.15916602, -0.19499001, 0.14734381, 0.03331626, 0.045428365) * go_0(1.0, 1.0); - result += mat4(0.13559462, 0.020652367, 0.028721211, 0.1946478, 0.10675644, 0.18033811, 0.08077705, -0.023079757, -0.048384316, -0.14187723, -0.0199563, 0.29254365, 0.02593281, -0.09593945, 0.0039236145, -0.23160516) * go_1(-1.0, -1.0); - result += mat4(0.32240245, 0.14849812, 0.33168033, 0.17945166, 0.027289819, 0.23654673, 0.36720845, -0.2083669, -0.46927527, -0.19654073, -0.10288163, -0.0042787823, -0.03343679, 0.025803793, 0.09066788, 0.14142233) * go_1(-1.0, 0.0); - result += mat4(0.3854355, -0.21110795, 0.15301639, 0.2463634, 0.19441791, 0.24109852, 0.15106165, -0.18121251, -0.41522145, 0.19535853, -0.04637234, 0.007014902, 0.15042426, 0.12398457, -0.0768292, -0.016722783) * go_1(-1.0, 1.0); - result += mat4(-0.1191339, -0.056783438, 0.179299, -0.20508417, -0.2238431, 0.076891266, 0.115338646, -0.15643494, 0.11644771, -0.08780038, -0.02041133, -0.09329345, 0.06889447, -0.14273487, 0.006704405, 0.1350602) * go_1(0.0, -1.0); - result += mat4(-0.07421296, 0.32125288, -0.30677626, -0.44849312, 0.025221085, 0.3798274, 0.29504472, -0.34886965, -0.05770456, 0.13313411, 0.3699818, -0.39000103, 0.020898497, 0.039126445, -0.07432907, 0.062310304) * go_1(0.0, 0.0); - result += mat4(0.17375535, 0.023790767, -0.008950904, -0.22553982, 0.40631908, 0.14994587, -0.092534535, -0.34031484, -0.43170232, -0.08564608, 0.17678201, 0.22387989, 0.04196789, 0.010352151, -0.18646672, 0.20146039) * go_1(0.0, 1.0); - result += mat4(-0.07338285, -0.23144144, 0.1464032, 0.33643848, -0.022217251, -0.1516635, 0.024337852, 0.24453929, -0.06048682, -0.08900337, 0.03558439, 0.09514491, 0.08677954, 0.08754844, 0.16046152, -0.049913943) * go_1(1.0, -1.0); - result += mat4(-0.040881585, -0.016290037, 0.39422315, 0.20479617, 0.024243876, 0.054631747, -0.17575149, 0.17901573, -0.039624337, -0.1327287, 0.048055638, -0.059482653, 0.18457937, -0.13388582, -0.002396541, 0.14541318) * go_1(1.0, 0.0); - result += mat4(0.035170615, 0.06304803, -0.029508153, 0.20029667, -0.13591653, 0.19499047, 0.037338194, 0.11666446, -0.02182216, 0.09199033, -0.06155463, -0.14712119, 0.015123581, -0.048147444, -0.02765525, 0.05467674) * go_1(1.0, 1.0); - result += mat4(-0.0016583418, -0.20222488, 0.14380269, 0.495368, -0.15795864, 0.03869219, -0.0007422813, -0.24228984, -0.010325486, -0.17372331, 0.21851897, 0.037800316, 0.0077545014, -0.107683145, 0.091115706, 0.04696628) * go_2(-1.0, -1.0); - result += mat4(-0.22617093, 0.02330395, 0.39483792, 0.06256949, 0.2543043, -0.023293274, 0.050331015, -0.15128924, -0.14248961, 0.11004123, 0.0019865339, 0.056792308, 0.09546199, 0.023110664, -0.039093904, -0.019097285) * go_2(-1.0, 0.0); - result += mat4(0.09895845, -0.08729833, -0.19802186, -0.10858365, -0.07593915, 0.12451692, -0.018597756, -0.09622475, -0.16232158, -0.16094138, 0.1109638, 0.38154224, 0.31480137, -0.2916982, -0.16717134, -0.23755385) * go_2(-1.0, 1.0); - result += mat4(-0.0311971, 0.2134995, -0.13412045, 0.11210693, 0.0614993, 0.11359606, -0.012406499, 0.19226962, -0.081262, -0.002459974, -0.00244794, 0.088085316, -0.055527348, 0.1395816, -0.15217243, 0.17661592) * go_2(0.0, -1.0); - result += mat4(0.28404564, -0.14518517, -0.33873123, -0.21549354, -0.0022886505, -0.13356654, 0.45236778, 0.06141482, -0.145679, 0.1297859, -0.4089743, -0.24126756, 0.149728, 0.19193548, 0.11462273, 0.409197) * go_2(0.0, 0.0); - result += mat4(0.018069789, -0.020618662, -0.17913546, -0.10872698, -0.03241439, -0.040539786, -0.059517466, 0.09786615, 0.0782322, -0.23111247, -0.24294353, -0.22528836, -0.07976966, 0.124555565, -0.21485704, 0.17151503) * go_2(0.0, 1.0); - result += mat4(0.06767058, -0.030893112, 0.13820338, 0.09095657, -0.18744367, 0.061277043, -0.021693375, -0.034855407, -0.10670589, -0.12721871, -0.05977267, -0.043073464, -0.0379424, 0.13443401, -0.060432605, -0.26269624) * go_2(1.0, -1.0); - result += mat4(0.17341977, 0.114161864, 0.121982895, -0.13195695, 0.022960972, -0.044169407, -0.041967265, -0.12849683, -0.20772582, -0.120213404, -0.008246432, 0.09578632, -0.13755049, 0.019556953, 0.047276143, 0.15682527) * go_2(1.0, 0.0); - result += mat4(0.027572002, 0.103705354, -0.11916607, -0.054192334, -0.31573683, -0.032983076, -0.27274823, -0.21174121, 0.09657448, -0.078006916, 0.4993156, 0.3804115, -0.035018593, -0.0168964, -0.050113123, -0.009473161) * go_2(1.0, 1.0); - result += mat4(-0.1518477, 0.076610714, 0.0029773905, -0.05952205, -0.021525223, -0.030722082, 0.07867786, 0.22589347, -0.04479093, 0.057657328, -0.028462416, 0.027666591, 0.061457757, 0.2643544, 0.1435308, -0.0034665377) * go_3(-1.0, -1.0); - result += mat4(0.0574025, -0.023409816, -0.10489993, -0.09745888, -0.036171727, -0.12812565, 0.18095233, 0.12876108, 0.2548554, 0.14448315, -0.0353037, 0.118946485, 0.05611967, 0.23447572, 0.29235858, -0.2861192) * go_3(-1.0, 0.0); - result += mat4(-0.15268329, 0.011388229, -0.03702408, -0.08337847, 0.04324548, -0.05871332, 0.14286003, 0.068447575, -0.07542443, 0.03925436, -0.054086413, -0.03980641, 0.36337107, 0.010404046, 0.17515606, 0.8018469) * go_3(-1.0, 1.0); - result += mat4(-0.004017866, -0.084669136, -0.101002894, 0.035982896, 0.013464629, -0.0042717163, -0.09071252, -0.15064237, -0.11732534, -0.03299708, -0.06714461, 0.20238714, -0.344634, -0.2641238, -0.07334784, -0.1701327) * go_3(0.0, -1.0); - result += mat4(-0.19153461, 0.025722938, 0.09708049, 0.06792213, -0.1302298, 0.09527354, -0.36408955, -0.33690915, 0.14247623, -0.1738023, -0.08400305, 0.39172587, -0.05405146, 0.13581833, -0.18363619, -0.21835159) * go_3(0.0, 0.0); - result += mat4(-0.24847539, 0.0128350295, 0.13680497, 0.15426406, -0.27733833, 0.08489122, 0.094140776, 0.13132764, 0.23742157, -0.1327286, -0.10334779, 0.14956161, 0.63067985, -0.3153103, 0.12809932, -0.2342312) * go_3(0.0, 1.0); - result += mat4(0.03344713, -0.110264495, -0.11972206, 0.042902052, -0.046934437, -0.19413838, 0.16464049, 0.09089257, -0.18740588, 0.074056484, -0.07036196, -0.1520721, -0.042608, -0.090292506, 0.02194669, 0.4058324) * go_3(1.0, -1.0); - result += mat4(-0.009145896, -0.12280851, -0.053323988, -0.11779747, -0.19233781, -0.043844953, 0.38928485, -0.1360925, -0.19232596, -0.13653496, -0.24090208, 0.0032735714, -0.3178246, 0.26485837, -0.13412476, -0.2772591) * go_3(1.0, 0.0); - result += mat4(-0.15293506, -0.10567386, -0.059870817, -0.15096396, 0.017852047, -0.04199419, 0.14113593, -0.08838249, 0.023756316, -0.17278883, -0.053398855, -0.12933524, 0.023878157, 0.4247718, -0.26429, -0.2980643) * go_3(1.0, 1.0); - result += vec4(0.08359342, 0.008897858, -0.01240489, 0.053099718); - return result; -} -//!DESC Anime4K-v4.0-Restore-CNN-Light-(VL)-Conv-3x1x1x112 -//!HOOK MAIN -//!BIND MAIN -//!BIND conv2d_1_tf -//!BIND conv2d_1_tf1 -//!BIND conv2d_2_tf -//!BIND conv2d_2_tf1 -//!BIND conv2d_3_tf -//!BIND conv2d_3_tf1 -//!BIND conv2d_4_tf -//!BIND conv2d_4_tf1 -//!BIND conv2d_5_tf -//!BIND conv2d_5_tf1 -//!BIND conv2d_6_tf -//!BIND conv2d_6_tf1 -//!BIND conv2d_7_tf -//!BIND conv2d_7_tf1 -//!SAVE MAIN -//!WIDTH conv2d_1_tf.w -//!HEIGHT conv2d_1_tf.h -#define g_0 (max((conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0)) -#define g_1 (max((conv2d_1_tf1_tex(conv2d_1_tf1_pos)), 0.0)) -#define g_2 (max(-(conv2d_1_tf_tex(conv2d_1_tf_pos)), 0.0)) -#define g_3 (max(-(conv2d_1_tf1_tex(conv2d_1_tf1_pos)), 0.0)) -#define g_4 (max((conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0)) -#define g_5 (max((conv2d_2_tf1_tex(conv2d_2_tf1_pos)), 0.0)) -#define g_6 (max(-(conv2d_2_tf_tex(conv2d_2_tf_pos)), 0.0)) -#define g_7 (max(-(conv2d_2_tf1_tex(conv2d_2_tf1_pos)), 0.0)) -#define g_8 (max((conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0)) -#define g_9 (max((conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0)) -#define g_10 (max(-(conv2d_3_tf_tex(conv2d_3_tf_pos)), 0.0)) -#define g_11 (max(-(conv2d_3_tf1_tex(conv2d_3_tf1_pos)), 0.0)) -#define g_12 (max((conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0)) -#define g_13 (max((conv2d_4_tf1_tex(conv2d_4_tf1_pos)), 0.0)) -#define g_14 (max(-(conv2d_4_tf_tex(conv2d_4_tf_pos)), 0.0)) -#define g_15 (max(-(conv2d_4_tf1_tex(conv2d_4_tf1_pos)), 0.0)) -#define g_16 (max((conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0)) -#define g_17 (max((conv2d_5_tf1_tex(conv2d_5_tf1_pos)), 0.0)) -#define g_18 (max(-(conv2d_5_tf_tex(conv2d_5_tf_pos)), 0.0)) -#define g_19 (max(-(conv2d_5_tf1_tex(conv2d_5_tf1_pos)), 0.0)) -#define g_20 (max((conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0)) -#define g_21 (max((conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0)) -#define g_22 (max(-(conv2d_6_tf_tex(conv2d_6_tf_pos)), 0.0)) -#define g_23 (max(-(conv2d_6_tf1_tex(conv2d_6_tf1_pos)), 0.0)) -#define g_24 (max((conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0)) -#define g_25 (max((conv2d_7_tf1_tex(conv2d_7_tf1_pos)), 0.0)) -#define g_26 (max(-(conv2d_7_tf_tex(conv2d_7_tf_pos)), 0.0)) -#define g_27 (max(-(conv2d_7_tf1_tex(conv2d_7_tf1_pos)), 0.0)) -vec4 hook() { - vec4 result = mat4(0.042124867, 0.012862418, -0.021120483, 0.0, 0.019277738, 0.011698596, 0.008862954, 0.0, -0.0057213004, 0.02371937, 0.0579552, 0.0, 0.01427818, 0.027752554, 0.03798773, 0.0) * g_0; - result += mat4(-0.018433584, -0.00702564, 0.032157097, 0.0, -0.0065610423, 0.032124713, 0.053468972, 0.0, 0.030205311, -0.037980568, -0.047998216, 0.0, -0.075124204, 0.007509577, 0.02170803, 0.0) * g_1; - result += mat4(-0.1153598, -0.0047438284, -0.02289614, 0.0, -0.018116655, -0.0068877684, -0.0073694442, 0.0, 0.016341502, 0.025485802, -0.018508863, 0.0, 0.043566197, 0.03932944, 0.03950162, 0.0) * g_2; - result += mat4(0.009176268, -0.0038605768, -0.011904655, 0.0, 0.008268611, -0.0010951237, -0.011472222, 0.0, 0.05143477, 0.030542726, 0.018721472, 0.0, 0.030586604, 0.0072843223, -0.019534469, 0.0) * g_3; - result += mat4(-0.045128733, 7.6057477e-06, -0.021275453, 0.0, 0.062911324, 0.03954054, 0.03724435, 0.0, 0.069856994, -0.048844956, -0.048010163, 0.0, 0.003565218, -0.057687603, -0.09341574, 0.0) * g_4; - result += mat4(0.049102437, -0.022655213, -0.036009848, 0.0, -0.0425931, 0.06653933, 0.083380535, 0.0, 0.028101565, 0.021939766, 0.041376323, 0.0, 0.017209789, -0.08847452, -0.076797254, 0.0) * g_5; - result += mat4(-0.032191783, 0.03835339, 0.06781054, 0.0, -0.0008114041, 0.00020794781, -0.0010172284, 0.0, -0.060301982, 0.03171379, 0.032925736, 0.0, -0.1552392, 0.05374666, 0.08089429, 0.0) * g_6; - result += mat4(-0.080148816, 0.010332208, 0.020371353, 0.0, 0.039923012, -0.11814809, -0.12281845, 0.0, 0.016844474, -0.013764649, -0.052181747, 0.0, -0.045319352, 0.101213075, 0.10944722, 0.0) * g_7; - result += mat4(-0.23530923, 0.08813269, 0.11861134, 0.0, 0.010618335, 0.011020992, 0.015451004, 0.0, -0.18206586, 0.035453822, 0.09510204, 0.0, 0.010423282, 0.036346193, 0.038728733, 0.0) * g_8; - result += mat4(0.24749167, -0.03378036, -0.0683466, 0.0, -0.009028468, -0.05623612, -0.057480026, 0.0, 0.09441378, -0.05424562, -0.05841103, 0.0, -0.0843261, 0.026437603, 0.014840906, 0.0) * g_9; - result += mat4(0.16927648, -0.06158766, -0.09218141, 0.0, -0.10626994, 0.010650708, 0.030505022, 0.0, -0.07853311, -0.002175775, -0.03032276, 0.0, -0.104718, 0.001276644, 0.019815942, 0.0) * g_10; - result += mat4(-0.06283035, 0.00058386725, 0.004808151, 0.0, 0.033348914, 0.04539933, 0.0444302, 0.0, -0.05809646, 0.009655896, 0.0056545045, 0.0, 0.034789123, -0.007384816, 0.0035189851, 0.0) * g_11; - result += mat4(0.0014730082, 0.025703052, 0.0268706, 0.0, 0.1019674, -0.05840804, -0.07507562, 0.0, -0.1673014, 0.051378556, 0.08572268, 0.0, -0.032113515, 0.05205972, 0.060772028, 0.0) * g_12; - result += mat4(-0.08007044, 0.012943259, 0.024321567, 0.0, -0.07000361, -0.000610367, 0.01572208, 0.0, 0.013370822, 0.01923278, 0.012238079, 0.0, -0.0379411, 0.06573626, 0.07575614, 0.0) * g_13; - result += mat4(0.032598913, -0.013450116, -0.017327832, 0.0, -0.09309218, 0.034671698, 0.047308, 0.0, 0.14932245, -0.045336235, -0.083265685, 0.0, 0.033724166, -0.027310181, -0.03686237, 0.0) * g_14; - result += mat4(0.083868645, -0.032803044, -0.04562115, 0.0, 0.08143632, -0.0057966528, -0.013772402, 0.0, -0.028259633, 0.028252508, 0.039690774, 0.0, 0.06855273, -0.02400099, -0.03376375, 0.0) * g_15; - result += mat4(0.03773346, -0.026397346, -0.029801687, 0.0, 0.055534203, 0.02333977, 0.020481698, 0.0, 0.0011526236, 0.008906047, 0.0041069724, 0.0, 0.0010689326, 0.012347374, 0.017418593, 0.0) * g_16; - result += mat4(-0.0264795, -0.044124357, -0.043910403, 0.0, 0.0145998765, 0.019137776, 0.020255337, 0.0, -0.083716445, 0.033262488, 0.039049577, 0.0, -0.032709233, -0.046185467, -0.048364278, 0.0) * g_17; - result += mat4(-0.034629766, 0.020100307, 0.028412824, 0.0, -0.0137765175, 0.008054154, 0.0046829036, 0.0, -0.011826403, -0.01455164, -0.013969898, 0.0, 0.005800056, -0.006216361, -0.007724359, 0.0) * g_18; - result += mat4(-0.021786336, -0.006265138, -0.002085172, 0.0, -0.01804863, -0.01970949, -0.021468455, 0.0, 0.08891837, -0.021271938, -0.04218812, 0.0, 0.020233031, 0.02058268, 0.02207674, 0.0) * g_19; - result += mat4(-0.017140275, -0.0041300976, -0.008736719, 0.0, -0.008697689, -0.012953463, -0.012370253, 0.0, -0.020745503, -0.021975018, -0.018033188, 0.0, 0.058173265, 0.050548647, 0.04447955, 0.0) * g_20; - result += mat4(-0.033816054, -0.059433162, -0.056139745, 0.0, 0.012404565, 0.018636037, 0.013804198, 0.0, 0.021715008, 0.004102065, 0.0111735035, 0.0, 0.0019380839, 0.0017509563, 0.0038930578, 0.0) * g_21; - result += mat4(-0.00023415597, -0.011760596, -0.011405592, 0.0, 0.025426932, 0.039667804, 0.035684295, 0.0, 0.016980644, 0.011795092, 0.013470335, 0.0, -0.025507066, -0.02033687, -0.020721486, 0.0) * g_22; - result += mat4(0.01585531, 0.020640496, 0.023743158, 0.0, 0.0034342587, -0.005547785, -0.0074244556, 0.0, 0.010638672, 0.024690975, 0.021351457, 0.0, -0.03306002, -0.03077074, -0.031941917, 0.0) * g_23; - result += mat4(-0.024837255, -0.020206666, -0.016778208, 0.0, 0.005711027, 0.004747588, 0.0049691377, 0.0, -0.044870943, -0.044082537, -0.044073235, 0.0, -0.022272084, -0.026724303, -0.027176952, 0.0) * g_24; - result += mat4(0.02927202, 0.029226512, 0.027758334, 0.0, -0.033909146, -0.028144961, -0.026506089, 0.0, 0.06808888, 0.072247624, 0.065874286, 0.0, 0.027915271, 0.036502395, 0.03376617, 0.0) * g_25; - result += mat4(-0.016696468, -0.02597408, -0.024703866, 0.0, 0.04002533, 0.046332058, 0.044949003, 0.0, 0.002096275, -0.0045506293, -0.0015028963, 0.0, -0.023139454, -0.025074083, -0.02109811, 0.0) * g_26; - result += mat4(0.019118244, 0.021167776, 0.020281453, 0.0, -0.01647079, -0.024976786, -0.022318128, 0.0, -0.0030899493, -0.008817107, -0.0069928328, 0.0, -0.09314866, -0.09591313, -0.093683235, 0.0) * g_27; - result += vec4(0.024971247, -0.024011046, -0.026103532, 0.0); - return result + MAIN_tex(MAIN_pos); -} |