| OLD | NEW |
| 1 /* | 1 /* |
| 2 * copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at> | 2 * copyright (c) 2005 Michael Niedermayer <michaelni@gmx.at> |
| 3 * | 3 * |
| 4 * This file is part of FFmpeg. | 4 * This file is part of FFmpeg. |
| 5 * | 5 * |
| 6 * FFmpeg is free software; you can redistribute it and/or | 6 * FFmpeg is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Lesser General Public | 7 * modify it under the terms of the GNU Lesser General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2.1 of the License, or (at your option) any later version. | 9 * version 2.1 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 * A simple a*b/c isn't possible as it can overflow. | 63 * A simple a*b/c isn't possible as it can overflow. |
| 64 */ | 64 */ |
| 65 int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding) av_cons
t; | 65 int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding) av_cons
t; |
| 66 | 66 |
| 67 /** | 67 /** |
| 68 * Rescales a 64-bit integer by 2 rational numbers. | 68 * Rescales a 64-bit integer by 2 rational numbers. |
| 69 */ | 69 */ |
| 70 int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const; | 70 int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq) av_const; |
| 71 | 71 |
| 72 #endif /* AVUTIL_MATHEMATICS_H */ | 72 #endif /* AVUTIL_MATHEMATICS_H */ |
| OLD | NEW |