Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Dresize_area_op.cc71 float scale_x = x_interp.start_scale; in ComputePatchSumOf3Channels() local
73 float sum_y_0 = static_cast<float>(ptr[offset + 0]) * scale_x; in ComputePatchSumOf3Channels()
74 float sum_y_1 = static_cast<float>(ptr[offset + 1]) * scale_x; in ComputePatchSumOf3Channels()
75 float sum_y_2 = static_cast<float>(ptr[offset + 2]) * scale_x; in ComputePatchSumOf3Channels()
84 scale_x = x_interp.end_minus_one_scale; in ComputePatchSumOf3Channels()
86 sum_y_0 += static_cast<float>(ptr[offset + 0]) * scale_x; in ComputePatchSumOf3Channels()
87 sum_y_1 += static_cast<float>(ptr[offset + 1]) * scale_x; in ComputePatchSumOf3Channels()
88 sum_y_2 += static_cast<float>(ptr[offset + 2]) * scale_x; in ComputePatchSumOf3Channels()
120 float scale_x = x_interp.start_scale; in ComputePatchSum() local
125 scale_x; in ComputePatchSum()
[all …]
Dresize_area_op_test.cc123 float scale_x = j < in_x 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
262 shape_t(1) = scale_x * size; in ResizeBicubic()
/external/u-boot/drivers/video/
Dstb_truetype.h762 STBTT_DEF unsigned char *stbtt_GetCodepointBitmap(const stbtt_fontinfo *info, float scale_x, float …
771 STBTT_DEF unsigned char *stbtt_GetCodepointBitmapSubpixel(const stbtt_fontinfo *info, float scale_x
775 …info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, i…
781 …info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, f…
785 STBTT_DEF void stbtt_GetCodepointBitmapBox(const stbtt_fontinfo *font, int codepoint, float scale_x
792 …epointBitmapBoxSubpixel(const stbtt_fontinfo *font, int codepoint, float scale_x, float scale_y, f…
798 STBTT_DEF unsigned char *stbtt_GetGlyphBitmap(const stbtt_fontinfo *info, float scale_x, float scal…
799 STBTT_DEF unsigned char *stbtt_GetGlyphBitmapSubpixel(const stbtt_fontinfo *info, float scale_x, fl…
800 …info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, i…
801 …info, unsigned char *output, int out_w, int out_h, int out_stride, float scale_x, float scale_y, f…
[all …]
/external/mesa3d/src/gallium/state_trackers/xa/
Dxa_yuv.c123 float scale_x; in xa_yuv_planar_blit() local
140 scale_x = (float)src_w / (float)dst_w; in xa_yuv_planar_blit()
151 (float)src_x + scale_x * (x - dst_x), 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
226 left_ *= scale_x; in ScaleOrigin()
227 right_ *= scale_x; in ScaleOrigin()
232 inline void Scale(const float scale_x, const float scale_y) { in Scale() argument
237 left_ = center.x - half_width * scale_x; in Scale()
238 right_ = center.x + half_width * scale_x; in Scale()
Dframe_pair.cc34 float* const scale_x, in AdjustBox() argument
55 *scale_x = 1.0f; in AdjustBox()
74 *scale_x = scale_factor; in AdjustBox()
Dobject_tracker.cc290 float scale_x; 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.h38 float* const scale_x,
/external/proguard/src/proguard/gui/splash/
DImageSprite.java68 double scale_x = scaleX.getDouble(time); in paint() local
71 int width = (int)(image.getWidth(null) * scale_x); in paint()
/external/libxcam/modules/ocl/
Dcl_image_warp_handler.cpp134 float scale_x = 1.0f - 2.0f * warp_config.trim_ratio; in prepare_arguments() local
137 warp_config.proj_mat[0] = scale_x * warp_config.proj_mat[0] + shift_x * warp_config.proj_mat[6]; in prepare_arguments()
138 warp_config.proj_mat[1] = scale_x * warp_config.proj_mat[1] + shift_x * warp_config.proj_mat[7]; in prepare_arguments()
139 warp_config.proj_mat[2] = scale_x * warp_config.proj_mat[2] + shift_x * warp_config.proj_mat[8]; in prepare_arguments()
/external/pdfium/fpdfsdk/
Dfpdfview.cpp751 double* scale_x, in GetScaling() argument
754 ASSERT(scale_x); in GetScaling()
762 *scale_x = size_x / page_width; in GetScaling()
765 *scale_x = size_y / page_width; in GetScaling()
777 double scale_x = 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()
784 int start_x_bm = static_cast<int>(mask_box.left * scale_x); in GetMaskDimensionsAndOffsets()
786 int size_x_bm = static_cast<int>(mask_box.right * scale_x + 1.0f) - in GetMaskDimensionsAndOffsets()
787 static_cast<int>(mask_box.left * scale_x); in GetMaskDimensionsAndOffsets()
/external/libdrm/exynos/
Dexynos_fimg2d.c690 unsigned int scale_x, scale_y; in g2d_copy_with_scale() local
700 scale_x = g2d_get_scaling(src_w, dst_w); in g2d_copy_with_scale()
751 g2d_add_cmd(ctx, SRC_XSCALE_REG, scale_x); in g2d_copy_with_scale()
916 unsigned int scale_x, scale_y; in g2d_scale_and_blend() local
922 scale_x = g2d_get_scaling(src_w, dst_w); in g2d_scale_and_blend()
986 g2d_add_cmd(ctx, SRC_XSCALE_REG, scale_x); in g2d_scale_and_blend()
/external/ImageMagick/coders/
Dwmf.c331 scale_x, 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()
1644 line_height = ((double)1/(ddata->scale_x))*metrics.underline_thickness; in ipa_draw_text()
1665 line_height = ((double)1/(ddata->scale_x))*metrics.underline_thickness; in ipa_draw_text()
2011 pixel_width = (((double) 1 / (ddata->scale_x)) + in util_set_pen()
2762 ddata->scale_x = image_width/bounding_width; in ReadWMFImage()
[all …]
/external/pdfium/core/fxge/
Dcfx_renderdevice.cpp938 float scale_x = fabs(matrixCTM.a); 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()
980 FX_RECT bmp_rect(FXSYS_round((float)(bmp_rect1.left) / scale_x), in DrawNormalText()
982 FXSYS_round((float)bmp_rect1.right / scale_x), in DrawNormalText()
988 int pixel_width = FXSYS_round(bmp_rect.Width() * scale_x); in DrawNormalText()
990 int pixel_left = FXSYS_round(bmp_rect.left * scale_x); in DrawNormalText()
/external/virglrenderer/src/
Dvrend_blitter.c680 float scale_x = (float)info->dst.box.width / (float)info->src.box.width; in calc_dst_deltas_from_src() local
683 dst0_delta->dx = src0_delta->dx * scale_x; in calc_dst_deltas_from_src()
686 dst1_delta->dx = src1_delta->dx * scale_x; in calc_dst_deltas_from_src()
/external/libxcam/tests/
Dtest-cl-image.cpp452 float scale_x = 2.0f; in main() local
459 warp_config.proj_mat[0] = scale_x; in main()
/external/pdfium/core/fxge/dib/
Dcstretchengine.cpp269 double scale_x = static_cast<float>(m_SrcWidth) / m_DestWidth; in CStretchEngine() local
273 double src_left = scale_x * (clip_rect.left + base_x); in CStretchEngine()
274 double src_right = scale_x * (clip_rect.right + base_x); in CStretchEngine()
/external/skqp/experimental/pvg/
Ddraw_msg.proto98 float scale_x = 3; // default = 1.0 field
/external/skia/experimental/pvg/
Ddraw_msg.proto98 float scale_x = 3; // default = 1.0 field
/external/webrtc/webrtc/base/
Dx11windowpicker.cc511 double scale_x = static_cast<double>(dst_width) / in GetDrawableThumbnail() local
515 double scale = std::min(scale_y, scale_x); in GetDrawableThumbnail()
/external/harfbuzz_ng/util/
Doptions.cc682 int scale_x = (int) scalbnf (font_size_x, subpixel_bits); in get_font() local
684 hb_font_set_scale (font, scale_x, scale_y); in get_font()
/external/freetype/
DChangeLog.234603 * include/freetype/internal/psaux.h (T1_BuilderRec): Remove `scale_x'
4605 * src/cff/cffgload.h (CFF_Builder): Remove `scale_x' and `scale_y'.
4853 * include/freetype/internal/psaux.h (T1_BuilderRec): Mark `scale_x'
4857 * src/cff/cffgload.h (CFF_Builder): Mark `scale_x' and `scale_y' as