Home
last modified time | relevance | path

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

/external/pdfium/core/fxcodec/codec/
Dfx_codec_progress.cpp395 double scale_y = (double)m_sizeY / (double)m_clipBox.Height(); in PngAskScanlineBuf() local
396 int32_t row = (int32_t)((line - m_clipBox.top) * scale_y) + m_startY; in PngAskScanlineBuf()
539 double scale_y = (double)des_hei / (double)src_hei; in PngFillScanlineBufCompleted() local
541 int des_row = (int)(src_row * scale_y) + des_top; in PngFillScanlineBufCompleted()
546 if (m_SrcPassNumber == 1 && scale_y > 1.0) { in PngFillScanlineBufCompleted()
547 ResampleVert(pDIBitmap, scale_y, des_row); in PngFillScanlineBufCompleted()
550 if (pass == 6 && scale_y > 1.0) { in PngFillScanlineBufCompleted()
551 ResampleVert(pDIBitmap, scale_y, des_row); in PngFillScanlineBufCompleted()
719 double scale_y = (double)des_hei / (double)src_hei; in GifReadScanline() local
721 int des_row = (int)(src_row * scale_y) + des_top; in GifReadScanline()
[all …]
Dccodec_progressivedecoder.h184 double scale_y,
187 double scale_y,
190 double scale_y,
/external/u-boot/drivers/video/
Dstb_truetype.h762 …tbtt_GetCodepointBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int codepoint, i…
771 …CodepointBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, f…
775 …d char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint);
781 …char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, f…
785 …itmapBox(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, int *ix0, int *i…
792 …Subpixel(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, float shift_x, f…
798 …r *stbtt_GetGlyphBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int glyph, int *…
799 …_GetGlyphBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, f…
800 …igned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph);
801 …char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, f…
[all …]
/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/tensorflow/tensorflow/examples/android/jni/object_tracking/
Dgeom.h225 inline void ScaleOrigin(const float scale_x, const float scale_y) { in ScaleOrigin() argument
228 top_ *= scale_y; in ScaleOrigin()
229 bottom_ *= scale_y; in ScaleOrigin()
232 inline void Scale(const float scale_x, const float scale_y) { in Scale() argument
240 top_ = center.y - half_height * scale_y; in Scale()
241 bottom_ = center.y + half_height * scale_y; in Scale()
Dframe_pair.cc35 float* const scale_y) const { in AdjustBox()
56 *scale_y = 1.0f; in AdjustBox()
75 *scale_y = scale_factor; in AdjustBox()
Dobject_tracker.cc291 float scale_y; in TrackBox() local
295 tracked_box, &translation_x, &translation_y, &scale_x, &scale_y); in TrackBox()
299 if (scale_x > 0 && scale_y > 0) { in TrackBox()
300 tracked_box.Scale(scale_x, scale_y); in TrackBox()
Dframe_pair.h39 float* const scale_y) const;
/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/libxcam/modules/ocl/
Dcl_image_warp_handler.cpp135 float scale_y = 1.0f - 2.0f * warp_config.trim_ratio; in prepare_arguments() local
140 warp_config.proj_mat[3] = scale_y * warp_config.proj_mat[3] + shift_y * warp_config.proj_mat[6]; in prepare_arguments()
141 warp_config.proj_mat[4] = scale_y * warp_config.proj_mat[4] + shift_y * warp_config.proj_mat[7]; in prepare_arguments()
142 warp_config.proj_mat[5] = scale_y * warp_config.proj_mat[5] + shift_y * warp_config.proj_mat[8]; in prepare_arguments()
/external/tensorflow/tensorflow/core/kernels/
Dresize_area_op.cc234 float scale_y; in ComputeLoop() local
236 scale_y = (i + 1 > in_y1 ? st.height_scale : i + 1 - in_y); in ComputeLoop()
238 scale_y = (i + 1 > in_y1 ? in_y1 - i : 1.0); in ComputeLoop()
241 y_scales.push_back(scale_y); in ComputeLoop()
Dresize_area_op_test.cc119 float scale_y = i < in_y in ResizeAreaBaseline() local
132 scale_y * scale_x * scale; in ResizeAreaBaseline()
Dresize_bicubic_op_test.cc255 float scale_y = 0.3, float scale_x = 0.7) { in ResizeBicubic() argument
261 shape_t(0) = scale_y * size; in ResizeBicubic()
/external/pdfium/fpdfsdk/
Dfpdfview.cpp752 double* scale_y) { in GetScaling() argument
755 ASSERT(scale_y); in GetScaling()
763 *scale_y = size_y / page_height; in GetScaling()
766 *scale_y = size_x / page_height; in GetScaling()
778 double scale_y = 0.0f; in GetMaskDimensionsAndOffsets() local
779 GetScaling(pPage, size_x, size_y, rotate, &scale_x, &scale_y); in GetMaskDimensionsAndOffsets()
780 if (scale_x < kEpsilonSize || scale_y < kEpsilonSize) in GetMaskDimensionsAndOffsets()
785 int start_y_bm = static_cast<int>(mask_box.bottom * scale_y); in GetMaskDimensionsAndOffsets()
788 int size_y_bm = static_cast<int>(mask_box.top * scale_y + 1.0f) - in GetMaskDimensionsAndOffsets()
789 static_cast<int>(mask_box.bottom * scale_y); in GetMaskDimensionsAndOffsets()
/external/libdrm/exynos/
Dexynos_fimg2d.c690 unsigned int scale_x, scale_y; in g2d_copy_with_scale() local
701 scale_y = g2d_get_scaling(src_h, dst_h); in g2d_copy_with_scale()
752 g2d_add_cmd(ctx, SRC_YSCALE_REG, scale_y); in g2d_copy_with_scale()
916 unsigned int scale_x, scale_y; in g2d_scale_and_blend() local
923 scale_y = g2d_get_scaling(src_h, dst_h); in g2d_scale_and_blend()
987 g2d_add_cmd(ctx, SRC_YSCALE_REG, scale_y); in g2d_scale_and_blend()
/external/ImageMagick/coders/
Dwmf.c332 scale_y, member
716 XC(bmp_draw->pt.x) * ddata->scale_x, YC(bmp_draw->pt.y) * ddata->scale_y, in ipa_bmp_draw()
717 width * ddata->scale_x, height * ddata->scale_y, magick_wand); in ipa_bmp_draw()
852 DrawScale(WmfDrawingWand, ddata->scale_x, ddata->scale_y); in ipa_device_begin()
1547 text_width = metrics.width * (ddata->scale_y / ddata->scale_x); in ipa_draw_text()
1615 DrawScale(WmfDrawingWand, ddata->scale_y / ddata->scale_x, 1.0); in ipa_draw_text()
2012 ((double) 1 / (ddata->scale_y))) / 2; in util_set_pen()
2771 ddata->scale_y = (image_height/bounding_height); in ReadWMFImage()
2777 ddata->scale_y = (-image_height/bounding_height); in ReadWMFImage()
2806 ddata->scale_y); in ReadWMFImage()
/external/pdfium/core/fxge/
Dcfx_renderdevice.cpp939 float scale_y = fabs(matrixCTM.d); in DrawNormalText() local
941 CFX_Matrix m(scale_x, 0, 0, scale_y, 0, 0); in DrawNormalText()
974 if (scale_x > 1 && scale_y > 1) { in DrawNormalText()
981 FXSYS_round((float)(bmp_rect1.top) / scale_y), in DrawNormalText()
983 FXSYS_round((float)bmp_rect1.bottom / scale_y)); in DrawNormalText()
989 int pixel_height = FXSYS_round(bmp_rect.Height() * scale_y); in DrawNormalText()
991 int pixel_top = FXSYS_round(bmp_rect.top * scale_y); in DrawNormalText()
/external/libxcam/tests/
Dtest-cl-image.cpp453 float scale_y = 0.5f; in main() local
463 warp_config.proj_mat[4] = scale_y; in main()
/external/pdfium/core/fxge/dib/
Dcstretchengine.cpp270 double scale_y = static_cast<float>(m_SrcHeight) / m_DestHeight; in CStretchEngine() local
275 double src_top = scale_y * (clip_rect.top + base_y); in CStretchEngine()
276 double src_bottom = scale_y * (clip_rect.bottom + base_y); in CStretchEngine()
/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/harfbuzz_ng/util/
Doptions.cc683 int scale_y = (int) scalbnf (font_size_y, subpixel_bits); in get_font() local
684 hb_font_set_scale (font, scale_x, scale_y); in get_font()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_arit.c2918 LLVMValueRef scale_y = LLVMBuildFMul(b, x_abs, FOPi, "scale_y"); in lp_build_sin_or_cos() local
2925 LLVMValueRef emm2_i = LLVMBuildFPToSI(b, scale_y, bld->int_vec_type, "emm2_i"); in lp_build_sin_or_cos()
/external/freetype/
DChangeLog.234604 and `scale_y'.
4605 * src/cff/cffgload.h (CFF_Builder): Remove `scale_x' and `scale_y'.
4854 and `scale_y' as obsolete since they aren't used.
4857 * src/cff/cffgload.h (CFF_Builder): Mark `scale_x' and `scale_y' as