/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/video/closedcaption/tests/ |
H A D | tttocea608.rs | 18 use gst::ClockTime; 33 timestamp: ClockTime, in new_timed_buffer() argument 34 duration: ClockTime, in new_timed_buffer() argument 67 let inbuf = new_timed_buffer(&"Hello", ClockTime::SECOND, ClockTime::SECOND); in test_one_timed_buffer_and_eos() 71 let expected: [(ClockTime, ClockTime, [u8; 2usize]); 7] = [ in test_one_timed_buffer_and_eos() 169 ClockTime::SECOND, in test_erase_display_memory_non_spliced() 176 ClockTime::SECOND, in test_erase_display_memory_non_spliced() 225 let mut prev_pts: ClockTime = ClockTime::ZERO; in test_erase_display_memory_spliced() 354 let expected: [(ClockTime, ClockTime, [u8; 2usize]); 5] = [ in test_one_timed_buffer_and_eos_roll_up2() 413 let expected: [(ClockTime, ClockTime, [u8; 2usize]); 3] = [ in test_one_timed_buffer_and_eos_roll_up2() [all …]
|
/dports/multimedia/gstreamermm/gstreamermm-1.10.0/gstreamer/gstreamermm/ |
H A D | clock.h | 109 Gst::ClockTime get_time() const; 311 bool add_observation(Gst::ClockTime slave_time, Gst::ClockTime master_time, gdouble& result); 328 …ClockTime slave_time, Gst::ClockTime master_time, gdouble& result, Gst::ClockTime& internal, Gst::… 381 Gst::ClockTime set_resolution(Gst::ClockTime resolution); 474 Gst::ClockTime adjust_unlocked(Gst::ClockTime internal_time); 486 Gst::ClockTime unadjust_unlocked(Gst::ClockTime external_time); 504 …ClockTime adjust_with_calibration(Gst::ClockTime internal_target, Gst::ClockTime cinternal, Gst::C… 521 …ClockTime unadjust_with_calibration(Gst::ClockTime external_target, Gst::ClockTime cinternal, Gst:… 536 …void get_calibration(Gst::ClockTime& internal, Gst::ClockTime& external, Gst::ClockTime& rate_num,… 568 …void set_calibration(Gst::ClockTime internal, Gst::ClockTime external, Gst::ClockTime rate_num, Gs… [all …]
|
H A D | clock.cc | 553 …ClockTime slave_time, Gst::ClockTime master_time, gdouble& result, Gst::ClockTime& internal, Gst::… in add_observation() 573 Gst::ClockTime Clock::set_resolution(Gst::ClockTime resolution) in set_resolution() 613 Gst::ClockTime Clock::adjust_unlocked(Gst::ClockTime internal_time) in adjust_unlocked() 618 Gst::ClockTime Clock::unadjust_unlocked(Gst::ClockTime external_time) in unadjust_unlocked() 623 …ClockTime Clock::adjust_with_calibration(Gst::ClockTime internal_target, Gst::ClockTime cinternal,… in adjust_with_calibration() 628 …ClockTime Clock::unadjust_with_calibration(Gst::ClockTime external_target, Gst::ClockTime cinterna… in unadjust_with_calibration() 633 void Clock::get_calibration(Gst::ClockTime& internal, Gst::ClockTime& external, Gst::ClockTime& rat… in get_calibration() 638 void Clock::set_calibration(Gst::ClockTime internal, Gst::ClockTime external, Gst::ClockTime rate_n… in set_calibration() 696 Gst::ClockTime Gst::Clock::change_resolution_vfunc(Gst::ClockTime old_resolution, Gst::ClockTime ne… in change_resolution_vfunc() 708 using RType = Gst::ClockTime; in change_resolution_vfunc() [all …]
|
H A D | clockutils.cc | 35 const ClockTime SECOND = GST_SECOND; 36 const ClockTime MILLI_SECOND = GST_MSECOND; 37 const ClockTime MICRO_SECOND = GST_USECOND; 38 const ClockTime NANO_SECOND = GST_NSECOND; 41 guint get_hours(ClockTime time) in get_hours() 46 guint get_minutes(ClockTime time) in get_minutes() 51 guint get_seconds(ClockTime time) in get_seconds() 56 guint get_milliseconds(ClockTime time) in get_milliseconds() 61 guint get_microseconds(ClockTime time) in get_microseconds() 66 guint get_nanoseconds(ClockTime time) in get_nanoseconds() [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/utils/fallbackswitch/tests/ |
H A D | fallbackswitch.rs | 60 set_time(&pipeline, gst::ClockTime::ZERO); in test_no_fallback_no_drops() 180 gst::ClockTime::SECOND + 10 * gst::ClockTime::MSECOND, in test_short_drop() 220 gst::ClockTime::SECOND + 10 * gst::ClockTime::MSECOND, in test_long_drop_and_eos() 227 2 * gst::ClockTime::SECOND + 10 * gst::ClockTime::MSECOND, in test_long_drop_and_eos() 235 3 * gst::ClockTime::SECOND + 10 * gst::ClockTime::MSECOND, in test_long_drop_and_eos() 245 4 * gst::ClockTime::SECOND + 10 * gst::ClockTime::MSECOND, in test_long_drop_and_eos() 282 gst::ClockTime::SECOND + 10 * gst::ClockTime::MSECOND, in test_long_drop_and_recover() 289 2 * gst::ClockTime::SECOND + 10 * gst::ClockTime::MSECOND, in test_long_drop_and_recover() 297 3 * gst::ClockTime::SECOND + 10 * gst::ClockTime::MSECOND, in test_long_drop_and_recover() 307 4 * gst::ClockTime::SECOND + 10 * gst::ClockTime::MSECOND, in test_long_drop_and_recover() [all …]
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/gstreamer-0.15.7/src/auto/ |
H A D | clock.rs | 19 use ClockTime; 82 ) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)>; in add_observation_unapplied() argument 84 fn adjust_unlocked(&self, internal: ClockTime) -> ClockTime; in adjust_unlocked() argument 86 fn get_calibration(&self) -> (ClockTime, ClockTime, ClockTime, ClockTime); in get_calibration() argument 116 fn set_resolution(&self, resolution: ClockTime) -> ClockTime; in set_resolution() argument 124 fn unadjust_unlocked(&self, external: ClockTime) -> ClockTime; in unadjust_unlocked() argument 177 ) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)> { in add_observation_unapplied() argument 213 fn adjust_unlocked(&self, internal: ClockTime) -> ClockTime { in adjust_unlocked() argument 222 fn get_calibration(&self) -> (ClockTime, ClockTime, ClockTime, ClockTime) { in get_calibration() argument 330 fn set_resolution(&self, resolution: ClockTime) -> ClockTime { in set_resolution() argument [all …]
|
/dports/multimedia/termplay/termplay-2.0.6/cargo-crates/gstreamer-0.15.0/src/auto/ |
H A D | clock.rs | 19 use ClockTime; 82 ) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)>; in add_observation_unapplied() argument 84 fn adjust_unlocked(&self, internal: ClockTime) -> ClockTime; in adjust_unlocked() argument 86 fn get_calibration(&self) -> (ClockTime, ClockTime, ClockTime, ClockTime); in get_calibration() argument 116 fn set_resolution(&self, resolution: ClockTime) -> ClockTime; in set_resolution() argument 124 fn unadjust_unlocked(&self, external: ClockTime) -> ClockTime; in unadjust_unlocked() argument 177 ) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)> { in add_observation_unapplied() argument 213 fn adjust_unlocked(&self, internal: ClockTime) -> ClockTime { in adjust_unlocked() argument 222 fn get_calibration(&self) -> (ClockTime, ClockTime, ClockTime, ClockTime) { in get_calibration() argument 330 fn set_resolution(&self, resolution: ClockTime) -> ClockTime { in set_resolution() argument [all …]
|
/dports/net-im/fractal/fractal-4.4.0/vendor/gstreamer/src/auto/ |
H A D | clock.rs | 19 use ClockTime; 82 ) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)>; in add_observation_unapplied() argument 84 fn adjust_unlocked(&self, internal: ClockTime) -> ClockTime; in adjust_unlocked() argument 86 fn get_calibration(&self) -> (ClockTime, ClockTime, ClockTime, ClockTime); in get_calibration() argument 116 fn set_resolution(&self, resolution: ClockTime) -> ClockTime; in set_resolution() argument 124 fn unadjust_unlocked(&self, external: ClockTime) -> ClockTime; in unadjust_unlocked() argument 177 ) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)> { in add_observation_unapplied() argument 213 fn adjust_unlocked(&self, internal: ClockTime) -> ClockTime { in adjust_unlocked() argument 222 fn get_calibration(&self) -> (ClockTime, ClockTime, ClockTime, ClockTime) { in get_calibration() argument 330 fn set_resolution(&self, resolution: ClockTime) -> ClockTime { in set_resolution() argument [all …]
|
/dports/multimedia/gstreamermm/gstreamermm-1.10.0/gstreamer/src/ |
H A D | clockutils.hg | 30 typedef GstClockTime ClockTime; 62 * @param time The Gst::ClockTime to parse. 65 guint get_hours(Gst::ClockTime time); 68 * @param time The Gst::ClockTime to parse. 71 guint get_minutes(Gst::ClockTime time); 74 * @param time The Gst::ClockTime to parse. 77 guint get_seconds(Gst::ClockTime time); 80 * @param time The Gst::ClockTime to parse. 86 * @param time The Gst::ClockTime to parse. 92 * @param time The Gst::ClockTime to parse. [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/gstreamer-0.17.3/src/auto/ |
H A D | clock.rs | 6 use crate::ClockTime; 93 ) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)>; in add_observation_unapplied() argument 96 fn adjust_unlocked(&self, internal: ClockTime) -> Option<ClockTime>; in adjust_unlocked() argument 100 fn calibration(&self) -> (ClockTime, ClockTime, ClockTime, ClockTime); in calibration() argument 138 fn set_resolution(&self, resolution: ClockTime) -> ClockTime; in set_resolution() argument 147 fn unadjust_unlocked(&self, external: ClockTime) -> Option<ClockTime>; in unadjust_unlocked() argument 210 ) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)> { in add_observation_unapplied() argument 246 fn adjust_unlocked(&self, internal: ClockTime) -> Option<ClockTime> { in adjust_unlocked() argument 255 fn calibration(&self) -> (ClockTime, ClockTime, ClockTime, ClockTime) { in calibration() argument 345 fn set_resolution(&self, resolution: ClockTime) -> ClockTime { in set_resolution() argument [all …]
|
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/gstreamer-0.17.4/src/auto/ |
H A D | clock.rs | 6 use crate::ClockTime; 93 ) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)>; in add_observation_unapplied() argument 96 fn adjust_unlocked(&self, internal: ClockTime) -> Option<ClockTime>; in adjust_unlocked() argument 100 fn calibration(&self) -> (ClockTime, ClockTime, ClockTime, ClockTime); in calibration() argument 138 fn set_resolution(&self, resolution: ClockTime) -> ClockTime; in set_resolution() argument 147 fn unadjust_unlocked(&self, external: ClockTime) -> Option<ClockTime>; in unadjust_unlocked() argument 210 ) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)> { in add_observation_unapplied() argument 246 fn adjust_unlocked(&self, internal: ClockTime) -> Option<ClockTime> { in adjust_unlocked() argument 255 fn calibration(&self) -> (ClockTime, ClockTime, ClockTime, ClockTime) { in calibration() argument 345 fn set_resolution(&self, resolution: ClockTime) -> ClockTime { in set_resolution() argument [all …]
|
/dports/multimedia/neolink/neolink-cf54129/cargo-crates/gstreamer-0.17.1/src/auto/ |
H A D | clock.rs | 6 use crate::ClockTime; 93 ) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)>; in add_observation_unapplied() argument 96 fn adjust_unlocked(&self, internal: ClockTime) -> Option<ClockTime>; in adjust_unlocked() argument 100 fn calibration(&self) -> (ClockTime, ClockTime, ClockTime, ClockTime); in calibration() argument 138 fn set_resolution(&self, resolution: ClockTime) -> ClockTime; in set_resolution() argument 147 fn unadjust_unlocked(&self, external: ClockTime) -> Option<ClockTime>; in unadjust_unlocked() argument 210 ) -> Option<(f64, ClockTime, ClockTime, ClockTime, ClockTime)> { in add_observation_unapplied() argument 246 fn adjust_unlocked(&self, internal: ClockTime) -> Option<ClockTime> { in adjust_unlocked() argument 255 fn calibration(&self) -> (ClockTime, ClockTime, ClockTime, ClockTime) { in calibration() argument 345 fn set_resolution(&self, resolution: ClockTime) -> ClockTime { in set_resolution() argument [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/utils/togglerecord/tests/ |
H A D | tests.rs | 48 offset: gst::ClockTime, in setup_sender_receiver() argument 215 Option<gst::ClockTime>, in recv_buffers() argument 216 Option<gst::ClockTime>, in recv_buffers() 217 Option<gst::ClockTime>, in recv_buffers() 452 gst::ClockTime::ZERO in test_one_stream_open_close_open() 567 5 * gst::ClockTime::MSECOND + index * 20 * gst::ClockTime::MSECOND in test_two_stream_open_shift() 571 5 * gst::ClockTime::MSECOND + index * 20 * gst::ClockTime::MSECOND in test_two_stream_open_shift() 621 5 * gst::ClockTime::MSECOND + index * 20 * gst::ClockTime::MSECOND in test_two_stream_open_shift_main() 637 5 * gst::ClockTime::MSECOND + index * 20 * gst::ClockTime::MSECOND in test_two_stream_open_shift_main() 643 index * 20 * gst::ClockTime::MSECOND - 5 * gst::ClockTime::MSECOND in test_two_stream_open_shift_main() [all …]
|
/dports/multimedia/gstreamer1-qt/qt-gstreamer-1.2.0/src/QGst/ |
H A D | clocktime.h | 37 class QTGSTREAMER_EXPORT ClockTime 56 static ClockTime fromTime(const QTime & time); 62 inline static ClockTime fromMSecs(quint64 msec); 65 inline static ClockTime fromUSecs(quint64 usec); 71 inline ClockTime ClockTime::fromSeconds(quint64 seconds) in fromSeconds() 73 return ClockTime(seconds * 1000 * 1000 * 1000); in fromSeconds() 76 inline ClockTime ClockTime::fromMSecs(quint64 msec) in fromMSecs() 78 return ClockTime(msec * 1000 * 1000); in fromMSecs() 81 inline ClockTime ClockTime::fromUSecs(quint64 usec) in fromUSecs() 83 return ClockTime(usec * 1000); in fromUSecs() [all …]
|
/dports/multimedia/gstreamer1-plugins-rust/gst-plugins-rs-d0466b3eee114207f851b37cae0015c0e718f021/cargo-crates/gstreamer-0.17.3/src/ |
H A D | clock_time.rs | 11 pub struct ClockTime(pub(crate) u64); struct 13 impl ClockTime { implementation 14 pub const SECOND: ClockTime = ClockTime(1_000_000_000); 15 pub const MSECOND: ClockTime = ClockTime(1_000_000); 16 pub const USECOND: ClockTime = ClockTime(1_000); 17 pub const NSECOND: ClockTime = ClockTime(1); 197 fn from(t: ClockTime) -> Self { in from() 353 clocktime: Option<ClockTime>, in write_clocktime() argument 416 impl fmt::Display for ClockTime { implementation 440 type DisplayImpl = ClockTime; [all …]
|
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/gstreamer-0.17.4/src/ |
H A D | clock_time.rs | 11 pub struct ClockTime(pub(crate) u64); struct 13 impl ClockTime { implementation 14 pub const SECOND: ClockTime = ClockTime(1_000_000_000); 15 pub const MSECOND: ClockTime = ClockTime(1_000_000); 16 pub const USECOND: ClockTime = ClockTime(1_000); 17 pub const NSECOND: ClockTime = ClockTime(1); 197 fn from(t: ClockTime) -> Self { in from() 353 clocktime: Option<ClockTime>, in write_clocktime() argument 416 impl fmt::Display for ClockTime { implementation 440 type DisplayImpl = ClockTime; [all …]
|
/dports/multimedia/neolink/neolink-cf54129/cargo-crates/gstreamer-0.17.1/src/ |
H A D | clock_time.rs | 11 pub struct ClockTime(pub(crate) u64); struct 13 impl ClockTime { impl 14 pub const SECOND: ClockTime = ClockTime(1_000_000_000); 15 pub const MSECOND: ClockTime = ClockTime(1_000_000); 16 pub const USECOND: ClockTime = ClockTime(1_000); 17 pub const NSECOND: ClockTime = ClockTime(1); 197 fn from(t: ClockTime) -> Self { in from() 353 clocktime: Option<ClockTime>, in write_clocktime() argument 416 impl fmt::Display for ClockTime { implementation 440 type DisplayImpl = ClockTime; [all …]
|
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/gstreamer-0.15.7/src/ |
H A D | clock_time.rs | 15 pub struct ClockTime(pub Option<u64>); struct 17 impl ClockTime { impl 46 pub fn from_seconds(seconds: u64) -> ClockTime { in from_seconds() argument 62 pub fn none() -> ClockTime { in none() 63 ClockTime(None) in none() 67 impl fmt::Display for ClockTime { implementation 109 impl ToGlib for ClockTime { implementation 126 value => ClockTime(Some(value)), in from_glib() 135 .map(ClockTime::from_glib) in from_value_optional() 147 impl glib::value::SetValue for ClockTime { implementation [all …]
|
H A D | clock.rs | 25 use ClockTime; 188 cnum: ClockTime, in adjust_with_calibration() argument 189 cdenom: ClockTime, in adjust_with_calibration() argument 190 ) -> ClockTime { in adjust_with_calibration() argument 207 cnum: ClockTime, in unadjust_with_calibration() argument 208 cdenom: ClockTime, in unadjust_with_calibration() argument 209 ) -> ClockTime { in unadjust_with_calibration() argument 227 interval: ClockTime, in new_periodic_id() argument 234 interval: ClockTime, in periodic_id_reinit() argument 252 interval: ClockTime, in new_periodic_id() argument [all …]
|
H A D | segment_serde.rs | 117 use ClockTime; 199 GenericFormattedValue::Time(ClockTime::from_nseconds(123)) in test_deserialize_segment() 203 GenericFormattedValue::Time(ClockTime::from_nseconds(42)) in test_deserialize_segment() 207 GenericFormattedValue::Time(ClockTime::from_nseconds(1024)) in test_deserialize_segment() 211 GenericFormattedValue::Time(ClockTime::from_nseconds(2048)) in test_deserialize_segment() 215 GenericFormattedValue::Time(ClockTime::from_nseconds(1042)) in test_deserialize_segment() 219 GenericFormattedValue::Time(ClockTime::from_nseconds(256)) in test_deserialize_segment() 223 GenericFormattedValue::Time(ClockTime::none()) in test_deserialize_segment() 260 assert_eq!(fmt_seg.get_base(), ClockTime::from_nseconds(123)); in test_deserialize_formatted() 261 assert_eq!(fmt_seg.get_offset(), ClockTime::from_nseconds(42)); in test_deserialize_formatted() [all …]
|
/dports/multimedia/termplay/termplay-2.0.6/cargo-crates/gstreamer-0.15.0/src/ |
H A D | clock_time.rs | 15 pub struct ClockTime(pub Option<u64>); struct 17 impl ClockTime { impl 46 pub fn from_seconds(seconds: u64) -> ClockTime { in from_seconds() argument 62 pub fn none() -> ClockTime { in none() 63 ClockTime(None) in none() 67 impl fmt::Display for ClockTime { implementation 109 impl ToGlib for ClockTime { implementation 126 value => ClockTime(Some(value)), in from_glib() 135 .map(ClockTime::from_glib) in from_value_optional() 147 impl glib::value::SetValue for ClockTime { implementation [all …]
|
H A D | segment_serde.rs | 117 use ClockTime; 199 GenericFormattedValue::Time(ClockTime::from_nseconds(123)) in test_deserialize_segment() 203 GenericFormattedValue::Time(ClockTime::from_nseconds(42)) in test_deserialize_segment() 207 GenericFormattedValue::Time(ClockTime::from_nseconds(1024)) in test_deserialize_segment() 211 GenericFormattedValue::Time(ClockTime::from_nseconds(2048)) in test_deserialize_segment() 215 GenericFormattedValue::Time(ClockTime::from_nseconds(1042)) in test_deserialize_segment() 219 GenericFormattedValue::Time(ClockTime::from_nseconds(256)) in test_deserialize_segment() 223 GenericFormattedValue::Time(ClockTime::none()) in test_deserialize_segment() 260 assert_eq!(fmt_seg.get_base(), ClockTime::from_nseconds(123)); in test_deserialize_formatted() 261 assert_eq!(fmt_seg.get_offset(), ClockTime::from_nseconds(42)); in test_deserialize_formatted() [all …]
|
H A D | clock.rs | 25 use ClockTime; 194 cnum: ClockTime, in adjust_with_calibration() argument 195 cdenom: ClockTime, in adjust_with_calibration() argument 196 ) -> ClockTime { in adjust_with_calibration() argument 213 cnum: ClockTime, in unadjust_with_calibration() argument 214 cdenom: ClockTime, in unadjust_with_calibration() argument 215 ) -> ClockTime { in unadjust_with_calibration() argument 233 interval: ClockTime, in new_periodic_id() argument 240 interval: ClockTime, in periodic_id_reinit() argument 258 interval: ClockTime, in new_periodic_id() argument [all …]
|
/dports/net-im/fractal/fractal-4.4.0/vendor/gstreamer/src/ |
H A D | clock_time.rs | 15 pub struct ClockTime(pub Option<u64>); struct 17 impl ClockTime { implementation 46 pub fn from_seconds(seconds: u64) -> ClockTime { in from_seconds() argument 62 pub fn none() -> ClockTime { in none() 63 ClockTime(None) in none() 67 impl fmt::Display for ClockTime { implementation 109 impl ToGlib for ClockTime { implementation 126 value => ClockTime(Some(value)), in from_glib() 135 .map(ClockTime::from_glib) in from_value_optional() 147 impl glib::value::SetValue for ClockTime { implementation [all …]
|
H A D | clock.rs | 25 use ClockTime; 188 cnum: ClockTime, in adjust_with_calibration() argument 189 cdenom: ClockTime, in adjust_with_calibration() argument 190 ) -> ClockTime { in adjust_with_calibration() argument 207 cnum: ClockTime, in unadjust_with_calibration() argument 208 cdenom: ClockTime, in unadjust_with_calibration() argument 209 ) -> ClockTime { in unadjust_with_calibration() argument 227 interval: ClockTime, in new_periodic_id() argument 234 interval: ClockTime, in periodic_id_reinit() argument 252 interval: ClockTime, in new_periodic_id() argument [all …]
|