Home
last modified time | relevance | path

Searched refs:chn (Results 1 - 21 of 21) sorted by relevance

/third_party/lame/libmp3lame/
H A Dpsymodel.c406 convert_partition2scalefac_s(lame_internal_flags * gfc, FLOAT const *eb, FLOAT const *thr, int chn, in convert_partition2scalefac_s() argument
415 psv->en[chn].s[sb][sblock] = enn[sb]; in convert_partition2scalefac_s()
416 psv->thm[chn].s[sb][sblock] = thm[sb]; in convert_partition2scalefac_s()
422 convert_partition2scalefac_l(lame_internal_flags * gfc, FLOAT const *eb, FLOAT const *thr, int chn) in convert_partition2scalefac_l() argument
426 FLOAT *enn = &psv->en[chn].l[0]; in convert_partition2scalefac_l()
427 FLOAT *thm = &psv->thm[chn].l[0]; in convert_partition2scalefac_l()
433 int chn) in convert_partition2scalefac_l_to_s()
445 psv->en[chn].s[sb][sblock] = tmp_enn; in convert_partition2scalefac_l_to_s()
446 psv->thm[chn].s[sb][sblock] = tmp_thm; in convert_partition2scalefac_l_to_s()
666 vbrpsy_compute_fft_l(lame_internal_flags * gfc, const sample_t * const buffer[2], int chn, in vbrpsy_compute_fft_l() argument
432 convert_partition2scalefac_l_to_s(lame_internal_flags * gfc, FLOAT const *eb, FLOAT const *thr, int chn) convert_partition2scalefac_l_to_s() argument
718 vbrpsy_compute_fft_s(lame_internal_flags const *gfc, const sample_t * const buffer[2], int chn, int sblock, FLOAT(*fftenergy_s)[HBLKSIZE_s], FLOAT(*wsamp_s)[3][BLKSIZE_s]) vbrpsy_compute_fft_s() argument
754 vbrpsy_compute_loudness_approximation_l(lame_internal_flags * gfc, int gr_out, int chn, const FLOAT fftenergy[HBLKSIZE]) vbrpsy_compute_loudness_approximation_l() argument
782 int chn, i, j; vbrpsy_attack_detection() local
954 vbrpsy_skip_masking_s(lame_internal_flags * gfc, int chn, int sblock) vbrpsy_skip_masking_s() argument
1042 vbrpsy_compute_masking_s(lame_internal_flags * gfc, const FLOAT(*fftenergy_s)[HBLKSIZE_s], FLOAT * eb, FLOAT * thr, int chn, int sblock) vbrpsy_compute_masking_s() argument
1145 vbrpsy_compute_masking_l(lame_internal_flags * gfc, const FLOAT fftenergy[HBLKSIZE], FLOAT eb_l[CBANDS], FLOAT thr[CBANDS], int chn) vbrpsy_compute_masking_l() argument
1278 int chn; vbrpsy_compute_block_type() local
1302 int chn; vbrpsy_apply_block_type() local
1446 int chn, sb, sblock; L3psycho_anal_vbr() local
[all...]
H A Dfft.h26 int chn, const sample_t *const data[2]);
29 int chn, const sample_t *const data[2]);
H A Dfft.c169 #define ch01(index) (buffer[chn][index])
193 FLOAT x_real[3][BLKSIZE_s], int chn, const sample_t *const buffer[2]) in fft_short()
251 FLOAT x[BLKSIZE], int chn, const sample_t *const buffer[2]) in fft_long()
192 fft_short(lame_internal_flags const *const gfc, FLOAT x_real[3][BLKSIZE_s], int chn, const sample_t *const buffer[2]) fft_short() argument
250 fft_long(lame_internal_flags const *const gfc, FLOAT x[BLKSIZE], int chn, const sample_t *const buffer[2]) fft_long() argument
/third_party/alsa-utils/alsaloop/
H A Deffect-sweep.c84 int chn; in effect_apply() local
97 for (chn=0; chn < priv->channels; chn++) in effect_apply()
99 priv->x[chn][2] = priv->x[chn][1]; in effect_apply()
100 priv->x[chn][1] = priv->x[chn][0]; in effect_apply()
102 priv->y[chn][2] = priv->y[chn][ in effect_apply()
[all...]
/third_party/alsa-lib/src/mixer/
H A Dsimple.c476 snd_mixer_selem_channel_id_t chn; in snd_mixer_selem_set_playback_volume_all() local
479 for (chn = 0; chn < 32; chn++) { in snd_mixer_selem_set_playback_volume_all()
480 if (!snd_mixer_selem_has_playback_channel(elem, chn)) in snd_mixer_selem_set_playback_volume_all()
482 err = snd_mixer_selem_set_playback_volume(elem, chn, value); in snd_mixer_selem_set_playback_volume_all()
485 if (chn == 0 && snd_mixer_selem_has_playback_volume_joined(elem)) in snd_mixer_selem_set_playback_volume_all()
501 snd_mixer_selem_channel_id_t chn; in snd_mixer_selem_set_playback_dB_all() local
504 for (chn = 0; chn < 3 in snd_mixer_selem_set_playback_dB_all()
538 snd_mixer_selem_channel_id_t chn; snd_mixer_selem_set_playback_switch_all() local
802 snd_mixer_selem_channel_id_t chn; snd_mixer_selem_set_capture_volume_all() local
827 snd_mixer_selem_channel_id_t chn; snd_mixer_selem_set_capture_dB_all() local
864 snd_mixer_selem_channel_id_t chn; snd_mixer_selem_set_capture_switch_all() local
[all...]
/third_party/alsa-utils/speaker-test/
H A Dspeaker-test.c254 static int get_speaker_channel(int chn) in get_speaker_channel() argument
257 if (channel_map_set || (ordered_channels && (unsigned int)chn >= channel_map->channels)) in get_speaker_channel()
258 return chn; in get_speaker_channel()
260 return ordered_channels[chn]; in get_speaker_channel()
265 chn = channels4[chn]; in get_speaker_channel()
268 chn = channels6[chn]; in get_speaker_channel()
271 chn = channels8[chn]; in get_speaker_channel()
278 get_channel_name(int chn) get_channel_name() argument
314 unsigned int chn; do_generate() local
771 setup_wav_file(int chn) setup_wav_file() argument
835 unsigned int chn; read_wav() local
1017 unsigned int chn; main() local
[all...]
/third_party/alsa-lib/test/
H A Dpcm.c45 unsigned int chn; in generate_sine() local
56 for (chn = 0; chn < channels; chn++) { in generate_sine()
57 if ((areas[chn].first % 8) != 0) { in generate_sine()
58 printf("areas[%u].first == %u, aborting...\n", chn, areas[chn].first); in generate_sine()
61 samples[chn] = /*(signed short *)*/(((unsigned char *)areas[chn].addr) + (areas[chn] in generate_sine()
793 unsigned int chn; main() local
[all...]
H A Dlatency.c471 int chn; in applyeffect() local
484 for (chn=0;chn<channels;chn++) in applyeffect()
486 x[chn][2] = x[chn][1]; in applyeffect()
487 x[chn][1] = x[chn][0]; in applyeffect()
489 y[chn][2] = y[chn][ in applyeffect()
[all...]
/third_party/alsa-lib/modules/mixer/simple/python/
H A Dcommon.py20 def opsIsChannel(self, dir, chn):
21 return chn >= 0 and chn < self.channels
100 def opsGetVolume(self, dir, chn):
101 return (0, self.volumeToUser(self.volumeinfo[dir], dir, self.volumearray[dir][chn]))
103 def opsSetVolume(self, dir, chn, value):
105 if self.volumearray[dir][chn] == val:
107 self.volumearray[dir][chn] = val
112 def opsGetSwitch(self, dir, chn):
113 return (0, self.switcharray[dir][chn])
[all...]
/third_party/alsa-utils/amixer/
H A Damixer.c332 snd_mixer_selem_channel_id_t chn, in set_volume_simple()
378 if (vol_ops[dir].v[vol_type].get(elem, chn, &orig) < 0) in set_volume_simple()
396 err = vol_ops[dir].v[vol_type].set(elem, chn, val, correct); in set_volume_simple()
755 snd_mixer_selem_channel_id_t chn, int dir, in show_selem_volume()
759 vol_ops[dir].v[VOL_RAW].get(elem, chn, &raw); in show_selem_volume()
763 vol_ops[dir].v[std_vol_type].get(elem, chn, &val); in show_selem_volume()
767 if (!vol_ops[dir].v[VOL_DB].get(elem, chn, &val)) { in show_selem_volume()
776 snd_mixer_selem_channel_id_t chn; in show_selem() local
864 for (chn = 0; chn < in show_selem()
331 set_volume_simple(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t chn, char **ptr, int dir) set_volume_simple() argument
754 show_selem_volume(snd_mixer_elem_t *elem, snd_mixer_selem_channel_id_t chn, int dir, long min, long max) show_selem_volume() argument
1333 snd_mixer_selem_channel_id_t chn; sset_channels() local
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_dshare.c63 unsigned int chn, dchn, channels; in do_silence() local
69 for (chn = 0; chn < channels; chn++) { in do_silence()
70 dchn = dshare->bindings ? dshare->bindings[chn] : chn; in do_silence()
84 unsigned int chn, dchn, channels; in share_areas() local
95 for (chn = 0; chn < channels; chn in share_areas()
665 unsigned int chn; snd_pcm_dshare_open() local
[all...]
H A Dpcm_direct.c1682 unsigned int chn, channels; local
1695 for (chn = 1; chn < channels; chn++) {
1696 if (dst_areas[chn-1].addr != dst_areas[chn].addr)
1698 if (src_areas[chn-1].addr != src_areas[chn].addr)
1701 for (chn = 0; chn < channel
1726 unsigned int chn, chn1, count = 0; global() local
[all...]
H A Dpcm_ladspa.c693 unsigned int idx, chn; in snd_pcm_ladspa_allocate_memory() local
715 chn = instance->input.channels.array[idx]; in snd_pcm_ladspa_allocate_memory()
717 if (chn >= nchannels) in snd_pcm_ladspa_allocate_memory()
718 nchannels = chn + 1; in snd_pcm_ladspa_allocate_memory()
721 chn = instance->output.channels.array[idx]; in snd_pcm_ladspa_allocate_memory()
723 if (chn >= nchannels) in snd_pcm_ladspa_allocate_memory()
724 nchannels = chn + 1; in snd_pcm_ladspa_allocate_memory()
752 chn = instance->input.channels.array[idx]; in snd_pcm_ladspa_allocate_memory()
753 if (pchannels[chn] == NULL && chn < ichannel in snd_pcm_ladspa_allocate_memory()
863 unsigned int idx, chn, size1, size2; snd_pcm_ladspa_write_areas() local
924 unsigned int idx, chn, size1, size2;; snd_pcm_ladspa_read_areas() local
[all...]
H A Dpcm_dmix.c163 unsigned int chn, dchn, channels, sample_size; in mix_areas() local
207 for (chn = 0; chn < channels; chn++) { in mix_areas()
208 dchn = dmix->bindings ? dmix->bindings[chn] : chn; in mix_areas()
211 src_step = src_areas[chn].step / 8; in mix_areas()
215 ((unsigned char *)src_areas[chn].addr + src_areas[chn].first / 8) + src_ofs * src_step, in mix_areas()
231 unsigned int chn, dch in remix_areas() local
[all...]
H A Dpcm_dsnoop.c82 unsigned int chn, schn, channels; in snoop_areas() local
93 for (chn = 0; chn < channels; chn++) { in snoop_areas()
94 schn = dsnoop->bindings ? dsnoop->bindings[chn] : chn; in snoop_areas()
95 snd_pcm_area_copy(&dst_areas[chn], dst_ofs, &src_areas[schn], src_ofs, size, format); in snoop_areas()
/third_party/backends/backend/
H A Dhp3900_sane.c830 SANE_Int c, chn, chn_size; in Color_to_Gray() local
845 for (chn = 0; chn < 3; chn++) in Color_to_Gray()
847 chn_data = data_lsb_get (ptr_src + (chn * chn_size), chn_size); in Color_to_Gray()
848 data += (chn_data * coef[chn]); in Color_to_Gray()
H A Dhp3900_rts8822.c14541 SANE_Int chn; in WShading_Calibrate() local
14564 chn = 0; in WShading_Calibrate()
14580 colors[chn] = max (colors[chn], sumatorio); in WShading_Calibrate()
14581 chn++; in WShading_Calibrate()
14582 if (chn > 2) in WShading_Calibrate()
14583 chn = 0; in WShading_Calibrate()
14592 chn = 0; in WShading_Calibrate()
14599 *(wshading->rates + x) = colors[chn] / prueba; in WShading_Calibrate()
14600 chn in WShading_Calibrate()
[all...]
/third_party/node/deps/openssl/openssl/apps/
H A Dpkcs12.c1001 STACK_OF(X509) *chn = NULL; in get_cert_chain()
1016 chn = X509_STORE_CTX_get1_chain(store_ctx); in get_cert_chain()
1022 *chain = chn; in get_cert_chain()
/third_party/openssl/apps/
H A Dpkcs12.c1005 STACK_OF(X509) *chn = NULL; in get_cert_chain()
1020 chn = X509_STORE_CTX_get1_chain(store_ctx); in get_cert_chain()
1026 *chain = chn; in get_cert_chain()
/third_party/alsa-lib/src/control/
H A Dcontrol_remap.c1048 long idx = -1, chn = -1; in parse_map_vindex() local
1052 if (safe_strtol(id, &idx) || snd_config_get_integer(n, &chn)) { in parse_map_vindex()
1053 SNDERR("Wrong channel mapping (%ld -> %ld)", idx, chn); in parse_map_vindex()
1056 err = add_chn_to_map(mctl, idx, chn); in parse_map_vindex()
/third_party/ffmpeg/libavfilter/
H A Davf_showspectrum.c939 int chn; in draw_legend() local
941 for (chn = 0; chn < (s->mode == SEPARATE ? 1 : s->nb_display_channels); chn++) { in draw_legend()
943 int channel = (multi) ? s->nb_display_channels - ch - 1 : chn; in draw_legend()

Completed in 39 milliseconds