Home
last modified time | relevance | path

Searched refs:pl_fmt (Results 1 – 25 of 31) sorted by relevance

12

/dports/graphics/libplacebo/libplacebo-4.157.0/src/include/libplacebo/
H A Dgpu.h227 typedef const PL_STRUCT(pl_fmt) *pl_fmt; typedef
247 pl_fmt *formats;
295 PL_STRUCT(pl_fmt) { in PL_STRUCT() argument
356 bool pl_fmt_is_ordered(pl_fmt fmt);
359 bool pl_fmt_is_float(pl_fmt fmt);
374 pl_fmt pl_find_named_fmt(pl_gpu gpu, const char *name);
377 pl_fmt pl_find_fourcc(pl_gpu gpu, uint32_t fourcc);
465 pl_fmt format;
659 pl_fmt format;
976 struct pl_var pl_var_from_fmt(pl_fmt fmt, const char *name);
[all …]
H A Ddummy.h73 pl_fmt format;
/dports/graphics/libplacebo/libplacebo-4.157.0/src/d3d11/
H A Dformats.h24 struct pl_fmt fmt;
29 static inline DXGI_FORMAT fmt_to_dxgi(pl_fmt fmt) in fmt_to_dxgi()
H A Dformats.c110 PL_ARRAY(pl_fmt) formats = {0}; in pl_d3d11_setup_formats()
125 struct pl_fmt *fmt = pl_alloc_obj(gpu, fmt, struct d3d_fmt *); in pl_d3d11_setup_formats()
/dports/graphics/libplacebo/libplacebo-4.157.0/src/
H A Dgpu.c48 bool pl_fmt_is_ordered(pl_fmt fmt) in pl_fmt_is_ordered()
56 bool pl_fmt_is_float(pl_fmt fmt) in pl_fmt_is_float()
78 pl_fmt a = *(pl_fmt *)pa; in cmp_fmt()
79 pl_fmt b = *(pl_fmt *)pb; in cmp_fmt()
150 pl_fmt fmt = gpu->formats[n]; in print_formats()
199 pl_fmt fmt = gpu->formats[n]; in pl_gpu_finalize()
485 uint32_t pl_fmt_fourcc(pl_fmt fmt) in pl_fmt_fourcc()
503 pl_fmt fmt = gpu->formats[n]; in pl_find_fmt()
554 pl_fmt fmt = gpu->formats[i]; in pl_find_named_fmt()
640 pl_fmt fmt = params->format; in pl_tex_create()
[all …]
H A Dgpu.h97 const char *pl_fmt_glsl_format(pl_fmt fmt, int components);
101 uint32_t pl_fmt_fourcc(pl_fmt fmt);
H A Ddummy.c91 PL_ARRAY(pl_fmt) formats = {0}; in pl_gpu_dummy_create()
117 struct pl_fmt *fmt = pl_alloc_ptr(gpu, fmt); in pl_gpu_dummy_create()
118 *fmt = (struct pl_fmt) { in pl_gpu_dummy_create()
H A Drenderer.c51 pl_fmt fbofmt[5];
117 pl_fmt fmt = NULL; in find_fbo_format()
317 pl_fmt fmt;
388 static pl_tex get_fbo(struct pass_state *pass, int w, int h, pl_fmt fmt, int comps) in get_fbo()
557 pl_fmt texfmt = src->tex ? src->tex->params.format : rr->fbofmt[comps]; in sample_src_info()
1276 static pl_fmt merge_fmt(pl_renderer rr, in merge_fmt()
1279 pl_fmt fmta = a->tex ? a->tex->params.format : a->fmt; in merge_fmt()
1280 pl_fmt fmtb = b->tex->params.format; in merge_fmt()
1395 pl_fmt fmt = merge_fmt(rr, &sti->img, &stj->img); in pass_read_image()
/dports/graphics/libplacebo/libplacebo-4.157.0/src/utils/
H A Dupload.c155 pl_fmt pl_plane_find_fmt(pl_gpu gpu, int out_map[4], const struct pl_plane_data *data) in pl_plane_find_fmt()
169 pl_fmt fmt = gpu->formats[n]; in pl_plane_find_fmt()
220 pl_fmt fmt = pl_plane_find_fmt(gpu, out_map, data); in pl_upload_plane()
267 pl_fmt fmt = pl_plane_find_fmt(gpu, out_map, data); in pl_recreate_plane()
/dports/graphics/libplacebo/libplacebo-4.157.0/src/vulkan/
H A Dformats.c21 (struct pl_fmt) { \
42 (struct pl_fmt) { \
188 PL_ARRAY(pl_fmt) formats = {0}; in vk_setup_formats()
242 struct pl_fmt *fmt = pl_alloc_obj(gpu, fmt, struct pl_fmt_vk); in vk_setup_formats()
H A Dformats.h25 struct pl_fmt fmt; // pl_fmt template (features will be auto-detected)
H A Dgpu.h108 pl_fmt texel_fmt;
/dports/graphics/libplacebo/libplacebo-4.157.0/src/opengl/
H A Dformats.h26 struct pl_fmt tmpl; // pl_fmt template
H A Dcommon.h37 pl_fmt fmt;
H A Dgpu_tex.c468 static bool gl_fb_query(pl_gpu gpu, int fbo, struct pl_fmt *fmt, in gl_fb_query()
472 *fmt = (struct pl_fmt) { in gl_fb_query()
583 pl_fmt fmt = NULL; in pl_opengl_wrap()
605 struct pl_fmt new_fmt; in pl_opengl_wrap()
628 memcpy((struct pl_fmt *) fmt, &new_fmt, sizeof(new_fmt)); in pl_opengl_wrap()
H A Dformats.c34 (struct pl_fmt) { \
191 struct pl_fmt *fmt = pl_alloc_obj(gpu, fmt, gl_fmt); in add_format()
/dports/multimedia/mpv/mpv-0.34.1/video/out/placebo/
H A Dra_pl.h10 static inline const struct pl_fmt *ra_pl_fmt_get(const struct ra_format *format) in ra_pl_fmt_get()
H A Dra_pl.c63 const struct pl_fmt *r8 = pl_find_named_fmt(gpu, "r8"); in ra_create_pl()
73 const struct pl_fmt *plfmt = gpu->formats[i]; in ra_create_pl()
114 static struct ra_format *map_fmt(struct ra *ra, const struct pl_fmt *plfmt) in map_fmt()
/dports/games/cataclysm-dda-tiles/Cataclysm-DDA-0.F/lang/
H A Dextract_json_strings.py473 writestr(outfile, item_name, pl_fmt=True)
504 writestr(outfile, item_name, pl_fmt=True)
1065 comment=None, pl_fmt=False, _local_fp_cache=dict()): argument
1069 writestr(filename, entry, context, format_strings, comment, pl_fmt)
1083 if pl_fmt:
1106 if pl_fmt:
1226 writestr(outfile, name, pl_fmt=True, **kwargs)
1255 format_strings=True, pl_fmt=True, **kwargs)
1263 writestr(outfile, item["description"], comment=c, pl_fmt=True,
/dports/games/cataclysm-dda/Cataclysm-DDA-0.F/lang/
H A Dextract_json_strings.py473 writestr(outfile, item_name, pl_fmt=True)
504 writestr(outfile, item_name, pl_fmt=True)
1065 comment=None, pl_fmt=False, _local_fp_cache=dict()): argument
1069 writestr(filename, entry, context, format_strings, comment, pl_fmt)
1083 if pl_fmt:
1106 if pl_fmt:
1226 writestr(outfile, name, pl_fmt=True, **kwargs)
1255 format_strings=True, pl_fmt=True, **kwargs)
1263 writestr(outfile, item["description"], comment=c, pl_fmt=True,
/dports/graphics/libplacebo/libplacebo-4.157.0/src/include/libplacebo/utils/
H A Dupload.h116 pl_fmt pl_plane_find_fmt(pl_gpu gpu, int out_map[4], const struct pl_plane_data *data);
/dports/graphics/libplacebo/libplacebo-4.157.0/src/tests/
H A Dgpu_tests.h99 pl_fmt fmt = tex[0]->params.format; in pl_test_roundtrip()
167 pl_fmt fmt = gpu->formats[f]; in pl_texture_tests()
248 pl_fmt fbo_fmt; in pl_shader_tests()
273 pl_fmt vert_fmt; in pl_shader_tests()
685 pl_fmt src_fmt = pl_find_fmt(gpu, PL_FMT_FLOAT, 1, 16, 32, PL_FMT_CAP_LINEAR); in pl_scaler_tests()
686 pl_fmt fbo_fmt = pl_find_fmt(gpu, PL_FMT_FLOAT, 1, 16, 32, PL_FMT_CAP_RENDERABLE); in pl_scaler_tests()
1220 pl_fmt fmt = pl_plane_find_fmt(gpu, NULL, &data[0]); in pl_ycbcr_tests()
1334 pl_fmt fmt = pl_find_fmt(gpu, PL_FMT_UNORM, 1, 0, 0, PL_FMT_CAP_BLITTABLE); in pl_test_export_import()
H A Dopengl_surfaceless.c16 pl_fmt fmt = pl_find_fmt(gpu, PL_FMT_UNORM, 1, 0, 0, in opengl_interop_tests()
111 pl_fmt fmt = pl_find_fmt(gpu, PL_FMT_UNORM, 1, 0, 0, PL_FMT_CAP_BLITTABLE); in opengl_test_export_import()
H A Dbench.c11 pl_fmt fmt = pl_find_fmt(gpu, PL_FMT_FLOAT, 4, 16, 32, PL_FMT_CAP_LINEAR); in create_test_img()
84 pl_fmt fmt = pl_find_fmt(gpu, PL_FMT_FLOAT, 4, 16, 32, in benchmark()
H A Dvulkan.c25 pl_fmt fmt = pl_find_fmt(gpu, PL_FMT_UNORM, 1, 0, 0, PL_FMT_CAP_BLITTABLE); in vulkan_interop_tests()

12