/external/webrtc/modules/audio_coding/codecs/opus/ |
D | audio_decoder_opus.cc | 59 size_t encoded_len, in DecodeInternal() argument 66 WebRtcOpus_Decode(dec_state_, encoded, encoded_len, decoded, &temp_type); in DecodeInternal() 74 size_t encoded_len, in DecodeRedundantInternal() argument 78 if (!PacketHasFec(encoded, encoded_len)) { in DecodeRedundantInternal() 80 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, in DecodeRedundantInternal() 86 int ret = WebRtcOpus_DecodeFec(dec_state_, encoded, encoded_len, decoded, in DecodeRedundantInternal() 99 size_t encoded_len) const { in PacketDuration() 100 return WebRtcOpus_DurationEst(dec_state_, encoded, encoded_len); in PacketDuration() 104 size_t encoded_len) const { in PacketDurationRedundant() 105 if (!PacketHasFec(encoded, encoded_len)) { in PacketDurationRedundant() [all …]
|
D | audio_decoder_multi_channel_opus_impl.cc | 105 size_t encoded_len, in DecodeInternal() argument 112 WebRtcOpus_Decode(dec_state_, encoded, encoded_len, decoded, &temp_type); in DecodeInternal() 122 size_t encoded_len, in DecodeRedundantInternal() argument 126 if (!PacketHasFec(encoded, encoded_len)) { in DecodeRedundantInternal() 128 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, in DecodeRedundantInternal() 134 int ret = WebRtcOpus_DecodeFec(dec_state_, encoded, encoded_len, decoded, in DecodeRedundantInternal() 148 size_t encoded_len) const { in PacketDuration() 149 return WebRtcOpus_DurationEst(dec_state_, encoded, encoded_len); in PacketDuration() 154 size_t encoded_len) const { in PacketDurationRedundant() 155 if (!PacketHasFec(encoded, encoded_len)) { in PacketDurationRedundant() [all …]
|
D | audio_decoder_opus.h | 35 int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override; 37 size_t encoded_len) const override; 38 bool PacketHasFec(const uint8_t* encoded, size_t encoded_len) const override; 44 size_t encoded_len, 49 size_t encoded_len,
|
D | audio_decoder_multi_channel_opus_impl.h | 38 int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override; 40 size_t encoded_len) const override; 41 bool PacketHasFec(const uint8_t* encoded, size_t encoded_len) const override; 50 size_t encoded_len, 55 size_t encoded_len,
|
/external/webrtc/modules/audio_coding/codecs/g722/ |
D | audio_decoder_g722.cc | 37 size_t encoded_len, in DecodeInternal() argument 44 WebRtcG722_Decode(dec_state_, encoded, encoded_len, decoded, &temp_type); in DecodeInternal() 61 size_t encoded_len) const { in PacketDuration() 63 return static_cast<int>(2 * encoded_len / Channels()); in PacketDuration() 87 size_t encoded_len, in DecodeInternal() argument 94 uint8_t* encoded_deinterleaved = new uint8_t[encoded_len]; in DecodeInternal() 95 SplitStereoPacket(encoded, encoded_len, encoded_deinterleaved); in DecodeInternal() 98 encoded_len / 2, decoded, &temp_type); in DecodeInternal() 100 dec_state_right_, &encoded_deinterleaved[encoded_len / 2], in DecodeInternal() 101 encoded_len / 2, &decoded[decoded_len], &temp_type); in DecodeInternal() [all …]
|
D | audio_decoder_g722.h | 29 int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override; 35 size_t encoded_len, 57 size_t encoded_len, 69 size_t encoded_len,
|
/external/webrtc/api/audio_codecs/ |
D | audio_decoder.cc | 84 size_t encoded_len, in Decode() argument 90 rtc::MsanCheckInitialized(rtc::MakeArrayView(encoded, encoded_len)); in Decode() 91 int duration = PacketDuration(encoded, encoded_len); in Decode() 96 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, in Decode() 101 size_t encoded_len, in DecodeRedundant() argument 107 rtc::MsanCheckInitialized(rtc::MakeArrayView(encoded, encoded_len)); in DecodeRedundant() 108 int duration = PacketDurationRedundant(encoded, encoded_len); in DecodeRedundant() 113 return DecodeRedundantInternal(encoded, encoded_len, sample_rate_hz, decoded, in DecodeRedundant() 118 size_t encoded_len, in DecodeRedundantInternal() argument 122 return DecodeInternal(encoded, encoded_len, sample_rate_hz, decoded, in DecodeRedundantInternal() [all …]
|
D | audio_decoder.h | 106 size_t encoded_len, 115 size_t encoded_len, 152 virtual int PacketDuration(const uint8_t* encoded, size_t encoded_len) const; 158 size_t encoded_len) const; 163 virtual bool PacketHasFec(const uint8_t* encoded, size_t encoded_len) const; 177 size_t encoded_len, 183 size_t encoded_len,
|
/external/webrtc/modules/audio_coding/codecs/g711/ |
D | audio_decoder_pcm.cc | 38 size_t encoded_len, in DecodeInternal() argument 44 size_t ret = WebRtcG711_DecodeU(encoded, encoded_len, decoded, &temp_type); in DecodeInternal() 50 size_t encoded_len) const { in PacketDuration() 52 return static_cast<int>(encoded_len / Channels()); in PacketDuration() 73 size_t encoded_len, in DecodeInternal() argument 79 size_t ret = WebRtcG711_DecodeA(encoded, encoded_len, decoded, &temp_type); in DecodeInternal() 85 size_t encoded_len) const { in PacketDuration() 87 return static_cast<int>(encoded_len / Channels()); in PacketDuration()
|
D | audio_decoder_pcm.h | 34 int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override; 40 size_t encoded_len, 58 int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override; 64 size_t encoded_len,
|
/external/webrtc/modules/audio_coding/neteq/tools/ |
D | fake_decode_from_file.cc | 68 size_t encoded_len, in DecodeInternal() argument 74 const int samples_to_decode = PacketDuration(encoded, encoded_len); in DecodeInternal() 77 if (encoded_len == 0) { in DecodeInternal() 87 RTC_CHECK_GE(encoded_len, 12); in DecodeInternal() 126 size_t encoded_len) const { in PacketDuration() 128 encoded_len < 8 + sizeof(uint32_t) in PacketDuration() 132 encoded_len < 4 + sizeof(uint32_t) in PacketDuration() 136 encoded_len == 0 || in PacketDuration()
|
D | fake_decode_from_file.h | 50 size_t encoded_len, 55 int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override;
|
D | constant_pcm_packet_source.cc | 34 size_t encoded_len = WebRtcPcm16b_Encode(&sample_value, 1, encoded_sample_); in ConstantPcmPacketSource() local 35 RTC_CHECK_EQ(2U, encoded_len); in ConstantPcmPacketSource()
|
/external/webrtc/modules/audio_coding/codecs/pcm16b/ |
D | audio_decoder_pcm16b.cc | 40 size_t encoded_len, in DecodeInternal() argument 45 size_t ret = WebRtcPcm16b_Decode(encoded, encoded_len, decoded); in DecodeInternal() 60 size_t encoded_len) const { in PacketDuration() 62 return static_cast<int>(encoded_len / (2 * Channels())); in PacketDuration()
|
D | audio_decoder_pcm16b.h | 31 int PacketDuration(const uint8_t* encoded, size_t encoded_len) const override; 37 size_t encoded_len,
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/base64/ |
D | base64_test.cc | 254 const size_t encoded_len = strlen(t.encoded); in TEST_P() local 256 std::vector<uint8_t> out(encoded_len); in TEST_P() 258 for (size_t chunk_size = 1; chunk_size <= encoded_len; chunk_size++) { in TEST_P() 264 for (size_t i = 0; i < encoded_len;) { in TEST_P() 265 size_t todo = encoded_len - i; in TEST_P() 281 if (i == encoded_len || in TEST_P() 282 (i + 1 == encoded_len && t.encoded[i] == '\n') || in TEST_P()
|
/external/boringssl/src/crypto/base64/ |
D | base64_test.cc | 254 const size_t encoded_len = strlen(t.encoded); in TEST_P() local 256 std::vector<uint8_t> out(encoded_len); in TEST_P() 258 for (size_t chunk_size = 1; chunk_size <= encoded_len; chunk_size++) { in TEST_P() 264 for (size_t i = 0; i < encoded_len;) { in TEST_P() 265 size_t todo = encoded_len - i; in TEST_P() 281 if (i == encoded_len || in TEST_P() 282 (i + 1 == encoded_len && t.encoded[i] == '\n') || in TEST_P()
|
/external/rust/crates/regex/src/ |
D | utf8.rs | 160 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip() localVariable 161 let (got_cp, got_len) = decode_utf8(&tmp[..encoded_len]).unwrap(); in prop_roundtrip() 162 encoded_len == got_len && given_cp == got_cp in prop_roundtrip() 171 let encoded_len = given_cp.encode_utf8(&mut tmp).len(); in prop_roundtrip_last() localVariable 173 decode_last_utf8(&tmp[..encoded_len]).unwrap(); in prop_roundtrip_last() 174 encoded_len == got_len && given_cp == got_cp in prop_roundtrip_last()
|
/external/webrtc/test/ |
D | audio_decoder_proxy_factory.h | 72 size_t encoded_len, in DecodeInternal() argument 79 decoder_->PacketDuration(encoded, encoded_len) * in DecodeInternal() 81 return decoder_->Decode(encoded, encoded_len, sample_rate_hz, in DecodeInternal()
|
/external/rust/crates/gdbstub/src/protocol/common/ |
D | hex.rs | 106 let encoded_len = len * 2; in encode_hex_buf() localVariable 108 if buf.len() < encoded_len { in encode_hex_buf() 112 for i in 0..encoded_len { in encode_hex_buf() 129 Ok(&mut buf[..encoded_len]) in encode_hex_buf()
|
/external/rust/crates/quiche/deps/boringssl/src/fuzz/ |
D | session.cc | 39 size_t encoded_len; in LLVMFuzzerTestOneInput() local 41 if (!SSL_SESSION_to_bytes(session.get(), &encoded, &encoded_len)) { in LLVMFuzzerTestOneInput()
|
/external/webrtc/modules/audio_coding/neteq/ |
D | neteq_decoder_plc_unittest.cc | 47 size_t encoded_len, in DecodeInternal() argument 51 RTC_CHECK_EQ(encoded_len / 2, 20 * sample_rate_hz_ / 1000); in DecodeInternal() 55 RTC_CHECK(input_->Read(encoded_len / 2, decoded)); in DecodeInternal() 58 return encoded_len / 2; in DecodeInternal()
|
D | neteq_network_stats_unittest.cc | 96 size_t encoded_len) const override { in PacketDuration() 102 bool PacketHasFec(const uint8_t* encoded, size_t encoded_len) const override { in PacketHasFec() 118 size_t encoded_len, in DecodeInternal() argument
|
/external/webrtc/modules/audio_coding/codecs/isac/ |
D | audio_decoder_isac_t_impl.h | 40 size_t encoded_len, in DecodeInternal() argument 47 T::DecodeInternal(isac_state_, encoded, encoded_len, decoded, &temp_type); in DecodeInternal()
|
/external/webrtc/modules/audio_coding/codecs/ilbc/ |
D | audio_decoder_ilbc.cc | 37 size_t encoded_len, in DecodeInternal() argument 43 int ret = WebRtcIlbcfix_Decode(dec_state_, encoded, encoded_len, decoded, in DecodeInternal()
|