Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/frontends/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/pdfium/core/fxcodec/
Dprogressivedecoder.cpp308 double scale_y = static_cast<double>(m_sizeY) / m_clipBox.Height(); in PngAskScanlineBuf() local
309 int32_t row = (int32_t)((line - m_clipBox.top) * scale_y) + m_startY; in PngAskScanlineBuf()
383 double scale_y = static_cast<double>(dest_height) / src_height; in PngFillScanlineBufCompleted() local
385 int dest_row = (int)(src_row * scale_y) + dest_top; in PngFillScanlineBufCompleted()
391 if (m_SrcPassNumber == 1 && scale_y > 1.0) { in PngFillScanlineBufCompleted()
392 ResampleVert(pDIBitmap, scale_y, dest_row); in PngFillScanlineBufCompleted()
395 if (pass == 6 && scale_y > 1.0) { in PngFillScanlineBufCompleted()
396 ResampleVert(pDIBitmap, scale_y, dest_row); in PngFillScanlineBufCompleted()
528 double scale_y = static_cast<double>(dest_height) / src_height; in GifReadScanline() local
530 int dest_row = (int)(src_row * scale_y) + dest_top; in GifReadScanline()
[all …]
Dprogressivedecoder.h197 double scale_y,
240 double scale_y,
243 double scale_y,
/external/mesa3d/src/imgui/
Dimstb_truetype.h857 …tbtt_GetCodepointBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int codepoint, i…
866 …CodepointBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, f…
870 …d char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int codepoint);
876 …char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, f…
880 …char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, float shift_x, f…
884 …itmapBox(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, int *ix0, int *i…
891 …Subpixel(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, float shift_x, f…
897 …r *stbtt_GetGlyphBitmap(const stbtt_fontinfo *info, float scale_x, float scale_y, int glyph, int *…
898 …_GetGlyphBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, float scale_y, float shift_x, f…
899 …igned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, int glyph);
[all …]
/external/tensorflow/tensorflow/tools/android/test/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.cc36 float* const scale_y) const { in AdjustBox()
57 *scale_y = 1.0f; in AdjustBox()
76 *scale_y = scale_factor; in AdjustBox()
Dframe_pair.h39 float* const scale_y) const;
Dobject_tracker.cc293 float scale_y; in TrackBox() local
297 tracked_box, &translation_x, &translation_y, &scale_x, &scale_y); in TrackBox()
301 if (scale_x > 0 && scale_y > 0) { in TrackBox()
302 tracked_box.Scale(scale_x, scale_y); in TrackBox()
/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/igt-gpu-tools/overlay/x11/
Dposition.c162 float scale_x, scale_y; in x11_position() local
167 } else if (sscanf(geometry, "%f%%x%f%%", &scale_x, &scale_y) == 2) { in x11_position()
171 *h = (*h * scale_y) / 100.; in x11_position()
/external/tensorflow/tensorflow/core/kernels/image/
Dresize_area_op.cc235 float scale_y; in ComputeLoop() local
237 scale_y = (i + 1 > in_y1 ? st.height_scale : i + 1 - in_y); in ComputeLoop()
239 scale_y = (i + 1 > in_y1 ? in_y1 - i : 1.0); in ComputeLoop()
242 y_scales.push_back(scale_y); in ComputeLoop()
Dresize_area_op_test.cc122 float scale_y = i < in_y in ResizeAreaBaseline() local
135 scale_y * scale_x * scale; in ResizeAreaBaseline()
Dresize_bicubic_op_test.cc257 float scale_y = 0.3, float scale_x = 0.7) { in ResizeBicubic() argument
263 shape_t(0) = scale_y * size; in ResizeBicubic()
/external/pdfium/fpdfsdk/
Dfpdf_view.cpp342 double* scale_y) { in GetScaling() argument
345 ASSERT(scale_y); in GetScaling()
353 *scale_y = size_y / page_height; in GetScaling()
356 *scale_y = size_x / page_height; in GetScaling()
368 double scale_y = 0.0f; in GetMaskDimensionsAndOffsets() local
369 GetScaling(pPage, size_x, size_y, rotate, &scale_x, &scale_y); in GetMaskDimensionsAndOffsets()
370 if (scale_x < kEpsilonSize || scale_y < kEpsilonSize) in GetMaskDimensionsAndOffsets()
375 int start_y_bm = static_cast<int>(mask_box.bottom * scale_y); in GetMaskDimensionsAndOffsets()
378 int size_y_bm = static_cast<int>(mask_box.top * scale_y + 1.0f) - in GetMaskDimensionsAndOffsets()
379 static_cast<int>(mask_box.bottom * scale_y); in GetMaskDimensionsAndOffsets()
/external/webrtc/modules/desktop_capture/mac/
Dwindow_list_utils.cc375 float scale_y = size.height() / window_bounds.height(); in GetWindowScaleFactor() local
377 if ((std::fabs(scale_x - scale_y) <= in GetWindowScaleFactor()
378 std::numeric_limits<float>::epsilon() * std::max(scale_x, scale_y)) && in GetWindowScaleFactor()
/external/mesa3d/src/gallium/auxiliary/vl/
Dvl_compositor_cs.c37 float scale_y; member
666 *ptr_float++ = drawn->scale_y; in set_viewport()
716 drawn.scale_y = layer->viewport.scale[1] / in draw_layers()
/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
713 XC(bmp_draw->pt.x) * ddata->scale_x, YC(bmp_draw->pt.y) * ddata->scale_y, in ipa_bmp_draw()
714 width * ddata->scale_x, height * ddata->scale_y, magick_wand); in ipa_bmp_draw()
846 DrawScale(WmfDrawingWand, ddata->scale_x, ddata->scale_y); in ipa_device_begin()
1545 text_width = metrics.width * (ddata->scale_y / ddata->scale_x); in ipa_draw_text()
1613 DrawScale(WmfDrawingWand, ddata->scale_y / ddata->scale_x, 1.0); in ipa_draw_text()
2010 ((double) 1 / (ddata->scale_y))) / 2; in util_set_pen()
2756 ddata->scale_y = (image_height/bounding_height); in ReadWMFImage()
2762 ddata->scale_y = (-image_height/bounding_height); in ReadWMFImage()
2791 ddata->scale_y); in ReadWMFImage()
/external/mesa3d/src/gallium/drivers/iris/
Diris_blit.c206 float scale_y = (float) (*src_y1 - *src_y0) / (*dst_y1 - *dst_y0); in apply_blit_scissor() local
218 clip_dst_y0, clip_dst_y1, scale_y, true); in apply_blit_scissor()
222 clip_dst_y1, clip_dst_y0, scale_y, false); in apply_blit_scissor()
/external/virglrenderer/src/
Dvrend_blitter.c597 float scale_y = (float)info->dst.box.height / (float)info->src.box.height; in calc_dst_deltas_from_src() local
600 dst0_delta->dy = src0_delta->dy * scale_y; in calc_dst_deltas_from_src()
603 dst1_delta->dy = src1_delta->dy * scale_y; in calc_dst_deltas_from_src()
/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/angle/util/fuchsia/
DScenicWindow.cpp259 mDisplayScaleY = metrics.scale_y; in onViewMetrics()
/external/harfbuzz_ng/util/
Doptions.cc695 int scale_y = (int) scalbnf (font_size_y, subpixel_bits); in get_font() local
696 hb_font_set_scale (font, scale_x, scale_y); in get_font()
/external/libgav1/libgav1/src/tile/
Dprediction.cc987 const int scale_y = ((reference_height << kReferenceScaleShift) + in ScaleMotionVector() local
991 scale_y, kReferenceScaleShift - kScaleSubPixelBits); in ScaleMotionVector()
993 const int64_t base_y = static_cast<int64_t>(orig_y) * scale_y - in ScaleMotionVector()
/external/igt-gpu-tools/lib/
Digt_fb.c1488 double scale_x, scale_y; in igt_paint_image() local
1497 scale_y = (double)dst_height / img_height; in igt_paint_image()
1502 cairo_scale(cr, scale_x, scale_y); in igt_paint_image()

12