Home
last modified time | relevance | path

Searched refs:m_Width (Results 1 – 25 of 36) sorted by relevance

12

/external/armnn/samples/ObjectDetection/src/
DBoundingBox.cpp21 m_Width(width), in BoundingBox()
27 m_Width(other.m_Width), in BoundingBox()
39 return m_Width; in GetWidth()
55 m_Width = width; in SetWidth()
66 m_Width = other.m_Width; in operator =()
DSSDResultDecoder.cpp29 double longEdgeInput = std::max(resizedFrameSize.m_Width, resizedFrameSize.m_Height); in Decode()
30 double longEdgeOutput = std::max(outputFrameSize.m_Width, outputFrameSize.m_Height); in Decode()
53 double topLeftX = networkResults[0][i*4 + 1] * resizedFrameSize.m_Width; in Decode()
55 double botRightX = networkResults[0][i*4 + 3] * resizedFrameSize.m_Width; in Decode()
DYoloResultDecoder.cpp29 float longEdgeInput = std::max(resizedFrameSize.m_Width, resizedFrameSize.m_Height); in Decode()
30 float longEdgeOutput = std::max(outputFrameSize.m_Width, outputFrameSize.m_Height); in Decode()
DImageUtils.cpp94 double longEdgeOutput = std::max(aspectRatio.m_Width, aspectRatio.m_Height); in ResizeFrame()
125 PadFrame(cache, dest,destSize.m_Height - cache.rows,destSize.m_Width - cache.cols); in ResizeWithPad()
/external/pdfium/core/fpdfapi/page/
Dcpdf_transferfuncdib.cpp25 m_Width = m_pSrc->GetWidth(); in CPDF_TransferFuncDIB()
28 m_Pitch = fxge::CalculatePitch32OrDie(GetBppFromFormat(m_Format), m_Width); in CPDF_TransferFuncDIB()
58 for (int i = 0; i < m_Width; i++) { in TranslateScanline()
78 for (int i = 0; i < m_Width; i++) { in TranslateScanline()
89 for (int i = 0; i < m_Width; i++) { in TranslateScanline()
110 for (int i = 0; i < m_Width; i++) in TranslateScanline()
116 for (int i = 0; i < m_Width; i++) { in TranslateScanline()
131 for (int i = 0; i < m_Width; i++) { in TranslateScanline()
Dcpdf_dib.cpp256 fxge::CalculatePitch32(GetBppFromFormat(m_Format), m_Width); in ContinueInternal()
264 pitch = fxge::CalculatePitch32(GetBppFromFormat(m_Format), m_Width); in ContinueInternal()
295 std::log2(std::max(1, std::min(m_Width / max_size_required.width, in StartLoadDIBBase()
357 m_pJbig2Context.get(), m_pDocument->GetOrCreateCodecContext(), m_Width, in ContinueLoadDIBBase()
523 m_Width, m_Height, in CreateDecoder()
535 m_pDecoder = CreateFaxDecoder(src_span, m_Width, m_Height, pParams); in CreateDecoder()
537 m_pDecoder = CreateFlateDecoder(src_span, m_Width, m_Height, m_nComponents, in CreateDecoder()
541 src_span, m_Width, m_Height, m_nComponents, m_bpc); in CreateDecoder()
550 fxge::CalculatePitch8(m_bpc, m_nComponents, m_Width); in CreateDecoder()
565 src_span, m_Width, m_Height, m_nComponents, in CreateDCTDecoder()
[all …]
Dcpdf_image.h42 int32_t GetPixelWidth() const { return m_Width; } in GetPixelWidth()
82 int32_t m_Width = 0; variable
/external/pdfium/fxbarcode/
DBC_TwoDimWriter.cpp47 if (m_Width < m_outputWidth || m_Height < m_outputHeight) { in RenderResult()
51 if (m_Width > m_outputWidth || m_Height > m_outputHeight) { in RenderResult()
53 floor(static_cast<float>(m_Width) / m_outputWidth)); in RenderResult()
72 m_leftPadding = std::max((m_Width - m_outputWidth) / 2, 0); in RenderResult()
91 path.AppendRect(0, 0, m_Width, m_Height); in RenderDeviceResult()
98 if (m_Width < m_outputWidth && m_Height < m_outputHeight) { in RenderDeviceResult()
99 CFX_Matrix matriScale(static_cast<float>(m_Width) / m_outputWidth, 0.0, 0.0, in RenderDeviceResult()
DBC_Writer.cpp38 m_Width = width; in SetWidth()
/external/pdfium/core/fxge/dib/
Dcfx_dibitmap.cpp43 m_Width = 0; in Create()
65 m_Width = width; in Create()
118 m_Width = pSrcBitmap->m_Width; in TakeOver()
155 for (int col = 0; col < m_Width; col++) { in Clear()
174 for (int i = 0; i < m_Width; i++) in Clear()
330 if (pSrcClone->GetWidth() != m_Width || pSrcClone->GetHeight() != m_Height) { in SetChannelFromBitmap()
332 m_Width, m_Height, FXDIB_ResampleOptions(), nullptr); in SetChannelFromBitmap()
346 for (int col = 0; col < m_Width; col++) { in SetChannelFromBitmap()
383 for (int col = 0; col < m_Width; col++) { in SetUniformOpaqueAlpha()
404 if (pSrcBitmap->GetWidth() != m_Width || in MultiplyAlpha()
[all …]
Dcfx_dibbase.cpp645 FX_RECT rect(0, 0, m_Width, m_Height); in ClipToInternal()
774 if (dest_left > m_Width || dest_top > m_Height) in GetOverlapRect()
825 FX_RECT dest_bound(0, 0, m_Width, m_Height); in GetOverlapRect()
869 if (!pMask->Create(m_Width, m_Height, FXDIB_Format::k8bppMask)) in CloneAlphaMask()
875 for (int col = 0; col < m_Width; ++col) { in CloneAlphaMask()
885 if (!pFlipped->Create(m_Width, m_Height, GetFormat())) in FlipImage()
900 for (int col = 0; col < m_Width; ++col) { in FlipImage()
902 int dest_col = m_Width - col - 1; in FlipImage()
909 dest_scan += (m_Width - 1) * Bpp; in FlipImage()
911 for (int col = 0; col < m_Width; ++col) { in FlipImage()
[all …]
Dcfx_dibbase.h46 int GetWidth() const { return m_Width; } in GetWidth()
108 int m_Width = 0; variable
/external/armnn/samples/common/include/Utils/
DTypes.hpp21 uint32_t m_Width; member
27 m_Width{width}, m_Height{height} {} in Size()
30 : Size(other.m_Width, other.m_Height) {} in Size()
/external/armnn/tests/
DImagePreprocessor.hpp43 , m_Width(width)
56 unsigned int GetNumImageElements() const { return 3 * m_Width * m_Height; } in GetNumImageElements()
63 unsigned int m_Width; member in ImagePreprocessor
DInferenceTestImage.cpp128 : m_Width(0u) in InferenceTestImage()
149 m_Width = armnn::numeric_cast<unsigned int>(width); in InferenceTestImage()
160 if (x >= m_Width || y >= m_Height) in GetPixelAs3Channels()
163 …"Requested ({0}, {1}). Maximum valid coordinates ({2}, {3}).", x, y, (m_Width - 1), (m_Height - 1)… in GetPixelAs3Channels()
205 im.m_Width = newWidth; in StbResize()
DInferenceTestImage.hpp75 unsigned int GetWidth() const { return m_Width; } in GetWidth()
107 unsigned int m_Width; member in InferenceTestImage
DImagePreprocessor.cpp32 result = image.Resize(m_Width, m_Height, CHECK_LOCATION(), in GetLabelAndResizedImageAsFloat()
45 armnn::TensorShape dstShape({m_BatchSize, 3, m_Height, m_Width}); in GetLabelAndResizedImageAsFloat()
/external/pdfium/core/fpdfapi/font/
Dcpdf_type3char.cpp54 m_Width = FXSYS_roundf(TextUnitToGlyphUnit(pData[0])); in InitializeFromStreamData()
68 m_Width = m_Width * matrix.GetXUnit() + 0.5f; in Transform()
Dcpdf_type3char.h37 int width() const { return m_Width; } in width()
48 int m_Width = 0; variable
/external/pdfium/fxbarcode/oned/
DBC_OneDimWriter.cpp162 if (geWidth != m_Width) { in ShowDeviceChars()
237 path.AppendRect(0, 0, static_cast<float>(m_Width), in RenderDeviceResult()
265 m_Width > 0 ? static_cast<float>(m_Width) / static_cast<float>(codelength) in RenderResult()
267 m_barWidth = m_Width; in RenderResult()
/external/pdfium/core/fxge/win32/
Dctext_only_printer_driver.cpp23 m_Width(INT_MAX), in CTextOnlyPrinterDriver()
41 return m_Width; in GetDeviceCaps()
97 pRect->right = m_Width; in GetClipBox()
Dcps_printer_driver.cpp62 m_Width = ::GetDeviceCaps(m_hDC, HORZRES); in CPSPrinterDriver()
67 m_Width, m_Height); in CPSPrinterDriver()
101 return m_Width; in GetDeviceCaps()
Dcgdi_device_driver.cpp339 m_Width = bitmap.bmWidth; in CGdiDeviceDriver()
345 m_Width = ::GetDeviceCaps(m_hDC, HORZRES); in CGdiDeviceDriver()
364 return m_Width; in GetDeviceCaps()
534 int startOutOfBoundsFlag = (x1 < 0) | ((x1 > m_Width) << 1) | in DrawLine()
536 int endOutOfBoundsFlag = (x2 < 0) | ((x2 > m_Width) << 1) | in DrawLine()
544 unsigned np = LineClip(m_Width, m_Height, x1, y1, x2, y2, x, y); in DrawLine()
/external/armnn/samples/ObjectDetection/test/delegate/
DArmnnDelegateNetworkExecutorTest.cpp44 int width = executor->GetImageAspectRatio().m_Width;
93 int width = executor->GetImageAspectRatio().m_Width;
/external/armnn/samples/ObjectDetection/include/
DBoundingBox.hpp92 unsigned int m_Width; member in od::BoundingBox

12