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
be1db21b
Commit
be1db21b
authored
Aug 01, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mathops: Drop disabled alternative mid_pred() implementation
parent
be3363f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
10 deletions
+0
-10
mathops.h
libavcodec/mathops.h
+0
-10
No files found.
libavcodec/mathops.h
View file @
be1db21b
...
@@ -99,15 +99,6 @@ static av_always_inline unsigned UMULH(unsigned a, unsigned b){
...
@@ -99,15 +99,6 @@ static av_always_inline unsigned UMULH(unsigned a, unsigned b){
#define mid_pred mid_pred
#define mid_pred mid_pred
static
inline
av_const
int
mid_pred
(
int
a
,
int
b
,
int
c
)
static
inline
av_const
int
mid_pred
(
int
a
,
int
b
,
int
c
)
{
{
#if 0
int t= (a-b)&((a-b)>>31);
a-=t;
b+=t;
b-= (b-c)&((b-c)>>31);
b+= (a-b)&((a-b)>>31);
return b;
#else
if
(
a
>
b
){
if
(
a
>
b
){
if
(
c
>
b
){
if
(
c
>
b
){
if
(
c
>
a
)
b
=
a
;
if
(
c
>
a
)
b
=
a
;
...
@@ -120,7 +111,6 @@ static inline av_const int mid_pred(int a, int b, int c)
...
@@ -120,7 +111,6 @@ static inline av_const int mid_pred(int a, int b, int c)
}
}
}
}
return
b
;
return
b
;
#endif
}
}
#endif
#endif
...
...
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