Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
audiowmark
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
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Stefan Westerfeld
audiowmark
Commits
09cc1eb0
Commit
09cc1eb0
authored
Feb 10, 2019
by
Stefan Westerfeld
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change convcode ab rate to 12 (a rate 6 / b rate 6).
Signed-off-by:
Stefan Westerfeld
<
stefan@space.twc.de
>
parent
eee2cc79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
convcode.cc
src/convcode.cc
+6
-3
No files found.
src/convcode.cc
View file @
09cc1eb0
...
...
@@ -22,9 +22,12 @@ parity (unsigned int v)
return
p
;
}
// rate 1/6 code generator poynomial from "In search of a 2dB Coding Gain", Yuen and Vo
// minimum free distance 56
constexpr
auto
ab_generators
=
std
::
array
<
unsigned
,
6
>
{
046321
,
051271
,
070535
,
063667
,
073277
,
076531
};
constexpr
auto
ab_generators
=
std
::
array
<
unsigned
,
12
>
{
066561
,
075211
,
071545
,
054435
,
063635
,
052475
,
063543
,
075307
,
052547
,
045627
,
067657
,
051757
};
constexpr
unsigned
int
ab_rate
=
ab_generators
.
size
();
constexpr
unsigned
int
order
=
15
;
...
...
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