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
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominik Loidolt
cmp_tool
Commits
1c555bf3
Commit
1c555bf3
authored
1 year ago
by
Dominik Loidolt
Browse files
Options
Downloads
Patches
Plain Diff
Move struct cmp_par form cmp_support.h to cmp_chunk.h
parent
8a78a673
No related branches found
No related tags found
1 merge request
!26
Adapt cmp_tool to the chunk decompression
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/cmp_chunk.h
+42
-0
42 additions, 0 deletions
lib/cmp_chunk.h
lib/common/cmp_support.h
+0
-40
0 additions, 40 deletions
lib/common/cmp_support.h
with
42 additions
and
40 deletions
lib/cmp_chunk.h
+
42
−
0
View file @
1c555bf3
...
@@ -20,6 +20,7 @@
...
@@ -20,6 +20,7 @@
#ifndef CMP_CHUNK_H
#ifndef CMP_CHUNK_H
#define CMP_CHUNK_H
#define CMP_CHUNK_H
#include
"common/cmp_support.h"
#include
"common/cmp_entity.h"
#include
"common/cmp_entity.h"
...
@@ -48,6 +49,47 @@
...
@@ -48,6 +49,47 @@
)
)
struct
cmp_par
{
enum
cmp_mode
cmp_mode
;
/**< compression mode parameter */
uint32_t
model_value
;
/**< model weighting parameter */
uint32_t
lossy_par
;
/**< lossy compression parameter */
uint32_t
nc_imagette
;
/**< compression parameter for imagette data compression */
uint32_t
s_exp_flags
;
/**< compression parameter for exposure flags compression */
uint32_t
s_fx
;
/**< compression parameter for normal flux compression */
uint32_t
s_ncob
;
/**< compression parameter for normal center of brightness compression */
uint32_t
s_efx
;
/**< compression parameter for extended flux compression */
uint32_t
s_ecob
;
/**< compression parameter for executed center of brightness compression */
uint32_t
l_exp_flags
;
/**< compression parameter for exposure flags compression */
uint32_t
l_fx
;
/**< compression parameter for normal flux compression */
uint32_t
l_ncob
;
/**< compression parameter for normal center of brightness compression */
uint32_t
l_efx
;
/**< compression parameter for extended flux compression */
uint32_t
l_ecob
;
/**< compression parameter for executed center of brightness compression */
uint32_t
l_fx_cob_variance
;
/**< compression parameter for flux/COB variance compression */
uint32_t
saturated_imagette
;
/**< compression parameter for saturated imagette data compression */
uint32_t
nc_offset_mean
;
uint32_t
nc_offset_variance
;
uint32_t
nc_background_mean
;
uint32_t
nc_background_variance
;
uint32_t
nc_background_outlier_pixels
;
uint32_t
smearing_mean
;
uint32_t
smearing_variance_mean
;
uint32_t
smearing_outlier_pixels
;
uint32_t
fc_imagette
;
uint32_t
fc_offset_mean
;
uint32_t
fc_offset_variance
;
uint32_t
fc_background_mean
;
uint32_t
fc_background_variance
;
uint32_t
fc_background_outlier_pixels
;
};
/**
/**
* @brief returns the maximum compressed size in a worst case scenario
* @brief returns the maximum compressed size in a worst case scenario
*
*
...
...
This diff is collapsed.
Click to expand it.
lib/common/cmp_support.h
+
0
−
40
View file @
1c555bf3
...
@@ -150,46 +150,6 @@ enum cmp_mode {
...
@@ -150,46 +150,6 @@ enum cmp_mode {
};
};
struct
cmp_par
{
enum
cmp_mode
cmp_mode
;
/**< compression mode parameter */
uint32_t
model_value
;
/**< model weighting parameter */
uint32_t
lossy_par
;
/**< lossy compression parameter */
uint32_t
nc_imagette
;
/**< compression parameter for imagette data compression */
uint32_t
s_exp_flags
;
/**< compression parameter for exposure flags compression */
uint32_t
s_fx
;
/**< compression parameter for normal flux compression */
uint32_t
s_ncob
;
/**< compression parameter for normal center of brightness compression */
uint32_t
s_efx
;
/**< compression parameter for extended flux compression */
uint32_t
s_ecob
;
/**< compression parameter for executed center of brightness compression */
uint32_t
l_exp_flags
;
/**< compression parameter for exposure flags compression */
uint32_t
l_fx
;
/**< compression parameter for normal flux compression */
uint32_t
l_ncob
;
/**< compression parameter for normal center of brightness compression */
uint32_t
l_efx
;
/**< compression parameter for extended flux compression */
uint32_t
l_ecob
;
/**< compression parameter for executed center of brightness compression */
uint32_t
l_fx_cob_variance
;
/**< compression parameter for flux/COB variance compression */
uint32_t
saturated_imagette
;
/**< compression parameter for saturated imagette data compression */
uint32_t
nc_offset_mean
;
uint32_t
nc_offset_variance
;
uint32_t
nc_background_mean
;
uint32_t
nc_background_variance
;
uint32_t
nc_background_outlier_pixels
;
uint32_t
smearing_mean
;
uint32_t
smearing_variance_mean
;
uint32_t
smearing_outlier_pixels
;
uint32_t
fc_imagette
;
uint32_t
fc_offset_mean
;
uint32_t
fc_offset_variance
;
uint32_t
fc_background_mean
;
uint32_t
fc_background_variance
;
uint32_t
fc_background_outlier_pixels
;
};
/**
/**
* @brief The cmp_cfg structure can contain the complete configuration of the HW as
* @brief The cmp_cfg structure can contain the complete configuration of the HW as
* well as the SW compressor.
* well as the SW compressor.
...
...
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