Home
last modified time | relevance | path

Searched refs:channel_mask (Results 1 – 25 of 64) sorted by relevance

123

/third_party/gstreamer/gstplugins_good/ext/wavpack/
Dgstwavpackcommon.c101 gint channel_mask = 0; in gst_wavpack_get_default_channel_mask() local
109 channel_mask |= 0x00400; in gst_wavpack_get_default_channel_mask()
110 channel_mask |= 0x00200; in gst_wavpack_get_default_channel_mask()
112 channel_mask |= 0x00100; in gst_wavpack_get_default_channel_mask()
114 channel_mask |= 0x00080; in gst_wavpack_get_default_channel_mask()
115 channel_mask |= 0x00040; in gst_wavpack_get_default_channel_mask()
117 channel_mask |= 0x00020; in gst_wavpack_get_default_channel_mask()
118 channel_mask |= 0x00010; in gst_wavpack_get_default_channel_mask()
120 channel_mask |= 0x00008; in gst_wavpack_get_default_channel_mask()
122 channel_mask |= 0x00004; in gst_wavpack_get_default_channel_mask()
[all …]
Dgstwavpackdec.c142 dec->channel_mask = 0; in gst_wavpack_dec_reset()
234 g_assert (dec->channel_mask != 0); in gst_wavpack_dec_negotiate()
237 dec->channel_mask, pos)) in gst_wavpack_dec_negotiate()
349 (dec->channel_mask != WavpackGetChannelMask (dec->context)); in gst_wavpack_dec_handle_frame()
353 gint channel_mask; in gst_wavpack_dec_handle_frame() local
360 channel_mask = WavpackGetChannelMask (dec->context); in gst_wavpack_dec_handle_frame()
361 if (channel_mask == 0) in gst_wavpack_dec_handle_frame()
362 channel_mask = gst_wavpack_get_default_channel_mask (dec->channels); in gst_wavpack_dec_handle_frame()
364 dec->channel_mask = channel_mask; in gst_wavpack_dec_handle_frame()
Dgstwavpackdec.h54 gint channel_mask; member
/third_party/gstreamer/gstplugins_good/sys/osxaudio/
Dgstosxcoreaudio.c294 guint * channels, guint64 * channel_mask, GstAudioChannelPosition * pos) in _core_audio_parse_channel_descriptions() argument
303 *channel_mask = 0; in _core_audio_parse_channel_descriptions()
326 *channel_mask |= G_GUINT64_CONSTANT (1) << p; in _core_audio_parse_channel_descriptions()
337 guint * channels, guint64 * channel_mask, GstAudioChannelPosition * pos) in gst_core_audio_parse_channel_layout() argument
340 g_assert (channel_mask != NULL); in gst_core_audio_parse_channel_layout()
351 *channel_mask = 0; in gst_core_audio_parse_channel_layout()
357 *channel_mask = 0; in gst_core_audio_parse_channel_layout()
365 *channel_mask = in gst_core_audio_parse_channel_layout()
370 _core_audio_parse_channel_descriptions (layout, channels, channel_mask, in gst_core_audio_parse_channel_layout()
378 *channel_mask = 0; in gst_core_audio_parse_channel_layout()
[all …]
Dgstosxcoreaudiocommon.c252 guint64 channel_mask; in gst_core_audio_set_channel_layout() local
258 channel_mask = 0; in gst_core_audio_set_channel_layout()
259 gst_structure_get (structure, "channel-mask", GST_TYPE_BITMASK, &channel_mask, in gst_core_audio_set_channel_layout()
262 if (channel_mask != 0) in gst_core_audio_set_channel_layout()
263 gst_audio_channel_positions_from_mask (channels, channel_mask, positions); in gst_core_audio_set_channel_layout()
275 if (channel_mask != 0) { in gst_core_audio_set_channel_layout()
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Ddeinterleave.c137 guint64 channel_mask = 0; in GST_START_TEST() local
150 channel_mask |= in GST_START_TEST()
152 channel_mask |= in GST_START_TEST()
154 gst_caps_set_simple (caps, "channel-mask", GST_TYPE_BITMASK, channel_mask, in GST_START_TEST()
210 guint64 channel_mask = 0; in GST_START_TEST() local
223 channel_mask |= in GST_START_TEST()
225 channel_mask |= in GST_START_TEST()
227 gst_caps_set_simple (caps, "channel-mask", GST_TYPE_BITMASK, channel_mask, in GST_START_TEST()
284 guint64 channel_mask; in GST_START_TEST() local
298 channel_mask = 0; in GST_START_TEST()
[all …]
/third_party/gstreamer/gstplugins_good/gst/audioparsers/
Dgstwavpackparse.c116 wvparse->channel_mask = 0; in gst_wavpack_parse_reset()
168 gint channel_mask = 0; in gst_wavpack_get_default_channel_mask() local
176 channel_mask |= 0x00400; in gst_wavpack_get_default_channel_mask()
177 channel_mask |= 0x00200; in gst_wavpack_get_default_channel_mask()
179 channel_mask |= 0x00100; in gst_wavpack_get_default_channel_mask()
181 channel_mask |= 0x00080; in gst_wavpack_get_default_channel_mask()
182 channel_mask |= 0x00040; in gst_wavpack_get_default_channel_mask()
184 channel_mask |= 0x00020; in gst_wavpack_get_default_channel_mask()
185 channel_mask |= 0x00010; in gst_wavpack_get_default_channel_mask()
187 channel_mask |= 0x00008; in gst_wavpack_get_default_channel_mask()
[all …]
Dgstwavpackparse.h94 guint channel_mask; member
112 gint channel_mask; member
/third_party/gstreamer/gstplugins_bad/ext/flite/
Dgstflitetestsrc.c194 guint64 channel_mask = 0; in gst_flite_test_src_fixate() local
198 &channel_mask, NULL)) { in gst_flite_test_src_fixate()
201 channel_mask = in gst_flite_test_src_fixate()
212 channel_mask = in gst_flite_test_src_fixate()
222 channel_mask = in gst_flite_test_src_fixate()
231 channel_mask = in gst_flite_test_src_fixate()
239 channel_mask = in gst_flite_test_src_fixate()
246 channel_mask = in gst_flite_test_src_fixate()
252 channel_mask = in gst_flite_test_src_fixate()
257 channel_mask = 0; in gst_flite_test_src_fixate()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/riff/
Driff-media.c1056 guint64 channel_mask = 0; in gst_riff_wavext_add_channel_mask() local
1073 channel_mask = 0; in gst_riff_wavext_add_channel_mask()
1076 channel_mask |= G_GUINT64_CONSTANT (1) << layout_mapping[i].gst_pos; in gst_riff_wavext_add_channel_mask()
1082 if (channel_mask > 0 && channel_reorder_map) { in gst_riff_wavext_add_channel_mask()
1099 gst_caps_set_simple (caps, "channel-mask", GST_TYPE_BITMASK, channel_mask, in gst_riff_wavext_add_channel_mask()
1115 guint64 channel_mask = 0; in gst_riff_wave_add_default_channel_mask() local
1146 channel_mask |= in gst_riff_wave_add_default_channel_mask()
1148 channel_mask |= in gst_riff_wave_add_default_channel_mask()
1152 channel_mask |= G_GUINT64_CONSTANT (1) << GST_AUDIO_CHANNEL_POSITION_LFE1; in gst_riff_wave_add_default_channel_mask()
1155 channel_mask |= in gst_riff_wave_add_default_channel_mask()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Daudio-channels.c143 guint64 channel_mask = 0; in check_valid_channel_positions() local
173 if ((channel_mask & (G_GUINT64_CONSTANT (1) << position[i]))) in check_valid_channel_positions()
176 channel_mask |= (G_GUINT64_CONSTANT (1) << position[i]); in check_valid_channel_positions()
180 *channel_mask_out = channel_mask; in check_valid_channel_positions()
361 gint channels, gboolean force_order, guint64 * channel_mask) in gst_audio_channel_positions_to_mask() argument
364 channel_mask); in gst_audio_channel_positions_to_mask()
384 gst_audio_channel_positions_from_mask (gint channels, guint64 channel_mask, in gst_audio_channel_positions_from_mask() argument
391 " channel mask 0x%016" G_GINT64_MODIFIER "x", channels, channel_mask); in gst_audio_channel_positions_from_mask()
393 if (!channel_mask) { in gst_audio_channel_positions_from_mask()
407 if ((channel_mask & (G_GUINT64_CONSTANT (1) << i))) { in gst_audio_channel_positions_from_mask()
[all …]
Daudio-info.c199 guint64 channel_mask = 0; in gst_audio_info_from_caps() local
246 if (!gst_structure_get (str, "channel-mask", GST_TYPE_BITMASK, &channel_mask, in gst_audio_info_from_caps()
247 NULL) || (channel_mask == 0 && channels == 1)) { in gst_audio_info_from_caps()
256 } else if (channel_mask == 0) { in gst_audio_info_from_caps()
261 if (!gst_audio_channel_positions_from_mask (channels, channel_mask, in gst_audio_info_from_caps()
318 "x for %d channels", channel_mask, channels); in gst_audio_info_from_caps()
397 guint64 channel_mask = 0; in gst_audio_info_to_caps() local
400 channel_mask = 0; in gst_audio_info_to_caps()
403 TRUE, &channel_mask)) in gst_audio_info_to_caps()
411 gst_caps_set_simple (caps, "channel-mask", GST_TYPE_BITMASK, channel_mask, in gst_audio_info_to_caps()
Daudio-channels.h159 guint64 *channel_mask);
162 gboolean gst_audio_channel_positions_from_mask (gint channels, guint64 channel_mask,
/third_party/boost/boost/gil/
Dchannel.hpp459 static const BitField channel_mask = static_cast<BitField>(parent_t::max_val) << FirstBit; member in boost::gil::packed_channel_reference
473 integer_t get() const { return integer_t((this->get_data()&channel_mask) >> FirstBit); } in get()
485 static const BitField channel_mask = static_cast< BitField >( parent_t::max_val ) << FirstBit; member in boost::gil::packed_channel_reference
510 …integer_t get() const { return integer_t((this->get_data()&channel_mask) >> First… in get()
511 …void set_unsafe(integer_t value) const { this->set_data((this->get_data() & ~channel_mask) | (( st… in set_unsafe()
513 …ther_bits) const { this->set_data((this->get_data() & ~channel_mask) | (other_bits & channel_mask)… in set_from_reference()
609 const BitField channel_mask = static_cast< integer_t >( parent_t::max_val ) <<_first_bit; in get() local
610 return static_cast< integer_t >(( this->get_data()&channel_mask ) >> _first_bit ); in get()
651 const BitField channel_mask = static_cast< integer_t >( parent_t::max_val ) << _first_bit; in get() local
652 return static_cast< integer_t >(( this->get_data()&channel_mask ) >> _first_bit ); in get()
[all …]
/third_party/gstreamer/gstplugins_base/gst/rawparse/
Dgstrawaudioparse.c167 * config, guint num_channels, guint64 channel_mask, gboolean set_positions);
821 guint num_channels, guint64 channel_mask, gboolean set_positions) in gst_raw_audio_parse_set_config_channels() argument
834 if (channel_mask == 0) in gst_raw_audio_parse_set_config_channels()
835 channel_mask = gst_audio_channel_get_fallback_mask (config->num_channels); in gst_raw_audio_parse_set_config_channels()
838 channel_mask, config->channel_positions); in gst_raw_audio_parse_set_config_channels()
954 guint64 channel_mask; in gst_raw_audio_parse_caps_to_config() local
977 &channel_mask, NULL)) { in gst_raw_audio_parse_caps_to_config()
978 channel_mask = gst_audio_channel_get_fallback_mask (num_channels); in gst_raw_audio_parse_caps_to_config()
981 G_GINT64_MODIFIER "x for %u channels", channel_mask, num_channels); in gst_raw_audio_parse_caps_to_config()
985 channel_mask, TRUE)) { in gst_raw_audio_parse_caps_to_config()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/libimagequant/
Dpam.c32 const unsigned int channel_mask = 255U >> ignorebits << ignorebits; in pam_computeacolorhash() local
35 channel_mask << 24 | channel_mask << 16 | channel_mask << 8 | in pam_computeacolorhash()
36 channel_mask; in pam_computeacolorhash()
/third_party/ffmpeg/libavcodec/
Dtak.c95 uint64_t channel_mask = 0; in ff_tak_parse_streaminfo() local
119 channel_mask |= tak_channel_layouts[value]; in ff_tak_parse_streaminfo()
124 s->ch_layout = channel_mask; in ff_tak_parse_streaminfo()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_non_uniform_access.c72 nir_component_mask_t channel_mask = ~0; in nu_handle_compare() local
74 channel_mask = options->callback(handle->src, options->callback_data); in nu_handle_compare()
75 channel_mask &= BITFIELD_MASK(handle->handle->num_components); in nu_handle_compare()
83 u_foreach_bit(i, channel_mask) { in nu_handle_compare()
/third_party/gstreamer/gstplugins_bad/ext/fdkaac/
Dgstfdkaacenc.c178 guint64 channel_mask; in gst_fdkaacenc_get_caps() local
180 &channel_mask); in gst_fdkaacenc_get_caps()
182 "channel-mask", GST_TYPE_BITMASK, channel_mask, NULL); in gst_fdkaacenc_get_caps()
278 guint64 channel_mask; in gst_fdkaacenc_set_format() local
284 &channel_mask); in gst_fdkaacenc_set_format()
285 if (channel_mask != in_channel_mask) in gst_fdkaacenc_set_format()
/third_party/gstreamer/gstplugins_bad/sys/wasapi2/
Dgstwasapi2util.c409 guint64 channel_mask; in gst_wasapi2_util_parse_waveformatex() local
432 channel_mask = gst_wasapi2_util_waveformatex_to_channel_mask (format, in gst_wasapi2_util_parse_waveformatex()
440 if (channel_mask) { in gst_wasapi2_util_parse_waveformatex()
442 "channel-mask", GST_TYPE_BITMASK, channel_mask, NULL); in gst_wasapi2_util_parse_waveformatex()
/third_party/gstreamer/gstplugins_bad/ext/openal/
Dgstopenalsink.c402 guint64 channel_mask; in gst_openal_helper_probe_caps() local
443 chans[i].count, FALSE, &channel_mask); in gst_openal_helper_probe_caps()
445 channel_mask, NULL); in gst_openal_helper_probe_caps()
462 FALSE, &channel_mask); in gst_openal_helper_probe_caps()
464 channel_mask, NULL); in gst_openal_helper_probe_caps()
479 FALSE, &channel_mask); in gst_openal_helper_probe_caps()
481 channel_mask, NULL); in gst_openal_helper_probe_caps()
554 FALSE, &channel_mask); in gst_openal_helper_probe_caps()
556 channel_mask, NULL); in gst_openal_helper_probe_caps()
/third_party/gstreamer/gstplugins_base/ext/alsa/
Dgstalsa.c305 guint64 channel_mask; in caps_add_channel_configuration() local
310 channel_mask = CHANNEL_MASK_4_0; in caps_add_channel_configuration()
313 channel_mask = CHANNEL_MASK_5_1; in caps_add_channel_configuration()
316 channel_mask = CHANNEL_MASK_7_1; in caps_add_channel_configuration()
319 channel_mask = 0; in caps_add_channel_configuration()
324 GST_TYPE_BITMASK, channel_mask, NULL); in caps_add_channel_configuration()
/third_party/gstreamer/gstplugins_bad/gst/audiomixmatrix/
Dgstaudiomixmatrix.c231 self->channel_mask = 0; in gst_audio_mix_matrix_init()
334 self->channel_mask = g_value_get_uint64 (value); in gst_audio_mix_matrix_set_property()
380 g_value_set_uint64 (value, self->channel_mask); in gst_audio_mix_matrix_get_property()
668 self->channel_mask == -1) { in gst_audio_mix_matrix_fixate_caps()
676 self->channel_mask, NULL); in gst_audio_mix_matrix_fixate_caps()
729 "channel-mask", GST_TYPE_BITMASK, self->channel_mask, NULL); in gst_audio_mix_matrix_transform_caps()
/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_gs_visitor.cpp364 src_reg channel_mask(this, glsl_type::uint_type); in emit_control_data_bits() local
365 inst = emit(SHL(dst_reg(channel_mask), one, channel)); in emit_control_data_bits()
367 emit(GS_OPCODE_PREPARE_CHANNEL_MASKS, dst_reg(channel_mask), in emit_control_data_bits()
368 channel_mask); in emit_control_data_bits()
369 emit(GS_OPCODE_SET_CHANNEL_MASKS, mrf_reg, channel_mask); in emit_control_data_bits()
/third_party/alsa-utils/alsamixer/
Dmixer_widget.h15 enum channel_mask { enum

123