Home
last modified time | relevance | path

Searched refs:chunk_size_ (Results 1 – 10 of 10) sorted by relevance

/external/perfetto/src/protozero/test/
Dfake_scattered_buffer.cc42 : chunk_size_(chunk_size) {} in FakeScatteredBuffer()
47 std::unique_ptr<uint8_t[]> chunk(new uint8_t[chunk_size_]); in GetNewBuffer()
49 memset(begin, 0, chunk_size_); in GetNewBuffer()
51 return {begin, begin + chunk_size_}; in GetNewBuffer()
55 return ToHex(chunks_[chunk_index].get(), chunk_size_); in GetChunkAsString()
59 ASSERT_LE(start + length, chunks_.size() * chunk_size_); in GetBytes()
61 size_t chunk_index = (start + pos) / chunk_size_; in GetBytes()
62 size_t chunk_offset = (start + pos) % chunk_size_; in GetBytes()
Dfake_scattered_buffer.h48 const size_t chunk_size_;
/external/webrtc/modules/audio_coding/codecs/opus/test/
Dblocker.cc106 : chunk_size_(chunk_size), in Blocker()
112 input_buffer_(num_input_channels_, chunk_size_ + initial_delay_), in Blocker()
113 output_buffer_(chunk_size_ + initial_delay_, num_output_channels_), in Blocker()
172 RTC_CHECK_EQ(chunk_size, chunk_size_); in ProcessChunk()
176 input_buffer_.Write(input, num_input_channels, chunk_size_); in ProcessChunk()
180 while (first_frame_in_block < chunk_size_) { in ProcessChunk()
201 CopyFrames(output_buffer_.channels(), 0, chunk_size_, num_output_channels_, in ProcessChunk()
208 ZeroOut(output_buffer_.channels(), initial_delay_, chunk_size_, in ProcessChunk()
212 frame_offset_ = first_frame_in_block - chunk_size_; in ProcessChunk()
Dblocker.h85 const size_t chunk_size_;
/external/perfetto/src/protozero/
Dscattered_stream_null_delegate.cc28 : chunk_size_(chunk_size), in ScatteredStreamWriterNullDelegate()
29 chunk_(std::unique_ptr<uint8_t[]>(new uint8_t[chunk_size_])) {} in ScatteredStreamWriterNullDelegate()
34 return {chunk_.get(), chunk_.get() + chunk_size_}; in GetNewBuffer()
/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Dtest_utils.h53 chunk_size_(chunk_size) {
56 buf_.resize(chunk_size_);
75 RTC_DCHECK((chunk_size_ == 0) || (chunk_size_ == dst.size())); in ReadChunk()
92 const size_t chunk_size_; variable
/external/perfetto/tools/
Didle_alloc.cc68 : chunk_size_(chunk_size), fd_(open("/dev/zero", O_RDONLY)) { in ReadDevZeroChunks()
80 size_t chunk = chunk_size_; in Touch()
95 size_t chunk_size_; member in __anonb2ab7b8c0111::ReadDevZeroChunks
/external/perfetto/include/perfetto/protozero/
Dscattered_stream_null_delegate.h40 const size_t chunk_size_;
/external/webp/src/dec/
Didec_dec.c76 size_t chunk_size_; // Compressed VP8/VP8L size extracted from Header. member
325 idec->chunk_size_ = headers.compressed_size; in DecodeWebPHeaders()
357 if (!VP8GetInfo(data, curr_size, idec->chunk_size_, &width, &height)) { in DecodeVP8FrameHeader()
529 if (curr_size < (idec->chunk_size_ >> 3)) { in DecodeVP8LHeader()
536 curr_size < idec->chunk_size_) { in DecodeVP8LHeader()
558 dec->incremental_ = (curr_size < idec->chunk_size_); in DecodeVP8LData()
612 idec->chunk_size_ = 0; in NewDecoder()
/external/perfetto/src/traced/probes/ftrace/
Dcpu_reader_unittest.cc119 explicit ProtoProvider(size_t chunk_size) : chunk_size_(chunk_size) {} in ProtoProvider()
140 size_t chunk_size_; member in perfetto::__anonef7a07540111::ProtoProvider