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
edd7fa82
Commit
edd7fa82
authored
Jul 07, 2010
by
Måns Rullgård
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: intmath.h cosmetics
Originally committed as revision 24088 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
216b43ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
intmath.h
libavutil/arm/intmath.h
+7
-3
No files found.
libavutil/arm/intmath.h
View file @
edd7fa82
...
...
@@ -27,6 +27,8 @@
#if HAVE_INLINE_ASM
#if HAVE_ARMV6
#define FASTDIV FASTDIV
static
inline
av_const
int
FASTDIV
(
int
a
,
int
b
)
{
int
r
,
t
;
...
...
@@ -37,7 +39,10 @@ static inline av_const int FASTDIV(int a, int b)
:
"=&r"
(
r
),
"=&r"
(
t
)
:
"r"
(
a
),
"r"
(
b
),
"r"
(
ff_inverse
));
return
r
;
}
#else
#else
/* HAVE_ARMV6 */
#define FASTDIV FASTDIV
static
inline
av_const
int
FASTDIV
(
int
a
,
int
b
)
{
int
r
,
t
;
...
...
@@ -45,9 +50,8 @@ static inline av_const int FASTDIV(int a, int b)
:
"=&r"
(
r
),
"=&r"
(
t
)
:
"r"
(
a
),
"r"
(
ff_inverse
[
b
]));
return
r
;
}
#endif
#
define FASTDIV FASTDIV
#
endif
/* HAVE_ARMV6 */
#endif
/* HAVE_INLINE_ASM */
...
...
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