Searched refs:channels (Results 1 - 25 of 710) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
H A Dbackground_noise_unittest.cc20 size_t channels = 1; local
21 BackgroundNoise bgn(channels);
H A Dmerge_unittest.cc27 size_t channels = 1; local
28 BackgroundNoise bgn(channels);
31 Expand expand(&bgn, &sync_buffer, &random_vector, fs, channels);
32 Merge merge(fs, channels, &expand, &sync_buffer);
H A Dexpand_unittest.cc24 size_t channels = 1; local
25 BackgroundNoise bgn(channels);
28 Expand expand(&bgn, &sync_buffer, &random_vector, fs, channels);
33 size_t channels = 1; local
34 BackgroundNoise bgn(channels);
39 expand_factory.Create(&bgn, &sync_buffer, &random_vector, fs, channels);
H A Dnormal_unittest.cc35 size_t channels = 1; local
36 BackgroundNoise bgn(channels);
39 Expand expand(&bgn, &sync_buffer, &random_vector, fs, channels);
48 size_t channels = 1; local
49 BackgroundNoise bgn(channels);
52 MockExpand expand(&bgn, &sync_buffer, &random_vector, fs, channels);
56 scoped_ptr<int16_t[]> mute_factor_array(new int16_t[channels]);
57 for (size_t i = 0; i < channels; ++i) {
60 AudioMultiVector output(channels);
92 size_t channels local
[all...]
H A Daudio_classifier.cc42 int channels) {
44 assert((input_length / channels) == kDefaultFrameSizeSamples);
47 assert(channels == 1 || channels == 2);
61 channels,
40 Analysis(const int16_t* input, int input_length, int channels) argument
H A Daudio_classifier_unittest.cc40 size_t channels) {
42 scoped_ptr<int16_t[]> in(new int16_t[channels * kFrameSize]);
51 while (fread(in.get(), sizeof(int16_t), channels * kFrameSize, audio_file) ==
52 channels * kFrameSize) {
54 classifier.Analysis(in.get(), channels * kFrameSize, channels);
38 RunAnalysisTest(const std::string& audio_filename, const std::string& data_filename, size_t channels) argument
/external/libpng/contrib/tools/
H A Dcvtcolor.c53 int channels = 0; local
92 ++channels;
95 ++channels;
98 ++channels;
101 ++channels;
108 int components = channels;
114 if (components < channels)
123 if ((channels & 1) == 0)
125 double alpha = c[channels-1];
128 for (i=0; i<channels
[all...]
/external/chromium_org/components/copresence/test/
H A Daudio_test_support.cc20 int channels,
22 scoped_ptr<media::AudioBus> bus = media::AudioBus::Create(channels, samples);
23 for (int ch = 0; ch < channels; ++ch)
29 CreateRandomAudioRefCounted(int random_seed, int channels, int samples) { argument
31 media::AudioBusRefCounted::Create(channels, samples);
32 for (int ch = 0; ch < channels; ++ch)
19 CreateRandomAudio(int random_seed, int channels, int samples) argument
H A Daudio_test_support.h25 int channels,
30 CreateRandomAudioRefCounted(int random_seed, int channels, int samples);
/external/bluetooth/bluedroid/embdrv/sbc/encoder/include/
H A Dsbc_if.h28 channels - 1 mono 2 stereo
33 int SBC_init(int pcm_sample_freq, int channels, int bits_per_sample);
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/
H A Dopus_inst.h24 int channels; member in struct:WebRtcOpusDecInst
/external/chromium_org/media/base/
H A Daudio_block_fifo_unittest.cc18 int channels, int block_frames, int max_frames) {
21 Push(fifo, frames_to_push, channels);
29 void Push(AudioBlockFifo* fifo, int frames_to_push, int channels) { argument
32 const int data_byte_size = bytes_per_sample * channels * frames_to_push;
45 for (int i = 0; i < bus->channels(); ++i) {
57 const int channels = 6; local
60 AudioBlockFifo fifo(channels, frames, blocks);
67 const int channels = 2; local
70 AudioBlockFifo fifo(channels, frames, blocks);
73 PushAndVerify(&fifo, frames / 2, channels, frame
17 PushAndVerify(AudioBlockFifo* fifo, int frames_to_push, int channels, int block_frames, int max_frames) argument
88 const int channels = 2; local
152 static const int channels = 2; local
171 const int channels = 2; local
[all...]
H A Dmulti_channel_resampler_unittest.cc45 void InitializeAudioData(int channels, int frames) { argument
47 audio_bus_ = AudioBus::Create(channels, frames);
57 EXPECT_EQ(audio_bus->channels(), audio_bus_->channels());
58 for (int i = 0; i < audio_bus->channels(); ++i)
63 void MultiChannelTest(int channels, int frames, double expected_max_rms_error, argument
65 InitializeAudioData(channels, frames);
67 channels, kScaleFactor, SincResampler::kDefaultRequestSize, base::Bind(
85 void HighLatencyTest(int channels) { argument
86 MultiChannelTest(channels, kHighLatencySiz
90 LowLatencyTest(int channels) argument
[all...]
H A Dmulti_channel_resampler.cc14 MultiChannelResampler::MultiChannelResampler(int channels, argument
19 wrapped_resampler_audio_bus_(AudioBus::CreateWrapper(channels)),
22 resamplers_.reserve(channels);
23 for (int i = 0; i < channels; ++i) {
32 // Allocate storage for all channels except the first, which will use the
34 if (channels > 1) {
35 resampler_audio_bus_ = AudioBus::Create(channels - 1, request_size);
36 for (int i = 0; i < resampler_audio_bus_->channels(); ++i) {
46 DCHECK_EQ(static_cast<size_t>(audio_bus->channels()), resamplers_.size());
49 if (audio_bus->channels()
[all...]
H A Daudio_bus.cc24 static int CalculateMemorySizeInternal(int channels, int frames, argument
35 return sizeof(float) * channels * aligned_frames;
48 const int channels = dest->channels(); local
49 for (int ch = 0; ch < channels; ++ch) {
52 ++i, offset += channels) {
68 const int channels = source->channels(); local
69 for (int ch = 0; ch < channels; ++ch) {
72 ++i, offset += channels) {
86 ValidateConfig(int channels, int frames) argument
101 AudioBus(int channels, int frames) argument
115 AudioBus(int channels, int frames, float* data) argument
140 AudioBus(int channels) argument
151 Create(int channels, int frames) argument
160 CreateWrapper(int channels) argument
169 WrapMemory(int channels, int frames, void* data) argument
226 CalculateMemorySize(int channels, int frames) argument
230 BuildChannelData(int channels, int aligned_frames, float* data) argument
343 Create( int channels, int frames) argument
349 AudioBusRefCounted(int channels, int frames) argument
[all...]
H A Daudio_bus.h29 // Creates a new AudioBus and allocates |channels| of length |frames|. Uses
30 // channels() and frames_per_buffer() from AudioParameters if given.
31 static scoped_ptr<AudioBus> Create(int channels, int frames);
34 // Creates a new AudioBus with the given number of channels, but zero length.
37 static scoped_ptr<AudioBus> CreateWrapper(int channels);
48 static scoped_ptr<AudioBus> WrapMemory(int channels, int frames, void* data);
53 // Calculates the required size for an AudioBus given the number of channels
55 static int CalculateMemorySize(int channels, int frames);
76 // AudioBus object must have the same frames() and channels().
80 // objects must have the same number of channels()
95 int channels() const { return static_cast<int>(channel_data_.size()); } function in class:media::AudioBus
[all...]
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/
H A DCodecInst.java26 "Channels: " + channels() + " " +
37 public native int channels(); method in class:CodecInst
/external/chromium_org/chrome/common/extensions/features/
H A Dchrome_channel_feature_filter.cc23 channels["trunk"] = chrome::VersionInfo::CHANNEL_UNKNOWN;
24 channels["canary"] = chrome::VersionInfo::CHANNEL_CANARY;
25 channels["dev"] = chrome::VersionInfo::CHANNEL_DEV;
26 channels["beta"] = chrome::VersionInfo::CHANNEL_BETA;
27 channels["stable"] = chrome::VersionInfo::CHANNEL_STABLE;
30 std::map<std::string, chrome::VersionInfo::Channel> channels; member in struct:extensions::__anon5651::Mappings
37 ChannelsMap channels = g_mappings.Get().channels; local
38 for (ChannelsMap::iterator i = channels.begin(); i != channels
48 ChannelsMap channels = g_mappings.Get().channels; local
[all...]
/external/chromium_org/media/filters/
H A Dwsola_internals.cc29 int channels) {
32 for (int n = 0; n < channels; ++n) {
45 DCHECK_EQ(a->channels(), b->channels());
51 memset(dot_product, 0, sizeof(*dot_product) * a->channels());
52 for (int k = 0; k < a->channels(); ++k) {
65 int channels = input->channels(); local
67 for (int k = 0; k < input->channels(); ++k) {
80 energy[k + n * channels]
26 MultiChannelSimilarityMeasure(const float* dot_prod_a_b, const float* energy_a, const float* energy_b, int channels) argument
114 int channels = search_segment->channels(); local
193 int channels = search_block->channels(); local
223 int channels = search_block->channels(); local
[all...]
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebDOMMessageEvent.cpp71 MessagePortChannelArray* channels = constUnwrap<MessageEvent>()->channels(); local
72 WebMessagePortChannelArray webChannels(channels ? channels->size() : 0);
73 if (channels) {
74 for (size_t i = 0; i < channels->size(); ++i)
75 webChannels[i] = (*channels)[i].leakPtr();
/external/chromium_org/chrome/utility/cloud_print/
H A Dbitmap_image.cc18 data_(new uint8[size.GetArea() * channels()]) {
24 uint8 BitmapImage::channels() const { function in class:cloud_print::BitmapImage
31 return data_.get() + (point.y() * size_.width() + point.x()) * channels();
/external/libvorbis/include/vorbis/
H A Dvorbisenc.h47 * \param channels The number of channels to be encoded.
61 long channels,
84 * \param channels The number of channels to be encoded.
98 long channels,
118 * \param channels The number of channels to be encoded.
130 long channels,
146 * \param channels Th
[all...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
H A DAudioQuality.java24 int channels; field in class:AudioQuality
/external/chromium_org/third_party/WebKit/Source/core/dom/
H A DMessagePort.cpp72 OwnPtr<MessagePortChannelArray> channels; local
82 channels = MessagePort::disentanglePorts(ports, exceptionState);
88 OwnPtr<WebMessagePortChannelArray> webChannels = toWebMessagePortChannelArray(channels.release());
93 PassOwnPtr<WebMessagePortChannelArray> MessagePort::toWebMessagePortChannelArray(PassOwnPtr<MessagePortChannelArray> channels) argument
96 if (channels && channels->size()) {
97 webChannels = adoptPtr(new WebMessagePortChannelArray(channels->size()));
98 for (size_t i = 0; i < channels->size(); ++i)
99 (*webChannels)[i] = (*channels)[i].leakPtr();
109 OwnPtr<MessagePortChannelArray> channels local
168 tryGetMessageFrom(WebMessagePortChannel& webChannel, RefPtr<SerializedScriptValue>& message, OwnPtr<MessagePortChannelArray>& channels) argument
192 OwnPtr<MessagePortChannelArray> channels; local
244 entanglePorts(ExecutionContext& context, PassOwnPtr<MessagePortChannelArray> channels) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
H A Daudio_coding_module.cc44 // Get supported codec parameters with name, frequency and number of channels.
48 int channels) {
53 payload_name, sampling_freq_hz, channels);
68 // Keep the number of channels from the function call. For most codecs it
70 codec->channels = channels;
75 // Get supported codec Index with name, frequency and number of channels.
78 int channels) {
79 return acm2::ACMCodecDB::CodecId(payload_name, sampling_freq_hz, channels);
45 Codec(const char* payload_name, CodecInst* codec, int sampling_freq_hz, int channels) argument
76 Codec(const char* payload_name, int sampling_freq_hz, int channels) argument

Completed in 1000 milliseconds

1234567891011>>