Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
20b10ba8
Commit
20b10ba8
authored
Dec 19, 2018
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/rangecoder: Document ff_rac_terminate()
Signed-off-by:
Michael Niedermayer
<
michael@niedermayer.cc
>
parent
0c4af139
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
rangecoder.h
libavcodec/rangecoder.h
+8
-0
No files found.
libavcodec/rangecoder.h
View file @
20b10ba8
...
@@ -48,7 +48,15 @@ typedef struct RangeCoder {
...
@@ -48,7 +48,15 @@ typedef struct RangeCoder {
void
ff_init_range_encoder
(
RangeCoder
*
c
,
uint8_t
*
buf
,
int
buf_size
);
void
ff_init_range_encoder
(
RangeCoder
*
c
,
uint8_t
*
buf
,
int
buf_size
);
void
ff_init_range_decoder
(
RangeCoder
*
c
,
const
uint8_t
*
buf
,
int
buf_size
);
void
ff_init_range_decoder
(
RangeCoder
*
c
,
const
uint8_t
*
buf
,
int
buf_size
);
/**
* Terminates the range coder
* @param version version 0 requires the decoder to know the data size in bytes
* version 1 needs about 1 bit more space but does not need to
* carry the size from encoder to decoder
*/
int
ff_rac_terminate
(
RangeCoder
*
c
,
int
version
);
int
ff_rac_terminate
(
RangeCoder
*
c
,
int
version
);
void
ff_build_rac_states
(
RangeCoder
*
c
,
int
factor
,
int
max_p
);
void
ff_build_rac_states
(
RangeCoder
*
c
,
int
factor
,
int
max_p
);
static
inline
void
renorm_encoder
(
RangeCoder
*
c
)
static
inline
void
renorm_encoder
(
RangeCoder
*
c
)
...
...
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