/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
D | fakewebrtcvideoengine.h | 411 bool IsChannel(int channel) const { in IsChannel() argument 412 return (channels_.find(channel) != channels_.end()); in IsChannel() 435 int GetCaptureId(int channel) const { in GetCaptureId() argument 436 WEBRTC_ASSERT_CHANNEL(channel); in GetCaptureId() 437 return channels_.find(channel)->second->capture_id_; in GetCaptureId() 439 int GetOriginalChannelId(int channel) const { in GetOriginalChannelId() argument 440 WEBRTC_ASSERT_CHANNEL(channel); in GetOriginalChannelId() 441 return channels_.find(channel)->second->original_channel_id_; in GetOriginalChannelId() 443 bool GetHasRenderer(int channel) const { in GetHasRenderer() argument 444 WEBRTC_ASSERT_CHANNEL(channel); in GetHasRenderer() [all …]
|
D | fakewebrtcvoiceengine.h | 298 bool GetPlayout(int channel) { in GetPlayout() argument 299 return channels_[channel]->playout; in GetPlayout() 301 bool GetSend(int channel) { in GetSend() argument 302 return channels_[channel]->send; in GetSend() 307 bool GetVAD(int channel) { in GetVAD() argument 308 return channels_[channel]->vad; in GetVAD() 310 bool GetRED(int channel) { in GetRED() argument 311 return channels_[channel]->red; in GetRED() 313 bool GetCodecFEC(int channel) { in GetCodecFEC() argument 314 return channels_[channel]->codec_fec; in GetCodecFEC() [all …]
|
/external/qemu/telephony/ |
D | sysdeps_posix.c | 108 SysChannel channel = _s_free_channels; in sys_channel_alloc() local 109 assert( channel != NULL && "out of free channels" ); in sys_channel_alloc() 110 _s_free_channels = channel->next; in sys_channel_alloc() 111 channel->next = NULL; in sys_channel_alloc() 112 channel->active = 0; in sys_channel_alloc() 113 channel->closed = 0; in sys_channel_alloc() 114 channel->pending = 0; in sys_channel_alloc() 115 channel->wanted = 0; in sys_channel_alloc() 116 return channel; in sys_channel_alloc() 120 sys_channel_free( SysChannel channel ) in sys_channel_free() argument [all …]
|
D | sysdeps_qemu.c | 181 SysChannel channel = _s_free_channels; in sys_channel_alloc() local 182 if (channel != NULL) { in sys_channel_alloc() 183 _s_free_channels = channel->next; in sys_channel_alloc() 184 channel->next = NULL; in sys_channel_alloc() 185 channel->fd = -1; in sys_channel_alloc() 186 channel->callback = NULL; in sys_channel_alloc() 187 channel->opaque = NULL; in sys_channel_alloc() 189 return channel; in sys_channel_alloc() 193 sys_channel_free( SysChannel channel ) in sys_channel_free() argument 195 if (channel->fd >= 0) { in sys_channel_free() [all …]
|
/external/chromium_org/third_party/webrtc/voice_engine/include/ |
D | voe_rtp_rtcp.h | 55 int channel, unsigned int CSRC, bool added) = 0; 58 int channel, unsigned int SSRC) = 0; 69 int channel, unsigned char subType, 132 virtual int SetLocalSSRC(int channel, unsigned int ssrc) = 0; 135 virtual int GetLocalSSRC(int channel, unsigned int& ssrc) = 0; 138 virtual int GetRemoteSSRC(int channel, unsigned int& ssrc) = 0; 141 virtual int SetSendAudioLevelIndicationStatus(int channel, 147 virtual int SetReceiveAudioLevelIndicationStatus(int channel, 155 virtual int SetSendAbsoluteSenderTimeStatus(int channel, 160 virtual int SetReceiveAbsoluteSenderTimeStatus(int channel, [all …]
|
D | voe_codec.h | 61 virtual int SetSendCodec(int channel, const CodecInst& codec) = 0; 65 virtual int GetSendCodec(int channel, CodecInst& codec) = 0; 74 virtual int SetSecondarySendCodec(int channel, const CodecInst& codec, 79 virtual int RemoveSecondarySendCodec(int channel) = 0; 82 virtual int GetSecondarySendCodec(int channel, CodecInst& codec) = 0; 85 virtual int GetRecCodec(int channel, CodecInst& codec) = 0; 93 virtual int SetRecPayloadType(int channel, const CodecInst& codec) = 0; 98 virtual int GetRecPayloadType(int channel, CodecInst& codec) = 0; 103 int channel, int type, PayloadFrequencies frequency = kFreq16000Hz) = 0; 109 virtual int SetFECStatus(int channel, bool enable) { return -1; } in SetFECStatus() argument [all …]
|
/external/chromium_org/third_party/webrtc/examples/android/media_demo/src/org/webrtc/webrtcdemo/ |
D | VideoEngine.java | 61 public native int startSend(int channel); in startSend() argument 62 public native int stopRender(int channel); in stopRender() argument 63 public native int stopSend(int channel); in stopSend() argument 64 public native int startReceive(int channel); in startReceive() argument 65 public native int stopReceive(int channel); in stopReceive() argument 67 public native int deleteChannel(int channel); in deleteChannel() argument 69 public native int setLocalReceiver(int channel, int port); in setLocalReceiver() argument 70 public native int setSendDestination(int channel, int port, String ipAddr); in setSendDestination() argument 73 public native int setReceiveCodec(int channel, VideoCodecInst codec); in setReceiveCodec() argument 74 public native int setSendCodec(int channel, VideoCodecInst codec); in setSendCodec() argument [all …]
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
D | sync_buffer_unittest.cc | 27 for (size_t channel = 0; channel < kChannels; ++channel) { in TEST() local 29 EXPECT_EQ(0, sync_buffer[channel][i]); in TEST() 58 for (size_t channel = 0; channel < kChannels; ++channel) { in TEST() local 60 new_data[channel][i] = i; in TEST() 71 for (size_t channel = 0; channel < kChannels; ++channel) { in TEST() local 73 EXPECT_EQ(new_data[channel][i], in TEST() 74 sync_buffer[channel][sync_buffer.next_index() + i]); in TEST() 83 for (size_t channel = 0; channel < kChannels; ++channel) { in TEST() local 85 EXPECT_EQ(0, sync_buffer[channel][i]); in TEST() 98 for (size_t channel = 0; channel < kChannels; ++channel) { in TEST() local [all …]
|
D | audio_multi_vector_unittest.cc | 88 for (size_t channel = 0; channel < num_channels_; ++channel) { in TEST_P() local 90 vec[channel][i] = static_cast<int16_t>(i); in TEST_P() 92 const AudioVector& audio_vec = vec[channel]; in TEST_P() 109 for (size_t channel = 0; channel < vec.Channels(); ++channel) { in TEST_P() local 111 EXPECT_EQ(static_cast<int16_t>((channel + 1) * 100 + i), vec[channel][i]); in TEST_P() 112 EXPECT_EQ(vec[channel][i], vec_copy[channel][i]); in TEST_P() 141 for (size_t channel = 0; channel < num_channels_; ++channel) { in TEST_P() local 143 vec1[channel][i] = static_cast<int16_t>(i + 100 * channel); in TEST_P() 144 vec2[channel][i] = in TEST_P() 145 static_cast<int16_t>(i + 100 * channel + array_length()); in TEST_P() [all …]
|
D | background_noise.cc | 35 for (size_t channel = 0; channel < num_channels_; ++channel) { in Reset() local 36 channel_parameters_[channel].Reset(); in Reset() 125 int32_t BackgroundNoise::Energy(size_t channel) const { in Energy() 126 assert(channel < num_channels_); in Energy() 127 return channel_parameters_[channel].energy; in Energy() 130 void BackgroundNoise::SetMuteFactor(size_t channel, int16_t value) { in SetMuteFactor() argument 131 assert(channel < num_channels_); in SetMuteFactor() 132 channel_parameters_[channel].mute_factor = value; in SetMuteFactor() 135 int16_t BackgroundNoise::MuteFactor(size_t channel) const { in MuteFactor() 136 assert(channel < num_channels_); in MuteFactor() [all …]
|
/external/e2fsprogs/lib/ext2fs/ |
D | unix_io.c | 99 static errcode_t unix_open(const char *name, int flags, io_channel *channel); 100 static errcode_t unix_close(io_channel channel); 101 static errcode_t unix_set_blksize(io_channel channel, int blksize); 102 static errcode_t unix_read_blk(io_channel channel, unsigned long block, 104 static errcode_t unix_write_blk(io_channel channel, unsigned long block, 106 static errcode_t unix_flush(io_channel channel); 107 static errcode_t unix_write_byte(io_channel channel, unsigned long offset, 109 static errcode_t unix_set_option(io_channel channel, const char *option, 111 static errcode_t unix_get_stats(io_channel channel, io_stats *stats) 113 static void reuse_cache(io_channel channel, struct unix_private_data *data, [all …]
|
D | io_manager.c | 22 errcode_t io_channel_set_options(io_channel channel, const char *opts) in io_channel_set_options() argument 27 EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); in io_channel_set_options() 32 if (!channel->manager->set_option) in io_channel_set_options() 50 retval = (channel->manager->set_option)(channel, ptr, arg); in io_channel_set_options() 59 errcode_t io_channel_write_byte(io_channel channel, unsigned long offset, in io_channel_write_byte() argument 62 EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); in io_channel_write_byte() 64 if (channel->manager->write_byte) in io_channel_write_byte() 65 return channel->manager->write_byte(channel, offset, in io_channel_write_byte() 71 errcode_t io_channel_read_blk64(io_channel channel, unsigned long long block, in io_channel_read_blk64() argument 74 EXT2_CHECK_MAGIC(channel, EXT2_ET_MAGIC_IO_CHANNEL); in io_channel_read_blk64() [all …]
|
D | undo_io.c | 73 static errcode_t undo_open(const char *name, int flags, io_channel *channel); 74 static errcode_t undo_close(io_channel channel); 75 static errcode_t undo_set_blksize(io_channel channel, int blksize); 76 static errcode_t undo_read_blk64(io_channel channel, unsigned long long block, 78 static errcode_t undo_write_blk64(io_channel channel, unsigned long long block, 80 static errcode_t undo_read_blk(io_channel channel, unsigned long block, 82 static errcode_t undo_write_blk(io_channel channel, unsigned long block, 84 static errcode_t undo_flush(io_channel channel); 85 static errcode_t undo_write_byte(io_channel channel, unsigned long offset, 87 static errcode_t undo_set_option(io_channel channel, const char *option, [all …]
|
D | inode_io.c | 49 static errcode_t inode_open(const char *name, int flags, io_channel *channel); 50 static errcode_t inode_close(io_channel channel); 51 static errcode_t inode_set_blksize(io_channel channel, int blksize); 52 static errcode_t inode_read_blk(io_channel channel, unsigned long block, 54 static errcode_t inode_write_blk(io_channel channel, unsigned long block, 56 static errcode_t inode_flush(io_channel channel); 57 static errcode_t inode_write_byte(io_channel channel, unsigned long offset, 59 static errcode_t inode_read_blk64(io_channel channel, 61 static errcode_t inode_write_blk64(io_channel channel, 115 static errcode_t inode_open(const char *name, int flags, io_channel *channel) in inode_open() argument [all …]
|
D | test_io.c | 65 static errcode_t test_open(const char *name, int flags, io_channel *channel); 66 static errcode_t test_close(io_channel channel); 67 static errcode_t test_set_blksize(io_channel channel, int blksize); 68 static errcode_t test_read_blk(io_channel channel, unsigned long block, 70 static errcode_t test_write_blk(io_channel channel, unsigned long block, 72 static errcode_t test_read_blk64(io_channel channel, unsigned long long block, 74 static errcode_t test_write_blk64(io_channel channel, unsigned long long block, 76 static errcode_t test_flush(io_channel channel); 77 static errcode_t test_write_byte(io_channel channel, unsigned long offset, 79 static errcode_t test_set_option(io_channel channel, const char *option, [all …]
|
/external/chromium_org/third_party/webrtc/voice_engine/ |
D | voe_rtp_rtcp_impl.cc | 53 int VoERTP_RTCPImpl::SetLocalSSRC(int channel, unsigned int ssrc) in SetLocalSSRC() argument 56 "SetLocalSSRC(channel=%d, %lu)", channel, ssrc); in SetLocalSSRC() 62 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in SetLocalSSRC() 63 voe::Channel* channelPtr = ch.channel(); in SetLocalSSRC() 73 int VoERTP_RTCPImpl::GetLocalSSRC(int channel, unsigned int& ssrc) in GetLocalSSRC() argument 76 "GetLocalSSRC(channel=%d, ssrc=?)", channel); in GetLocalSSRC() 82 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in GetLocalSSRC() 83 voe::Channel* channelPtr = ch.channel(); in GetLocalSSRC() 93 int VoERTP_RTCPImpl::GetRemoteSSRC(int channel, unsigned int& ssrc) in GetRemoteSSRC() argument 96 "GetRemoteSSRC(channel=%d, ssrc=?)", channel); in GetRemoteSSRC() [all …]
|
D | voe_rtp_rtcp_impl.h | 24 virtual int SetRTCPStatus(int channel, bool enable); 26 virtual int GetRTCPStatus(int channel, bool& enabled); 28 virtual int SetRTCP_CNAME(int channel, const char cName[256]); 30 virtual int GetRemoteRTCP_CNAME(int channel, char cName[256]); 32 virtual int GetRemoteRTCPData(int channel, 41 virtual int SetLocalSSRC(int channel, unsigned int ssrc); 43 virtual int GetLocalSSRC(int channel, unsigned int& ssrc); 45 virtual int GetRemoteSSRC(int channel, unsigned int& ssrc); 48 virtual int SetSendAudioLevelIndicationStatus(int channel, 51 virtual int SetReceiveAudioLevelIndicationStatus(int channel, [all …]
|
D | voe_video_sync_impl.cc | 50 int VoEVideoSyncImpl::GetPlayoutTimestamp(int channel, unsigned int& timestamp) in GetPlayoutTimestamp() argument 53 "GetPlayoutTimestamp(channel=%d, timestamp=?)", channel); in GetPlayoutTimestamp() 60 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in GetPlayoutTimestamp() 61 voe::Channel* channel_ptr = ch.channel(); in GetPlayoutTimestamp() 71 int VoEVideoSyncImpl::SetInitTimestamp(int channel, in SetInitTimestamp() argument 76 channel, timestamp); in SetInitTimestamp() 83 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); in SetInitTimestamp() 84 voe::Channel* channelPtr = ch.channel(); in SetInitTimestamp() 94 int VoEVideoSyncImpl::SetInitSequenceNumber(int channel, in SetInitSequenceNumber() argument 99 channel, sequenceNumber); in SetInitSequenceNumber() [all …]
|
/external/srec/srec/cfront/ |
D | chelfep.c | 47 static featdata smoothed_c0(front_cep *cepobj, front_channel *channel); 50 int make_frame(front_channel *channel, front_wave *waveobj, in make_frame() argument 62 MEMMOVE(channel->cep + (channel->mel_dim + 1), channel->cep, in make_frame() 63 (Q2 - 1) *(channel->mel_dim + 1), sizeof(float)); in make_frame() 71 filterbank_emulation(channel, waveobj, freqobj, cepobj, in make_frame() 78 cepstrum_params(channel, waveobj, freqobj, cepobj); in make_frame() 81 (void) make_std_frame(channel, cepobj, framdata); in make_frame() 82 if (!channel->frame_valid) in make_frame() 83 return (channel->frame_valid); in make_frame() 87 if (channel->frame_valid) in make_frame() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_format_pack.py | 54 for channel in format.channels: 55 if channel.size % 8 or not is_pot(channel.size): 59 for channel in format.channels: 61 if channel.type == VOID: 62 if channel.size: 63 print ' unsigned %s:%u;' % (channel.name, channel.size) 64 elif channel.type == UNSIGNED: 65 print ' unsigned %s:%u;' % (channel.name, channel.size) 66 elif channel.type in (SIGNED, FIXED): 67 print ' int %s:%u;' % (channel.name, channel.size) [all …]
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
D | u_format_pack.py | 54 for channel in format.channels: 55 if channel.size % 8 or not is_pot(channel.size): 59 for channel in format.channels: 61 if channel.type == VOID: 62 if channel.size: 63 print ' unsigned %s:%u;' % (channel.name, channel.size) 64 elif channel.type == UNSIGNED: 65 print ' unsigned %s:%u;' % (channel.name, channel.size) 66 elif channel.type in (SIGNED, FIXED): 67 print ' int %s:%u;' % (channel.name, channel.size) [all …]
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/template/ |
D | group-file-lexer.rb | 119 channel = ANTLR3::DEFAULT_CHANNEL 128 @state.channel = channel 143 channel = ANTLR3::DEFAULT_CHANNEL 152 @state.channel = channel 167 channel = ANTLR3::DEFAULT_CHANNEL 176 @state.channel = channel 191 channel = ANTLR3::DEFAULT_CHANNEL 200 @state.channel = channel 215 channel = ANTLR3::DEFAULT_CHANNEL 224 @state.channel = channel [all …]
|
/external/webrtc/src/modules/audio_processing/ |
D | audio_buffer.cc | 97 int16_t* AudioBuffer::data(int channel) const { in data() 98 assert(channel >= 0 && channel < num_channels_); in data() 103 return channels_[channel].data; in data() 106 int16_t* AudioBuffer::low_pass_split_data(int channel) const { in low_pass_split_data() 107 assert(channel >= 0 && channel < num_channels_); in low_pass_split_data() 109 return data(channel); in low_pass_split_data() 112 return split_channels_[channel].low_pass_data; in low_pass_split_data() 115 int16_t* AudioBuffer::high_pass_split_data(int channel) const { in high_pass_split_data() 116 assert(channel >= 0 && channel < num_channels_); in high_pass_split_data() 121 return split_channels_[channel].high_pass_data; in high_pass_split_data() [all …]
|
/external/chromium_org/third_party/webrtc/modules/audio_processing/ |
D | audio_buffer.cc | 215 input_buffer_->channel(0), in CopyFrom() 225 process_buffer_->channel(i), in CopyFrom() 234 channels_->ibuf()->channel(i)); in CopyFrom() 251 ScaleToFloat(channels_->ibuf()->channel(i), in CopyTo() 274 const int16_t* AudioBuffer::data(int channel) const { in data() 275 return channels_->ibuf_const()->channel(channel); in data() 278 int16_t* AudioBuffer::data(int channel) { in data() argument 280 return channels_->ibuf()->channel(channel); in data() 283 const float* AudioBuffer::data_f(int channel) const { in data_f() 284 return channels_->fbuf_const()->channel(channel); in data_f() [all …]
|
/external/wpa_supplicant_8/src/p2p/ |
D | p2p_utils.c | 55 int p2p_channel_to_freq(int op_class, int channel) in p2p_channel_to_freq() argument 62 if (channel < 1 || channel > 13) in p2p_channel_to_freq() 64 return 2407 + 5 * channel; in p2p_channel_to_freq() 67 if (channel != 14) in p2p_channel_to_freq() 69 return 2414 + 5 * channel; in p2p_channel_to_freq() 72 if (channel < 1 || channel > 13) in p2p_channel_to_freq() 74 return 2407 + 5 * channel; in p2p_channel_to_freq() 77 if (channel < 36 || channel > 64) in p2p_channel_to_freq() 79 return 5000 + 5 * channel; in p2p_channel_to_freq() 82 if (channel < 149 || channel > 161) in p2p_channel_to_freq() [all …]
|