Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x393
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
x393
Commits
437cc98b
Commit
437cc98b
authored
Dec 13, 2017
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comments fix
parent
bfa720f4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
4 deletions
+1
-4
create_fold_rom.py
dsp/create_fold_rom.py
+1
-2
create_wnd_mul_rom.py
dsp/create_wnd_mul_rom.py
+0
-1
create_wnd_sres4_rom.py
dsp/create_wnd_sres4_rom.py
+0
-1
No files found.
dsp/create_fold_rom.py
View file @
437cc98b
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
from
__future__
import
print_function
from
__future__
import
print_function
from
__future__
import
division
from
__future__
import
division
# Copyright (C) 2017, Elphel.inc.
# Copyright (C) 2017, Elphel.inc.
# Helper module create AHCI registers type/default data
# This program is free software: you can redistribute it and/or modify
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# the Free Software Foundation, either version 3 of the License, or
...
@@ -137,7 +136,7 @@ def get_fold_indices(x, n = 8):
...
@@ -137,7 +136,7 @@ def get_fold_indices(x, n = 8):
return
ind
return
ind
def
create_fold
(
n
=
8
):
# n - DCT and window size
def
create_fold
(
n
=
8
):
# n - DCT and window size
fold_index
=
(
n
*
n
)
*
[
4
*
[
0
]]
# new int[n*n][4];
#
fold_index = (n*n) * [4*[0]] # new int[n*n][4];
fold_index
=
[]
fold_index
=
[]
for
_
in
range
(
n
*
n
):
for
_
in
range
(
n
*
n
):
fold_index
.
append
([
0
,
0
,
0
,
0
])
fold_index
.
append
([
0
,
0
,
0
,
0
])
...
...
dsp/create_wnd_mul_rom.py
View file @
437cc98b
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
from
__future__
import
print_function
from
__future__
import
print_function
from
__future__
import
division
from
__future__
import
division
# Copyright (C) 2017, Elphel.inc.
# Copyright (C) 2017, Elphel.inc.
# Helper module create AHCI registers type/default data
# This program is free software: you can redistribute it and/or modify
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# the Free Software Foundation, either version 3 of the License, or
...
...
dsp/create_wnd_sres4_rom.py
View file @
437cc98b
...
@@ -3,7 +3,6 @@
...
@@ -3,7 +3,6 @@
from
__future__
import
print_function
from
__future__
import
print_function
from
__future__
import
division
from
__future__
import
division
# Copyright (C) 2017, Elphel.inc.
# Copyright (C) 2017, Elphel.inc.
# Helper module create AHCI registers type/default data
# This program is free software: you can redistribute it and/or modify
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# the Free Software Foundation, either version 3 of the License, or
...
...
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