Lines Matching refs:ff
57 int hh, mm, ss, ff;
62 ff = framenum % fps;
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)
76 if (ff % 2 == 1) {
82 ff /= 2;
88 ff = ff % 40;
91 tc |= (ff / 10) << 28;
92 tc |= (ff % 10) << 24;
107 int hh, mm, ss, ff, ff_len, neg = 0;
116 ff = framenum % fps;
125 hh, mm, ss, drop ? ';' : ':', ff_len, ff);
143 unsigned ff = bcd2uint(tcsmpte>>24 & 0x3f); // 6-bit frames
147 ff <<= 1;
150 ff += !!(tcsmpte & 1 << 7);
152 ff += !!(tcsmpte & 1 << 23);
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;
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);