Lines Matching refs:AVRational
68 uint32_t av_timecode_get_smpte(AVRational rate, int drop, int hh, int mm, int ss, int ff) in av_timecode_get_smpte()
74 if (av_cmp_q(rate, (AVRational) {30, 1}) == 1) { in av_timecode_get_smpte()
76 if (av_cmp_q(rate, (AVRational) {50, 1}) == 0) in av_timecode_get_smpte()
136 char *av_timecode_make_smpte_tc_string2(char *buf, AVRational rate, uint32_t tcsmpte, int prevent_d… in av_timecode_make_smpte_tc_string2()
144 if (av_cmp_q(rate, (AVRational) {30, 1}) == 1) { in av_timecode_make_smpte_tc_string2()
147 if (av_cmp_q(rate, (AVRational) {50, 1}) == 0) in av_timecode_make_smpte_tc_string2()
162 return av_timecode_make_smpte_tc_string2(buf, (AVRational){30, 1}, tcsmpte, prevent_df, 1); in av_timecode_make_smpte_tc_string()
207 static int fps_from_frame_rate(AVRational rate) in fps_from_frame_rate()
214 int av_timecode_check_frame_rate(AVRational rate) in av_timecode_check_frame_rate()
219 int av_timecode_init(AVTimecode *tc, AVRational rate, int flags, int frame_start, void *log_ctx) in av_timecode_init()
229 int av_timecode_init_from_components(AVTimecode *tc, AVRational rate, int flags, int hh, int mm, in… in av_timecode_init_from_components()
250 int av_timecode_init_from_string(AVTimecode *tc, AVRational rate, const char *str, void *log_ctx) in av_timecode_init_from_string()