Home
last modified time | relevance | path

Searched refs:get_param (Results 1 – 25 of 81) sorted by relevance

1234

/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c75 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS), in st_init_limits()
79 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_3D_LEVELS), in st_init_limits()
83 = _min(screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS), in st_init_limits()
90 = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_ARRAY_LAYERS); in st_init_limits()
103 = _min(screen->get_param(screen, PIPE_CAP_MAX_COMBINED_SAMPLERS), in st_init_limits()
120 = _clamp(screen->get_param(screen, PIPE_CAP_MAX_RENDER_TARGETS), in st_init_limits()
124 = _clamp(screen->get_param(screen, PIPE_CAP_MAX_DUAL_SOURCE_RENDER_TARGETS), in st_init_limits()
158 = CLAMP(screen->get_param(screen, PIPE_CAP_MAX_RENDER_TARGETS), in st_init_limits()
161 c->QuadsFollowProvokingVertexConvention = screen->get_param( in st_init_limits()
234 c->MinProgramTexelOffset = screen->get_param(screen, PIPE_CAP_MIN_TEXEL_OFFSET); in st_init_limits()
[all …]
Dst_context.c142 if (!screen->get_param(screen, PIPE_CAP_USER_INDEX_BUFFERS)) { in st_create_context_priv()
147 if (!screen->get_param(screen, PIPE_CAP_USER_CONSTANT_BUFFERS)) { in st_create_context_priv()
149 screen->get_param(screen, PIPE_CAP_CONSTANT_BUFFER_OFFSET_ALIGNMENT); in st_create_context_priv()
164 if(pipe->screen->get_param(pipe->screen, PIPE_CAP_NPOT_TEXTURES)) in st_create_context_priv()
197 screen->get_param(screen, PIPE_CAP_SHADER_STENCIL_EXPORT); in st_create_context_priv()
Dst_mesa_to_tgsi.c898 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT)) { in emit_wpos()
901 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT)) { in emit_wpos()
911 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_LOWER_LEFT)) in emit_wpos()
914 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_ORIGIN_UPPER_LEFT)) in emit_wpos()
923 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER)) { in emit_wpos()
928 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER)) { in emit_wpos()
939 if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_HALF_INTEGER)) { in emit_wpos()
942 else if (pscreen->get_param(pscreen, PIPE_CAP_TGSI_FS_COORD_PIXEL_CENTER_INTEGER)) { in emit_wpos()
/external/mesa3d/src/gallium/drivers/galahad/
Dglhd_screen.c79 return screen->get_param(screen, in galahad_screen_get_param()
159 unsigned max_texture_2d_levels = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS); in galahad_screen_resource_create()
166 unsigned max_texture_2d_levels = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS); in galahad_screen_resource_create()
173 … unsigned max_texture_cube_levels = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_CUBE_LEVELS); in galahad_screen_resource_create()
180 unsigned max_texture_2d_levels = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS); in galahad_screen_resource_create()
187 unsigned max_texture_3d_levels = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_3D_LEVELS); in galahad_screen_resource_create()
194 unsigned max_texture_2d_levels = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS); in galahad_screen_resource_create()
199 …glhd_check("%u", templat->array_size, <= screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_ARRAY_LAYE… in galahad_screen_resource_create()
201 unsigned max_texture_2d_levels = screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS); in galahad_screen_resource_create()
206 …glhd_check("%u", templat->array_size, <= screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_ARRAY_LAYE… in galahad_screen_resource_create()
[all …]
/external/libdrm/freedreno/msm/
Dmsm_pipe.c85 .get_param = msm_pipe_get_param,
90 static uint64_t get_param(struct fd_device *dev, uint32_t pipe, uint32_t param) in get_param() function
127 msm_pipe->gpu_id = get_param(dev, pipe_id[id], MSM_PARAM_GPU_ID); in msm_pipe_new()
128 msm_pipe->gmem = get_param(dev, pipe_id[id], MSM_PARAM_GMEM_SIZE); in msm_pipe_new()
129 msm_pipe->chip_id = get_param(dev, pipe_id[id], MSM_PARAM_CHIP_ID); in msm_pipe_new()
/external/opencv3/modules/flann/include/opencv2/flann/
Dautotuned_index.h79 target_precision_ = get_param(params, "target_precision",0.8f); in dataset_()
80 build_weight_ = get_param(params,"build_weight", 0.01f); in dataset_()
81 memory_weight_ = get_param(params, "memory_weight", 0.0f); in dataset_()
82 sample_fraction_ = get_param(params,"sample_fraction", 0.1f); in dataset_()
128 save_value(stream, get_param<int>(bestSearchParams_, "checks")); in saveIndex()
153 int checks = get_param<int>(searchParams,"checks",FLANN_CHECKS_AUTOTUNED); in findNeighbors()
229 get_param<int>(cost.params,"iterations"), in evaluate_kmeans()
230 get_param<int>(cost.params,"branching")); in evaluate_kmeans()
255 Logger::info("KDTree using params: trees=%d\n", get_param<int>(cost.params,"trees")); in evaluate_kdtree()
Dall_indices.h54 flann_algorithm_t index_type = get_param<flann_algorithm_t>(params, "algorithm"); in create()
95 flann_algorithm_t index_type = get_param<flann_algorithm_t>(params, "algorithm");
124 flann_algorithm_t index_type = get_param<flann_algorithm_t>(params, "algorithm");
Dparams.h59 T get_param(const IndexParams& params, cv::String name, const T& default_value) in get_param() function
71 T get_param(const IndexParams& params, cv::String name) in get_param() function
Dlsh_index.h95 table_number_ = (unsigned int)get_param<int>(index_params_,"table_number",12); in dataset_()
96 key_size_ = (unsigned int)get_param<int>(index_params_,"key_size",20); in dataset_()
97 multi_probe_level_ = (unsigned int)get_param<int>(index_params_,"multi_probe_level",2); in dataset_()
205 if (get_param(params,"sorted",true)) resultSet.sortAndCopy(indices[i], dists[i], knn); in knnSearch()
Dhierarchical_clustering_index.h366 branching_ = get_param(params,"branching",32); in dataset()
367 centers_init_ = get_param(params,"centers_init", FLANN_CENTERS_RANDOM); in dataset()
368 trees_ = get_param(params,"trees",4); in dataset()
369 leaf_size_ = get_param(params,"leaf_size",100); in dataset()
387 trees_ = get_param(params,"trees",4); in dataset()
550 int maxChecks = get_param(searchParams,"checks",32); in findNeighbors()
Dnn_index.h87 if (get_param(params,"sorted",true)) resultSet.sortAndCopy(indices[i], dists[i], knn); in knnSearch()
124 if (get_param(params,"sorted",true)) resultSet.sortAndCopy(indices_ptr, dists_ptr, n); in radiusSearch()
Dflann_base.hpp109 flann_algorithm_t index_type = get_param<flann_algorithm_t>(params,"algorithm"); in Index()
113 …nnIndex_ = load_saved_index<Distance>(features, get_param<cv::String>(params,"filename"), distance… in Index()
Dkdtree_single_index.h90 int dim_param = get_param(params,"dim",-1); in dataset_()
92 leaf_max_size_ = get_param(params,"leaf_max_size",10); in dataset_()
93 reorder_ = get_param(params,"reorder",true); in dataset_()
243 float epsError = 1+get_param(searchParams,"eps",0.0f); in findNeighbors()
Dkdtree_index.h91 trees_ = get_param(index_params_,"trees",4); in dataset_()
201 int maxChecks = get_param(searchParams,"checks", 32); in findNeighbors()
202 float epsError = 1+get_param(searchParams,"eps",0.0f); in findNeighbors()
/external/mesa3d/src/gallium/state_trackers/clover/core/
Ddevice.cpp43 if (!pipe || !pipe->get_param(pipe, PIPE_CAP_COMPUTE)) in _cl_device_id()
97 return pipe->get_param(pipe, PIPE_CAP_MAX_TEXTURE_2D_LEVELS); in max_image_levels_2d()
102 return pipe->get_param(pipe, PIPE_CAP_MAX_TEXTURE_3D_LEVELS); in max_image_levels_3d()
/external/mesa3d/src/gallium/state_trackers/egl/common/
Degl_g3d.c437 gdpy->native->get_param(gdpy->native, NATIVE_PARAM_PRESERVE_BUFFER); in egl_g3d_add_configs()
439 gdpy->native->get_param(gdpy->native, NATIVE_PARAM_MAX_SWAP_INTERVAL); in egl_g3d_add_configs()
441 gdpy->native->get_param(gdpy->native, NATIVE_PARAM_PREMULTIPLIED_ALPHA); in egl_g3d_add_configs()
580 if (gdpy->native->get_param(gdpy->native, NATIVE_PARAM_USE_NATIVE_BUFFER)) in egl_g3d_initialize()
607 if (gdpy->native->get_param(gdpy->native, NATIVE_PARAM_PRESENT_REGION) && in egl_g3d_initialize()
608 gdpy->native->get_param(gdpy->native, NATIVE_PARAM_PRESERVE_BUFFER)) { in egl_g3d_initialize()
/external/boringssl/src/crypto/dh/
Ddh_test.cc402 DH *(*get_param)(const ENGINE *engine); member
433 ScopedDH dhA(td->get_param(nullptr)); in RunRFC5114Tests()
434 ScopedDH dhB(td->get_param(nullptr)); in RunRFC5114Tests()
/external/mesa3d/src/gallium/state_trackers/wgl/
Dstw_device.c100 stw_dev->smapi->get_param = stw_get_param; in stw_init()
104 screen->get_param(screen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS); in stw_init()
/external/mesa3d/src/gallium/auxiliary/util/
Du_caps.c48 if (!screen->get_param(screen, list[i++])) { in util_check_caps_out()
54 tmpi = screen->get_param(screen, list[i++]); in util_check_caps_out()
/external/mesa3d/src/gallium/state_trackers/vdpau/
Dquery.c89 max_2d_texture_level = pscreen->get_param(pscreen, PIPE_CAP_MAX_TEXTURE_2D_LEVELS); in vlVdpVideoSurfaceQueryCapabilities()
231 uint32_t max_2d_texture_level = pscreen->get_param( in vlVdpOutputSurfaceQueryCapabilities()
430 uint32_t max_2d_texture_level = pscreen->get_param( in vlVdpBitmapSurfaceQueryCapabilities()
/external/libdrm/freedreno/
Dfreedreno_pipe.c70 return pipe->funcs->get_param(pipe, param, value); in fd_pipe_get_param()
/external/mesa3d/src/gallium/drivers/identity/
Did_screen.c75 return screen->get_param(screen, in identity_screen_get_param()
267 id_screen->base.get_param = identity_screen_get_param; in identity_screen_create()
/external/mesa3d/src/gallium/drivers/rbug/
Drbug_screen.c78 return screen->get_param(screen, in rbug_screen_get_param()
270 rb_screen->base.get_param = rbug_screen_get_param; in rbug_screen_create()
/external/mesa3d/src/gallium/include/pipe/
Dp_screen.h77 int (*get_param)( struct pipe_screen *, enum pipe_cap param ); member
/external/mesa3d/src/gallium/drivers/noop/
Dnoop_pipe.c312 return screen->get_param(screen, param); in noop_get_param()
374 screen->get_param = noop_get_param; in noop_screen_create()

1234