Home
last modified time | relevance | path

Searched refs:GetWidth (Results 1 – 25 of 121) sorted by relevance

12345

/external/tensorflow/tensorflow/tools/android/test/jni/object_tracking/
Dintegral_image.h31 : 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()
Dimage_utils.h35 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()
Dsprite.h45 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()
Dgeom.h128 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()
Dimage.h33 (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) {
Dimage_data.h141 (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()
Dkeypoint_detector.cc113 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()
Dtracked_object.cc137 last_known_position_.GetWidth(), last_known_position_.GetHeight(), in OnDetection()
139 detection_position.GetWidth(), detection_position.GetHeight(), in OnDetection()
Dimage-inl.h272 const float factor_x = static_cast<float>(original.GetWidth()) / in DownsampleInterpolateNearest()
278 const float offset_x = 0.5f * (original.GetWidth() - width_) / width_; in DownsampleInterpolateNearest()
312 if (original.GetWidth() == GetWidth() && in DownsampleInterpolateLinear()
320 const float factor_x = static_cast<float>(original.GetWidth()) / in DownsampleInterpolateLinear()
608 const int x = Clip(center_x - 1 + filter_x, 0, original.GetWidth()); in ConvolvePixel3x3()
/external/pdfium/testing/fuzzers/
Dxfa_codec_fuzzer.h37 bitmap_size *= decoder->GetWidth(); in Fuzz()
45 bitmap->Create(decoder->GetWidth(), decoder->GetHeight(), FXDIB_Argb); in Fuzz()
52 status = decoder->StartDecode(bitmap, 0, 0, bitmap->GetWidth(), in Fuzz()
/external/pdfium/core/fxcodec/
Dprogressivedecoder_unittest.cpp385 ASSERT_EQ(98, decoder->GetWidth()); in TEST()
389 bitmap->Create(decoder->GetWidth(), decoder->GetHeight(), FXDIB_Argb); in TEST()
396 status = decoder->StartDecode(bitmap, 0, 0, bitmap->GetWidth(), in TEST()
/external/pdfium/fxbarcode/qrcode/
DBC_QRCoderMatrixUtil.cpp101 int32_t x = matrix->GetWidth() - 1; in EmbedDataBits()
186 int32_t x2 = matrix->GetWidth() - i - 1; in EmbedTypeInfo()
216 for (int32_t i = 8; i < matrix->GetWidth() - 8; i++) { in EmbedTimingPatterns()
297 if (!EmbedPositionDetectionPattern(matrix->GetWidth() - pdpWidth, 0, matrix)) in EmbedPositionDetectionPatternsAndSeparators()
299 if (!EmbedPositionDetectionPattern(0, matrix->GetWidth() - pdpWidth, matrix)) in EmbedPositionDetectionPatternsAndSeparators()
305 if (!EmbedHorizontalSeparationPattern(matrix->GetWidth() - hspWidth, in EmbedPositionDetectionPatternsAndSeparators()
309 if (!EmbedHorizontalSeparationPattern(0, matrix->GetWidth() - hspWidth, in EmbedPositionDetectionPatternsAndSeparators()
DBC_QRCoderMaskUtil.cpp36 int32_t width = matrix->GetWidth(); in ApplyMaskPenaltyRule1Internal()
75 int32_t width = matrix->GetWidth(); in ApplyMaskPenaltyRule2()
95 int32_t width = matrix->GetWidth(); in ApplyMaskPenaltyRule3()
149 int32_t width = matrix->GetWidth(); in ApplyMaskPenaltyRule4()
157 int32_t numTotalCells = matrix->GetHeight() * matrix->GetWidth(); in ApplyMaskPenaltyRule4()
DBC_QRCoder.cpp72 m_matrixWidth == m_matrix->GetWidth() && in IsValid()
73 m_matrix->GetWidth() == m_matrix->GetHeight(); in IsValid()
/external/pdfium/core/fxge/dib/
Dcfx_imagerenderer.cpp34 : FX_RECT(0, 0, pDevice->GetWidth(), pDevice->GetHeight()); in CFX_ImageRenderer()
105 pBitmap->GetWidth(), pBitmap->GetHeight(), pBitmap, m_MaskColor, 0, 0, in Continue()
112 pBitmap->GetWidth(), pBitmap->GetHeight(), pBitmap, 0, 0, in Continue()
Dcfx_dibextractor.cpp19 if (!m_pBitmap->Create(pOldSrc->GetWidth(), pOldSrc->GetHeight(), in CFX_DIBExtractor()
/external/pdfium/core/fpdfapi/render/
Dcpdf_devicebuffer.cpp84 m_pDevice->CreateCompatibleBitmap(pBuffer, m_pBitmap->GetWidth(), in OutputToDevice()
87 pBuffer->CompositeBitmap(0, 0, pBuffer->GetWidth(), pBuffer->GetHeight(), in OutputToDevice()
/external/deqp-deps/amber/src/amberscript/
Dparser_image_test.cc217 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()
/external/libaom/libaom/third_party/libyuv/source/
Dmjpeg_decoder.cc167 int MJpegDecoder::GetWidth() { in GetWidth() function in libyuv::MJpegDecoder
217 return DivideAndRoundUp(GetWidth(), hs); in GetComponentWidth()
249 if (dst_width != GetWidth() || in DecodeToBuffers()
341 if (dst_width != GetWidth() || in DecodeToCallback()
/external/deqp-deps/amber/src/
Dbuffer.h104 uint32_t GetWidth() const { return width_; } in GetWidth() function
170 uint32_t GetRowStride() { return GetElementStride() * GetWidth(); } in GetRowStride()
/external/pdfium/xfa/fxgraphics/
Dcxfa_graphics.cpp247 int32_t width = bitmap->GetWidth(); in FillPathWithPattern()
268 for (int32_t i = rect.left; i < rect.right; i += mask->GetWidth()) in FillPathWithPattern()
280 int32_t width = bitmap->GetWidth(); in FillPathWithShading()
399 CFX_Matrix m((float)source->GetWidth(), 0, 0, (float)source->GetHeight(), 0, in SetDIBitsWithMatrix()
/external/libyuv/files/source/
Dmjpeg_decoder.cc169 int MJpegDecoder::GetWidth() { in GetWidth() function in libyuv::MJpegDecoder
217 return DivideAndRoundUp(GetWidth(), hs); in GetComponentWidth()
250 if (dst_width != GetWidth() || dst_height > GetHeight()) { in DecodeToBuffers()
340 if (dst_width != GetWidth() || dst_height > GetHeight()) { in DecodeToCallback()
/external/libvpx/libvpx/third_party/libyuv/source/
Dmjpeg_decoder.cc168 int MJpegDecoder::GetWidth() { in GetWidth() function in libyuv::MJpegDecoder
216 return DivideAndRoundUp(GetWidth(), hs); in GetComponentWidth()
249 if (dst_width != GetWidth() || dst_height > GetHeight()) { in DecodeToBuffers()
339 if (dst_width != GetWidth() || dst_height > GetHeight()) { in DecodeToCallback()
/external/pdfium/fxbarcode/common/
DBC_CommonBitMatrix.h23 int32_t GetWidth() const { return m_width; } in GetWidth() function
/external/pdfium/core/fxge/apple/
Dfx_apple_platform.cpp143 pClipMask->GetWidth(), pClipMask->GetHeight(), 8, 8, in DrawDeviceText()
148 rect_cg = CGRectMake(0, 0, m_pBitmap->GetWidth(), m_pBitmap->GetHeight()); in DrawDeviceText()

12345