Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
elphel-web-393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
elphel-web-393
Commits
4d6a2363
Commit
4d6a2363
authored
Jun 27, 2017
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
+a few changes for jp4 previewing in camvc
parent
c7d2aca7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
2 deletions
+34
-2
jquery-jp4.js
src/jp4-canvas/jquery-jp4.js
+34
-2
No files found.
src/jp4-canvas/jquery-jp4.js
View file @
4d6a2363
...
...
@@ -141,6 +141,36 @@
}
this
.
refresh
=
function
(){
send_request
();
}
this
.
resize
=
function
(
w
){
settings
.
width
=
w
;
send_request
();
}
this
.
setAddr
=
function
(
url
,
port
){
settings
.
port
=
port
;
settings
.
url
=
ip
;
return
0
;
}
this
.
getFormat
=
function
(){
return
this
.
format
;
}
this
.
getAddr
=
function
(){
return
Array
(
settings
.
ip
,
settings
.
port
);
}
function
process_image
(
imagedata
){
var
canvas
=
cnv_working
;
...
...
@@ -387,6 +417,8 @@
//default:
}
obj
.
format
=
IMAGE_FORMAT
;
//var gains = Array();
//var blacks = Array();
var
gammas
=
Array
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment