• Home
  • Raw
  • Download

Lines Matching refs:framenum

34 int av_timecode_adjust_ntsc_framenum2(int framenum, int fps)  in av_timecode_adjust_ntsc_framenum2()  argument
44 return framenum; in av_timecode_adjust_ntsc_framenum2()
46 d = framenum / frames_per_10mins; in av_timecode_adjust_ntsc_framenum2()
47 m = framenum % frames_per_10mins; in av_timecode_adjust_ntsc_framenum2()
49 …return framenum + 9U * drop_frames * d + drop_frames * ((m - drop_frames) / (frames_per_10mins / 1… in av_timecode_adjust_ntsc_framenum2()
52 uint32_t av_timecode_get_smpte_from_framenum(const AVTimecode *tc, int framenum) in av_timecode_get_smpte_from_framenum() argument
58 framenum += tc->start; in av_timecode_get_smpte_from_framenum()
60 framenum = av_timecode_adjust_ntsc_framenum2(framenum, tc->fps); in av_timecode_get_smpte_from_framenum()
61 ff = framenum % fps; in av_timecode_get_smpte_from_framenum()
62 ss = framenum / fps % 60; in av_timecode_get_smpte_from_framenum()
63 mm = framenum / (fps*60) % 60; in av_timecode_get_smpte_from_framenum()
64 hh = framenum / (fps*3600) % 24; in av_timecode_get_smpte_from_framenum()
102 char *av_timecode_make_string(const AVTimecode *tc, char *buf, int framenum) in av_timecode_make_string() argument
108 framenum += tc->start; in av_timecode_make_string()
110 framenum = av_timecode_adjust_ntsc_framenum2(framenum, fps); in av_timecode_make_string()
111 if (framenum < 0) { in av_timecode_make_string()
112 framenum = -framenum; in av_timecode_make_string()
115 ff = framenum % fps; in av_timecode_make_string()
116 ss = framenum / fps % 60; in av_timecode_make_string()
117 mm = framenum / (fps*60LL) % 60; in av_timecode_make_string()
118 hh = framenum / (fps*3600LL); in av_timecode_make_string()