Home
last modified time | relevance | path

Searched refs:rtx (Results 1 – 25 of 28) sorted by relevance

12

/external/u-boot/drivers/serial/
Dserial_mpc8xx.c83 struct serialbuffer __iomem *rtx; in smc_init() local
112 rtx = (struct serialbuffer __iomem *)&cp->cp_dpmem[CPM_SERIAL_BASE]; in smc_init()
119 out_be32(&rtx->rxbd.cbd_bufaddr, (__force uint)&rtx->rxbuf); in smc_init()
120 out_be16(&rtx->rxbd.cbd_sc, 0); in smc_init()
122 out_be32(&rtx->txbd.cbd_bufaddr, (__force uint)&rtx->txbuf); in smc_init()
123 out_be16(&rtx->txbd.cbd_sc, 0); in smc_init()
145 setbits_be16(&rtx->txbd.cbd_sc, BD_SC_WRAP); in smc_init()
146 setbits_be16(&rtx->rxbd.cbd_sc, BD_SC_EMPTY | BD_SC_WRAP); in smc_init()
151 out_be32(&rtx->rxindex, 0); in smc_init()
173 struct serialbuffer __iomem *rtx; in smc_putc() local
[all …]
/external/u-boot/arch/powerpc/cpu/mpc85xx/
Dether_fcc.c117 static RTXBD rtx __attribute__ ((aligned(8))); variable
134 for(i=0; rtx.txbd[txIdx].cbd_sc & BD_ENET_TX_READY; i++) { in fec_send()
141 rtx.txbd[txIdx].cbd_bufaddr = (uint)packet; in fec_send()
142 rtx.txbd[txIdx].cbd_datlen = length; in fec_send()
143 rtx.txbd[txIdx].cbd_sc |= (BD_ENET_TX_READY | BD_ENET_TX_LAST | \ in fec_send()
146 for(i=0; rtx.txbd[txIdx].cbd_sc & BD_ENET_TX_READY; i++) { in fec_send()
154 printf("cycles: 0x%x txIdx=0x%04x status: 0x%04x\n", i, txIdx,rtx.txbd[txIdx].cbd_sc); in fec_send()
157 printf("%08x %08x %08x %08x\n",*((uint *)rtx.txbd[txIdx].cbd_bufaddr+i*4),\ in fec_send()
158 …*((uint *)rtx.txbd[txIdx].cbd_bufaddr + i*4 + 1),*((uint *)rtx.txbd[txIdx].cbd_bufaddr + i*4 + 2),… in fec_send()
159 *((uint *)rtx.txbd[txIdx].cbd_bufaddr + i*4 + 3)); in fec_send()
[all …]
/external/u-boot/drivers/net/
Dmpc8xx_fec.c108 static struct common_buf_desc __iomem *rtx; variable
182 while ((in_be16(&rtx->txbd[txIdx].cbd_sc) & BD_ENET_TX_READY) && in fec_send()
190 out_be32(&rtx->txbd[txIdx].cbd_bufaddr, (uint)packet); in fec_send()
191 out_be16(&rtx->txbd[txIdx].cbd_datlen, length); in fec_send()
192 setbits_be16(&rtx->txbd[txIdx].cbd_sc, in fec_send()
200 while ((in_be16(&rtx->txbd[txIdx].cbd_sc) & BD_ENET_TX_READY) && in fec_send()
209 rc = in_be16(&rtx->txbd[txIdx].cbd_sc) & BD_ENET_TX_STATS; in fec_send()
225 if (in_be16(&rtx->rxbd[rxIdx].cbd_sc) & BD_ENET_RX_EMPTY) { in fec_recv()
230 length = in_be16(&rtx->rxbd[rxIdx].cbd_datlen); in fec_recv()
232 if (!(in_be16(&rtx->rxbd[rxIdx].cbd_sc) & 0x003f)) { in fec_recv()
[all …]
/external/webrtc/webrtc/video/
Dsend_statistics_proxy_unittest.cc42 config.rtp.rtx.ssrcs.push_back(18); in GetTestConfig()
43 config.rtp.rtx.ssrcs.push_back(43); in GetTestConfig()
115 for (std::vector<uint32_t>::const_iterator it = config_.rtp.rtx.ssrcs.begin(); in TEST_F()
116 it != config_.rtp.rtx.ssrcs.end(); in TEST_F()
172 for (std::vector<uint32_t>::const_iterator it = config_.rtp.rtx.ssrcs.begin(); in TEST_F()
173 it != config_.rtp.rtx.ssrcs.end(); in TEST_F()
208 for (std::vector<uint32_t>::const_iterator it = config_.rtp.rtx.ssrcs.begin(); in TEST_F()
209 it != config_.rtp.rtx.ssrcs.end(); in TEST_F()
244 for (std::vector<uint32_t>::const_iterator it = config_.rtp.rtx.ssrcs.begin(); in TEST_F()
245 it != config_.rtp.rtx.ssrcs.end(); in TEST_F()
[all …]
Dvideo_send_stream.cc85 ss << ", rtx: " << rtx.ToString(); in ToString()
479 if (config_.rtp.rtx.ssrcs.empty()) { in ConfigureSsrcs()
484 RTC_DCHECK_EQ(config_.rtp.rtx.ssrcs.size(), config_.rtp.ssrcs.size()); in ConfigureSsrcs()
485 for (size_t i = 0; i < config_.rtp.rtx.ssrcs.size(); ++i) { in ConfigureSsrcs()
486 uint32_t ssrc = config_.rtp.rtx.ssrcs[i]; in ConfigureSsrcs()
487 vie_channel_->SetSSRC(config_.rtp.rtx.ssrcs[i], kViEStreamTypeRtx, in ConfigureSsrcs()
494 RTC_DCHECK_GE(config_.rtp.rtx.payload_type, 0); in ConfigureSsrcs()
495 vie_channel_->SetRtxSendPayloadType(config_.rtp.rtx.payload_type, in ConfigureSsrcs()
506 for (size_t i = 0; i < config_.rtp.rtx.ssrcs.size(); ++i) { in GetRtpStates()
507 uint32_t ssrc = config_.rtp.rtx.ssrcs[i]; in GetRtpStates()
Dvie_channel.cc237 StreamDataCounters rtx; in UpdateHistograms() local
238 GetSendStreamDataCounters(&rtp, &rtx); in UpdateHistograms()
240 rtp_rtx.Add(rtx); in UpdateHistograms()
263 static_cast<int>(rtx.transmitted.TotalBytes() * 8 / elapsed_sec / in UpdateHistograms()
302 StreamDataCounters rtx; in UpdateHistograms() local
303 GetReceiveStreamDataCounters(&rtp, &rtx); in UpdateHistograms()
305 rtp_rtx.Add(rtx); in UpdateHistograms()
327 static_cast<int>(rtx.transmitted.TotalBytes() * 8 / elapsed_sec / in UpdateHistograms()
Dvideo_receive_stream.cc87 for (auto& kv : rtx) { in ToString()
188 Config::Rtp::RtxMap::const_iterator it = config_.rtp.rtx.begin(); in VideoReceiveStream()
189 for (; it != config_.rtp.rtx.end(); ++it) { in VideoReceiveStream()
Dsend_statistics_proxy.cc223 std::find(config_.rtp.rtx.ssrcs.begin(), in GetStatsEntry()
224 config_.rtp.rtx.ssrcs.end(), in GetStatsEntry()
225 ssrc) == config_.rtp.rtx.ssrcs.end()) { in GetStatsEntry()
Dend_to_end_tests.cc770 send_config->rtp.rtx.ssrcs.push_back(kSendRtxSsrcs[0]); in DecodesRetransmittedFrame()
771 send_config->rtp.rtx.payload_type = kSendRtxPayloadType; in DecodesRetransmittedFrame()
772 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].ssrc = in DecodesRetransmittedFrame()
774 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].payload_type = in DecodesRetransmittedFrame()
1512 send_config->rtp.rtx.ssrcs.push_back(kSendRtxSsrcs[stream_index]); in TEST_F()
1513 send_config->rtp.rtx.payload_type = kSendRtxPayloadType; in TEST_F()
1977 send_config->rtp.rtx.ssrcs.push_back(kSendRtxSsrcs[0]); in VerifyHistogramStats()
1978 send_config->rtp.rtx.payload_type = kSendRtxPayloadType; in VerifyHistogramStats()
1979 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].ssrc = in VerifyHistogramStats()
1981 (*receive_configs)[0].rtp.rtx[kFakeVideoSendPayloadType].payload_type = in VerifyHistogramStats()
[all …]
Dvideo_quality_test.cc801 video_send_config_.rtp.rtx.payload_type = kSendRtxPayloadType; in SetupCommon()
803 video_send_config_.rtp.rtx.ssrcs.push_back(kSendRtxSsrcs[i]); in SetupCommon()
824 video_receive_configs_[i].rtp.rtx[kSendRtxPayloadType].ssrc = in SetupCommon()
826 video_receive_configs_[i].rtp.rtx[kSendRtxPayloadType].payload_type = in SetupCommon()
Dvideo_send_stream_tests.cc499 send_config->rtp.rtx.payload_type = retransmit_payload_type_; in TestNackRetransmission()
501 send_config->rtp.rtx.ssrcs.push_back(retransmit_ssrc_); in TestNackRetransmission()
/external/webrtc/webrtc/call/
Drampup_tests.cc35 bool rtx, in RampUpTester() argument
42 rtx_(rtx), in RampUpTester()
144 send_config->rtp.rtx.payload_type = test::CallTest::kSendRtxPayloadType; in ModifyVideoConfigs()
145 send_config->rtp.rtx.ssrcs = video_rtx_ssrcs_; in ModifyVideoConfigs()
170 recv_config.rtp.rtx[send_config->encoder_settings.payload_type].ssrc = in ModifyVideoConfigs()
172 recv_config.rtp.rtx[send_config->encoder_settings.payload_type] in ModifyVideoConfigs()
173 .payload_type = send_config->rtp.rtx.payload_type; in ModifyVideoConfigs()
320 bool rtx, in RampUpDownUpTester() argument
326 rtx, in RampUpDownUpTester()
Drtc_event_log_unittest.cc145 ASSERT_EQ(static_cast<int>(config.rtp.rtx.size()), in VerifyReceiveStreamConfig()
150 EXPECT_EQ(1u, config.rtp.rtx.count(rtx_map.payload_type())); in VerifyReceiveStreamConfig()
152 const VideoReceiveStream::Config::Rtp::Rtx& rtx = in VerifyReceiveStreamConfig() local
153 config.rtp.rtx.at(rtx_map.payload_type()); in VerifyReceiveStreamConfig()
156 EXPECT_EQ(rtx.ssrc, rtx_config.rtx_ssrc()); in VerifyReceiveStreamConfig()
157 EXPECT_EQ(rtx.payload_type, rtx_config.rtx_payload_type()); in VerifyReceiveStreamConfig()
206 ASSERT_EQ(static_cast<int>(config.rtp.rtx.ssrcs.size()), in VerifySendStreamConfig()
209 EXPECT_EQ(config.rtp.rtx.ssrcs[i], sender_config.rtx_ssrcs(i)); in VerifySendStreamConfig()
213 EXPECT_EQ(config.rtp.rtx.payload_type, sender_config.rtx_payload_type()); in VerifySendStreamConfig()
385 config->rtp.rtx.insert(std::make_pair(prng->Rand(0, 127), rtx_pair)); in GenerateVideoReceiveConfig()
[all …]
Drtc_event_log.cc276 for (const auto& kv : config.rtp.rtx) {
277 rtclog::RtxMap* rtx = receiver_config->add_rtx_map();
278 rtx->set_payload_type(kv.first);
279 rtx->mutable_config()->set_rtx_ssrc(kv.second.ssrc);
280 rtx->mutable_config()->set_rtx_payload_type(kv.second.payload_type);
319 for (const auto& rtx_ssrc : config.rtp.rtx.ssrcs) {
322 sender_config->set_rtx_payload_type(config.rtp.rtx.payload_type);
Drampup_tests.h38 bool rtx,
112 bool rtx,
Dcall.cc450 config.rtp.rtx.begin(); in CreateVideoReceiveStream()
451 if (it != config.rtp.rtx.end()) in CreateVideoReceiveStream()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_sender.cc385 int rtx; in MaxDataPayloadLength() local
388 rtx = rtx_; in MaxDataPayloadLength()
395 - ((rtx) ? 2 : 0); // RTX overhead. in MaxDataPayloadLength()
738 int rtx = kRtxOff; in ReSendPacket() local
741 rtx = rtx_; in ReSendPacket()
744 (rtx & kRtxRetransmitted) > 0, true)) { in ReSendPacket()
894 int rtx; in TimeToSendPacket() local
897 rtx = rtx_; in TimeToSendPacket()
902 retransmission && (rtx & kRtxRetransmitted) > 0, in TimeToSendPacket()
/external/webrtc/webrtc/
Dvideo_receive_stream.h129 RtxMap rtx; member
Dvideo_send_stream.h129 } rtx; member
/external/webrtc/talk/media/webrtc/
Dwebrtcvideoengine2.cc1140 webrtc::VideoReceiveStream::Config::Rtp::Rtx& rtx = in ConfigureReceiverRtp() local
1141 config->rtp.rtx[recv_codecs_[i].codec.id]; in ConfigureReceiverRtp()
1142 rtx.ssrc = rtx_ssrc; in ConfigureReceiverRtp()
1143 rtx.payload_type = recv_codecs_[i].rtx_payload_type; in ConfigureReceiverRtp()
1626 &parameters_.config.rtp.rtx.ssrcs); in WebRtcVideoSendStream()
1907 if (!parameters_.config.rtp.rtx.ssrcs.empty()) { in SetCodecAndOptions()
1911 parameters_.config.rtp.rtx.ssrcs.clear(); in SetCodecAndOptions()
1913 parameters_.config.rtp.rtx.payload_type = codec_settings.rtx_payload_type; in SetCodecAndOptions()
2215 if (!config.rtp.rtx.ssrcs.empty() && config.rtp.rtx.payload_type == -1) { in RecreateWebRtcStream()
2218 config.rtp.rtx.ssrcs.clear(); in RecreateWebRtcStream()
Dwebrtcvideoengine2_unittest.cc101 it->second == config.rtp.rtx.payload_type); in VerifySendStreamHasRtxTypes()
206 cricket::VideoCodec rtx(96, "rtx", 0, 0, 30, 0); in TEST_F() local
207 EXPECT_TRUE(engine_.FindCodec(rtx)); in TEST_F()
1133 ASSERT_EQ(rtx_ssrcs.size(), send_stream->GetConfig().rtp.rtx.ssrcs.size()); in TEST_F()
1135 EXPECT_EQ(rtx_ssrcs[i], send_stream->GetConfig().rtp.rtx.ssrcs[i]); in TEST_F()
1140 ASSERT_GT(recv_stream->GetConfig().rtp.rtx.size(), 0u) in TEST_F()
1142 ASSERT_EQ(1u, recv_stream->GetConfig().rtp.rtx.size()) in TEST_F()
1145 recv_stream->GetConfig().rtp.rtx.begin()->second.ssrc); in TEST_F()
1155 ASSERT_EQ(1u, recv_stream->GetConfig().rtp.rtx.size()); in TEST_F()
1157 recv_stream->GetConfig().rtp.rtx.begin()->second.ssrc); in TEST_F()
[all …]
/external/webrtc/webrtc/api/objctests/
DRTCSessionDescriptionTest.mm117 "a=rtpmap:96 rtx/90000\r\n"
/external/webrtc/talk/app/webrtc/
Dwebrtcsdp_unittest.cc1306 cricket::VideoCodec rtx = vcd->codecs()[1]; in TestDeserializeCodecParams() local
1307 EXPECT_EQ("RTX", rtx.name); in TestDeserializeCodecParams()
1308 EXPECT_EQ(95, rtx.id); in TestDeserializeCodecParams()
1309 VerifyCodecParameter(rtx.params, "apt", vp8.id); in TestDeserializeCodecParams()
/external/python/cpython3/Lib/test/
Dmime.types182 application/rtx
1059 audio/rtx
1225 text/richtext rtx
1229 text/rtx
1296 video/rtx
/external/webrtc/talk/session/media/
Dmediasession_unittest.cc215 VideoCodec rtx; in AddRtxCodec() local
216 ASSERT_FALSE(cricket::FindCodecById(*codecs, rtx_codec.id, &rtx)); in AddRtxCodec()
1668 VideoCodec rtx = updated_vcd->codecs()[1]; in TEST_F() local
1670 rtx.params[cricket::kCodecParamAssociatedPayloadType]); in TEST_F()

12