HomeSort by relevance Sort by last modified time
    Searched refs:ramp (Results 1 - 25 of 48) sorted by null

1 2

  /external/adhd/cras/src/server/
cras_ramp.c 45 void cras_ramp_destroy(struct cras_ramp* ramp)
47 free(ramp);
52 struct cras_ramp* ramp; local
53 ramp = (struct cras_ramp*)malloc(sizeof(*ramp));
54 if (ramp == NULL) {
57 cras_ramp_reset(ramp);
58 return ramp;
61 int cras_ramp_reset(struct cras_ramp *ramp) {
62 ramp->state = CRAS_RAMP_STATE_IDLE
    [all...]
cras_ramp.h 42 /* Creates a ramp. */
45 /* Destroys a ramp. */
46 void cras_ramp_destroy(struct cras_ramp* ramp);
50 * ramp[in]: The ramp struct to start.
51 * is_up[in]: 1 to ramp up and 0 to ramp down.
52 * duration_frames[in]: Ramp duration in frames.
60 int cras_ramp_start(struct cras_ramp *ramp, int is_up, int duration_frames,
63 /* Resets ramp and cancels current ramping. *
    [all...]
cras_iodev.c 223 if (odev->ramp && !output_should_mute(odev))
572 if (iodev->ramp)
573 cras_ramp_destroy(iodev->ramp);
870 if (iodev->ramp)
871 cras_ramp_reset(iodev->ramp);
899 if (iodev->ramp) {
900 ramp_action = cras_ramp_get_current_action(iodev->ramp);
923 /* Scale with increment for ramp and possibly
937 cras_ramp_update_ramped_frames(iodev->ramp, nframes);
    [all...]
cras_iodev.h 170 * ramp - The cras_ramp struct to control ramping up/down at mute/unmute and
232 struct cras_ramp* ramp; member in struct:cras_iodev
237 * Ramp request used in cras_iodev_start_ramp.
  /external/adhd/cras/src/tests/
ramp_unittest.cc 23 struct cras_ramp *ramp; local
28 ramp = cras_ramp_create();
29 action = cras_ramp_get_current_action(ramp);
35 cras_ramp_destroy(ramp);
42 cras_ramp *ramp; local
47 ramp = cras_ramp_create();
48 cras_ramp_start(ramp, ramp_up, duration_frames, NULL, NULL);
50 action = cras_ramp_get_current_action(ramp);
56 cras_ramp_destroy(ramp);
65 struct cras_ramp *ramp; local
91 struct cras_ramp *ramp; local
116 struct cras_ramp *ramp; local
153 struct cras_ramp *ramp; local
189 cras_ramp *ramp; local
212 struct cras_ramp *ramp; local
238 struct cras_ramp *ramp; local
263 struct cras_ramp *ramp; local
303 struct cras_ramp *ramp; local
348 struct cras_ramp *ramp; local
376 struct cras_ramp *ramp; local
    [all...]
iodev_unittest.cc 677 // Assume device has ramp member.
678 iodev.ramp = reinterpret_cast<struct cras_ramp*>(0x1);
726 // Assume device has ramp member.
727 iodev.ramp = reinterpret_cast<struct cras_ramp*>(0x1);
861 // Assume device has ramp member.
862 iodev.ramp = reinterpret_cast<struct cras_ramp*>(0x1);
898 // ramp scaler.
902 // ramp increment.
929 // Assume device has ramp member.
930 iodev.ramp = reinterpret_cast<struct cras_ramp*>(0x1)
    [all...]
iodev_list_unittest.cc 727 // d1_ and d3_ have ramp while d2_ does not have ramp.
728 d1_.ramp = reinterpret_cast<cras_ramp*>(0x123);
729 d2_.ramp = NULL;
730 d3_.ramp = reinterpret_cast<cras_ramp*>(0x124);
754 // d3_ should set mute state right away without calling ramp
762 // It should not use ramp.
784 // It should not use ramp.
810 // d1_ and d3_ have ramp while d2_ does not have ramp
    [all...]
  /external/eigen/doc/examples/
class_CwiseUnaryOp_ptrfun.cpp 7 double ramp(double x) function
18 cout << m1 << endl << "becomes: " << endl << m1.unaryExpr(ptr_fun(ramp)) << endl;
  /frameworks/av/media/libaaudio/tests/
test_linear_ramp.cpp 26 LinearRamp ramp; local
32 ramp.setLengthInFrames(8);
33 ramp.setTarget(8.0f);
35 EXPECT_EQ(8, ramp.getLengthInFrames());
37 bool ramping = ramp.nextSegment(4, &levelFrom, &levelTo);
48 ramping = ramp.nextSegment(4, &levelFrom, &levelTo);
59 ramping = ramp.nextSegment(4, &levelFrom, &levelTo);
74 LinearRamp ramp; local
80 ramp.setLengthInFrames(4);
81 ramp.setTarget(8.0f)
    [all...]
  /prebuilts/misc/windows/sdl2/test/
testautomation_pixels.c 405 const char *expectedError2 = "Parameter 'ramp' is invalid";
408 Uint16 *ramp; local
414 /* Allocate temp ramp array and fill with some value */
415 ramp = (Uint16 *)SDL_malloc(256 * sizeof(Uint16));
416 SDLTest_AssertCheck(ramp != NULL, "Validate temp ramp array could be allocated");
417 if (ramp == NULL) return TEST_ABORTED;
441 for (i = 0; i < 256; i++) ramp[i] = magic;
442 SDL_CalculateGammaRamp(gamma, ramp);
445 for (i = 0; i < 256; i++) if (ramp[i] != magic) changed++
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
VolumeShaperTest.java 47 * VolumeShaperTest is automated using VolumeShaper.getVolume() to verify that a ramp
59 // ramp or duck time (duration) used in tests.
79 // Duck configurations go from 1.f down to 0.2f (not full ramp down).
88 // Ramp configurations go from 0.f up to 1.f
119 // a step ramp is not continuous, so we have a different test for it.
139 // this ramp should result in non-monotonic behavior with a typical cubic spline.
333 float[] ramp = new float[points]; local
336 ramp[i] = i * fscale;
338 ramp[points - 1] = 1.f;
341 .setCurve(ramp, ramp
434 VolumeShaper.Configuration ramp; local
    [all...]
  /external/strace/tests/
ioctl_evdev.c 223 printf(", ramp={start_level=%hd, end_level=%hd",
224 ffe->u.ramp.start_level, ffe->u.ramp.end_level);
225 print_envelope(&ffe->u.ramp.envelope);
  /external/strace/tests-m32/
ioctl_evdev.c 223 printf(", ramp={start_level=%hd, end_level=%hd",
224 ffe->u.ramp.start_level, ffe->u.ramp.end_level);
225 print_envelope(&ffe->u.ramp.envelope);
  /external/strace/tests-mx32/
ioctl_evdev.c 223 printf(", ramp={start_level=%hd, end_level=%hd",
224 ffe->u.ramp.start_level, ffe->u.ramp.end_level);
225 print_envelope(&ffe->u.ramp.envelope);
  /frameworks/av/media/libaudioprocessing/
AudioMixer.cpp 394 /* Sets the volume ramp variables for the AudioMixer.
396 * The volume ramp variables are used to transition from the previous
397 * volume to the set volume. ramp controls the duration of the transition.
401 * FIXME: 1) Volume ramp is enabled only if there is a nonzero integer increment
409 * @param ramp number of frames to increment over. if ramp is 0, the volume
410 * should be set immediately. Currently ramp should not exceed 65535 (frames).
419 static inline bool setVolumeRampVariables(float newVolume, int32_t ramp,
426 // If the resulting volume is too small to ramp, it is a direct set of the volume.
444 // ramp = 0; break
1669 const bool ramp = t->needsRamp(); local
1720 const bool ramp = needsRamp(); local
    [all...]
  /external/lisa/tests/lisa/
test_wlgen_rtapp.py 23 from wlgen import RTA, Periodic, Ramp, Step
156 ramp = Ramp(start_pct=start_pct, end_pct=end_pct, delta_pct=delta_pct,
161 task = light + ramp + heavy
173 # Ramp phases:
  /external/strace/
evdev.c 118 tprintf(", ramp={start_level=%" PRId16
120 ffe.u.ramp.start_level,
121 ffe.u.ramp.end_level);
122 decode_envelope(&ffe.u.ramp.envelope);
  /external/swiftshader/src/D3D9/
Direct3DDevice9Ex.cpp 376 void Direct3DDevice9Ex::GetGammaRamp(unsigned int index, D3DGAMMARAMP *ramp)
378 TRACE("unsigned int index = %d, D3DGAMMARAMP *ramp = 0x%0.8p", index, ramp);
380 return Direct3DDevice9::GetGammaRamp(index, ramp);
684 void Direct3DDevice9Ex::SetGammaRamp(unsigned int index, unsigned long flags, const D3DGAMMARAMP *ramp)
686 TRACE("unsigned int index = %d, unsigned long flags = 0x%0.8X, const D3DGAMMARAMP *ramp = 0x%0.8p", index, flags, ramp);
688 return Direct3DDevice9::SetGammaRamp(index, flags, ramp);
    [all...]
Direct3DDevice9Ex.hpp 78 void __stdcall SetGammaRamp(unsigned int swapChain, unsigned long flags, const D3DGAMMARAMP *ramp) override;
79 void __stdcall GetGammaRamp(unsigned int swapChain, D3DGAMMARAMP *ramp) override;
  /external/skia/src/shaders/gradients/
Sk4fLinearGradient.cpp 17 void ramp(const Sk4f& c, const Sk4f& dc, dstType dst[], int n, function in namespace:__anon34226
256 ramp<dstType, premul>(proc.currentColor(), proc.currentColorGrad(), dst, n,
295 // fraction of a pixel, we just use the average color in zero-ramp mode.
  /external/skqp/src/shaders/gradients/
Sk4fLinearGradient.cpp 17 void ramp(const Sk4f& c, const Sk4f& dc, dstType dst[], int n, function in namespace:__anon34894
253 ramp<dstType, premul>(proc.currentColor(), proc.currentColorGrad(), dst, n,
292 // fraction of a pixel, we just use the average color in zero-ramp mode.
  /external/swiftshader/src/D3D8/
Direct3DDevice8.hpp 100 void __stdcall GetGammaRamp(D3DGAMMARAMP *ramp) override;
133 void __stdcall SetGammaRamp(unsigned long flags, const D3DGAMMARAMP *ramp) override;
  /bionic/libc/kernel/uapi/linux/
input.h 174 struct ff_ramp_effect ramp; member in union:ff_effect::__anon756
  /external/kernel-headers/original/uapi/linux/
input.h 334 * struct ff_ramp_effect - defines parameters of a ramp force-feedback effect
442 struct ff_ramp_effect ramp; member in union:ff_effect::__anon22962
  /prebuilts/misc/darwin-x86_64/sdl2/include/SDL2/
SDL_haptic.h 210 * \brief Ramp effect supported.
212 * Ramp haptic effect.
616 * \brief A structure containing a template for a Ramp effect.
620 * The ramp effect starts at start strength and ends at end strength.
621 * It augments in linear fashion. If you use attack and fade with a ramp
622 * the effects get added to the ramp effect making the effect become
642 /* Ramp */
794 SDL_HapticRamp ramp; /**< Ramp effect. */ member in union:SDL_HapticEffect
    [all...]

Completed in 448 milliseconds

1 2