Lines Matching refs:mm
57 int hh, mm, ss, ff;
64 mm = framenum / (fps*60) % 60;
66 return av_timecode_get_smpte(tc->rate, drop, hh, mm, ss, ff);
69 uint32_t av_timecode_get_smpte(AVRational rate, int drop, int hh, int mm, int ss, int ff)
86 mm = av_clip(mm, 0, 59);
95 tc |= (mm / 10) << 12;
96 tc |= (mm % 10) << 8;
107 int hh, mm, ss, ff, ff_len, neg = 0;
118 mm = framenum / (fps*60LL) % 60;
125 hh, mm, ss, drop ? ';' : ':', ff_len, ff);
141 unsigned mm = bcd2uint(tcsmpte>>8 & 0x7f); // 7-bit minutes
157 hh, mm, ss, drop ? ';' : ':', ff);
231 int av_timecode_init_from_components(AVTimecode *tc, AVRational rate, int flags, int hh, int mm, int ss, int ff, void *log_ctx)
244 tc->start = (hh*3600 + mm*60 + ss) * tc->fps + ff;
246 int tmins = 60*hh + mm;
255 int hh, mm, ss, ff, flags;
257 if (sscanf(str, "%d:%d:%d%c%d", &hh, &mm, &ss, &c, &ff) != 5) {
259 "syntax: hh:mm:ss[:;.]ff\n");
264 return av_timecode_init_from_components(tc, rate, flags, hh, mm, ss, ff, log_ctx);