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
16d97d9a
Commit
16d97d9a
authored
Feb 15, 2024
by
Dominik Loidolt
Browse files
Options
Downloads
Patches
Plain Diff
Relax compression parameters limits for imagette ICU compression
parent
82e9a5a5
No related branches found
No related tags found
1 merge request
!26
Adapt cmp_tool to the chunk decompression
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/common/cmp_support.c
+8
-1
8 additions, 1 deletion
lib/common/cmp_support.c
with
8 additions
and
1 deletion
lib/common/cmp_support.c
+
8
−
1
View file @
16d97d9a
...
@@ -702,6 +702,7 @@ int cmp_cfg_imagette_is_invalid(const struct cmp_cfg *cfg, enum check_opt opt)
...
@@ -702,6 +702,7 @@ int cmp_cfg_imagette_is_invalid(const struct cmp_cfg *cfg, enum check_opt opt)
{
{
int
cfg_invalid
=
0
;
int
cfg_invalid
=
0
;
enum
cmp_mode
cmp_mode
;
enum
cmp_mode
cmp_mode
;
enum
cmp_data_type
data_type
;
if
(
!
cfg
)
if
(
!
cfg
)
return
1
;
return
1
;
...
@@ -717,8 +718,14 @@ int cmp_cfg_imagette_is_invalid(const struct cmp_cfg *cfg, enum check_opt opt)
...
@@ -717,8 +718,14 @@ int cmp_cfg_imagette_is_invalid(const struct cmp_cfg *cfg, enum check_opt opt)
else
else
cmp_mode
=
cfg
->
cmp_mode
;
cmp_mode
=
cfg
->
cmp_mode
;
if
(
opt
==
ICU_CHECK
)
data_type
=
DATA_TYPE_CHUNK
;
else
data_type
=
cfg
->
data_type
;
cfg_invalid
+=
cmp_pars_are_invalid
(
cfg
->
golomb_par
,
cfg
->
spill
,
cmp_mode
,
cfg_invalid
+=
cmp_pars_are_invalid
(
cfg
->
golomb_par
,
cfg
->
spill
,
cmp_mode
,
cfg
->
data_type
,
"imagette"
);
data_type
,
"imagette"
);
/* for the RDCU the adaptive parameters have to be always valid */
/* for the RDCU the adaptive parameters have to be always valid */
if
(
opt
==
RDCU_CHECK
||
cmp_ap_imagette_data_type_is_used
(
cfg
->
data_type
))
{
if
(
opt
==
RDCU_CHECK
||
cmp_ap_imagette_data_type_is_used
(
cfg
->
data_type
))
{
...
...
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