Home
last modified time | relevance | path

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

12345

/external/pdfium/xfa/src/fxbarcode/
DBC_TwoDimWriter.cpp37 topPos = (m_Height - m_output->GetHeight()) / 2; in RenderDeviceResult()
40 if (m_Width < m_output->GetWidth() && m_Height < m_output->GetHeight()) { in RenderDeviceResult()
43 (FX_FLOAT)m_Height / (FX_FLOAT)m_output->GetHeight(), 0.0, 0.0); in RenderDeviceResult()
48 for (int32_t y = 0; y < m_output->GetHeight(); y++) { in RenderDeviceResult()
65 pOutBitmap = CreateDIBitmap(m_output->GetWidth(), m_output->GetHeight()); in RenderBitmapResult()
76 topPos = (m_Height - m_output->GetHeight()) / 2; in RenderBitmapResult()
79 for (int32_t y = 0; y < m_output->GetHeight(); y++) { in RenderBitmapResult()
DBC_BufferedImageLuminanceSource.cpp42 bitmap->Create(pImageCodec->GetWidth(), pImageCodec->GetHeight(), FXDIB_Argb); in CreateDIBSource()
54 bitmap->GetHeight(), 0, FALSE); in CreateDIBSource()
103 m_height = m_pBitmap->GetHeight(); in Init()
115 m_height = m_pBitmap->GetHeight(); in CBC_BufferedImageLuminanceSource()
DBC_BinaryBitmap.cpp37 int32_t CBC_BinaryBitmap::GetHeight() { in GetHeight() function in CBC_BinaryBitmap
38 return m_binarizer->GetLuminanceSource()->GetHeight(); in GetHeight()
DBC_LuminanceSource.cpp31 int32_t CBC_LuminanceSource::GetHeight() { in GetHeight() function in CBC_LuminanceSource
DBC_LuminanceSource.h15 int32_t GetHeight();
/external/pdfium/xfa/src/fwl/src/basewidget/
Dfwl_pushbuttonimp.cpp165 pPicture->GetHeight() / 2; in DrawWidget()
171 pPicture->GetHeight() / 2; in DrawWidget()
176 pPicture->GetHeight() / 2; in DrawWidget()
181 m_rtClient.top + m_rtClient.height - pPicture->GetHeight(); in DrawWidget()
187 m_rtClient.top + m_rtClient.height - pPicture->GetHeight(); in DrawWidget()
192 m_rtClient.top + m_rtClient.height - pPicture->GetHeight(); in DrawWidget()
207 pPicture->GetHeight() / 2 - m_rtCaption.top - rtText.height / 2; in DrawWidget()
219 pPicture->GetHeight() / 2 - m_rtCaption.top - rtText.height / 2; in DrawWidget()
229 pPicture->GetHeight() / 2 - m_rtCaption.top - rtText.height / 2; in DrawWidget()
234 pPicture->GetHeight() / 2; in DrawWidget()
[all …]
Dfwl_pictureboximp.cpp66 (FX_FLOAT)pBitmap->GetHeight()); in GetWidgetRect()
116 FX_FLOAT fy = (FX_FLOAT)pPicture->GetHeight(); in DrawBkground()
/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()
Dvideoframe.h68 virtual size_t GetHeight() const = 0;
71 size_t GetChromaHeight() const { return (GetHeight() + 1) / 2; } in GetChromaHeight()
/external/pdfium/xfa/src/fxbarcode/qrcode/
DBC_QRCoderMatrixUtil.cpp150 int32_t y2 = matrix->GetHeight() - 7 + (i - 8); in EmbedTypeInfo()
175 matrix->Set(i, matrix->GetHeight() - 11 + j, bit); in MaybeEmbedVersionInfo()
176 matrix->Set(matrix->GetHeight() - 11 + j, i, bit); in MaybeEmbedVersionInfo()
191 int32_t y = matrix->GetHeight() - 1; in EmbedDataBits()
196 while (y >= 0 && y < matrix->GetHeight()) { in EmbedDataBits()
327 if (matrix->Get(8, matrix->GetHeight() - 8) == 0) { in EmbedDarkDotAtLeftBottomCorner()
331 matrix->Set(8, matrix->GetHeight() - 8, 1); in EmbedDarkDotAtLeftBottomCorner()
430 EmbedVerticalSeparationPattern(matrix->GetHeight() - vspSize - 1, 0, matrix, in EmbedPositionDetectionPatternsAndSeparators()
433 EmbedVerticalSeparationPattern(vspSize, matrix->GetHeight() - vspSize, matrix, in EmbedPositionDetectionPatternsAndSeparators()
DBC_QRCoderMaskUtil.cpp40 int32_t height = matrix->GetHeight(); in ApplyMaskPenaltyRule2()
58 int32_t height = matrix->GetHeight(); in ApplyMaskPenaltyRule3()
110 int32_t height = matrix->GetHeight(); in ApplyMaskPenaltyRule4()
118 int32_t numTotalCells = matrix->GetHeight() * matrix->GetWidth(); in ApplyMaskPenaltyRule4()
173 int32_t height = matrix->GetHeight(); in ApplyMaskPenaltyRule1Internal()
/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()
Dcarbonvideorenderer.cc131 if (!SetSize(frame->GetWidth(), frame->GetHeight(), 0)) { in RenderFrame()
139 frame->GetWidth() * frame->GetHeight() * 4, 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/libyuv/files/source/
Dmjpeg_decoder.cc183 int MJpegDecoder::GetHeight() { in GetHeight() function in libyuv::MJpegDecoder
233 return DivideAndRoundUp(GetHeight(), vs); in GetComponentHeight()
270 dst_height > GetHeight()) { in DecodeToBuffers()
290 int skip = (GetHeight() - dst_height) / 2; in DecodeToBuffers()
359 dst_height > GetHeight()) { in DecodeToCallback()
377 int skip = (GetHeight() - dst_height) / 2; in DecodeToCallback()
/external/libvpx/libvpx/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/xfa/src/fxbarcode/datamatrix/
DBC_DataMatrixBitMatrixParser.cpp34 int32_t dimension = bitMatrix->GetHeight(); in Init()
45 m_mappingBitMatrix->GetHeight()); in Init()
63 int32_t rows = bitMatrix->GetHeight(); in ReadVersion()
76 int32_t numRows = m_mappingBitMatrix->GetHeight(); in ReadCodewords()
343 if (bitMatrix->GetHeight() != symbolSizeRows) { in ExtractDataRegion()
/external/pdfium/core/src/fxge/apple/
Dfx_apple_platform.cpp139 pClipMask->GetPitch() * pClipMask->GetHeight(), _DoNothing); in DrawDeviceText()
142 pClipMask->GetWidth(), pClipMask->GetHeight(), 8, 8, in DrawDeviceText()
147 rect_cg = CGRectMake(0, 0, m_pBitmap->GetWidth(), m_pBitmap->GetHeight()); in DrawDeviceText()
Dfx_quartz_device.cpp36 pBitmap->GetBuffer(), pBitmap->GetWidth(), pBitmap->GetHeight(), 8, in createGraphics()
133 pBitmap->GetBuffer(), pBitmap->GetWidth(), pBitmap->GetHeight(), 8, in createContextWithBitmap()
477 CGFloat height = (CGFloat)bitmap->GetHeight(); in GetDIBits()
494 for (int row = 0; row < bitmap->GetHeight(); row++) { in GetDIBits()
526 src_height = pBitmap->GetHeight(); in SetDIBits()
541 CGSizeMake(pBitmap->GetWidth() / scale_x, pBitmap->GetHeight() / scale_y); in SetDIBits()
557 pBitmap1->GetPitch() * pBitmap1->GetHeight(), NULL); in SetDIBits()
561 pBitmap1->GetWidth(), pBitmap1->GetHeight(), pBitmap1->GetBPP(), in SetDIBits()
599 for (int row = 0; row < pBitmap1->GetHeight(); row++) { in SetDIBits()
675 pBitmap1->GetPitch() * pBitmap1->GetHeight(), NULL); in StretchDIBits()
[all …]
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp72 top + pDIBitmap->GetHeight()); in CompositeDIBitmap()
80 pClone->CompositeBitmap(0, 0, pClone->GetWidth(), pClone->GetHeight(), in CompositeDIBitmap()
85 pClone->CompositeBitmap(0, 0, pClone->GetWidth(), pClone->GetHeight(), in CompositeDIBitmap()
88 pClone->CompositeMask(0, 0, pClone->GetWidth(), pClone->GetHeight(), in CompositeDIBitmap()
109 top + pDIBitmap->GetHeight()); in CompositeDIBitmap()
118 pDIBitmap->GetWidth(), pDIBitmap->GetHeight(), in CompositeDIBitmap()
122 pDIBitmap->GetWidth(), pDIBitmap->GetHeight(), in CompositeDIBitmap()
127 pBackdrop1->Create(pBackdrop->GetWidth(), pBackdrop->GetHeight(), in CompositeDIBitmap()
131 pBackdrop->GetHeight(), pBackdrop.get(), 0, 0); in CompositeDIBitmap()
695 m_pDIBSource->GetHeight(); in StartDIBSource()
Dfpdf_render_cache.cpp199 ? (FX_DWORD)pDIB->GetHeight() * pDIB->GetPitch() + in FPDF_ImageCache_EstimateImageSize()
235 if (pSrc->GetPitch() * pSrc->GetHeight() < FPDF_HUGE_IMAGE_SIZE) { in GetCachedBitmap()
300 if (m_pCurBitmap->GetPitch() * m_pCurBitmap->GetHeight() < in ContinueGetCachedBitmap()
/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp120 if (!Create(pSrc->GetWidth(), pSrc->GetHeight(), pSrc->GetFormat())) { in Copy()
125 for (int row = 0; row < pSrc->GetHeight(); row++) { in Copy()
232 m_pAlphaMask->GetHeight() * m_pAlphaMask->GetPitch()); in BuildAlphaMask()
384 pSrcBitmap->GetHeight(), src_left, src_top, NULL); in TransferBitmap()
452 pMask->GetHeight(), src_left, src_top, NULL); in TransferMask()
723 pSrcClone->GetHeight() != m_Height) {
741 pSrcClone->GetHeight() != m_Height) {
820 m_pAlphaMask->GetHeight() * m_pAlphaMask->GetPitch());
845 pSrcBitmap->GetHeight() != m_Height) {
1495 if (!m_pBitmap->Create(pSrc->GetWidth(), pSrc->GetHeight(),
[all …]

12345