HomeSort by relevance Sort by last modified time
    Searched refs:ramp (Results 1 - 25 of 44) 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 242 if (odev->ramp && !output_should_mute(odev))
630 if (iodev->ramp)
631 cras_ramp_destroy(iodev->ramp);
977 if (iodev->ramp)
978 cras_ramp_reset(iodev->ramp);
1023 if (iodev->ramp) {
1024 ramp_action = cras_ramp_get_current_action(iodev->ramp);
1053 /* Scale with increment for ramp and possibly
1067 cras_ramp_update_ramped_frames(iodev->ramp, nframes);
    [all...]
  /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 694 // Assume device has ramp member.
695 iodev.ramp = reinterpret_cast<struct cras_ramp*>(0x1);
743 // Assume device has ramp member.
744 iodev.ramp = reinterpret_cast<struct cras_ramp*>(0x1);
878 // Assume device has ramp member.
879 iodev.ramp = reinterpret_cast<struct cras_ramp*>(0x1);
915 // ramp scaler.
919 // ramp increment.
946 // Assume device has ramp member.
947 iodev.ramp = reinterpret_cast<struct cras_ramp*>(0x1)
    [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;
  /external/strace/
evdev_mpers.c 101 tprintf(", ramp={start_level=%" PRId16
103 ffe.u.ramp.start_level,
104 ffe.u.ramp.end_level);
105 decode_envelope(&ffe.u.ramp.envelope);
  /cts/tests/tests/media/src/android/media/cts/
VolumeShaperTest.java 46 * VolumeShaperTest is automated using VolumeShaper.getVolume() to verify that a ramp
58 // ramp or duck time (duration) used in tests.
78 // Duck configurations go from 1.f down to 0.2f (not full ramp down).
87 // Ramp configurations go from 0.f up to 1.f
118 // a step ramp is not continuous, so we have a different test for it.
138 // this ramp should result in non-monotonic behavior with a typical cubic spline.
332 float[] ramp = new float[points]; local
335 ramp[i] = i * fscale;
337 ramp[points - 1] = 1.f;
340 .setCurve(ramp, ramp
433 VolumeShaper.Configuration ramp; local
    [all...]
  /external/u-boot/arch/arm/dts/
rk3288-rock2-som.dtsi 214 regulator-enable-ramp-delay = <300>;
218 regulator-ramp-delay = <8000>;
227 regulator-enable-ramp-delay = <300>;
231 regulator-ramp-delay = <8000>;
imx6sx-sdb.dts 31 regulator-ramp-delay = <6250>;
imx6qdl-logicpd.dtsi 64 regulator-ramp-delay = <6250>;
73 regulator-ramp-delay = <6250>;
imx6sl-evk.dts 158 regulator-ramp-delay = <6250>;
166 regulator-ramp-delay = <6250>;
rk3288-phycore-som.dtsi 400 regulator-enable-ramp-delay = <300>;
404 regulator-ramp-delay = <8000>;
  /external/strace/tests/
ioctl_evdev.c 249 printf(", ramp={start_level=%hd, end_level=%hd",
250 ffe->u.ramp.start_level, ffe->u.ramp.end_level);
251 print_envelope(&ffe->u.ramp.envelope);
  /external/strace/tests-m32/
ioctl_evdev.c 249 printf(", ramp={start_level=%hd, end_level=%hd",
250 ffe->u.ramp.start_level, ffe->u.ramp.end_level);
251 print_envelope(&ffe->u.ramp.envelope);
  /external/strace/tests-mx32/
ioctl_evdev.c 249 printf(", ramp={start_level=%hd, end_level=%hd",
250 ffe->u.ramp.start_level, ffe->u.ramp.end_level);
251 print_envelope(&ffe->u.ramp.envelope);
  /frameworks/av/media/libaudioprocessing/
AudioMixer.cpp 515 /* Sets the volume ramp variables for the AudioMixer.
517 * The volume ramp variables are used to transition from the previous
518 * volume to the set volume. ramp controls the duration of the transition.
522 * FIXME: 1) Volume ramp is enabled only if there is a nonzero integer increment
530 * @param ramp number of frames to increment over. if ramp is 0, the volume
531 * should be set immediately. Currently ramp should not exceed 65535 (frames).
540 static inline bool setVolumeRampVariables(float newVolume, int32_t ramp,
547 // If the resulting volume is too small to ramp, it is a direct set of the volume.
565 // ramp = 0; break
1818 const bool ramp = t->needsRamp(); local
1903 const bool ramp = needsRamp(); local
    [all...]
  /external/u-boot/arch/x86/cpu/broadwell/
cpu.c 231 int ramp, min_vid; local
257 /* Set entry ramp rate to slow */
261 /* Set the slow ramp rate */
263 /* Configure the C-state exit ramp rate */
264 ramp = fdtdec_get_int(gd->fdt_blob, dev_of_offset(dev),
265 "intel,slow-ramp", -1);
266 if (ramp != -1) {
267 /* Configured slow ramp rate */
268 msr.hi |= ((ramp & 0x3) << (53 - 32));
269 /* Set exit ramp rate to slow *
    [all...]
  /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, SkPMColor dst[], int n, function in namespace:__anon38286
242 ramp<premul>(proc.currentColor(), proc.currentColorGrad(), dst, n,
282 // 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, SkPMColor dst[], int n, function in namespace:__anon39082
242 ramp<premul>(proc.currentColor(), proc.currentColorGrad(), dst, n,
282 // 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 188 struct ff_ramp_effect ramp; member in union:ff_effect::__anon746
  /external/kernel-headers/original/uapi/linux/
input.h 350 * struct ff_ramp_effect - defines parameters of a ramp force-feedback effect
458 struct ff_ramp_effect ramp; member in union:ff_effect::__anon25636

Completed in 982 milliseconds

1 2