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
2e874c77
Commit
2e874c77
authored
Jul 07, 2010
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
intmath: whitespace cosmetics
Originally committed as revision 24085 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
5c7ceef6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
14 deletions
+9
-14
intmath.h
libavutil/intmath.h
+9
-14
No files found.
libavutil/intmath.h
View file @
2e874c77
...
...
@@ -36,25 +36,20 @@ extern const uint32_t ff_inverse[257];
#if HAVE_FAST_CLZ && AV_GCC_VERSION_AT_LEAST(3,4)
#ifndef av_log2
#define av_log2(x) (31 - __builtin_clz((x)|1))
#ifndef av_log2_16bit
#define av_log2_16bit av_log2
#endif
# define av_log2(x) (31 - __builtin_clz((x)|1))
# ifndef av_log2_16bit
# define av_log2_16bit av_log2
# endif
#endif
/* av_log2 */
#endif
/* AV_GCC_VERSION_AT_LEAST(3,4) */
#ifndef FASTDIV
#if CONFIG_FASTDIV
# define FASTDIV(a,b) ((uint32_t)((((uint64_t)a) * ff_inverse[b]) >> 32))
#else
# define FASTDIV(a,b) ((a) / (b))
#endif
# if CONFIG_FASTDIV
# define FASTDIV(a,b) ((uint32_t)((((uint64_t)a) * ff_inverse[b]) >> 32))
# else
# define FASTDIV(a,b) ((a) / (b))
# endif
#endif
/* FASTDIV */
/*
...
...
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