Home
last modified time | relevance | path

Searched refs:slice_idx (Results 1 – 8 of 8) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/base/
Dsplit_with_over_lap_base.c21 int DoSplitWithOverlapParallel(const char *in_data, char **out_data, int slice_idx, in DoSplitWithOverlapParallel() argument
24 int start_index = start_indices[slice_idx]; in DoSplitWithOverlapParallel()
25 int end_index = end_indices[slice_idx]; in DoSplitWithOverlapParallel()
31 char *dst_ptr = out_data[slice_idx]; in DoSplitWithOverlapParallel()
Dsplit_with_over_lap_base.h26 int DoSplitWithOverlapParallel(const char *in_data, char **out_data, int slice_idx,
/third_party/mindspore/mindspore/lite/tools/optimizer/parallel/
Ddepthwise_conv2d_info.cc43 for (int64_t slice_idx = 0; slice_idx < num_split; slice_idx++) { in SplitConstantData() local
44 …int out_stride = (end_indices[slice_idx] - start_indices[slice_idx]) * inner_stride * element_byte… in SplitConstantData()
45 char *src_ptr = in_data + start_indices[slice_idx] * inner_stride * element_bytes; in SplitConstantData()
47 (void)(memcpy(out_data[slice_idx] + out_idx * out_stride, src_ptr, out_stride)); in SplitConstantData()
/third_party/grpc/src/core/lib/iomgr/
Dtcp_posix.cc118 out_offset_.slice_idx = unwind_slice_idx; in UnwindIfThrottled()
127 bool AllSlicesSent() { return out_offset_.slice_idx == buf_.count; } in AllSlicesSent()
132 out_offset_.slice_idx = 0; in PrepareForSends()
155 size_t slice_idx = 0; member
1289 *unwind_slice_idx = out_offset_.slice_idx; in PopulateIovs()
1292 out_offset_.slice_idx != buf_.count && iov_size != MAX_WRITE_IOVEC; in PopulateIovs()
1295 GRPC_SLICE_START_PTR(buf_.slices[out_offset_.slice_idx]) + in PopulateIovs()
1298 GRPC_SLICE_LENGTH(buf_.slices[out_offset_.slice_idx]) - in PopulateIovs()
1301 ++(out_offset_.slice_idx); in PopulateIovs()
1313 out_offset_.slice_idx--; in UpdateOffsetForBytesSent()
[all …]
/third_party/ffmpeg/libavcodec/
Dhevc_refs.c280 if (s->slice_idx >= frame->rpl_buf->size / sizeof(RefPicListTab)) in init_slice_rpl()
284 frame->rpl_tab[i] = (RefPicListTab *)frame->rpl_buf->data + s->slice_idx; in init_slice_rpl()
Dhevcdec.h513 int slice_idx; ///< number of the slice being currently decoded member
Dh264_slice.c2828 int slice_idx; in ff_h264_execute_decode_slices() local
2836 slice_idx = sl->mb_y * h->mb_width + sl->mb_x; in ff_h264_execute_decode_slices()
2841 if (i == j || slice_idx2 < slice_idx) in ff_h264_execute_decode_slices()
Dhevcdec.c625 s->slice_idx++; in hls_slice_header()
629 s->slice_idx = 0; in hls_slice_header()