Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/libvpx/source/libvpx/test/
Dintrapred_test.cc44 block_size_ = block_size; in SetupMacroblock()
55 for (int x = -1 ; x <= block_size_; x++) in FillRandom()
57 for (int y = 0; y < block_size_; y++) in FillRandom()
67 for (int i = -1; i < block_size_; ++i) in SetLeftUnavailable()
74 memset(&data_ptr_[p][-1 - stride_], 127, block_size_ + 2); in SetTopUnavailable()
83 switch (block_size_) { in BlockSizeLog2Min1()
102 for (int x = 0; x < block_size_; x++) in CheckDCPrediction()
105 for (int y = 0; y < block_size_; y++) in CheckDCPrediction()
112 for (int y = 1; y < block_size_; ++y) in CheckDCPrediction()
114 block_size_)); in CheckDCPrediction()
[all …]
Dvariance_test.cc92 block_size_ = width_ * height_; in SetUp()
93 src_ = new uint8_t[block_size_]; in SetUp()
94 ref_ = new uint8_t[block_size_]; in SetUp()
115 int block_size_; member in __anon3aaf247b0111::VarianceTest
122 memset(src_, i, block_size_); in ZeroTest()
124 memset(ref_, j, block_size_); in ZeroTest()
136 for (int j = 0; j < block_size_; j++) { in RefTest()
152 memset(src_, 255, block_size_); in OneQuarterTest()
153 const int half = block_size_ / 2; in OneQuarterTest()
159 const unsigned int expected = block_size_ * 255 * 255 / 4; in OneQuarterTest()
[all …]
/external/libvpx/libvpx/test/
Dintrapred_test.cc44 block_size_ = block_size; in SetupMacroblock()
55 for (int x = -1 ; x <= block_size_; x++) in FillRandom()
57 for (int y = 0; y < block_size_; y++) in FillRandom()
67 for (int i = -1; i < block_size_; ++i) in SetLeftUnavailable()
74 memset(&data_ptr_[p][-1 - stride_], 127, block_size_ + 2); in SetTopUnavailable()
83 switch (block_size_) { in BlockSizeLog2Min1()
102 for (int x = 0; x < block_size_; x++) in CheckDCPrediction()
105 for (int y = 0; y < block_size_; y++) in CheckDCPrediction()
112 for (int y = 1; y < block_size_; ++y) in CheckDCPrediction()
114 block_size_)); in CheckDCPrediction()
[all …]
Dvariance_test.cc92 block_size_ = width_ * height_; in SetUp()
93 src_ = new uint8_t[block_size_]; in SetUp()
94 ref_ = new uint8_t[block_size_]; in SetUp()
115 int block_size_; member in __anon12331b480111::VarianceTest
122 memset(src_, i, block_size_); in ZeroTest()
124 memset(ref_, j, block_size_); in ZeroTest()
136 for (int j = 0; j < block_size_; j++) { in RefTest()
152 memset(src_, 255, block_size_); in OneQuarterTest()
153 const int half = block_size_ / 2; in OneQuarterTest()
159 const unsigned int expected = block_size_ * 255 * 255 / 4; in OneQuarterTest()
[all …]
/external/chromium_org/third_party/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/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/chromium_org/extensions/browser/
Dcontent_hash_reader.cc38 block_size_(0) { in ContentHashReader()
73 if (!reader.GetHashes(relative_path_, &block_size_, &hashes_) || in Init()
74 block_size_ % crypto::kSHA256Length != 0) in Init()
83 ComputeTreeHashRoot(hashes_, block_size_ / crypto::kSHA256Length); in Init()
98 return block_size_; in block_size()
Dverified_contents.h45 int block_size() const { return block_size_; } in block_size()
82 int block_size_; variable
Dcontent_hash_fetcher.cc143 int block_size_; member in extensions::ContentHashFetcherJob
173 block_size_(4096), in ContentHashFetcherJob()
371 std::min(contents.size() - offset, static_cast<size_t>(block_size_)); in CreateHashes()
386 ComputeTreeHashRoot(hashes, block_size_ / crypto::kSHA256Length); in CreateHashes()
393 writer.AddHashes(relative_path, block_size_, hashes); in CreateHashes()
Dverified_contents.cc96 block_size_(0) { in VerifiedContents()
162 block_size_ = block_size; in InitFrom()
166 if (block_size_ != hash_block_size) in InitFrom()
Dcontent_hash_reader.h76 int 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/chromium_org/third_party/webrtc/common_audio/resampler/
Dsinc_resampler.cc179 assert(block_size_ > kKernelSize); in SincResampler()
199 block_size_ = r4_ - r2_; in UpdateRegions()
292 for (int i = ceil((block_size_ - virtual_source_idx_) / current_io_ratio); in Resample()
294 assert(virtual_source_idx_ < block_size_); in Resample()
332 virtual_source_idx_ -= block_size_; in Resample()
350 return block_size_ / io_sample_rate_ratio_; in ChunkSize()
Dsinc_resampler.h133 int block_size_; variable
/external/chromium_org/media/base/
Dsinc_resampler.cc134 CHECK_GT(block_size_, kKernelSize) in SincResampler()
155 block_size_ = r4_ - r2_; in UpdateRegions()
246 while (source_idx < block_size_) { in Resample()
283 DCHECK_GE(virtual_source_idx_, block_size_); in Resample()
284 virtual_source_idx_ -= block_size_; in Resample()
300 return block_size_ / io_sample_rate_ratio_; in ChunkSize()
Dsinc_resampler.h111 int block_size_; variable
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc56 block_size_(block_size > 0 ? block_size : size), in ArrayInputStream()
66 last_returned_size_ = min(block_size_, size_ - position_); in Next()
109 block_size_(block_size > 0 ? block_size : size), in ArrayOutputStream()
119 last_returned_size_ = min(block_size_, size_ - position_); in Next()
Dzero_copy_stream_impl_lite.h82 const int block_size_; // How many bytes to return at a time. variable
114 const int block_size_; // How many bytes to return at a time. variable
/external/chromium_org/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_impl_lite.cc58 block_size_(block_size > 0 ? block_size : size), in ArrayInputStream()
68 last_returned_size_ = min(block_size_, size_ - position_); in Next()
111 block_size_(block_size > 0 ? block_size : size), in ArrayOutputStream()
121 last_returned_size_ = min(block_size_, size_ - position_); in Next()
Dzero_copy_stream_impl_lite.h82 const int block_size_; // How many bytes to return at a time. variable
114 const int block_size_; // How many bytes to return at a time. variable

12