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
63d9d3ea
Commit
63d9d3ea
authored
Nov 21, 2016
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
less comments
parent
35741f0f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
jquery-jp4.js
src/jp4-canvas/jquery-jp4.js
+2
-5
No files found.
src/jp4-canvas/jquery-jp4.js
View file @
63d9d3ea
...
@@ -60,8 +60,6 @@
...
@@ -60,8 +60,6 @@
rq
=
settings
.
image
;
rq
=
settings
.
image
;
}
}
console
.
log
(
"my rq is "
+
rq
);
http
.
open
(
"GET"
,
rq
,
true
);
http
.
open
(
"GET"
,
rq
,
true
);
http
.
responseType
=
"blob"
;
http
.
responseType
=
"blob"
;
...
@@ -95,7 +93,6 @@
...
@@ -95,7 +93,6 @@
$
(
this
).
draw
({
$
(
this
).
draw
({
fn
:
function
(
ctx
){
fn
:
function
(
ctx
){
var
t0
=
Date
.
now
();
var
t0
=
Date
.
now
();
console
.
log
(
"Processing "
+
elem
.
attr
(
"id"
));
if
((
IMAGE_FORMAT
==
"JP4"
)
||
(
IMAGE_FORMAT
==
"JP46"
)){
if
((
IMAGE_FORMAT
==
"JP4"
)
||
(
IMAGE_FORMAT
==
"JP46"
)){
if
(
settings
.
fast
){
if
(
settings
.
fast
){
quickestPreview
(
ctx
);
quickestPreview
(
ctx
);
...
@@ -134,7 +131,7 @@
...
@@ -134,7 +131,7 @@
//saturation(ctx,SATURATION[0]);
//saturation(ctx,SATURATION[0]);
}
}
Elphel
.
drawScaled
(
cnv_working
,
cnv_display
,
settings
.
width
);
Elphel
.
drawScaled
(
cnv_working
,
cnv_display
,
settings
.
width
);
console
.
log
(
elem
.
attr
(
"id"
)
+
" processing finished, total
time: "
+
(
Date
.
now
()
-
t0
)
/
1000
+
" s"
);
console
.
log
(
"#"
+
elem
.
attr
(
"id"
)
+
",
time: "
+
(
Date
.
now
()
-
t0
)
/
1000
+
" s"
);
$
(
this
).
trigger
(
"canvas_ready"
);
$
(
this
).
trigger
(
"canvas_ready"
);
if
(
settings
.
refresh
)
get_image
();
if
(
settings
.
refresh
)
get_image
();
...
...
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