Home
last modified time | relevance | path

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

12

/external/libyuv/files/unit_test/
Dcompare_test.cc206 const int kMaxWidth = 4096 * 3; in TEST_F() local
207 align_buffer_page_end(src_a, kMaxWidth); in TEST_F()
208 align_buffer_page_end(src_b, kMaxWidth); in TEST_F()
209 memset(src_a, 0, kMaxWidth); in TEST_F()
210 memset(src_b, 0, kMaxWidth); in TEST_F()
217 for (int i = 0; i < kMaxWidth; ++i) { in TEST_F()
221 memset(src_a, 0, kMaxWidth); in TEST_F()
222 memset(src_b, 0, kMaxWidth); in TEST_F()
226 ((benchmark_width_ * benchmark_height_ + kMaxWidth - 1) / kMaxWidth); in TEST_F()
228 h1 = ComputeSumSquareError(src_a, src_b, kMaxWidth); in TEST_F()
[all …]
Dunit_test.h54 static const int kMaxWidth = 32768; variable
61 if (src_width > kMaxWidth || src_height > kMaxHeight || in SizeValid()
62 dst_width > kMaxWidth || dst_height > kMaxHeight) { in SizeValid()
/external/v8/src/
Dunicode.h215 static const int kMaxWidth = 3; member
223 static const int kMaxWidth = 3; member
232 static const int kMaxWidth = 1; member
239 static const int kMaxWidth = 4; member
246 static const int kMaxWidth = 1; member
/external/webrtc/talk/media/base/
Dvideocommon.cc110 const int kMaxWidth = 4096; in ComputeScaleMaxPixels() local
116 if (new_frame_width > kMaxWidth) { in ComputeScaleMaxPixels()
117 new_frame_height = new_frame_height * kMaxWidth / new_frame_width; in ComputeScaleMaxPixels()
118 new_frame_width = kMaxWidth; in ComputeScaleMaxPixels()
Dvideocapturer_unittest.cc317 const int kMaxWidth = 4096; in TEST_F() local
319 int kWidth = kMaxWidth + 4; in TEST_F()
/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/
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.cpp175 const int kMaxWidth = 200; in TestCreate() local
178 uint32_t width = d->fRandom->nextULessThan(kMaxWidth); in TestCreate()
182 SkIRect bounds = SkIRect::MakeWH(SkIntToScalar(kMaxWidth), SkIntToScalar(kMaxHeight)); in TestCreate()
/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 __anon6454a5500111::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 __anon7fdfd31c0111::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/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-7.0/llvm/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/skia/tools/skiaserve/
DRequest.cpp18 static int kMaxWidth = 8192; variable
116 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), kMaxWidth), in getBounds()
/external/skqp/tools/skiaserve/
DRequest.cpp18 static int kMaxWidth = 8192; variable
116 bounds = SkIRect::MakeWH(SkTMin(bounds.width(), kMaxWidth), in getBounds()
/external/webrtc/talk/app/webrtc/
Dmediaconstraintsinterface.h67 static const char kMaxWidth[]; // maxWidth variable
Dvideosource_unittest.cc252 constraints.AddMandatory(MediaConstraintsInterface::kMaxWidth, 352); in TEST_F()
474 constraints.AddMandatory(MediaConstraintsInterface::kMaxWidth, 352); in TEST_F()
516 constraints.AddMandatory(MediaConstraintsInterface::kMaxWidth, 480); in TEST_F()
Dmediaconstraintsinterface.cc41 const char MediaConstraintsInterface::kMaxWidth[] = "maxWidth"; member in webrtc::MediaConstraintsInterface
Dvideosource.cc97 if (constraint.key == MediaConstraintsInterface::kMaxWidth) { in SetUpperLimitFromConstraint()
138 } else if (constraint.key == MediaConstraintsInterface::kMaxWidth) { in NewFormatWithConstraints()
/external/webrtc/talk/app/webrtc/test/
Dfakeconstraints.h90 AddOptional(MediaConstraintsInterface::kMaxWidth, width); in SetOptionalMaxWidth()
/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()

12