Home
last modified time | relevance | path

Searched refs:block_size_ (Results 1 – 20 of 20) sorted by relevance

/external/webrtc/webrtc/common_audio/
Dblocker.cc109 block_size_(block_size), in Blocker()
112 initial_delay_(block_size_ - gcd(chunk_size, shift_amount)), in Blocker()
116 input_block_(block_size_, num_input_channels_), in Blocker()
117 output_block_(block_size_, num_output_channels_), in Blocker()
118 window_(new float[block_size_]), in Blocker()
122 RTC_CHECK_LE(shift_amount_, block_size_); in Blocker()
124 memcpy(window_.get(), window, block_size_ * sizeof(*window_.get())); in Blocker()
182 block_size_); in ProcessChunk()
183 input_buffer_.MoveReadPositionBackward(block_size_ - shift_amount_); in ProcessChunk()
186 block_size_, in ProcessChunk()
[all …]
Dblocker.h82 const size_t block_size_; variable
/external/regex-re2/util/
Darena.cc17 : block_size_(block_size), in UnsafeArena()
25 first_blocks_[0].mem = reinterpret_cast<char*>(malloc(block_size_)); in UnsafeArena()
26 first_blocks_[0].size = block_size_; in UnsafeArena()
109 if (block_size_ == 0 || size > block_size_/4) { in GetMemoryFallback()
129 AllocatedBlock *block = AllocNewBlock(block_size_); in GetMemoryFallback()
Darena.h73 const size_t block_size_; variable
/external/ceres-solver/internal/ceres/
Dschur_jacobi_preconditioner.cc58 block_size_.resize(num_blocks); in SchurJacobiPreconditioner()
60 block_size_[i] = bs.cols[i + options_.elimination_groups[0]].size; in SchurJacobiPreconditioner()
63 m_.reset(new BlockRandomAccessDiagonalMatrix(block_size_)); in SchurJacobiPreconditioner()
114 for (int i = 0; i < block_size_.size(); ++i) { in RightMultiply()
115 const int block_size = block_size_[i]; in RightMultiply()
Dvisibility_based_preconditioner.cc89 block_size_.resize(num_blocks_); in VisibilityBasedPreconditioner()
91 block_size_[i] = bs.cols[i + options_.elimination_groups[0]].size; in VisibilityBasedPreconditioner()
181 m_.reset(new BlockRandomAccessSparseMatrix(block_size_, block_pairs_)); in InitStorage()
424 m.block(r, c, block_size_[block1], block_size_[block2]) *= 0.5; in ScaleOffDiagonalCells()
446 factor_ = ss_.BlockAnalyzeCholesky(lhs, block_size_, block_size_, &status); in Factorize()
Dschur_jacobi_preconditioner.h99 vector<int> block_size_; variable
Dvisibility_based_preconditioner.h173 vector<int> block_size_; variable
/external/libvpx/libvpx/test/
Dvariance_test.cc233 block_size_ = width_ * height_; in SetUp()
235 src_ = reinterpret_cast<uint8_t *>(vpx_memalign(16, block_size_ * 2)); in SetUp()
236 ref_ = new uint8_t[block_size_ * 2]; in SetUp()
240 vpx_memalign(16, block_size_ * 2 * sizeof(uint16_t)))); in SetUp()
241 ref_ = CONVERT_TO_BYTEPTR(new uint16_t[block_size_ * 2]); in SetUp()
275 int block_size_; member in __anon9f3513840111::VarianceTest
283 memset(src_, i, block_size_); in ZeroTest()
287 block_size_); in ZeroTest()
292 memset(ref_, j, block_size_); in ZeroTest()
296 block_size_); in ZeroTest()
[all …]
Dvp9_intrapred_test.cc41 for (int y = 0; y < block_size_; y++) { in CheckPrediction()
42 for (int x = 0; x < block_size_; x++) { in CheckPrediction()
62 for (int x = -1; x <= block_size_*2; x++) { in RunTest()
69 for (int y = 0; y < block_size_; y++) { in RunTest()
82 int block_size_; member in __anon2a6e24c20111::VP9IntraPredBase
103 block_size_ = GET_PARAM(2); in SetUp()
105 stride_ = block_size_ * 3; in SetUp()
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dtime_stretch_unittest.cc65 block_size_(30 * sample_rate_hz_ / 1000), // 30 ms in TimeStretchTest()
66 audio_(new int16_t[block_size_]), in TimeStretchTest()
72 RTC_CHECK(input_file_->Read(block_size_, audio_.get())); in Next30Ms()
84 UpdateReturnStats(accelerate.Process(Next30Ms(), block_size_, fast_mode, in TestAccelerate()
105 const size_t block_size_; member in webrtc::TimeStretchTest
/external/webrtc/webrtc/common_audio/resampler/
Dsinc_resampler.cc178 assert(block_size_ > kKernelSize); in SincResampler()
198 block_size_ = r4_ - r2_; in UpdateRegions()
290 ceil((block_size_ - virtual_source_idx_) / current_io_ratio)); in Resample()
292 assert(virtual_source_idx_ < block_size_); in Resample()
330 virtual_source_idx_ -= block_size_; in Resample()
348 return static_cast<size_t>(block_size_ / io_sample_rate_ratio_); in ChunkSize()
Dsinc_resampler.h132 size_t block_size_; variable
/external/opencv3/modules/cudaobjdetect/src/
Dhog.cpp156 Size block_size_; member in __anon78effd4c0111::HOG_Impl
187 block_size_(block_size), in HOG_Impl()
229 … return numPartsWithin(win_size_, block_size_, block_stride_).area() * getBlockHistogramSize(); in getDescriptorSize()
234 …Size cells_per_block(block_size_.width / cell_size_.width, block_size_.height / cell_size_.height); in getBlockHistogramSize()
240 return win_sigma_ >= 0 ? win_sigma_ : (block_size_.width + block_size_.height) / 8.0; in getWinSigma()
256 Size blocks_per_win = numPartsWithin(win_size_, block_size_, block_stride_); in setSVMDetector()
454 Size blocks_per_win = numPartsWithin(win_size_, block_size_, block_stride_); in compute()
486 Size blocks_per_img = numPartsWithin(img_size, block_size_, block_stride_); in getTotalHistSize()
492 cv::Size blocks_per_win = numPartsWithin(win_size_, block_size_, block_stride_); in computeBlockHistograms()
/external/v8/src/wasm/
Dasm-wasm-builder.cc49 block_size_(0), in AsmWasmBuilderImpl()
110 DCHECK(block_size_ >= 0); in VisitBlock()
126 prev_block_size_ = builder_->block_size_; in BlockVisitor()
127 builder_->block_size_ = initial_block_size; in BlockVisitor()
131 builder_->block_size_); in ~BlockVisitor()
132 builder_->block_size_ = prev_block_size_; in ~BlockVisitor()
226 block_size_++; in SetLocalTo()
233 block_size_++; in CompileCase()
244 block_size_ += stmts->length(); in CompileCase()
263 block_size_ += stmts->length(); in VisitSwitchStatement()
[all …]
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc60 block_size_(block_size > 0 ? block_size : size), in ArrayInputStream()
70 last_returned_size_ = min(block_size_, size_ - position_); in Next()
113 block_size_(block_size > 0 ? block_size : size), in ArrayOutputStream()
123 last_returned_size_ = min(block_size_, size_ - position_); in Next()
Dzero_copy_stream_impl_lite.h83 const int block_size_; // How many bytes to return at a time. variable
115 const int block_size_; // How many bytes to return at a time. variable
/external/webp/src/enc/
Dbackward_references.c122 refs->block_size_ = in VP8LBackwardRefsInit()
151 sizeof(*b) + refs->block_size_ * sizeof(*b->start_); in BackwardRefsNewBlock()
172 if (b == NULL || b->size_ == refs->block_size_) { in BackwardRefsCursorAdd()
183 assert(src->block_size_ == dst->block_size_); in VP8LBackwardRefsCopy()
Dbackward_references.h143 int block_size_; // common block-size member
Dvp8l.c853 VP8LBackwardRefsInit(&refs, refs_array[0].block_size_); in EncodeImageInternal()