Home
last modified time | relevance | path

Searched refs:scale_y (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/core/fxcodec/codec/
Dfx_codec_progress.cpp417 double scale_y = (double)m_sizeY / (double)m_clipBox.Height(); in PngAskScanlineBuf() local
418 int32_t row = (int32_t)((line - m_clipBox.top) * scale_y) + m_startY; in PngAskScanlineBuf()
561 double scale_y = (double)des_hei / (double)src_hei; in PngFillScanlineBufCompleted() local
563 int des_row = (int)(src_row * scale_y) + des_top; in PngFillScanlineBufCompleted()
568 if (m_SrcPassNumber == 1 && scale_y > 1.0) { in PngFillScanlineBufCompleted()
569 ResampleVert(pDIBitmap, scale_y, des_row); in PngFillScanlineBufCompleted()
572 if (pass == 6 && scale_y > 1.0) { in PngFillScanlineBufCompleted()
573 ResampleVert(pDIBitmap, scale_y, des_row); in PngFillScanlineBufCompleted()
744 double scale_y = (double)des_hei / (double)src_hei; in GifReadScanline() local
746 int des_row = (int)(src_row * scale_y) + des_top; in GifReadScanline()
[all …]
Dccodec_progressivedecoder.h205 double scale_y,
223 void ResampleVert(CFX_DIBitmap* pDeviceBitmap, double scale_y, int des_row);
226 void ResampleVertBT(CFX_DIBitmap* pDeviceBitmap, double scale_y, int des_row);
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_yuv.c124 float scale_y; in xa_yuv_planar_blit() local
141 scale_y = (float)src_h / (float)dst_h; in xa_yuv_planar_blit()
152 (float)src_y + scale_y * (y - dst_y), in xa_yuv_planar_blit()
153 scale_x * w, scale_y * h, x, y, w, h, yuv); in xa_yuv_planar_blit()
/external/mesa3d/src/gallium/drivers/ilo/core/
Dilo_state_viewport.c74 float scale_x, scale_y; in viewport_matrix_get_gen6_guardband() local
90 scale_y = fabsf(mat->scale[1]); in viewport_matrix_get_gen6_guardband()
104 if (scale_y < 1.0f) in viewport_matrix_get_gen6_guardband()
105 scale_y = 1.0f; in viewport_matrix_get_gen6_guardband()
110 *min_gby = ((float) (center_y - half_len) - mat->translate[1]) / scale_y; in viewport_matrix_get_gen6_guardband()
111 *max_gby = ((float) (center_y + half_len) - mat->translate[1]) / scale_y; in viewport_matrix_get_gen6_guardband()
/external/proguard/src/proguard/gui/splash/
DImageSprite.java69 double scale_y = scaleY.getDouble(time); in paint() local
72 int height = (int)(image.getHeight(null) * scale_y); in paint()
/external/libdrm/exynos/
Dexynos_fimg2d.c695 unsigned int scale_x, scale_y; in g2d_copy_with_scale() local
706 scale_y = g2d_get_scaling(src_h, dst_h); in g2d_copy_with_scale()
757 g2d_add_cmd(ctx, SRC_YSCALE_REG, scale_y); in g2d_copy_with_scale()
921 unsigned int scale_x, scale_y; in g2d_scale_and_blend() local
928 scale_y = g2d_get_scaling(src_h, dst_h); in g2d_scale_and_blend()
992 g2d_add_cmd(ctx, SRC_YSCALE_REG, scale_y); in g2d_scale_and_blend()
/external/pdfium/core/fxge/ge/
Dcfx_renderdevice.cpp920 FX_FLOAT scale_y = FXSYS_fabs(matrixCTM.d); in DrawNormalText() local
922 CFX_Matrix m(scale_x, 0, 0, scale_y, 0, 0); in DrawNormalText()
955 if (scale_x > 1 && scale_y > 1) { in DrawNormalText()
962 FXSYS_round((FX_FLOAT)(bmp_rect1.top) / scale_y), in DrawNormalText()
964 FXSYS_round((FX_FLOAT)bmp_rect1.bottom / scale_y)); in DrawNormalText()
969 int pixel_height = FXSYS_round(bmp_rect.Height() * scale_y); in DrawNormalText()
971 int pixel_top = FXSYS_round(bmp_rect.top * scale_y); in DrawNormalText()
/external/ImageMagick/coders/
Dwmf.c330 scale_y, member
714 XC(bmp_draw->pt.x) * ddata->scale_x, YC(bmp_draw->pt.y) * ddata->scale_y, in ipa_bmp_draw()
715 width * ddata->scale_x, height * ddata->scale_y, magick_wand); in ipa_bmp_draw()
845 DrawScale(WmfDrawingWand, ddata->scale_x, ddata->scale_y); in ipa_device_begin()
1540 text_width = metrics.width * (ddata->scale_y / ddata->scale_x); in ipa_draw_text()
1608 DrawScale(WmfDrawingWand, ddata->scale_y / ddata->scale_x, 1.0); in ipa_draw_text()
2005 ((double) 1 / (ddata->scale_y))) / 2; in util_set_pen()
2763 ddata->scale_y = (image_height/bounding_height); in ReadWMFImage()
2769 ddata->scale_y = (-image_height/bounding_height); in ReadWMFImage()
2798 ddata->scale_y); in ReadWMFImage()
/external/harfbuzz_ng/util/
Doptions.cc624 int scale_y = (int) scalbnf (font_size_y, subpixel_bits); in get_font() local
625 hb_font_set_scale (font, scale_x, scale_y); in get_font()
/external/webrtc/webrtc/base/
Dx11windowpicker.cc513 double scale_y = static_cast<double>(dst_height) / in GetDrawableThumbnail() local
515 double scale = std::min(scale_y, scale_x); in GetDrawableThumbnail()
/external/pdfium/core/fxge/dib/
Dfx_dib_engine.cpp325 double scale_y = (FX_FLOAT)m_SrcHeight / (FX_FLOAT)m_DestHeight; in CStretchEngine() local
330 double src_top = scale_y * ((FX_FLOAT)(clip_rect.top) + base_y); in CStretchEngine()
331 double src_bottom = scale_y * ((FX_FLOAT)(clip_rect.bottom) + base_y); in CStretchEngine()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit.c2920 LLVMValueRef scale_y = LLVMBuildFMul(b, x_abs, FOPi, "scale_y"); in lp_build_sin_or_cos() local
2927 LLVMValueRef emm2_i = LLVMBuildFPToSI(b, scale_y, bld->int_vec_type, "emm2_i"); in lp_build_sin_or_cos()