/external/wpa_supplicant_8/src/p2p/ |
H A D | p2p_go_neg.c | 40 size_t channels; local 43 ch = &dev->channels; 67 channels = *pos++; 68 cl->channels = channels > P2P_MAX_REG_CLASS_CHANNELS ? 69 P2P_MAX_REG_CLASS_CHANNELS : channels; 70 os_memcpy(cl->channel, pos, cl->channels); 71 pos += channels; 77 p2p_channels_intersect(own, &dev->channels, &intersection); 80 (int) dev->channels [all...] |
H A D | p2p_invitation.c | 77 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); 110 struct p2p_channels *channels) 152 if (channels) 153 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels); 177 struct p2p_channels intersection, *channels = NULL; local 229 if (p2p_peer_channels_check(p2p, &p2p->cfg->channels, dev, 232 p2p_dbg(p2p, "No common channels found"); 237 p2p_channels_dump(p2p, "own channels", &p2p->cfg->channels); 238 p2p_channels_dump(p2p, "peer channels", 105 p2p_build_invitation_resp(struct p2p_data *p2p, struct p2p_device *peer, u8 dialog_token, u8 status, const u8 *group_bssid, u8 reg_class, u8 channel, struct p2p_channels *channels) argument 406 struct p2p_channels intersection, *channels = NULL; local [all...] |
H A D | p2p_utils.c | 61 /* channels 1..13 */ 70 case 83: /* channels 1..9; 40 MHz */ 71 case 84: /* channels 5..13; 40 MHz */ 75 case 115: /* channels 36,40,44,48; indoor only */ 76 case 118: /* channels 52,56,60,64; dfs */ 80 case 124: /* channels 149,153,157,161 */ 81 case 125: /* channels 149,153,157,161,165,169 */ 85 case 116: /* channels 36,44; 40 MHz; indoor only */ 86 case 117: /* channels 40,48; 40 MHz; indoor only */ 87 case 119: /* channels 5 330 p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class, u8 channel) argument 347 p2p_channels_includes_freq(const struct p2p_channels *channels, unsigned int freq) argument 396 p2p_get_pref_freq(struct p2p_data *p2p, const struct p2p_channels *channels) argument 450 p2p_channel_pick_random(const u8 *channels, unsigned int num_channels) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/p2p/ |
H A D | p2p_go_neg.c | 40 size_t channels; local 43 ch = &dev->channels; 67 channels = *pos++; 68 cl->channels = channels > P2P_MAX_REG_CLASS_CHANNELS ? 69 P2P_MAX_REG_CLASS_CHANNELS : channels; 70 os_memcpy(cl->channel, pos, cl->channels); 71 pos += channels; 77 p2p_channels_intersect(own, &dev->channels, &intersection); 80 (int) dev->channels [all...] |
H A D | p2p_invitation.c | 77 p2p_buf_add_channel_list(buf, p2p->cfg->country, &p2p->channels); 110 struct p2p_channels *channels) 152 if (channels) 153 p2p_buf_add_channel_list(buf, p2p->cfg->country, channels); 177 struct p2p_channels intersection, *channels = NULL; local 229 if (p2p_peer_channels_check(p2p, &p2p->cfg->channels, dev, 232 p2p_dbg(p2p, "No common channels found"); 237 p2p_channels_dump(p2p, "own channels", &p2p->cfg->channels); 238 p2p_channels_dump(p2p, "peer channels", 105 p2p_build_invitation_resp(struct p2p_data *p2p, struct p2p_device *peer, u8 dialog_token, u8 status, const u8 *group_bssid, u8 reg_class, u8 channel, struct p2p_channels *channels) argument 406 struct p2p_channels intersection, *channels = NULL; local [all...] |
H A D | p2p_utils.c | 61 /* channels 1..13 */ 70 case 83: /* channels 1..9; 40 MHz */ 71 case 84: /* channels 5..13; 40 MHz */ 75 case 115: /* channels 36,40,44,48; indoor only */ 76 case 118: /* channels 52,56,60,64; dfs */ 80 case 124: /* channels 149,153,157,161 */ 81 case 125: /* channels 149,153,157,161,165,169 */ 85 case 116: /* channels 36,44; 40 MHz; indoor only */ 86 case 117: /* channels 40,48; 40 MHz; indoor only */ 87 case 119: /* channels 5 330 p2p_channels_includes(const struct p2p_channels *channels, u8 reg_class, u8 channel) argument 347 p2p_channels_includes_freq(const struct p2p_channels *channels, unsigned int freq) argument 396 p2p_get_pref_freq(struct p2p_data *p2p, const struct p2p_channels *channels) argument 450 p2p_channel_pick_random(const u8 *channels, unsigned int num_channels) argument [all...] |
/external/chromium_org/content/renderer/media/ |
H A D | webrtc_audio_device_impl.cc | 60 const std::vector<int>& channels, 68 // Return immediately when not recording or |channels| is empty. 69 // See crbug.com/274017: renderer crash dereferencing invalid channels[0]. 70 if (!recording_ || channels.empty()) 100 &channels[0], 101 channels.size(), 131 render_buffer_.resize(audio_bus->frames() * audio_bus->channels()); 143 audio_bus->channels() * frames_per_10_ms * bytes_per_sample; 164 audio_bus->channels(), 175 audio_bus->channels(), 56 OnData(const int16* audio_data, int sample_rate, int number_of_channels, int number_of_frames, const std::vector<int>& channels, int audio_delay_milliseconds, int current_volume, bool need_audio_processing, bool key_pressed) argument [all...] |
/external/chromium_org/content/renderer/service_worker/ |
H A D | embedded_worker_context_client.cc | 329 blink::WebMessagePortChannelArray* channels) { 332 make_scoped_ptr(channels)); 326 postMessageToClient( int client_id, const blink::WebString& message, blink::WebMessagePortChannelArray* channels) argument
|
/external/chromium_org/media/audio/alsa/ |
H A D | alsa_output.cc | 68 // based on the number of channels requested. NULL is returned if no device 73 // (which is also 5 channels). 78 static const char* GuessSpecificDeviceName(uint32 channels) { argument 79 switch (channels) { 139 channels_(params.channels()), 220 mixed_audio_bus_->channels() * bytes_per_sample_ : bytes_per_frame_; 516 std::string AlsaPcmOutputStream::FindDeviceForChannels(uint32 channels) { argument 523 const char* wanted_device = GuessSpecificDeviceName(channels); 543 // Attempt to select the closest device for number of channels. 632 // 1) Attempt to open a device that best matches the number of channels [all...] |
H A D | alsa_wrapper.cc | 75 snd_pcm_access_t access, unsigned int channels, 81 channels, 74 PcmSetParams(snd_pcm_t* handle, snd_pcm_format_t format, snd_pcm_access_t access, unsigned int channels, unsigned int rate, int soft_resample, unsigned int latency) argument
|
/external/chromium_org/media/audio/ |
H A D | audio_low_latency_input_output_unittest.cc | 146 int channels) 149 channels_(channels), 254 EXPECT_EQ(channels_, audio_bus->channels()); 356 int channels() const { function in class:media::StreamWrapper 413 aisw.channels()!= aosw.channels() || 416 "Ensure that sample rate and number of channels are identical in " 427 aisw.sample_rate(), aisw.samples_per_packet(), aisw.channels()); 432 DVLOG(0) << " channels : " << aisw.channels(); 144 FullDuplexAudioSinkSource(int sample_rate, int samples_per_packet, int channels) argument [all...] |
/external/chromium_org/media/audio/win/ |
H A D | audio_low_latency_input_win_unittest.cc | 90 // 2 bytes per sample, 2 channels, 10ms @ 48kHz, 10 seconds <=> 1920000 bytes. 130 const int num_samples = src->frames() * src->channels(); 200 int channels() const { function in class:media::AudioInputStreamWrapper 385 uint32 bytes_per_packet = aisw.channels() * aisw.frames_per_buffer() * 408 bytes_per_packet = aisw.channels() * aisw.frames_per_buffer() * 424 bytes_per_packet = aisw.channels() * aisw.frames_per_buffer() *
|
H A D | audio_output_win_unittest.cc | 601 int channels; member in struct:media::SyncThreadContext 620 ctx.channels, ctx.frames, data.get()); 676 thread_context.channels = params.channels();
|
/external/chromium_org/media/filters/ |
H A D | opus_audio_decoder.cc | 33 // mappings for up to 8 channels. This information is part of the Vorbis I 50 // Vorbis channel ordering for streams with >= 2 channels: 61 // 7 channels (6.1) 102 // Reorder the channels to produce the same ordering as FFmpeg, which is 135 // for mono and stereo output: Opus streams with more than 2 channels require a 161 // - Byte 2: Starting at byte 2 are |extra_data->channels| uint8 mapping 171 : channels(0), 182 int channels; member in struct:media::OpusExtraData 202 extra_data->channels = *(data + kOpusExtraDataChannelsOffset); 204 if (extra_data->channels < [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/ |
H A D | opus_interface.c | 34 int16_t WebRtcOpus_EncoderCreate(OpusEncInst** inst, int32_t channels) { argument 41 int application = (channels == 1) ? OPUS_APPLICATION_VOIP : 44 state->encoder = opus_encoder_create(48000, channels, application, 147 int16_t WebRtcOpus_DecoderCreate(OpusDecInst** inst, int channels) { argument 160 state->decoder_left = opus_decoder_create(48000, channels, &error_l); 161 state->decoder_right = opus_decoder_create(48000, channels, &error_r); 165 state->channels = channels; 195 return inst->channels; 296 if (inst->channels 495 int frames, channels, payload_length_ms; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
H A D | TestStereo.cc | 661 opus_codec_param.channels = 1; 694 opus_codec_param.channels = 2; 706 opus_codec_param.channels = 1; 746 // channels - number of channels; 1 for mono, 2 for stereo 750 int pack_size, int channels, 767 static_cast<float>(sampling_freq_hz * 8) + 0.875) / channels; 793 sampling_freq_hz, channels), -1); 748 RegisterSendCodec(char side, char* codec_name, int32_t sampling_freq_hz, int rate, int pack_size, int channels, int payload_type) argument
|
/external/chromium_org/third_party/webrtc/modules/audio_device/linux/ |
H A D | audio_mixer_manager_pulse_linux.cc | 253 // Get the number of channels from the sample specification 264 // Set the same volume for all channels 266 LATE(pa_cvolume_set)(&cVolumes, spec->channels, volume); 588 "Error getting number of input channels: %d", 823 // The device may have a different number of channels than the stream and 829 // the actual number of channels that the device has. 848 // Get the number of channels for this source 859 "Error getting input channels: %d", 865 uint8_t channels = _paChannels; local 869 LATE(pa_cvolume_set)(&cVolumes, channels, volum [all...] |
/external/libpng/contrib/pngminus/ |
H A D | pnm2png.c | 208 int channels; local 347 /* calculate the number of channels and store alpha-presence */ 349 channels = 1; 351 channels = 2; 353 channels = 3; 355 channels = 4; 357 channels = 0; /* should not happen */ 359 alpha_present = (channels - 1) % 2; 363 /* row data is as many bytes as can fit width x channels x bit_depth */ 364 row_bytes = (width * channels * bit_dept [all...] |
/external/mtpd/ |
H A D | pptp.c | 104 uint16_t channels; member in struct:packet::__anon28035::__anon28036::__anon28038::__anon28039 226 outgoing.sccrq.channels = htons(1);
|
/external/opencv/ |
H A D | cvjni.h | 171 int channels,
174 int fileStep = (width*channels + 3) & -4;
182 int paletteSize = channels > 1 ? 0 : 1024;
204 m_strm->PutWord( channels << 3 );
212 if( channels == 1 )
218 width *= channels;
166 loadImageBytes(const uchar* data, int step, int width, int height, int depth, int channels, WLNonFileByteStream* m_strm) argument
|
/external/opencv/cxcore/include/ |
H A D | cxcore.hpp | 50 CvImage( CvSize size, int depth, int channels ) 52 image = cvCreateImage( size, depth, channels ); 86 void create( CvSize size, int depth, int channels ) 90 image->depth != depth || image->nChannels != channels ) 91 attach( cvCreateImage( size, depth, channels )); 154 int channels() const { return image ? image->nChannels : 0; } function in class:CvImage 322 int channels() const { return matrix ? CV_MAT_CN(matrix->type) : 0; } function in class:CvMatrix
|
/external/opencv/otherlibs/highgui/ |
H A D | grfmt_tiff.cpp | 360 int channels = 1; local 460 channels = value; 461 if( channels != 1 && channels != 3 && channels != 4 ) 507 if( photometric == 0 || photometric == 1 && channels == 1 ) 518 m_compression != TIFF_HUFFMAN && channels == 1 ) 532 (channels == 3 || channels == 4) && 535 m_bpp = 8*channels; [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/ |
H A D | SDL_wave.c | 54 MS_ADPCM_state.wavefmt.channels = SDL_SwapLE16(format->channels); 130 MS_ADPCM_state.wavefmt.channels*sizeof(Sint16); 139 stereo = (MS_ADPCM_state.wavefmt.channels == 2); 189 MS_ADPCM_state.wavefmt.channels; 231 IMA_ADPCM_state.wavefmt.channels = SDL_SwapLE16(format->channels); 328 unsigned int c, channels; local 331 channels = IMA_ADPCM_state.wavefmt.channels; [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/maccommon/ |
H A D | SDL_macwm.c | 181 short channels = pTableGammaTemp->gChanCnt; local 183 if (3 == channels) /* RGB format */ 185 for (indexChan = 0; indexChan < channels; indexChan++) 192 for (indexChan = 0; indexChan < 768; indexChan += 256) /* repeat for all 3 channels (step by ramp size) */ 285 static Ptr CreateEmptyGammaTable (short channels, short entries, short bits) argument 291 tableSize = sizeof (GammaTbl) + (channels * entries * dataWidth); 299 pTableGammaOut->gChanCnt = channels; 315 short dataBits, entries, channels = 3; /* force three channels in the gamma table */ local 324 pTableGammaNew = (GammaTblPtr) CreateEmptyGammaTable (channels, entrie [all...] |
/external/aac/libAACenc/src/ |
H A D | psy_main.cpp | 440 AAC_ENCODER_ERROR FDKaacEnc_psyMain(INT channels, argument 453 INT ch; /* counts through channels */ 495 for(ch = 0; ch < channels; ch++) 509 for(ch = 0; ch < channels; ch++) 538 channels, 547 for(ch = 0; ch < channels; ch++) 557 for(ch = 0; ch < channels; ch++) 561 for(ch = 0; ch < channels; ch++) 592 /* Transform and get mdctScaling for all channels and windows. */ 593 for(ch = 0; ch < channels; c [all...] |