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
271829a4
Commit
271829a4
authored
2 years ago
by
Dominik Loidolt
Browse files
Options
Downloads
Patches
Plain Diff
Clean up function prototypes
parent
11a9742c
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!15
decompress compression entities that are not a multiple of 4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/cmp_entity.h
+14
-14
14 additions, 14 deletions
include/cmp_entity.h
include/cmp_support.h
+0
-2
0 additions, 2 deletions
include/cmp_support.h
with
14 additions
and
16 deletions
include/cmp_entity.h
+
14
−
14
View file @
271829a4
...
@@ -192,7 +192,7 @@ int cmp_ent_set_coarse_end_time(struct cmp_entity *ent, uint32_t coarse_time);
...
@@ -192,7 +192,7 @@ int cmp_ent_set_coarse_end_time(struct cmp_entity *ent, uint32_t coarse_time);
int
cmp_ent_set_fine_end_time
(
struct
cmp_entity
*
ent
,
uint16_t
fine_time
);
int
cmp_ent_set_fine_end_time
(
struct
cmp_entity
*
ent
,
uint16_t
fine_time
);
int
cmp_ent_set_data_type
(
struct
cmp_entity
*
ent
,
enum
cmp_data_type
data_type
,
int
cmp_ent_set_data_type
(
struct
cmp_entity
*
ent
,
enum
cmp_data_type
data_type
,
int
raw_mode
);
int
raw_mode
_flag
);
int
cmp_ent_set_cmp_mode
(
struct
cmp_entity
*
ent
,
enum
cmp_mode
cmp_mode_used
);
int
cmp_ent_set_cmp_mode
(
struct
cmp_entity
*
ent
,
enum
cmp_mode
cmp_mode_used
);
int
cmp_ent_set_model_value
(
struct
cmp_entity
*
ent
,
uint32_t
model_value_used
);
int
cmp_ent_set_model_value
(
struct
cmp_entity
*
ent
,
uint32_t
model_value_used
);
int
cmp_ent_set_model_id
(
struct
cmp_entity
*
ent
,
uint32_t
model_id
);
int
cmp_ent_set_model_id
(
struct
cmp_entity
*
ent
,
uint32_t
model_id
);
...
@@ -221,23 +221,23 @@ int cmp_ent_set_ima_ap2_golomb_par(struct cmp_entity *ent, uint32_t ap2_golomb_p
...
@@ -221,23 +221,23 @@ int cmp_ent_set_ima_ap2_golomb_par(struct cmp_entity *ent, uint32_t ap2_golomb_p
/* set functions for specific entity header for non-imagette data product types */
/* set functions for specific entity header for non-imagette data product types */
int
cmp_ent_set_non_ima_spill1
(
struct
cmp_entity
*
ent
,
uint32_t
spill1_used
);
int
cmp_ent_set_non_ima_spill1
(
struct
cmp_entity
*
ent
,
uint32_t
spill
_
1_used
);
int
cmp_ent_set_non_ima_cmp_par1
(
struct
cmp_entity
*
ent
,
uint32_t
cmp_par1_used
);
int
cmp_ent_set_non_ima_cmp_par1
(
struct
cmp_entity
*
ent
,
uint32_t
cmp_par
_
1_used
);
int
cmp_ent_set_non_ima_spill2
(
struct
cmp_entity
*
ent
,
uint32_t
spill2_used
);
int
cmp_ent_set_non_ima_spill2
(
struct
cmp_entity
*
ent
,
uint32_t
spill
_
2_used
);
int
cmp_ent_set_non_ima_cmp_par2
(
struct
cmp_entity
*
ent
,
uint32_t
cmp_par2_used
);
int
cmp_ent_set_non_ima_cmp_par2
(
struct
cmp_entity
*
ent
,
uint32_t
cmp_par
_
2_used
);
int
cmp_ent_set_non_ima_spill3
(
struct
cmp_entity
*
ent
,
uint32_t
spill3_used
);
int
cmp_ent_set_non_ima_spill3
(
struct
cmp_entity
*
ent
,
uint32_t
spill
_
3_used
);
int
cmp_ent_set_non_ima_cmp_par3
(
struct
cmp_entity
*
ent
,
uint32_t
cmp_par3_used
);
int
cmp_ent_set_non_ima_cmp_par3
(
struct
cmp_entity
*
ent
,
uint32_t
cmp_par
_
3_used
);
int
cmp_ent_set_non_ima_spill4
(
struct
cmp_entity
*
ent
,
uint32_t
spill4_used
);
int
cmp_ent_set_non_ima_spill4
(
struct
cmp_entity
*
ent
,
uint32_t
spill
_
4_used
);
int
cmp_ent_set_non_ima_cmp_par4
(
struct
cmp_entity
*
ent
,
uint32_t
cmp_par4_used
);
int
cmp_ent_set_non_ima_cmp_par4
(
struct
cmp_entity
*
ent
,
uint32_t
cmp_par
_
4_used
);
int
cmp_ent_set_non_ima_spill5
(
struct
cmp_entity
*
ent
,
uint32_t
spill5_used
);
int
cmp_ent_set_non_ima_spill5
(
struct
cmp_entity
*
ent
,
uint32_t
spill
_
5_used
);
int
cmp_ent_set_non_ima_cmp_par5
(
struct
cmp_entity
*
ent
,
uint32_t
cmp_par5_used
);
int
cmp_ent_set_non_ima_cmp_par5
(
struct
cmp_entity
*
ent
,
uint32_t
cmp_par
_
5_used
);
int
cmp_ent_set_non_ima_spill6
(
struct
cmp_entity
*
ent
,
uint32_t
spill6_used
);
int
cmp_ent_set_non_ima_spill6
(
struct
cmp_entity
*
ent
,
uint32_t
spill
_
6_used
);
int
cmp_ent_set_non_ima_cmp_par6
(
struct
cmp_entity
*
ent
,
uint32_t
cmp_par6_used
);
int
cmp_ent_set_non_ima_cmp_par6
(
struct
cmp_entity
*
ent
,
uint32_t
cmp_par
_
6_used
);
...
@@ -311,7 +311,7 @@ int32_t cmp_ent_get_cmp_data(struct cmp_entity *ent, uint32_t *data_buf,
...
@@ -311,7 +311,7 @@ int32_t cmp_ent_get_cmp_data(struct cmp_entity *ent, uint32_t *data_buf,
uint32_t
data_buf_size
);
uint32_t
data_buf_size
);
/* calculate the size of the compression entity header */
/* calculate the size of the compression entity header */
uint32_t
cmp_ent_cal_hdr_size
(
enum
cmp_data_type
data_type
,
int
raw_mode
);
uint32_t
cmp_ent_cal_hdr_size
(
enum
cmp_data_type
data_type
,
int
raw_mode
_flag
);
#if defined __has_include
#if defined __has_include
...
...
This diff is collapsed.
Click to expand it.
include/cmp_support.h
+
0
−
2
View file @
271829a4
...
@@ -317,8 +317,6 @@ int rdcu_supported_cmp_mode_is_used(enum cmp_mode cmp_mode);
...
@@ -317,8 +317,6 @@ int rdcu_supported_cmp_mode_is_used(enum cmp_mode cmp_mode);
int
zero_escape_mech_is_used
(
enum
cmp_mode
cmp_mode
);
int
zero_escape_mech_is_used
(
enum
cmp_mode
cmp_mode
);
int
multi_escape_mech_is_used
(
enum
cmp_mode
cmp_mode
);
int
multi_escape_mech_is_used
(
enum
cmp_mode
cmp_mode
);
/* unsigned int round_fwd(unsigned int value, unsigned int round); */
/* unsigned int round_inv(unsigned int value, unsigned int round); */
unsigned
int
cmp_up_model
(
unsigned
int
data
,
unsigned
int
model
,
unsigned
int
cmp_up_model
(
unsigned
int
data
,
unsigned
int
model
,
unsigned
int
model_value
,
unsigned
int
round
);
unsigned
int
model_value
,
unsigned
int
round
);
...
...
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