Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cmp_tool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominik Loidolt
cmp_tool
Commits
67619fa7
Commit
67619fa7
authored
2 years ago
by
Dominik Loidolt
Browse files
Options
Downloads
Patches
Plain Diff
some code formatting
parent
a8145572
No related branches found
No related tags found
1 merge request
!11
decompression/compression for non-imagette data
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
lib/cmp_data_types.c
+2
-1
2 additions, 1 deletion
lib/cmp_data_types.c
lib/cmp_io.c
+5
-5
5 additions, 5 deletions
lib/cmp_io.c
lib/decmp.c
+1
-2
1 addition, 2 deletions
lib/decmp.c
with
8 additions
and
8 deletions
lib/cmp_data_types.c
+
2
−
1
View file @
67619fa7
...
...
@@ -99,7 +99,8 @@ struct cmp_max_used_bits cmp_get_max_used_bits(void)
* @returns version of the max used bits registry
*/
uint8_t
cmp_get_max_used_bits_version
(
void
)
{
uint8_t
cmp_get_max_used_bits_version
(
void
)
{
return
max_used_bits
.
version
;
}
...
...
This diff is collapsed.
Click to expand it.
lib/cmp_io.c
+
5
−
5
View file @
67619fa7
This diff is collapsed.
Click to expand it.
lib/decmp.c
+
1
−
2
View file @
67619fa7
...
...
@@ -148,8 +148,7 @@ static int rice_decoder(uint32_t code_word, unsigned int m, unsigned int log2_m,
*/
static
int
golomb_decoder
(
unsigned
int
code_word
,
unsigned
int
m
,
unsigned
int
log2_m
,
unsigned
int
*
decoded_cw
)
unsigned
int
log2_m
,
unsigned
int
*
decoded_cw
)
{
unsigned
int
q
;
/* quotient code */
unsigned
int
r1
;
/* remainder code group 1 */
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment