/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
H A D | mediasessionclient.cc | 100 // Delete channel manager. This will wait for the channels to exit 215 // If call_to_join has focus, added sessions should have enabled channels. 260 int channels = GetXmlAttr(element, QN_CHANNELS, 1); local 261 *out = AudioCodec(id, name, clockrate, bitrate, channels, 0); 510 int channels = GetXmlAttr(elem, QN_CHANNELS, 1); local 516 *codec = AudioCodec(id, name, clockrate, bitrate, channels, 0); 766 if (codec.channels > 1) 767 AddXmlAttr(payload_type, QN_CHANNELS, codec.channels); 927 if (codec.channels > 1) { 928 AddXmlAttr(elem, QN_CHANNELS, codec.channels); [all...] |
/external/chromium_org/third_party/opus/src/celt/ |
H A D | celt_decoder.c | 67 int channels; member in struct:OpusCustomDecoder 91 celt_sig _decode_mem[1]; /* Size = channels*(DECODE_BUFFER_SIZE+mode->overlap) */ 92 /* opus_val16 lpc[], Size = channels*LPC_ORDER */ 99 int celt_decoder_get_size(int channels) argument 102 return opus_custom_decoder_get_size(mode, channels); 105 OPUS_CUSTOM_NOSTATIC int opus_custom_decoder_get_size(const CELTMode *mode, int channels) argument 108 + (channels*(DECODE_BUFFER_SIZE+mode->overlap)-1)*sizeof(celt_sig) 109 + channels*LPC_ORDER*sizeof(opus_val16) 115 CELTDecoder *opus_custom_decoder_create(const CELTMode *mode, int channels, int *error) argument 118 CELTDecoder *st = (CELTDecoder *)opus_alloc(opus_custom_decoder_get_size(mode, channels)); 131 celt_decoder_init(CELTDecoder *st, opus_int32 sampling_rate, int channels) argument 144 opus_custom_decoder_init(CELTDecoder *st, const CELTMode *mode, int channels) argument [all...] |
/external/chromium_org/third_party/opus/src/src/ |
H A D | opus_multistream_encoder.c | 81 /* then opus_val32 window_mem[channels*120]; */ 82 /* then opus_val32 preemph_mem[channels]; */ 142 static void channel_pos(int channels, int pos[8]) argument 145 if (channels==4) 151 } else if (channels==3||channels==5||channels==6) 159 } else if (channels==7) 168 } else if (channels==8) 221 int len, int overlap, int channels, in 220 surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *bandLogE, opus_val32 *mem, opus_val32 *preemph_mem, int len, int overlap, int channels, int rate, opus_copy_channel_in_func copy_channel_in ) argument 357 opus_multistream_surround_encoder_get_size(int channels, int mapping_family) argument 394 opus_multistream_encoder_init_impl( OpusMSEncoder *st, opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application, int surround ) argument 449 OPUS_CLEAR(ms_get_preemph_mem(st), channels); local 456 opus_multistream_encoder_init( OpusMSEncoder *st, opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application ) argument 469 opus_multistream_surround_encoder_init( OpusMSEncoder *st, opus_int32 Fs, int channels, int mapping_family, int *streams, int *coupled_streams, unsigned char *mapping, int application ) argument 520 opus_multistream_encoder_create( opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application, int *error ) argument 557 opus_multistream_surround_encoder_create( opus_int32 Fs, int channels, int mapping_family, int *streams, int *coupled_streams, unsigned char *mapping, int application, int *error ) argument 712 int channels; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
H A D | audio_coding_module_unittest.cc | 633 int channels, 640 codec_type, channels, payload_type, frame_size_samples); 723 int channels, 729 channels, 632 RegisterSendCodec(int codec_type, int channels, int payload_type, int frame_size_samples, int frame_size_rtp_timestamps) argument 722 SetUpTest(int codec_type, int channels, int payload_type, int codec_frame_size_samples, int codec_frame_size_rtp_timestamps) argument
|
H A D | audio_coding_module_unittest_oldapi.cc | 644 int channels, 652 channels, 737 int channels, 744 channels, 642 RegisterSendCodec(const char* payload_name, int sampling_freq_hz, int channels, int payload_type, int frame_size_samples, int frame_size_rtp_timestamps) argument 735 SetUpTest(const char* codec_name, int codec_sample_rate_hz, int channels, int payload_type, int codec_frame_size_samples, int codec_frame_size_rtp_timestamps) argument
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
H A D | neteq_impl.cc | 480 // Triger an update of sampling rate and the number of channels. 635 decoder->channels() != algorithm_buffer_->Channels()) 636 SetSampleRateAndChannels(decoder_info->fs_hz, decoder->channels()); 1136 // If sampling rate or number of channels has changed, we need to make 1139 decoder->channels() != algorithm_buffer_->Channels()) { 1141 SetSampleRateAndChannels(decoder_info->fs_hz, decoder->channels()); 1205 (decoder && decoder->channels() == sync_buffer_->Channels())); 1223 // The number of channels in the |sync_buffer_| should be the same as the 1224 // number decoder channels. 1225 assert(sync_buffer_->Channels() == decoder->channels()); 1828 UpdatePlcComponents(int fs_hz, size_t channels) argument 1836 SetSampleRateAndChannels(int fs_hz, size_t channels) argument [all...] |
/external/chromium_org/third_party/webrtc/modules/media_file/source/ |
H A D | media_file_utility.cc | 628 uint32_t channels, 634 codec_info_.channels = channels; 792 const uint32_t bytesRequested = (codec_info_.channels == 2) ? 816 (codec_info_.channels == 2) ? _tempData : (uint8_t*)outData, 829 if(codec_info_.channels == 2) 876 if(codec_info_.channels != 2) 1044 uint32_t channels = (codecInst.channels == 0) ? local 1045 1 : codecInst.channels; 627 InitWavCodec(uint32_t samplesPerSec, uint32_t channels, uint32_t bitsPerSample, uint32_t formatTag) argument 1113 WriteWavHeader( OutStream& wav, const uint32_t freq, const uint32_t bytesPerSample, const uint32_t channels, const uint32_t format, const uint32_t lengthInBytes) argument 1143 uint32_t channels = (codec_info_.channels == 0) ? local [all...] |
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/interface/ |
H A D | rtp_rtcp_defines.h | 36 uint8_t channels; member in struct:webrtc::AudioPayload 257 * channels - number of channels in codec (1 = mono, 2 = stereo) 264 const uint8_t channels, 335 const uint8_t channels,
|
/external/chromium_org/third_party/webrtc/sound/ |
H A D | pulseaudiosoundsystem.cc | 102 for (int i = 0; i < channel_volumes->channels; ++i) { 224 uint8_t *channels; member in struct:rtc::PulseAudioInputStream::GetSourceChannelCountCallbackData 311 // The device may have a different number of channels than the stream and 317 // the actual number of channels that the device has. 319 uint8_t channels; local 323 data.channels = &channels; 337 if (data.channels) { 346 symbol_table()->pa_cvolume_set()(&channel_volumes, channels, pa_volume); 534 data->instance->OnGetSourceChannelCountCallback(info, eol, &data->channels); 537 OnGetSourceChannelCountCallback(const pa_source_info *info, int eol, uint8_t **channels) argument [all...] |
/external/chromium_org/tools/ipc_fuzzer/mutate/ |
H A D | generate.cc | 829 int channels; local 841 if (!GenerateParam(&channels, generator)) 848 channels,
|
/external/chromium_org/ui/gfx/codec/ |
H A D | png_codec.cc | 131 // Skia format. Expects the row to have 4 channels, otherwise there won't be 136 const int channels = row_info->channels; local 137 DCHECK_EQ(channels, 4); 144 for (unsigned char* p = data; p < end; p += channels) { 146 const unsigned char alpha = p[channels - 1];
|
/external/kernel-headers/original/uapi/linux/ |
H A D | firewire-cdev.h | 680 * and the channels are selected by %FW_CDEV_IOC_SET_ISO_CHANNELS. 706 * struct fw_cdev_set_iso_channels - Select channels in multichannel reception 707 * @channels: Bitmask of channels to listen to 710 * @channels is the bitwise or of 1ULL << n for each channel n to listen to. 713 * on a channel in @channels. In that case, the bitmask of all unoccupied 714 * channels is returned in @channels. 717 __u64 channels; member in struct:fw_cdev_set_iso_channels 927 * @channels 970 __u64 channels; member in struct:fw_cdev_allocate_iso_resource [all...] |
/external/libopus/celt/ |
H A D | celt_decoder.c | 67 int channels; member in struct:OpusCustomDecoder 91 celt_sig _decode_mem[1]; /* Size = channels*(DECODE_BUFFER_SIZE+mode->overlap) */ 92 /* opus_val16 lpc[], Size = channels*LPC_ORDER */ 99 int celt_decoder_get_size(int channels) argument 102 return opus_custom_decoder_get_size(mode, channels); 105 OPUS_CUSTOM_NOSTATIC int opus_custom_decoder_get_size(const CELTMode *mode, int channels) argument 108 + (channels*(DECODE_BUFFER_SIZE+mode->overlap)-1)*sizeof(celt_sig) 109 + channels*LPC_ORDER*sizeof(opus_val16) 115 CELTDecoder *opus_custom_decoder_create(const CELTMode *mode, int channels, int *error) argument 118 CELTDecoder *st = (CELTDecoder *)opus_alloc(opus_custom_decoder_get_size(mode, channels)); 131 celt_decoder_init(CELTDecoder *st, opus_int32 sampling_rate, int channels) argument 144 opus_custom_decoder_init(CELTDecoder *st, const CELTMode *mode, int channels) argument [all...] |
/external/libopus/src/ |
H A D | opus_multistream_encoder.c | 81 /* then opus_val32 window_mem[channels*120]; */ 82 /* then opus_val32 preemph_mem[channels]; */ 142 static void channel_pos(int channels, int pos[8]) argument 145 if (channels==4) 151 } else if (channels==3||channels==5||channels==6) 159 } else if (channels==7) 168 } else if (channels==8) 221 int len, int overlap, int channels, in 220 surround_analysis(const CELTMode *celt_mode, const void *pcm, opus_val16 *bandLogE, opus_val32 *mem, opus_val32 *preemph_mem, int len, int overlap, int channels, int rate, opus_copy_channel_in_func copy_channel_in ) argument 357 opus_multistream_surround_encoder_get_size(int channels, int mapping_family) argument 394 opus_multistream_encoder_init_impl( OpusMSEncoder *st, opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application, int surround ) argument 449 OPUS_CLEAR(ms_get_preemph_mem(st), channels); local 456 opus_multistream_encoder_init( OpusMSEncoder *st, opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application ) argument 469 opus_multistream_surround_encoder_init( OpusMSEncoder *st, opus_int32 Fs, int channels, int mapping_family, int *streams, int *coupled_streams, unsigned char *mapping, int application ) argument 520 opus_multistream_encoder_create( opus_int32 Fs, int channels, int streams, int coupled_streams, const unsigned char *mapping, int application, int *error ) argument 557 opus_multistream_surround_encoder_create( opus_int32 Fs, int channels, int mapping_family, int *streams, int *coupled_streams, unsigned char *mapping, int application, int *error ) argument 712 int channels; local [all...] |
/external/libpng/contrib/libtests/ |
H A D | makepng.c | 33 * 2 channels: the color channel increases in luminosity from top to bottom, the 36 * 3 channels: linear combinations of, from the top-left corner clockwise, 39 * 4 channels: linear combinations of, from the top-left corner clockwise, 56 * Image size is determined by the final pixel depth in bits, i.e. channels x 118 int channels = 1; local 121 channels = 3; 124 return channels + 1; 127 return channels; 340 /* 2 channels: the color channel increases in luminosity from top to bottom, 359 /* 3 channels [all...] |
/external/libpng/ |
H A D | pngwrite.c | 807 row_info.channels = png_ptr->usr_channels; 809 row_info.pixel_depth = (png_byte)(row_info.bit_depth * row_info.channels); 814 png_debug1(3, "row_info->channels = %d", row_info.channels); 1736 const int channels = (image->format & PNG_FORMAT_FLAG_COLOR) ? 3 : 1; local 1752 aindex = channels; 1762 row_end = output_row + image->width * (channels+1); 1785 c = channels; 1826 /* Given 16-bit input (1 to 4 channels) write 8-bit output. If an alpha channel 1893 const int channels local 1987 const int channels = PNG_IMAGE_SAMPLE_CHANNELS(format); local [all...] |
/external/libvorbis/lib/ |
H A D | vorbisenc.c | 554 /* residue 2 bundles together multiple channels; used by stereo 555 and surround. Count the channels in use */ 558 channels/samples. */ 564 for(k=0;k<vi->channels;k++) 624 int ch=vi->channels; 862 long channels, 871 vi->channels=channels; 903 long channels, 913 hi->setup=get_setup_template(channels,rat 861 vorbis_encode_setup_setting(vorbis_info *vi, long channels, long rate) argument 902 vorbis_encode_setup_vbr(vorbis_info *vi, long channels, long rate, float quality) argument 923 vorbis_encode_init_vbr(vorbis_info *vi, long channels, long rate, float base_quality ) argument 943 vorbis_encode_setup_managed(vorbis_info *vi, long channels, long rate, long max_bitrate, long nominal_bitrate, long min_bitrate) argument 990 vorbis_encode_init(vorbis_info *vi, long channels, long rate, long max_bitrate, long nominal_bitrate, long min_bitrate) argument [all...] |
/external/sonivox/arm-fm-22k/lib_src/ |
H A D | eas_synth.h | 96 /* use the following values to specify unassigned channels or voices */ 320 S_SYNTH_CHANNEL channels[NUM_SYNTH_CHANNELS]; member in struct:s_synth_tag
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
H A D | eas_synth.h | 96 /* use the following values to specify unassigned channels or voices */ 320 S_SYNTH_CHANNEL channels[NUM_SYNTH_CHANNELS]; member in struct:s_synth_tag
|
/external/sonivox/arm-wt-22k/lib_src/ |
H A D | eas_synth.h | 96 /* use the following values to specify unassigned channels or voices */ 320 S_SYNTH_CHANNEL channels[NUM_SYNTH_CHANNELS]; member in struct:s_synth_tag
|
/external/svox/pico/tts/ |
H A D | com_svox_picottsengine.cpp | 1290 * @channels - reference to number of channels 1294 int& channels) 1299 channels = 1; 1293 setAudioFormat(tts_audio_format& encoding, uint32_t& rate, int& channels) argument
|
/external/wpa_supplicant_8/hostapd/src/p2p/ |
H A D | p2p.h | 20 * P2P_MAX_REG_CLASS_CHANNELS - Maximum number of channels per regulatory class 25 * struct p2p_channels - List of supported channels 38 * channel - Supported channels 43 * channels - Number of channel entries in use 45 size_t channels; member in struct:p2p_channels::p2p_reg_class 127 * freq_list - Zero-terminated list of possible operational channels 299 * channels - Own supported regulatory classes and channels 301 * List of supposerted channels per regulatory class. The regulatory 305 struct p2p_channels channels; member in struct:p2p_config [all...] |
/external/wpa_supplicant_8/src/p2p/ |
H A D | p2p.h | 20 * P2P_MAX_REG_CLASS_CHANNELS - Maximum number of channels per regulatory class 25 * struct p2p_channels - List of supported channels 38 * channel - Supported channels 43 * channels - Number of channel entries in use 45 size_t channels; member in struct:p2p_channels::p2p_reg_class 127 * freq_list - Zero-terminated list of possible operational channels 299 * channels - Own supported regulatory classes and channels 301 * List of supposerted channels per regulatory class. The regulatory 305 struct p2p_channels channels; member in struct:p2p_config [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/ |
H A D | p2p.h | 20 * P2P_MAX_REG_CLASS_CHANNELS - Maximum number of channels per regulatory class 25 * struct p2p_channels - List of supported channels 38 * channel - Supported channels 43 * channels - Number of channel entries in use 45 size_t channels; member in struct:p2p_channels::p2p_reg_class 127 * freq_list - Zero-terminated list of possible operational channels 299 * channels - Own supported regulatory classes and channels 301 * List of supposerted channels per regulatory class. The regulatory 305 struct p2p_channels channels; member in struct:p2p_config [all...] |
/external/bluetooth/bluedroid/stack/hcic/ |
H A D | hcicmds.c | 3078 UINT8 channels[10] = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F}; local 3092 /* Just make sure that caller did not exceed 79 Bluetooth channels */ 3099 channels[byte_offset] &= ~(1 << bit_offset); 3103 *pp++ = channels[i];
|