Searched refs:temp_stride (Results 1 – 12 of 12) sorted by relevance
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | depthtospace_impl.cu | 25 size_t temp_stride = 0; in DepthToSpace() local 32 temp_stride = oc * oh * ow; in DepthToSpace() 33 output_pos_array[0] = pos / temp_stride; in DepthToSpace() 34 temp_pos = pos % temp_stride; in DepthToSpace() 36 temp_stride /= oc; in DepthToSpace() 37 output_pos_array[1] = temp_pos / temp_stride; in DepthToSpace() 38 temp_pos = pos % temp_stride; in DepthToSpace() 40 temp_stride /= oh; in DepthToSpace() 41 output_pos_array[2] = temp_pos / temp_stride; in DepthToSpace() 42 temp_pos = pos % temp_stride; in DepthToSpace() [all …]
|
D | spacetodepth_impl.cu | 26 size_t temp_stride = 0; in SpaceToDepth() local 33 temp_stride = ic * ih * iw; in SpaceToDepth() 34 input_pos_array[0] = pos / temp_stride; in SpaceToDepth() 35 temp_pos = pos % temp_stride; in SpaceToDepth() 37 temp_stride /= ic; in SpaceToDepth() 38 input_pos_array[1] = temp_pos / temp_stride; in SpaceToDepth() 39 temp_pos = pos % temp_stride; in SpaceToDepth() 41 temp_stride /= ih; in SpaceToDepth() 42 input_pos_array[2] = temp_pos / temp_stride; in SpaceToDepth() 43 temp_pos = pos % temp_stride; in SpaceToDepth() [all …]
|
D | batchtospace_impl.cu | 27 size_t temp_stride = 0; in BatchToSpace() local 37 temp_stride = oc * oh * ow; in BatchToSpace() 38 idx_on = pos / temp_stride; in BatchToSpace() 39 temp_pos = pos % temp_stride; in BatchToSpace() 41 temp_stride /= oc; in BatchToSpace() 42 idx_oc = temp_pos / temp_stride; in BatchToSpace() 43 temp_pos = pos % temp_stride; in BatchToSpace() 45 temp_stride /= oh; in BatchToSpace() 46 idx_oh = temp_pos / temp_stride; in BatchToSpace() 47 temp_pos = pos % temp_stride; in BatchToSpace() [all …]
|
D | spacetobatch_impl.cu | 27 size_t temp_stride = 0; in SpaceToBatch() local 37 temp_stride = ic * ih * iw; in SpaceToBatch() 38 idx_in = pos / temp_stride; in SpaceToBatch() 39 temp_pos = pos % temp_stride; in SpaceToBatch() 41 temp_stride /= ic; in SpaceToBatch() 42 idx_ic = temp_pos / temp_stride; in SpaceToBatch() 43 temp_pos = pos % temp_stride; in SpaceToBatch() 45 temp_stride /= ih; in SpaceToBatch() 46 idx_ih = temp_pos / temp_stride; in SpaceToBatch() 47 temp_pos = pos % temp_stride; in SpaceToBatch() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_uspp.c | 48 int temp_stride[3]; member 198 int stride = p->temp_stride[i]; in filter() 269 …p->temp[0][x + y * p->temp_stride[0]] += p->frame_dec->data[0][x + y * p->frame_dec->linesize[0] +… in filter() 278 …p->temp[1][x + y * p->temp_stride[1]] += p->frame_dec->data[1][x + y * p->frame_dec->linesize[1] +… in filter() 279 …p->temp[2][x + y * p->temp_stride[2]] += p->frame_dec->data[2][x + y * p->frame_dec->linesize[2] +… in filter() 288 store_slice_c(dst[j], p->temp[j], dst_stride[j], p->temp_stride[j], in filter() 342 uspp->temp_stride[i] = w; in config_input() 343 if (!(uspp->temp[i] = av_malloc_array(uspp->temp_stride[i], h * sizeof(int16_t)))) in config_input() 345 if (!(uspp->src [i] = av_malloc_array(uspp->temp_stride[i], h * sizeof(uint8_t)))) in config_input()
|
D | vf_pp7.h | 36 int temp_stride; member
|
D | vf_pp7.c | 208 const int stride = is_luma ? p->temp_stride : ((width + 16 + 15) & (~15)); in filter() 296 pp7->temp_stride = FFALIGN(inlink->w + 16, 16); in config_input() 297 pp7->src = av_malloc_array(pp7->temp_stride, (h + 8) * sizeof(uint8_t)); in config_input()
|
D | vf_fspp.h | 62 int temp_stride; member
|
D | vf_fspp.c | 158 const int stride = is_luma ? p->temp_stride : (width + 16); in filter() 523 fspp->temp_stride = FFALIGN(inlink->w + 16, 16); in config_input() 524 fspp->temp = av_malloc_array(fspp->temp_stride, h * sizeof(*fspp->temp)); in config_input() 525 fspp->src = av_malloc_array(fspp->temp_stride, h * sizeof(*fspp->src)); in config_input()
|
/third_party/mesa3d/src/util/format/ |
D | u_format_fxt1.c | 1659 int temp_stride = width * 3; in util_format_fxt1_rgb_pack_rgba_8unorm() local 1660 uint8_t *temp = malloc(height * temp_stride); in util_format_fxt1_rgb_pack_rgba_8unorm() 1666 temp[y * temp_stride + x * 3 + 0] = src[x * 4 + 0]; in util_format_fxt1_rgb_pack_rgba_8unorm() 1667 temp[y * temp_stride + x * 3 + 1] = src[x * 4 + 1]; in util_format_fxt1_rgb_pack_rgba_8unorm() 1668 temp[y * temp_stride + x * 3 + 2] = src[x * 4 + 2]; in util_format_fxt1_rgb_pack_rgba_8unorm() 1673 fxt1_encode(width, height, 3, temp, temp_stride, dst_row, dst_stride); in util_format_fxt1_rgb_pack_rgba_8unorm() 1691 int temp_stride = width * 4; in util_format_fxt1_rgb_pack_rgba_float() local 1692 uint8_t *temp = malloc(height * temp_stride); in util_format_fxt1_rgb_pack_rgba_float() 1696 util_format_r8g8b8a8_unorm_pack_rgba_float(temp, temp_stride, in util_format_fxt1_rgb_pack_rgba_float() 1701 temp, temp_stride, in util_format_fxt1_rgb_pack_rgba_float() [all …]
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_texture.h | 48 unsigned temp_stride; /**< Stride of the compressed texture storage. */ member
|
D | st_cb_texture.c | 597 unsigned stride = *rowStrideOut = itransfer->temp_stride = in st_MapTextureImage() 652 itransfer->temp_stride, in st_UnmapTextureImage() 660 itransfer->temp_stride, in st_UnmapTextureImage() 668 itransfer->temp_stride, in st_UnmapTextureImage() 691 itransfer->temp_stride, in st_UnmapTextureImage() 699 itransfer->temp_stride, in st_UnmapTextureImage() 706 itransfer->temp_stride, in st_UnmapTextureImage() 716 itransfer->temp_stride = 0; in st_UnmapTextureImage()
|