/external/libopus/doc/ |
D | trivial_example.c | 41 #define CHANNELS 2 macro 54 opus_int16 in[FRAME_SIZE*CHANNELS]; in main() 55 opus_int16 out[MAX_FRAME_SIZE*CHANNELS]; in main() 71 encoder = opus_encoder_create(SAMPLE_RATE, CHANNELS, APPLICATION, &err); in main() 97 decoder = opus_decoder_create(SAMPLE_RATE, CHANNELS, &err); in main() 114 unsigned char pcm_bytes[MAX_FRAME_SIZE*CHANNELS*2]; in main() 119 samples = fread(pcm_bytes, sizeof(short)*CHANNELS, FRAME_SIZE, fin); in main() 131 for (i=0;i<CHANNELS*FRAME_SIZE;i++) in main() 157 for(i=0;i<CHANNELS*frame_size;i++) in main() 163 fwrite(pcm_bytes, sizeof(short), frame_size*CHANNELS, fout); in main()
|
/external/igt-gpu-tools/lib/tests/ |
D | igt_audio.c | 34 #define CHANNELS 1 macro 50 audio_signal_fill(signal, buf, BUFFER_LEN / CHANNELS); in test_signal_detect_untampered() 93 missing = audio_signal_init(CHANNELS, SAMPLING_RATE); in test_signal_detect_with_missing_freq() 99 audio_signal_fill(missing, buf, BUFFER_LEN / CHANNELS); in test_signal_detect_with_missing_freq() 112 extra = audio_signal_init(CHANNELS, SAMPLING_RATE); in test_signal_detect_with_unexpected_freq() 119 audio_signal_fill(extra, buf, BUFFER_LEN / CHANNELS); in test_signal_detect_with_unexpected_freq() 132 audio_signal_fill(signal, buf, BUFFER_LEN / CHANNELS); in test_signal_detect_held_sample() 152 audio_signal_fill(signal, buf, (BUFFER_LEN + PHASESHIFT_LEN) / CHANNELS); in test_signal_detect_phaseshift() 185 signal = audio_signal_init(CHANNELS, SAMPLING_RATE);
|
/external/libxaac/decoder/ |
D | ixheaacd_aacdec.h | 36 ia_aac_dec_channel_info_struct *pstr_aac_dec_ch_info[CHANNELS]; 38 ia_aac_dec_channel_info *ptr_aac_dec_static_channel_info[CHANNELS]; 40 ia_aac_dec_overlap_info *pstr_aac_dec_overlap_info[CHANNELS]; 55 ia_aac_dec_overlap_info str_aac_dec_overlap_info[CHANNELS]; 60 ia_aac_dec_channel_info *ptr_aac_dec_static_channel_info[CHANNELS]; 61 WORD16 *ltp_buf[CHANNELS];
|
D | ixheaacd_defines.h | 42 #define CHANNELS 2 macro
|
D | ixheaacd_channel.h | 51 ia_aac_dec_channel_info_struct *ptr_aac_dec_channel_info[CHANNELS]);
|
/external/skqp/src/sksl/ |
D | SkSLJIT.h | 124 static constexpr int CHANNELS = 4; 222 LLVMValueRef out[CHANNELS]); 225 LLVMValueRef out[CHANNELS]); 228 LLVMValueRef out[CHANNELS]); 231 LLVMValueRef out[CHANNELS]); 234 LLVMValueRef out[CHANNELS]); 237 LLVMValueRef out[CHANNELS]); 239 bool getVectorLValue(LLVMBuilderRef builder, const Expression& e, LLVMValueRef out[CHANNELS]); 246 LLVMValueRef outLeft[CHANNELS], const Expression& right, 247 LLVMValueRef outRight[CHANNELS]); [all …]
|
D | SkSLJIT.cpp | 1396 LLVMValueRef out[CHANNELS]) { in getVectorLValue() argument 1406 LLVMValueRef base[CHANNELS]; in getVectorLValue() 1421 LLVMValueRef outLeft[CHANNELS], const Expression& right, in getVectorBinaryOperands() argument 1422 LLVMValueRef outRight[CHANNELS]) { in getVectorBinaryOperands() argument 1445 LLVMValueRef out[CHANNELS]) { in compileVectorBinary() argument 1446 LLVMValueRef left[CHANNELS]; in compileVectorBinary() 1447 LLVMValueRef right[CHANNELS]; in compileVectorBinary() 1505 LLVMValueRef out[CHANNELS]) { in compileVectorConstructor() argument 1511 LLVMValueRef base[CHANNELS]; in compileVectorConstructor() 1556 LLVMValueRef base[CHANNELS]; in compileVectorConstructor() [all …]
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/ |
D | shape_test.cc | 38 ASSERT_FALSE(OIHW.set(Axis::CHANNELS, 10)); in TEST() 39 ASSERT_FALSE(OIHW.set<Axis::CHANNELS>(10)); in TEST() 49 EXPECT_EQ(-1, OIHW.get(Axis::CHANNELS)); in TEST() 50 EXPECT_EQ(-1, OIHW.get<Axis::CHANNELS>()); in TEST() 94 EXPECT_EQ(-1, GetAxisIndex<Layout::OIHW>(Axis::CHANNELS)); in TEST() 95 EXPECT_EQ(-1, GetAxisIndex<Layout::OIHW>(Axis::CHANNELS)); in TEST() 97 EXPECT_FALSE(HasAxis<Layout::OHWDI>(Axis::CHANNELS)); in TEST()
|
D | shape.h | 34 CHANNELS = 1, enumerator 232 TFLITE_GPU_AXIS_TRAITS(CHANNELS, c); 364 TFLITE_GPU_LAYOUT_TRAITS(CHW, Axis::CHANNELS, Axis::HEIGHT, Axis::WIDTH); 365 TFLITE_GPU_LAYOUT_TRAITS(HWC, Axis::HEIGHT, Axis::WIDTH, Axis::CHANNELS); 367 Axis::CHANNELS); 371 Axis::CHANNELS); 373 Axis::DEPTH, Axis::CHANNELS);
|
D | model_builder_helper.cc | 139 index_to_axis = {Axis::BATCH, Axis::CHANNELS}; in ExtractAxisFromIndex() 143 index_to_axis = {Axis::BATCH, Axis::WIDTH, Axis::CHANNELS}; in ExtractAxisFromIndex() 147 index_to_axis = {Axis::BATCH, Axis::HEIGHT, Axis::WIDTH, Axis::CHANNELS}; in ExtractAxisFromIndex()
|
D | shape.cc | 58 case Axis::CHANNELS: in ToString()
|
/external/tensorflow/tensorflow/core/kernels/image/ |
D | resize_bicubic_op_test.cc | 270 #define BM_ResizeBicubicDev(BATCH, SIZE, CHANNELS) \ argument 271 static void BM_ResizeBicubic##_##BATCH##_##SIZE##_##CHANNELS( \ 273 test::Benchmark("cpu", ResizeBicubic(BATCH, SIZE, CHANNELS), \ 277 SIZE * SIZE * CHANNELS); \ 279 BENCHMARK(BM_ResizeBicubic##_##BATCH##_##SIZE##_##CHANNELS); 294 #define BM_ResizeBicubicExpand(BATCH, SIZE, CHANNELS) \ argument 295 static void BM_ResizeBicubicExpand##_##BATCH##_##SIZE##_##CHANNELS( \ 297 test::Benchmark("cpu", ResizeBicubic(BATCH, SIZE, CHANNELS, 8, 8), \ 301 SIZE * SIZE * CHANNELS * 8 * 8); \ 303 BENCHMARK(BM_ResizeBicubicExpand##_##BATCH##_##SIZE##_##CHANNELS);
|
/external/libopus/tests/ |
D | test_opus_padding.c | 39 #define CHANNELS 2 macro 49 opus_int16 *out = malloc(FRAMESIZE*CHANNELS*sizeof(*out)); in test_overflow() 61 decoder = opus_decoder_create(48000, CHANNELS, &error); in test_overflow()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/tasks/ |
D | pooling.cc | 44 {Axis::CHANNELS, "Z"}, {Axis::BATCH, "B"}, in GetAveragePoolingKernelCode() 49 {Axis::CHANNELS, "Z"}, {Axis::BATCH, "B"}, in GetAveragePoolingKernelCode() 54 for (auto axis : {Axis::WIDTH, Axis::HEIGHT, Axis::DEPTH, Axis::CHANNELS}) { in GetAveragePoolingKernelCode() 168 {Axis::CHANNELS, "Z"}, {Axis::BATCH, "B"}, in GetMaxPoolingKernelCode() 173 {Axis::CHANNELS, "Z"}, {Axis::BATCH, "B"}, in GetMaxPoolingKernelCode() 178 for (auto axis : {Axis::WIDTH, Axis::HEIGHT, Axis::DEPTH, Axis::CHANNELS}) { in GetMaxPoolingKernelCode()
|
D | reduce.cc | 118 {Axis::CHANNELS, Axis::DEPTH, Axis::HEIGHT, Axis::WIDTH, Axis::BATCH}) { in Reduce() 123 if (a == Axis::CHANNELS) { in Reduce() 175 Axis::CHANNELS, Axis::BATCH}; in GetReduceKernelCode() 183 const bool channels_reductin = HasAxis(axis_to_reduce, Axis::CHANNELS); in GetReduceKernelCode() 249 if (axis_to_leave.count(Axis::CHANNELS)) { in GetReduceKernelCode() 255 {Axis::CHANNELS, "Slices()"}, in GetReduceKernelCode() 259 {Axis::DEPTH, "Z"}, {Axis::CHANNELS, "S"}, in GetReduceKernelCode() 315 if (axis == Axis::CHANNELS) { in GetReduceKernelCode()
|
D | concat_xy.cc | 38 {Axis::DEPTH, "Depth"}, {Axis::CHANNELS, "Channels"}, in GetConcatKernelCode() 43 {Axis::CHANNELS, "S"}, {Axis::BATCH, "B"}, in GetConcatKernelCode() 49 {Axis::WIDTH, Axis::HEIGHT, Axis::DEPTH, Axis::CHANNELS, Axis::BATCH}) { in GetConcatKernelCode()
|
D | reduce_test_util.cc | 59 const std::set<tflite::gpu::Axis> axis{Axis::CHANNELS}; in ReduceSumChannelsTest() 86 const std::set<tflite::gpu::Axis> axis{Axis::CHANNELS}; in ReduceProductChannelsTest() 114 const std::set<tflite::gpu::Axis> axis{Axis::CHANNELS}; in ReduceMaxChannelsTest() 142 const std::set<tflite::gpu::Axis> axis{Axis::CHANNELS}; in ReduceMinChannelsTest()
|
D | split.cc | 28 code_ = attr.axis == Axis::CHANNELS ? GetSplitChannelsCode() : GetSplitCode(); in Split() 45 attr_.axis == Axis::CHANNELS ? "1" : "args.src_tensor.Slices()"; in GetSplitCode() 144 const int slices = attr_.axis == Axis::CHANNELS ? 1 : src_[0]->Slices(); in GetGridSize()
|
D | concat_test_util.cc | 105 attr.axis = Axis::CHANNELS; in ConcatChannelsTest() 143 attr.axis = Axis::CHANNELS; in ConcatChannelsAlignedx4Test()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/gl/kernels/ |
D | softmax_test.cc | 47 attr.axis = Axis::CHANNELS; in TEST() 109 attr.axis = Axis::CHANNELS; in TEST() 136 attr.axis = Axis::CHANNELS; in TEST() 171 attr.axis = Axis::CHANNELS; in TEST()
|
D | concat_test.cc | 48 attr.axis = Axis::CHANNELS; in TEST() 74 attr.axis = Axis::CHANNELS; in TEST()
|
D | softmax.cc | 51 if (attr.axis != Axis::CHANNELS) { in GenerateCode()
|
/external/autotest/client/cros/audio/ |
D | cras_utils.py | 687 CHANNELS = 2 variable in CrasTestClient 759 channels=CHANNELS, rate=RATE): 794 channels=CHANNELS, rate=RATE): 825 pin_device=PIN_DEVICE, channels=CHANNELS, rate=RATE):
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/selectors/ |
D | simple_selectors.cc | 94 case Axis::CHANNELS: { in SelectConcat() 141 if (attr.axis != Axis::CHANNELS) { in SelectSplit()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/transformations/ |
D | make_padding.cc | 79 case Axis::CHANNELS: in ApplyToNode()
|