Home
last modified time | relevance | path

Searched full:effect (Results 1 – 25 of 2745) sorted by relevance

12345678910>>...110

/OK3568_Linux_fs/buildroot/dl/sox/git/src/
H A Deffects.h18 EFFECT(allpass)
19 EFFECT(band)
20 EFFECT(bandpass)
21 EFFECT(bandreject)
22 EFFECT(bass)
23 EFFECT(bend)
24 EFFECT(biquad)
25 EFFECT(chorus)
26 EFFECT(channels)
27 EFFECT(compand)
[all …]
H A Dexample1.c73 /* Outputting is the last `effect' in the effect chain so always passes in output_flow()
74 * 0 samples on to the next effect (as there isn't one!) */ in output_flow()
82 /* A `stub' effect handler to handle inputting samples to the effects
92 /* A `stub' effect handler to handle outputting samples from the effects
129 /* The first effect in the effect chain must be something that can source in main()
133 /* This becomes the first `effect' in the chain */ in main()
137 /* Create the `vol' effect, and initialise it with the desired parameters: */ in main()
140 /* Add the effect to the end of the effects processing chain: */ in main()
144 /* Create the `flanger' effect, and initialise it with default parameters: */ in main()
147 /* Add the effect to the end of the effects processing chain: */ in main()
[all …]
H A Deffects.c28 /* Default effect handler functions for do-nothing situations: */
57 /* Partially initialise the effect structure; signal info will come later */
109 /* Effect can call in start() or flow() to set minimum input size to flow() */
124 /* Add an effect to the chain. *in is the input signal for this effect. *out is
126 * given options and *in, the effect can choose to do differently. Whatever
127 * output rate and channels the effect does produce are written back to *in,
128 * ready for the next effect in the chain.
134 sox_effect_t eff0; /* Copy of effect for flow 0 before calling start */ in sox_add_effect()
159 lsx_report("has no effect in this configuration"); in sox_add_effect()
213 /* An effect's output buffer (effp->obuf) generally has this layout:
[all …]
H A Dexample0.c57 /* The first effect in the effect chain must be something that can source in main()
62 /* This becomes the first `effect' in the chain */ in main()
66 /* Create the `vol' effect, and initialise it with the desired parameters: */ in main()
69 /* Add the effect to the end of the effects processing chain: */ in main()
73 /* Create the `flanger' effect, and initialise it with default parameters: */ in main()
76 /* Add the effect to the end of the effects processing chain: */ in main()
80 /* The last effect in the effect chain must be something that only consumes in main()
H A Dskeleff.c1 /* libSoX effect: Skeleton effect used as sample for creating new effects.
22 /* Private data for effect */
94 * Drain out remaining samples if the effect generates any.
115 * Do anything required when you kill an effect.
124 * Function returning effect descriptor. This should be the only
131 * Effect descriptor. in lsx_skel_effect_fn()
H A Dtestall.sh3 effect=""
34 effect="$effect $1"
45 ${bindir}/sox${EXEEXT} ${srcdir}/monkey.wav $opts /tmp/monkey.$format $effect
46 ${bindir}/sox${EXEEXT} $opts /tmp/monkey.$format /tmp/monkey1.wav $effect
/OK3568_Linux_fs/kernel/drivers/input/joystick/iforce/
H A Diforce-ff.c12 * Set the magnitude of a constant force effect
45 * Upload the component of an effect dealing with the period, phase and magnitude
83 * Uploads the part of an effect setting the envelope of the force
178 * Analyse the changes in an effect, and tell if we need to send an condition
189 dev_warn(&iforce->dev->dev, "bad effect type in %s\n", in need_condition_modifier()
206 * Analyse the changes in an effect, and tell if we need to send a magnitude
211 struct ff_effect *effect) in need_magnitude_modifier() argument
213 if (effect->type != FF_CONSTANT) { in need_magnitude_modifier()
214 dev_warn(&iforce->dev->dev, "bad effect type in %s\n", in need_magnitude_modifier()
219 return old->u.constant.level != effect->u.constant.level; in need_magnitude_modifier()
[all …]
/OK3568_Linux_fs/kernel/drivers/input/
H A Dff-memless.c39 struct ff_effect *effect; member
40 unsigned long flags; /* effect state (STARTED, PLAYING, etc) */
41 int count; /* loop count of the effect */
44 unsigned long adj_at; /* last time the effect was sent */
55 struct ff_effect *effect);
58 static const struct ff_envelope *get_envelope(const struct ff_effect *effect) in get_envelope() argument
62 switch (effect->type) { in get_envelope()
64 return &effect->u.periodic.envelope; in get_envelope()
67 return &effect->u.constant.envelope; in get_envelope()
79 const struct ff_envelope *envelope = get_envelope(state->effect); in calculate_next_time()
[all …]
H A Dff-core.c21 * Check that the effect_id is a valid effect and whether the user
49 * Convert an effect into compatible one
51 static int compat_effect(struct ff_device *ff, struct ff_effect *effect) in compat_effect() argument
55 switch (effect->type) { in compat_effect()
64 magnitude = effect->u.rumble.strong_magnitude / 3 + in compat_effect()
65 effect->u.rumble.weak_magnitude / 6; in compat_effect()
67 effect->type = FF_PERIODIC; in compat_effect()
68 effect->u.periodic.waveform = FF_SINE; in compat_effect()
69 effect->u.periodic.period = 50; in compat_effect()
70 effect->u.periodic.magnitude = max(magnitude, 0x7fff); in compat_effect()
[all …]
/OK3568_Linux_fs/kernel/drivers/hid/usbhid/
H A Dhid-pidff.c274 struct ff_effect *effect) in pidff_set_constant_force_report() argument
279 effect->u.constant.level); in pidff_set_constant_force_report()
288 static int pidff_needs_set_constant(struct ff_effect *effect, in pidff_needs_set_constant() argument
291 return effect->u.constant.level != old->u.constant.level; in pidff_needs_set_constant()
295 * Send set effect report to the device
298 struct ff_effect *effect) in pidff_set_effect_report() argument
304 pidff->set_effect[PID_DURATION].value[0] = effect->replay.length; in pidff_set_effect_report()
305 pidff->set_effect[PID_TRIGGER_BUTTON].value[0] = effect->trigger.button; in pidff_set_effect_report()
307 effect->trigger.interval; in pidff_set_effect_report()
312 pidff_rescale(effect->direction, 0xffff, in pidff_set_effect_report()
[all …]
/OK3568_Linux_fs/kernel/Documentation/input/
H A Dff.rst115 int ioctl(int file_descriptor, int request, struct ff_effect *effect);
119 "effect" points to a structure describing the effect to upload. The effect is
121 The content of effect may be modified. In particular, its field "id" is set
123 some operations (removing an effect, controlling the playback).
125 allocate a new effect.
142 Removing an effect from the device
147 int ioctl(int fd, EVIOCRMFF, effect.id);
150 stops the effect if it was playing.
164 struct ff_effect effect;
171 play.code = effect.id;
[all …]
/OK3568_Linux_fs/kernel/sound/synth/emux/
H A Demux_effect.c84 /* set byte effect value */
88 short effect; in effect_set_byte() local
91 effect = fx->val[type]; in effect_set_byte()
94 effect += *(char*)valp; in effect_set_byte()
96 effect += *valp; in effect_set_byte()
98 if (effect < parm_defs[type].low) in effect_set_byte()
99 effect = parm_defs[type].low; in effect_set_byte()
100 else if (effect > parm_defs[type].high) in effect_set_byte()
101 effect = parm_defs[type].high; in effect_set_byte()
102 *valp = (unsigned char)effect; in effect_set_byte()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dinput.h176 #define EVIOCSFF _IOW('E', 0x80, struct ff_effect) /* send a force effect to a force feedback devi…
177 #define EVIOCRMFF _IOW('E', 0x81, int) /* Erase a force effect */
282 * Values describing the status of a force-feedback effect
299 * struct ff_replay - defines scheduling of the force-feedback effect
300 * @length: duration of the effect
301 * @delay: delay before effect should start playing
309 * struct ff_trigger - defines what triggers the force-feedback effect
310 * @button: number of the button triggering the effect
311 * @interval: controls how soon the effect can be re-triggered
319 * struct ff_envelope - generic force-feedback effect envelope
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dinput.h176 #define EVIOCSFF _IOW('E', 0x80, struct ff_effect) /* send a force effect to a force feedback devi…
177 #define EVIOCRMFF _IOW('E', 0x81, int) /* Erase a force effect */
282 * Values describing the status of a force-feedback effect
299 * struct ff_replay - defines scheduling of the force-feedback effect
300 * @length: duration of the effect
301 * @delay: delay before effect should start playing
309 * struct ff_trigger - defines what triggers the force-feedback effect
310 * @button: number of the button triggering the effect
311 * @interval: controls how soon the effect can be re-triggered
319 * struct ff_envelope - generic force-feedback effect envelope
[all …]
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dinput.h179 #define EVIOCSFF _IOW('E', 0x80, struct ff_effect) /* send a force effect to a force feedback devi…
180 #define EVIOCRMFF _IOW('E', 0x81, int) /* Erase a force effect */
285 * Values describing the status of a force-feedback effect
302 * struct ff_replay - defines scheduling of the force-feedback effect
303 * @length: duration of the effect
304 * @delay: delay before effect should start playing
312 * struct ff_trigger - defines what triggers the force-feedback effect
313 * @button: number of the button triggering the effect
314 * @interval: controls how soon the effect can be re-triggered
322 * struct ff_envelope - generic force-feedback effect envelope
[all …]
/OK3568_Linux_fs/buildroot/dl/sox/git/
H A DChangeLog40 effect, and for spectrogram -S and -d. (Ulrich Klauer)
95 o Fix memory leaks in LADSPA effect. (Eric Wong)
170 o Improvements to man pages for tempo effect. Really made in 14.3.2.
172 o New upsample effect. (robs)
173 o Fix to effects pipeline to let fade effect specify time from end of
175 o Fix man page default error for splice effect. (Ulrich Klauer)
180 o Let the delay effect gracefully handle the special case that a delay can
190 o Complete rewrite of the trim effect with extended syntax (backwards
257 o Fix -w option on stats effect. (Ronald Sprouse)
260 packaging. Helps enable spectrograph effect. (cbagwell)
[all …]
H A Dsox.139 [\fIeffect\fR [\fIeffect-options\fR]] ...
43 [\fIeffect\fR [\fIeffect-options\fR]] ...
46 [\fIeffect\fR [\fIeffect-options\fR]] ...
124 plays a collection of audio files whilst applying a bass boosting effect,
309 audio output device, SoX will automatically invoke the \fBrate\fR effect
314 effect with a different quality level, e.g.
369 effect, and finally creates the output MP3 file by re-compressing the
398 an effect has increased effective bit-depth within the internal
417 effect.
455 effect can be used to prevent clipping, e.g.
[all …]
H A Dlibsox.334 libsox \- SoX, an audio file-format and effect library
125 The function \fBsox_find_effect\fR finds effect \fIname\fR, returning
129 The function \fBsox_create_effect\fR instantiates an effect into a
134 The function \fBsox_effect_options\fR allows passing options into the effect to control its behavio…
136 … when they are passed in before the effect is ever started. The behavior is undefined if its call…
151 \fBsox_add_effect\fR adds an effect to the chain. \fIin\fR specifies the input
152 signal info for this effect. \fIout\fR is a suggestion
154 given options and on \fIin\fR the effect can choose to do differently.
155 Whatever output rate and channels the effect does produce are written
157 new call to \fBsox_add_effect\fR so that changes will be propagated to each new effect.
[all …]
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Ddebugfs-hisi-sec7 Only available for PF, and take no other effect on SEC.
37 Only available for PF, and take no other effect on SEC.
44 Available for both PF and VF, and take no other effect on SEC.
50 Available for both PF and VF, and take no other effect on SEC.
56 Available for both PF and VF, and take no other effect on SEC.
62 Available for both PF and VF, and take no other effect on SEC.
68 Available for both PF and VF, and take no other effect on SEC.
75 Available for both PF and VF, and take no other effect on SEC.
81 Available for both PF and VF, and take no other effect on SEC.
87 Available for both PF and VF, and take no other effect on SEC.
[all …]
H A Ddebugfs-hisi-hpre19 functional effect, only enable or disable counters clear after
55 Writing to this file has no functional effect, only enable or
64 Available for both PF and VF, and take no other effect on HPRE.
70 Available for both PF and VF, and take no other effect on HPRE.
76 Available for both PF and VF, and take no other effect on HPRE.
82 Available for both PF and VF, and take no other effect on HPRE.
88 Available for both PF and VF, and take no other effect on HPRE.
95 Available for both PF and VF, and take no other effect on HPRE.
101 Available for both PF and VF, and take no other effect on HPRE.
107 Available for both PF and VF, and take no other effect on HPRE.
[all …]
H A Ddebugfs-hisi-zip18 Writing to this file has no functional effect, only enable or
48 Writing to this file has no functional effect, only enable or
57 Available for both PF and VF, and take no other effect on ZIP.
63 Available for both PF and VF, and take no other effect on ZIP.
69 Available for both PF and VF, and take no other effect on ZIP.
75 Available for both PF and VF, and take no other effect on ZIP.
81 Available for both PF and VF, and take no other effect on ZIP.
88 Available for both PF and VF, and take no other effect on ZIP.
94 Available for both PF and VF, and take no other effect on ZIP.
100 Available for both PF and VF, and take no other effect on ZIP.
[all …]
/OK3568_Linux_fs/buildroot/dl/sox/git/test/
H A Dltest.pl26 my $effect='rate';
27 #my $effect='rate -q';
28 #my $effect='rate -l';
29 #my $effect='rate -h -M';
30 #my $effect='rate -h -b 90';
31 #my $effect='sinc 400-2000';
32 #my $effect='sinc -n 1024 400-2000';
59 $effect="@ARGV";
63 if ($effect =~ m{^(rate|upsample|downsample|speed)}) {
69 print("# Testing $sox -c1 -r$rate0 i0.xx.$t j0.xx.$t $effect\n");
[all …]
/OK3568_Linux_fs/kernel/drivers/hid/
H A Dhid-holtekff.c27 * 01 set effect parameters
28 * 02 play specified effect
29 * 03 stop specified effect
39 * commands 02,03 take only the effect id.
42 * bits 0-3: effect id:
59 * bytes 5-6: unknown (win driver seems to use at least 10e0 with effect 1
60 * and 0014 with effect 6)
62 * bits 0-3: effect magnitude
91 struct ff_effect *effect) in holtekff_play() argument
96 /* effect type 1, length 65535 msec */ in holtekff_play()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/algorithm/
H A Dminmax_element.hpp21 * Effect: std::make_pair( std::min_element(first, last),
25 * Effect: std::make_pair( std::min_element(first, last, comp),
148 * Effect: std::min_element(first, last);
151 * Effect: std::min_element(first, last, comp);
154 * Effect: reverse( std::min_element(reverse(last), reverse(first)) );
157 * Effect: reverse( std::min_element(reverse(last), reverse(first), comp) );
160 * Effect: std::max_element(first, last);
163 * Effect: max_element(first, last);
166 * Effect: reverse( std::max_element(reverse(last), reverse(first)) );
169 * Effect: reverse( std::max_element(reverse(last), reverse(first), comp) );
[all …]
/OK3568_Linux_fs/kernel/Documentation/input/devices/
H A Diforce-protocol.rst82 01 Bit 8 is set if the effect is playing. Bits 0 to 7 are the effect id.
89 Force effect
111 Bits 4-7: Val 2 = effect along one axis. Byte 05 indicates direction
116 Val x+1 = Button x triggers the effect
119 03-04 Duration of effect (little endian encoding, in ms)
121 05 Direction of effect, if applicable. Else, see 02 for value to assign.
133 0c-0d Delay before execution of effect (little endian encoding, in ms)
283 Query effect
290 Send effect type.
323 Set Effect State
[all …]

12345678910>>...110