Loading Makefile +1 −1 Original line number Original line Diff line number Diff line # Runs 'make', 'make install', and 'make clean' in specified subdirectories # Runs 'make', 'make install', and 'make clean' in specified subdirectories SUBDIRS := src/php_top src/python_tests src/debugfs-webgui src/jp4-canvas src/update src/eyesis4pi src/index src/pointers src/snapshot # src1 SUBDIRS := src/php_top src/python_tests src/debugfs-webgui src/jp4-canvas src/update src/eyesis4pi src/index src/pointers src/snapshot src/jp4-viewer # src1 INSTALLDIRS = $(SUBDIRS:%=install-%) INSTALLDIRS = $(SUBDIRS:%=install-%) CLEANDIRS = $(SUBDIRS:%=clean-%) CLEANDIRS = $(SUBDIRS:%=clean-%) Loading src/index/index.php +2 −1 Original line number Original line Diff line number Diff line Loading @@ -112,8 +112,9 @@ <a title="autocampars.php" href="autocampars.php">Parameter Editor</a><br /> <a title="autocampars.php" href="autocampars.php">Parameter Editor</a><br /> <a title="camogmgui.php" href="camogmgui.php">Recorder</a><br /> <a title="camogmgui.php" href="camogmgui.php">Recorder</a><br /> <a title="save snapshots" href="snapshot/">Take snapshot</a><br /> <a title="save snapshots" href="snapshot/">Take snapshot</a><br /> <a title="preview jp4 images (drag and drop from PC)" href="jp4-viewer/?width=1200&quality=1">JP4 Viewer</a><br /> <a title="hwmon.html" href="hwmon.html">Temperature monitor</a><br /> <a title="hwmon.html" href="hwmon.html">Temperature monitor</a><br /> <a title="update NAND flash" href="update_software.html">Update</a><br /> <a title="update NAND flash" href="update_software.html">Update firmware</a><br /> <br /> <br /> <a title="docs" href="http://wiki.elphel.com/index.php?title=Tmp_manual">User manual</a><br /> <a title="docs" href="http://wiki.elphel.com/index.php?title=Tmp_manual">User manual</a><br /> </div> </div> Loading src/jp4-canvas/jquery-jp4.js +2 −1 Original line number Original line Diff line number Diff line Loading @@ -49,6 +49,7 @@ chn1: "red", chn1: "red", chn2: "green", chn2: "green", ndvi: false, ndvi: false, webworker_path: "js", debug: false, debug: false, callback: function(){ callback: function(){ console.log("callback"); console.log("callback"); Loading Loading @@ -270,7 +271,7 @@ function quickestPreview(ctx){ function quickestPreview(ctx){ var worker = new Worker('js/webworker.js'); var worker = new Worker(settings.webworker_path+'/webworker.js'); if (DEBUG){ if (DEBUG){ TX = Date.now(); TX = Date.now(); Loading src/jp4-viewer/Makefile 0 → 100644 +18 −0 Original line number Original line Diff line number Diff line DOCUMENTROOT=$(DESTDIR)/www/pages/jp4-viewer OWN = -o root -g root INSTDOCS = 0644 INSTALL = install DOCS= index.html \ jp4-viewer.js \ jp4-viewer.css all: @echo "make all in src" install: @echo "make install in src" $(INSTALL) $(OWN) -d $(DOCUMENTROOT) $(INSTALL) $(OWN) -m $(INSTDOCS) $(DOCS) $(DOCUMENTROOT) clean: @echo "make clean in src" src/jp4-viewer/index.html 0 → 100644 +34 −0 Original line number Original line Diff line number Diff line <!DOCTYPE HTML> <html lang="en"> <head> <meta charset="utf-8"/> <title>JP4 format preview, drag&drop w/o uploading</title> <script src="../js/elphel.js"></script> <script src="../js/jquery-3.1.1.js"></script> <script src="../js/jcanvas.js"></script> <script src="../js/exif.js"></script> <script src="../js/jquery-jp4.js"></script> <script type='text/javascript' src='jp4-viewer.js'></script> <link rel='stylesheet' type='text/css' href='jp4-viewer.css'></link> </head> <body> <div id='help'> <b>Click</b> to select a JP4/JPEG image or <b>Drag</b> it here. </div> <div id="up_wrapper" class="uploader"> <input type='file' id="up_input" /> </div> <img id='smallimage' src=""> <div id='jp4view'> </div> </body> </html> Loading
Makefile +1 −1 Original line number Original line Diff line number Diff line # Runs 'make', 'make install', and 'make clean' in specified subdirectories # Runs 'make', 'make install', and 'make clean' in specified subdirectories SUBDIRS := src/php_top src/python_tests src/debugfs-webgui src/jp4-canvas src/update src/eyesis4pi src/index src/pointers src/snapshot # src1 SUBDIRS := src/php_top src/python_tests src/debugfs-webgui src/jp4-canvas src/update src/eyesis4pi src/index src/pointers src/snapshot src/jp4-viewer # src1 INSTALLDIRS = $(SUBDIRS:%=install-%) INSTALLDIRS = $(SUBDIRS:%=install-%) CLEANDIRS = $(SUBDIRS:%=clean-%) CLEANDIRS = $(SUBDIRS:%=clean-%) Loading
src/index/index.php +2 −1 Original line number Original line Diff line number Diff line Loading @@ -112,8 +112,9 @@ <a title="autocampars.php" href="autocampars.php">Parameter Editor</a><br /> <a title="autocampars.php" href="autocampars.php">Parameter Editor</a><br /> <a title="camogmgui.php" href="camogmgui.php">Recorder</a><br /> <a title="camogmgui.php" href="camogmgui.php">Recorder</a><br /> <a title="save snapshots" href="snapshot/">Take snapshot</a><br /> <a title="save snapshots" href="snapshot/">Take snapshot</a><br /> <a title="preview jp4 images (drag and drop from PC)" href="jp4-viewer/?width=1200&quality=1">JP4 Viewer</a><br /> <a title="hwmon.html" href="hwmon.html">Temperature monitor</a><br /> <a title="hwmon.html" href="hwmon.html">Temperature monitor</a><br /> <a title="update NAND flash" href="update_software.html">Update</a><br /> <a title="update NAND flash" href="update_software.html">Update firmware</a><br /> <br /> <br /> <a title="docs" href="http://wiki.elphel.com/index.php?title=Tmp_manual">User manual</a><br /> <a title="docs" href="http://wiki.elphel.com/index.php?title=Tmp_manual">User manual</a><br /> </div> </div> Loading
src/jp4-canvas/jquery-jp4.js +2 −1 Original line number Original line Diff line number Diff line Loading @@ -49,6 +49,7 @@ chn1: "red", chn1: "red", chn2: "green", chn2: "green", ndvi: false, ndvi: false, webworker_path: "js", debug: false, debug: false, callback: function(){ callback: function(){ console.log("callback"); console.log("callback"); Loading Loading @@ -270,7 +271,7 @@ function quickestPreview(ctx){ function quickestPreview(ctx){ var worker = new Worker('js/webworker.js'); var worker = new Worker(settings.webworker_path+'/webworker.js'); if (DEBUG){ if (DEBUG){ TX = Date.now(); TX = Date.now(); Loading
src/jp4-viewer/Makefile 0 → 100644 +18 −0 Original line number Original line Diff line number Diff line DOCUMENTROOT=$(DESTDIR)/www/pages/jp4-viewer OWN = -o root -g root INSTDOCS = 0644 INSTALL = install DOCS= index.html \ jp4-viewer.js \ jp4-viewer.css all: @echo "make all in src" install: @echo "make install in src" $(INSTALL) $(OWN) -d $(DOCUMENTROOT) $(INSTALL) $(OWN) -m $(INSTDOCS) $(DOCS) $(DOCUMENTROOT) clean: @echo "make clean in src"
src/jp4-viewer/index.html 0 → 100644 +34 −0 Original line number Original line Diff line number Diff line <!DOCTYPE HTML> <html lang="en"> <head> <meta charset="utf-8"/> <title>JP4 format preview, drag&drop w/o uploading</title> <script src="../js/elphel.js"></script> <script src="../js/jquery-3.1.1.js"></script> <script src="../js/jcanvas.js"></script> <script src="../js/exif.js"></script> <script src="../js/jquery-jp4.js"></script> <script type='text/javascript' src='jp4-viewer.js'></script> <link rel='stylesheet' type='text/css' href='jp4-viewer.css'></link> </head> <body> <div id='help'> <b>Click</b> to select a JP4/JPEG image or <b>Drag</b> it here. </div> <div id="up_wrapper" class="uploader"> <input type='file' id="up_input" /> </div> <img id='smallimage' src=""> <div id='jp4view'> </div> </body> </html>