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
0512bbbd
Commit
0512bbbd
authored
2 years ago
by
Dominik Loidolt
Browse files
Options
Downloads
Patches
Plain Diff
fix documentation
parent
f53ca014
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmp_tool.c
+5
-4
5 additions, 4 deletions
cmp_tool.c
with
5 additions
and
4 deletions
cmp_tool.c
+
5
−
4
View file @
0512bbbd
...
...
@@ -661,17 +661,18 @@ static int gen_rdcu_write_pkts(struct cmp_cfg *cfg)
*
* @param cfg compression configuration struct
* @param cmp_size_bit length of the bitstream in bits
* @param ap1_cmp_size_bit length of the adaptive 1 bitstream in bits
* @param ap2_cmp_size_bit length of the adaptive 2 bitstream in bits
* @param info compressor information struct to set the used compression
* parameters (can be NULL)
*
* @note set cmp_size, ap1_cmp_size, ap2_cmp_size will be set to 0
*
* @returns 0 on success, error otherwise
* TODO: set cmp_mode_err, set model_value_err, etc, in error case
*/
static
int
cmp_gernate_rdcu_info
(
const
struct
cmp_cfg
*
cfg
,
int
cmp_size_bit
,
int
ap1_cmp_size_bit
,
int
ap2_cmp_size_bit
,
struct
cmp_info
*
info
)
static
int
cmp_gernate_rdcu_info
(
const
struct
cmp_cfg
*
cfg
,
int
cmp_size_bit
,
int
ap1_cmp_size_bit
,
int
ap2_cmp_size_bit
,
struct
cmp_info
*
info
)
{
if
(
!
cfg
)
return
-
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