/external/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/modules/audio_coding/codecs/red/ |
D | audio_encoder_copy_red.cc | 62 if (secondary_info_.encoded_bytes > 0) { in CalculateHeaderLength() 65 if (tertiary_info_.encoded_bytes > 0) { in CalculateHeaderLength() 79 RTC_DCHECK_EQ(primary_encoded.size(), info.encoded_bytes); in EncodeImpl() 81 if (info.encoded_bytes == 0) { in EncodeImpl() 92 if (tertiary_info_.encoded_bytes > 0 && in EncodeImpl() 93 tertiary_info_.encoded_bytes < kRedMaxPacketSize) { in EncodeImpl() 101 (timestamp_delta << 2) | (tertiary_info_.encoded_bytes >> 8)); in EncodeImpl() 102 encoded->data()[header_offset + 3] = tertiary_info_.encoded_bytes & 0xff; in EncodeImpl() 106 if (secondary_info_.encoded_bytes > 0 && in EncodeImpl() 107 secondary_info_.encoded_bytes < kRedMaxPacketSize) { in EncodeImpl() [all …]
|
D | audio_encoder_copy_red_unittest.cc | 156 EXPECT_EQ(kEncodedSize, encoded_info_.encoded_bytes); in TEST_F() 160 EXPECT_EQ(0u, encoded_info_.encoded_bytes); in TEST_F() 164 EXPECT_EQ(2 * kEncodedSize + kHeaderLenBytes, encoded_info_.encoded_bytes); in TEST_F() 184 EXPECT_EQ(1u, encoded_info_.encoded_bytes); in TEST_F() 190 EXPECT_EQ(8u, encoded_info_.encoded_bytes); in TEST_F() 195 EXPECT_EQ(i, encoded_info_.redundant[0].encoded_bytes); in TEST_F() 196 EXPECT_EQ(i - 1, encoded_info_.redundant[1].encoded_bytes); in TEST_F() 197 EXPECT_EQ(i - 2, encoded_info_.redundant[2].encoded_bytes); in TEST_F() 198 EXPECT_EQ(9 + i + (i - 1) + (i - 2), encoded_info_.encoded_bytes); in TEST_F() 206 info.encoded_bytes = 17; in TEST_F() [all …]
|
/external/webrtc/test/ |
D | mock_audio_encoder.cc | 22 MockAudioEncoder::FakeEncoding::FakeEncoding(size_t encoded_bytes) { in FakeEncoding() argument 23 info_.encoded_bytes = encoded_bytes; in FakeEncoding() 30 encoded->SetSize(encoded->size() + info_.encoded_bytes); in operator ()() 44 info_.encoded_bytes = payload_.size(); in CopyEncoding() 52 RTC_CHECK_LE(info_.encoded_bytes, payload_.size()); in operator ()() 53 encoded->AppendData(payload_.data(), info_.encoded_bytes); in operator ()()
|
/external/webrtc/modules/audio_coding/codecs/isac/fix/test/ |
D | isac_speed_test.cc | 31 size_t* encoded_bytes) override; 33 size_t encoded_bytes, 68 size_t* encoded_bytes) { in EncodeABlock() argument 85 *encoded_bytes = static_cast<size_t>(value); in EncodeABlock() 86 assert(*encoded_bytes <= max_bytes); in EncodeABlock() 91 size_t encoded_bytes, in DecodeABlock() argument 96 value = WebRtcIsacfix_Decode(ISACFIX_main_inst_, bit_stream, encoded_bytes, in DecodeABlock()
|
/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/webrtc/modules/audio_coding/codecs/opus/ |
D | opus_speed_test.cc | 29 size_t* encoded_bytes) override; 31 size_t encoded_bytes, 65 size_t* encoded_bytes) { in EncodeABlock() argument 71 *encoded_bytes = static_cast<size_t>(value); in EncodeABlock() 76 size_t encoded_bytes, in DecodeABlock() argument 81 value = WebRtcOpus_Decode(opus_decoder_, bit_stream, encoded_bytes, out_data, in DecodeABlock()
|
D | opus_interface.cc | 497 static int16_t DetermineAudioType(OpusDecInst* inst, size_t encoded_bytes) { in DetermineAudioType() argument 500 if (encoded_bytes == 0 && inst->in_dtx_mode) { in DetermineAudioType() 502 } else if (encoded_bytes == 1 || encoded_bytes == 2) { in DetermineAudioType() 524 size_t encoded_bytes, in DecodeNative() argument 532 inst->decoder, encoded, static_cast<opus_int32>(encoded_bytes), in DecodeNative() 536 static_cast<opus_int32>(encoded_bytes), in DecodeNative() 544 *audio_type = DetermineAudioType(inst, encoded_bytes); in DecodeNative() 577 size_t encoded_bytes, in WebRtcOpus_Decode() argument 582 if (encoded_bytes == 0) { in WebRtcOpus_Decode() 583 *audio_type = DetermineAudioType(inst, encoded_bytes); in WebRtcOpus_Decode() [all …]
|
D | opus_interface.h | 419 size_t encoded_bytes, 443 size_t encoded_bytes,
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | decode_bmp_op_test.py | 34 encoded_bytes = [ 59 byte_string = bytes(bytearray(encoded_bytes)) 70 encoded_bytes = [ 135 byte_string = bytes(bytearray(encoded_bytes))
|
D | decode_png_op_test.py | 35 encoded_bytes = [ 43 byte_string = bytes(bytearray(encoded_bytes))
|
/external/webrtc/modules/audio_coding/codecs/ilbc/ |
D | audio_encoder_ilbc.cc | 100 size_t encoded_bytes = encoded->AppendData( in EncodeImpl() local 110 RTC_DCHECK_EQ(encoded_bytes, RequiredOutputSizeBytes()); in EncodeImpl() 113 info.encoded_bytes = encoded_bytes; in EncodeImpl()
|
/external/webrtc/modules/audio_coding/codecs/cng/ |
D | audio_encoder_cng_unittest.cc | 104 info.encoded_bytes = kMockReturnEncodedBytes; in ExpectEncodeCalls() 126 EXPECT_EQ(0u, encoded_info_.encoded_bytes); in CheckBlockGrouping() 132 EXPECT_EQ(kMockReturnEncodedBytes, encoded_info_.encoded_bytes); in CheckBlockGrouping() 135 encoded_info_.encoded_bytes); in CheckBlockGrouping() 305 encoded_info_.encoded_bytes); in TEST_F() 312 EXPECT_EQ(0u, encoded_info_.encoded_bytes); in TEST_F() 399 encoded_info_.encoded_bytes); in TEST_F() 403 EXPECT_EQ(0u, encoded_info_.encoded_bytes); in TEST_F() 413 EXPECT_EQ(kMockReturnEncodedBytes, encoded_info_.encoded_bytes); in TEST_F() 421 encoded_info_.encoded_bytes); in TEST_F()
|
D | audio_encoder_cng.cc | 258 info.encoded_bytes = encoded_bytes_tmp; in EncodePassive() 283 RTC_CHECK_GT(info.encoded_bytes, 0) << "Encoder didn't deliver data."; in EncodeActive() 285 RTC_CHECK_EQ(info.encoded_bytes, 0) in EncodeActive()
|
/external/webrtc/modules/audio_coding/codecs/ |
D | builtin_audio_encoder_factory_unittest.cc | 82 EXPECT_EQ(info.encoded_bytes, out.size()); in TEST_P() 83 if (info.encoded_bytes > 0) { in TEST_P() 96 EXPECT_EQ(info.encoded_bytes, out.size()); in TEST_P() 97 if (info.encoded_bytes > 0) { in TEST_P()
|
/external/pigweed/pw_tokenizer/ |
D | encode_args.cc | 98 size_t encoded_bytes = 0; in EncodeArgs() local 125 encoded_bytes += argument_bytes; in EncodeArgs() 131 return encoded_bytes; in EncodeArgs()
|
D | tokenize.cc | 80 const size_t encoded_bytes = EncodeArgs( in _pw_tokenizer_ToBuffer() local 87 *buffer_size_bytes = sizeof(token) + encoded_bytes; in _pw_tokenizer_ToBuffer()
|
/external/webrtc/modules/audio_coding/codecs/isac/ |
D | audio_encoder_isac_t_impl.h | 139 size_t encoded_bytes = encoded->AppendData( in EncodeImpl() local 149 if (encoded_bytes == 0) in EncodeImpl() 156 info.encoded_bytes = encoded_bytes; in EncodeImpl()
|
/external/webrtc/modules/audio_coding/codecs/tools/ |
D | audio_codec_speed_test.h | 41 size_t* encoded_bytes) = 0; 49 size_t encoded_bytes,
|
/external/webrtc/modules/audio_coding/neteq/test/ |
D | neteq_pcmu_quality_test.cc | 67 } while (info.encoded_bytes == 0); in EncodeBlock() 68 return rtc::checked_cast<int>(info.encoded_bytes); in EncodeBlock()
|
D | neteq_ilbc_quality_test.cc | 68 } while (info.encoded_bytes == 0); in EncodeBlock() 69 return rtc::checked_cast<int>(info.encoded_bytes); in EncodeBlock()
|
D | neteq_pcm16b_quality_test.cc | 68 } while (info.encoded_bytes == 0); in EncodeBlock() 69 return rtc::checked_cast<int>(info.encoded_bytes); in EncodeBlock()
|
/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/webrtc/modules/audio_coding/neteq/ |
D | audio_decoder_unittest.cc | 132 EXPECT_EQ(0u, encoded_info.encoded_bytes); in EncodeFrame() 149 return static_cast<int>(encoded_info.encoded_bytes); in EncodeFrame() 166 size_t encoded_bytes = 0u; in EncodeDecodeTest() local 191 encoded_bytes += enc_len; in EncodeDecodeTest() 198 EXPECT_EQ(expected_bytes, encoded_bytes); in EncodeDecodeTest()
|
/external/adhd/cras/src/server/ |
D | cras_a2dp_info.h | 55 int a2dp_block_size(struct a2dp_info *a2dp, int encoded_bytes);
|