Home
last modified time | relevance | path

Searched refs:ic (Results 1 – 25 of 244) sorted by relevance

12345678910

/third_party/pulseaudio/src/pulsecore/
Dresampler.c866 unsigned oc, ic; in setup_remap() local
897 for (ic = 0; ic < n_ic; ic++) { in setup_remap()
898 pa_channel_position_t a = r->i_cm.map[ic]; in setup_remap()
902 m->map_table_f[oc][ic] = 1.0f; in setup_remap()
981 for (ic = 0; ic < n_ic; ic++) { in setup_remap()
982 if (on_left(r->i_cm.map[ic])) in setup_remap()
984 if (on_right(r->i_cm.map[ic])) in setup_remap()
986 if (on_center(r->i_cm.map[ic])) in setup_remap()
996 for (ic = 0; ic < n_ic; ic++) { in setup_remap()
997 pa_channel_position_t a = r->i_cm.map[ic]; in setup_remap()
[all …]
Dremap.c262 unsigned oc, ic, i; in remap_channels_matrix_s16ne_c() local
272 for (ic = 0; ic < n_ic; ic++) { in remap_channels_matrix_s16ne_c()
274 const int16_t *s = src + ic; in remap_channels_matrix_s16ne_c()
275 int32_t vol = m->map_table_i[oc][ic]; in remap_channels_matrix_s16ne_c()
292 unsigned oc, ic, i; in remap_channels_matrix_s32ne_c() local
302 for (ic = 0; ic < n_ic; ic++) { in remap_channels_matrix_s32ne_c()
304 const int32_t *s = src + ic; in remap_channels_matrix_s32ne_c()
305 int32_t vol = m->map_table_i[oc][ic]; in remap_channels_matrix_s32ne_c()
322 unsigned oc, ic, i; in remap_channels_matrix_float32ne_c() local
332 for (ic = 0; ic < n_ic; ic++) { in remap_channels_matrix_float32ne_c()
[all …]
/third_party/ffmpeg/doc/
Dtexi2pod.pl174 $ic = pop @icstack;
177 $ic = pop @icstack;
257 push @icstack, $ic;
258 $ic = $1 ? $1 : "*";
265 push @icstack, $ic;
267 $ic = $1 . ".";
269 $ic = "1.";
277 push @icstack, $ic;
279 $ic = $2;
280 $ic =~ s/\@(?:samp|strong|key|gcctabopt|option|env|command)/B/;
[all …]
/third_party/cmsis/CMSIS/DSP/Source/TransformFunctions/
Darm_cfft_radix4_q15.c158 uint32_t n1, n2, ic, i0, j, k; in arm_radix4_butterfly_q15() local
180 ic = 0U; in arm_radix4_butterfly_q15()
241 C2 = read_q15x2 ((q15_t *) pCoef16 + (4U * ic)); in arm_radix4_butterfly_q15()
287 C1 = read_q15x2 ((q15_t *) pCoef16 + (2U * ic)); in arm_radix4_butterfly_q15()
306 C3 = read_q15x2 ((q15_t *) pCoef16 + (6U * ic)); in arm_radix4_butterfly_q15()
325 ic = ic + twidCoefModifier; in arm_radix4_butterfly_q15()
344 ic = 0U; in arm_radix4_butterfly_q15()
349 C1 = read_q15x2 ((q15_t *) pCoef16 + (2U * ic)); in arm_radix4_butterfly_q15()
350 C2 = read_q15x2 ((q15_t *) pCoef16 + (4U * ic)); in arm_radix4_butterfly_q15()
351 C3 = read_q15x2 ((q15_t *) pCoef16 + (6U * ic)); in arm_radix4_butterfly_q15()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp32_grad/
Dpooling_grad.c50 int ic = 0; in AvgPoolingGrad() local
51 for (; ic < channel - 4; ic += 4) { in AvgPoolingGrad()
52 int idx = (yw + yh * output_w) * channel + ic; in AvgPoolingGrad()
65 float *out_vec = out + (xw + in_w * xh) * channel + ic; in AvgPoolingGrad()
66 float32x4_t outr = vld1q_f32(out + (xw + in_w * xh) * channel + ic); in AvgPoolingGrad()
72 out[(xw + in_w * xh) * channel + ic + i] += ((float *)&delta)[i]; in AvgPoolingGrad()
78 for (; ic < channel; ic++) { in AvgPoolingGrad()
79 int idx = (yw + yh * output_w) * channel + ic; in AvgPoolingGrad()
85 out[(xw + in_w * xh) * channel + ic] += delta; in AvgPoolingGrad()
128 int ic = 0; in MaxPoolingGrad() local
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-resampler-neon.h113 : [o] "r" (o), [ic] "r" (icoeff) in inner_product_gint16_linear_1_neon()
167 : [o] "r" (o), [ic] "r" (icoeff) in inner_product_gint16_cubic_1_neon()
178 gint16 *o = op, *a = ap, *ic = icp; in interpolate_gint16_linear_neon() local
200 : [ic] "r" (ic) in interpolate_gint16_linear_neon()
209 gint16 *o = op, *a = ap, *ic = icp; in interpolate_gint16_cubic_neon() local
239 : [ic] "r" (ic) in interpolate_gint16_cubic_neon()
324 : [o] "r" (o), [ic] "r" (icoeff) in inner_product_gint32_linear_1_neon()
376 : [o] "r" (o), [ic] "r" (icoeff) in inner_product_gint32_cubic_1_neon()
386 gint32 *o = op, *a = ap, *ic = icp; in interpolate_gint32_linear_neon() local
414 : [ic] "r" (ic) in interpolate_gint32_linear_neon()
[all …]
Daudio-resampler-x86-sse2.c273 gint16 *o = op, *a = ap, *ic = icp; in interpolate_gint16_linear_sse2() local
275 __m128i f = _mm_set_epi64x (0, *((gint64 *) ic)); in interpolate_gint16_linear_sse2()
306 gint16 *o = op, *a = ap, *ic = icp; in interpolate_gint16_cubic_sse2() local
315 f[0] = _mm_set_epi16 (ic[1], ic[0], ic[1], ic[0], ic[1], ic[0], ic[1], ic[0]); in interpolate_gint16_cubic_sse2()
316 f[1] = _mm_set_epi16 (ic[3], ic[2], ic[3], ic[2], ic[3], ic[2], ic[3], ic[2]); in interpolate_gint16_cubic_sse2()
350 gdouble *o = op, *a = ap, *ic = icp; in interpolate_gdouble_linear_sse2() local
356 f[0] = _mm_load1_pd (ic + 0); in interpolate_gdouble_linear_sse2()
357 f[1] = _mm_load1_pd (ic + 1); in interpolate_gdouble_linear_sse2()
375 gdouble *o = op, *a = ap, *ic = icp; in interpolate_gdouble_cubic_sse2() local
383 f[0] = _mm_load1_pd (ic + 0); in interpolate_gdouble_cubic_sse2()
[all …]
/third_party/boost/libs/test/test/test-organization-ts/datasets-test/
Dsingleton-test.cpp33 invocation_count ic; in BOOST_AUTO_TEST_CASE() local
35 ic.m_value = 0; in BOOST_AUTO_TEST_CASE()
36 data::for_each_sample( data::make( 2 ), ic ); in BOOST_AUTO_TEST_CASE()
37 BOOST_TEST( ic.m_value == 1 ); in BOOST_AUTO_TEST_CASE()
39 ic.m_value = 0; in BOOST_AUTO_TEST_CASE()
40 data::for_each_sample( data::make( 2 ), ic, 2 ); in BOOST_AUTO_TEST_CASE()
41 BOOST_TEST( ic.m_value == 1 ); in BOOST_AUTO_TEST_CASE()
43 ic.m_value = 0; in BOOST_AUTO_TEST_CASE()
44 data::for_each_sample( data::make( 2 ), ic, 0 ); in BOOST_AUTO_TEST_CASE()
45 BOOST_TEST( ic.m_value == 0 ); in BOOST_AUTO_TEST_CASE()
Dimplicit-test.cpp33 invocation_count ic; in BOOST_AUTO_TEST_CASE() local
35 ic.m_value = 0; in BOOST_AUTO_TEST_CASE()
36 data::for_each_sample( std::vector<int>( 3 ), ic ); in BOOST_AUTO_TEST_CASE()
37 BOOST_TEST( ic.m_value == 3 ); in BOOST_AUTO_TEST_CASE()
39 ic.m_value = 0; in BOOST_AUTO_TEST_CASE()
40 data::for_each_sample( std::list<double>( 2 ), ic, 1 ); in BOOST_AUTO_TEST_CASE()
41 BOOST_TEST( ic.m_value == 1 ); in BOOST_AUTO_TEST_CASE()
Dcollection-test.cpp67 invocation_count ic; in BOOST_AUTO_TEST_CASE() local
69 ic.m_value = 0; in BOOST_AUTO_TEST_CASE()
70 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic ); in BOOST_AUTO_TEST_CASE()
71 BOOST_TEST( ic.m_value == 3 ); in BOOST_AUTO_TEST_CASE()
73 ic.m_value = 0; in BOOST_AUTO_TEST_CASE()
74 data::for_each_sample( data::make( std::list<double>( 2 ) ), ic, 4 ); in BOOST_AUTO_TEST_CASE()
75 BOOST_TEST( ic.m_value == 2 ); in BOOST_AUTO_TEST_CASE()
77 ic.m_value = 0; in BOOST_AUTO_TEST_CASE()
78 data::for_each_sample( data::make( std::vector<int>( 3 ) ), ic, 1 ); in BOOST_AUTO_TEST_CASE()
79 BOOST_TEST( ic.m_value == 1 ); in BOOST_AUTO_TEST_CASE()
/third_party/ffmpeg/libavformat/tests/
Dseek.c60 AVFormatContext *ic = avformat_alloc_context(); in main() local
82 ic->flags |= AVFMT_FLAG_FAST_SEEK; in main()
102 ret = avformat_open_input(&ic, filename, NULL, &format_opts); in main()
109 ret = avformat_find_stream_info(ic, NULL); in main()
116 if(firstback) avformat_seek_file(ic, -1, INT64_MIN, seekfirst, seekfirst, 0); in main()
117 else avformat_seek_file(ic, -1, seekfirst, seekfirst, INT64_MAX, 0); in main()
126 ret= av_read_frame(ic, &pkt); in main()
129 st= ic->streams[pkt.stream_index]; in main()
142 stream_id= (i>>1)%(ic->nb_streams+1) - 1; in main()
145 st= ic->streams[stream_id]; in main()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16_grad/
Dpooling_grad.c50 int ic = 0; in AvgPoolingFp16Grad() local
51 for (; ic < channel - 4; ic += 4) { in AvgPoolingFp16Grad()
52 int idx = (yw + yh * output_w) * channel + ic; in AvgPoolingFp16Grad()
65 float16_t *out_vec = out + (xw + in_w * xh) * channel + ic; in AvgPoolingFp16Grad()
66 float16x4_t outr = vld1_f16(out + (xw + in_w * xh) * channel + ic); in AvgPoolingFp16Grad()
72 out[(xw + in_w * xh) * channel + ic + i] += ((float16_t *)&delta)[i]; in AvgPoolingFp16Grad()
78 for (; ic < channel; ic++) { in AvgPoolingFp16Grad()
79 int idx = (yw + yh * output_w) * channel + ic; in AvgPoolingFp16Grad()
85 out[(xw + in_w * xh) * channel + ic] += delta; in AvgPoolingFp16Grad()
131 int ic = 0; in MaxPoolingFp16Grad() local
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/gpu/cuda_impl/
Dspacetodepth_impl.cu23 const size_t ic, const size_t ih, const size_t iw, in SpaceToDepth() argument
33 temp_stride = ic * ih * iw; in SpaceToDepth()
37 temp_stride /= ic; in SpaceToDepth()
51 (r * (input_pos_array[2] % r) + input_pos_array[3] % r) * ic); in SpaceToDepth()
63 const size_t ic, const size_t ih, const size_t iw, in CalSpaceToDepth() argument
68 size, input, in, ic, ih, iw, on, oc, oh, ow, r, output); in CalSpaceToDepth()
73 const size_t in, const size_t ic,
80 const size_t in, const size_t ic,
87 const size_t in, const size_t ic,
94 const size_t in, const size_t ic,
[all …]
Ddepthtospace_impl.cu22 const size_t ic, const size_t ih, const size_t iw, in DepthToSpace() argument
49 (input_pos * ic) + in DepthToSpace()
63 const size_t ic, const size_t ih, const size_t iw, in CalDepthToSpace() argument
68 size, input, in, ic, ih, iw, on, oc, oh, ow, r, output); in CalDepthToSpace()
73 const size_t in, const size_t ic,
80 const size_t in, const size_t ic,
87 const size_t in, const size_t ic,
94 const size_t in, const size_t ic,
101 const size_t in, const size_t ic,
108 const size_t in, const size_t ic,
[all …]
Dspacetobatch_impl.cu22 const size_t ih, const size_t iw, const size_t ic, in SpaceToBatch() argument
37 temp_stride = ic * ih * iw; in SpaceToBatch()
41 temp_stride /= ic; in SpaceToBatch()
64 const size_t ih, const size_t iw, const size_t ic, in CalSpaceToBatch() argument
71 … size, input, in, ih, iw, ic, on, oh, ow, oc, pad_up, pad_dn, pad_lft, pad_rht, block_num, output); in CalSpaceToBatch()
76 const size_t ih, const size_t iw, const size_t ic,
82 const size_t ih, const size_t iw, const size_t ic,
88 const size_t ih, const size_t iw, const size_t ic,
94 const size_t ih, const size_t iw, const size_t ic,
100 const size_t ih, const size_t iw, const size_t ic,
[all …]
Dbatchtospace_impl.cu22 const size_t ih, const size_t iw, const size_t ic, in BatchToSpace() argument
53 input_pos = idx_in * ic; in BatchToSpace()
64 const size_t ih, const size_t iw, const size_t ic, in CalBatchToSpace() argument
70 …size, input, in, ih, iw, ic, on, oh, ow, oc, crop_up, crop_dn, crop_lft, crop_rht, block_num, outp… in CalBatchToSpace()
75 const size_t ih, const size_t iw, const size_t ic,
81 const size_t ih, const size_t iw, const size_t ic,
87 const size_t ih, const size_t iw, const size_t ic,
93 const size_t ih, const size_t iw, const size_t ic,
99 const size_t ih, const size_t iw, const size_t ic,
105 const size_t ih, const size_t iw, const size_t ic,
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/fp16/
Dconv_depthwise_fp16.c37 int ic = 0; in ConvDw3x3RowLeftFp16() local
38 for (; ic < channel - 7; ic += 8) { in ConvDw3x3RowLeftFp16()
39 v1 = MS_LDQ_F16(src + ic); in ConvDw3x3RowLeftFp16()
40 v2 = MS_LDQ_F16(src + channel + ic); in ConvDw3x3RowLeftFp16()
41 v3 = MS_LDQ_F16(src + 2 * channel + ic); in ConvDw3x3RowLeftFp16()
46 MS_STQ_F16(line + lw * ic, b0); in ConvDw3x3RowLeftFp16()
47 MS_STQ_F16(line + lw * ic + 8, b1); in ConvDw3x3RowLeftFp16()
48 MS_STQ_F16(line + lw * ic + 16, b2); in ConvDw3x3RowLeftFp16()
49 MS_STQ_F16(line + lw * ic + 24, b3); in ConvDw3x3RowLeftFp16()
51 if (ic < channel) { in ConvDw3x3RowLeftFp16()
[all …]
/third_party/boost/libs/geometry/test/iterators/
Dflatten_iterator.cpp298 typename NestedContainer::value_type ic[4]; in apply() local
300 ic[0] += 5,4,3,2,1; in apply()
301 ic[1] += 6,7,8; in apply()
302 ic[2] += 9; in apply()
303 ic[3] += 9,8,7,6,5; in apply()
304 c += ic[0],ic[1],ic[2],ic[3]; in apply()
318 typename NestedContainer::value_type ic[20]; in apply() local
320 ic[2] += 5,4,3,2,1; in apply()
321 ic[3] += 6,7,8; in apply()
322 ic[8] += 9; in apply()
[all …]
/third_party/ffmpeg/libavformat/
Doptions.c213 AVFormatContext *ic; in avformat_alloc_context() local
215 ic = av_malloc(sizeof(AVFormatContext)); in avformat_alloc_context()
216 if (!ic) return ic; in avformat_alloc_context()
220 av_free(ic); in avformat_alloc_context()
229 av_free(ic); in avformat_alloc_context()
232 avformat_get_context_defaults(ic); in avformat_alloc_context()
233 ic->internal = internal; in avformat_alloc_context()
234 ic->internal->offset = AV_NOPTS_VALUE; in avformat_alloc_context()
235 ic->internal->raw_packet_buffer_remaining_size = RAW_PACKET_BUFFER_SIZE; in avformat_alloc_context()
236 ic->internal->shortest_end = AV_NOPTS_VALUE; in avformat_alloc_context()
[all …]
Dutils.c402 int av_demuxer_open(AVFormatContext *ic) { in av_demuxer_open() argument
405 if (ic->format_whitelist && av_match_list(ic->iformat->name, ic->format_whitelist, ',') <= 0) { in av_demuxer_open()
406 av_log(ic, AV_LOG_ERROR, "Format not on whitelist \'%s\'\n", ic->format_whitelist); in av_demuxer_open()
410 if (ic->iformat->read_header) { in av_demuxer_open()
411 err = ic->iformat->read_header(ic); in av_demuxer_open()
416 if (ic->pb && !ic->internal->data_offset) in av_demuxer_open()
417 ic->internal->data_offset = avio_tell(ic->pb); in av_demuxer_open()
2616 static int has_duration(AVFormatContext *ic) argument
2621 for (i = 0; i < ic->nb_streams; i++) {
2622 st = ic->streams[i];
[all …]
Ddump.c508 static void dump_stream_format(const AVFormatContext *ic, int i, in dump_stream_format() argument
512 int flags = (is_output ? ic->oformat->flags : ic->iformat->flags); in dump_stream_format()
513 const AVStream *st = ic->streams[i]; in dump_stream_format()
515 const char *separator = ic->dump_separator; in dump_stream_format()
640 void av_dump_format(AVFormatContext *ic, int index, in av_dump_format() argument
644 uint8_t *printed = ic->nb_streams ? av_mallocz(ic->nb_streams) : NULL; in av_dump_format()
645 if (ic->nb_streams && !printed) in av_dump_format()
651 is_output ? ic->oformat->name : ic->iformat->name, in av_dump_format()
653 dump_metadata(NULL, ic->metadata, " "); in av_dump_format()
657 if (ic->duration != AV_NOPTS_VALUE) { in av_dump_format()
[all …]
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/oboe/manualtest/
DTestOutputActivity.java63 int ic = 0; in onCreate() local
64 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox0); in onCreate()
65 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox1); in onCreate()
66 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox2); in onCreate()
67 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox3); in onCreate()
68 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox4); in onCreate()
69 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox5); in onCreate()
70 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox6); in onCreate()
71 mChannelBoxes[ic++] = (CheckBox) findViewById(R.id.channelBox7); in onCreate()
/third_party/icu/icu4c/source/test/cintltst/
Dcstrtest.c363 char ic = invLocale[i]; in TestLocaleAtSign() local
364 if (ic == 0) { break; } in TestLocaleAtSign()
366 UBool actual = uprv_isAtSign(ic); in TestLocaleAtSign()
368 log_err("uprv_isAtSign('%c')=%d is wrong\n", ic, (int)actual); in TestLocaleAtSign()
377 char ic = nativeInvChars[i]; in TestNoInvariantAtSign() local
378 UBool actual = uprv_isAtSign(ic); in TestNoInvariantAtSign()
380 log_err("uprv_isAtSign(invariant '%c')=TRUE is wrong\n", ic); in TestNoInvariantAtSign()
382 if (ic == 0) { break; } in TestNoInvariantAtSign()
389 char ic = nativeInvChars[i]; in TestInvCharToAscii() local
391 uint8_t actual = uprv_invCharToAscii(ic); in TestInvCharToAscii()
[all …]
/third_party/flutter/skia/third_party/externals/wuffs/test/c/std/
Dgif.c75 wuffs_base__image_config ic = ((wuffs_base__image_config){}); in test_basic_bad_receiver() local
76 const char* status = wuffs_gif__decoder__decode_image_config(NULL, &ic, NULL); in test_basic_bad_receiver()
113 wuffs_base__image_config ic = ((wuffs_base__image_config){}); in test_basic_initialize_not_called() local
114 const char* status = wuffs_gif__decoder__decode_image_config(&dec, &ic, NULL); in test_basic_initialize_not_called()
204 wuffs_base__image_config ic = ((wuffs_base__image_config){}); in wuffs_gif_decode() local
206 status = wuffs_gif__decoder__decode_image_config(&dec, &ic, src); in wuffs_gif_decode()
211 wuffs_base__pixel_config__set(&ic.pixcfg, pixfmt, in wuffs_gif_decode()
213 wuffs_base__pixel_config__width(&ic.pixcfg), in wuffs_gif_decode()
214 wuffs_base__pixel_config__height(&ic.pixcfg)); in wuffs_gif_decode()
217 status = wuffs_base__pixel_buffer__set_from_slice(&pb, &ic.pixcfg, in wuffs_gif_decode()
[all …]
/third_party/flutter/skia/third_party/externals/wuffs/example/gifplayer/
Dgifplayer.c231 wuffs_base__image_config* ic) { in try_allocate() argument
232 uint32_t width = wuffs_base__pixel_config__width(&ic->pixcfg); in try_allocate()
233 uint32_t height = wuffs_base__pixel_config__height(&ic->pixcfg); in try_allocate()
251 malloc, wuffs_base__pixel_config__pixbuf_len(&ic->pixcfg)); in try_allocate()
275 const char* allocate(wuffs_gif__decoder* dec, wuffs_base__image_config* ic) { in allocate() argument
276 const char* status = try_allocate(dec, ic); in allocate()
315 wuffs_base__image_config ic = {0}; in play() local
316 status = wuffs_gif__decoder__decode_image_config(&dec, &ic, &src); in play()
320 if (!wuffs_base__image_config__is_valid(&ic)) { in play()
323 uint32_t width = wuffs_base__pixel_config__width(&ic.pixcfg); in play()
[all …]

12345678910