Home
last modified time | relevance | path

Searched refs:channel_idx (Results 1 – 15 of 15) sorted by relevance

/third_party/pulseaudio/src/modules/macosx/
Dmodule-coreaudio-device.c108 unsigned int channel_idx; member
122 unsigned int channel_idx; member
405 static int ca_device_create_sink(pa_module *m, AudioBuffer *buf, int channel_idx) { in ca_device_create_sink() argument
427 ca_sink->channel_idx = channel_idx; in ca_device_create_sink()
435 property_address.mElement = channel_idx + i + 1; in ca_device_create_sink()
539 static int ca_device_create_source(pa_module *m, AudioBuffer *buf, int channel_idx) { in ca_device_create_source() argument
561 ca_source->channel_idx = channel_idx; in ca_device_create_source()
569 property_address.mElement = channel_idx + i + 1; in ca_device_create_source()
651 UInt32 size, i, channel_idx; in ca_device_create_streams() local
700 for (channel_idx = 0, i = 0; i < buffer_list->mNumberBuffers; i++) { in ca_device_create_streams()
[all …]
/third_party/alsa-lib/src/topology/
Dchannel.c98 if (tplg->channel_idx >= SND_SOC_TPLG_MAX_CHAN) in tplg_parse_channel()
101 channel += tplg->channel_idx; in tplg_parse_channel()
103 tplg_dbg("\tChannel %s at index %d", id, tplg->channel_idx); in tplg_parse_channel()
135 tplg->channel_idx++; in tplg_parse_channel()
Dctl.c620 tplg->channel_idx = 0; in tplg_parse_control_enum()
661 ec->num_channels = tplg->channel_idx; in tplg_parse_control_enum()
758 tplg->channel_idx = 0; in tplg_parse_control_mixer()
789 mc->num_channels = tplg->channel_idx; in tplg_parse_control_mixer()
Dtplg_local.h75 int channel_idx; member
/third_party/ffmpeg/libavcodec/
Datrac9dec.c262 int channel_idx, int first_in_pkt) in read_scalefactors() argument
265 const int mode = mode_map[channel_idx][get_bits(gb, 2)]; in read_scalefactors()
269 if (first_in_pkt && (mode == 4 || ((mode == 3) && !channel_idx))) { in read_scalefactors()
304 channel_idx ? b->channel[0].scalefactors : in read_scalefactors()
307 channel_idx ? b->band_ext_q_unit : in read_scalefactors()
325 const int *baseline = channel_idx ? b->channel[0].scalefactors : in read_scalefactors()
327 const int baseline_len = channel_idx ? b->band_ext_q_unit : in read_scalefactors()
Dopus.c283 static int channel_reorder_vorbis(int nb_channels, int channel_idx) in channel_reorder_vorbis() argument
285 return ff_vorbis_channel_layout_offsets[nb_channels - 1][channel_idx]; in channel_reorder_vorbis()
288 static int channel_reorder_unknown(int nb_channels, int channel_idx) in channel_reorder_unknown() argument
290 return channel_idx; in channel_reorder_unknown()
449 map->channel_idx = idx & 1; in ff_opus_parse_extradata()
452 map->channel_idx = 0; in ff_opus_parse_extradata()
Dopus.h149 int channel_idx; member
Dwmaprodec.c831 int channel_idx = s->channel_indexes_for_cur_subframe[i]; in decode_channel_transform() local
832 if (!s->channel[channel_idx].grouped in decode_channel_transform()
835 s->channel[channel_idx].grouped = 1; in decode_channel_transform()
836 *channel_data++ = s->channel[channel_idx].coeffs; in decode_channel_transform()
842 int channel_idx = s->channel_indexes_for_cur_subframe[i]; in decode_channel_transform() local
843 if (!s->channel[channel_idx].grouped) in decode_channel_transform()
844 *channel_data++ = s->channel[channel_idx].coeffs; in decode_channel_transform()
845 s->channel[channel_idx].grouped = 1; in decode_channel_transform()
Dopusdec.c464 c->streams[map->stream_idx].out[map->channel_idx] = (float*)frame->extended_data[i]; in opus_decode_packet()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Ddfs.c200 int i, channel_idx = 0, n_chans, n_chans1; in dfs_find_channel() local
223 if (ret_chan && idx == channel_idx) { in dfs_find_channel()
229 channel_idx++; in dfs_find_channel()
231 return channel_idx; in dfs_find_channel()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Ddfs.c219 int i, channel_idx = 0, n_chans, n_chans1; in dfs_find_channel() local
257 if (ret_chan && idx == channel_idx) { in dfs_find_channel()
265 channel_idx++; in dfs_find_channel()
267 return channel_idx; in dfs_find_channel()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cTextureSwizzleTests.cpp1863 size_t get_swizzled_channel_idx(const size_t channel_idx, const glw::GLint swizzle_set[4]) in get_swizzled_channel_idx() argument
1865 const glw::GLint swizzle = swizzle_set[channel_idx]; in get_swizzled_channel_idx()
2513 for (size_t channel_idx = 0; channel_idx < 4; ++channel_idx) in iterate() local
2515 const testCase test_case = { channel_idx, in iterate()
3855 for (size_t channel_idx = 0; channel_idx < 4; ++channel_idx) in iterate() local
3857 const testCase test_case = { channel_idx, in iterate()
/third_party/ffmpeg/fftools/
Dffmpeg_opt.c550 n = sscanf(arg, "%d:%d.%d", &m->channel_idx, &m->ofile_idx, &m->ostream_idx); in opt_map_channel()
551 if ((n == 1 || n == 3) && m->channel_idx == -1) { in opt_map_channel()
561 &m->file_idx, &m->stream_idx, &m->channel_idx, in opt_map_channel()
594 if (m->channel_idx < 0 || m->channel_idx >= st->codecpar->ch_layout.nb_channels || in opt_map_channel()
598 m->file_idx, m->stream_idx, m->channel_idx); in opt_map_channel()
602 m->file_idx, m->stream_idx, m->channel_idx); in opt_map_channel()
2108 if (map->channel_idx == -1) { in new_audio_stream()
2125 ost->audio_channels_map[ost->audio_channels_mapped++] = map->channel_idx; in new_audio_stream()
Dffmpeg.h84 int file_idx, stream_idx, channel_idx; // input member
/third_party/skia/third_party/externals/imgui/
Dimgui.h2349 IMGUI_API void SetCurrentChannel(ImDrawList* draw_list, int channel_idx);