Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/video/
H A 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 …]
/openbmc/qemu/ui/
H A Dgtk.c279 geo.min_width = surface_width(vc->gfx.ds) * vc->gfx.scale_x; in gd_update_geometry_hints()
410 x1 = floor(x * vc->gfx.scale_x); in gd_update()
413 x2 = ceil(x * vc->gfx.scale_x + w * vc->gfx.scale_x); in gd_update()
416 fbw = surface_width(vc->gfx.ds) * vc->gfx.scale_x; in gd_update()
845 vc->gfx.scale_x = (double)ww / fbw; in gd_draw_event()
853 vc->gfx.scale_x = vc->gfx.scale_y = MIN(sx, sy); in gd_draw_event()
856 fbw *= vc->gfx.scale_x; in gd_draw_event()
878 cairo_scale(cr, vc->gfx.scale_x, vc->gfx.scale_y); in gd_draw_event()
880 mx / vc->gfx.scale_x, my / vc->gfx.scale_y); in gd_draw_event()
900 fbw = surface_width(vc->gfx.ds) * vc->gfx.scale_x; in gd_motion_event()
[all …]
H A Dgtk-egl.c96 vc->gfx.scale_x = (double)ww / surface_width(vc->gfx.ds); in gd_egl_draw()
123 vc->gfx.scale_x = (double)ww / surface_width(vc->gfx.ds); in gd_egl_draw()
330 vc->gfx.cursor_x = pos_x * vc->gfx.scale_x; in gd_egl_cursor_position()
362 vc->gfx.scale_x, vc->gfx.scale_y); in gd_egl_scanout_flush()
H A Degl-helpers.c199 int x, int y, double scale_x, double scale_y) in egl_texture_blend() argument
202 int w = scale_x * src->width; in egl_texture_blend()
/openbmc/qemu/include/ui/
H A Degl-helpers.h39 int x, int y, double scale_x, double scale_y);
H A Dgtk.h44 double scale_x; member
/openbmc/linux/drivers/gpu/drm/tidss/
H A Dtidss_dispc.c1659 bool scale_x, scale_y; member
1684 sp->scale_x = sp->in_w != state->crtc_w; in dispc_vid_calc_scaling()
1692 sp->scale_x = true; in dispc_vid_calc_scaling()
1701 if ((!sp->scale_x && !sp->scale_y) || lite_plane) in dispc_vid_calc_scaling()
1714 if (sp->scale_x) { in dispc_vid_calc_scaling()
1799 if (sp->scale_x) { in dispc_vid_calc_scaling()
1817 if (sp->scale_x) in dispc_vid_calc_scaling()
1835 sp->scale_x, 7, 7); in dispc_vid_set_scaling()
1842 if (!sp->scale_x && !sp->scale_y) in dispc_vid_set_scaling()
1850 if (sp->scale_x) { in dispc_vid_set_scaling()
[all …]
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddispc.c1601 int scale_x = out_width != orig_width; in dispc_ovl_set_scaling_uv() local
1647 scale_x = scale_y = true; in dispc_ovl_set_scaling_uv()
1656 scale_x = true; in dispc_ovl_set_scaling_uv()
1666 (scale_x || scale_y) ? 1 : 0, 8, 8); in dispc_ovl_set_scaling_uv()
1669 REG_FLD_MOD(DISPC_OVL_ATTRIBUTES(plane), scale_x ? 1 : 0, 5, 5); in dispc_ovl_set_scaling_uv()
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddispc.c1886 int scale_x = out_width != orig_width; in dispc_ovl_set_scaling_uv() local
1934 scale_x = scale_y = true; in dispc_ovl_set_scaling_uv()
1943 scale_x = true; in dispc_ovl_set_scaling_uv()
1953 (scale_x || scale_y) ? 1 : 0, 8, 8); in dispc_ovl_set_scaling_uv()
1956 REG_FLD_MOD(dispc, DISPC_OVL_ATTRIBUTES(plane), scale_x ? 1 : 0, 5, 5); in dispc_ovl_set_scaling_uv()