Home
last modified time | relevance | path

Searched refs:encoded_info (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/acm2/
Drent_a_codec_unittest.cc46 AudioEncoder::EncodedInfo encoded_info; in EncodeAndVerify() local
47 encoded_info = in EncodeAndVerify()
50 EXPECT_TRUE(encoded_info.redundant.empty()); in EncodeAndVerify()
51 EXPECT_EQ(expected_out_length, encoded_info.encoded_bytes); in EncodeAndVerify()
52 EXPECT_EQ(expected_timestamp, encoded_info.encoded_timestamp); in EncodeAndVerify()
54 EXPECT_EQ(expected_payload_type, encoded_info.payload_type); in EncodeAndVerify()
57 encoded_info.send_even_if_empty); in EncodeAndVerify()
Daudio_coding_module_impl.cc129 AudioEncoder::EncodedInfo encoded_info; in Encode() local
151 encoded_info = audio_encoder->Encode( in Encode()
156 encode_buffer_.SetSize(encoded_info.encoded_bytes); in Encode()
158 if (encode_buffer_.size() == 0 && !encoded_info.send_even_if_empty) { in Encode()
165 ConvertEncodedInfoToFragmentationHeader(encoded_info, &my_fragmentation); in Encode()
167 if (encode_buffer_.size() == 0 && encoded_info.send_even_if_empty) { in Encode()
169 encoded_info.payload_type = previous_pltype; in Encode()
172 frame_type = encoded_info.speech ? kAudioFrameSpeech : kAudioFrameCN; in Encode()
179 frame_type, encoded_info.payload_type, encoded_info.encoded_timestamp, in Encode()
190 previous_pltype_ = encoded_info.payload_type; in Encode()