Lines Matching refs:fps_n
640 timecodestamper->fps_n = 0; in gst_timecodestamper_stop()
710 timecodestamper->fps_n = 0; in gst_timecodestamper_start()
721 (timecodestamper->fps_n == 30000 || timecodestamper->fps_n == 60000)) { in gst_timecodestamper_update_drop_frame()
768 timecodestamper, gint fps_n, gint fps_d, GstVideoTimeCode * timecode, in gst_timecodestamper_update_timecode_framerate() argument
783 (timecodestamper->fps_n == 30000 || timecodestamper->fps_n == 60000)) in gst_timecodestamper_update_timecode_framerate()
792 GST_SECOND * timecodestamper->fps_d, timecodestamper->fps_n); in gst_timecodestamper_update_timecode_framerate()
797 gst_video_time_code_init (timecode, timecodestamper->fps_n, in gst_timecodestamper_update_timecode_framerate()
802 nframes = gst_util_uint64_scale (time, fps_n, GST_SECOND * fps_d); in gst_timecodestamper_update_timecode_framerate()
810 gint fps_n, gint fps_d) in gst_timecodestamper_update_framerate() argument
813 if (fps_n == timecodestamper->fps_n && fps_d == timecodestamper->fps_d) in gst_timecodestamper_update_framerate()
816 gst_timecodestamper_update_timecode_framerate (timecodestamper, fps_n, fps_d, in gst_timecodestamper_update_framerate()
818 gst_timecodestamper_update_timecode_framerate (timecodestamper, fps_n, fps_d, in gst_timecodestamper_update_framerate()
820 gst_timecodestamper_update_timecode_framerate (timecodestamper, fps_n, fps_d, in gst_timecodestamper_update_framerate()
830 gst_timecodestamper_update_timecode_framerate (timecodestamper, fps_n, in gst_timecodestamper_update_framerate()
834 gst_timecodestamper_update_timecode_framerate (timecodestamper, fps_n, fps_d, in gst_timecodestamper_update_framerate()
876 gint fps_n, fps_d; in gst_timecodestamper_sink_event() local
883 if (!gst_structure_get_fraction (s, "framerate", &fps_n, &fps_d)) { in gst_timecodestamper_sink_event()
890 if (fps_n == 0) { in gst_timecodestamper_sink_event()
904 gst_timecodestamper_update_framerate (timecodestamper, fps_n, fps_d); in gst_timecodestamper_sink_event()
906 timecodestamper->fps_n = fps_n; in gst_timecodestamper_sink_event()
977 if (timecodestamper->fps_d && timecodestamper->fps_n) { in gst_timecodestamper_src_event()
980 timecodestamper->fps_n, timecodestamper->fps_d * GST_SECOND); in gst_timecodestamper_src_event()
1017 if (res && timecodestamper->fps_n && timecodestamper->fps_d) { in gst_timecodestamper_query()
1107 if (timecodestamper->fps_n == 0 || timecodestamper->fps_d == 0 in gst_timecodestamper_transform_ip()
1165 (timecodestamper->fps_n == 30000 || timecodestamper->fps_n == 60000)) in gst_timecodestamper_transform_ip()
1181 gst_video_time_code_new (timecodestamper->fps_n, in gst_timecodestamper_transform_ip()
1191 gst_video_time_code_new (timecodestamper->fps_n, in gst_timecodestamper_transform_ip()
1268 timecodestamper->fps_n, timecodestamper->fps_d, dt_frame, tc_flags, 0); in gst_timecodestamper_transform_ip()
1336 timecodestamper->fps_d, timecodestamper->fps_n); in gst_timecodestamper_transform_ip()
1418 ((gdouble) timecodestamper->fps_n) / in gst_timecodestamper_transform_ip()
1422 ltc_tc->timecode.config.fps_n = timecodestamper->fps_n / fps_n_div; in gst_timecodestamper_transform_ip()
1529 tc = gst_video_time_code_new (timecodestamper->fps_n, in gst_timecodestamper_transform_ip()
1541 tc = gst_video_time_code_new (timecodestamper->fps_n, in gst_timecodestamper_transform_ip()
1552 tc = gst_video_time_code_new (timecodestamper->fps_n, in gst_timecodestamper_transform_ip()
1621 timecodestamper->fps_n); in gst_timecodestamper_transform_ip()
1814 if (timecodestamper->fps_n) { in gst_timecodestamper_ltcpad_chain()
1816 timecodestamper->fps_d / timecodestamper->fps_n; in gst_timecodestamper_ltcpad_chain()