Home
last modified time | relevance | path

Searched refs:GetHeight (Results 1 – 25 of 136) 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()
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.h49 inline int GetHeight() const { in GetHeight() function
118 actual_height_ = area->GetHeight(); in LoadTexture()
121 actual_height_ = texture_source.GetHeight(); in LoadTexture()
141 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.cpp102 int32_t y = matrix->GetHeight() - 1; in EmbedDataBits()
107 while (y >= 0 && y < matrix->GetHeight()) { in EmbedDataBits()
191 int32_t y2 = matrix->GetHeight() - 7 + (i - 8); in EmbedTypeInfo()
209 matrix->Set(i, matrix->GetHeight() - 11 + j, bit); in MaybeEmbedVersionInfo()
210 matrix->Set(matrix->GetHeight() - 11 + j, i, bit); in MaybeEmbedVersionInfo()
234 if (matrix->Get(8, matrix->GetHeight() - 8) == 0) in EmbedDarkDotAtLeftBottomCorner()
237 matrix->Set(8, matrix->GetHeight() - 8, 1); in EmbedDarkDotAtLeftBottomCorner()
317 if (!EmbedVerticalSeparationPattern(matrix->GetHeight() - vspSize - 1, 0, in EmbedPositionDetectionPatternsAndSeparators()
321 if (!EmbedVerticalSeparationPattern(vspSize, matrix->GetHeight() - vspSize, in EmbedPositionDetectionPatternsAndSeparators()
DBC_QRCoderMaskUtil.cpp37 int32_t height = matrix->GetHeight(); in ApplyMaskPenaltyRule1Internal()
76 int32_t height = matrix->GetHeight(); in ApplyMaskPenaltyRule2()
96 int32_t height = matrix->GetHeight(); in ApplyMaskPenaltyRule3()
150 int32_t height = matrix->GetHeight(); in ApplyMaskPenaltyRule4()
157 int32_t numTotalCells = matrix->GetHeight() * matrix->GetWidth(); in ApplyMaskPenaltyRule4()
/external/pdfium/core/fxcodec/
Dprogressivedecoder_unittest.cpp386 ASSERT_EQ(6945, decoder->GetHeight()); in TEST()
389 bitmap->Create(decoder->GetWidth(), decoder->GetHeight(), FXDIB_Argb); in TEST()
397 bitmap->GetHeight()); in TEST()
/external/pdfium/testing/fuzzers/
Dxfa_codec_fuzzer.h36 FX_SAFE_UINT32 bitmap_size = decoder->GetHeight(); in Fuzz()
45 bitmap->Create(decoder->GetWidth(), decoder->GetHeight(), FXDIB_Argb); in Fuzz()
53 bitmap->GetHeight()); in Fuzz()
Dpdf_jpx_fuzzer.cc69 if (bitmap->GetHeight() <= 0 || in LLVMFuzzerTestOneInput()
71 static_cast<uint32_t>(bitmap->GetHeight())) in LLVMFuzzerTestOneInput()
/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.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/libyuv/files/source/
Dmjpeg_decoder.cc174 int MJpegDecoder::GetHeight() { in GetHeight() function in libyuv::MJpegDecoder
222 return DivideAndRoundUp(GetHeight(), vs); in GetComponentHeight()
250 if (dst_width != GetWidth() || dst_height > GetHeight()) { in DecodeToBuffers()
270 int skip = (GetHeight() - dst_height) / 2; in DecodeToBuffers()
340 if (dst_width != GetWidth() || dst_height > GetHeight()) { in DecodeToCallback()
358 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.cpp140 pClipMask->GetPitch() * pClipMask->GetHeight(), DoNothing); in DrawDeviceText()
143 pClipMask->GetWidth(), pClipMask->GetHeight(), 8, 8, in DrawDeviceText()
148 rect_cg = CGRectMake(0, 0, m_pBitmap->GetWidth(), m_pBitmap->GetHeight()); in DrawDeviceText()
/external/pdfium/core/fpdfapi/render/
Dcpdf_devicebuffer.cpp85 m_pBitmap->GetHeight()); in OutputToDevice()
87 pBuffer->CompositeBitmap(0, 0, pBuffer->GetWidth(), pBuffer->GetHeight(), in OutputToDevice()
Dcpdf_imagecacheentry.cpp29 int height = pDIB->GetHeight(); in GetEstimatedImageSize()
106 if (m_pCurBitmap->GetPitch() * m_pCurBitmap->GetHeight() < kHugeImageSize) { in ContinueGetCachedBitmap()

123456