Home
last modified time | relevance | path

Searched refs:kMaxWidth (Results 1 – 22 of 22) sorted by relevance

/external/libyuv/files/unit_test/
Dcompare_test.cc210 const int kMaxWidth = 4096 * 3; in TEST_F() local
211 align_buffer_page_end(src_a, kMaxWidth); in TEST_F()
212 align_buffer_page_end(src_b, kMaxWidth); in TEST_F()
213 memset(src_a, 0, kMaxWidth); in TEST_F()
214 memset(src_b, 0, kMaxWidth); in TEST_F()
223 MemRandomize(src_a, kMaxWidth); in TEST_F()
224 MemRandomize(src_b, kMaxWidth); in TEST_F()
226 uint32_t h0 = HammingDistance_C(src_a, src_b, kMaxWidth); in TEST_F()
230 ((benchmark_width_ * benchmark_height_ + kMaxWidth - 1) / kMaxWidth); in TEST_F()
233 h1 = HammingDistance_NEON(src_a, src_b, kMaxWidth); in TEST_F()
[all …]
Dunit_test.h57 static const int kMaxWidth = 32768; variable
64 if (src_width > kMaxWidth || src_height > kMaxHeight || in SizeValid()
65 dst_width > kMaxWidth || dst_height > kMaxHeight) { in SizeValid()
/external/skqp/src/gpu/effects/
DGrAlphaThresholdFragmentProcessor.fp68 const int kMaxWidth = 1000;
70 uint32_t width = testData->fRandom->nextULessThan(kMaxWidth);
72 uint32_t x = testData->fRandom->nextULessThan(kMaxWidth - width);
DGrAlphaThresholdFragmentProcessor.cpp114 const int kMaxWidth = 1000; in TestCreate() local
116 uint32_t width = testData->fRandom->nextULessThan(kMaxWidth); in TestCreate()
118 uint32_t x = testData->fRandom->nextULessThan(kMaxWidth - width); in TestCreate()
DGrMagnifierEffect.fp73 const int kMaxWidth = 200;
76 uint32_t width = d->fRandom->nextULessThan(kMaxWidth);
80 SkIRect bounds = SkIRect::MakeWH(SkIntToScalar(kMaxWidth), SkIntToScalar(kMaxHeight));
DGrMagnifierEffect.cpp177 const int kMaxWidth = 200; in TestCreate() local
180 uint32_t width = d->fRandom->nextULessThan(kMaxWidth); in TestCreate()
184 SkIRect bounds = SkIRect::MakeWH(SkIntToScalar(kMaxWidth), SkIntToScalar(kMaxHeight)); in TestCreate()
/external/skia/src/gpu/effects/
DGrMagnifierEffect.fp45 const int kMaxWidth = 200;
48 uint32_t width = d->fRandom->nextULessThan(kMaxWidth);
52 SkIRect bounds = SkIRect::MakeWH(SkIntToScalar(kMaxWidth), SkIntToScalar(kMaxHeight));
/external/libaom/libaom/test/
Dblend_a64_mask_1d_test.cc38 static const int kMaxWidth = MAX_SB_SIZE * 5; // * 5 to cover longer strides member in __anonf2fde9ae0111::BlendA64Mask1DTest
40 static const int kBufSize = kMaxWidth * kMaxHeight;
53 dst_stride_ = this->rng_(kMaxWidth + 1 - w_) + w_; in Common()
56 src0_stride_ = this->rng_(kMaxWidth + 1 - w_) + w_; in Common()
59 src1_stride_ = this->rng_(kMaxWidth + 1 - w_) + w_; in Common()
Dblend_a64_mask_test.cc38 static const int kMaxWidth = MAX_SB_SIZE * 5; // * 5 to cover longer strides member in __anonc3c2443a0111::BlendA64MaskTest
40 static const int kBufSize = kMaxWidth * kMaxHeight;
94 dst_stride_ = this->rng_(kMaxWidth + 1 - w_) + w_; in RunOneTest()
97 src0_stride_ = this->rng_(kMaxWidth + 1 - w_) + w_; in RunOneTest()
100 src1_stride_ = this->rng_(kMaxWidth + 1 - w_) + w_; in RunOneTest()
103 this->rng_(kMaxWidth + 1 - w_ * (subx_ ? 2 : 1)) + w_ * (subx_ ? 2 : 1); in RunOneTest()
/external/skia/src/gpu/effects/generated/
DGrMagnifierEffect.cpp174 const int kMaxWidth = 200; in TestCreate() local
177 uint32_t width = d->fRandom->nextULessThan(kMaxWidth); in TestCreate()
181 SkIRect bounds = SkIRect::MakeWH(SkIntToScalar(kMaxWidth), SkIntToScalar(kMaxHeight)); in TestCreate()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DNativeFormatting.cpp136 const size_t kMaxWidth = 128u; in write_hex() local
138 size_t W = std::min(kMaxWidth, Width.getValueOr(0u)); in write_hex()
149 char NumberBuffer[kMaxWidth]; in write_hex()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DNativeFormatting.cpp135 const size_t kMaxWidth = 128u; in write_hex() local
137 size_t W = std::min(kMaxWidth, Width.getValueOr(0u)); in write_hex()
148 char NumberBuffer[kMaxWidth]; in write_hex()
/external/llvm-project/llvm/lib/Support/
DNativeFormatting.cpp134 const size_t kMaxWidth = 128u; in write_hex() local
136 size_t W = std::min(kMaxWidth, Width.getValueOr(0u)); in write_hex()
147 char NumberBuffer[kMaxWidth]; in write_hex()
/external/skia/fuzz/
DFuzzCreateDDL.cpp35 static constexpr int kMaxWidth = 64; variable
57 fuzz->nextRange(&width, 1, kMaxWidth); in gen_fuzzed_imageinfo()
/external/libhevc/fuzzer/
Dhevc_enc_fuzzer.cpp38 constexpr size_t kMaxWidth = 10240; variable
99 mWidth = ((data[IDX_WD_BYTE_1] << 8) | data[IDX_WD_BYTE_2]) % kMaxWidth; in initEncoder()
/external/skqp/tools/skiaserve/
DRequest.cpp18 static int kMaxWidth = 8192; variable
116 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), kMaxWidth), in getBounds()
/external/skia/tools/skiaserve/
DRequest.cpp21 static int kMaxWidth = 8192; variable
123 bounds = SkIRect::MakeWH(std::min(bounds.width(), kMaxWidth), in getBounds()
/external/llvm-project/mlir/lib/Parser/
DTypeParser.cpp330 if (width.getValue() > IntegerType::kMaxWidth) { in parseNonFunctionType()
332 << IntegerType::kMaxWidth << " bits"; in parseNonFunctionType()
/external/llvm-project/mlir/lib/IR/
DBuiltinTypes.cpp50 constexpr unsigned IntegerType::kMaxWidth; member in IntegerType
56 if (width > IntegerType::kMaxWidth) { in verifyConstructionInvariants()
58 << IntegerType::kMaxWidth << " bits"; in verifyConstructionInvariants()
/external/google-breakpad/src/processor/
Dstackwalk_common.cc71 static const int kMaxWidth = 80; // optimize for an 80-column terminal variable
76 if (start_col + static_cast<ssize_t>(strlen(buffer)) > kMaxWidth) { in PrintRegister()
90 if (start_col + static_cast<ssize_t>(strlen(buffer)) > kMaxWidth) { in PrintRegister64()
/external/libavc/fuzzer/
Davc_enc_fuzzer.cpp52 constexpr size_t kMaxWidth = 10240; variable
188 mWidth = ((data[IDX_WD_BYTE_1] << 8) | data[IDX_WD_BYTE_2]) % kMaxWidth; in initEncoder()
/external/llvm-project/mlir/include/mlir/IR/
DBuiltinTypes.h154 static constexpr unsigned kMaxWidth = 4096; variable