HomeSort by relevance Sort by last modified time
    Searched refs:fec (Results 1 - 25 of 36) sorted by null

1 2

  /external/chromium_org/net/quic/
quic_fec_group_test.cc 62 // If we're out of order, send the FEC packet in the position of the
63 // lost packet. Otherwise send all (non-missing) packets, then FEC.
65 // Update the FEC state for each non-lost packet.
69 QuicFecData fec; local
70 fec.fec_group = 0;
71 fec.redundancy = StringPiece(redundancy.get(), strlen(kData[0]));
73 fec));
84 // Update the FEC state for each non-lost packet.
100 QuicFecData fec; local
101 fec.fec_group = 0
158 QuicFecData fec; local
207 QuicFecData fec; local
231 QuicFecData fec; local
    [all...]
quic_fec_group.cc 41 DLOG(ERROR) << "FEC group does not cover received packet: "
58 const QuicFecData& fec) {
64 if ((*it < fec.fec_group) || (*it >= fec_packet_sequence_number)) {
65 DLOG(ERROR) << "FEC group does not cover received packet: " << *it;
70 if (!UpdateParity(fec.redundancy)) {
73 min_protected_packet_ = fec.fec_group;
129 // Since we might not yet have received the FEC packet, we must check
quic_fec_group.h 5 // Tracks information about an FEC group, including the packets
22 // Updates the FEC group based on the delivery of a data packet decrypted at
29 // Updates the FEC group based on the delivery of an FEC packet decrypted at
35 const QuicFecData& fec);
37 // Returns true if a packet can be revived from this FEC group.
40 // Returns true if all packets (FEC and data) from this FEC group have been
44 // Revives the missing packet from this FEC group. This may return a packet
52 // Returns true of this FEC group protects any packets with sequenc
    [all...]
quic_framer.h 91 // Called when a lost packet has been recovered via FEC,
113 // Called when a data packet is parsed that is part of an FEC group.
114 // |payload| is the non-encrypted FEC protected payload of the packet.
150 // Called when FEC data has been parsed.
151 virtual void OnFecData(const QuicFecData& fec) = 0;
161 // Called when a data packet is constructed that is part of an FEC group.
162 // |payload| is the non-encrypted FEC protected payload of the packet.
185 // in order to generate FEC data for subsequently building FEC packets.
209 // Set a builder to be called from the framer when building FEC protecte
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/
opus_fec_test.cc 28 bool fec; member in struct:webrtc::mode
178 if (mode_set[i].fec) {
182 printf("FEC is ON, target at packet loss rate %d percent.\n",
186 printf("FEC is OFF.\n");
197 // Check if payload has FEC.
198 int16_t fec = WebRtcOpus_PacketHasFec(&bit_stream_[0], encoded_bytes_); local
200 // If FEC is disabled or the target packet loss rate is set to 0, there
201 // should be no FEC in the bit stream.
202 if (!mode_set[i].fec || mode_set[i].target_packet_loss_rate == 0) {
203 EXPECT_EQ(fec, 0)
    [all...]
  /external/chromium_org/third_party/opus/src/tests/
test_opus_decode.c 55 int out_samples,fec; local
105 for(fec=0;fec<2;fec++)
109 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor, fec);
115 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor+2, fec);
119 out_samples = opus_decode(dec[t], 0, -1, outbuf, 120/factor, fec);
121 out_samples = opus_decode(dec[t], 0, 1, outbuf, 120/factor, fec);
123 out_samples = opus_decode(dec[t], 0, 10, outbuf, 120/factor, fec);
125 out_samples = opus_decode(dec[t], 0, fast_rand(), outbuf, 120/factor, fec);
    [all...]
  /external/libopus/tests/
test_opus_decode.c 55 int out_samples,fec; local
105 for(fec=0;fec<2;fec++)
109 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor, fec);
115 out_samples = opus_decode(dec[t], 0, 0, outbuf, 120/factor+2, fec);
119 out_samples = opus_decode(dec[t], 0, -1, outbuf, 120/factor, fec);
121 out_samples = opus_decode(dec[t], 0, 1, outbuf, 120/factor, fec);
123 out_samples = opus_decode(dec[t], 0, 10, outbuf, 120/factor, fec);
125 out_samples = opus_decode(dec[t], 0, fast_rand(), outbuf, 120/factor, fec);
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
delay_test.cc 39 DEFINE_bool(fec, false, "Use Forward Error Correction (FEC).");
53 bool fec; member in struct:webrtc::__anon20462::AcmSettings
139 "ACM: DTX %s, FEC %s\n"
143 config.acm.fec ? "on" : "off",
164 ASSERT_EQ(0, acm_a_->SetREDStatus(config.fec)) <<
264 test_setting.acm.fec = FLAGS_fec;
  /external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
producer_fec.h 42 explicit ProducerFec(ForwardErrorCorrection* fec);
producer_fec.cc 27 // Threshold on the received FEC protection level, above which we enforce at
28 // least |kMinimumMediaPackets| packets for the FEC code. Below this
84 ProducerFec::ProducerFec(ForwardErrorCorrection* fec)
85 : fec_(fec),
111 // Store the new params and apply them for the next set of FEC packets being
146 // Generic FEC can only protect up to kMaxMediaPackets packets.
156 // Produce FEC over at most |params_.max_fec_frames| frames, or as soon as:
180 // Returns true if the excess overhead (actual - target) for the FEC is below
189 // Returns true if the media packet list for the FEC is at least
216 // Build FEC packet. The FEC packets in |fec_packets_| doesn'
    [all...]
receive_statistics_unittest.cc 241 uint32_t fec) {
248 EXPECT_EQ(fec, stats_.fec_packets);
311 // If first packet is FEC, ignore it.
  /external/chromium_org/third_party/webrtc/
video_receive_stream.h 119 FecConfig fec; member in struct:webrtc::VideoReceiveStream::Config::Rtp
video_send_stream.h 97 FecConfig fec; member in struct:webrtc::VideoSendStream::Config::Rtp
  /external/chromium_org/third_party/webrtc/video/
video_receive_stream.cc 96 if (config_.rtp.fec.ulpfec_payload_type != -1) {
98 assert(config_.rtp.fec.red_payload_type != -1);
103 codec.plType = config_.rtp.fec.ulpfec_payload_type;
109 if (config_.rtp.fec.red_payload_type != -1) {
114 codec.plType = config_.rtp.fec.red_payload_type;
video_send_stream.cc 82 if (fec.ulpfec_payload_type != -1 || fec.red_payload_type != -1)
83 ss << ", fec: " << fec.ToString();
159 // Enable NACK, FEC or both.
160 if (config_.rtp.fec.red_payload_type != -1) {
161 assert(config_.rtp.fec.ulpfec_payload_type != -1);
166 static_cast<unsigned char>(config_.rtp.fec.red_payload_type),
167 static_cast<unsigned char>(config_.rtp.fec.ulpfec_payload_type));
172 static_cast<unsigned char>(config_.rtp.fec.red_payload_type)
    [all...]
call_perf_tests.cc 48 void TestAudioVideoSync(bool fec);
190 void CallPerfTest::TestAudioVideoSync(bool fec) {
261 if (fec) {
262 send_config_.rtp.fec.red_payload_type = kRedPayloadType;
263 send_config_.rtp.fec.ulpfec_payload_type = kUlpfecPayloadType;
264 receive_configs_[0].rtp.fec.red_payload_type = kRedPayloadType;
265 receive_configs_[0].rtp.fec.ulpfec_payload_type = kUlpfecPayloadType;
replay.cc 199 receive_config.rtp.fec.ulpfec_payload_type = flags::FecPayloadType();
200 receive_config.rtp.fec.red_payload_type = flags::RedPayloadType();
video_send_stream_tests.cc 327 // Send lossy receive reports to trigger FEC enabling.
364 send_config->rtp.fec.red_payload_type = kRedPayloadType;
365 send_config->rtp.fec.ulpfec_payload_type = kUlpfecPayloadType;
369 EXPECT_TRUE(Wait()) << "Timed out waiting for FEC and media packets.";
540 overhead += 1; // RED for FEC header.
547 // With FEC enabled, frame size is incremented asynchronously, so
567 // Increase next expected frame size. If testing with FEC, make sure
568 // a FEC packet has been received for this frame size before
585 // Send lossy receive reports to trigger FEC enabling.
618 send_config->rtp.fec.red_payload_type = kRedPayloadType
    [all...]
  /external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/testFec/
test_fec.cc 12 * Test application for core FEC algorithm. Calls encoding and decoding
93 // FEC mask types.
108 ForwardErrorCorrection fec; local
184 printf("%u media packets, %u FEC packets, %u numImpPackets, "
227 // Reset the sequence number here for each FEC code/mask tested
229 // old FEC packets in list are dropped if sequence number wrap
247 // FEC encoder. In fact the FEC decoder will set the
255 // FEC is applied to a whole frame.
259 // Only push one (fake) frame to the FEC
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/test/
neteq_opus_fec_quality_test.cc 112 DEFINE_bool(fec, true, "Whether to enable FEC for encoding.");
  /external/chromium_org/net/quic/test_tools/
simple_quic_framer.cc 99 virtual void OnFecData(const QuicFecData& fec) OVERRIDE {
100 fec_data_ = fec;
quic_test_utils.h 176 MOCK_METHOD1(OnFecData, void(const QuicFecData& fec));
214 virtual void OnFecData(const QuicFecData& fec) OVERRIDE {}
  /external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
webrtcvideoengine2_unittest.cc 405 cricket::VideoCodec fec(102, "ULPFEC", 0, 0, 30, 0);
406 EXPECT_TRUE(engine_.FindCodec(fec));
409 EXPECT_TRUE(engine_.FindCodec(fec));
    [all...]
webrtcvideoengine2.cc 1000 config->rtp.fec = recv_codecs_[i].fec;
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
audio_decoder_impl.cc 491 int fec; local
492 fec = WebRtcOpus_PacketHasFec(encoded, static_cast<int>(encoded_len));
493 return (fec == 1);

Completed in 2009 milliseconds

1 2