/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32/ |
D | common_func_fp32.c | 20 … size_t plane_size, size_t plane_stride, size_t oc_stride, ActType relu_type, int size) { in PostConvFuncComm() argument 27 for (int hw = 0; hw < (int)plane_size; hw++) { in PostConvFuncComm() 43 size_t plane_size, size_t stride, size_t relu_type) { in PostConvFuncFp32C8() argument 45 …PostConvFuncComm(c8_out_ptr, out_ptr, bias_ptr, output_channel, plane_size, plane_size, stride, re… in PostConvFuncFp32C8() 50 …PostFuncBiasReluC8(out_ptr, c8_out_ptr, bias_ptr, oc8div, oc8mod, plane_size, stride_size, relu_ty… in PostConvFuncFp32C8() 56 size_t plane_size, size_t plane_stride, size_t relu_type) { in PostConvFuncFp32C4() argument 60 size_t stride_size = (plane_stride - plane_size) * C4NUM * sizeof(float); in PostConvFuncFp32C4() 61 …PostFuncBiasReluC4(out_ptr, c4_out_ptr, bias_ptr, oc4div, oc4mod, plane_size, stride_size, relu_ty… in PostConvFuncFp32C4() 63 …PostConvFuncComm(c4_out_ptr, out_ptr, bias_ptr, output_channel, plane_size, plane_stride, output_c… in PostConvFuncFp32C4()
|
D | common_func_fp32.h | 43 size_t plane_size, size_t stride, size_t relu_type); 45 size_t plane_size, size_t plane_stride, size_t relu_type); 64 size_t plane_size, size_t stride, size_t relu_type); 68 size_t plane_size, size_t plane_stride, size_t relu_type);
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | video.c | 3487 gsize plane_size[GST_VIDEO_MAX_PLANES]; in GST_START_TEST() local 3499 g_assert (gst_video_info_align_full (&info, &align, plane_size)); in GST_START_TEST() 3501 g_assert_cmpuint (plane_size[0], ==, 1920 * 1080); in GST_START_TEST() 3502 g_assert_cmpuint (plane_size[1], ==, 1920 * 1080 / 2); in GST_START_TEST() 3503 g_assert_cmpuint (plane_size[2], ==, 0); in GST_START_TEST() 3504 g_assert_cmpuint (plane_size[3], ==, 0); in GST_START_TEST() 3510 g_assert_cmpuint (GST_VIDEO_INFO_PLANE_HEIGHT (&info, 0, plane_size), ==, in GST_START_TEST() 3512 g_assert_cmpuint (GST_VIDEO_INFO_PLANE_HEIGHT (&info, 1, plane_size), ==, in GST_START_TEST() 3514 g_assert_cmpuint (GST_VIDEO_INFO_PLANE_HEIGHT (&info, 2, plane_size), ==, 0); in GST_START_TEST() 3515 g_assert_cmpuint (GST_VIDEO_INFO_PLANE_HEIGHT (&info, 3, plane_size), ==, 0); in GST_START_TEST() [all …]
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/ |
D | common_func_fp16.h | 27 size_t output_channel, size_t plane_size, size_t stride, ActType act_type); 29 size_t plane_size, size_t stride, size_t relu_type); 33 size_t plane_size, size_t plane_stride, ActType act_type); 35 size_t plane_size, size_t plane_stride, size_t relu_type);
|
D | common_func_fp16.c | 20 … size_t output_channel, size_t plane_size, size_t oc_stride, size_t hw_stride, in PostConvFuncCommFp16() argument 27 for (int hw = 0; hw < plane_size; hw++) { in PostConvFuncCommFp16() 68 size_t plane_size, size_t plane_stride, size_t relu_type) { in PostFuncBiasReluC4Fp16() argument 73 size_t plane_size, size_t stride, size_t relu_type) { in PostFuncBiasReluC8Fp16() argument
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | rawvideoparse.c | 72 guint plane_size; member 84 pixels[ctx->plane_size * i + ofs] = in set_pixel() 96 ((guint32) (pixels[ctx->plane_size * i + ofs])) << ((NUM_TEST_PLANES - in get_pixel() 111 memset (pixels, 0, ctx->plane_size * NUM_TEST_PLANES); in fill_test_pattern() 170 properties_ctx.plane_size = PROP_CTX_PLANE_SIZE; in setup_rawvideoparse() 174 sinkcaps_ctx.plane_size = TEST_WIDTH * TEST_HEIGHT; in setup_rawvideoparse() 188 g_value_set_int (&val, properties_ctx.plane_size * i); in setup_rawvideoparse() 226 plane_offsets[0] = properties_ctx.plane_size * 0; in setup_rawvideoparse() 227 plane_offsets[1] = properties_ctx.plane_size * 1; in setup_rawvideoparse() 228 plane_offsets[2] = properties_ctx.plane_size * 2; in setup_rawvideoparse() [all …]
|
/third_party/ffmpeg/libavresample/ |
D | audio_data.c | 73 int ff_audio_data_init(AudioData *a, uint8_t * const *src, int plane_size, in ff_audio_data_init() argument 114 a->samples_align = plane_size / a->stride; in ff_audio_data_init() 164 int ret, new_buf_size, plane_size, p; in ff_audio_data_realloc() local 174 new_buf_size = av_samples_get_buffer_size(&plane_size, in ff_audio_data_realloc() 186 ret = av_samples_alloc(new_data, &plane_size, a->allocated_channels, in ff_audio_data_realloc() 202 ret = av_samples_fill_arrays(a->data, &plane_size, a->buffer, in ff_audio_data_realloc() 212 a->samples_align = plane_size / a->stride; in ff_audio_data_realloc()
|
D | audio_data.h | 79 int ff_audio_data_init(AudioData *a, uint8_t * const *src, int plane_size,
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/intrinsics/sse/ |
D | PostFuncBiasReluC4.c | 23 size_t plane_size, size_t plane_stride, size_t relu_type) { in PostFuncBiasReluC4() argument 27 size_t plane_size_tmp = plane_size; in PostFuncBiasReluC4() 77 for (size_t plane_size_tmp = plane_size; plane_size_tmp > 0; plane_size_tmp -= 1) { in PostFuncBiasReluC4()
|
D | PostFuncBiasReluC8.c | 23 size_t plane_size, size_t stride, size_t relu_type) { in PostFuncBiasReluC8() argument 26 size_t plane_size_tmp = plane_size; in PostFuncBiasReluC8() 90 …for (size_t plane_size_tmp = plane_size; plane_size_tmp > 0; plane_size_tmp -= 1, src += 8, dst_c1… in PostFuncBiasReluC8()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/int8/ |
D | pack_int8.c | 21 … size_t plane_size, size_t input_channel, size_t output_channel) { in PackInputSum16x4PerChannelArm32() argument 22 size_t hw4 = UP_ROUND(plane_size, C4NUM); in PackInputSum16x4PerChannelArm32() 31 for (int ri = 0; ri < plane_size; ri++) { in PackInputSum16x4PerChannelArm32() 52 size_t plane_size, size_t input_channel, size_t output_channel) { in PackInputSum16x4PerChannel() argument 53 size_t hw4 = UP_ROUND(plane_size, C4NUM); in PackInputSum16x4PerChannel() 62 for (int ri = 0; ri < plane_size; ri++) { in PackInputSum16x4PerChannel() 82 … size_t output_channel, size_t plane_size, const int32_t *filter_zp, size_t inputsum_stride) { in Conv1x1PreOptPeroc() argument 85 int hw8 = UP_ROUND(plane_size, C8NUM); in Conv1x1PreOptPeroc() 86 size_t hw_8div = plane_size / C8NUM * C8NUM; in Conv1x1PreOptPeroc() 453 if (hw_8div != plane_size) { in Conv1x1PreOptPeroc() [all …]
|
D | matmul_int8.c | 436 size_t input_channel, size_t plane_size, int32_t filter_zp) { in PackInput4x4AndInputSumPert() argument 438 int hw4 = UP_ROUND(plane_size, C4NUM); in PackInput4x4AndInputSumPert() 439 size_t hw_4div = plane_size / C4NUM * C4NUM; in PackInput4x4AndInputSumPert() 493 if (hw_4div != plane_size) { in PackInput4x4AndInputSumPert() 495 for (int hwi = hw_4div; hwi < plane_size; hwi += 1) { in PackInput4x4AndInputSumPert() 521 for (int hwi = plane_size; hwi < hw4; hwi++) { in PackInput4x4AndInputSumPert()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/ |
D | gstaudiometa.c | 392 gsize plane_size; in gst_buffer_add_audio_meta() local 407 plane_size = samples * info->finfo->width / 8; in gst_buffer_add_audio_meta() 426 if (i != j && !(offsets[j] + plane_size <= offsets[i] in gst_buffer_add_audio_meta() 427 || offsets[i] + plane_size <= offsets[j])) { in gst_buffer_add_audio_meta() 431 offsets[i], i, offsets[j], j, plane_size); in gst_buffer_add_audio_meta() 441 meta->offsets[i] = i * plane_size; in gst_buffer_add_audio_meta() 448 if (max_offset + plane_size > gst_buffer_get_size (buffer)) { in gst_buffer_add_audio_meta()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | validate_image.cpp | 202 uint32_t plane_size = 0; in GetPlaneCoordSize() local 207 plane_size = 1; in GetPlaneCoordSize() 212 plane_size = 2; in GetPlaneCoordSize() 217 plane_size = 3; in GetPlaneCoordSize() 224 return plane_size; in GetPlaneCoordSize() 382 const uint32_t plane_size = GetPlaneCoordSize(info); in ValidateImageOperands() local 385 if (plane_size != dx_size) { in ValidateImageOperands() 387 << "Expected Image Operand Grad dx to have " << plane_size in ValidateImageOperands() 391 if (plane_size != dy_size) { in ValidateImageOperands() 393 << "Expected Image Operand Grad dy to have " << plane_size in ValidateImageOperands() [all …]
|
/third_party/spirv-tools/source/val/ |
D | validate_image.cpp | 197 uint32_t plane_size = 0; in GetPlaneCoordSize() local 202 plane_size = 1; in GetPlaneCoordSize() 207 plane_size = 2; in GetPlaneCoordSize() 212 plane_size = 3; in GetPlaneCoordSize() 219 return plane_size; in GetPlaneCoordSize() 376 const uint32_t plane_size = GetPlaneCoordSize(info); in ValidateImageOperands() local 379 if (plane_size != dx_size) { in ValidateImageOperands() 381 << "Expected Image Operand Grad dx to have " << plane_size in ValidateImageOperands() 385 if (plane_size != dy_size) { in ValidateImageOperands() 387 << "Expected Image Operand Grad dy to have " << plane_size in ValidateImageOperands() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_image.cpp | 202 uint32_t plane_size = 0; in GetPlaneCoordSize() local 207 plane_size = 1; in GetPlaneCoordSize() 212 plane_size = 2; in GetPlaneCoordSize() 217 plane_size = 3; in GetPlaneCoordSize() 224 return plane_size; in GetPlaneCoordSize() 382 const uint32_t plane_size = GetPlaneCoordSize(info); in ValidateImageOperands() local 385 if (plane_size != dx_size) { in ValidateImageOperands() 387 << "Expected Image Operand Grad dx to have " << plane_size in ValidateImageOperands() 391 if (plane_size != dy_size) { in ValidateImageOperands() 393 << "Expected Image Operand Grad dy to have " << plane_size in ValidateImageOperands() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | af_amix.c | 355 int planes, plane_size, p; in output_frame() local 361 plane_size = nb_samples * (s->planar ? 1 : s->nb_channels); in output_frame() 362 plane_size = FFALIGN(plane_size, 16); in output_frame() 369 s->input_scale[i], plane_size); in output_frame() 375 s->input_scale[i], plane_size); in output_frame()
|
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/ |
D | gstvideometa.c | 399 gsize plane_size[GST_VIDEO_MAX_PLANES]) in gst_video_meta_validate_alignment() 407 if (!gst_video_info_align_full (&info, &meta->alignment, plane_size)) { in gst_video_meta_validate_alignment() 475 gsize plane_size[GST_VIDEO_MAX_PLANES]) in gst_video_meta_get_plane_size() 478 g_return_val_if_fail (plane_size, FALSE); in gst_video_meta_get_plane_size() 480 return gst_video_meta_validate_alignment (meta, plane_size); in gst_video_meta_get_plane_size() 503 gsize plane_size[GST_VIDEO_MAX_PLANES]; in gst_video_meta_get_plane_height() local 514 if (!gst_video_meta_get_plane_size (meta, plane_size)) in gst_video_meta_get_plane_height() 521 plane_height[i] = plane_size[i] / meta->stride[i]; in gst_video_meta_get_plane_height()
|
D | video-info.c | 116 gsize plane_size[GST_VIDEO_MAX_PLANES]); 786 fill_planes (GstVideoInfo * info, gsize plane_size[GST_VIDEO_MAX_PLANES]) in fill_planes() 1211 if (plane_size) { in fill_planes() 1222 plane_size[i] = plane_height * GST_VIDEO_INFO_PLANE_STRIDE (info, i); in fill_planes() 1224 plane_size[i] = 0; in fill_planes() 1381 gsize plane_size[GST_VIDEO_MAX_PLANES]) in gst_video_info_align_full() 1436 if (!fill_planes (info, plane_size)) in gst_video_info_align_full()
|
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/ |
D | sync_batch_norm_grad_impl.cu | 40 int plane_size = N * H * W; in SyncBatchNormGradPre() local 54 for (int x = threadIdx.x; x < plane_size; x += blockDim.x) { in SyncBatchNormGradPre() 100 int plane_size = N * H * W; in SyncBatchNormGradPost() local 107 float div_factor = HalfFloatInputConvert(1) / plane_size; in SyncBatchNormGradPost()
|
D | batchnorm_grad_impl.cu | 38 int plane_size = N * H * W; in BatchNormGradKernel() local 58 for (int x = threadIdx.x; x < plane_size; x += blockDim.x) { in BatchNormGradKernel()
|
D | sync_batch_norm_impl.cu | 41 int plane_size = N * H * W; in SyncBatchNormPre() local 55 for (int x = threadIdx.x; x < plane_size; x += blockDim.x) { in SyncBatchNormPre() 104 output_invstd[plane] = static_cast<float>(1) / sqrt((var_n / plane_size) + epsilon); in SyncBatchNormPre()
|
/third_party/ffmpeg/libavcodec/ |
D | omx.c | 202 int stride, plane_size; member 468 s->plane_size = avctx->height; in omx_component_init() 472 in_port_params.format.video.nSliceHeight = s->plane_size; in omx_component_init() 485 s->plane_size = in_port_params.format.video.nSliceHeight; in omx_component_init() 747 … av_image_fill_arrays(dst, linesize, buffer->pBuffer, avctx->pix_fmt, s->stride, s->plane_size, 1); in omx_encode_frame() 752 …_image_fill_arrays(src, src_linesize, frame->data[0], avctx->pix_fmt, s->stride, s->plane_size, 1); in omx_encode_frame() 776 … int image_buffer_size = av_image_get_buffer_size(avctx->pix_fmt, s->stride, s->plane_size, 1); in omx_encode_frame() 789 … av_image_fill_arrays(dst, linesize, buffer->pBuffer, avctx->pix_fmt, s->stride, s->plane_size, 1); in omx_encode_frame()
|
/third_party/boost/boost/gil/ |
D | image.hpp | 454 std::size_t plane_size=row_size*dimensions.y; in allocate_() local 465 memunit_advance(dynamic_at_c(first, i), static_cast<std::ptrdiff_t>(plane_size * i)); in allocate_() 476 std::size_t plane_size=row_size*dims.y; in create_view() local 487 memunit_advance(dynamic_at_c(first, i), static_cast<std::ptrdiff_t>(plane_size * i)); in create_view()
|
/third_party/ffmpeg/doc/examples/ |
D | filter_audio.c | 221 int plane_size = bps * frame->nb_samples * (planar ? 1 : channels); in process_output() local 228 av_md5_sum(checksum, frame->extended_data[i], plane_size); in process_output()
|