Home
last modified time | relevance | path

Searched refs:PL_MIN (Results 1 – 25 of 35) sorted by relevance

12

/dports/graphics/libplacebo/libplacebo-4.157.0/src/
H A Dcommon.c35 .x0 = PL_MIN(rc->x0, rc->x1), in pl_rect2d_normalize()
37 .y0 = PL_MIN(rc->y0, rc->y1), in pl_rect2d_normalize()
45 .x0 = PL_MIN(rc->x0, rc->x1), in pl_rect3d_normalize()
47 .y0 = PL_MIN(rc->y0, rc->y1), in pl_rect3d_normalize()
49 .z0 = PL_MIN(rc->z0, rc->z1), in pl_rect3d_normalize()
57 .x0 = PL_MIN(rc->x0, rc->x1), in pl_rect2df_normalize()
59 .y0 = PL_MIN(rc->y0, rc->y1), in pl_rect2df_normalize()
67 .x0 = PL_MIN(rc->x0, rc->x1), in pl_rect3df_normalize()
69 .y0 = PL_MIN(rc->y0, rc->y1), in pl_rect3df_normalize()
71 .z0 = PL_MIN(rc->z0, rc->z1), in pl_rect3df_normalize()
H A Dpl_thread_win32.h89 BOOL bRet = SleepConditionVariableCS(cond, mutex, PL_MIN(timeout / 1000000LLU, INFINITE - 1)); in pl_cond_timedwait()
H A Dcommon.h138 #define PL_MIN(x, y) ((x) < (y) ? (x) : (y)) macro
H A Drenderer.c1285 int num_comps = PL_MIN(4, a->comps + b->comps); in merge_fmt()
2284 rx1 = roundf(PL_MIN(dst->x1, dst_ref->params.w)), in fix_refs_and_rects()
2285 ry1 = roundf(PL_MIN(dst->y1, dst_ref->params.h)); in fix_refs_and_rects()
2359 bits->color_depth = PL_MIN(bits->color_depth, bits->sample_depth); in fix_color_space()
2640 end = PL_MIN(end, images->vsync_duration); in pl_render_image_mix()
2935 int x0 = roundf(PL_MIN(frame->crop.x0, frame->crop.x1)), in pl_frame_is_cropped()
2936 y0 = roundf(PL_MIN(frame->crop.y0, frame->crop.y1)), in pl_frame_is_cropped()
H A Dgpu.c1322 size_t stride = PL_MIN(src_layout.stride, dst_layout.stride); in memcpy_layout()
1763 const int threads = PL_MIN(256, pl_rect_w(params->rc)); in pl_tex_upload_texel()
1838 const int threads = PL_MIN(256, pl_rect_w(params->rc)); in pl_tex_download_texel()
1937 int bw = PL_MIN(32, pl_rect_w(dst_rc)); in pl_tex_blit_compute()
1938 int bh = PL_MIN(threads / bw, pl_rect_h(dst_rc)); in pl_tex_blit_compute()
H A Ddispatch.c1202 rc_norm.x1 = PL_MIN(rc_norm.x1, tpars->w); in pl_dispatch_finish()
1203 rc_norm.y1 = PL_MIN(rc_norm.y1, tpars->h); in pl_dispatch_finish()
/dports/games/xonotic/Xonotic/source/qcsrc/common/mutators/mutator/spawn_near_teammate/
H A Dsv_spawn_near_teammate.qc119 …tracebox(it.origin, STAT(PL_MIN, player), STAT(PL_MAX, player), it.origin - v_forward * 64 + v_rig…
122 …tracebox(it.origin, STAT(PL_MIN, player), STAT(PL_MAX, player), it.origin - v_forward * 64 - v_rig…
125 …tracebox(it.origin, STAT(PL_MIN, player), STAT(PL_MAX, player), it.origin + v_right * 192 + v_up *…
128 …tracebox(it.origin, STAT(PL_MIN, player), STAT(PL_MAX, player), it.origin - v_right * 192 + v_up *…
131 …tracebox(it.origin, STAT(PL_MIN, player), STAT(PL_MAX, player), it.origin - v_forward * 128 + v_ri…
134 …tracebox(it.origin, STAT(PL_MIN, player), STAT(PL_MAX, player), it.origin - v_forward * 128 - v_ri…
144 …tracebox(horizontal_trace_endpos, STAT(PL_MIN, player), STAT(PL_MAX, player), horizontal_trace_end…
151 …if (tracebox_hits_trigger_hurt(horizontal_trace_endpos, STAT(PL_MIN, player), STAT(PL_MAX, player)…
/dports/games/xonotic/Xonotic/source/qcsrc/lib/csqcmodel/
H A Dsettings.qh20 //vector PL_MIN = ...;
H A Dcl_player.qc118 this.mins = STAT(PL_MIN, this);
/dports/graphics/libplacebo/libplacebo-4.157.0/src/utils/
H A Dupload.c115 left_delta = PL_MIN(left_delta, aligned.component_pad[i]); in pl_plane_data_align()
128 right_delta = PL_MIN(right_delta, aligned.component_pad[i+1]); in pl_plane_data_align()
H A Dframe_queue.c202 return fabs((new - old) / PL_MIN(new, old)); in delta()
/dports/graphics/libplacebo/libplacebo-4.157.0/src/vulkan/
H A Dcontext.c515 api_ver = PL_MIN(api_ver, params->max_api_version); in pl_vk_inst_create()
1043 .queueCount = PL_MIN(qcount, qfs[idx].queueCount), in add_qinfo()
1344 vk->api_ver = PL_MIN(vk->api_ver, params->max_api_version); in pl_vulkan_create()
1367 glsl->version = PL_MIN(glsl->version, params->max_glsl_version); in pl_vulkan_create()
1454 vk->api_ver = PL_MIN(vk->api_ver, params->max_api_version); in pl_vulkan_import()
1549 glsl->version = PL_MIN(glsl->version, params->max_glsl_version); in pl_vulkan_import()
H A Dgpu_buf.c436 PL_MIN(size_base, max_transfer), in vk_buf_write()
H A Dswapchain.c490 info->minImageCount = PL_MIN(info->minImageCount, caps.maxImageCount); in update_swapchain_info()
/dports/games/xonotic/Xonotic/source/qcsrc/common/
H A Dcsqcmodel_settings.qh79 //vector PL_MIN = ...;
H A Dstats.qh50 REGISTER_STAT(PL_MIN, vector)
/dports/graphics/libplacebo/libplacebo-4.157.0/src/opengl/
H A Dcontext.c189 glsl->version = PL_MIN(glsl->version, params->max_glsl_version); in pl_opengl_create()
/dports/graphics/libplacebo/libplacebo-4.157.0/src/shaders/
H A Dsampling.c399 threshold = PL_MIN(threshold, 1.0); in pl_shader_sample_oversample()
550 float inv_scale = 1.0 / PL_MIN(rx, ry); in pl_shader_sample_polar()
720 use_gather &= PL_MIN(x, y) >= sh_glsl(sh).min_gather_offset; in pl_shader_sample_polar()
/dports/games/xonotic/Xonotic/source/qcsrc/common/vehicles/vehicle/
H A Dbumblebee.qc187 …tracebox(gunner.origin + '0 0 32', STAT(PL_MIN, player), STAT(PL_MAX, player), prefer_spot, MOVE_N…
191 …mysize = 1.5 * vlen(STAT(PL_MAX, player) - STAT(PL_MIN, player)); // can't use gunner's size, as t…
200 tracebox(v2, STAT(PL_MIN, player), STAT(PL_MAX, player), v, MOVE_NORMAL, player);
227 setsize(player, STAT(PL_MIN, player), STAT(PL_MAX, player));
/dports/games/xonotic/Xonotic/source/qcsrc/server/
H A Dportals.qc311 if(toucher.mins_x < PL_MIN.x || toucher.mins_y < PL_MIN.y || toucher.mins_z < PL_MIN.z
/dports/graphics/libplacebo/libplacebo-4.157.0/src/d3d11/
H A Dswapchain.c189 desc.BufferCount = PL_MIN(desc.BufferCount, DXGI_MAX_SWAP_CHAIN_BUFFERS); in create_swapchain_1_2()
/dports/games/xonotic/Xonotic/source/qcsrc/server/bot/default/
H A Dnavigation.qc785 down = '0 0 -1' * (STAT(PL_MAX, this).z - STAT(PL_MIN, this).z) * 10;
928 …if (tracewalk(this, startposition, STAT(PL_MIN, this), STAT(PL_MAX, this), (e.absmin + e.absmax) *…
947 …if(tracewalk(this, nearest_wp.enemy.origin, STAT(PL_MIN, this), STAT(PL_MAX, this), (this.goalenti…
1146 …if(tracewalk(bot_waypoint_queue_goal, this.origin, STAT(PL_MIN, this), STAT(PL_MAX, this), bot_way…
/dports/games/xonotic/Xonotic/source/qcsrc/common/triggers/
H A Dteleporters.qc110 // assuming to allows PL_MIN to PL_MAX box and some more
/dports/games/xonotic/Xonotic/source/qcsrc/common/physics/
H A Dplayer.qc42 STAT(PL_MIN, this) = autocvar_sv_player_mins;
125 tracebox(this.origin, STAT(PL_MIN, this), STAT(PL_MAX, this), this.origin, MOVE_NORMAL, this);
/dports/games/xonotic/Xonotic/source/qcsrc/common/vehicles/
H A Dsv_vehicles.qc817 setsize(player, STAT(PL_MIN,player), STAT(PL_MAX, player));
989 setsize (pl, STAT(PL_MIN, pl), STAT(PL_MAX, pl));

12