/dports/graphics/libplacebo/libplacebo-4.157.0/src/ |
H A D | common.c | 35 .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 D | pl_thread_win32.h | 89 BOOL bRet = SleepConditionVariableCS(cond, mutex, PL_MIN(timeout / 1000000LLU, INFINITE - 1)); in pl_cond_timedwait()
|
H A D | common.h | 138 #define PL_MIN(x, y) ((x) < (y) ? (x) : (y)) macro
|
H A D | renderer.c | 1285 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 D | gpu.c | 1322 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 D | dispatch.c | 1202 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 D | sv_spawn_near_teammate.qc | 119 …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 D | settings.qh | 20 //vector PL_MIN = ...;
|
H A D | cl_player.qc | 118 this.mins = STAT(PL_MIN, this);
|
/dports/graphics/libplacebo/libplacebo-4.157.0/src/utils/ |
H A D | upload.c | 115 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 D | frame_queue.c | 202 return fabs((new - old) / PL_MIN(new, old)); in delta()
|
/dports/graphics/libplacebo/libplacebo-4.157.0/src/vulkan/ |
H A D | context.c | 515 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 D | gpu_buf.c | 436 PL_MIN(size_base, max_transfer), in vk_buf_write()
|
H A D | swapchain.c | 490 info->minImageCount = PL_MIN(info->minImageCount, caps.maxImageCount); in update_swapchain_info()
|
/dports/games/xonotic/Xonotic/source/qcsrc/common/ |
H A D | csqcmodel_settings.qh | 79 //vector PL_MIN = ...;
|
H A D | stats.qh | 50 REGISTER_STAT(PL_MIN, vector)
|
/dports/graphics/libplacebo/libplacebo-4.157.0/src/opengl/ |
H A D | context.c | 189 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 D | sampling.c | 399 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 D | bumblebee.qc | 187 …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 D | portals.qc | 311 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 D | swapchain.c | 189 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 D | navigation.qc | 785 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 D | teleporters.qc | 110 // assuming to allows PL_MIN to PL_MAX box and some more
|
/dports/games/xonotic/Xonotic/source/qcsrc/common/physics/ |
H A D | player.qc | 42 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 D | sv_vehicles.qc | 817 setsize(player, STAT(PL_MIN,player), STAT(PL_MAX, player)); 989 setsize (pl, STAT(PL_MIN, pl), STAT(PL_MAX, pl));
|