Searched refs:pitch (Results 1 - 25 of 27) sorted by relevance

12

/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/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 Dfindhalfpel.cpp79 Int lx = video->currVop->pitch;
194 Int lx = video->currVop->pitch;
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 Ddatapart_encode.cpp43 Int lx = currVop->pitch; /* with padding */
220 Int lx = currVop->pitch; /* , with pading */
H A Dcombined_encode.cpp44 Int lx = currVop->pitch; /* with padding */
272 Int lx = currVop->pitch; /* , with padding */
H A Dfastcodemb.cpp77 Int lx = currVop->pitch;
308 Int lx = currVop->pitch;
H A Dmp4lib_int.h53 Int pitch; /* Pitch (differs from width for UMV case) */ member in struct:tagVOP
H A Dmotion_est.cpp146 Int width = currFrame->pitch;
540 Int rx = video->currVop->pitch;
787 Int lx = video->currVop->pitch; /* padding */
1191 Int lx = video->currVop->pitch; /* with padding */
1272 Int lx = video->currVop->pitch; /* with padding */
/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;
/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/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/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/native/services/sensorservice/
H A DOrientationSensor.cpp63 outEvent->orientation.pitch = g.y;
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/
H A Dm4v_h263_enc_test.cpp215 vin.pitch = width; // width is multiple of 16.
218 vin.uChan = vin.yChan + vin.height * vin.pitch;
219 vin.vChan = vin.uChan + ((vin.height * vin.pitch) >> 2);
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/
H A Dvad1.cpp705 Inputs : pitch: flags for pitch detection
778 /* if fullband pitch or tone have been detected for a while, initialize stat_count */
779 if (((Word16)(st->pitch & 0x6000) == 0x6000) ||
1062 pitch: flags for pitch detection
1121 ((st->pitch & 0x7800) == 0)
1731 /* Initialize pitch detection variables */
1734 state->pitch = 0;
1958 Purpose : Set tone flag if pitch gai
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/
H A DSoftMPEG4Encoder.cpp466 vin.pitch = align(mWidth, 16);
469 vin.uChan = vin.yChan + vin.height * vin.pitch;
470 vin.vChan = vin.uChan + ((vin.height * vin.pitch) >> 2);
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
H A DSoundPoolTest.java153 // interate through pitch table
185 // modify the pitch
339 // initialize pitch table
340 float pitch = 0.5f;
343 mScale[i] = pitch;
344 pitch *= SEMITONE;
/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 4501 milliseconds

12