Lines Matching refs:fps
231 * @brief convert fps tag value to AVRational fps
232 * @param fps fps value from tag
233 * @return fps as AVRational, or 0 / 0 if unknown
235 static AVRational fps_tag2avr(int32_t fps) {
236 if (fps < 1 || fps > 9) fps = 9;
237 return frame_rate_tab[fps - 1];
241 * @brief convert UMF attributes flags to AVRational fps
243 * @return fps as AVRational, or 0 / 0 if unknown
408 AVRational fps;
412 fps = fps_umf2avr(avio_rl32(pb));
414 av_log(s, AV_LOG_WARNING, "No FPS track tag, using UMF fps tag."
417 main_timebase.num = fps.den;
418 main_timebase.den = fps.num * 2;