Searched refs:num_channels (Results 1 - 25 of 131) sorted by relevance

123456

/external/chromium_org/third_party/webrtc/modules/audio_processing/
H A Dcommon.h40 ChannelBuffer(int samples_per_channel, int num_channels) argument
41 : data_(new T[samples_per_channel * num_channels]),
42 channels_(new T*[num_channels]),
44 num_channels_(num_channels) {
45 memset(data_.get(), 0, sizeof(T) * samples_per_channel * num_channels);
46 for (int i = 0; i < num_channels; ++i)
64 int num_channels() { return num_channels_; }
H A Daudio_processing_impl.cc152 fwd_in_format_.num_channels(),
153 fwd_proc_format_.num_channels(),
154 rev_in_format_.num_channels());
174 rev_in_format_.num_channels(),
176 rev_proc_format_.num_channels(),
179 fwd_in_format_.num_channels(),
181 fwd_proc_format_.num_channels(),
263 rev_proc_format_.set(rev_proc_rate, rev_in_format_.num_channels());
285 num_input_channels == fwd_in_format_.num_channels() &&
286 num_output_channels == fwd_proc_format_.num_channels()
525 const int num_channels = ChannelsFromLayout(layout); local
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Daccelerate.h32 Accelerate(int sample_rate_hz, size_t num_channels, argument
34 : TimeStretch(sample_rate_hz, num_channels, background_noise) {
72 size_t num_channels,
H A Dpreemptive_expand.h33 size_t num_channels,
36 : TimeStretch(sample_rate_hz, num_channels, background_noise),
81 size_t num_channels,
32 PreemptiveExpand(int sample_rate_hz, size_t num_channels, const BackgroundNoise& background_noise, int overlap_samples) argument
H A Dneteq_unittest.cc329 int num_channels; local
331 &num_channels, &type));
593 int num_channels; local
596 &num_channels, &type));
631 int num_channels; local
634 &num_channels, &type));
661 int num_channels; local
664 &num_channels, &type));
692 int num_channels; local
695 &num_channels,
717 int num_channels; local
947 int num_channels; local
980 int num_channels; local
1111 int num_channels; local
1189 int num_channels; local
1258 int num_channels; local
[all...]
H A Daccelerate.cc83 size_t num_channels,
85 return new Accelerate(sample_rate_hz, num_channels, background_noise);
81 Create( int sample_rate_hz, size_t num_channels, const BackgroundNoise& background_noise) const argument
H A Dmerge.h36 Merge(int fs_hz, size_t num_channels, Expand* expand, SyncBuffer* sync_buffer) argument
38 num_channels_(num_channels),
H A Dtime_stretch.h38 TimeStretch(int sample_rate_hz, size_t num_channels, argument
42 num_channels_(static_cast<int>(num_channels)),
/external/chromium_org/third_party/webrtc/common_audio/include/
H A Daudio_util.h65 int num_channels, T** deinterleaved) {
66 for (int i = 0; i < num_channels; ++i) {
71 interleaved_idx += num_channels;
78 // (|samples_per_channel| * |num_channels|).
81 int num_channels, T* interleaved) {
82 for (int i = 0; i < num_channels; ++i) {
87 interleaved_idx += num_channels;
64 Deinterleave(const T* interleaved, int samples_per_channel, int num_channels, T** deinterleaved) argument
80 Interleave(const T* const* deinterleaved, int samples_per_channel, int num_channels, T* interleaved) argument
/external/chromium_org/media/audio/
H A Daudio_power_monitor.cc35 const int num_channels = buffer.channels(); local
36 if (num_frames <= 0 || num_channels <= 0)
43 for (int i = 0; i < num_channels; ++i) {
56 average_power_ = std::max(0.0f, std::min(1.0f, sum_power / num_channels));
/external/chromium_org/third_party/webrtc/voice_engine/
H A Dutility.cc76 int num_channels,
84 assert(num_channels == 1 || num_channels == 2);
94 if (num_channels == 2 && codec_num_channels == 1) {
98 num_channels = 1;
102 sample_rate_hz, destination_rate, num_channels) != 0) {
107 num_channels);
111 const int in_length = samples_per_channel * num_channels;
119 dst_af->samples_per_channel_ = out_length / num_channels;
121 dst_af->num_channels_ = num_channels;
74 DownConvertToCodecFormat(const int16_t* src_data, int samples_per_channel, int num_channels, int sample_rate_hz, int codec_num_channels, int codec_rate_hz, int16_t* mono_buffer, PushResampler<int16_t>* resampler, AudioFrame* dst_af) argument
[all...]
H A Dutility.h46 int num_channels,
/external/chromium_org/third_party/webrtc/common_audio/resampler/
H A Dpush_resampler.cc35 int num_channels) {
38 num_channels == num_channels_)
43 num_channels <= 0 || num_channels > 2)
48 num_channels_ = num_channels;
33 InitializeIfNeeded(int src_sample_rate_hz, int dst_sample_rate_hz, int num_channels) argument
/external/chromium_org/third_party/webrtc/modules/audio_processing/test/
H A Dtest_utils.h45 int num_channels,
49 frame->num_channels_ = num_channels;
50 cb->reset(new ChannelBuffer<T>(frame->samples_per_channel_, num_channels));
54 int num_channels) {
55 switch (num_channels) {
44 SetContainerFormat(int sample_rate_hz, int num_channels, AudioFrame* frame, scoped_ptr<ChannelBuffer<T> >* cb) argument
53 LayoutFromChannels( int num_channels) argument
/external/chromium_org/third_party/libwebp/utils/
H A Drescaler.h26 int num_channels; // bytes to jump between pixels member in struct:__anon12303
45 int num_channels,
H A Drescaler.c31 const int x_stride = wrk->num_channels;
32 const int x_out_max = wrk->dst_width * wrk->num_channels;
78 const int x_out_max = wrk->dst_width * wrk->num_channels;
97 const int x_stride = wrk->num_channels;
98 const int x_out_max = wrk->dst_width * wrk->num_channels;
198 const int x_out_max = wrk->dst_width * wrk->num_channels;
260 int dst_stride, int num_channels, int x_add, int x_sub,
269 wrk->num_channels = num_channels;
282 wrk->frow = work + num_channels * dst_widt
258 WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, uint8_t* const dst, int dst_width, int dst_height, int dst_stride, int num_channels, int x_add, int x_sub, int y_add, int y_sub, int32_t* const work) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/
H A Dvl_zscan.h45 unsigned num_channels; member in struct:vl_zscan
78 unsigned num_channels);
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_zscan.h45 unsigned num_channels; member in struct:vl_zscan
78 unsigned num_channels);
/external/webp/src/utils/
H A Drescaler.h26 int num_channels; // bytes to jump between pixels member in struct:__anon32518
45 int num_channels,
H A Drescaler.c31 const int x_stride = wrk->num_channels;
32 const int x_out_max = wrk->dst_width * wrk->num_channels;
78 const int x_out_max = wrk->dst_width * wrk->num_channels;
97 const int x_stride = wrk->num_channels;
98 const int x_out_max = wrk->dst_width * wrk->num_channels;
198 const int x_out_max = wrk->dst_width * wrk->num_channels;
260 int dst_stride, int num_channels, int x_add, int x_sub,
269 wrk->num_channels = num_channels;
282 wrk->frow = work + num_channels * dst_widt
258 WebPRescalerInit(WebPRescaler* const wrk, int src_width, int src_height, uint8_t* const dst, int dst_width, int dst_height, int dst_stride, int num_channels, int x_add, int x_sub, int y_add, int y_sub, int32_t* const work) argument
[all...]
/external/chromium_org/third_party/webrtc/voice_engine/include/mock/
H A Dfake_voe_external_media.h54 int num_channels) {
55 const int length = samples_per_channel * num_channels;
67 num_channels == 2 ? true : false);
52 CallProcess(ProcessingTypes type, int16_t* audio, int samples_per_channel, int sample_rate_hz, int num_channels) argument
/external/chromium_org/media/cast/audio_sender/
H A Daudio_encoder.cc48 int num_channels,
53 num_channels_(num_channels),
191 int num_channels,
197 num_channels,
200 encoder_memory_(new uint8[opus_encoder_get_size(num_channels)]),
202 buffer_(new float[num_channels * samples_per_frame_]) {
207 num_channels,
282 int num_channels,
287 num_channels,
290 buffer_(new int16[num_channels * samples_per_frame
46 ImplBase(const scoped_refptr<CastEnvironment>& cast_environment, transport::AudioCodec codec, int num_channels, int sampling_rate, const FrameEncodedCallback& callback) argument
190 OpusImpl(const scoped_refptr<CastEnvironment>& cast_environment, int num_channels, int sampling_rate, int bitrate, const FrameEncodedCallback& callback) argument
281 Pcm16Impl(const scoped_refptr<CastEnvironment>& cast_environment, int num_channels, int sampling_rate, const FrameEncodedCallback& callback) argument
[all...]
/external/chromium_org/media/cast/test/utility/
H A Daudio_utility.h25 TestAudioBusFactory(int num_channels,
/external/chromium_org/third_party/webrtc/common_audio/resampler/include/
H A Dpush_resampler.h32 int num_channels);
/external/chromium_org/media/cast/receiver/
H A Daudio_decoder.cc27 int num_channels,
31 num_channels_(num_channels),
96 int num_channels,
100 num_channels,
102 decoder_memory_(new uint8[opus_decoder_get_size(num_channels)]),
106 buffer_(new float[max_samples_per_frame_ * num_channels]) {
109 if (opus_decoder_init(opus_decoder_, sampling_rate, num_channels) !=
166 int num_channels,
170 num_channels,
25 ImplBase(const scoped_refptr<CastEnvironment>& cast_environment, transport::AudioCodec codec, int num_channels, int sampling_rate) argument
95 OpusImpl(const scoped_refptr<CastEnvironment>& cast_environment, int num_channels, int sampling_rate) argument
165 Pcm16Impl(const scoped_refptr<CastEnvironment>& cast_environment, int num_channels, int sampling_rate) argument

Completed in 497 milliseconds

123456