Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
libaec
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Mathis Rosenhauer
libaec
Commits
e7f6460b
Commit
e7f6460b
authored
Oct 08, 2012
by
Mathis Rosenhauer
Committed by
Thomas Jahns
Feb 19, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renaming and some docs
parent
1c5c273f
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
250 additions
and
198 deletions
+250
-198
src/encode.c
src/encode.c
+243
-192
src/encode.h
src/encode.h
+7
-6
No files found.
src/encode.c
View file @
e7f6460b
This diff is collapsed.
Click to expand it.
src/encode.h
View file @
e7f6460b
...
...
@@ -25,14 +25,15 @@ struct internal_state {
uint32_t
*
data_pp
;
/* RSI blocks of preprocessed input */
uint32_t
*
data_raw
;
/* RSI blocks of input */
int
blocks_avail
;
/* remaining blocks in buffer */
uint32_t
*
block
_p
;
/* pointer to curren
t block */
uint32_t
*
block
;
/* current (preprocessed) inpu
t block */
int
block_len
;
/* input block length in byte */
uint8_t
*
cds_buf
;
/* Buffer for one Coded Data Set */
uint8_t
*
cds
;
/* current Coded Data Set output */
uint8_t
*
cds_buf
;
/* buffer for one CDS (only used if
* strm->next_out cannot hold full CDS) */
int
cds_len
;
/* max cds length in byte */
uint8_t
*
cds_p
;
/* pointer to current output */
int
direct_out
;
/* output to strm->next_out (1)
int
direct_out
;
/* cds points to strm->next_out (1)
* or cds_buf (0) */
int
bit
_p
;
/* bit pointer to the next unused bit in
int
bit
s
;
/* Free bits (LSB) in output buffer or
* accumulator */
int
ref
;
/* length of reference sample in current
* block i.e. 0 or 1 depending on whether
...
...
@@ -42,7 +43,7 @@ struct internal_state {
int64_t
zero_ref_sample
;
/* reference sample of zero block */
int
zero_blocks
;
/* number of contiguous zero blocks */
int
k
;
/* splitting position */
int
kmax
;
int
kmax
;
/* maximum number for k depending on id_len */
int
flush
;
/* flush option copied from argument */
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment