/frameworks/wilhelm/src/itf/ |
H A D | IPitch.cpp | 22 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 D | I3DLocation.cpp | 189 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 D | I3DMacroscopic.cpp | 70 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 D | vad1.h | 115 /* 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 D | android_media_PlaybackParams.h | 37 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 D | SynthesisRequest.java | 32 * <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 D | TextToSpeech.java | 244 * 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 D | PlaybackParams.java | 43 * <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 D | me_utils.cpp | 222 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 D | motion_comp.cpp | 107 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 D | mp4enc_api.cpp | 198 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 D | mp4lib_int.h | 53 Int pitch; /* Pitch (differs from width for UMV case) */ member in struct:tagVOP
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/include/ |
H A D | mp4enc_api.h | 122 Int pitch; /* stride for Y */ member in struct:tagvideoEncFrameIO
|
/frameworks/native/include/android/ |
H A D | sensor.h | 210 float pitch; member in struct:ASensorVector::__anon1522::__anon1524
|
/frameworks/native/libs/math/include/math/ |
H A D | TMatHelpers.h | 534 * @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 D | AudioTrack.cpp | 78 // 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...] |