Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
ParaEncode
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ParaEncode
Commits
2f99de4e
Commit
2f99de4e
authored
May 18, 2022
by
Linshizhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove console.log
parent
7861d6d3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
encWW.js
resources/workers/encWW.js
+6
-6
No files found.
resources/workers/encWW.js
View file @
2f99de4e
...
...
@@ -208,15 +208,15 @@ async function RGBProcessing(frame) {
let
st
,
et
;
st
=
new
Date
();
//
st = new Date();
ret
=
encoder
.
_encode
(
wasmMem
,
encBuf
,
ENC_BUF_SIZE
,
size
);
size_
=
encoder
.
getValue
(
size
,
'i32'
);
et
=
new
Date
();
//
et = new Date();
let
timeDiff
=
(
et
-
st
)
/
1000
;
elapsed
+=
timeDiff
;
console
.
log
(
"Encode with elapsed: "
+
timeDiff
);
console
.
log
(
"Encode Total: "
+
elapsed
);
//
let timeDiff = (et -st) / 1000;
//
elapsed += timeDiff;
//
console.log("Encode with elapsed: " + timeDiff);
//
console.log("Encode Total: " + elapsed);
if
(
size_
==
0
)
return
true
;
...
...
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