Home
last modified time | relevance | path

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

123

/external/pdfium/core/src/fxge/apple/
Dfx_quartz_device.cpp36 pBitmap->GetWidth(), in createGraphics()
160 pBitmap->GetWidth(), in createContextWithBitmap()
522 CGFloat width = (CGFloat) bitmap->GetWidth(); in GetDIBits()
545 for (int col = 0; col < bitmap->GetWidth(); col ++) { in GetDIBits()
575 src_width = pBitmap->GetWidth(); in SetDIBits()
590 rect_usr.size = CGSizeMake(pBitmap->GetWidth() / scale_x, pBitmap->GetHeight() / scale_y); in SetDIBits()
610 CGImageRef pImage = CGImageCreate(pBitmap1->GetWidth(), in SetDIBits()
658 for (int col = 0; col < pBitmap1->GetWidth(); col ++) { in SetDIBits()
735 CGImageRef pImage = CGImageCreate(pBitmap1->GetWidth(), in StretchDIBits()
783 for (int col = 0; col < pBitmap1->GetWidth(); col ++) { in StretchDIBits()
Dfx_apple_platform.cpp143 pImageCG = CGImageMaskCreate(pClipMask->GetWidth(), pClipMask->GetHeight(), in DrawDeviceText()
149 rect_cg = CGRectMake(0, 0, m_pBitmap->GetWidth(), m_pBitmap->GetHeight()); in DrawDeviceText()
/external/libyuv/files/source/
Dmjpeg_decoder.cc178 int MJpegDecoder::GetWidth() { in GetWidth() function in libyuv::MJpegDecoder
228 return DivideAndRoundUp(GetWidth(), hs); in GetComponentWidth()
269 if (dst_width != GetWidth() || in DecodeToBuffers()
358 if (dst_width != GetWidth() || in DecodeToCallback()
/external/libvpx/libvpx/third_party/libyuv/source/
Dmjpeg_decoder.cc167 int MJpegDecoder::GetWidth() { in GetWidth() function in libyuv::MJpegDecoder
217 return DivideAndRoundUp(GetWidth(), hs); in GetComponentWidth()
249 if (dst_width != GetWidth() || in DecodeToBuffers()
341 if (dst_width != GetWidth() || in DecodeToCallback()
Dconvert_jpeg.cc129 *width = mjpeg_decoder.GetWidth(); in MJPGSize()
154 if (ret && (mjpeg_decoder.GetWidth() != w || in MJPGToI420()
316 if (ret && (mjpeg_decoder.GetWidth() != w || in MJPGToARGB()
/external/pdfium/core/src/fpdfapi/fpdf_render/
Dfpdf_render_image.cpp60 FX_RECT rect(left, top, left + pDIBitmap->GetWidth(), top + pDIBitmap->GetHeight()); in CompositeDIBitmap()
68 …pClone->CompositeBitmap(0, 0, pClone->GetWidth(), pClone->GetHeight(), pForeBitmap, rect.left, rec… in CompositeDIBitmap()
72 … pClone->CompositeBitmap(0, 0, pClone->GetWidth(), pClone->GetHeight(), pDIBitmap, in CompositeDIBitmap()
75 pClone->CompositeMask(0, 0, pClone->GetWidth(), pClone->GetHeight(), pDIBitmap, in CompositeDIBitmap()
95 FX_RECT rect(left, top, left + pDIBitmap->GetWidth(), top + pDIBitmap->GetHeight()); in CompositeDIBitmap()
101 …pBackdrop->CompositeBitmap(left - back_left, top - back_top, pDIBitmap->GetWidth(), pDIBitmap->Get… in CompositeDIBitmap()
104 …pBackdrop->CompositeMask(left - back_left, top - back_top, pDIBitmap->GetWidth(), pDIBitmap->GetHe… in CompositeDIBitmap()
107 pBackdrop1->Create(pBackdrop->GetWidth(), pBackdrop->GetHeight(), FXDIB_Rgb32); in CompositeDIBitmap()
109 … pBackdrop1->CompositeBitmap(0, 0, pBackdrop->GetWidth(), pBackdrop->GetHeight(), pBackdrop, 0, 0); in CompositeDIBitmap()
653 …int image_size = m_pDIBSource->GetBPP() / 8 * m_pDIBSource->GetWidth() * m_pDIBSource->GetHeight(); in StartDIBSource()
[all …]
Dfpdf_render_pattern.cpp38 int width = pBitmap->GetWidth(); in _DrawAxialShading()
155 int width = pBitmap->GetWidth(); in _DrawRadialShading()
243 int width = pBitmap->GetWidth(); in _DrawFuncShading()
357 if (end_x > pBitmap->GetWidth()) { in _DrawGouraud()
358 end_x = pBitmap->GetWidth(); in _DrawGouraud()
754 if (bbox.right <= 0 || bbox.left >= (FX_FLOAT)pBitmap->GetWidth() || bbox.top <= 0 || in _DrawCoonPatchMeshes()
/external/skia/experimental/SkV8Example/
DDrawingMethods.cpp121 void DrawingMethods::GetWidth(v8::Local<v8::String> name, in GetWidth() function in DrawingMethods
159 GetWidth); in addAttributesAndMethods()
DDrawingMethods.h42 static void GetWidth(v8::Local<v8::String> name,
/external/pdfium/core/src/fxge/dib/
Dfx_dib_main.cpp117 if (!Create(pSrc->GetWidth(), pSrc->GetHeight(), pSrc->GetFormat())) { in Copy()
186 int copy_len = (pNewBitmap->GetWidth() * pNewBitmap->GetBPP() + 7) / 8; in Clone()
380 …GetOverlapRect(dest_left, dest_top, width, height, pSrcBitmap->GetWidth(), pSrcBitmap->GetHeight()… in TransferBitmap()
433 …GetOverlapRect(dest_left, dest_top, width, height, pMask->GetWidth(), pMask->GetHeight(), src_left… in TransferMask()
694 if (pSrcClone->GetWidth() != m_Width || pSrcClone->GetHeight() != m_Height) {
711 } else if (pSrcClone->GetWidth() != m_Width || pSrcClone->GetHeight() != m_Height) {
815 if (pSrcBitmap->GetWidth() != m_Width || pSrcBitmap->GetHeight() != m_Height) {
1462 …if (!m_pBitmap->Create(pSrc->GetWidth(), pSrc->GetHeight(), pSrc->GetFormat(), pSrc->GetBuffer()))…
1495 m_Width = pSrc->GetWidth();
1538 …m_ClipBox = pClipRgn ? pClipRgn->GetBox() : FX_RECT(0, 0, pDevice->GetWidth(), pDevice->GetHeight(…
[all …]
Dfx_dib_engine.cpp216 m_SrcWidth = pSrcBitmap->GetWidth(); in CStretchEngine()
767 if (m_pSource->GetWidth() * m_pSource->GetHeight() < MAX_PROGRESSIVE_STRETCH_PIXELS) { in StartStretch()
802 if (m_pSource->GetWidth() * m_pSource->GetHeight() < MAX_PROGRESSIVE_STRETCH_PIXELS) { in StartQuickStretch()
/external/pdfium/core/src/fxge/win32/
Dfx_win32_print.cpp38 …ts(pSource, color, left - pSrcRect->left, top - pSrcRect->top, pSource->GetWidth(), pSource->GetHe… in SetDIBits()
123 int src_width = pSrcBitmap->GetWidth(), src_height = pSrcBitmap->GetHeight(); in Transform1bppBitmap()
136 src2result.a = adjusted_matrix.a / pSrcBitmap->GetWidth(); in Transform1bppBitmap()
137 src2result.b = adjusted_matrix.b / pSrcBitmap->GetWidth(); in Transform1bppBitmap()
Dfx_win32_device.cpp485 dst_rect.Intersect(0, 0, pBitmap->GetWidth(), pBitmap->GetHeight()); in GDI_SetDIBits()
521 …if ((FX_INT64)abs(dest_width) * abs(dest_height) < (FX_INT64)pBitmap1->GetWidth() * pBitmap1->GetH… in GDI_StretchDIBits()
529 …if (m_DeviceClass == FXDC_PRINTER && ((FX_INT64)pBitmap->GetWidth() * pBitmap->GetHeight() > (FX_I… in GDI_StretchDIBits()
535 … 0, 0, pToStrechBitmap->GetWidth(), pToStrechBitmap->GetHeight(), pToStrechBitmap->GetBuffer(), in GDI_StretchDIBits()
551 int width = pBitmap->GetWidth(), height = pBitmap->GetHeight(); in GDI_StretchBitMask()
945 int width = pBitmap->GetWidth(); in GetDIBits()
986 int width = pSource->GetWidth(), height = pSource->GetHeight(); in SetDIBits()
1038 FX_RECT src_rect(0, 0, pStretched->GetWidth(), pStretched->GetHeight()); in UseFoxitStretchEngine()
Dfx_win32_gdipext.cpp311 int src_width = pSource->GetWidth(); in _StretchMonoToGray()
350 int src_width = pBitmap->GetWidth(), src_height = pBitmap->GetHeight(); in OutputImageMask()
556 GpStatus status = CallFunc(GdipCreateBitmapFromScan0)(pBitmap->GetWidth(), pBitmap->GetHeight(), in GdipCreateBitmap()
713 …} else if (pBitmap->GetWidth() > abs(dest_width) / 2 || pBitmap->GetHeight() > abs(dest_height) / … in StretchDIBits()
718 FX_RECT src_rect(0, 0, pBitmap->GetWidth(), pBitmap->GetHeight()); in StretchDIBits()
/external/pdfium/core/src/fxge/agg/agg23/
Dfx_agg_driver.cpp237 return m_pBitmap->GetWidth(); in GetDeviceCaps()
309 …agg::rendering_buffer raw_buf(pThisLayer->GetBuffer(), pThisLayer->GetWidth(), pThisLayer->GetHeig… in SetClipMask()
1008 m_ClipBox.right = m_pDevice->GetWidth(); in Init()
1192 if (x < 0 || x >= pBitmap->GetWidth() || y < 0 || y >= pBitmap->GetHeight()) { in RgbByteOrderSetPixel()
1212 rect.Intersect(0, 0, pBitmap->GetWidth(), pBitmap->GetHeight()); in RgbByteOrderCompositeRect()
1281 …pBitmap->GetOverlapRect(dest_left, dest_top, width, height, pSrcBitmap->GetWidth(), pSrcBitmap->Ge… in RgbByteOrderTransferBitmap()
1485 …RgbByteOrderTransferBitmap(pBitmap, 0, 0, pBitmap->GetWidth(), pBitmap->GetHeight(), m_pBitmap, le… in GetDIBits()
1487 …return pBitmap->TransferBitmap(0, 0, pBitmap->GetWidth(), pBitmap->GetHeight(), m_pBitmap, left, t… in GetDIBits()
1491 FX_RECT rect(left, top, left + pBitmap->GetWidth(), top + pBitmap->GetHeight()); in GetDIBits()
1498 pBack->CompositeBitmap(0, 0, pBack->GetWidth(), pBack->GetHeight(), m_pBitmap, 0, 0); in GetDIBits()
[all …]
/external/libyuv/files/include/libyuv/
Dmjpeg_decoder.h69 int GetWidth();
/external/opencv/otherlibs/highgui/
Dgrfmt_base.h70 int GetWidth() { return m_width; }; in GetWidth() function
Dloadsave.cpp413 size.width = reader->GetWidth(); in icvLoadImage()
/external/libvpx/libvpx/third_party/libyuv/include/libyuv/
Dmjpeg_decoder.h92 int GetWidth();
/external/pdfium/core/src/fpdftext/
Dtxtproc.h36 FX_BOOL GetWidth(FX_FLOAT& leftx, FX_FLOAT& rightx);
/external/pdfium/fpdfsdk/include/pdfwindow/
DPWL_ScrollBar.h71 FX_FLOAT GetWidth() const;
/external/pdfium/core/src/fpdfapi/fpdf_edit/
Dfpdf_edit_image.cpp96 FX_INT32 BitmapWidth = pBitmap->GetWidth(); in SetImage()
205 FX_INT32 maskWidth = pMaskBitmap->GetWidth(); in SetImage()
/external/pdfium/fpdfsdk/src/pdfwindow/
DPWL_ScrollBar.cpp56 FX_FLOAT PWL_FLOATRANGE::GetWidth() const in GetWidth() function in PWL_FLOATRANGE
973 if (IsFloatSmaller(m_sData.ScrollRange.GetWidth(), 0.0f)) in SetScrollRange()
1274 FX_FLOAT fFactWidth = m_sData.ScrollRange.GetWidth() + m_sData.fClientWidth; in TrueToFace()
1297 FX_FLOAT fFactWidth = m_sData.ScrollRange.GetWidth() + m_sData.fClientWidth; in FaceToTrue()
/external/pdfium/core/src/fxge/ge/
Dfx_ge_device.cpp329 …FX_RECT dest_rect(left, top, FXSYS_round(left + pBitmap->GetWidth() / fScaleX), FXSYS_round(top + … in SetDIBits()
380 FX_RECT src_rect(0, 0, pBitmap->GetWidth(), pBitmap->GetHeight()); in SetBitMask()
/external/libvpx/libvpx/
Dwebmdec.cc115 vpx_ctx->width = static_cast<uint32_t>(video_track->GetWidth()); in file_is_webm()

123