Home
last modified time | relevance | path

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

12

/external/pdfium/core/fxcodec/gif/
Dcfx_gifcontext.cpp86 if (!input_buffer_->IsEOF()) { in GetFrame()
129 size_t read_marker = input_buffer_->GetPosition(); in GetFrame()
135 if (!input_buffer_->Seek(input_buffer_->GetPosition() + in GetFrame()
137 input_buffer_->Seek(read_marker); in GetFrame()
144 read_marker = input_buffer_->GetPosition(); in GetFrame()
227 size_t read_marker = input_buffer_->GetPosition(); in LoadFrame()
236 input_buffer_->Seek(read_marker); in LoadFrame()
269 read_marker = input_buffer_->GetPosition(); in LoadFrame()
276 input_buffer_->Seek(read_marker); in LoadFrame()
337 input_buffer_ = std::move(codec_memory); in SetInputBuffer()
[all …]
Dcfx_gifcontext.h71 RetainPtr<CFX_CodecMemory> input_buffer_; variable
/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/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::__anon75f66f860111::TextFileLineIterator
/external/tensorflow/tensorflow/core/lib/io/snappy/
Dsnappy_inputbuffer.cc28 input_buffer_(new char[input_buffer_capacity_]), in SnappyInputBuffer()
30 next_in_(input_buffer_.get()), in SnappyInputBuffer()
57 next_in_ = input_buffer_.get(); in Reset()
144 char* read_location = reinterpret_cast<char*>(input_buffer_.get()); in ReadFromFile()
150 size_t read_bytes = next_in_ - input_buffer_.get(); in ReadFromFile()
154 memmove(input_buffer_.get(), next_in_, avail_in_); in ReadFromFile()
169 next_in_ = input_buffer_.get(); in ReadFromFile()
Dsnappy_outputbuffer.cc25 input_buffer_(new char[input_buffer_bytes]), in SnappyOutputBuffer()
27 next_in_(input_buffer_.get()), in SnappyOutputBuffer()
107 next_in_ = input_buffer_.get(); in Write()
144 const int32 read_bytes = next_in_ - input_buffer_.get(); in AddToInputBuffer()
150 memmove(input_buffer_.get(), next_in_, avail_in_); in AddToInputBuffer()
151 next_in_ = input_buffer_.get(); in AddToInputBuffer()
175 next_in_ = input_buffer_.get(); in DeflateBuffered()
Dsnappy_inputbuffer.h105 std::unique_ptr<char[]> input_buffer_; variable
Dsnappy_outputbuffer.h139 std::unique_ptr<char[]> input_buffer_; variable
/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/tensorflow/tensorflow/core/kernels/data/
Dfixed_length_record_dataset_op.cc134 if (input_buffer_) { in GetNextInternal()
135 const int64 current_pos = input_buffer_->Tell(); in GetNextInternal()
140 input_buffer_->ReadNBytes(dataset()->record_bytes_, &record)); in GetNextInternal()
154 input_buffer_.reset(); in GetNextInternal()
186 input_buffer_ = absl::make_unique<io::InputBuffer>( in GetNextInternal()
188 TF_RETURN_IF_ERROR(input_buffer_->SkipNBytes(dataset()->header_bytes_)); in GetNextInternal()
201 int64 current_pos = input_buffer_ ? input_buffer_->Tell() : -1; in SaveInternal()
219 input_buffer_.reset(); in RestoreInternal()
228 input_buffer_ = absl::make_unique<io::InputBuffer>( in RestoreInternal()
230 TF_RETURN_IF_ERROR(input_buffer_->Seek(current_pos)); in RestoreInternal()
[all …]
/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/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()
/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()
/external/pdfium/core/fxcodec/bmp/
Dcfx_bmpdecompressor.cpp105 size_t pos = input_buffer_->GetPosition(); in ReadBmpHeader()
110 if (!input_buffer_->Seek(pos)) in ReadBmpHeader()
172 FX_SAFE_SIZE_T new_pos = input_buffer_->GetPosition(); in ReadBmpHeaderIfh()
183 if (!input_buffer_->Seek(new_pos.ValueOrDie())) in ReadBmpHeaderIfh()
342 input_buffer_->Seek(0); in DecodeImage()
644 return input_buffer_ && input_buffer_->ReadBlock(destination, size) == size; in ReadData()
653 input_buffer_ = std::move(codec_memory); in SetInputBuffer()
657 if (!input_buffer_) in GetAvailInput()
660 return input_buffer_->GetSize() - input_buffer_->GetPosition(); in GetAvailInput()
Dcfx_bmpdecompressor.h92 RetainPtr<CFX_CodecMemory> input_buffer_; variable
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dfft_thunk.cc104 input_buffer_(input_buffer), in FftThunk()
162 buffer_allocations.GetDeviceAddress(input_buffer_)); in ExecuteOnStream()
171 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.h85 const BufferAllocation::Slice input_buffer_; variable
/external/protobuf/src/google/protobuf/io/
Dgzip_stream.cc221 input_buffer_ = operator new(input_buffer_length_); in Init()
222 GOOGLE_CHECK(input_buffer_ != NULL); in Init()
247 operator delete(input_buffer_); in ~GzipOutputStream()
290 zcontext_.next_in = static_cast<Bytef*>(input_buffer_); in Next()
292 *data = input_buffer_; in Next()
Dgzip_stream.h181 void* input_buffer_; variable
/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

12