summaryrefslogtreecommitdiff
path: root/js/Linear/DLSS.js
diff options
context:
space:
mode:
authorSunil Shetye2018-09-17 16:11:31 +0530
committerSunil Shetye2018-10-08 11:24:12 +0530
commitf389f174481df676c841ebcc87a7b8b313921bbc (patch)
tree2551fd05222a78d4441f5883a97980bda1d6b241 /js/Linear/DLSS.js
parent4dc055ae23c9e33e459b7b583a67f92b5972a062 (diff)
downloadsci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.gz
sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.tar.bz2
sci2js-f389f174481df676c841ebcc87a7b8b313921bbc.zip
add importset and getContainer to combined.js
Diffstat (limited to 'js/Linear/DLSS.js')
-rw-r--r--js/Linear/DLSS.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/Linear/DLSS.js b/js/Linear/DLSS.js
index e3b84916..7d586128 100644
--- a/js/Linear/DLSS.js
+++ b/js/Linear/DLSS.js
@@ -111,4 +111,14 @@ function DLSS() {
DLSS.prototype.get_popup_title = function DLSS() {
return this.set_param_popup_title;
}
+ DLSS.prototype.importset = function DLSS() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.A = ary[0];
+ this.B = ary[1];
+ this.C = ary[2];
+ this.D = ary[3];
+ this.x0 = ary[4];
+ }
+ DLSS.prototype.getContainer = function DLSS() { return new BasicBlock(this.x); }
}