/external/mesa3d/src/gallium/frontends/xa/ |
D | xa_yuv.c | 124 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/ |
D | progressivedecoder.cpp | 308 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 …]
|
D | progressivedecoder.h | 197 double scale_y, 240 double scale_y, 243 double scale_y,
|
/external/mesa3d/src/imgui/ |
D | imstb_truetype.h | 857 …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/ |
D | geom.h | 225 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()
|
D | frame_pair.cc | 36 float* const scale_y) const { in AdjustBox() 57 *scale_y = 1.0f; in AdjustBox() 76 *scale_y = scale_factor; in AdjustBox()
|
D | frame_pair.h | 39 float* const scale_y) const;
|
D | object_tracker.cc | 293 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/ |
D | ImageSprite.java | 69 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/ |
D | position.c | 162 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/ |
D | resize_area_op.cc | 235 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()
|
D | resize_area_op_test.cc | 122 float scale_y = i < in_y in ResizeAreaBaseline() local 135 scale_y * scale_x * scale; in ResizeAreaBaseline()
|
D | resize_bicubic_op_test.cc | 257 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/ |
D | fpdf_view.cpp | 342 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/ |
D | window_list_utils.cc | 375 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/ |
D | vl_compositor_cs.c | 37 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/ |
D | exynos_fimg2d.c | 690 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/ |
D | wmf.c | 332 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/ |
D | iris_blit.c | 206 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/ |
D | vrend_blitter.c | 597 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/ |
D | cstretchengine.cpp | 270 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/ |
D | ScenicWindow.cpp | 259 mDisplayScaleY = metrics.scale_y; in onViewMetrics()
|
/external/harfbuzz_ng/util/ |
D | options.cc | 695 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/ |
D | prediction.cc | 987 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/ |
D | igt_fb.c | 1488 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()
|