Home
last modified time | relevance | path

Searched refs:n_channels (Results 1 – 12 of 12) sorted by relevance

/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcRobustBufferAccessBehaviorTests.cpp972 void initPixels(std::vector<TYPE>& pixels, GLuint n_pixels, GLuint n_channels) in initPixels() argument
974 if (n_channels == 1) in initPixels()
979 else if (n_channels == 2) in initPixels()
988 else if (n_channels == 4) in initPixels()
1871 static const GLuint n_channels = 4; in verifyInvalidResults() local
1873 std::vector<GLubyte> pixels(n_pixels * n_channels); in verifyInvalidResults()
1874 initPixels(pixels, n_pixels, n_channels); in verifyInvalidResults()
1887 const GLubyte drawn_red = pixels[i * n_channels]; in verifyInvalidResults()
1902 static const GLuint n_channels = 4; in verifyInvalidResults() local
1904 std::vector<GLbyte> pixels(n_pixels * n_channels); in verifyInvalidResults()
[all …]
/third_party/libsnd/src/
Drx2.c86 int n_channels ; in rx2_open() local
214 psf_binheader_readf (psf, "E2", &n_channels) ; in rx2_open()
215 n_channels = (n_channels & 0x0000FF00) >> 8 ; in rx2_open()
216 psf_log_printf (psf, " Channels : %d\n", n_channels) ; in rx2_open()
268 printf ("Comp Ratio : %f:1\n", (2.0 * slce_total * n_channels) / sdat_length) ; in rx2_open()
/third_party/ffmpeg/doc/examples/
Ddecode_audio.c119 int n_channels = 0; in main() local
218 n_channels = c->ch_layout.nb_channels; in main()
224 fmt, n_channels, c->sample_rate, in main()
Ddemuxing_decoding.c348 int n_channels = audio_dec_ctx->ch_layout.nb_channels; in main() local
357 n_channels = 1; in main()
365 fmt, n_channels, audio_dec_ctx->sample_rate, in main()
/third_party/pulseaudio/src/modules/dbus/
Diface-core.c459 int n_channels; in handle_set_default_channels() local
470 dbus_message_iter_get_fixed_array(&array_iter, &default_channels, &n_channels); in handle_set_default_channels()
472 if (n_channels <= 0) { in handle_set_default_channels()
477 if (n_channels > (int) PA_CHANNELS_MAX) { in handle_set_default_channels()
479 … "Too many channels: %i. The maximum number of channels is %u.", n_channels, PA_CHANNELS_MAX); in handle_set_default_channels()
483 new_channel_map.channels = n_channels; in handle_set_default_channels()
495 c->core->default_sample_spec.channels = n_channels; in handle_set_default_channels()
1284 int n_channels; in handle_upload_sample() local
1316 dbus_message_iter_get_fixed_array(&array_iter, &channels, &n_channels); in handle_upload_sample()
1339 if (n_channels <= 0) { in handle_upload_sample()
[all …]
/third_party/pulseaudio/src/modules/alsa/
Dalsa-mixer.c948 if (e->masks[c][e->n_channels-1] & PA_CHANNEL_POSITION_MASK(cm->map[k])) in element_get_volume()
952 mask |= e->masks[c][e->n_channels-1]; in element_get_volume()
1189 if (e->masks[c][e->n_channels-1] & PA_CHANNEL_POSITION_MASK(cm->map[k])) { in element_set_volume()
1301 if (e->masks[c][e->n_channels-1] & PA_CHANNEL_POSITION_MASK(cm->map[k])) in element_set_volume()
1305 mask |= e->masks[c][e->n_channels-1]; in element_set_volume()
1791 e->n_channels = 1; in element_probe_volume()
1793 …if ((e->override_map & (1 << (e->n_channels-1))) && e->masks[SND_MIXER_SCHN_MONO][e->n_channels-1]… in element_probe_volume()
1795 e->override_map &= ~(1 << (e->n_channels-1)); in element_probe_volume()
1797 if (!(e->override_map & (1 << (e->n_channels-1)))) { in element_probe_volume()
1801 e->masks[alsa_channel_ids[p]][e->n_channels-1] = 0; in element_probe_volume()
[all …]
Dalsa-mixer.h168 unsigned n_channels; member
/third_party/ffmpeg/libavformat/
Dlibmodplug.c152 unsigned n_channels = ModPlug_NumChannels(f); in modplug_load_metadata() local
159 n_channels, n_channels > 1 ? "s" : ""); in modplug_load_metadata()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl3cTextureSwizzleTests.cpp1314 size_t n_channels = 0; in calculate_values_from_source() local
1325 n_channels = 1; in calculate_values_from_source()
1334 n_channels = 2; in calculate_values_from_source()
1343 n_channels = 3; in calculate_values_from_source()
1352 n_channels = 4; in calculate_values_from_source()
1488 for (size_t i = 0; i < n_channels; ++i) in calculate_values_from_source()
1502 for (size_t i = 0; i < n_channels; ++i) in calculate_values_from_source()
1516 for (size_t i = 0; i < n_channels; ++i) in calculate_values_from_source()
1530 for (size_t i = 0; i < n_channels; ++i) in calculate_values_from_source()
1544 for (size_t i = 0; i < n_channels; ++i) in calculate_values_from_source()
[all …]
Dgl4cCopyImageTests.cpp460 …const GLuint n_channels = (left_n_channels >= right_n_channels) ? right_n_channels : left_n_cha… in comparePixels() local
466 for (GLuint i = 0; i < n_channels; ++i) in comparePixels()
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v0.abi82321 …<var-decl name="n_channels" type-id="95e97e5e" visibility="default" filepath="include/net/cfg80211…
Dtest-PR27569-v1.abi82339 …<var-decl name="n_channels" type-id="95e97e5e" visibility="default" filepath="include/net/cfg80211…