HomeSort by relevance Sort by last modified time
    Searched full:impulse (Results 1 - 25 of 147) sorted by null

1 2 3 4 5 6

  /external/replicaisland/src/com/replica/replicaisland/
SimplePhysicsComponent.java 43 final Vector2 impulse = parentObject.getImpulse(); local
44 float velocityX = parentObject.getVelocity().x + impulse.x;
45 float velocityY = parentObject.getVelocity().y + impulse.y;
66 impulse.zero();
PhysicsComponent.java 129 protected void resolveCollision(Vector2 velocity, Vector2 impulse, Vector2 opposingNormal,
133 outputImpulse.set(impulse);
140 relativeVelocity.add(impulse);
149 // calculate an impulse to apply to the entity
159 entity1Adjust.add(impulse);
169 protected void resolveCollision(Vector2 velocity, Vector2 impulse, Vector2 opposingNormal,
178 entity1Velocity.add(impulse);
194 // calculate an impulse to apply to both entities
202 entity1Adjust.add(impulse);
PlayerComponent.java 140 Vector2 impulse = pool.allocate(); local
143 impulse.set(dpad.getX(), 0.0f);
150 impulse.y = AIR_VERTICAL_IMPULSE_SPEED_FROM_GROUND;
155 impulse.y = AIR_VERTICAL_IMPULSE_SPEED * timeDelta;
165 || impulse.y > VERTICAL_IMPULSE_TOLERANCE;
171 impulse.x = (impulse.x * horziontalSpeed * timeDelta);
175 final float newSpeed = Math.abs(currentSpeed + impulse.x);
178 currentSpeed = maxHorizontalSpeed * Utils.sign(impulse.x);
181 impulse.x = (0.0f);
    [all...]
GameComponent.java 29 PHYSICS, // impulse velocities are summed
GameObject.java 196 public final void setImpulse(Vector2 impulse) {
197 mImpulse.set(impulse);
  /external/chromium_org/third_party/WebKit/Source/core/platform/audio/
HRTFKernel.h 45 // HRTFKernel is a frequency-domain representation of an impulse-response used as part of the spatialized panning system.
47 // The leading delay (average group delay) for each impulse response is extracted:
48 // m_fftFrame is the frequency-domain representation of the impulse response with the delay removed
49 // m_frameDelay is the leading delay of the original impulse response.
75 // Converts back into impulse-response form.
ReverbConvolverStage.h 43 // A ReverbConvolverStage represents the convolution associated with a sub-section of a large impulse response.
44 // It incorporates a delay line to account for the offset of the sub-section within the larger impulse response.
HRTFKernel.cpp 44 // Takes the input AudioChannel as an input impulse response and calculates the average group delay.
45 // This represents the initial delay before the most energetic part of the impulse response.
46 // The sample-frame delay is removed from the impulseP impulse response, and this value is returned.
84 size_t truncatedResponseLength = min(responseLength, fftSize / 2); // truncate if necessary to max impulse response length allowed by FFT
Reverb.cpp 51 // Empirical gain calibration tested across many impulse responses to ensure perceived volume is same as dry (unprocessed) signal
55 // A minimum power value to when normalizing a silent (or very quiet) impulse response
117 // The reverb can handle a mono impulse response and still do stereo processing
206 // 1 -> 4 -> 2 (Processing mono with "True" stereo impulse response)
207 // This is an inefficient use of a four-channel impulse response, but we should handle the case.
HRTFElevation.cpp 54 // Number of frames in an individual impulse response.
57 // Sample-rate of the spatialization impulse responses as stored in the resource file.
58 // The impulse responses may be resampled to a different sample-rate (depending on the audio hardware) when they are loaded.
156 // The concatenated impulse response is a bus containing all
166 // Extract the individual impulse response from the concatenated
197 // Note that depending on the fftSize returned by the panner, we may be truncating the impulse response we just loaded in.
205 // The range of elevations for the IRCAM impulse responses varies depending on azimuth, but the minimum elevation appears to always be -45.
HRTFPanner.cpp 80 // The HRTF impulse responses (loaded as audio resources) are 512 sample-frames @44.1KHz.
81 // Currently, we truncate the impulse responses to half this size, but an FFT-size of twice impulse response size is needed (for convolution).
  /external/chromium_org/third_party/WebKit/Source/modules/webaudio/
ConvolverNode.h 53 // Impulse responses
69 // This synchronizes dynamic changes to the convolution impulse response with process().
72 // Normalize the impulse response or not. Must default to true.
ConvolverNode.cpp 75 // Synchronize with possible dynamic changes to the impulse response.
88 // Too bad - the tryLock() failed. We must be in the middle of setting a new impulse response.
127 // The current implementation supports up to four channel impulse responses, which are interpreted as true-stereo (see Reverb class).
141 // Create the reverb with the given impulse response.
  /external/webrtc/src/common_audio/vad/
vad_filterbank.c 46 // The sum of the absolute values of the impulse response:
48 // Impulse response: 0.4047 -0.6179 -0.0266 0.1993 0.1035 -0.0194
50 // Impulse response: 0.4047 -0.8094 0.4047 0 0 0
52 // Impulse response: 1.0000 0.4734 -0.1189 -0.2187 -0.0627 0.04532
80 // has the the same sign as the impulse responses first taps.
81 // First 6 taps of the impulse response: 0.6399 0.5905 -0.3779
  /external/libvorbis/lib/
highlevel.h 56 highlevel_byblocktype block[4]; /* padding, impulse, transition, long */
  /frameworks/av/media/libstagefright/codecs/amrwbenc/src/
pit_shrp.c 28 Word16 * x, /* in/out: impulse response (or algebraic code) */
pitch_f4.c 40 Word16 h[], /* (i) Q15 : impulse response of synth/wgt filters */
50 Word16 h[], /* (i) Q15 : impulse response of synth/wgt filters */
67 Word16 h[], /* (i) Q15 : impulse response of synth/wgt filters */
164 Word16 h[], /* (i) Q15 : impulse response of synth/wgt filters */
  /external/libvorbis/doc/vorbisenc/
vorbis_encode_ctl.html 86 <dd><b>Argument: double *</b><br> Returns the current encoder impulse
90 the impulse block bias to the the value pointed to by arg; valid range
91 is -15.0 to 0.0 [default]. A negative impulse block bias will direct
93 strong impulses, thus improving the accuracy of impulse encoding.</dd><p>
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_imgfile.py 67 # scaling. The filter forms supported are 'impulse', 'box',
74 print 'Filtering with "impulse"'
75 simage = imgfile.readscaled (name, sizes[0]/2, sizes[1]/2, 'impulse', 2.0)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_imgfile.py 67 # scaling. The filter forms supported are 'impulse', 'box',
74 print 'Filtering with "impulse"'
75 simage = imgfile.readscaled (name, sizes[0]/2, sizes[1]/2, 'impulse', 2.0)
  /external/jmonkeyengine/engine/src/bullet/com/jme3/bullet/objects/
PhysicsRigidBody.java 496 * To apply an impulse, use applyImpulse, use applyContinuousForce to apply continuous force.
510 * To apply an impulse, use applyImpulse.
524 * To apply an impulse, use applyImpulse.
536 * Apply an impulse to the PhysicsRigidBody in the next physics update.
537 * @param impulse applied impulse
540 public void applyImpulse(Vector3f impulse, Vector3f rel_pos) {
541 applyImpulse(objectId, impulse, rel_pos);
545 private native void applyImpulse(long objectId, Vector3f impulse, Vector3f rel_pos);
548 * Apply a torque impulse to the PhysicsRigidBody in the next physics update
    [all...]
  /external/jmonkeyengine/engine/src/jbullet/com/jme3/bullet/objects/
PhysicsRigidBody.java 460 * To apply an impulse, use applyImpulse, use applyContinuousForce to apply continuous force.
472 * To apply an impulse, use applyImpulse.
484 * To apply an impulse, use applyImpulse.
494 * Apply an impulse to the PhysicsRigidBody in the next physics update.
495 * @param impulse applied impulse
498 public void applyImpulse(final Vector3f impulse, final Vector3f rel_pos) {
499 rBody.applyImpulse(Converter.convert(impulse, tempVec), Converter.convert(rel_pos, tempVec2));
504 * Apply a torque impulse to the PhysicsRigidBody in the next physics update.
  /frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
convolve.h 74 Word16 h[], /* (i) : impulse response */
  /external/speex/include/speex/
speex_echo.h 55 /** Get size of impulse response (int32) */
59 /** Get impulse response (int32[]) */
  /frameworks/av/media/libstagefright/codecs/amrwbenc/inc/
acelp.h 252 Word16 h[], /* (i) Q15 : impulse response */
259 Word16 h[], /* (i) Q15 : impulse response */
349 Word16 h[], /* (i) Q15 : impulse response of synth/wgt filters */
424 Word16 h[], /* (i) Q12 : impulse response of weighted synthesis filter */
431 Word16 H[], /* (i) Q12: impulse response of weighted synthesis filter */
440 Word16 H[], /* (i) Q12: impulse response of weighted synthesis filter */
455 Word16 * x, /* in/out: impulse response (or algebraic code) */

Completed in 657 milliseconds

1 2 3 4 5 6