File indexing completed on 2024-05-12 04:52:38

0001 // SPDX-FileCopyrightText: Till Theato <root@ttill.de>
0002 // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL
0003 
0004 var update = new Object();
0005 
0006 update["Channel"] = new Array(new Array(0.2, function(v, d) { return this.upd1(v, d); }));
0007 update["Histogram position"] = update["Channel"];
0008 
0009 function upd1(value, isDowngrade) {
0010     if (isDowngrade)
0011         return value * 10;
0012     else
0013         return value / 10.;
0014 }