Home
last modified time | relevance | path

Searched refs:has_channel (Results 1 – 7 of 7) sorted by relevance

/third_party/mesa3d/src/mesa/main/
Dformat_info.py32 elif fmat.has_channel('r'):
33 if fmat.has_channel('g'):
34 if fmat.has_channel('b'):
35 if fmat.has_channel('a'):
43 elif fmat.has_channel('l'):
44 if fmat.has_channel('a'):
48 elif fmat.has_channel('a') and fmat.num_channels() == 1:
50 elif fmat.has_channel('z'):
51 if fmat.has_channel('s'):
55 elif fmat.has_channel('s'):
[all …]
Dformat_parser.py446 def has_channel(self, name): member in Format
/third_party/alsa-utils/alsamixer/
Dmixer_controls.c93 int (*has_channel)(snd_mixer_elem_t *, snd_mixer_selem_channel_id_t)) in has_any_control_channel()
95 return has_channel(elem, channels[0]) || in has_any_control_channel()
96 (channels[1] != SND_MIXER_SCHN_UNKNOWN && has_channel(elem, channels[1])); in has_any_control_channel()
223 bool has_channel[LAST_SUPPORTED_CHANNEL + 1]; in create_controls_for_elem() local
289 has_channel[supported_channels[i]] = in create_controls_for_elem()
292 has_ch0 = has_channel[control_channels[i][0]]; in create_controls_for_elem()
294 has_channel[control_channels[i][1]]; in create_controls_for_elem()
392 has_channel[supported_channels[i]] = in create_controls_for_elem()
395 has_ch0 = has_channel[control_channels[i][0]]; in create_controls_for_elem()
397 has_channel[control_channels[i][1]]; in create_controls_for_elem()
/third_party/mesa3d/src/util/format/
Du_format_parse.py320 def has_channel(self, id): member in Format
324 return self.colorspace == ZS and self.has_channel(0)
327 return self.colorspace == ZS and self.has_channel(1)
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dp2p_supplicant.c4052 static enum chan_allowed has_channel(struct wpa_global *global, in has_channel() function
4153 res = has_channel(wpa_s->global, mode, op_class, adj_chan, in wpas_p2p_verify_80mhz()
4242 res = has_channel(wpa_s->global, mode, op_class, adj_chan, in wpas_p2p_verify_160mhz()
4301 res2 = res = has_channel(wpa_s->global, mode, op_class, channel, &flag); in wpas_p2p_verify_channel()
4305 res2 = has_channel(wpa_s->global, mode, op_class, channel - 4, in wpas_p2p_verify_channel()
4310 res2 = has_channel(wpa_s->global, mode, op_class, channel + 4, in wpas_p2p_verify_channel()
4316 res2 = has_channel(wpa_s->global, mode, op_class, in wpas_p2p_verify_channel()
4319 res2 = has_channel(wpa_s->global, mode, op_class, in wpas_p2p_verify_channel()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-mixer.c1844 bool has_channel; in element_probe_volume() local
1850 has_channel = snd_mixer_selem_has_playback_channel(me, alsa_channel_ids[p]) > 0; in element_probe_volume()
1852 has_channel = snd_mixer_selem_has_capture_channel(me, alsa_channel_ids[p]) > 0; in element_probe_volume()
1854 … e->masks[alsa_channel_ids[p]][e->n_channels-1] = has_channel ? PA_CHANNEL_POSITION_MASK(p) : 0; in element_probe_volume()
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dp2p_supplicant.c3413 static int has_channel(struct wpa_global *global, in has_channel() function
3483 res = has_channel(wpa_s->global, mode, adj_chan, &flags); in wpas_p2p_verify_80mhz()
3543 res = has_channel(wpa_s->global, mode, adj_chan, &flags); in wpas_p2p_verify_160mhz()
3579 res2 = res = has_channel(wpa_s->global, mode, channel, &flag); in wpas_p2p_verify_channel()
3583 res2 = has_channel(wpa_s->global, mode, channel - 4, NULL); in wpas_p2p_verify_channel()
3587 res2 = has_channel(wpa_s->global, mode, channel + 4, NULL); in wpas_p2p_verify_channel()