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
f263426e
Commit
f263426e
authored
Jan 02, 2013
by
Clément Bœsch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavu/math: fix than/then typo, and add a comma.
parent
98db9058
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mathematics.h
libavutil/mathematics.h
+4
-4
No files found.
libavutil/mathematics.h
View file @
f263426e
...
@@ -90,8 +90,8 @@ int64_t av_rescale(int64_t a, int64_t b, int64_t c) av_const;
...
@@ -90,8 +90,8 @@ int64_t av_rescale(int64_t a, int64_t b, int64_t c) av_const;
* Rescale a 64-bit integer with specified rounding.
* Rescale a 64-bit integer with specified rounding.
* A simple a*b/c isn't possible as it can overflow.
* A simple a*b/c isn't possible as it can overflow.
*
*
* @return rescaled value a or if AV_ROUND_PASS_MINMAX is set and a is
* @return rescaled value a
,
or if AV_ROUND_PASS_MINMAX is set and a is
* INT64_MIN or INT64_MAX th
a
n a is passed through unchanged.
* INT64_MIN or INT64_MAX th
e
n a is passed through unchanged.
*/
*/
int64_t
av_rescale_rnd
(
int64_t
a
,
int64_t
b
,
int64_t
c
,
enum
AVRounding
)
av_const
;
int64_t
av_rescale_rnd
(
int64_t
a
,
int64_t
b
,
int64_t
c
,
enum
AVRounding
)
av_const
;
...
@@ -103,8 +103,8 @@ int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const;
...
@@ -103,8 +103,8 @@ int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const;
/**
/**
* Rescale a 64-bit integer by 2 rational numbers with specified rounding.
* Rescale a 64-bit integer by 2 rational numbers with specified rounding.
*
*
* @return rescaled value a or if AV_ROUND_PASS_MINMAX is set and a is
* @return rescaled value a
,
or if AV_ROUND_PASS_MINMAX is set and a is
* INT64_MIN or INT64_MAX th
a
n a is passed through unchanged.
* INT64_MIN or INT64_MAX th
e
n a is passed through unchanged.
*/
*/
int64_t
av_rescale_q_rnd
(
int64_t
a
,
AVRational
bq
,
AVRational
cq
,
int64_t
av_rescale_q_rnd
(
int64_t
a
,
AVRational
bq
,
AVRational
cq
,
enum
AVRounding
)
av_const
;
enum
AVRounding
)
av_const
;
...
...
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