Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/mkldnn/
Dpooling_avg_grad_cpu_kernel.cc41 dnnl::memory::desc dst_desc = GetDefaultMemDesc(dst_shape); in InitKernel() local
70 …_forward::desc(dnnl::prop_kind::forward_training, dnnl::algorithm::pooling_avg, src_desc, dst_desc, in InitKernel()
76 …dnnl::algorithm::pooling_avg, src_desc, dst_desc, strides_dims, kernels_dims, padding_l, padding_r… in InitKernel()
82 AddArgument(DNNL_ARG_DST, dst_desc); in InitKernel()
84 AddArgument(DNNL_ARG_DIFF_DST, dst_desc); in InitKernel()
Dlstm_grad_cpu_kernel.cc64 dnnl::memory::desc dst_desc = formatted_md(dst_dims, tag::tnc); in InitKernel() local
69 …weights_dims_, tag::any), formatted_md(weights_h_dims_, tag::any), bias_desc, dst_desc, dst_h_desc, in InitKernel()
74 …formatted_md(weights_h_dims_, tag::any), bias_desc, dst_desc, dst_h_desc, dst_c_desc, src_desc, sr… in InitKernel()
75 …ormatted_md(weights_dims_, tag::any), formatted_md(weights_h_dims_, tag::any), bias_desc, dst_desc, in InitKernel()
81 AddArgumentOp(src_desc, src_h_desc, src_c_desc, bias_desc, dst_desc, dst_h_desc, dst_c_desc); in InitKernel()
86 … const dnnl::memory::desc &dst_desc, const dnnl::memory::desc &dst_h_desc, in AddArgumentOp() argument
94 AddArgument(DNNL_ARG_DST_LAYER, dst_desc); in AddArgumentOp()
103 AddArgument(DNNL_ARG_DIFF_DST_LAYER, dst_desc); in AddArgumentOp()
Dpooling_cpu_kernel.cc41 dnnl::memory::desc dst_desc = GetDefaultMemDesc(dst_shape); in InitKernel() local
81 …_forward::desc(dnnl::prop_kind::forward_training, dnnl::algorithm::pooling_max, src_desc, dst_desc, in InitKernel()
85 dst_desc, strides_dims, kernels_dims, padding_l, padding_r); in InitKernel()
91 AddArgument(DNNL_ARG_DST, dst_desc); in InitKernel()
Dconv2d_grad_filter_cpu_kernel.cc53 dnnl::memory::desc dst_desc = GetDefaultMemDesc(dst_shape); in InitKernel() local
87 weights_desc, dst_desc, strides, dilates, padding_l, padding_r); in InitKernel()
92 …dnnl::algorithm::convolution_auto, src_desc, weights_desc, dst_desc, strides, dilates, padding_l, … in InitKernel()
99 AddArgument(DNNL_ARG_DIFF_DST, dst_desc); in InitKernel()
Dconv2d_grad_input_cpu_kernel.cc55 dnnl::memory::desc dst_desc = GetDefaultMemDesc(dst_shape); in InitKernel() local
100 weights_desc, dst_desc, strides, dilates, padding_l, padding_r); in InitKernel()
105 …dnnl::algorithm::convolution_auto, src_desc, weights_desc, dst_desc, strides, dilates, padding_l, … in InitKernel()
112 AddArgument(DNNL_ARG_DIFF_DST, dst_desc); in InitKernel()
Dconv_cpu_kernel.cc59 dnnl::memory::desc dst_desc = GetDefaultMemDesc(dst_shape); in InitKernel() local
108 weights_desc, dst_desc, strides, dilates, padding_l, padding_r); in InitKernel()
114 AddArgument(DNNL_ARG_DST, dst_desc); in InitKernel()
Dlstm_cpu_kernel.cc82 dnnl::memory::desc dst_desc = formatted_md(dst_dims, tag::tnc); in InitKernel() local
96 formatted_md(weights_h_dims_, tag::any), bias_desc, dst_desc, dst_h_desc, dst_c_desc); in InitKernel()
111 AddArgument(DNNL_ARG_DST_LAYER, dst_desc); in InitKernel()
Dlstm_grad_cpu_kernel.h42 const dnnl::memory::desc &dst_desc, const dnnl::memory::desc &dst_h_desc,
/third_party/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c289 const struct util_format_description *src_desc, *dst_desc; in swizzled_copy() local
306 dst_desc = util_format_description(blit_dst_format); in swizzled_copy()
308 assert(src_desc->block.bits == dst_desc->block.bits); in swizzled_copy()
311 if (dst_desc->channel[0].size == src_desc->channel[0].size) { in swizzled_copy()
321 canonical_format_from_bits(bits, dst_desc->channel[0].size); in swizzled_copy()
322 } else if (has_identity_swizzle(dst_desc)) { in swizzled_copy()
412 const struct util_format_description *src_desc, *dst_desc; in handle_complex_copy() local
420 dst_desc = util_format_description(dst->format); in handle_complex_copy()
425 dst_is_canon = same_size_and_swizzle(dst_desc, canon_desc); in handle_complex_copy()
427 dst_is_noncanon = same_size_and_swizzle(dst_desc, noncanon_desc); in handle_complex_copy()
Dst_cb_texture.c1541 const struct util_format_description *dst_desc = util_format_description(dst); in reinterpret_formats() local
1549 if (dst_desc->nr_channels != 4 || dst_desc->swizzle[3] == PIPE_SWIZZLE_1) in reinterpret_formats()
1553 swizzle[i] = dst_desc->swizzle[src_desc->swizzle[i]]; in reinterpret_formats()
/third_party/mesa3d/src/util/format/
Du_format.c515 const struct util_format_description *dst_desc) in util_is_format_compatible() argument
519 if (src_desc->format == dst_desc->format) { in util_is_format_compatible()
524 dst_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN) { in util_is_format_compatible()
528 if (src_desc->block.bits != dst_desc->block.bits || in util_is_format_compatible()
529 src_desc->nr_channels != dst_desc->nr_channels || in util_is_format_compatible()
530 src_desc->colorspace != dst_desc->colorspace) { in util_is_format_compatible()
536 dst_desc->channel[chan].size) { in util_is_format_compatible()
542 enum pipe_swizzle swizzle = dst_desc->swizzle[chan]; in util_is_format_compatible()
549 dst_desc->channel[swizzle].type) || in util_is_format_compatible()
551 dst_desc->channel[swizzle].normalized)) { in util_is_format_compatible()
Du_format.h772 const struct util_format_description *dst_desc) ATTRIBUTE_CONST;
/third_party/ffmpeg/libavutil/
Dpixdesc.c2745 const AVPixFmtDescriptor *dst_desc = av_pix_fmt_desc_get(dst_pix_fmt); in get_pix_fmt_score() local
2751 if (!src_desc || !dst_desc) in get_pix_fmt_score()
2755 (dst_desc->flags & AV_PIX_FMT_FLAG_HWACCEL)) { in get_pix_fmt_score()
2774 dst_color = get_color_type(dst_desc); in get_pix_fmt_score()
2778 nb_components = FFMIN(src_desc->nb_components, dst_desc->nb_components); in get_pix_fmt_score()
2781 …int depth_minus1 = (dst_pix_fmt == AV_PIX_FMT_PAL8) ? 7/nb_components : (dst_desc->comp[i].depth -… in get_pix_fmt_score()
2789 if (dst_desc->log2_chroma_w > src_desc->log2_chroma_w) { in get_pix_fmt_score()
2791 score -= 256 << dst_desc->log2_chroma_w; in get_pix_fmt_score()
2793 if (dst_desc->log2_chroma_h > src_desc->log2_chroma_h) { in get_pix_fmt_score()
2795 score -= 256 << dst_desc->log2_chroma_h; in get_pix_fmt_score()
[all …]
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/d3d11/
Dgstd3d11memory.cpp1264 D3D11_TEXTURE2D_DESC dst_desc = { 0, }; in gst_d3d11_memory_copy() local
1289 dst_desc.Width = src_desc.Width; in gst_d3d11_memory_copy()
1290 dst_desc.Height = src_desc.Height; in gst_d3d11_memory_copy()
1291 dst_desc.MipLevels = 1; in gst_d3d11_memory_copy()
1292 dst_desc.Format = src_desc.Format; in gst_d3d11_memory_copy()
1293 dst_desc.SampleDesc.Count = 1; in gst_d3d11_memory_copy()
1294 dst_desc.ArraySize = 1; in gst_d3d11_memory_copy()
1295 dst_desc.Usage = D3D11_USAGE_DEFAULT; in gst_d3d11_memory_copy()
1311 copy = gst_d3d11_allocator_alloc_internal (alloc, device, &dst_desc); in gst_d3d11_memory_copy()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11pluginutils.cpp751 D3D11_TEXTURE2D_DESC dst_desc, src_desc; in gst_d3d11_buffer_copy_into() local
766 gst_d3d11_memory_get_texture_desc (dst_dmem, &dst_desc); in gst_d3d11_buffer_copy_into()
769 if (dst_desc.Format != src_desc.Format) { in gst_d3d11_buffer_copy_into()
798 src_box.right = MIN (src_desc.Width, dst_desc.Width); in gst_d3d11_buffer_copy_into()
799 src_box.bottom = MIN (src_desc.Height, dst_desc.Height); in gst_d3d11_buffer_copy_into()
Dgstd3d11convert.cpp2096 D3D11_TEXTURE2D_DESC dst_desc; in gst_d3d11_base_convert_transform() local
2101 self->in_texture[i]->GetDesc (&dst_desc); in gst_d3d11_base_convert_transform()
2107 src_box.right = MIN (src_desc.Width, dst_desc.Width); in gst_d3d11_base_convert_transform()
2108 src_box.bottom = MIN (src_desc.Height, dst_desc.Height); in gst_d3d11_base_convert_transform()
2157 D3D11_TEXTURE2D_DESC dst_desc; in gst_d3d11_base_convert_transform() local
2161 gst_d3d11_memory_get_texture_desc (mem, &dst_desc); in gst_d3d11_base_convert_transform()
2167 src_box.right = MIN (src_desc.Width, dst_desc.Width); in gst_d3d11_base_convert_transform()
2168 src_box.bottom = MIN (src_desc.Height, dst_desc.Height); in gst_d3d11_base_convert_transform()
/third_party/gstreamer/gstplugins_bad/sys/winscreencap/
Ddxgicapture.c161 RECT * dest_rect, const D3D11_TEXTURE2D_DESC * dst_desc, RECT * rect,
1085 const D3D11_TEXTURE2D_DESC * dst_desc, RECT * rect, in _set_verteces() argument
1092 _rotate_rect (self->dupl_desc.Rotation, dst_rect, rect, dst_desc->Width, in _set_verteces()
1093 dst_desc->Height); in _set_verteces()
1157 center_x = (int) dst_desc->Width / 2; in _set_verteces()
1158 center_y = (int) dst_desc->Height / 2; in _set_verteces()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_descriptor_set.c471 struct lvp_descriptor *dst_desc = in lvp_UpdateDescriptorSets() local
473 dst_desc += copy->dstArrayElement; in lvp_UpdateDescriptorSets()
476 dst_desc[j] = src_desc[j]; in lvp_UpdateDescriptorSets()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_surface.c772 const struct util_format_description *src_desc, *dst_desc; in util_can_blit_via_copy_region() local
775 dst_desc = util_format_description(blit->dst.resource->format); in util_can_blit_via_copy_region()
787 !util_is_format_compatible(src_desc, dst_desc)) { in util_can_blit_via_copy_region()
Du_blitter.c1931 const struct util_format_description *dst_desc = in util_blitter_blit_generic() local
1939 dst_desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS; in util_blitter_blit_generic()
1941 util_format_has_depth(dst_desc); in util_blitter_blit_generic()
1944 util_format_has_stencil(dst_desc); in util_blitter_blit_generic()
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blit.c421 const struct util_format_description *src_desc, *dst_desc; in can_blit_via_surface_copy() local
424 dst_desc = util_format_description(blit_info->dst.resource->format); in can_blit_via_surface_copy()
428 !util_is_format_compatible(src_desc, dst_desc)) in can_blit_via_surface_copy()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_blit.c255 const struct util_format_description *dst_desc = util_format_description(info->dst.format); in zink_blit() local
261 if (src_desc == dst_desc || in zink_blit()
/third_party/gstreamer/gstplugins_bad/sys/mediafoundation/
Dgstmfvideoenc.cpp1058 D3D11_TEXTURE2D_DESC dst_desc, src_desc; in gst_mf_video_enc_create_input_sample_d3d11() local
1135 shared_texture->GetDesc (&dst_desc); in gst_mf_video_enc_create_input_sample_d3d11()
1144 src_box.right = MIN (src_desc.Width, dst_desc.Width); in gst_mf_video_enc_create_input_sample_d3d11()
1145 src_box.bottom = MIN (src_desc.Height, dst_desc.Height); in gst_mf_video_enc_create_input_sample_d3d11()
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
Dfd6_blitter.c217 const struct util_format_description *dst_desc = in can_do_blit() local
220 MIN2(src_desc->nr_channels, dst_desc->nr_channels); in can_do_blit()
224 fail_if(memcmp(&src_desc->channel[i], &dst_desc->channel[i], in can_do_blit()
/third_party/mesa3d/src/intel/vulkan/
Danv_descriptor_set.c1693 struct anv_descriptor *dst_desc = in anv_UpdateDescriptorSets() local
1695 dst_desc += copy->dstArrayElement; in anv_UpdateDescriptorSets()
1706 dst_desc[j] = src_desc[j]; in anv_UpdateDescriptorSets()