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
d4c48e48
Commit
d4c48e48
authored
Feb 24, 2003
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get_vlc2() "docs"
Originally committed as revision 1599 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
3e499f53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
common.h
libavcodec/common.h
+8
-0
No files found.
libavcodec/common.h
View file @
d4c48e48
...
@@ -752,6 +752,14 @@ static inline int get_vlc(GetBitContext *s, VLC *vlc)
...
@@ -752,6 +752,14 @@ static inline int get_vlc(GetBitContext *s, VLC *vlc)
return
code
;
return
code
;
}
}
/**
* parses a vlc code, faster then get_vlc()
* @param bits is the number of bits which will be read at once, must be
* identical to nb_bits in init_vlc()
* @param max_depth is the number of times bits bits must be readed to completly
* read the longest vlc code
* = (max_vlc_length + bits - 1) / bits
*/
static
always_inline
int
get_vlc2
(
GetBitContext
*
s
,
VLC_TYPE
(
*
table
)[
2
],
static
always_inline
int
get_vlc2
(
GetBitContext
*
s
,
VLC_TYPE
(
*
table
)[
2
],
int
bits
,
int
max_depth
)
int
bits
,
int
max_depth
)
{
{
...
...
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