Home
last modified time | relevance | path

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

123456

/external/tensorflow/tensorflow/examples/android/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.h36 for (int col = 0; col < u->GetWidth(); ++col) { in GetUV()
183 SCHECK(image1.GetWidth() == image2.GetWidth() && in ImageCrossCorrelation()
186 image1.GetWidth(), image1.GetHeight(), in ImageCrossCorrelation()
187 image2.GetWidth(), image2.GetHeight()); in ImageCrossCorrelation()
189 const int num_pixels = image1.GetWidth() * image1.GetHeight(); in ImageCrossCorrelation()
202 const int patch_width = patch_image->GetWidth(); in CopyArea()
206 area_to_copy.GetWidth() / (patch_width - 1) : 0; in CopyArea()
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()
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()
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/webrtc/talk/media/devices/
Dgtkvideorenderer.cc108 if (!SetSize(frame->GetWidth(), frame->GetHeight(), 0)) { in RenderFrame()
115 frame->GetWidth() * frame->GetHeight() * 4, in RenderFrame()
116 frame->GetWidth() * 4); in RenderFrame()
129 frame->GetWidth(), in RenderFrame()
133 frame->GetWidth() * 4); in RenderFrame()
Dcarbonvideorenderer.cc131 if (!SetSize(frame->GetWidth(), frame->GetHeight(), 0)) { in RenderFrame()
139 frame->GetWidth() * frame->GetHeight() * 4, in RenderFrame()
140 frame->GetWidth() * 4); in RenderFrame()
/external/webrtc/talk/media/base/
Dcapturerenderadapter.cc116 const bool new_resolution = iter->render_width != frame->GetWidth() || in MaybeSetRenderingSize()
119 if (iter->renderer->SetSize(static_cast<int>(frame->GetWidth()), in MaybeSetRenderingSize()
121 iter->render_width = frame->GetWidth(); in MaybeSetRenderingSize()
125 frame->GetWidth() << " x " << frame->GetHeight(); in MaybeSetRenderingSize()
Dvideoframe.cc57 const size_t width = GetWidth(); in Write()
107 int32_t src_width = static_cast<int>(GetWidth()); in CopyToPlanes()
140 stride_rgb, static_cast<int>(GetWidth()), in ConvertToRgbBuffer()
164 size_t src_width = GetWidth(); in StretchToPlanes()
179 int32_t iwidth_offset = ROUNDTO2((GetWidth() - src_width) / 2); in StretchToPlanes()
212 dst->GetWidth(), dst->GetHeight(), in StretchToFrame()
236 static_cast<int>(GetWidth()), in SetToBlack()
Dfakevideorenderer.h66 frame->GetWidth() != static_cast<size_t>(width_) || in RenderFrame()
73 << frame->GetWidth() << "x" << frame->GetHeight(); in RenderFrame()
120 size_t y_width = frame->GetWidth(); in CheckFrameColorYuv()
Dvideoframe.h67 virtual size_t GetWidth() const = 0;
70 size_t GetChromaWidth() const { return (GetWidth() + 1) / 2; } in GetChromaWidth()
/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/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/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/webrtc/talk/media/webrtc/
Dwebrtcvideoframefactory_unittest.cc67 EXPECT_EQ(dest_frame->GetWidth(), src_width); in VerifyFrame()
73 EXPECT_EQ(dest_frame->GetWidth(), src_height); in VerifyFrame()
76 EXPECT_EQ(dest_frame->GetWidth(), src_width); in VerifyFrame()
Dwebrtcvideoframe_unittest.cc100 EXPECT_EQ(static_cast<size_t>(cropped_height), frame.GetWidth()); in TestInit()
102 EXPECT_EQ(static_cast<size_t>(cropped_width), frame.GetWidth()); in TestInit()
304 EXPECT_EQ(640u, frame.GetWidth()); in TEST_F()
320 EXPECT_EQ(frame1.GetWidth(), frame2->GetWidth()); in TEST_F()
/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()
/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/
Dbuffer.h85 uint32_t GetWidth() const { return width_; } in GetWidth() function
142 uint32_t GetRowStride() { return GetElementStride() * GetWidth(); } in GetRowStride()

123456