/external/chromium_org/media/cast/audio_sender/ |
D | audio_encoder.cc | 39 AudioCodec codec, int num_channels, int sampling_rate, in ImplBase() argument 42 codec_(codec), num_channels_(num_channels), in ImplBase() 128 int num_channels, int sampling_rate, int bitrate, in OpusImpl() argument 130 : ImplBase(cast_environment, kOpus, num_channels, sampling_rate, in OpusImpl() 132 encoder_memory_(new uint8[opus_encoder_get_size(num_channels)]), in OpusImpl() 134 buffer_(new float[num_channels * samples_per_10ms_]) { in OpusImpl() 135 CHECK_EQ(opus_encoder_init(opus_encoder_, sampling_rate, num_channels, in OpusImpl() 202 int num_channels, int sampling_rate, in Pcm16Impl() argument 204 : ImplBase(cast_environment, kPcm16, num_channels, sampling_rate, in Pcm16Impl() 206 buffer_(new int16[num_channels * samples_per_10ms_]) {} in Pcm16Impl()
|
/external/webp/src/utils/ |
D | rescaler.c | 29 int dst_stride, int num_channels, int x_add, int x_sub, in WebPRescalerInit() argument 38 wrk->num_channels = num_channels; in WebPRescalerInit() 51 wrk->frow = work + num_channels * dst_width; in WebPRescalerInit() 56 const int x_stride = wrk->num_channels; in WebPRescalerImportRow() 57 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerImportRow() 104 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerExportRow() 131 for (channel = 0; channel < wrk->num_channels; ++channel) { in WebPRescalerImport()
|
D | rescaler.h | 26 int num_channels; // bytes to jump between pixels member 44 int num_channels,
|
/external/chromium_org/third_party/libwebp/utils/ |
D | rescaler.c | 29 int dst_stride, int num_channels, int x_add, int x_sub, in WebPRescalerInit() argument 38 wrk->num_channels = num_channels; in WebPRescalerInit() 51 wrk->frow = work + num_channels * dst_width; in WebPRescalerInit() 56 const int x_stride = wrk->num_channels; in WebPRescalerImportRow() 57 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerImportRow() 104 const int x_out_max = wrk->dst_width * wrk->num_channels; in WebPRescalerExportRow() 131 for (channel = 0; channel < wrk->num_channels; ++channel) { in WebPRescalerImport()
|
D | rescaler.h | 26 int num_channels; // bytes to jump between pixels member 44 int num_channels,
|
/external/chromium_org/media/audio/ |
D | audio_power_monitor.cc | 35 const int num_channels = buffer.channels(); in Scan() local 36 if (num_frames <= 0 || num_channels <= 0) in Scan() 43 for (int i = 0; i < num_channels; ++i) { in Scan() 56 average_power_ = std::max(0.0f, std::min(1.0f, sum_power / num_channels)); in Scan()
|
D | audio_power_monitor_unittest.cc | 25 TestScenario(const float* data, int num_channels, int num_frames, in TestScenario() argument 28 CreatePopulatedBuffer(data, num_channels, num_frames); in TestScenario() 65 const float* data, int num_channels, int num_frames) { in CreatePopulatedBuffer() argument 66 bus_ = AudioBus::Create(num_channels, kFramesPerBuffer); in CreatePopulatedBuffer() 67 for (int ch = 0; ch < num_channels; ++ch) { in CreatePopulatedBuffer()
|
/external/chromium_org/media/cast/test/ |
D | audio_utility.cc | 14 TestAudioBusFactory::TestAudioBusFactory(int num_channels, in TestAudioBusFactory() argument 18 : num_channels_(num_channels), in TestAudioBusFactory() 21 source_(num_channels, sine_wave_frequency, sample_rate) { in TestAudioBusFactory() 22 CHECK_LT(0, num_channels); in TestAudioBusFactory()
|
/external/mesa3d/src/gallium/auxiliary/vl/ |
D | vl_zscan.c | 109 o_vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); in create_vert_shader() 123 for (i = 0; i < zscan->num_channels; ++i) in create_vert_shader() 148 for (i = 0; i < zscan->num_channels; ++i) { in create_vert_shader() 151 * (i - (signed)zscan->num_channels / 2))); in create_vert_shader() 186 vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_src)); in create_frag_shader() 187 tmp = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); in create_frag_shader() 189 for (i = 0; i < zscan->num_channels; ++i) in create_frag_shader() 196 for (i = 0; i < zscan->num_channels; ++i) in create_frag_shader() 207 for (i = 0; i < zscan->num_channels; ++i) in create_frag_shader() 210 for (i = 0; i < zscan->num_channels; ++i) in create_frag_shader() [all …]
|
D | vl_zscan.h | 45 unsigned num_channels; member 78 unsigned num_channels);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
D | vl_zscan.c | 109 o_vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); in create_vert_shader() 123 for (i = 0; i < zscan->num_channels; ++i) in create_vert_shader() 148 for (i = 0; i < zscan->num_channels; ++i) { in create_vert_shader() 151 * (i - (signed)zscan->num_channels / 2))); in create_vert_shader() 186 vtex = MALLOC(zscan->num_channels * sizeof(struct ureg_src)); in create_frag_shader() 187 tmp = MALLOC(zscan->num_channels * sizeof(struct ureg_dst)); in create_frag_shader() 189 for (i = 0; i < zscan->num_channels; ++i) in create_frag_shader() 196 for (i = 0; i < zscan->num_channels; ++i) in create_frag_shader() 207 for (i = 0; i < zscan->num_channels; ++i) in create_frag_shader() 210 for (i = 0; i < zscan->num_channels; ++i) in create_frag_shader() [all …]
|
D | vl_zscan.h | 45 unsigned num_channels; member 78 unsigned num_channels);
|
/external/chromium_org/media/audio/sounds/ |
D | wav_audio_handler_unittest.cc | 19 ASSERT_EQ(static_cast<uint16>(2), handler.num_channels()); in TEST() 26 handler.num_channels(), in TEST() 27 handler.size() / handler.num_channels()); in TEST()
|
/external/wpa_supplicant_8/src/ap/ |
D | acs.c | 266 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_cleanup() 407 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_surveys_are_sufficient() 433 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_survey_all_chans_intereference_factor() 456 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_find_chan() 508 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_find_ideal_chan() 725 params.freqs = os_calloc(iface->current_mode->num_channels + 1, in acs_request_scan() 731 for (i = 0; i < iface->current_mode->num_channels; i++) { in acs_request_scan()
|
D | hw_features.c | 76 for (j = 0; j < feature->num_channels; j++) { in hostapd_get_hw_features() 203 for (j = 0; j < iface->current_mode->num_channels; j++) { in ieee80211n_allowed_ht40_channel_pair() 477 params->freqs = os_calloc(mode->num_channels + 1, sizeof(int)); in ieee80211n_scan_channels_2g4() 482 for (i = 0; i < mode->num_channels; i++) { in ieee80211n_scan_channels_2g4() 644 for (i = 0; i < iface->current_mode->num_channels; i++) { in hostapd_is_usable_chan() 825 for (i = 0; i < hapd->iface->current_mode->num_channels; i++) { in hostapd_hw_get_freq() 843 for (i = 0; i < hapd->iface->current_mode->num_channels; i++) { in hostapd_hw_get_channel()
|
/external/webrtc/src/modules/audio_processing/ |
D | echo_control_mobile_impl.cc | 86 assert(audio->num_channels() == apm_->num_reverse_channels()); in ProcessRenderAudio() 93 for (int j = 0; j < audio->num_channels(); j++) { in ProcessRenderAudio() 121 assert(audio->num_channels() == apm_->num_output_channels()); in ProcessCaptureAudio() 127 for (int i = 0; i < audio->num_channels(); i++) { in ProcessCaptureAudio()
|
D | echo_cancellation_impl.cc | 80 assert(audio->num_channels() == apm_->num_reverse_channels()); in ProcessRenderAudio() 87 for (int j = 0; j < audio->num_channels(); j++) { in ProcessRenderAudio() 119 assert(audio->num_channels() == apm_->num_output_channels()); in ProcessCaptureAudio() 126 for (int i = 0; i < audio->num_channels(); i++) { in ProcessCaptureAudio()
|
D | gain_control_impl.cc | 79 if (audio->num_channels() > 1) { in ProcessRenderAudio() 105 assert(audio->num_channels() == num_handles()); in AnalyzeCaptureAudio() 159 assert(audio->num_channels() == num_handles()); in ProcessCaptureAudio()
|
/external/tinyalsa/ |
D | tinycap.c | 50 uint16_t num_channels; member 139 header.num_channels = channels; in main() 167 frames = capture_sample(file, card, device, header.num_channels, in main()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_pipe.c | 779 rscreen->tiling_info.num_channels = 1; in r600_interpret_tiling() 782 rscreen->tiling_info.num_channels = 2; in r600_interpret_tiling() 785 rscreen->tiling_info.num_channels = 4; in r600_interpret_tiling() 788 rscreen->tiling_info.num_channels = 8; in r600_interpret_tiling() 822 rscreen->tiling_info.num_channels = 1; in evergreen_interpret_tiling() 825 rscreen->tiling_info.num_channels = 2; in evergreen_interpret_tiling() 828 rscreen->tiling_info.num_channels = 4; in evergreen_interpret_tiling() 831 rscreen->tiling_info.num_channels = 8; in evergreen_interpret_tiling()
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
D | r600_pipe.c | 779 rscreen->tiling_info.num_channels = 1; in r600_interpret_tiling() 782 rscreen->tiling_info.num_channels = 2; in r600_interpret_tiling() 785 rscreen->tiling_info.num_channels = 4; in r600_interpret_tiling() 788 rscreen->tiling_info.num_channels = 8; in r600_interpret_tiling() 822 rscreen->tiling_info.num_channels = 1; in evergreen_interpret_tiling() 825 rscreen->tiling_info.num_channels = 2; in evergreen_interpret_tiling() 828 rscreen->tiling_info.num_channels = 4; in evergreen_interpret_tiling() 831 rscreen->tiling_info.num_channels = 8; in evergreen_interpret_tiling()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | sme.c | 899 const u8 *chan_list, u8 num_channels, in sme_send_2040_bss_coex() argument 912 num_channels); in sme_send_2040_bss_coex() 925 if (num_channels > 0) { in sme_send_2040_bss_coex() 928 ic_report->length = num_channels + 1; in sme_send_2040_bss_coex() 930 os_memcpy(wpabuf_put(buf, num_channels), chan_list, in sme_send_2040_bss_coex() 931 num_channels); in sme_send_2040_bss_coex() 951 u8 num_channels = 0, num_intol = 0, i; in sme_proc_obss_scan() local 992 for (i = 0; i < num_channels; i++) { in sme_proc_obss_scan() 996 if (i != num_channels) in sme_proc_obss_scan() 1002 chan_list[num_channels++] = channel; in sme_proc_obss_scan() [all …]
|
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
D | macdevicemanager.cc | 143 unsigned num_channels = propsize / sizeof(AudioStreamID); in GetAudioDeviceIDs() local 144 if (0 < num_channels) { in GetAudioDeviceIDs()
|
/external/chromium_org/media/filters/ |
D | opus_audio_decoder.cc | 52 int num_channels, in RemapOpusChannelLayout() argument 54 DCHECK_LE(num_channels, kMaxVorbisChannels); in RemapOpusChannelLayout() 114 const uint8* vorbis_layout_offset = kFFmpegChannelLayouts[num_channels - 1]; in RemapOpusChannelLayout() 115 for (int channel = 0; channel < num_channels; ++channel) in RemapOpusChannelLayout()
|
/external/chromium_org/chrome/test/functional/media/ |
D | audio_tools.py | 70 num_channels = 1 if self._record_mono else 2 72 str(num_channels), self._output_file]
|