/external/openscreen/cast/streaming/ |
D | rtp_time.h | 122 Duration ToDuration(int rtp_timebase) const { in ToDuration() argument 123 OSP_DCHECK_GT(rtp_timebase, 0); in ToDuration() 127 static_cast<double>(value_) / rtp_timebase * kOneSecond.count())); in ToDuration() 135 int rtp_timebase) { in FromDuration() argument 142 rtp_timebase)); in FromDuration() 234 Duration ToTimeSinceOrigin(int rtp_timebase) const { in ToTimeSinceOrigin() argument 235 return (*this - RtpTimeTicks()).ToDuration<Duration>(rtp_timebase); in ToTimeSinceOrigin() 243 int rtp_timebase) { in FromTimeSinceOrigin() argument 245 RtpTimeDelta::FromDuration(time_since_origin, rtp_timebase); in FromTimeSinceOrigin()
|
D | session_config.cc | 14 int rtp_timebase, in SessionConfig() argument 22 rtp_timebase(rtp_timebase), in SessionConfig()
|
D | offer_messages.cc | 128 auto rtp_timebase = ParseRtpTimebase(value, "timeBase"); in ParseStream() local 129 if (!rtp_timebase) { in ParseStream() 130 return rtp_timebase.error(); in ParseStream() 132 if (rtp_timebase.value() < in ParseStream() 135 rtp_timebase.value() > kRtpVideoTimebase) { in ParseStream() 162 rtp_timebase.value()}; in ParseStream() 291 rtp_timebase < 1) { in ToJson() 311 root["timeBase"] = "1/" + std::to_string(rtp_timebase); in ToJson()
|
D | session_config.h | 23 int rtp_timebase, 43 int rtp_timebase = 90000; member
|
D | packet_receive_stats_tracker.cc | 12 PacketReceiveStatsTracker::PacketReceiveStatsTracker(int rtp_timebase) in PacketReceiveStatsTracker() argument 13 : rtp_timebase_(rtp_timebase) {} in PacketReceiveStatsTracker()
|
D | packet_receive_stats_tracker.h | 23 explicit PacketReceiveStatsTracker(int rtp_timebase);
|
D | receiver_session_unittest.cc | 325 EXPECT_EQ(cr.audio_receiver->config().rtp_timebase, 48000); in TEST_F() 334 EXPECT_EQ(cr.video_receiver->config().rtp_timebase, 90000); in TEST_F() 388 EXPECT_EQ(cr.audio_receiver->config().rtp_timebase, 48000); in TEST_F() 395 EXPECT_EQ(cr.video_receiver->config().rtp_timebase, 90000); in TEST_F()
|
D | offer_messages.h | 65 int rtp_timebase = 0; member
|
D | receiver_session.cc | 208 stream.rtp_timebase, stream.channels, in ConstructReceiver() 228 properties.selected_audio->stream.rtp_timebase, in SpawnReceivers()
|
D | receiver.h | 132 int rtp_timebase() const { return rtp_timebase_; } in rtp_timebase() function
|
D | receiver.cc | 39 stats_tracker_(config.rtp_timebase), in Receiver() 41 rtp_timebase_(config.rtp_timebase), in Receiver()
|
D | sender.h | 126 int rtp_timebase() const { return rtp_timebase_; } in rtp_timebase() function
|
D | offer_messages_unittest.cc | 120 EXPECT_EQ(90000, vs_one.stream.rtp_timebase); in ExpectEqualsValidOffer() 152 EXPECT_EQ(90000, vs_two.stream.rtp_timebase); in ExpectEqualsValidOffer()
|
D | sender_session.cc | 227 stream.rtp_timebase, in CreateSender()
|
D | sender.cc | 35 rtp_timebase_(config.rtp_timebase), in Sender()
|
/external/openscreen/cast/standalone_receiver/ |
D | dummy_player.cc | 36 receiver_->rtp_timebase()); in OnFramesReady()
|
D | sdl_player_base.cc | 74 .ToDuration<Clock::duration>(receiver_->rtp_timebase()); in ResyncAndDeterminePresentationTime()
|
/external/openscreen/cast/standalone_sender/ |
D | streaming_opus_encoder.h | 40 int sample_rate() const { return sender_->rtp_timebase(); } in sample_rate()
|
D | streaming_vp8_encoder.cc | 150 reference_time - start_time_, sender_->rtp_timebase()); in EncodeAndSend() 177 .ToDuration<Clock::duration>(sender_->rtp_timebase()); in EncodeAndSend()
|