/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_blitter.c | 50 default_src_texture(struct pipe_sampler_view *src_templ, in default_src_texture() argument 56 memset(src_templ, 0, sizeof(*src_templ)); in default_src_texture() 60 src_templ->target = PIPE_TEXTURE_2D_ARRAY; in default_src_texture() 62 src_templ->target = src->target; in default_src_texture() 65 src_templ->target = PIPE_TEXTURE_1D; in default_src_texture() 67 src_templ->u.tex.first_level = srclevel; in default_src_texture() 68 src_templ->u.tex.last_level = srclevel; in default_src_texture() 69 src_templ->u.tex.first_layer = 0; in default_src_texture() 70 src_templ->u.tex.last_layer = src->target == PIPE_TEXTURE_3D in default_src_texture() 73 src_templ->swizzle_r = PIPE_SWIZZLE_X; in default_src_texture() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/rist/ |
D | gstroundrobin.c | 42 static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src_%d", variable 101 pad = gst_pad_new_from_static_template (&src_templ, name); in gst_round_robin_request_pad() 133 gst_element_class_add_static_pad_template (element_class, &src_templ); in gst_round_robin_class_init()
|
D | gstristrtpext.c | 61 static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src", variable 227 self->srcpad = gst_pad_new_from_static_template (&src_templ, in gst_rist_rtp_ext_init() 228 src_templ.name_template); in gst_rist_rtp_ext_init() 286 gst_element_class_add_static_pad_template (element_class, &src_templ); in gst_rist_rtp_ext_class_init()
|
D | gstristrtpdeext.c | 54 static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src", variable 285 self->srcpad = gst_pad_new_from_static_template (&src_templ, in gst_rist_rtp_deext_init() 286 src_templ.name_template); in gst_rist_rtp_deext_init() 325 gst_element_class_add_static_pad_template (element_class, &src_templ); in gst_rist_rtp_deext_class_init()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
D | u_compute.c | 87 struct pipe_sampler_view src_templ = {0}, *src_view; in util_compute_blit() local 139 u_sampler_view_default_template(&src_templ, src, src->format); in util_compute_blit() 140 src_templ.format = util_format_linear(blit_info->src.format); in util_compute_blit() 141 src_view = ctx->create_sampler_view(ctx, src, &src_templ); in util_compute_blit()
|
D | u_blitter.c | 1594 struct pipe_sampler_view *src_templ, in util_blitter_default_src_texture() argument 1600 memset(src_templ, 0, sizeof(*src_templ)); in util_blitter_default_src_texture() 1605 src_templ->target = PIPE_TEXTURE_2D_ARRAY; in util_blitter_default_src_texture() 1607 src_templ->target = src->target; in util_blitter_default_src_texture() 1609 src_templ->format = util_format_linear(src->format); in util_blitter_default_src_texture() 1610 src_templ->u.tex.first_level = srclevel; in util_blitter_default_src_texture() 1611 src_templ->u.tex.last_level = srclevel; in util_blitter_default_src_texture() 1612 src_templ->u.tex.first_layer = 0; in util_blitter_default_src_texture() 1613 src_templ->u.tex.last_layer = in util_blitter_default_src_texture() 1616 src_templ->swizzle_r = PIPE_SWIZZLE_X; in util_blitter_default_src_texture() [all …]
|
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/ |
D | gstnvdecoder.c | 1063 GstCaps *src_templ = NULL; in gst_nv_decoder_check_device_caps() local 1101 src_templ = gst_caps_from_string (GST_VIDEO_CAPS_MAKE ("NV12")); in gst_nv_decoder_check_device_caps() 1104 GstCaps *cuda_caps = gst_caps_copy (src_templ); in gst_nv_decoder_check_device_caps() 1110 GstCaps *gl_caps = gst_caps_copy (src_templ); in gst_nv_decoder_check_device_caps() 1113 gst_caps_append (src_templ, gl_caps); in gst_nv_decoder_check_device_caps() 1117 gst_caps_append (src_templ, cuda_caps); in gst_nv_decoder_check_device_caps() 1122 *src_template = src_templ; in gst_nv_decoder_check_device_caps() 1231 src_templ = gst_caps_new_simple ("video/x-raw", in gst_nv_decoder_check_device_caps() 1236 gst_caps_set_value (src_templ, "format", &format_list); in gst_nv_decoder_check_device_caps() 1239 GstCaps *cuda_caps = gst_caps_copy (src_templ); in gst_nv_decoder_check_device_caps() [all …]
|
D | gstnvenc.c | 621 GstCaps *src_templ = NULL; in gst_nv_enc_register() local 811 src_templ = gst_caps_new_simple (name, in gst_nv_enc_register() 817 gst_caps_set_value (src_templ, "profile", profiles); in gst_nv_enc_register() 821 GST_DEBUG ("src template caps %" GST_PTR_FORMAT, src_templ); in gst_nv_enc_register() 839 if (sink_templ && src_templ) { in gst_nv_enc_register() 842 src_templ, &device_caps); in gst_nv_enc_register() 845 src_templ, &device_caps); in gst_nv_enc_register() 852 gst_clear_caps (&src_templ); in gst_nv_enc_register()
|
/third_party/mesa3d/src/gallium/drivers/r600/ |
D | r600_blit.c | 682 struct pipe_sampler_view src_templ, *src_view; in r600_resource_copy_region() local 715 util_blitter_default_src_texture(rctx->blitter, &src_templ, src, src_level); in r600_resource_copy_region() 722 src_templ.format = PIPE_FORMAT_R16G16B16A16_UINT; /* 64-bit block */ in r600_resource_copy_region() 724 src_templ.format = PIPE_FORMAT_R32G32B32A32_UINT; /* 128-bit block */ in r600_resource_copy_region() 725 dst_templ.format = src_templ.format; in r600_resource_copy_region() 749 src_templ.format = PIPE_FORMAT_R8G8B8A8_UINT; in r600_resource_copy_region() 768 src_templ.format = PIPE_FORMAT_R8_UNORM; in r600_resource_copy_region() 772 src_templ.format = PIPE_FORMAT_R8G8_UNORM; in r600_resource_copy_region() 776 src_templ.format = PIPE_FORMAT_R8G8B8A8_UNORM; in r600_resource_copy_region() 780 src_templ.format = PIPE_FORMAT_R16G16B16A16_UINT; in r600_resource_copy_region() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/resindvd/ |
D | resindvdbin.c | 431 GstPadTemplate *src_templ = NULL; in create_elements() local 502 src_templ = gst_static_pad_template_get (&video_src_template); in create_elements() 503 dvdbin->video_pad = gst_ghost_pad_new_from_template ("video", src, src_templ); in create_elements() 504 gst_object_unref (src_templ); in create_elements() 555 src_templ = gst_static_pad_template_get (&subpicture_src_template); in create_elements() 557 gst_ghost_pad_new_from_template ("subpicture", src, src_templ); in create_elements() 558 gst_object_unref (src_templ); in create_elements() 596 src_templ = gst_static_pad_template_get (&audio_src_template); in create_elements() 597 dvdbin->audio_pad = gst_ghost_pad_new_from_template ("audio", src, src_templ); in create_elements() 598 gst_object_unref (src_templ); in create_elements()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | jpeg2000parse.c | 396 GstStaticPadTemplate * src_templ, GstStaticPadTemplate * sink_templ, in run_test_suite() argument 402 ctx_src_template = src_templ; in run_test_suite()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
D | si_blit.c | 911 struct pipe_sampler_view src_templ, *src_view; in si_resource_copy_region() local 950 util_blitter_default_src_texture(sctx->blitter, &src_templ, src, src_level); in si_resource_copy_region() 956 src_templ.format = PIPE_FORMAT_R16G16B16A16_UINT; /* 64-bit block */ in si_resource_copy_region() 958 src_templ.format = PIPE_FORMAT_R32G32B32A32_UINT; /* 128-bit block */ in si_resource_copy_region() 959 dst_templ.format = src_templ.format; in si_resource_copy_region() 982 src_templ.format = PIPE_FORMAT_R8G8B8A8_UINT; in si_resource_copy_region() 1001 src_templ.format = PIPE_FORMAT_R8_UNORM; in si_resource_copy_region() 1005 src_templ.format = PIPE_FORMAT_R8G8_UNORM; in si_resource_copy_region() 1009 src_templ.format = PIPE_FORMAT_R8G8B8A8_UNORM; in si_resource_copy_region() 1013 src_templ.format = PIPE_FORMAT_R16G16B16A16_UINT; in si_resource_copy_region() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r300/ |
D | r300_blit.c | 551 struct pipe_sampler_view src_templ, *src_view; in r300_resource_copy_region() local 572 util_blitter_default_src_texture(r300->blitter, &src_templ, src, src_level); in r300_resource_copy_region() 578 (!screen->is_format_supported(screen, src_templ.format, src->target, in r300_resource_copy_region() 602 src_templ.format = dst_templ.format; in r300_resource_copy_region() 608 assert(src_templ.format == dst_templ.format); in r300_resource_copy_region() 637 src_templ.format = dst_templ.format; in r300_resource_copy_region() 651 !screen->is_format_supported(screen, src_templ.format, in r300_resource_copy_region() 670 src_view = r300_create_sampler_view_custom(pipe, src, &src_templ, src_width0, src_height0); in r300_resource_copy_region()
|
/third_party/gstreamer/gstplugins_base/gst/subparse/ |
D | gstssaparse.c | 44 static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src", variable 87 parse->srcpad = gst_pad_new_from_static_template (&src_templ, "src"); in gst_ssa_parse_init() 107 gst_element_class_add_static_pad_template (element_class, &src_templ); in gst_ssa_parse_class_init()
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | decodebin.c | 376 static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src", in gst_fake_h264_parser_class_init() local 383 gst_element_class_add_static_pad_template (element_class, &src_templ); in gst_fake_h264_parser_class_init() 478 static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src", in gst_fake_h264_decoder_class_init() local 484 gst_element_class_add_static_pad_template (element_class, &src_templ); in gst_fake_h264_decoder_class_init()
|
D | playbin.c | 698 static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src", in gst_red_video_src_class_init() local 704 gst_element_class_add_static_pad_template (element_class, &src_templ); in gst_red_video_src_class_init() 799 static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src", in gst_codec_src_class_init() local 805 gst_element_class_add_static_pad_template (element_class, &src_templ); in gst_codec_src_class_init()
|
D | videoscale.c | 506 _test_negotiation (const gchar * src_templ, const gchar * sink_templ, in _test_negotiation() argument 515 src_templ, sink_templ); in _test_negotiation() 526 caps = gst_caps_from_string (src_templ); in _test_negotiation()
|
/third_party/gstreamer/gstplugins_bad/ext/ttml/ |
D | gstttmlparse.c | 69 static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src", variable 130 gst_static_pad_template_get (&src_templ)); in gst_ttml_parse_class_init() 150 ttmlparse->srcpad = gst_pad_new_from_static_template (&src_templ, "src"); in gst_ttml_parse_init()
|
/third_party/mesa3d/src/gallium/drivers/i915/ |
D | i915_surface.c | 86 struct pipe_sampler_view src_templ, *src_view; in i915_surface_copy_render() local 104 util_blitter_default_src_texture(i915->blitter, &src_templ, src, src_level); in i915_surface_copy_render() 113 src_view = i915_create_sampler_view_custom(pipe, src, &src_templ, src_width0, in i915_surface_copy_render()
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | audioencoder.c | 115 static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src", in gst_audio_encoder_tester_class_init() local 120 gst_element_class_add_static_pad_template (element_class, &src_templ); in gst_audio_encoder_tester_class_init()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_texture.c | 1978 struct pipe_resource src_templ; in st_TexSubImage() local 2119 memset(&src_templ, 0, sizeof(src_templ)); in st_TexSubImage() 2120 src_templ.target = gl_target_to_pipe(gl_target); in st_TexSubImage() 2121 src_templ.format = src_format; in st_TexSubImage() 2122 src_templ.bind = PIPE_BIND_SAMPLER_VIEW; in st_TexSubImage() 2123 src_templ.usage = PIPE_USAGE_STAGING; in st_TexSubImage() 2126 &src_templ.width0, &src_templ.height0, in st_TexSubImage() 2127 &src_templ.depth0, &src_templ.array_size); in st_TexSubImage() 2131 (!util_is_power_of_two_or_zero(src_templ.width0) || in st_TexSubImage() 2132 !util_is_power_of_two_or_zero(src_templ.height0) || in st_TexSubImage() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/mplex/ |
D | gstmplex.cc | 64 static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src", variable 152 gst_element_class_add_static_pad_template (element_class, &src_templ); in gst_mplex_class_init() 190 mplex->srcpad = gst_pad_new_from_static_template (&src_templ, "src"); in gst_mplex_init()
|
/third_party/gstreamer/gstreamer/tests/check/pipelines/ |
D | seek.c | 213 static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src", in dummy_parser_class_init() local 218 gst_element_class_add_static_pad_template (element_class, &src_templ); in dummy_parser_class_init()
|
/third_party/mesa3d/src/gallium/drivers/d3d12/ |
D | d3d12_blit.cpp | 774 struct pipe_sampler_view src_templ, *src_view; in resolve_stencil_to_temp() local 775 util_blitter_default_src_texture(ctx->blitter, &src_templ, in resolve_stencil_to_temp() 777 src_templ.format = util_format_stencil_only(info->src.format); in resolve_stencil_to_temp() 778 src_view = pctx->create_sampler_view(pctx, info->src.resource, &src_templ); in resolve_stencil_to_temp()
|
/third_party/gstreamer/gstreamer/tests/check/libs/ |
D | baseparse.c | 158 static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src", in gst_parser_tester_class_init() local 163 gst_element_class_add_static_pad_template (element_class, &src_templ); in gst_parser_tester_class_init()
|