Home
last modified time | relevance | path

Searched refs:GetHeight (Results 1 – 25 of 114) sorted by relevance

12345

/external/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dintegral_image.h31 : Image<uint32_t>(image_base.GetWidth(), image_base.GetHeight()) { in IntegralImage()
40 image_base.GetHeight() == GetHeight(), "Dimensions don't match!"); in Recompute()
52 for (int y = 1; y < image_base.GetHeight(); ++y) { in Recompute()
79 for (int y = 0; y < GetHeight(); ++y) { in VerifyData()
113 x2 >= x1 && y2 >= y1 && x2 < GetWidth() && y2 < GetHeight(), in GetRegionSum()
115 x1, x2, GetWidth(), y1, y2, GetHeight()); in GetRegionSum()
Dimage_utils.h33 for (int row = 0; row < u->GetHeight(); ++row) { in GetUV()
184 image1.GetHeight() == image2.GetHeight(), 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()
203 const int patch_height = patch_image->GetHeight(); in CopyArea()
209 area_to_copy.GetHeight() / (patch_height - 1) : 0; in CopyArea()
Dsprite.h51 inline int GetHeight() const { in GetHeight() function
120 actual_height_ = area->GetHeight(); in LoadTexture()
123 actual_height_ = texture_source.GetHeight(); in LoadTexture()
143 actual_height_ != texture_source.GetHeight()) { in LoadTexture()
Dgeom.h132 inline float GetHeight() const { in GetHeight() function
138 const float height = GetHeight(); in GetArea()
235 const float half_height = GetHeight() / 2.0f; in Scale()
252 << ", w:" << box.GetWidth() << " h:" << box.GetHeight() << "]";
265 if (std::abs(box.GetWidth() - box.GetHeight()) > 0.1f) { in BoundingSquare()
306 const float height_diff = (original_box.GetHeight() - size) / 2.0f; in GetCenteredSquare()
314 original_box, MIN(original_box.GetWidth(), original_box.GetHeight())); in GetCenteredSquare()
Dimage_data.h143 (static_cast<int>(upper_level.GetHeight() / sqrtf(2)) + 1) / 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()
Dimage.h33 (IMAGE)->GetWidth(), (IMAGE)->GetHeight());\
40 (IMAGE)->GetWidth(), (IMAGE)->GetHeight());\
128 inline int GetHeight() const { return height_; } in GetHeight() function
330 for (int y = 0; y < image.GetHeight(); ++y) {
Dtracked_object.cc137 last_known_position_.GetWidth(), last_known_position_.GetHeight(), in OnDetection()
139 detection_position.GetWidth(), detection_position.GetHeight(), in OnDetection()
/external/webrtc/talk/media/base/
Dvideoframe.cc58 const size_t height = GetHeight(); in Write()
86 const size_t y_size = GetHeight() * GetYPitch(); in CopyToBuffer()
108 int32_t src_height = static_cast<int>(GetHeight()); in CopyToPlanes()
132 const size_t needed = std::abs(stride_rgb) * GetHeight(); in ConvertToRgbBuffer()
141 static_cast<int>(GetHeight()), to_fourcc)) { in ConvertToRgbBuffer()
165 size_t src_height = GetHeight(); in StretchToPlanes()
187 static_cast<int32_t>((GetHeight() - src_height) >> 2); in StretchToPlanes()
212 dst->GetWidth(), dst->GetHeight(), in StretchToFrame()
237 static_cast<int>(GetHeight()), in SetToBlack()
Dcapturerenderadapter.cc117 iter->render_height != frame->GetHeight(); in MaybeSetRenderingSize()
120 static_cast<int>(frame->GetHeight()), 0)) { in MaybeSetRenderingSize()
122 iter->render_height = frame->GetHeight(); in MaybeSetRenderingSize()
125 frame->GetWidth() << " x " << frame->GetHeight(); in MaybeSetRenderingSize()
Dfakevideorenderer.h67 frame->GetHeight() != static_cast<size_t>(height_)) { in RenderFrame()
73 << frame->GetWidth() << "x" << frame->GetHeight(); in RenderFrame()
121 size_t y_height = frame->GetHeight(); in CheckFrameColorYuv()
/external/pdfium/fxbarcode/qrcode/
DBC_QRCoderMatrixUtil.cpp161 int32_t y2 = matrix->GetHeight() - 7 + (i - 8); in EmbedTypeInfo()
188 matrix->Set(i, matrix->GetHeight() - 11 + j, bit); in MaybeEmbedVersionInfo()
189 matrix->Set(matrix->GetHeight() - 11 + j, i, bit); in MaybeEmbedVersionInfo()
204 int32_t y = matrix->GetHeight() - 1; in EmbedDataBits()
209 while (y >= 0 && y < matrix->GetHeight()) { in EmbedDataBits()
335 if (matrix->Get(8, matrix->GetHeight() - 8) == 0) { in EmbedDarkDotAtLeftBottomCorner()
339 matrix->Set(8, matrix->GetHeight() - 8, 1); in EmbedDarkDotAtLeftBottomCorner()
446 EmbedVerticalSeparationPattern(matrix->GetHeight() - vspSize - 1, 0, matrix, in EmbedPositionDetectionPatternsAndSeparators()
450 EmbedVerticalSeparationPattern(vspSize, matrix->GetHeight() - vspSize, matrix, in EmbedPositionDetectionPatternsAndSeparators()
DBC_QRCoderMaskUtil.cpp42 int32_t height = matrix->GetHeight(); in ApplyMaskPenaltyRule2()
61 int32_t height = matrix->GetHeight(); in ApplyMaskPenaltyRule3()
113 int32_t height = matrix->GetHeight(); in ApplyMaskPenaltyRule4()
121 int32_t numTotalCells = matrix->GetHeight() * matrix->GetWidth(); in ApplyMaskPenaltyRule4()
176 int32_t height = matrix->GetHeight(); in ApplyMaskPenaltyRule1Internal()
/external/pdfium/testing/libfuzzer/
Dxfa_codec_fuzzer.h42 FX_SAFE_UINT32 bitmap_size = decoder->GetHeight(); in Fuzz()
51 bitmap->Create(decoder->GetWidth(), decoder->GetHeight(), FXDIB_Argb); in Fuzz()
59 bitmap->GetHeight()); in Fuzz()
/external/pdfium/fxbarcode/
DBC_TwoDimWriter.cpp33 topPos = (m_Height - m_output->GetHeight()) / 2; in RenderDeviceResult()
36 if (m_Width < m_output->GetWidth() && m_Height < m_output->GetHeight()) { in RenderDeviceResult()
38 0.0, (float)m_Height / (float)m_output->GetHeight(), in RenderDeviceResult()
44 for (int32_t y = 0; y < m_output->GetHeight(); y++) { in RenderDeviceResult()
/external/webrtc/talk/media/devices/
Dgtkvideorenderer.cc108 if (!SetSize(frame->GetWidth(), frame->GetHeight(), 0)) { in RenderFrame()
115 frame->GetWidth() * frame->GetHeight() * 4, in RenderFrame()
130 frame->GetHeight(), in RenderFrame()
/external/webrtc/talk/media/webrtc/
Dwebrtcvideoframefactory_unittest.cc68 EXPECT_EQ(dest_frame->GetHeight(), src_height); in VerifyFrame()
74 EXPECT_EQ(dest_frame->GetHeight(), src_width); in VerifyFrame()
77 EXPECT_EQ(dest_frame->GetHeight(), src_height); in VerifyFrame()
Dwebrtcvideoframe_unittest.cc99 EXPECT_EQ(static_cast<size_t>(cropped_width), frame.GetHeight()); in TestInit()
103 EXPECT_EQ(static_cast<size_t>(cropped_height), frame.GetHeight()); in TestInit()
305 EXPECT_EQ(480u, frame.GetHeight()); in TEST_F()
321 EXPECT_EQ(frame1.GetHeight(), frame2->GetHeight()); in TEST_F()
/external/libaom/libaom/third_party/libyuv/source/
Dmjpeg_decoder.cc172 int MJpegDecoder::GetHeight() { in GetHeight() function in libyuv::MJpegDecoder
222 return DivideAndRoundUp(GetHeight(), vs); in GetComponentHeight()
250 dst_height > GetHeight()) { in DecodeToBuffers()
270 int skip = (GetHeight() - dst_height) / 2; in DecodeToBuffers()
342 dst_height > GetHeight()) { in DecodeToCallback()
360 int skip = (GetHeight() - dst_height) / 2; in DecodeToCallback()
/external/pdfium/core/fxge/dib/
Dcfx_imagerenderer.cpp35 pDevice->GetHeight()); in CFX_ImageRenderer()
113 pBitmap->GetWidth(), pBitmap->GetHeight(), pBitmap, m_MaskColor, 0, 0, in Continue()
120 pBitmap->GetWidth(), pBitmap->GetHeight(), pBitmap, 0, 0, m_BlendType, in Continue()
Dcfx_imagestretcher.cpp138 if (SourceSizeWithinLimit(m_pSource->GetWidth(), m_pSource->GetHeight())) { in StartStretch()
167 if (SourceSizeWithinLimit(m_pSource->GetWidth(), m_pSource->GetHeight())) { in StartQuickStretch()
180 int src_height = m_pSource->GetHeight(); in ContinueQuickStretch()
/external/libyuv/files/source/
Dmjpeg_decoder.cc173 int MJpegDecoder::GetHeight() { in GetHeight() function in libyuv::MJpegDecoder
221 return DivideAndRoundUp(GetHeight(), vs); in GetComponentHeight()
249 if (dst_width != GetWidth() || dst_height > GetHeight()) { in DecodeToBuffers()
269 int skip = (GetHeight() - dst_height) / 2; in DecodeToBuffers()
339 if (dst_width != GetWidth() || dst_height > GetHeight()) { in DecodeToCallback()
357 int skip = (GetHeight() - dst_height) / 2; in DecodeToCallback()
/external/libvpx/libvpx/third_party/libyuv/source/
Dmjpeg_decoder.cc173 int MJpegDecoder::GetHeight() { in GetHeight() function in libyuv::MJpegDecoder
221 return DivideAndRoundUp(GetHeight(), vs); in GetComponentHeight()
249 if (dst_width != GetWidth() || dst_height > GetHeight()) { in DecodeToBuffers()
269 int skip = (GetHeight() - dst_height) / 2; in DecodeToBuffers()
339 if (dst_width != GetWidth() || dst_height > GetHeight()) { in DecodeToCallback()
357 int skip = (GetHeight() - dst_height) / 2; in DecodeToCallback()
/external/pdfium/core/fxge/apple/
Dfx_apple_platform.cpp138 pClipMask->GetPitch() * pClipMask->GetHeight(), DoNothing); in DrawDeviceText()
141 pClipMask->GetWidth(), pClipMask->GetHeight(), 8, 8, in DrawDeviceText()
146 rect_cg = CGRectMake(0, 0, m_pBitmap->GetWidth(), m_pBitmap->GetHeight()); in DrawDeviceText()
/external/pdfium/core/fpdfapi/render/
Dcpdf_devicebuffer.cpp68 m_pBitmap->GetHeight()); in OutputToDevice()
70 pBuffer->CompositeBitmap(0, 0, pBuffer->GetWidth(), pBuffer->GetHeight(), in OutputToDevice()
Dcpdf_imagecacheentry.cpp42 ? (uint32_t)pDIB->GetHeight() * pDIB->GetPitch() + in FPDF_ImageCache_EstimateImageSize()
92 if (m_pCurBitmap->GetPitch() * m_pCurBitmap->GetHeight() < in ContinueGetCachedBitmap()

12345