| OLD | NEW |
| 1 /* | 1 /* |
| 2 * rational numbers | 2 * rational numbers |
| 3 * Copyright (c) 2003 Michael Niedermayer <michaelni@gmx.at> | 3 * Copyright (c) 2003 Michael Niedermayer <michaelni@gmx.at> |
| 4 * | 4 * |
| 5 * This file is part of FFmpeg. | 5 * This file is part of FFmpeg. |
| 6 * | 6 * |
| 7 * FFmpeg is free software; you can redistribute it and/or | 7 * FFmpeg is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2.1 of the License, or (at your option) any later version. | 10 * version 2.1 of the License, or (at your option) any later version. |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 int av_nearer_q(AVRational q, AVRational q1, AVRational q2); | 120 int av_nearer_q(AVRational q, AVRational q1, AVRational q2); |
| 121 | 121 |
| 122 /** | 122 /** |
| 123 * Finds the nearest value in \p q_list to \p q. | 123 * Finds the nearest value in \p q_list to \p q. |
| 124 * @param q_list an array of rationals terminated by {0, 0} | 124 * @param q_list an array of rationals terminated by {0, 0} |
| 125 * @return the index of the nearest value found in the array | 125 * @return the index of the nearest value found in the array |
| 126 */ | 126 */ |
| 127 int av_find_nearest_q_idx(AVRational q, const AVRational* q_list); | 127 int av_find_nearest_q_idx(AVRational q, const AVRational* q_list); |
| 128 | 128 |
| 129 #endif /* AVUTIL_RATIONAL_H */ | 129 #endif /* AVUTIL_RATIONAL_H */ |
| OLD | NEW |