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
ca7d8256
Commit
ca7d8256
authored
May 24, 2011
by
Mans Rullgard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM: add ARMv6 optimised av_clip_uintp2
Signed-off-by:
Mans Rullgard
<
mans@mansr.com
>
parent
77cd6efc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
intmath.h
libavutil/arm/intmath.h
+9
-0
No files found.
libavutil/arm/intmath.h
View file @
ca7d8256
...
...
@@ -74,6 +74,15 @@ static av_always_inline av_const int16_t av_clip_int16_arm(int a)
return
x
;
}
#define av_clip_uintp2 av_clip_uintp2_arm
static
av_always_inline
av_const
unsigned
av_clip_uintp2_arm
(
int
a
,
int
p
)
{
unsigned
x
;
__asm__
(
"usat %0, %2, %1"
:
"=r"
(
x
)
:
"r"
(
a
),
"i"
(
p
));
return
x
;
}
#else
/* HAVE_ARMV6 */
#define FASTDIV 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