Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
00a0419c
Commit
00a0419c
authored
Jul 29, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mathematics: Kill non-compiling disabled cruft
parent
5a667322
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
mathematics.c
libavutil/mathematics.c
+0
-9
No files found.
libavutil/mathematics.c
View file @
00a0419c
...
@@ -58,7 +58,6 @@ int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
...
@@ -58,7 +58,6 @@ int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
else
else
return
a
/
c
*
b
+
(
a
%
c
*
b
+
r
)
/
c
;
return
a
/
c
*
b
+
(
a
%
c
*
b
+
r
)
/
c
;
}
else
{
}
else
{
#if 1
uint64_t
a0
=
a
&
0xFFFFFFFF
;
uint64_t
a0
=
a
&
0xFFFFFFFF
;
uint64_t
a1
=
a
>>
32
;
uint64_t
a1
=
a
>>
32
;
uint64_t
b0
=
b
&
0xFFFFFFFF
;
uint64_t
b0
=
b
&
0xFFFFFFFF
;
...
@@ -82,14 +81,6 @@ int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
...
@@ -82,14 +81,6 @@ int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding rnd)
}
}
return
t1
;
return
t1
;
}
}
#else
AVInteger
ai
;
ai
=
av_mul_i
(
av_int2i
(
a
),
av_int2i
(
b
));
ai
=
av_add_i
(
ai
,
av_int2i
(
r
));
return
av_i2int
(
av_div_i
(
ai
,
av_int2i
(
c
)));
}
#endif
}
}
int64_t
av_rescale
(
int64_t
a
,
int64_t
b
,
int64_t
c
)
int64_t
av_rescale
(
int64_t
a
,
int64_t
b
,
int64_t
c
)
...
...
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