Home
last modified time | relevance | path

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

12345

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nn/
Dmirror_pad_gpu_kernel.h128 int max_width = input_shape_[3]; in Init() local
132 max_width = max_width + (2 * max_width); in Init()
135 max_width = max_width + (2 * (max_width - 1)); in Init()
138 if (output_shape_[(output_shape_.size() - 2) + 0] > max_width || in Init()
139 output_shape_[(output_shape_.size() - 2) + 1] > max_width) { in Init()
Dmirror_pad_grad_gpu_kernel.h143 int max_width = input_shape_[3]; in Init() local
147 max_width = max_width + (2 * max_width); in Init()
150 max_width = max_width + (2 * (max_width - 1)); in Init()
153 if (output_shape_[(output_shape_.size() - 2) + 0] > max_width || in Init()
154 output_shape_[(output_shape_.size() - 2) + 1] > max_width) { in Init()
/third_party/mesa3d/src/gallium/frontends/vdpau/
Dquery.c68 VdpBool *is_supported, uint32_t *max_width, uint32_t *max_height) in vlVdpVideoSurfaceQueryCapabilities() argument
74 if (!(is_supported && max_width && max_height)) in vlVdpVideoSurfaceQueryCapabilities()
94 *max_width = *max_height = max_2d_texture_size; in vlVdpVideoSurfaceQueryCapabilities()
175 uint32_t *max_width, uint32_t *max_height) in vlVdpDecoderQueryCapabilities() argument
181 if (!(is_supported && max_level && max_macroblocks && max_width && max_height)) in vlVdpDecoderQueryCapabilities()
202 *max_width = pscreen->get_video_param(pscreen, p_profile, PIPE_VIDEO_ENTRYPOINT_BITSTREAM, in vlVdpDecoderQueryCapabilities()
211 *max_macroblocks = (*max_width/16)*(*max_height/16); in vlVdpDecoderQueryCapabilities()
214 *max_width = 0; in vlVdpDecoderQueryCapabilities()
229 … VdpBool *is_supported, uint32_t *max_width, uint32_t *max_height) in vlVdpOutputSurfaceQueryCapabilities() argument
247 if (!(is_supported && max_width && max_height)) in vlVdpOutputSurfaceQueryCapabilities()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dboundingbox_decode_impl.cu22 … const float s3, const float s4, const int max_height, const int max_width, in BoundingBoxDecodeKernel() argument
55 x1 = x1 > max_width ? max_width : (x1 < 0 ? 0 : x1); in BoundingBoxDecodeKernel()
57 x2 = x2 > max_width ? max_width : (x2 < 0 ? 0 : x2); in BoundingBoxDecodeKernel()
70 … const float &s4, const int &max_height, const int &max_width, const float &ratio_clip, in BoundingBoxDecode() argument
73 … s1, s2, s3, s4, max_height, max_width, in BoundingBoxDecode()
80 … const int &max_height, const int &max_width, const float &ratio_clip,
/third_party/alsa-utils/alsamixer/
Dutils.c107 unsigned int max_width, i, len; in get_max_mbs_width() local
109 max_width = 0; in get_max_mbs_width()
112 if (len > max_width) in get_max_mbs_width()
113 max_width = len; in get_max_mbs_width()
115 return max_width; in get_max_mbs_width()
Dmixer_display.c686 int max_width, name_len; in compute_controls_layout() local
710 max_width = 8; in compute_controls_layout()
713 if (name_len > max_width) in compute_controls_layout()
714 max_width = name_len; in compute_controls_layout()
716 max_width = (max_width + 1) & ~1; in compute_controls_layout()
721 if (control_width > max_width) in compute_controls_layout()
722 control_width = max_width; in compute_controls_layout()
732 if (control_width < max_width) in compute_controls_layout()
735 control_name_width = max_width; in compute_controls_layout()
/third_party/pixman/test/
Dblitters-test.c23 int max_width, in create_random_image() argument
40 width = prng_rand_n (max_width) + 1; in create_random_image()
249 int max_width, max_height, max_extra_stride; in test_composite() local
252 max_width = max_height = 24 + testnum / 10000; in test_composite()
255 if (max_width > 256) in test_composite()
256 max_width = 256; in test_composite()
271 src_img = create_random_image (img_fmt_list, max_width, max_height, in test_composite()
283 dst_img = create_random_image (img_fmt_list, max_width, max_height, in test_composite()
325 mask_img = create_random_image (mask_fmt_list, max_width, max_height, in test_composite()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/
Dmirror_pad_cpu_kernel.cc78 int64_t max_width = input_shape_[3]; in InitKernel() local
82 max_width = max_width + (2 * max_width); in InitKernel()
85 max_width = max_width + (2 * (max_width - 1)); in InitKernel()
89 output_shape_[(output_shape_.size() - 2) + 1] > max_width) { in InitKernel()
Dmirror_pad_grad_cpu_kernel.cc105 int64_t max_width = input_shape_[3]; in InitKernel() local
109 max_width = max_width + (2 * max_width); in InitKernel()
112 max_width = max_width + (2 * (max_width - 1)); in InitKernel()
117 output_shape_[(output_shape_.size() - 2) + 1] > max_width) { in InitKernel()
/third_party/gstreamer/gstplugins_bad/sys/va/
Dgstvacaps.c157 gint min_width = 1, max_width = G_MAXINT; in gst_va_create_raw_caps_from_config() local
178 max_width = attribs[i].value.value.i; in gst_va_create_raw_caps_from_config()
200 min_width, max_width, "height", GST_TYPE_INT_RANGE, min_height, in gst_va_create_raw_caps_from_config()
285 gint i, max_width = -1, max_height = -1; in gst_va_create_coded_caps() local
310 max_width = value; in gst_va_create_coded_caps()
327 if (max_width == -1 || max_height == -1) in gst_va_create_coded_caps()
330 gst_caps_set_simple (caps, "width", GST_TYPE_INT_RANGE, 1, max_width, in gst_va_create_coded_caps()
388 gint min_width = 1, max_width = G_MAXINT; in gst_va_caps_from_profiles() local
428 max_width = MIN (max_width, gst_value_get_int_range_max (w)); in gst_va_caps_from_profiles()
450 max_width, NULL); in gst_va_caps_from_profiles()
Dgstvafilter.c50 gint max_width; member
167 self->max_width = G_MAXINT; in gst_va_filter_init()
202 guint i, value, rt_formats = 0, max_width = 0, max_height = 0; in gst_va_filter_ensure_config_attributes() local
224 max_width = value; in gst_va_filter_ensure_config_attributes()
236 if (max_width > 0 && max_width < G_MAXINT) in gst_va_filter_ensure_config_attributes()
237 self->max_width = max_width; in gst_va_filter_ensure_config_attributes()
295 if (self->max_width > 0) in gst_va_filter_ensure_surface_attributes()
296 self->max_width = MIN (self->max_width, attribs[i].value.value.i); in gst_va_filter_ensure_surface_attributes()
298 self->max_width = attribs[i].value.value.i; in gst_va_filter_ensure_surface_attributes()
1052 self->min_width, self->max_width, "height", GST_TYPE_INT_RANGE, in _create_base_caps()
/third_party/flutter/engine/flutter/shell/common/
Dswitches.cc89 uint32_t max_width = 2; in PrintUsage() local
92 max_width = std::max<uint32_t>(desc.flag.size() + 2, max_width); in PrintUsage()
95 const uint32_t help_width = column_width - max_width - 3; in PrintUsage()
101 std::cerr << std::setw(max_width) in PrintUsage()
114 << std::string(max_width, ' ') << " " << word << " "; in PrintUsage()
/third_party/boost/libs/numeric/interval/examples/
Dnewton-raphson.cpp23 static const double max_width = 1e-10; variable
65 if (width(x1) < max_width) res.push_back(x1); in newton_raphson()
73 if (width(x2) < max_width) res.push_back(x2); in newton_raphson()
108 if (width(x1) < max_width) res.push_back(x1); in newton_raphson()
115 if (width(x2) < max_width) res.push_back(x2); in newton_raphson()
/third_party/mesa3d/src/gallium/frontends/xvmc/
Dcontext.c56 unsigned int max_width = 0, max_height = 0; in Validate() local
95 max_width = surface_info[l].max_width; in Validate()
112 i, port, surface_type_id, max_width, max_height, *chroma_format, in Validate()
131 if (width > max_width || height > max_height) { in Validate()
133 width, height, max_width, max_height); in Validate()
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_test_dma.c210 unsigned bpp, max_width, max_height, max_depth, j, num; in r600_test_dma() local
298 max_width = MIN2(tsrc.width0, tdst.width0); in r600_test_dma()
312 width = max_width; in r600_test_dma()
327 if (max_width < 8 || max_height < 8) in r600_test_dma()
329 width = ((rand() % (max_width / 8)) + 1) * 8; in r600_test_dma()
339 assert(max_width > 0 && max_height > 0); in r600_test_dma()
341 width = (rand() % max_width) + 1; in r600_test_dma()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_test_blit.c207 unsigned max_width, max_height, max_depth, j, num; in si_test_blit() local
301 max_width = MIN2(tsrc.width0, tdst.width0); in si_test_blit()
315 width = max_width; in si_test_blit()
328 if (max_width < 8 || max_height < 8) in si_test_blit()
330 width = ((rand() % (max_width / 8)) + 1) * 8; in si_test_blit()
340 assert(max_width > 0 && max_height > 0); in si_test_blit()
342 width = (rand() % max_width) + 1; in si_test_blit()
/third_party/mindspore/mindspore/core/ir/
Dtensor.cc289 …void OutputOtherDataString(std::ostringstream &ss, bool isScalar, const T &value, int *max_width) … in OutputOtherDataString()
295 *max_width = std::max(*max_width, width); in OutputOtherDataString()
309 int *max_width) const { in OutputDataString()
326 OutputOtherDataString(ss, isScalar, value, max_width); in OutputDataString()
342 bool use_comma, int *max_width) const { in SummaryStringRecursive()
350 OutputDataString(ss, *cursor, 0, kThreshold >> 1, use_comma, max_width); in SummaryStringRecursive()
352 OutputDataString(ss, *cursor, num - (kThreshold >> 1), num, use_comma, max_width); in SummaryStringRecursive()
354 OutputDataString(ss, *cursor, 0, num, use_comma, max_width); in SummaryStringRecursive()
368 SummaryStringRecursive(ss, shape, cursor, depth + 1, use_comma, max_width); in SummaryStringRecursive()
398 SummaryStringRecursive(ss, shape, cursor, depth + 1, use_comma, max_width); in SummaryStringRecursive()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11av1dec.cpp92 UINT max_width; member
383 guint max_width = 0; member
638 guint max_width, max_height; in gst_d3d11_av1_dec_new_sequence() local
661 max_width = seq_hdr->max_frame_width_minus_1 + 1; in gst_d3d11_av1_dec_new_sequence()
664 if (inner->max_width != max_width || inner->max_height != max_height) { in gst_d3d11_av1_dec_new_sequence()
666 inner->max_width, inner->max_height, max_width, max_height); in gst_d3d11_av1_dec_new_sequence()
667 inner->max_width = max_width; in gst_d3d11_av1_dec_new_sequence()
686 out_format, inner->max_width, inner->max_height); in gst_d3d11_av1_dec_new_sequence()
689 decoder->input_state, &info, (gint) inner->max_width, in gst_d3d11_av1_dec_new_sequence()
805 pic_params->max_width = seq_hdr->max_frame_width_minus_1 + 1; in gst_d3d11_av1_dec_start_picture()
[all …]
/third_party/skia/third_party/externals/libwebp/src/dsp/
Dyuv_sse41.c409 const int max_width = width & ~31; in ConvertRGB24ToY_SSE41() local
411 for (i = 0; i < max_width; rgb += 3 * 16 * 2) { in ConvertRGB24ToY_SSE41()
443 const int max_width = width & ~31; in ConvertBGR24ToY_SSE41() local
445 for (i = 0; i < max_width; bgr += 3 * 16 * 2) { in ConvertBGR24ToY_SSE41()
477 const int max_width = width & ~15; in ConvertARGBToY_SSE41() local
479 for (i = 0; i < max_width; i += 16) { in ConvertARGBToY_SSE41()
507 const int max_width = src_width & ~31; in ConvertARGBToUV_SSE41() local
509 for (i = 0; i < max_width; i += 32, u += 16, v += 16) { in ConvertARGBToUV_SSE41()
573 const int max_width = width & ~15; in ConvertRGBA32ToUV_SSE41() local
574 const uint16_t* const last_rgb = rgb + 4 * max_width; in ConvertRGBA32ToUV_SSE41()
[all …]
Dyuv_sse2.c563 const int max_width = width & ~31; in ConvertRGB24ToY_SSE2() local
565 for (i = 0; i < max_width; rgb += 3 * 16 * 2) { in ConvertRGB24ToY_SSE2()
597 const int max_width = width & ~31; in ConvertBGR24ToY_SSE2() local
599 for (i = 0; i < max_width; bgr += 3 * 16 * 2) { in ConvertBGR24ToY_SSE2()
631 const int max_width = width & ~15; in ConvertARGBToY_SSE2() local
633 for (i = 0; i < max_width; i += 16) { in ConvertARGBToY_SSE2()
661 const int max_width = src_width & ~31; in ConvertARGBToUV_SSE2() local
663 for (i = 0; i < max_width; i += 32, u += 16, v += 16) { in ConvertARGBToUV_SSE2()
717 const int max_width = width & ~15; in ConvertRGBA32ToUV_SSE2() local
718 const uint16_t* const last_rgb = rgb + 4 * max_width; in ConvertRGBA32ToUV_SSE2()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Dyuv_sse41.c409 const int max_width = width & ~31; in ConvertRGB24ToY_SSE41() local
411 for (i = 0; i < max_width; rgb += 3 * 16 * 2) { in ConvertRGB24ToY_SSE41()
443 const int max_width = width & ~31; in ConvertBGR24ToY_SSE41() local
445 for (i = 0; i < max_width; bgr += 3 * 16 * 2) { in ConvertBGR24ToY_SSE41()
477 const int max_width = width & ~15; in ConvertARGBToY_SSE41() local
479 for (i = 0; i < max_width; i += 16) { in ConvertARGBToY_SSE41()
507 const int max_width = src_width & ~31; in ConvertARGBToUV_SSE41() local
509 for (i = 0; i < max_width; i += 32, u += 16, v += 16) { in ConvertARGBToUV_SSE41()
573 const int max_width = width & ~15; in ConvertRGBA32ToUV_SSE41() local
574 const uint16_t* const last_rgb = rgb + 4 * max_width; in ConvertRGBA32ToUV_SSE41()
[all …]
Dyuv_sse2.c563 const int max_width = width & ~31; in ConvertRGB24ToY_SSE2() local
565 for (i = 0; i < max_width; rgb += 3 * 16 * 2) { in ConvertRGB24ToY_SSE2()
597 const int max_width = width & ~31; in ConvertBGR24ToY_SSE2() local
599 for (i = 0; i < max_width; bgr += 3 * 16 * 2) { in ConvertBGR24ToY_SSE2()
631 const int max_width = width & ~15; in ConvertARGBToY_SSE2() local
633 for (i = 0; i < max_width; i += 16) { in ConvertARGBToY_SSE2()
661 const int max_width = src_width & ~31; in ConvertARGBToUV_SSE2() local
663 for (i = 0; i < max_width; i += 32, u += 16, v += 16) { in ConvertARGBToUV_SSE2()
717 const int max_width = width & ~15; in ConvertRGBA32ToUV_SSE2() local
718 const uint16_t* const last_rgb = rgb + 4 * max_width; in ConvertRGBA32ToUV_SSE2()
[all …]
/third_party/ffmpeg/libavcodec/
Dvdpau.c150 uint32_t max_level, max_mb, max_width, max_height; in ff_vdpau_common_init() local
232 &max_width, &max_height); in ff_vdpau_common_init()
236 max_width < width || max_height < height) in ff_vdpau_common_init()
248 &max_mb, &max_width, &max_height); in ff_vdpau_common_init()
254 &max_width, &max_height); in ff_vdpau_common_init()
261 max_width < width || max_height < height) in ff_vdpau_common_init()
/third_party/boost/boost/locale/
Dutf.hpp92 static const int max_width; member
163 static const int max_width = 4; member
380 static const int max_width = 2; member
435 static const int max_width = 1; member
/third_party/gstreamer/gstplugins_bad/sys/nvcodec/
Dgstnvenc.c616 gint max_width = 0; in gst_nv_enc_register() local
671 codec_id, &caps_param, &max_width)) != NV_ENC_SUCCESS) { in gst_nv_enc_register()
672 max_width = 4096; in gst_nv_enc_register()
674 ERROR_DETAILS, max_width, codec, device_index, status); in gst_nv_enc_register()
675 } else if (max_width < 4096) { in gst_nv_enc_register()
676 GST_WARNING ("max width %d is less than expected value", max_width); in gst_nv_enc_register()
677 max_width = 4096; in gst_nv_enc_register()
786 "width", GST_TYPE_INT_RANGE, min_width, max_width, in gst_nv_enc_register()
812 "width", GST_TYPE_INT_RANGE, min_width, max_width, in gst_nv_enc_register()

12345