HomeSort by relevance Sort by last modified time
    Searched refs:encoded_bytes (Results 1 - 25 of 26) sorted by null

1 2

  /external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
isac_unittest.cc 82 int encoded_bytes; local
89 encoded_bytes = WebRtcIsac_Encode(isac_codec_, speech_data_, bitstream_);
90 EXPECT_EQ(0, encoded_bytes);
91 encoded_bytes = WebRtcIsac_Encode(isac_codec_, speech_data_, bitstream_);
92 EXPECT_EQ(0, encoded_bytes);
93 encoded_bytes = WebRtcIsac_Encode(isac_codec_, speech_data_, bitstream_);
94 EXPECT_EQ(0, encoded_bytes);
95 encoded_bytes = WebRtcIsac_Encode(isac_codec_, speech_data_, bitstream_);
96 EXPECT_EQ(0, encoded_bytes);
97 encoded_bytes = WebRtcIsac_Encode(isac_codec_, speech_data_, bitstream_)
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/codecs/red/
audio_encoder_copy_red.cc 63 info.encoded_bytes + secondary_info_.encoded_bytes);
66 if (info.encoded_bytes > 0) {
72 if (secondary_info_.encoded_bytes > 0) {
73 memcpy(&encoded[info.encoded_bytes], secondary_encoded_.data(),
74 secondary_info_.encoded_bytes);
79 secondary_encoded_.SetData(encoded, info.encoded_bytes);
85 info.encoded_bytes = 0;
88 info.encoded_bytes += it->encoded_bytes;
    [all...]
audio_encoder_copy_red_unittest.cc 93 RTC_CHECK_LE(info_.encoded_bytes, max_encoded_bytes);
94 memcpy(encoded, payload_, info_.encoded_bytes);
160 info.encoded_bytes = kEncodedSize;
167 EXPECT_EQ(kEncodedSize, encoded_info_.encoded_bytes);
170 info.encoded_bytes = 0;
174 EXPECT_EQ(0u, encoded_info_.encoded_bytes);
177 info.encoded_bytes = kEncodedSize;
181 EXPECT_EQ(2 * kEncodedSize, encoded_info_.encoded_bytes);
194 info.encoded_bytes = encode_size;
203 EXPECT_EQ(1u, encoded_info_.encoded_bytes);
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/
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) {
81 *encoded_bytes = static_cast<size_t>(value);
82 assert(*encoded_bytes <= max_bytes);
87 size_t encoded_bytes,
92 value = WebRtcIsacfix_Decode(ISACFIX_main_inst_, bit_stream, encoded_bytes,
  /external/webrtc/webrtc/modules/audio_coding/codecs/opus/
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) {
68 *encoded_bytes = static_cast<size_t>(value);
73 size_t encoded_bytes, int16_t* out_data) {
77 value = WebRtcOpus_Decode(opus_decoder_, bit_stream, encoded_bytes, out_data,
opus_interface.c 302 static int16_t DetermineAudioType(OpusDecInst* inst, size_t encoded_bytes) {
305 if (encoded_bytes == 0 && inst->in_dtx_mode) {
307 } else if (encoded_bytes == 1) {
320 size_t encoded_bytes, int frame_size,
322 int res = opus_decode(inst->decoder, encoded, (opus_int32)encoded_bytes,
328 *audio_type = DetermineAudioType(inst, encoded_bytes);
334 size_t encoded_bytes, int16_t* decoded,
338 if (encoded_bytes == 0) {
339 *audio_type = DetermineAudioType(inst, encoded_bytes);
344 encoded_bytes,
    [all...]
opus_interface.h 227 * - encoded_bytes : Bytes in encoded vector
239 size_t encoded_bytes, int16_t* decoded,
268 * - encoded_bytes : Bytes in encoded vector
278 size_t encoded_bytes, int16_t* decoded,
audio_encoder_opus.cc 155 info.encoded_bytes = static_cast<size_t>(status);
  /external/webrtc/webrtc/modules/audio_coding/codecs/tools/
audio_codec_speed_test.h 37 // 3. assign |encoded_bytes| with the length of the bit stream (in bytes),
40 size_t max_bytes, size_t* encoded_bytes) = 0;
43 // 1. decodes the bit stream in |bit_stream| with a length of |encoded_bytes|
47 virtual float DecodeABlock(const uint8_t* bit_stream, size_t encoded_bytes,
  /external/webrtc/webrtc/modules/audio_coding/neteq/test/
neteq_ilbc_quality_test.cc 74 } while (info.encoded_bytes == 0);
75 return rtc::checked_cast<int>(info.encoded_bytes);
neteq_pcmu_quality_test.cc 74 } while (info.encoded_bytes == 0);
75 return rtc::checked_cast<int>(info.encoded_bytes);
  /external/webrtc/webrtc/modules/audio_coding/codecs/
audio_encoder.cc 36 RTC_CHECK_LE(info.encoded_bytes, max_encoded_bytes);
audio_encoder.h 27 size_t encoded_bytes = 0; member in struct:webrtc::AudioEncoder::EncodedInfoLeaf
36 // total number of |encoded_bytes|, the |encoded_timestamp| and the
42 // struct's |encoded_bytes| will be the sum of all the |encoded_bytes| in the
  /external/webrtc/webrtc/modules/audio_coding/codecs/cng/
audio_encoder_cng_unittest.cc 95 info.encoded_bytes = kMockReturnEncodedBytes;
114 EXPECT_EQ(0u, encoded_info_.encoded_bytes);
120 EXPECT_EQ(kMockReturnEncodedBytes, encoded_info_.encoded_bytes);
123 encoded_info_.encoded_bytes);
275 encoded_info_.encoded_bytes);
281 EXPECT_EQ(0u, encoded_info_.encoded_bytes);
366 encoded_info_.encoded_bytes);
370 EXPECT_EQ(0u, encoded_info_.encoded_bytes);
377 info.encoded_bytes = kMockReturnEncodedBytes;
380 EXPECT_EQ(kMockReturnEncodedBytes, encoded_info_.encoded_bytes);
    [all...]
audio_encoder_cng.cc 213 // It's important not to pass &info.encoded_bytes directly to
225 info.encoded_bytes = encoded_bytes_tmp;
251 RTC_CHECK_GT(info.encoded_bytes, 0u) << "Encoder didn't deliver data.";
253 RTC_CHECK_EQ(info.encoded_bytes, 0u)
  /external/webrtc/webrtc/modules/audio_coding/codecs/isac/
unittest.cc 55 int encoded_bytes = T::Encode(inst, speech_data, output->data()); local
56 if (encoded_bytes > 0 || duration_ms >= 60) {
57 EXPECT_GT(encoded_bytes, 0);
58 EXPECT_LE(static_cast<size_t>(encoded_bytes), output->size());
59 output->SetSize(encoded_bytes);
audio_encoder_isac_t_impl.h 145 info.encoded_bytes = r;
  /external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
audio_encoder_ilbc.cc 124 info.encoded_bytes = static_cast<size_t>(output_len);
125 RTC_DCHECK_EQ(info.encoded_bytes, RequiredOutputSizeBytes());
  /external/webrtc/webrtc/modules/audio_coding/codecs/g711/
audio_encoder_pcm.cc 97 info.encoded_bytes =
  /external/webrtc/webrtc/modules/video_coding/codecs/vp8/
vp8_sequence_coder.cc 33 size_t encoded_bytes() { return encoded_bytes_; } function in class:Vp8SequenceCoderEncodeCallback
183 8.0 * encoder_callback.encoded_bytes() / (frame_cnt / inst.maxFramerate);
  /external/webrtc/webrtc/modules/audio_coding/codecs/g722/
audio_encoder_g722.cc 140 info.encoded_bytes = samples_per_channel / 2 * num_channels_;
  /external/webrtc/webrtc/modules/audio_coding/acm2/
audio_coding_module_impl.cc 87 offset += info.redundant[i].encoded_bytes;
88 frag->fragmentationLength[i] = info.redundant[i].encoded_bytes;
156 encode_buffer_.SetSize(encoded_info.encoded_bytes);
rent_a_codec_unittest.cc 51 EXPECT_EQ(expected_out_length, encoded_info.encoded_bytes);
audio_coding_module_unittest_oldapi.cc 793 while (info.encoded_bytes == 0) {
807 EXPECT_EQ(0, acm_->IncomingPacket(encoded.get(), info.encoded_bytes,
    [all...]
  /external/webrtc/webrtc/modules/audio_coding/neteq/
audio_decoder_unittest.cc 145 encoded_info_.encoded_bytes = 0;
152 EXPECT_EQ(0u, encoded_info_.encoded_bytes);
168 return static_cast<int>(encoded_info_.encoded_bytes);

Completed in 460 milliseconds

1 2