Searched defs:pitch (Results 1 - 16 of 16) sorted by relevance

/frameworks/wilhelm/src/itf/
H A DIPitch.cpp22 static SLresult IPitch_SetPitch(SLPitchItf self, SLpermille pitch) argument
28 if (!(thiz->mMinPitch <= pitch && pitch <= thiz->mMaxPitch)) {
32 thiz->mPitch = pitch;
50 SLpermille pitch = thiz->mPitch; local
52 *pPitch = pitch;
H A DI3DLocation.cpp189 SLmillidegree heading, SLmillidegree pitch, SLmillidegree roll)
194 (-90000 <= pitch) && (pitch <= 90000) &&
201 thiz->mOrientationAngles.mPitch = pitch;
188 I3DLocation_SetOrientationAngles(SL3DLocationItf self, SLmillidegree heading, SLmillidegree pitch, SLmillidegree roll) argument
H A DI3DMacroscopic.cpp70 SLmillidegree heading, SLmillidegree pitch, SLmillidegree roll)
75 (-90000 <= pitch) && (pitch <= 90000) &&
82 thiz->mOrientationAngles.mPitch = pitch;
69 I3DMacroscopic_SetOrientationAngles(SL3DMacroscopicItf self, SLmillidegree heading, SLmillidegree pitch, SLmillidegree roll) argument
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dvad1.h115 /* Note that each of the following three variables (vadreg, pitch and tone)
119 Word16 pitch; /* flags for pitch detection */ member in struct:__anon506
124 Word16 oldlag_count, oldlag; /* variables for pitch detection */
/frameworks/base/media/jni/
H A Dandroid_media_PlaybackParams.h37 jfieldID pitch; member in struct:android::PlaybackParams::fields_t
60 pitch = env->GetFieldID(clazz, "mPitch", "F");
85 audioRate.mPitch = env->GetFloatField(params, fields.pitch);
104 env->SetFloatField(params, fields.pitch, (jfloat)audioRate.mPitch);
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisRequest.java32 * <li>The voice pitch, with 100 being the default pitch.</li>
114 * Gets the pitch to use. The normal pitch is 100.
158 * Sets the pitch.
160 void setPitch(int pitch) { argument
161 mPitch = pitch;
H A DTextToSpeech.java244 * Default pitch.
524 public static final String KEY_PARAM_PITCH = "pitch";
1375 * Sets the speech pitch for the TextToSpeech engine.
1379 * @param pitch Speech pitch. {@code 1.0} is the normal pitch,
1385 public int setPitch(float pitch) { argument
1386 if (pitch > 0.0f) {
1387 int intPitch = (int)(pitch * 100);
/frameworks/base/media/java/android/media/
H A DPlaybackParams.java43 * <p> <strong>pitch:</strong> increases or decreases the tonal frequency of the audio content.
44 * It is expressed as a multiplicative factor, where normal pitch is 1.0f.
48 * <p> Different combinations of speed and pitch may be used for audio playback;
51 * <li> <em>Pitch equals 1.0f.</em> Speed change will be done with pitch preserved,
174 * Sets the pitch factor.
175 * @param pitch
177 * @throws InvalidArgumentException if the pitch is negative
179 public PlaybackParams setPitch(float pitch) { argument
180 if (pitch < 0.f) {
181 throw new IllegalArgumentException("pitch mus
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dme_utils.cpp222 Int pitch, width, height; local
227 pitch = refVop->pitch;
239 dst = src - (pitch << 4);
258 M4VENC_MEMCPY(dst + pitch, dst, pitch);
259 dst += pitch;
263 dst += (pitch + 16);
285 src += pitch;
294 M4VENC_MEMCPY(dst, dst - pitch, pitc
[all...]
H A Dmotion_comp.cpp107 Int height, pitch, pitch_uv, height_uv; local
118 pitch = currVop->pitch;
120 pitch_uv = pitch >> 1;
143 pitch, round1);
168 pitch, round1);
1717 void Copy_MB_from_Vop(UChar *comp, Int yChan[][NCOEFF_BLOCK], Int pitch) argument
1721 Int offset = pitch - MB_SIZE;
1765 void Copy_B_from_Vop(UChar *comp, Int cChan[], Int pitch) argument
1768 Int offset = pitch
1795 Copy_MB_into_Vop(UChar *comp, Int yChan[][NCOEFF_BLOCK], Int pitch) argument
1863 Copy_B_into_Vop(UChar *comp, Int cChan[], Int pitch) argument
[all...]
H A Dmp4enc_api.cpp198 Int max = 0, max_width = 0, max_height = 0, pitch, offset; local
758 pitch = max_width;
763 pitch = max_width + 32;
764 offset = (pitch << 4) + 16;
767 if (((uint64_t)pitch * max_height) > (uint64_t)INT32_MAX) {
770 size = pitch * max_height;
1510 video->currVop->pitch = width_16;
1514 video->currVop->pitch = width_16 + 32;
1618 vid_out->pitch = video->currVop->width; /* padded width */
1623 vid_out->pitch
[all...]
H A Dmp4lib_int.h53 Int pitch; /* Pitch (differs from width for UMV case) */ member in struct:tagVOP
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/
H A Dmp4enc_api.h122 Int pitch; /* stride for Y */ member in struct:tagvideoEncFrameIO
/frameworks/native/include/android/
H A Dsensor.h210 float pitch; member in struct:ASensorVector::__anon1522::__anon1524
/frameworks/native/libs/math/include/math/
H A DTMatHelpers.h534 * @param pitch about X axis
543 static CONSTEXPR BASE<T> eulerYXZ(Y yaw, P pitch, R roll) { argument
544 return eulerZYX(roll, pitch, yaw);
550 * @param pitch about Y axis
554 * about X (roll) then Y (pitch) and then Z (yaw).
562 static CONSTEXPR BASE<T> eulerZYX(Y yaw, P pitch, R roll) { argument
566 T cp = std::cos(pitch);
567 T sp = std::sin(pitch);
/frameworks/av/media/libaudioclient/
H A DAudioTrack.cpp78 // FIXME: we don't use the pitch setting in the time stretcher (not working);
80 static const bool kFixPitch = true; // enable pitch fix
81 static inline uint32_t adjustSampleRate(uint32_t sampleRate, float pitch) argument
83 return kFixPitch ? (sampleRate * pitch + 0.5) : sampleRate;
86 static inline float adjustSpeed(float speed, float pitch) argument
88 return kFixPitch ? speed / max(pitch, AUDIO_TIMESTRETCH_PITCH_MIN_DELTA) : speed;
91 static inline float adjustPitch(float pitch) argument
93 return kFixPitch ? AUDIO_TIMESTRETCH_PITCH_NORMAL : pitch;
847 // pitch is emulated by adjusting speed and sampleRate
899 // pitch i
[all...]

Completed in 326 milliseconds