Home
last modified time | relevance | path

Searched refs:encoded_ (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/base/
Dstringencode_unittest.cc74 char encoded_[31]; member in rtc::HexEncodeTest
82 enc_res_ = hex_encode(encoded_, sizeof(encoded_), data_, sizeof(data_)); in TEST_F()
84 ASSERT_STREQ("80818283848586878889", encoded_); in TEST_F()
85 dec_res_ = hex_decode(decoded_, sizeof(decoded_), encoded_, enc_res_); in TEST_F()
92 enc_res_ = hex_encode_with_delimiter(encoded_, sizeof(encoded_), in TEST_F()
95 ASSERT_STREQ("80:81:82:83:84:85:86:87:88:89", encoded_); in TEST_F()
97 encoded_, enc_res_, ':'); in TEST_F()
104 enc_res_ = hex_encode_with_delimiter(encoded_, sizeof(encoded_), in TEST_F()
108 encoded_, enc_res_, '/'); in TEST_F()
114 enc_res_ = hex_encode(encoded_, sizeof(encoded_), data_, sizeof(data_)); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_coding/neteq/
Daudio_decoder_unittest.cc103 encoded_(NULL), in AudioDecoderTest()
119 encoded_ = new uint8_t[data_length_ * 2]; in SetUp()
132 delete [] encoded_; in TearDown()
133 encoded_ = NULL; in TearDown()
194 &input[processed_samples], frame_size_, &encoded_[encoded_bytes_]); in EncodeDecodeTest()
199 &encoded_[encoded_bytes_], enc_len, codec_input_rate_hz_, in EncodeDecodeTest()
229 size_t enc_len = EncodeFrame(input.get(), frame_size_, encoded_); in ReInitTest()
234 dec_len = decoder_->Decode(encoded_, enc_len, codec_input_rate_hz_, in ReInitTest()
242 dec_len = decoder_->Decode(encoded_, enc_len, codec_input_rate_hz_, in ReInitTest()
259 size_t enc_len = EncodeFrame(input.get(), frame_size_, encoded_); in DecodePlcTest()
[all …]
Dneteq_external_decoder_unittest.cc39 encoded_(new uint8_t[2 * frame_size_samples_]), in NetEqExternalDecoderUnitTest()
54 delete [] encoded_; in ~NetEqExternalDecoderUnitTest()
74 encoded_); in GetNewPacket()
110 encoded_, payload_size_bytes_), in RunTest()
153 uint8_t* encoded_; member in webrtc::NetEqExternalDecoderUnitTest
Dneteq_stereo_unittest.cc68 encoded_ = new uint8_t[2 * frame_size_samples_]; in NetEqStereoTest()
79 delete [] encoded_; in ~NetEqStereoTest()
143 encoded_); in GetNewPackets()
199 encoded_, payload_size_bytes_), in RunTest()
254 uint8_t* encoded_; member in webrtc::NetEqStereoTest
/external/webrtc/webrtc/modules/audio_coding/codecs/red/
Daudio_encoder_copy_red_unittest.cc50 encoded_.resize(red_->MaxEncodedBytes(), 0); in AudioEncoderCopyRedTest()
66 encoded_.size(), &encoded_[0]); in Encode()
76 std::vector<uint8_t> encoded_; member in webrtc::AudioEncoderCopyRedTest
260 EXPECT_EQ(i, encoded_[i]); in TEST_F()
274 EXPECT_EQ((j + 1) * 10 + i, encoded_[i]); in TEST_F()
276 EXPECT_EQ(j * 10 + i, encoded_[i + kPayloadLenBytes]); in TEST_F()
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng_unittest.cc73 encoded_.resize(cng_->MaxEncodedBytes(), 0); in CreateCng()
81 encoded_.size(), &encoded_[0]); in Encode()
194 std::vector<uint8_t> encoded_; member in webrtc::AudioEncoderCngTest