Searched refs:gain (Results 1 - 25 of 51) sorted by relevance

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/video/
H A Dtea6420.h12 int gain; /* gain of connection */ member in struct:tea6420_multiplex
H A Dtea6420.c7 4 stereo outputs and gain control for each output.
52 with gain 'g' for the tea6420-client 'client' (note: i = 6 means 'mute') */
119 /* set initial values: set "mute"-input to all outputs at gain 0 */
160 result = tea6420_switch(client, a->in, a->out, a->gain);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/include/share/grabbag/
H A Dreplaygain.h51 void grabbag__replaygain_get_album(float *gain, float *peak);
52 void grabbag__replaygain_get_title(float *gain, float *peak);
65 FLAC__bool grabbag__replaygain_load_from_vorbiscomment(const FLAC__StreamMetadata *block, FLAC__bool album_mode, FLAC__bool strict, double *reference, double *gain, double *peak);
66 double grabbag__replaygain_compute_scale_factor(double peak, double gain, double preamp, FLAC__bool prevent_clipping);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/echoaudio/
H A Dindigoio_dsp.c33 int gain);
113 int gain)
123 chip->vmixer_gain[output][pipe] = gain;
125 chip->comm_page->vmixer[index] = gain;
127 DE_ACT(("set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain));
112 set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, int gain) argument
H A Dindigo_dsp.c33 int gain);
142 int gain)
152 chip->vmixer_gain[output][pipe] = gain;
154 chip->comm_page->vmixer[index] = gain;
156 DE_ACT(("set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain));
141 set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, int gain) argument
H A Dindigodj_dsp.c33 int gain);
142 int gain)
152 chip->vmixer_gain[output][pipe] = gain;
154 chip->comm_page->vmixer[index] = gain;
156 DE_ACT(("set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain));
141 set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, int gain) argument
H A Dmia_dsp.c36 int gain);
175 int gain)
185 chip->vmixer_gain[output][pipe] = gain;
187 chip->comm_page->vmixer[index] = gain;
189 DE_ACT(("set_vmixer_gain: pipe %d, out %d = %d\n", pipe, output, gain));
174 set_vmixer_gain(struct echoaudio *chip, u16 output, u16 pipe, int gain) argument
H A Dgina20_dsp.c177 /* Set input bus gain (one unit is 0.5dB !) */
178 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) argument
185 chip->input_gain[input] = gain;
186 gain += GL20_INPUT_GAIN_MAGIC_NUMBER;
187 chip->comm_page->line_in_level[input] = gain;
H A Dlayla20_dsp.c252 /* Set input bus gain (one unit is 0.5dB !) */
253 static int set_input_gain(struct echoaudio *chip, u16 input, int gain) argument
260 chip->input_gain[input] = gain;
261 gain += GL20_INPUT_GAIN_MAGIC_NUMBER;
262 chip->comm_page->line_in_level[input] = gain;
H A Dechoaudio.c987 int c, changed, gain; local
993 gain = ucontrol->value.integer.value[c];
995 if (gain < ECHOGAIN_MINOUT || gain > ECHOGAIN_MAXOUT)
997 if (chip->output_gain[c] != gain) {
998 set_output_gain(chip, c, gain);
1065 int c, gain, changed; local
1071 gain = ucontrol->value.integer.value[c];
1073 if (gain < ECHOGAIN_MININP || gain > ECHOGAIN_MAXIN
1264 int changed, gain; local
1332 int gain, changed; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dqcelpdec.c213 * @param gain array holding the decoded gain
218 float *gain) {
238 gain[i] = qcelp_g12ga[g1[i]];
242 gain[i] = -gain[i];
254 gain[7] = gain[4];
255 gain[6] = 0.4*gain[
217 decode_gain_and_index(QCELPContext *q, float *gain) argument
342 compute_svector(QCELPContext *q, const float *gain, float *cdn_vector) argument
473 do_pitchfilter(float memory[303], const float v_in[160], const float gain[4], const uint8_t *lag, const uint8_t pfrac[4]) argument
702 float gain[16]; local
[all...]
H A Dra288.c32 float gain_lpc[10]; ///< LPC coefficients for gain (spec: GB)
39 /// speech part of the gain autocorrelation (spec: REXP)
42 /** log-gain history (spec: SBLG).
47 /// recursive part of the gain autocorrelation (spec: REXPLG)
70 static void decode(RA288Context *ractx, float gain, int cb_coef) argument
90 sumsum = exp(sum * 0.1151292546497) * gain * (1.0/(1<<23));
184 float gain = amptable[get_bits(&gb, 3)]; local
187 decode(ractx, gain, cb_coef);
H A Diirfilter.c36 float gain; member in struct:FFIIRFilterCoeffs
90 c->gain = creal(p[order]);
92 c->gain += creal(p[i]);
95 c->gain /= 1 << order;
107 in = *src * c->gain \
135 in = *src * c->gain;
H A Daac.h214 float gain[16][120]; member in struct:__anon470
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/input/
H A Dff-memless.c62 int gain; member in struct:ml_device
225 * Combine two effects and apply gain.
229 int gain)
242 x = fixp_mult(fixp_sin(i), level) * gain / 0xffff;
243 y = fixp_mult(-fixp_cos(i), level) * gain / 0xffff;
256 strong = new->u.rumble.strong_magnitude * gain / 0xffff;
257 weak = new->u.rumble.weak_magnitude * gain / 0xffff;
270 i = i * gain / 0x7fff;
347 ml_combine_effects(combo_effect, state, ml->gain);
379 static void ml_ff_set_gain(struct input_dev *dev, u16 gain) argument
227 ml_combine_effects(struct ff_effect *effect, struct ml_effect_state *state, int gain) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/emu10k1/
H A Decard.c40 * @func Set the gain of the ECARD's CS3310 Trim/gain controller. The
42 * 8 bit gain/trim values, one for the left channel and one for the
48 static void ecard_setadcgain(struct emu10k1_card *card, struct ecard_state *ecard, u16 gain) argument
51 ecard->adc_gain = gain;
63 if (gain & currbit)
152 /* Step 5: Set the analog input gain */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/src/share/grabbag/
H A Dreplaygain.c258 void grabbag__replaygain_get_album(float *gain, float *peak) argument
260 *gain = (float)GetAlbumGain();
265 void grabbag__replaygain_get_title(float *gain, float *peak) argument
267 *gain = (float)GetTitleGain();
625 FLAC__bool grabbag__replaygain_load_from_vorbiscomment(const FLAC__StreamMetadata *block, FLAC__bool album_mode, FLAC__bool strict, double *reference, double *gain, double *peak) argument
631 FLAC__ASSERT(0 != gain);
644 return !strict && grabbag__replaygain_load_from_vorbiscomment(block, !album_mode, /*strict=*/true, reference, gain, peak);
646 return !strict && grabbag__replaygain_load_from_vorbiscomment(block, !album_mode, /*strict=*/true, reference, gain, peak);
648 if(!parse_double_(block->data.vorbis_comment.comments + gain_offset, gain))
649 return !strict && grabbag__replaygain_load_from_vorbiscomment(block, !album_mode, /*strict=*/true, reference, gain, pea
656 grabbag__replaygain_compute_scale_factor(double peak, double gain, double preamp, FLAC__bool prevent_clipping) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/dmasound/
H A Ddmasound.h178 int gain; member in struct:sound_settings
209 static inline int dmasound_set_gain(int gain) argument
211 return dmasound.mach.setGain ? dmasound.mach.setGain(gain) : 100;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/parisc/
H A Dharmony.c172 harmony_write(h, HARMONY_GAINCTL, h->st.gain);
689 harmony_write(h, HARMONY_GAINCTL, h->st.gain);
722 left = (h->st.gain >> shift_left) & mask;
723 right = (h->st.gain >> shift_right) & mask;
748 int old_gain = h->st.gain;
755 h->st.gain &= ~( (mask << shift_left ) );
756 h->st.gain |= (left << shift_left);
762 h->st.gain &= ~( (mask << shift_right) );
763 h->st.gain |= (right << shift_right);
770 return h->st.gain !
[all...]
H A Dharmony.h25 u32 gain; member in struct:snd_harmony::__anon11044
121 /* input gain */
128 /* output gain (master volume) */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/frontends/
H A Dtda10023.c368 u16 gain = ((255-tda10023_readreg(state, 0x17))) + (255-ifgain)/16; local
370 if (gain>0x90)
371 gain=gain+2*(gain-0x90);
372 if (gain>255)
373 gain=255;
375 *strength = (gain<<8)|gain;
H A Dl64781.c104 l64781_writereg (state, 0x0e, 0); /* AGC gain to zero in beginning */
359 int gain = l64781_readreg (state, 0x0e); local
366 if (gain > 5)
398 u8 gain = l64781_readreg (state, 0x0e); local
399 *signal_strength = (gain << 8) | gain;
452 /* AGC loop gain, and polarity is positive */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/flac-1.2.1/src/plugin_winamp2/
H A Dplayback.c90 double reference, gain, peak; local
91 if (grabbag__replaygain_load_from_vorbiscomment(metadata, cfg.replaygain.album_mode, /*strict=*/false, &reference, &gain, &peak))
94 stream_data->replay_scale = grabbag__replaygain_compute_scale_factor(peak, gain, (double)cfg.replaygain.preamp, !cfg.replaygain.hard_limit);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/oss/
H A Dbtaudio.c139 int gain[3]; member in struct:btaudio
268 (bta->gain[bta->source] << 28) |
280 (bta->gain[bta->source] << 28) |
380 btaor((bta->gain[bta->source] << 28) |
401 bta->gain[i] = (val & 0xff) * 15 / 100;
402 if (bta->gain[i] > 15) bta->gain[i] = 15;
403 if (bta->gain[i] < 0) bta->gain[i] = 0;
405 btaor((bta->gain[bt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/au88x0/
H A Dau88x0_eq.c51 static void vortex_EqHw_SetTimeConsts(vortex_t * vortex, u16 gain, u16 level) argument
53 hwwrite(vortex->mmio, 0x2b3c4, gain);
355 static int vortex_Eqlzr_GetLeftGain(vortex_t * vortex, u16 index, u16 * gain) argument
360 *gain = eq->this130[index];
366 static void vortex_Eqlzr_SetLeftGain(vortex_t * vortex, u16 index, u16 gain) argument
373 eq->this130[index] = gain;
377 vortex_EqHw_SetLeftGainsSingleTarget(vortex, index, gain);
380 static int vortex_Eqlzr_GetRightGain(vortex_t * vortex, u16 index, u16 * gain) argument
385 *gain = eq->this130[index + eq->this10];
391 static void vortex_Eqlzr_SetRightGain(vortex_t * vortex, u16 index, u16 gain) argument
[all...]

Completed in 118 milliseconds

123