Home
last modified time | relevance | path

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

1234

/third_party/mindspore/mindspore/lite/src/runtime/kernel/opencl/cl/
Dresize.cl21 int4 in_size, int4 out_size, float2 scale_factor) {
33 READ_IMAGE(src_data, smp_zero, (int2)(src_y * in_size.w + Z, N * in_size.y + src_x)));
37 int4 in_size, int4 out_size, float2 scale_factor) {
47 READ_IMAGE(src_data, smp_zero, (int2)(src_y, Z * in_size.y + src_x)));
50 …esize_bilinear_NHWC4(__read_only image2d_t src_data, __write_only image2d_t dst_data, int4 in_size,
64 int src_x_1 = min(src_x + 1, in_size.y - 1);
65 int src_y_1 = min(src_y + 1, in_size.z - 1);
66 FLT4 src0 = READ_IMAGE(src_data, smp_zero, (int2)(src_y * in_size.w + Z, N * in_size.y + src_x));
67 …FLT4 src1 = READ_IMAGE(src_data, smp_zero, (int2)(src_y_1 * in_size.w + Z, N * in_size.y + src_x));
68 …FLT4 src2 = READ_IMAGE(src_data, smp_zero, (int2)(src_y * in_size.w + Z, N * in_size.y + src_x_1));
[all …]
/third_party/boost/boost/mpi/collectives/
Dgatherv.hpp31 gatherv_impl(const communicator& comm, const T* in_values, int in_size, in gatherv_impl() argument
36 (const_cast<T*>(in_values), in_size, type, in gatherv_impl()
45 gatherv_impl(const communicator& comm, const T* in_values, int in_size, int root, in gatherv_impl() argument
50 (const_cast<T*>(in_values), in_size, type, in gatherv_impl()
61 gatherv_impl(const communicator& comm, const T* in_values, int in_size, in gatherv_impl() argument
66 gather_impl(comm, in_values, in_size, out_values, sizes, skipped.get(), root, mpl::false_()); in gatherv_impl()
74 gatherv_impl(const communicator& comm, const T* in_values, int in_size, int root, in gatherv_impl() argument
77 gather_impl(comm, in_values, in_size, (T*)0,(int const*)0,(int const*)0, root, in gatherv_impl()
84 gatherv(const communicator& comm, const T* in_values, int in_size, in gatherv() argument
89 detail::gatherv_impl(comm, in_values, in_size, in gatherv()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dvideo-resampler.c212 gint in_size, out_size; in resampler_calculate_taps() local
216 in_size = resampler->in_size; in resampler_calculate_taps()
240 x = ox * (gdouble) in_size - corr; in resampler_calculate_taps()
241 x = CLAMP (x, 0, in_size - 1); in resampler_calculate_taps()
273 if (xi > in_size - max_taps) { in resampler_calculate_taps()
274 gint sh = xi - (in_size - max_taps); in resampler_calculate_taps()
346 guint n_phases, guint n_taps, gdouble shift, guint in_size, guint out_size, in gst_video_resampler_init() argument
353 g_return_val_if_fail (in_size != 0, FALSE); in gst_video_resampler_init()
357 resampler->in_size = in_size; in gst_video_resampler_init()
366 GST_DEBUG ("%d %u %u->%u", method, n_taps, in_size, out_size); in gst_video_resampler_init()
[all …]
Dvideo-scaler.c125 resampler->in_size = r1->in_size + r2->in_size; in resampler_zip()
167 gint i, j, in_size, out_size, max_taps; in scaler_dump()
172 in_size = r->in_size; in scaler_dump()
179 g_print ("in %d, out %d, max_taps %d, n_phases %d\n", in_size, out_size, in scaler_dump()
215 guint n_taps, guint in_size, guint out_size, GstStructure * options) in gst_video_scaler_new() argument
219 g_return_val_if_fail (in_size != 0, NULL); in gst_video_scaler_new()
224 GST_DEBUG ("%d %u %u->%u", method, n_taps, in_size, out_size); in gst_video_scaler_new()
233 shift = (INTERLACE_SHIFT * out_size) / in_size; in gst_video_scaler_new()
237 (in_size + 1) / 2, (out_size + 1) / 2, options); in gst_video_scaler_new()
242 n_taps, -shift, in_size - tresamp.in_size, in gst_video_scaler_new()
[all …]
Dvideo-resampler.h150 gint in_size; member
170 guint in_size, guint out_size,
/third_party/skia/third_party/externals/brotli/c/enc/
Dcluster_inc.h173 size_t in_size, const uint32_t* clusters, size_t num_clusters,
176 for (i = 0; i < in_size; ++i) {
196 for (i = 0; i < in_size; ++i) {
250 MemoryManager* m, const HistogramType* in, const size_t in_size,
253 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, in_size);
254 uint32_t* clusters = BROTLI_ALLOC(m, uint32_t, in_size);
267 for (i = 0; i < in_size; ++i) {
271 for (i = 0; i < in_size; ++i) {
277 for (i = 0; i < in_size; i += max_input_histograms) {
279 BROTLI_MIN(size_t, in_size - i, max_input_histograms);
[all …]
/third_party/node/deps/brotli/c/enc/
Dcluster_inc.h173 size_t in_size, const uint32_t* clusters, size_t num_clusters,
176 for (i = 0; i < in_size; ++i) {
196 for (i = 0; i < in_size; ++i) {
250 MemoryManager* m, const HistogramType* in, const size_t in_size,
253 uint32_t* cluster_size = BROTLI_ALLOC(m, uint32_t, in_size);
254 uint32_t* clusters = BROTLI_ALLOC(m, uint32_t, in_size);
267 for (i = 0; i < in_size; ++i) {
271 for (i = 0; i < in_size; ++i) {
277 for (i = 0; i < in_size; i += max_input_histograms) {
279 BROTLI_MIN(size_t, in_size - i, max_input_histograms);
[all …]
/third_party/ffmpeg/libavutil/
Dbase64.c143 char *av_base64_encode(char *out, int out_size, const uint8_t *in, int in_size) in av_base64_encode() argument
150 int bytes_remaining = in_size; in av_base64_encode()
152 if (in_size >= UINT_MAX / 4 || in av_base64_encode()
153 out_size < AV_BASE64_SIZE(in_size)) in av_base64_encode()
/third_party/ffmpeg/libavformat/
Ddata_uri.c39 size_t in_size; in data_open() local
72 in_size = strlen(data); in data_open()
74 size_t out_size = 3 * (in_size / 4) + 1; in data_open()
87 dc->size = in_size; in data_open()
/third_party/ffmpeg/libavcodec/
Dtruehd_core_bsf.c43 int in_size, out_size; in truehd_core_filter() local
57 in_size = (AV_RB16(pkt->data) & 0xFFF) * 2; in truehd_core_filter()
58 if (in_size < 4 || in_size > pkt->size) { in truehd_core_filter()
97 if (out_size < in_size) { in truehd_core_filter()
Dws-snd1.c60 int in_size, out_size, ret; in ws_snd_decode_frame() local
74 in_size = AV_RL16(&buf[2]); in ws_snd_decode_frame()
77 if (in_size > buf_size) { in ws_snd_decode_frame()
89 if (in_size == out_size) { in ws_snd_decode_frame()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16_grad/
Dconvolution_grad_input.c36 int in_size = in_h * in_w * in_ch; in ConvDwInputGrad16() local
100 int dx_offset = b * in_size + offset; in ConvDwInputGrad16()
114 int dx_offset = b * in_size + offset; in ConvDwInputGrad16()
141 int in_size = in_h * in_w * in_ch; in ConvDwInputGrad8() local
188 int dx_offset = b * in_size + offset; in ConvDwInputGrad8()
197 int dx_offset = b * in_size + offset; in ConvDwInputGrad8()
224 int in_size = in_h * in_w * in_ch; in ConvDwInputGrad4() local
263 int dx_offset = b * in_size + offset; in ConvDwInputGrad4()
272 int dx_offset = b * in_size + offset; in ConvDwInputGrad4()
301 int in_size = in_h * in_w * in_ch; in ConvDwInputGradFp16() local
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dcommon.c1069 size_t utf8_unescape(const char *inp, size_t in_size, in utf8_unescape() argument
1077 if (!in_size) in utf8_unescape()
1078 in_size = os_strlen(inp); in utf8_unescape()
1081 if (*inp == '\'' && in_size) { in utf8_unescape()
1083 in_size--; in utf8_unescape()
1086 while (in_size) { in utf8_unescape()
1087 in_size--; in utf8_unescape()
1098 if (!in_size) in utf8_unescape()
1100 in_size--; in utf8_unescape()
1118 size_t utf8_escape(const char *inp, size_t in_size, in utf8_escape() argument
[all …]
/third_party/openssl/test/testutil/
Dtap_bio.c14 static int tap_write_ex(BIO *b, const char *buf, size_t size, size_t *in_size);
94 static int tap_write_ex(BIO *b, const char *buf, size_t size, size_t *in_size) in tap_write_ex() argument
114 *in_size = i; in tap_write_ex()
118 *in_size = i; in tap_write_ex()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dcommon.c1093 size_t utf8_unescape(const char *inp, size_t in_size, in utf8_unescape() argument
1101 if (!in_size) in utf8_unescape()
1102 in_size = os_strlen(inp); in utf8_unescape()
1105 if (*inp == '\'' && in_size) { in utf8_unescape()
1107 in_size--; in utf8_unescape()
1110 while (in_size) { in utf8_unescape()
1111 in_size--; in utf8_unescape()
1122 if (!in_size) in utf8_unescape()
1124 in_size--; in utf8_unescape()
1142 size_t utf8_escape(const char *inp, size_t in_size, in utf8_escape() argument
[all …]
/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc144 int in_size = size; in WriteToOutput() local
155 if (in_size <= out_size) { in WriteToOutput()
156 memcpy(out, in, in_size); in WriteToOutput()
157 output->BackUp(out_size - in_size); in WriteToOutput()
163 in_size -= out_size; in WriteToOutput()
174 int in_size = 0; in ReadFromInput() local
179 if (!input->Next(&in, &in_size)) { in ReadFromInput()
182 EXPECT_GT(in_size, -1); in ReadFromInput()
183 if (in_size == 0) { in ReadFromInput()
190 if (out_size <= in_size) { in ReadFromInput()
[all …]
/third_party/gstreamer/gstplugins_base/gst/rawparse/
Dgstrawbaseparse.c457 gsize in_size, out_size; in gst_raw_base_parse_handle_frame() local
532 in_size = gst_buffer_get_size (frame->buffer); in gst_raw_base_parse_handle_frame()
537 if (GST_BASE_PARSE_DRAINING (parse) && in_size < frame_size) { in gst_raw_base_parse_handle_frame()
539 "Dropping %" G_GSIZE_FORMAT " bytes at EOS", in_size); in gst_raw_base_parse_handle_frame()
543 return gst_base_parse_finish_frame (parse, frame, in_size); in gst_raw_base_parse_handle_frame()
552 g_assert (in_size >= frame_size); in gst_raw_base_parse_handle_frame()
557 num_out_frames = (in_size / frame_size); in gst_raw_base_parse_handle_frame()
580 " bytes output (%u frame(s)) %d bytes overhead", in_size, out_size, in gst_raw_base_parse_handle_frame()
596 frame->buffer, in_size, out_size, &processed_data)) in gst_raw_base_parse_handle_frame()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32_grad/
Dresize_grad.cc32 float Scaling(size_t in_size, size_t out_size, bool align_corners) { in Scaling() argument
33 return (align_corners && out_size > 1) ? (in_size - 1) / static_cast<float>(out_size - 1) in Scaling()
34 : in_size / static_cast<float>(out_size); in Scaling()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16_grad/
Dresize_fp16_grad.cc32 float16_t ScalingFp16(size_t in_size, size_t out_size, bool align_corners) { in ScalingFp16() argument
33 return (align_corners && out_size > 1) ? (in_size - 1) / static_cast<float16_t>(out_size - 1) in ScalingFp16()
34 : in_size / static_cast<float16_t>(out_size); in ScalingFp16()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/nn/
Dresize_bilinear_gpu_kernel.h118 float Scaling(const int in_size, const int out_size, bool align_corners) { in Scaling() argument
119 return (align_corners && out_size > 1) ? (in_size - 1) / static_cast<float>(out_size - 1) in Scaling()
120 : in_size / static_cast<float>(out_size); in Scaling()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/arrays/
Dresize_nearest_neighbor_grad_gpu_kernel.h120 float Scaling(const int in_size, const int out_size, bool align_corners) { in Scaling() argument
121 return (align_corners && out_size > 1) ? (in_size - 1) / static_cast<float>(out_size - 1) in Scaling()
122 : in_size / static_cast<float>(out_size); in Scaling()
Dresize_nearest_neighbor_gpu_kernel.h112 float Scaling(const int in_size, const int out_size, bool align_corners) { in Scaling() argument
113 return (align_corners && out_size > 1) ? (in_size - 1) / static_cast<float>(out_size - 1) in Scaling()
114 : in_size / static_cast<float>(out_size); in Scaling()
/third_party/skia/third_party/externals/brotli/java/org/brotli/wrapper/dec/
Ddecoder_jni.cc127 size_t in_size = handle->input_length - handle->input_offset; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush() local
130 handle->state, &in_size, &in, &out_size, nullptr, nullptr); in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
131 handle->input_offset = handle->input_length - in_size; in Java_org_brotli_wrapper_dec_DecoderJNI_nativePush()
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/
Dresize_int8.c186 void ComputeNearestNeighborInt(const int32_t pos, const int in_size, const int32_t new_size, const … in ComputeNearestNeighborInt() argument
191 *nearest = (in_size * pos) / new_size; in ComputeNearestNeighborInt()
193 *nearest = ((in_size - 1) * pos + (new_size - 1) / 2) / (new_size - 1); in ComputeNearestNeighborInt()
195 *nearest = *nearest < in_size ? *nearest : in_size - 1; in ComputeNearestNeighborInt()
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/spirv1p4/loop_control/
Diteration_multiple.amber13 ; int in_size;
24 ; for( int i = 0; i < in_size; ++i ) {
39 OpMemberName %input_buffer 0 "in_size"

1234