/frameworks/av/media/libmedia/ |
H A D | AudioTrack.cpp | 71 // FIXME: we don't use the pitch setting in the time stretcher (not working); 73 static const bool kFixPitch = true; // enable pitch fix 74 static inline uint32_t adjustSampleRate(uint32_t sampleRate, float pitch) argument 76 return kFixPitch ? (sampleRate * pitch + 0.5) : sampleRate; 79 static inline float adjustSpeed(float speed, float pitch) argument 81 return kFixPitch ? speed / max(pitch, AUDIO_TIMESTRETCH_PITCH_MIN_DELTA) : speed; 84 static inline float adjustPitch(float pitch) argument 86 return kFixPitch ? AUDIO_TIMESTRETCH_PITCH_NORMAL : pitch; 759 // pitch is emulated by adjusting speed and sampleRate 816 // pitch i [all...] |
/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:__anon369 124 Word16 oldlag_count, oldlag; /* variables for pitch detection */
|
/frameworks/av/media/libstagefright/codecs/avc/common/include/ |
H A D | avcapi_common.h | 146 int pitch; member in struct:tagAVCFrameIO
|
H A D | avcint_common.h | 504 int pitch; /* how many pixel between the line */ member in struct:tagPictureData 620 int pred_pitch; /* either equal to 20 or to frame pitch */
|
/frameworks/av/media/libstagefright/codecs/avc/common/src/ |
H A D | deblock.cpp | 64 static void EdgeLoop_Luma_vertical(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 65 static void EdgeLoop_Luma_horizontal(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 66 static void EdgeLoop_Chroma_vertical(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 67 static void EdgeLoop_Chroma_horizontal(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch); 78 int pitch = video->currPic->pitch, pitch_c, width; local 84 pitch_c = pitch >> 1; 98 SrcY += ((pitch << 4) - width); 119 int pitch = currPic->pitch; local 296 int pitch = video->currPic->pitch; local 1087 EdgeLoop_Luma_horizontal(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch) argument 1276 EdgeLoop_Luma_vertical(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch) argument 1493 EdgeLoop_Chroma_vertical(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch) argument 1583 EdgeLoop_Chroma_horizontal(uint8* SrcPtr, uint8 *Strength, int Alpha, int Beta, int *clipTable, int pitch) argument [all...] |
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | block.cpp | 21 void trans(uint8 *cur, int pitch, uint8 *predBlock, int16 *dataBlock) argument 25 int curpitch = (uint)pitch >> 16; 26 int predpitch = (pitch & 0xFFFF); 80 int org_pitch = encvid->currInput->pitch; 81 int pitch = video->currPic->pitch; local 237 *(cur += pitch) = r1; 238 *(cur += pitch) = r2; 239 cur[pitch] = r3; 240 cur -= (pitch << 363 int pitch = video->currPic->pitch; local 727 int pitch = (video->currPic->pitch) >> 1; local [all...] |
H A D | intra_est.cpp | 36 int orgPitch = currInput->pitch; 122 int orgPitch = currInput->pitch; 213 int pitch = currPic->pitch; local 215 int offset = y_pos * pitch + x_pos; 230 top = curL - pitch; 276 left = curL - 1 - pitch; 282 word1 = *(left += pitch); 329 comp_ref_x0 = curL - pitch + 8; 330 comp_ref_x1 = curL - pitch 631 int pitch = currPic->pitch; local 726 int pitch = video->currPic->pitch; local 1370 int pitch = currPic->pitch >> 1; local 2013 int pitch = video->currPic->pitch; local [all...] |
H A D | motion_est.cpp | 187 bool IntraDecisionABE(int *min_cost, uint8 *cur, int pitch, bool ave) argument 197 out = cur - pitch; 206 out -= pitch; 207 cur -= pitch; 210 temp = *(out += pitch) - *(cur += pitch); 247 int pitch = currInput->pitch; local 344 offset = pitch * (j << 4) + (start_i << 4); 359 HTFMPrepareCurMB_AVC(encvid, &htfm_stat, cur, pitch); 485 int pitch, width, height; local 742 HTFMPrepareCurMB_AVC(AVCEncObject *encvid, HTFM_Stat *htfm_stat, uint8 *cur, int pitch) argument 806 AVCPrepareCurMB(AVCEncObject *encvid, uint8 *cur, int pitch) argument [all...] |
/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/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; 1514 video->currVop->pitch = width_16; 1518 video->currVop->pitch = width_16 + 32; 1622 vid_out->pitch = video->currVop->width; /* padded width */ 1627 vid_out->pitch [all...] |
H A D | mp4lib_int.h | 52 Int pitch; /* Pitch (differs from width for UMV case) */ member in struct:tagVOP
|
/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 | 234 * Default pitch. 514 public static final String KEY_PARAM_PITCH = "pitch"; 1365 * Sets the speech pitch for the TextToSpeech engine. 1369 * @param pitch Speech pitch. {@code 1.0} is the normal pitch, 1375 public int setPitch(float pitch) { argument 1376 if (pitch > 0.0f) { 1377 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/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/native/include/android/ |
H A D | sensor.h | 165 float pitch; member in struct:ASensorVector::__anon1268::__anon1270
|
/frameworks/wilhelm/src/itf/ |
H A D | I3DLocation.c | 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.c | 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
|
H A D | IPitch.c | 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;
|