Home
last modified time | relevance | path

Searched refs:input_buffer_ (Results 1 – 25 of 25) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus.cc138 if (input_buffer_.empty()) in EncodeInternal()
141 input_buffer_.insert(input_buffer_.end(), audio.cbegin(), audio.cend()); in EncodeInternal()
142 if (input_buffer_.size() < in EncodeInternal()
146 RTC_CHECK_EQ(input_buffer_.size(), in EncodeInternal()
149 inst_, &input_buffer_[0], in EncodeInternal()
150 rtc::CheckedDivExact(input_buffer_.size(), config_.num_channels), in EncodeInternal()
153 input_buffer_.clear(); in EncodeInternal()
231 input_buffer_.clear(); in RecreateEncoderInstance()
232 input_buffer_.reserve(Num10msFramesPerPacket() * SamplesPer10msFrame()); in RecreateEncoderInstance()
Daudio_encoder_opus.h94 std::vector<int16_t> input_buffer_; variable
/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_outputbuffer.cc25 input_buffer_(new char[input_buffer_bytes]), in SnappyOutputBuffer()
27 next_in_(input_buffer_.get()), in SnappyOutputBuffer()
68 next_in_ = input_buffer_.get(); in Write()
105 const int32 read_bytes = next_in_ - input_buffer_.get(); in AddToInputBuffer()
111 memmove(input_buffer_.get(), next_in_, avail_in_); in AddToInputBuffer()
112 next_in_ = input_buffer_.get(); in AddToInputBuffer()
136 next_in_ = input_buffer_.get(); in DeflateBuffered()
Dsnappy_inputbuffer.cc28 input_buffer_(new char[input_buffer_capacity_]), in SnappyInputBuffer()
30 next_in_(input_buffer_.get()) {} in SnappyInputBuffer()
59 next_in_ = input_buffer_.get(); in Reset()
146 char* read_location = reinterpret_cast<char*>(input_buffer_.get()); in ReadFromFile()
152 size_t read_bytes = next_in_ - input_buffer_.get(); in ReadFromFile()
156 memmove(input_buffer_.get(), next_in_, avail_in_); in ReadFromFile()
171 next_in_ = input_buffer_.get(); in ReadFromFile()
Dsnappy_outputbuffer.h103 std::unique_ptr<char[]> input_buffer_; variable
Dsnappy_inputbuffer.h105 std::unique_ptr<char[]> input_buffer_; variable
/external/tensorflow/tensorflow/core/kernels/
Dtext_line_reader_op.cc40 input_buffer_.reset(new io::InputBuffer(file_.get(), kBufferSize)); in OnWorkStartedLocked()
43 Status status = input_buffer_->ReadLine(&line_contents); in OnWorkStartedLocked()
55 input_buffer_.reset(nullptr); in OnWorkFinishedLocked()
61 Status status = input_buffer_->ReadLine(value); in ReadLocked()
78 input_buffer_.reset(nullptr); in ResetLocked()
92 std::unique_ptr<io::InputBuffer> input_buffer_; member in tensorflow::TextLineReader
Dlookup_util.cc90 input_buffer_.reset(new io::InputBuffer(file_.get(), kInputBufferSize)); in Init()
102 status_ = input_buffer_->ReadLine(&line); in Next()
125 input_buffer_->Tell(), "."); in Next()
191 std::unique_ptr<io::InputBuffer> input_buffer_; member in tensorflow::lookup::__anonc384bb3b0111::TextFileLineIterator
/external/webrtc/webrtc/common_audio/resampler/
Dsinc_resampler.cc165 input_buffer_(static_cast<float*>( in SincResampler()
170 r1_(input_buffer_.get()), in SincResampler()
171 r2_(input_buffer_.get() + kKernelSize / 2) { in SincResampler()
195 r0_ = input_buffer_.get() + (second_load ? kKernelSize : kKernelSize / 2); in UpdateRegions()
201 assert(r1_ == input_buffer_.get()); in UpdateRegions()
334 memcpy(r1_, r3_, sizeof(*input_buffer_.get()) * kKernelSize); in Resample()
354 memset(input_buffer_.get(), 0, in Flush()
355 sizeof(*input_buffer_.get()) * input_buffer_size_); in Flush()
Dsinc_resampler.h145 rtc::scoped_ptr<float[], AlignedFreeDeleter> input_buffer_; variable
/external/webrtc/webrtc/common_audio/
Dblocker.cc114 input_buffer_(num_input_channels_, chunk_size_ + initial_delay_), in Blocker()
125 input_buffer_.MoveReadPositionBackward(initial_delay_); in Blocker()
176 input_buffer_.Write(input, num_input_channels, chunk_size_); in ProcessChunk()
181 input_buffer_.Read(input_block_.channels(), num_input_channels, in ProcessChunk()
183 input_buffer_.MoveReadPositionBackward(block_size_ - shift_amount_); in ProcessChunk()
Dblocker.h103 AudioRingBuffer input_buffer_; variable
/external/webrtc/webrtc/modules/audio_processing/
Daudio_buffer.cc114 if (need_to_downmix && !input_buffer_) { in CopyFrom()
115 input_buffer_.reset( in CopyFrom()
127 input_buffer_->fbuf()->channels()[0]); in CopyFrom()
128 data_ptr = input_buffer_->fbuf_const()->channels(); in CopyFrom()
375 if ((input_num_frames_ != proc_num_frames_) && !input_buffer_) { in DeinterleaveFrom()
376 input_buffer_.reset( in DeinterleaveFrom()
385 deinterleaved = input_buffer_->ibuf()->channels(); in DeinterleaveFrom()
402 input_resamplers_[i]->Resample(input_buffer_->fbuf_const()->channels()[i], in DeinterleaveFrom()
Daudio_buffer.h154 rtc::scoped_ptr<IFChannelBuffer> input_buffer_; variable
/external/libbrillo/brillo/streams/
Dfake_stream.cc96 input_buffer_.clear(); in ClearReadQueue()
182 return input_ptr_ >= input_buffer_.size(); in IsReadBufferEmpty()
190 input_buffer_ = std::move(packet.data); in PopReadPacket()
218 std::string message{input_buffer_.begin(), input_buffer_.end()}; in ReadNonBlocking()
221 input_buffer_.clear(); in ReadNonBlocking()
227 size_to_read = std::min(size_to_read, input_buffer_.size() - input_ptr_); in ReadNonBlocking()
228 std::memcpy(buffer, input_buffer_.data() + input_ptr_, size_to_read); in ReadNonBlocking()
Dfake_stream.h153 brillo::Blob input_buffer_; variable
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dfft_thunk.cc104 input_buffer_(input_buffer), in FftThunk()
161 buffer_allocations.GetDeviceAddress(input_buffer_)); in ExecuteOnStream()
170 buffer_allocations.GetDeviceAddress(input_buffer_)); in ExecuteOnStream()
186 buffer_allocations.GetDeviceAddress(input_buffer_)); in ExecuteOnStream()
195 buffer_allocations.GetDeviceAddress(input_buffer_)); in ExecuteOnStream()
Dfft_thunk.h87 const BufferAllocation::Slice input_buffer_; variable
/external/protobuf/src/google/protobuf/io/
Dgzip_stream.cc215 input_buffer_ = operator new(input_buffer_length_); in Init()
216 GOOGLE_CHECK(input_buffer_ != NULL); in Init()
244 operator delete(input_buffer_); in ~GzipOutputStream()
287 zcontext_.next_in = static_cast<Bytef*>(input_buffer_); in Next()
289 *data = input_buffer_; in Next()
Dgzip_stream.h191 void* input_buffer_; variable
/external/tensorflow/tensorflow/core/kernels/data/
Dreader_dataset_ops.cc417 if (input_buffer_) { in GetNextInternal()
418 const int64 current_pos = input_buffer_->Tell(); in GetNextInternal()
423 input_buffer_->ReadNBytes(dataset()->record_bytes_, &record)); in GetNextInternal()
437 input_buffer_.reset(); in GetNextInternal()
469 input_buffer_ = absl::make_unique<io::InputBuffer>( in GetNextInternal()
472 input_buffer_->SkipNBytes(dataset()->header_bytes_)); in GetNextInternal()
485 int64 current_pos = input_buffer_ ? input_buffer_->Tell() : -1; in SaveInternal()
503 input_buffer_.reset(); in RestoreInternal()
512 input_buffer_ = absl::make_unique<io::InputBuffer>( in RestoreInternal()
514 TF_RETURN_IF_ERROR(input_buffer_->Seek(current_pos)); in RestoreInternal()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Daudio_encoder_ilbc.cc106 input_buffer_ + kSampleRateHz / 100 * num_10ms_frames_buffered_); in EncodeInternal()
119 input_buffer_, in EncodeInternal()
Daudio_encoder_ilbc.h57 int16_t input_buffer_[kMaxSamplesPerPacket]; variable
/external/v8/src/compiler/
Dbytecode-graph-builder.h414 Node** input_buffer_; variable
Dbytecode-graph-builder.cc546 input_buffer_(nullptr), in BytecodeGraphBuilder()
3349 input_buffer_ = local_zone()->NewArray<Node*>(size); in EnsureInputBufferSize()
3352 return input_buffer_; in EnsureInputBufferSize()