Home
last modified time | relevance | path

Searched refs:offs_y (Results 26 – 50 of 57) sorted by relevance

123

/dports/multimedia/lives/lives-3.2.0/src/
H A Dframedraw.c1111 double offs_x, offs_y; in on_framedraw_mouse_update() local
1115 offs_y = (ystart - ycurrent) / scale; in on_framedraw_mouse_update()
1119 if (yinit + offs_y < .5 / scale) offs_y = .5 / scale - yinit; in on_framedraw_mouse_update()
1120 if (yinit + offs_y > 1. - .5 / scale) offs_y = 1. - .5 / scale - yinit; in on_framedraw_mouse_update()
1128 …ives_spin_button_set_value(LIVES_SPIN_BUTTON(framedraw->ystart_param->widgets[0]), yinit + offs_y); in on_framedraw_mouse_update()
1130 …pin_button_set_value(LIVES_SPIN_BUTTON(framedraw->ystart_param->widgets[0]), (int)((yinit + offs_y) in on_framedraw_mouse_update()
1198 double offs_x, offs_y, scale, xend, yend; in on_framedraw_mouse_reset() local
1227 offs_y = (ycurrent - ystart) / scale; in on_framedraw_mouse_reset()
1235 …lives_spin_button_set_value(LIVES_SPIN_BUTTON(framedraw->ystart_param->widgets[0]), yend + offs_y); in on_framedraw_mouse_reset()
1237 …spin_button_set_value(LIVES_SPIN_BUTTON(framedraw->ystart_param->widgets[0]), (int)((yend + offs_y) in on_framedraw_mouse_reset()
H A Dplugins.h356 int offs_y; member
H A Dcolourspace.c13025 int offs_x = 0, offs_y = 0; in letterbox_layer() local
13086 offs_y = (nheight - height + 1) >> 1; in letterbox_layer()
13138 dst = (uint8_t *)new_pixel_data[0] + offs_y * rowstrides[0] + offs_x; in letterbox_layer()
13145 dst = (uint8_t *)new_pixel_data[1] + offs_y * rowstrides[1] + offs_x; in letterbox_layer()
13152 dst = (uint8_t *)new_pixel_data[2] + offs_y * rowstrides[2] + offs_x; in letterbox_layer()
13162 dst = (uint8_t *)new_pixel_data[0] + offs_y * rowstrides[0] + offs_x; in letterbox_layer()
13169 dst = (uint8_t *)new_pixel_data[1] + offs_y * rowstrides[1] + offs_x; in letterbox_layer()
13176 dst = (uint8_t *)new_pixel_data[2] + offs_y * rowstrides[2] + offs_x; in letterbox_layer()
13183 dst = (uint8_t *)new_pixel_data[3] + offs_y * rowstrides[3] + offs_x; in letterbox_layer()
13193 dst = (uint8_t *)new_pixel_data[0] + offs_y * rowstrides[0] + offs_x; in letterbox_layer()
[all …]
/dports/games/retroarch/RetroArch-1.9.7/gfx/drivers/
H A Dswitch_nx_gfx.c88 uint32_t offs_y = swizzle_y(y0); in gfx_slow_swizzling_blit() local
99 uint32_t *dest_line = dest + offs_y; in gfx_slow_swizzling_blit()
121 offs_y = (offs_y - y_mask) & y_mask; in gfx_slow_swizzling_blit()
122 if (!offs_y) in gfx_slow_swizzling_blit()
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/pygimp/
H A Dpygimp-drawable.c1542 int offs_x = 0, offs_y = 0; in lay_resize() local
1547 &new_w, &new_h, &offs_x, &offs_y)) in lay_resize()
1554 self->ID, new_w, new_h, offs_x, offs_y); in lay_resize()
1618 int offs_x, offs_y; in lay_translate() local
1623 &offs_x, &offs_y)) in lay_translate()
1626 if (!gimp_item_transform_translate(self->ID, offs_x, offs_y)) { in lay_translate()
1629 self->ID, offs_x, offs_y); in lay_translate()
1641 int offs_x, offs_y; in lay_set_offsets() local
1646 &offs_x, &offs_y)) in lay_set_offsets()
1649 if (!gimp_layer_set_offsets(self->ID, offs_x, offs_y)) { in lay_set_offsets()
[all …]
/dports/emulators/mess/mame-mame0226/src/mame/video/
H A Dlaserbat.cpp175 int const offs_y = m_screen->visible_area().max_y + m_screen->visible_area().min_y; in screen_update_laserbat() local
180 uint16_t const *const src = &m_bitmap.pix(flip_y ? (offs_y - y) : y); in screen_update_laserbat()
H A Dcave.cpp1169 const int offs_y = m_layers_offs_y; in tilemap_draw() local
1182 const int sy = TILEMAP->scrolly() - m_videoregs[chip][1] + (flipy ? (offs_y + 2) : -offs_y); in tilemap_draw()
/dports/emulators/mame/mame-mame0226/src/mame/video/
H A Dlaserbat.cpp175 int const offs_y = m_screen->visible_area().max_y + m_screen->visible_area().min_y; in screen_update_laserbat() local
180 uint16_t const *const src = &m_bitmap.pix(flip_y ? (offs_y - y) : y); in screen_update_laserbat()
H A Dcave.cpp1169 const int offs_y = m_layers_offs_y; in tilemap_draw() local
1182 const int sy = TILEMAP->scrolly() - m_videoregs[chip][1] + (flipy ? (offs_y + 2) : -offs_y); in tilemap_draw()
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/eeschema/
H A Dautoplace_fields.cpp541 int offs_y = ( m_symbol_bbox.GetHeight() + m_fbox_size.GetHeight() ) / 2; in fieldBoxPlacement() local
546 offs_y += VPADDING; in fieldBoxPlacement()
549 fbox_center.y += aFieldSideAndPins.side.y * offs_y; in fieldBoxPlacement()
/dports/multimedia/lives/lives-3.2.0/lives-plugins/plugins/decoders/
H A Ddv_decoder.c140 cdata->offs_y = 0; in attach_stream()
272 clone->offs_y = (clone->frame_height - clone->height) / 2; in dv_clone()
276 clone->frame_height = clone->height + clone->offs_y * 2; in dv_clone()
H A Dmkv_decoder.c1881 cdata->offs_x = cdata->offs_y = 0; in attach_stream()
1919 cdata->offs_y = 0; in attach_stream()
1929 …data->width, cdata->height, cdata->frame_width, cdata->frame_height, cdata->offs_x, cdata->offs_y); in attach_stream()
2035 if (cdata->height == 0) cdata->height = ctx->height - cdata->offs_y * 2; in attach_stream()
2217 clone->offs_y = (clone->frame_height - clone->height) / 2; in mkv_clone()
2221 clone->frame_height = clone->height + clone->offs_y * 2; in mkv_clone()
2224 if (dpriv->ctx->height == clone->frame_height) clone->offs_y = 0; in mkv_clone()
2304 cdata->offs_y = (cdata->frame_height - cdata->height) / 2; in get_clip_data()
2308 cdata->frame_height = cdata->height + cdata->offs_y * 2; in get_clip_data()
2313 if (priv->ctx->height == cdata->frame_height) cdata->offs_y = 0; in get_clip_data()
[all …]
H A Dasf_decoder.c1019 cdata->offs_x = cdata->offs_y = 0; in attach_stream()
1029 cdata->offs_y = 0; in attach_stream()
2119 …data->width, cdata->height, cdata->frame_width, cdata->frame_height, cdata->offs_x, cdata->offs_y); in attach_stream()
2296 if (cdata->height == 0) cdata->height = ctx->height - cdata->offs_y * 2; in attach_stream()
2451 clone->frame_height = clone->height + clone->offs_y * 2; in asf_clone()
2454 if (dpriv->ctx->height == clone->frame_height) clone->offs_y = 0; in asf_clone()
2522 cdata->frame_height = cdata->height + cdata->offs_y * 2; in get_clip_data()
2527 if (priv->ctx->height == cdata->frame_height) cdata->offs_y = 0; in get_clip_data()
2622 int btop = cdata->offs_y, bbot = xheight - 1 - btop; in get_frame()
H A Dmpegts_decoder.c2938 cdata->offs_x = cdata->offs_y = 0; in attach_stream()
2985 cdata->offs_y = 0; in attach_stream()
3014 …data->width, cdata->height, cdata->frame_width, cdata->frame_height, cdata->offs_x, cdata->offs_y); in attach_stream()
3150 if (cdata->height == 0) cdata->height = ctx->height - cdata->offs_y * 2; in attach_stream()
3292 clone->offs_y = (clone->frame_height - clone->height) / 2; in mpegts_clone()
3296 clone->frame_height = clone->height + clone->offs_y * 2; in mpegts_clone()
3299 if (dpriv->ctx->height == clone->frame_height) clone->offs_y = 0; in mpegts_clone()
3376 cdata->offs_y = (cdata->frame_height - cdata->height) / 2; in get_clip_data()
3380 cdata->frame_height = cdata->height + cdata->offs_y * 2; in get_clip_data()
3385 if (priv->ctx->height == cdata->frame_height) cdata->offs_y = 0; in get_clip_data()
[all …]
H A Ddecplugin.h206 int offs_y; member
H A Dogg_decoder.c938 cdata->offs_y = sformat->top_offset; in get_dirac_cdata()
1742 cdata->offs_y = 0; in attach_stream()
2234 clone->offs_y = (clone->frame_height - clone->height) / 2; in ogg_clone()
2238 clone->frame_height = clone->height + clone->offs_y * 2; in ogg_clone()
2314 cdata->offs_y = (cdata->frame_height - cdata->height) / 2; in get_clip_data()
2318 cdata->frame_height = cdata->height + cdata->offs_y * 2; in get_clip_data()
2673 int btop = cdata->offs_y, bbot = xheight - 1 - btop; in get_frame()
H A Davformat_decoder.c399 cdata->offs_y = 0; in attach_stream()
1065 int btop = cdata->offs_y, bbot = xheight - btop; in get_frame()
/dports/x11-wm/phoc/phoc-f26fa0123742ba95d303ad552fc1f8d2d0117288/src/
H A Dcursor.h32 int offs_x, offs_y; member
H A Dcursor.c261 double dy = cursor->cursor->y - cursor->offs_y; in roots_cursor_update_position()
287 double dy = cursor->cursor->y - cursor->offs_y; in roots_cursor_update_position()
/dports/graphics/blender/blender-2.91.0/source/blender/windowmanager/intern/
H A Dwm_playanim.c304 float offs_y = 0.5f * (1.0f - span_y); in playanim_toscreen() local
307 CLAMP(offs_y, 0.0f, 1.0f); in playanim_toscreen()
316 offs_y, in playanim_toscreen()
318 offs_y + span_y, in playanim_toscreen()
328 offs_y + (ps->draw_flip[1] ? span_y : 0.0f), in playanim_toscreen()
/dports/graphics/grafx2/grafx2/src/
H A Dbuttons.c151 int x_pos,offs_y,x,y; in Button_Message_initial() local
159 for (y=23,offs_y=0; y<79; offs_y+=231,y++) in Button_Message_initial()
161 Pixel_in_window(x,y,Gfx->Logo_grafx2[offs_y+x_pos]); in Button_Message_initial()
1291 word x, y, x_pos, offs_y; in Button_Skins() local
1370 for (y = 14, offs_y = 0; offs_y < 16; offs_y++, y++) in Button_Skins()
1372 Pixel_in_window(x, y, Gfx->Preview[offs_y][x_pos]); in Button_Skins()
1404 for (y = 14, offs_y = 0; offs_y < 16; offs_y++, y++) in Button_Skins()
1407 if (gfx->Preview[offs_y][x_pos] == gfx->Color[0]) in Button_Skins()
1409 else if (gfx->Preview[offs_y][x_pos] == gfx->Color[1]) in Button_Skins()
1411 else if (gfx->Preview[offs_y][x_pos] == gfx->Color[3]) in Button_Skins()
[all …]
/dports/lang/parrot/parrot-8.1.0/examples/sdl/
H A Dmandel.pir280 .local int w, x, y, pal_elems, raw_c, k, limit, offs_y
296 offs_y = w * y
335 $I0 = offs_y + x
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/vidhrdw/
H A Dcave_vidhrdw.c1293 int sx, sy, flipx, flipy, offs_x, offs_y, offs_row; in cave_tilemap_draw() local
1307 offs_y = cave_layers_offs_y; in cave_tilemap_draw()
1320 sy = VCTRL[1] - cave_videoregs[1] + (flipy ? (offs_y +2) : -offs_y); in cave_tilemap_draw()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/vidhrdw/
H A Dcave_vidhrdw.c1293 int sx, sy, flipx, flipy, offs_x, offs_y, offs_row; in cave_tilemap_draw() local
1307 offs_y = cave_layers_offs_y; in cave_tilemap_draw()
1320 sy = VCTRL[1] - cave_videoregs[1] + (flipy ? (offs_y +2) : -offs_y); in cave_tilemap_draw()
/dports/games/openttd/openttd-12.1/src/
H A Dwidget.cpp1767 int offs_y = base_offs_y; in Draw() local
1768 for (int y = start_y; y < start_y + this->widgets_y + 1; y++, offs_y += this->widget_h) { in Draw()
1770 if (offs_y + child->smallest_y <= 0) continue; in Draw()
1771 if (offs_y >= (int)this->current_y) break; in Draw()
1786 child->AssignSizePosition(ST_RESIZE, offs_x, offs_y, child->smallest_x, child->smallest_y, rtl); in Draw()

123