/external/pdfium/core/fxcodec/ |
D | progressive_decoder_unittest.cpp | 51 FXCODEC_STATUS status = decoder.StartDecode(bitmap, 0, 0, bitmap->GetWidth(), in DecodeToBitmap() 78 ASSERT_EQ(1, decoder.GetWidth()); in TEST() 82 bitmap->Create(decoder.GetWidth(), decoder.GetHeight(), FXDIB_Format::kRgb); in TEST() 111 ASSERT_EQ(1, decoder.GetWidth()); in TEST() 115 bitmap->Create(decoder.GetWidth(), decoder.GetHeight(), FXDIB_Format::kRgb); in TEST() 142 ASSERT_EQ(1, decoder.GetWidth()); in TEST() 146 bitmap->Create(decoder.GetWidth(), decoder.GetHeight(), FXDIB_Format::kRgb); in TEST() 174 ASSERT_EQ(1, decoder.GetWidth()); in TEST() 178 bitmap->Create(decoder.GetWidth(), decoder.GetHeight(), FXDIB_Format::kRgb); in TEST() 206 ASSERT_EQ(1, decoder.GetWidth()); in TEST() [all …]
|
/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/ |
D | integral_image.h | 31 : Image<uint32_t>(image_base.GetWidth(), image_base.GetHeight()) { in IntegralImage() 39 SCHECK(image_base.GetWidth() == GetWidth() && in Recompute() 45 for (int x = 0; x < image_base.GetWidth(); ++x) { in Recompute() 63 for (int x = 0; x < GetWidth(); ++x) { in Recompute() 80 for (int x = 0; x < GetWidth(); ++x) { in VerifyData() 113 x2 >= x1 && y2 >= y1 && x2 < GetWidth() && y2 < GetHeight(), in GetRegionSum() 115 x1, x2, GetWidth(), y1, y2, GetHeight()); in GetRegionSum()
|
D | image_utils.h | 35 for (int col = 0; col < u->GetWidth(); ++col) { in GetUV() 182 SCHECK(image1.GetWidth() == image2.GetWidth() && in ImageCrossCorrelation() 185 image1.GetWidth(), image1.GetHeight(), in ImageCrossCorrelation() 186 image2.GetWidth(), image2.GetHeight()); in ImageCrossCorrelation() 188 const int num_pixels = image1.GetWidth() * image1.GetHeight(); in ImageCrossCorrelation() 201 const int patch_width = patch_image->GetWidth(); in CopyArea() 205 area_to_copy.GetWidth() / (patch_width - 1) : 0; in CopyArea()
|
D | geom.h | 128 inline float GetWidth() const { in GetWidth() function 137 const float width = GetWidth(); in GetArea() 234 const float half_width = GetWidth() / 2.0f; in Scale() 252 << ", w:" << box.GetWidth() << " h:" << box.GetHeight() << "]"; 263 : x_(box.left_), y_(box.top_), size_(box.GetWidth()) { in BoundingSquare() 265 if (std::abs(box.GetWidth() - box.GetHeight()) > 0.1f) { in BoundingSquare() 305 const float width_diff = (original_box.GetWidth() - size) / 2.0f; in GetCenteredSquare() 314 original_box, MIN(original_box.GetWidth(), original_box.GetHeight())); in GetCenteredSquare()
|
D | sprite.h | 45 inline int GetWidth() const { in GetWidth() function 117 actual_width_ = area->GetWidth(); in LoadTexture() 120 actual_width_ = texture_source.GetWidth(); in LoadTexture() 140 actual_width_ != texture_source.GetWidth() || in LoadTexture()
|
D | image.h | 33 (IMAGE)->GetWidth(), (IMAGE)->GetHeight());\ 40 (IMAGE)->GetWidth(), (IMAGE)->GetHeight());\ 127 inline int GetWidth() const { return width_; } in GetWidth() function 218 DownsampleAveraged(original.data(), original.GetWidth(), factor); in DownsampleAveraged() 331 for (int x = 0; x < image.GetWidth(); ++x) {
|
D | image_data.h | 141 (static_cast<int>(upper_level.GetWidth() / sqrtf(2)) + 1) / 2 * 2; in GetPyramidSqrt2Level() 153 upper_level.GetWidth() / 2, upper_level.GetHeight() / 2); in GetPyramidSqrt2Level() 167 spatial_x_[level] = new Image<int32_t>(src.GetWidth(), src.GetHeight()); in GetSpatialX() 179 spatial_y_[level] = new Image<int32_t>(src.GetWidth(), src.GetHeight()); in GetSpatialY()
|
D | keypoint_detector.cc | 113 MAX(1, MIN(box.GetWidth(), box.GetHeight()) * kClosestPercent / 2.0f); in SelectKeypointsInBox() 316 box.left_ + box.GetWidth() * (i + 0.5f) / kNumToAddAsCandidates, in AddExtraCandidatesForBoxes() 433 short_offsets[i] = short_circle_x[i] + short_circle_y[i] * frame.GetWidth(); in FindFastKeypoints() 447 full_offsets[i] = full_circle_x[i] + full_circle_y[i] * frame.GetWidth(); in FindFastKeypoints() 455 const int quadrant_width = (frame.GetWidth() / 2) - kFastBorderBuffer; in FindFastKeypoints()
|
D | tracked_object.cc | 137 last_known_position_.GetWidth(), last_known_position_.GetHeight(), in OnDetection() 139 detection_position.GetWidth(), detection_position.GetHeight(), in OnDetection()
|
/external/armnn/samples/ObjectDetection/src/ |
D | NonMaxSuppression.cpp | 30 uint32_t area1 = (detect1.GetBoundingBox().GetHeight() * detect1.GetBoundingBox().GetWidth()); in IntersectionOverUnion() 31 uint32_t area2 = (detect2.GetBoundingBox().GetHeight() * detect2.GetBoundingBox().GetWidth()); in IntersectionOverUnion() 38 … xMaxIntersection = std::min(detect1.GetBoundingBox().GetX() + detect1.GetBoundingBox().GetWidth(), in IntersectionOverUnion() 39 … detect2.GetBoundingBox().GetX() + detect2.GetBoundingBox().GetWidth()); in IntersectionOverUnion()
|
D | BoundingBox.cpp | 38 unsigned int BoundingBox::GetWidth() const { in GetWidth() function in od::BoundingBox 79 int boxOutWidth = static_cast<int>(boxIn.GetWidth()) - in GetValidBoundingBox() 91 const int limitBoxRightX = boxLimits.GetX() + static_cast<int>(boxLimits.GetWidth()); in GetValidBoundingBox()
|
D | ImageUtils.cpp | 42 if (bbox.GetX() + bbox.GetWidth() > inputFrame.cols) in AddInferenceOutputToFrame() 50 cv::Rect r(bbox.GetX(), bbox.GetY(), bbox.GetWidth(), inputFrame.rows - bbox.GetY()); in AddInferenceOutputToFrame() 56 cv::Rect r(bbox.GetX(), bbox.GetY(), bbox.GetWidth(), bbox.GetHeight()); in AddInferenceOutputToFrame()
|
/external/armnn/samples/ObjectDetection/test/ |
D | ImageUtilsTest.cpp | 18 if (bbox.GetX() + bbox.GetWidth() > imageMat.cols) in GetBoundingBoxPoints() 42 for (int x = bbox.GetX(); x < bbox.GetX() + bbox.GetWidth(); ++x) in GetBoundingBoxPoints() 49 bboxes.emplace_back(std::tuple<int, int>{bbox.GetX() + bbox.GetWidth() - 1, y}); in GetBoundingBoxPoints() 59 for (int x = bbox.GetX(); x < bbox.GetX() + bbox.GetWidth(); ++x) in GetBoundingBoxPoints() 66 bboxes.emplace_back(std::tuple<int, int>{bbox.GetX() + bbox.GetWidth() - 1, y}); in GetBoundingBoxPoints()
|
D | BoundingBoxTests.cpp | 23 REQUIRE(boundingBox.GetWidth() == 0u); 33 REQUIRE(boundingBox.GetWidth() == s_W); 48 REQUIRE(boundingBox.GetWidth() == s_W); 55 b1.GetWidth() == b2.GetWidth() && b1.GetHeight() == b2.GetHeight()); in AreBoxesEqual()
|
/external/pdfium/testing/fuzzers/ |
D | xfa_codec_fuzzer.h | 38 bitmap_size *= decoder->GetWidth(); in Fuzz() 46 bitmap->Create(decoder->GetWidth(), decoder->GetHeight(), in Fuzz() 54 status = decoder->StartDecode(bitmap, 0, 0, bitmap->GetWidth(), in Fuzz()
|
/external/pdfium/fxbarcode/qrcode/ |
D | BC_QRCoderMatrixUtil.cpp | 104 int32_t x = matrix->GetWidth() - 1; in EmbedDataBits() 189 int32_t x2 = matrix->GetWidth() - i - 1; in EmbedTypeInfo() 219 for (size_t i = 8; i + 8 < matrix->GetWidth(); i++) { in EmbedTimingPatterns() 300 if (!EmbedPositionDetectionPattern(matrix->GetWidth() - pdpWidth, 0, matrix)) in EmbedPositionDetectionPatternsAndSeparators() 302 if (!EmbedPositionDetectionPattern(0, matrix->GetWidth() - pdpWidth, matrix)) in EmbedPositionDetectionPatternsAndSeparators() 308 if (!EmbedHorizontalSeparationPattern(matrix->GetWidth() - hspWidth, in EmbedPositionDetectionPatternsAndSeparators() 312 if (!EmbedHorizontalSeparationPattern(0, matrix->GetWidth() - hspWidth, in EmbedPositionDetectionPatternsAndSeparators()
|
D | BC_QRCoderMaskUtil.cpp | 38 size_t width = matrix->GetWidth(); in ApplyMaskPenaltyRule1Internal() 77 size_t width = matrix->GetWidth(); in ApplyMaskPenaltyRule2() 97 size_t width = matrix->GetWidth(); in ApplyMaskPenaltyRule3() 149 size_t width = matrix->GetWidth(); in ApplyMaskPenaltyRule4() 157 size_t numTotalCells = matrix->GetHeight() * matrix->GetWidth(); in ApplyMaskPenaltyRule4()
|
D | BC_QRCoder.cpp | 74 pdfium::base::checked_cast<int32_t>(m_matrix->GetWidth()) && in IsValid() 75 m_matrix->GetWidth() == m_matrix->GetHeight(); in IsValid()
|
/external/image_io/includes/image_io/base/ |
D | image_metadata.h | 93 UInt32 GetWidth() const { in GetWidth() function 105 return HasVerticalRotation(orientation_) ? GetHeight() : GetWidth(); in GetTransformedWidth() 110 return HasVerticalRotation(orientation_) ? GetWidth() : GetHeight(); in GetTransformedHeight()
|
/external/armnn/tests/ |
D | InferenceTestImage.cpp | 69 const unsigned int inputWidth = image.GetWidth(); in ResizeBilinearAndNormalize() 166 const unsigned int pixelOffset = x * GetNumChannels() + y * GetWidth() * GetNumChannels(); in GetPixelAs3Channels() 194 const int w = static_cast<int>(im.GetWidth()); in StbResize() 245 const int w = static_cast<int>(GetWidth()); in Write() 284 const unsigned int w = image.GetWidth(); in GetImageDataInArmNnLayoutAsFloats() 338 const unsigned int w = image.GetWidth(); in GetImageDataAsNormalizedFloats()
|
D | InferenceTestImage.hpp | 75 unsigned int GetWidth() const { return m_Width; } in GetWidth() function in InferenceTestImage 78 unsigned int GetNumElements() const { return GetWidth() * GetHeight() * GetNumChannels(); } in GetNumElements()
|
/external/pdfium/core/fxge/dib/ |
D | cfx_imagerenderer.cpp | 35 : FX_RECT(0, 0, pDevice->GetWidth(), pDevice->GetHeight()); in CFX_ImageRenderer() 105 m_pTransformer->result().top, pBitmap->GetWidth(), in Continue() 113 pBitmap->GetWidth(), pBitmap->GetHeight(), pBitmap, 0, 0, in Continue()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_pageimagecache_unittest.cpp | 74 ASSERT_GT(bitmap_large->GetWidth(), bitmap_small->GetWidth()); in TEST()
|
/external/pdfium/core/fpdfapi/render/ |
D | cpdf_devicebuffer.cpp | 85 m_pDevice->CreateCompatibleBitmap(pBuffer, m_pBitmap->GetWidth(), in OutputToDevice() 88 pBuffer->CompositeBitmap(0, 0, pBuffer->GetWidth(), pBuffer->GetHeight(), in OutputToDevice()
|
/external/deqp-deps/amber/src/amberscript/ |
D | parser_image_test.cc | 217 EXPECT_EQ(4u, buffer->GetWidth()); in TEST_F() 241 EXPECT_EQ(3u, buffer->GetWidth()); in TEST_F() 306 EXPECT_EQ(3u, buffer->GetWidth()); in TEST_F() 336 EXPECT_EQ(2u, buffer->GetWidth()); in TEST_F()
|