Home
last modified time | relevance | path

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

1234

/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/pdfium/xfa/fxbarcode/
DBC_TwoDimWriter.cpp32 leftPos = (m_Width - m_output->GetWidth()) / 2; in RenderDeviceResult()
36 if (m_Width < m_output->GetWidth() && m_Height < m_output->GetHeight()) { in RenderDeviceResult()
38 (FX_FLOAT)m_Width / (FX_FLOAT)m_output->GetWidth(), 0.0, 0.0, in RenderDeviceResult()
43 for (int32_t x = 0; x < m_output->GetWidth(); x++) { in RenderDeviceResult()
65 pOutBitmap = CreateDIBitmap(m_output->GetWidth(), m_output->GetHeight()); in RenderBitmapResult()
75 leftPos = (m_Width - m_output->GetWidth()) / 2; in RenderBitmapResult()
78 for (int32_t x = 0; x < m_output->GetWidth(); x++) { in RenderBitmapResult()
/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()
Dvideoframefactory.cc62 output_frame_->GetWidth() != static_cast<size_t>(output_width) || in CreateAliasedFrame()
/external/pdfium/xfa/fxbarcode/qrcode/
DBC_QRCoderMaskUtil.cpp41 int32_t width = matrix->GetWidth(); in ApplyMaskPenaltyRule2()
60 int32_t width = matrix->GetWidth(); in ApplyMaskPenaltyRule3()
112 int32_t width = matrix->GetWidth(); in ApplyMaskPenaltyRule4()
121 int32_t numTotalCells = matrix->GetHeight() * matrix->GetWidth(); in ApplyMaskPenaltyRule4()
175 int32_t width = matrix->GetWidth(); in ApplyMaskPenaltyRule1Internal()
DBC_QRCoderMatrixUtil.cpp155 int32_t x2 = matrix->GetWidth() - i - 1; in EmbedTypeInfo()
202 int32_t x = matrix->GetWidth() - 1; in EmbedDataBits()
322 for (int32_t i = 8; i < matrix->GetWidth() - 8; i++) { in EmbedTimingPatterns()
437 EmbedPositionDetectionPattern(matrix->GetWidth() - pdpWidth, 0, matrix, e); in EmbedPositionDetectionPatternsAndSeparators()
440 EmbedPositionDetectionPattern(0, matrix->GetWidth() - pdpWidth, matrix, e); in EmbedPositionDetectionPatternsAndSeparators()
447 EmbedHorizontalSeparationPattern(matrix->GetWidth() - hspWidth, hspWidth - 1, in EmbedPositionDetectionPatternsAndSeparators()
451 EmbedHorizontalSeparationPattern(0, matrix->GetWidth() - hspWidth, matrix, e); in EmbedPositionDetectionPatternsAndSeparators()
DBC_QRCoder.cpp99 m_matrixWidth == m_matrix->GetWidth() && in IsValid()
100 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/testing/libfuzzer/
Dxfa_codec_fuzzer.h36 bitmap->Create(decoder->GetWidth(), decoder->GetHeight(), FXDIB_Argb); in Fuzz()
43 status = decoder->StartDecode(bitmap.get(), 0, 0, bitmap->GetWidth(), in Fuzz()
/external/pdfium/core/fpdfapi/render/
Dcpdf_devicebuffer.cpp69 m_pDevice->CreateCompatibleBitmap(&buffer, m_pBitmap->GetWidth(), in OutputToDevice()
72 buffer.CompositeBitmap(0, 0, buffer.GetWidth(), buffer.GetHeight(), in OutputToDevice()
/external/libyuv/files/source/
Dmjpeg_decoder.cc168 int MJpegDecoder::GetWidth() { in GetWidth() function in libyuv::MJpegDecoder
216 return DivideAndRoundUp(GetWidth(), hs); in GetComponentWidth()
249 if (dst_width != GetWidth() || dst_height > GetHeight()) { in DecodeToBuffers()
339 if (dst_width != GetWidth() || dst_height > GetHeight()) { in DecodeToCallback()
Dconvert_jpeg.cc96 *width = mjpeg_decoder.GetWidth(); in MJPGSize()
127 (mjpeg_decoder.GetWidth() != w || mjpeg_decoder.GetHeight() != h)) { in MJPGToI420()
255 (mjpeg_decoder.GetWidth() != w || mjpeg_decoder.GetHeight() != h)) { in MJPGToARGB()
/external/libvpx/libvpx/third_party/libyuv/source/
Dmjpeg_decoder.cc168 int MJpegDecoder::GetWidth() { in GetWidth() function in libyuv::MJpegDecoder
218 return DivideAndRoundUp(GetWidth(), hs); in GetComponentWidth()
250 if (dst_width != GetWidth() || in DecodeToBuffers()
342 if (dst_width != GetWidth() || in DecodeToCallback()
/external/pdfium/core/fxge/apple/
Dfx_apple_platform.cpp139 pClipMask->GetWidth(), pClipMask->GetHeight(), 8, 8, in DrawDeviceText()
144 rect_cg = CGRectMake(0, 0, m_pBitmap->GetWidth(), m_pBitmap->GetHeight()); in DrawDeviceText()
/external/pdfium/core/fxge/dib/
Dfx_dib_main.cpp134 if (!Create(pSrc->GetWidth(), pSrc->GetHeight(), pSrc->GetFormat())) in Copy()
204 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; in Clone()
414 GetOverlapRect(dest_left, dest_top, width, height, pSrcBitmap->GetWidth(), in TransferBitmap()
483 GetOverlapRect(dest_left, dest_top, width, height, pMask->GetWidth(), in TransferMask()
729 if (pSrcClone->GetWidth() != m_Width || in LoadChannel()
739 } else if (pSrcClone->GetWidth() != m_Width || in LoadChannel()
839 if (pSrcBitmap->GetWidth() != m_Width || in MultiplyAlpha()
1420 if (!m_pBitmap->Create(pSrc->GetWidth(), pSrc->GetHeight(), in CFX_DIBExtractor()
1445 m_Width = pSrc->GetWidth(); in LoadSrc()
1495 m_ClipBox = pClipRgn ? pClipRgn->GetBox() : FX_RECT(0, 0, pDevice->GetWidth(), in Start()
[all …]
/external/pdfium/xfa/fxbarcode/common/
DBC_CommonByteMatrix.h20 int32_t GetWidth();
/external/skia/experimental/SkV8Example/
DDrawingMethods.cpp121 void DrawingMethods::GetWidth(v8::Local<v8::String> name, in GetWidth() function in DrawingMethods
159 GetWidth); in addAttributesAndMethods()
/external/pdfium/core/fxcodec/codec/
Dccodec_scanlinedecoder.h29 int GetWidth() { return m_OutputWidth; } in GetWidth() function
/external/pdfium/xfa/fde/
Dfde_gedevice.cpp37 int32_t CFDE_RenderDevice::GetWidth() const { in GetWidth() function in CFDE_RenderDevice
38 return m_pDevice->GetWidth(); in GetWidth()
94 srcRect = CFX_RectF(0, 0, static_cast<FX_FLOAT>(pDib->GetWidth()), in DrawImage()
/external/webrtc/talk/app/webrtc/test/
Dfakevideotrackrenderer.h48 if (!fake_renderer_.SetSize(static_cast<int>(video_frame->GetWidth()), in RenderFrame()

1234