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
9dbf9389
Commit
9dbf9389
authored
Sep 15, 2001
by
Fabrice Bellard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added get_bits_count()
Originally committed as revision 120 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
2456e28d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
common.h
libavcodec/common.h
+5
-1
No files found.
libavcodec/common.h
View file @
9dbf9389
...
...
@@ -170,7 +170,7 @@ void init_put_bits(PutBitContext *s,
void
*
opaque
,
void
(
*
write_data
)(
void
*
,
UINT8
*
,
int
));
void
put_bits
(
PutBitContext
*
s
,
int
n
,
unsigned
int
value
);
INT64
get_bit_count
(
PutBitContext
*
s
);
INT64
get_bit_count
(
PutBitContext
*
s
);
/* XXX: change function name */
void
align_put_bits
(
PutBitContext
*
s
);
void
flush_put_bits
(
PutBitContext
*
s
);
...
...
@@ -252,6 +252,10 @@ static inline void skip_bits1(GetBitContext *s){
}
}
static
inline
int
get_bits_count
(
GetBitContext
*
s
)
{
return
(
s
->
buf_ptr
-
s
->
buf
)
*
8
-
s
->
bit_cnt
;
}
void
align_get_bits
(
GetBitContext
*
s
);
int
init_vlc
(
VLC
*
vlc
,
int
nb_bits
,
int
nb_codes
,
...
...
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