Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
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
imagej-elphel
Commits
805419d8
Commit
805419d8
authored
Dec 29, 2017
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed missing comments // in Verilog data
parent
aa48f730
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ImageDtt.java
src/main/java/ImageDtt.java
+2
-2
No files found.
src/main/java/ImageDtt.java
View file @
805419d8
...
...
@@ -1086,7 +1086,7 @@ public class ImageDtt {
System
.
out
.
println
(
"scale1="
+
scale1
);
for
(
int
chn
=
0
;
chn
<
3
;
chn
++)
{
for
(
int
dct_mode
=
0
;
dct_mode
<
4
;
dct_mode
++)
{
System
.
out
.
println
(
"Color="
+
chn
+
" fpga_clt_data_out[chn][dct_mode] = dtt.dttt_iv(..., scale1="
+
scale1
);
System
.
out
.
println
(
"
//
Color="
+
chn
+
" fpga_clt_data_out[chn][dct_mode] = dtt.dttt_iv(..., scale1="
+
scale1
);
fpga_clt_data_out
[
chn
][
dct_mode
]
=
dtt
.
dttt_iv
(
fpga_clt_data_out
[
chn
][
dct_mode
],
dct_mode
,
transform_size
,
scale1
,
((
1
<<
25
)
-
1
));
// debug level
// fpga_clt_data_out[chn][dct_mode] = dtt.dttt_iv (fpga_clt_data_out[chn][dct_mode], dct_mode, transform_size);
}
...
...
@@ -1219,7 +1219,7 @@ public class ImageDtt {
scale
*=
1.0
*((
1
<<
FPGA_WND_BITS
)
-
1
)
/
(
1
<<
FPGA_WND_BITS
);
scale
*=
1.0
*((
1
<<
FPGA_WND_BITS
)
-
1
)
/
(
1
<<
FPGA_WND_BITS
);
scale
*=
2
;
// Increased twice in FPGA adding twice each number in FPGA
System
.
out
.
println
(
"Color="
+
chn
+
" fpga_clt_data_out[chn][dct_mode] = dtt.dttt_iv(..., scale="
+
scale
);
System
.
out
.
println
(
"
//
Color="
+
chn
+
" fpga_clt_data_out[chn][dct_mode] = dtt.dttt_iv(..., scale="
+
scale
);
// if (chn != GREEN_CHN) scale *= 2; // adding twice each number in FPGA for R and B - done before
for
(
int
dct_mode
=
0
;
dct_mode
<
4
;
dct_mode
++)
{
...
...
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