/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | isac_unittest.cc | 82 int encoded_bytes; in TEST_F() local 89 encoded_bytes = WebRtcIsac_Encode(isac_codec_, speech_data_, bitstream_); in TEST_F() 90 EXPECT_EQ(0, encoded_bytes); in TEST_F() 91 encoded_bytes = WebRtcIsac_Encode(isac_codec_, speech_data_, bitstream_); in TEST_F() 92 EXPECT_EQ(0, encoded_bytes); in TEST_F() 93 encoded_bytes = WebRtcIsac_Encode(isac_codec_, speech_data_, bitstream_); in TEST_F() 94 EXPECT_EQ(0, encoded_bytes); in TEST_F() 95 encoded_bytes = WebRtcIsac_Encode(isac_codec_, speech_data_, bitstream_); in TEST_F() 96 EXPECT_EQ(0, encoded_bytes); in TEST_F() 97 encoded_bytes = WebRtcIsac_Encode(isac_codec_, speech_data_, bitstream_); in TEST_F() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/red/ |
D | audio_encoder_copy_red.cc | 63 info.encoded_bytes + secondary_info_.encoded_bytes); in EncodeInternal() 66 if (info.encoded_bytes > 0) { in EncodeInternal() 72 if (secondary_info_.encoded_bytes > 0) { in EncodeInternal() 73 memcpy(&encoded[info.encoded_bytes], secondary_encoded_.data(), in EncodeInternal() 74 secondary_info_.encoded_bytes); in EncodeInternal() 79 secondary_encoded_.SetData(encoded, info.encoded_bytes); in EncodeInternal() 85 info.encoded_bytes = 0; in EncodeInternal() 88 info.encoded_bytes += it->encoded_bytes; in EncodeInternal() 96 secondary_info_.encoded_bytes = 0; in Reset()
|
D | audio_encoder_copy_red_unittest.cc | 93 RTC_CHECK_LE(info_.encoded_bytes, max_encoded_bytes); in Encode() 94 memcpy(encoded, payload_, info_.encoded_bytes); in Encode() 160 info.encoded_bytes = kEncodedSize; in TEST_F() 167 EXPECT_EQ(kEncodedSize, encoded_info_.encoded_bytes); in TEST_F() 170 info.encoded_bytes = 0; in TEST_F() 174 EXPECT_EQ(0u, encoded_info_.encoded_bytes); in TEST_F() 177 info.encoded_bytes = kEncodedSize; in TEST_F() 181 EXPECT_EQ(2 * kEncodedSize, encoded_info_.encoded_bytes); in TEST_F() 194 info.encoded_bytes = encode_size; in TEST_F() 203 EXPECT_EQ(1u, encoded_info_.encoded_bytes); in TEST_F() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/ |
D | isac_speed_test.cc | 29 size_t max_bytes, size_t* encoded_bytes); 30 virtual float DecodeABlock(const uint8_t* bit_stream, size_t encoded_bytes, 64 size_t max_bytes, size_t* encoded_bytes) { in EncodeABlock() argument 81 *encoded_bytes = static_cast<size_t>(value); in EncodeABlock() 82 assert(*encoded_bytes <= max_bytes); in EncodeABlock() 87 size_t encoded_bytes, in DecodeABlock() argument 92 value = WebRtcIsacfix_Decode(ISACFIX_main_inst_, bit_stream, encoded_bytes, in DecodeABlock()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
D | opus_interface.c | 302 static int16_t DetermineAudioType(OpusDecInst* inst, size_t encoded_bytes) { in DetermineAudioType() argument 305 if (encoded_bytes == 0 && inst->in_dtx_mode) { in DetermineAudioType() 307 } else if (encoded_bytes == 1) { in DetermineAudioType() 320 size_t encoded_bytes, int frame_size, in DecodeNative() argument 322 int res = opus_decode(inst->decoder, encoded, (opus_int32)encoded_bytes, in DecodeNative() 328 *audio_type = DetermineAudioType(inst, encoded_bytes); in DecodeNative() 334 size_t encoded_bytes, int16_t* decoded, in WebRtcOpus_Decode() argument 338 if (encoded_bytes == 0) { in WebRtcOpus_Decode() 339 *audio_type = DetermineAudioType(inst, encoded_bytes); in WebRtcOpus_Decode() 344 encoded_bytes, in WebRtcOpus_Decode() [all …]
|
D | opus_speed_test.cc | 27 size_t max_bytes, size_t* encoded_bytes); 28 virtual float DecodeABlock(const uint8_t* bit_stream, size_t encoded_bytes, 61 size_t max_bytes, size_t* encoded_bytes) { in EncodeABlock() argument 68 *encoded_bytes = static_cast<size_t>(value); in EncodeABlock() 73 size_t encoded_bytes, int16_t* out_data) { in DecodeABlock() argument 77 value = WebRtcOpus_Decode(opus_decoder_, bit_stream, encoded_bytes, out_data, in DecodeABlock()
|
D | opus_interface.h | 239 size_t encoded_bytes, int16_t* decoded, 278 size_t encoded_bytes, int16_t* decoded,
|
/external/grpc-grpc/test/core/tsi/alts/handshaker/ |
D | transport_security_common_api_test.cc | 67 uint8_t* encoded_bytes = static_cast<uint8_t*>(gpr_malloc(encoded_length)); in test_success() local 69 &version, encoded_bytes, encoded_length)); in test_success() 75 GPR_ASSERT(memcmp(encoded_bytes, GRPC_SLICE_START_PTR(encoded_slice), in test_success() 82 gpr_free(encoded_bytes); in test_success() 100 uint8_t* encoded_bytes = static_cast<uint8_t*>(gpr_malloc(encoded_length)); in test_failure() local 102 nullptr, encoded_bytes, encoded_length)); in test_failure() 106 &version, encoded_bytes, 0)); in test_failure() 118 gpr_free(encoded_bytes); in test_failure()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | decode_bmp_op_test.py | 34 encoded_bytes = [ 59 byte_string = bytes(bytearray(encoded_bytes)) 69 encoded_bytes = [ 134 byte_string = bytes(bytearray(encoded_bytes))
|
D | decode_png_op_test.py | 35 encoded_bytes = [ 43 byte_string = bytes(bytearray(encoded_bytes))
|
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/ |
D | audio_encoder_cng_unittest.cc | 95 info.encoded_bytes = kMockReturnEncodedBytes; in ExpectEncodeCalls() 114 EXPECT_EQ(0u, encoded_info_.encoded_bytes); in CheckBlockGrouping() 120 EXPECT_EQ(kMockReturnEncodedBytes, encoded_info_.encoded_bytes); in CheckBlockGrouping() 123 encoded_info_.encoded_bytes); in CheckBlockGrouping() 275 encoded_info_.encoded_bytes); in TEST_F() 281 EXPECT_EQ(0u, encoded_info_.encoded_bytes); in TEST_F() 366 encoded_info_.encoded_bytes); in TEST_F() 370 EXPECT_EQ(0u, encoded_info_.encoded_bytes); in TEST_F() 377 info.encoded_bytes = kMockReturnEncodedBytes; in TEST_F() 380 EXPECT_EQ(kMockReturnEncodedBytes, encoded_info_.encoded_bytes); in TEST_F() [all …]
|
D | audio_encoder_cng.cc | 225 info.encoded_bytes = encoded_bytes_tmp; in EncodePassive() 251 RTC_CHECK_GT(info.encoded_bytes, 0u) << "Encoder didn't deliver data."; in EncodeActive() 253 RTC_CHECK_EQ(info.encoded_bytes, 0u) in EncodeActive()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/ |
D | unittest.cc | 55 int encoded_bytes = T::Encode(inst, speech_data, output->data()); in EncodePacket() local 56 if (encoded_bytes > 0 || duration_ms >= 60) { in EncodePacket() 57 EXPECT_GT(encoded_bytes, 0); in EncodePacket() 58 EXPECT_LE(static_cast<size_t>(encoded_bytes), output->size()); in EncodePacket() 59 output->SetSize(encoded_bytes); in EncodePacket()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/tools/ |
D | audio_codec_speed_test.h | 40 size_t max_bytes, size_t* encoded_bytes) = 0; 47 virtual float DecodeABlock(const uint8_t* bit_stream, size_t encoded_bytes,
|
/external/webrtc/webrtc/modules/audio_coding/neteq/test/ |
D | neteq_pcmu_quality_test.cc | 74 } while (info.encoded_bytes == 0); in EncodeBlock() 75 return rtc::checked_cast<int>(info.encoded_bytes); in EncodeBlock()
|
D | neteq_ilbc_quality_test.cc | 74 } while (info.encoded_bytes == 0); in EncodeBlock() 75 return rtc::checked_cast<int>(info.encoded_bytes); in EncodeBlock()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
D | audio_encoder_ilbc.cc | 124 info.encoded_bytes = static_cast<size_t>(output_len); in EncodeInternal() 125 RTC_DCHECK_EQ(info.encoded_bytes, RequiredOutputSizeBytes()); in EncodeInternal()
|
/external/python/asn1crypto/tests/ |
D | test_pem.py | 143 encoded_bytes = pem.armor(type_name, byte_string, headers=headers) 149 self.assertEqual(expected_bytes, encoded_bytes)
|
/external/adhd/cras/src/server/ |
D | cras_a2dp_info.h | 55 int a2dp_block_size(struct a2dp_info *a2dp, int encoded_bytes);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ |
D | audio_encoder.cc | 36 RTC_CHECK_LE(info.encoded_bytes, max_encoded_bytes); in Encode()
|
D | audio_encoder.h | 27 size_t encoded_bytes = 0; member
|
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/ |
D | vp8_sequence_coder.cc | 33 size_t encoded_bytes() { return encoded_bytes_; } in encoded_bytes() function in Vp8SequenceCoderEncodeCallback 183 8.0 * encoder_callback.encoded_bytes() / (frame_cnt / inst.maxFramerate); in SequenceCoder()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/ |
D | audio_encoder_pcm.cc | 97 info.encoded_bytes = in EncodeInternal()
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | audio_coding_module_impl.cc | 87 offset += info.redundant[i].encoded_bytes; in ConvertEncodedInfoToFragmentationHeader() 88 frag->fragmentationLength[i] = info.redundant[i].encoded_bytes; in ConvertEncodedInfoToFragmentationHeader() 156 encode_buffer_.SetSize(encoded_info.encoded_bytes); in Encode()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/ |
D | audio_encoder_g722.cc | 140 info.encoded_bytes = samples_per_channel / 2 * num_channels_; in EncodeInternal()
|