/frameworks/base/media/libeffects/lvm/lib/Common/src/ |
H A D | Int32RShiftToInt16_Sat_32x16.c | 28 void Int32RShiftToInt16_Sat_32x16(const LVM_INT32 *src, argument 38 temp = *src >> shift; 39 src++;
|
H A D | LVC_Core_MixHard_1St_2i_D16C31_SAT.c | 33 const LVM_INT16 *src, 50 Temp = ((LVM_INT32)*(src++) * (LVM_INT32)Current1Short)>>15; 58 Temp = ((LVM_INT32)*(src++) * (LVM_INT32)Current2Short)>>15; 31 LVC_Core_MixHard_1St_2i_D16C31_SAT( LVMixer3_st *ptrInstance1, LVMixer3_st *ptrInstance2, const LVM_INT16 *src, LVM_INT16 *dst, LVM_INT16 n) argument
|
H A D | LVC_Core_MixInSoft_D16C31_SAT.c | 30 const LVM_INT16 *src, 58 Temp = ((LVM_INT32)*dst) + (((LVM_INT32)*(src++) * CurrentShort)>>15); /* Q15 + Q15*Q15>>15 into Q15 */ 77 Temp = ((LVM_INT32)*dst) + (((LVM_INT32)*(src++) * CurrentShort)>>15); /* Q15 + Q15*Q15>>15 into Q15 */ 96 Temp = ((LVM_INT32)*dst) + (((LVM_INT32)*(src++) * CurrentShort)>>15); /* Q15 + Q15*Q15>>15 into Q15 */ 114 Temp = ((LVM_INT32)*dst) + (((LVM_INT32)*(src++) * CurrentShort)>>15); /* Q15 + Q15*Q15>>15 into Q15 */ 29 LVC_Core_MixInSoft_D16C31_SAT( LVMixer3_st *ptrInstance, const LVM_INT16 *src, LVM_INT16 *dst, LVM_INT16 n) argument
|
H A D | LVC_Core_MixSoft_1St_2i_D16C31_WRA.c | 32 const LVM_INT16 *src, 92 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShortL)>>15); /* Q15*Q15>>15 into Q15 */ 93 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShortR)>>15); /* Q15*Q15>>15 into Q15 */ 130 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShortL)>>15); /* Q15*Q15>>15 into Q15 */ 131 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShortR)>>15); /* Q15*Q15>>15 into Q15 */ 132 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShortL)>>15); 133 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShortR)>>15); 134 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShortL)>>15); 135 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShortR)>>15); 136 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src 30 LVC_Core_MixSoft_1St_2i_D16C31_WRA( LVMixer3_st *ptrInstance1, LVMixer3_st *ptrInstance2, const LVM_INT16 *src, LVM_INT16 *dst, LVM_INT16 n) argument [all...] |
H A D | LVC_Core_MixSoft_1St_D16C31_WRA.c | 31 const LVM_INT16 *src, 58 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); /* Q15*Q15>>15 into Q15 */ 70 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); /* Q15*Q15>>15 into Q15 */ 71 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); 72 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); 73 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); 85 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); /* Q15*Q15>>15 into Q15 */ 96 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); /* Q15*Q15>>15 into Q15 */ 97 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src++) * (LVM_INT32)CurrentShort)>>15); 98 *(dst++) = (LVM_INT16)(((LVM_INT32)*(src 30 LVC_Core_MixSoft_1St_D16C31_WRA( LVMixer3_st *ptrInstance, const LVM_INT16 *src, LVM_INT16 *dst, LVM_INT16 n) argument [all...] |
H A D | LVC_MixInSoft_D16C31_SAT.c | 38 LVM_INT16 *src, 65 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,src,n); 66 LVC_Core_MixInSoft_D16C31_SAT( &(ptrInstance->MixerStream[0]), src, dst, n); 69 LVC_Core_MixInSoft_D16C31_SAT( &(ptrInstance->MixerStream[0]), src, dst, n); 81 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,src,n); 82 Add2_Sat_16x16( src, dst, n ); 86 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,src, 37 LVC_MixInSoft_D16C31_SAT( LVMixer3_1St_st *ptrInstance, LVM_INT16 *src, LVM_INT16 *dst, LVM_INT16 n) argument [all...] |
H A D | LVC_MixSoft_1St_2i_D16C31_SAT.c | 38 const LVM_INT16 *src, 95 LVC_Core_MixSoft_1St_2i_D16C31_WRA( &(ptrInstance->MixerStream[0]),&(ptrInstance->MixerStream[1]), src, dst, n); 107 if(src!=dst) 109 Copy_16(src, dst, n); 114 LVC_Core_MixHard_1St_2i_D16C31_SAT(&(ptrInstance->MixerStream[0]),&(ptrInstance->MixerStream[1]), src, dst, n); 37 LVC_MixSoft_1St_2i_D16C31_SAT( LVMixer3_2St_st *ptrInstance, const LVM_INT16 *src, LVM_INT16 *dst, LVM_INT16 n) argument
|
H A D | LVC_MixSoft_1St_D16C31_SAT.c | 38 const LVM_INT16 *src, 65 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,dst,n); 69 LVC_Core_MixSoft_1St_D16C31_WRA( &(ptrInstance->MixerStream[0]), src, dst, n); 81 Shift_Sat_v16xv16 ((LVM_INT16)pInstance->Shift,src,dst,n); 87 Mult3s_16x16( src, (LVM_INT16)(pInstance->Target>>16), dst, n ); 88 else if(src!=dst) 89 Copy_16(src, dst, n); 37 LVC_MixSoft_1St_D16C31_SAT( LVMixer3_1St_st *ptrInstance, const LVM_INT16 *src, LVM_INT16 *dst, LVM_INT16 n) argument
|
H A D | Mac3s_Sat_16x16.c | 38 void Mac3s_Sat_16x16( const LVM_INT16 *src, argument 50 srcval=*src; 51 src++;
|
H A D | Mac3s_Sat_32x16.c | 29 void Mac3s_Sat_32x16( const LVM_INT32 *src, argument 40 srcval=*src; 41 src++;
|
H A D | MixInSoft_D32C31_SAT.c | 37 const LVM_INT32 *src, 58 Core_MixInSoft_D32C31_SAT( pInstance, src, dst, n); 69 Add2_Sat_32x32( src, dst, n ); 71 Core_MixInSoft_D32C31_SAT( pInstance, src, dst, n); 36 MixInSoft_D32C31_SAT( Mix_1St_Cll_t *pInstance, const LVM_INT32 *src, LVM_INT32 *dst, LVM_INT16 n) argument
|
H A D | MixSoft_1St_D32C31_WRA.c | 39 const LVM_INT32 *src, 60 Core_MixSoft_1St_D32C31_WRA( pInstance, src, dst, n); 72 if (src != dst) 73 Copy_16((LVM_INT16*)src, (LVM_INT16*)dst, (LVM_INT16)(n * 2)); 76 Mult3s_32x16( src, (LVM_INT16)(pInstance->Current>>16), dst, n ); 38 MixSoft_1St_D32C31_WRA( Mix_1St_Cll_t *pInstance, const LVM_INT32 *src, LVM_INT32 *dst, LVM_INT16 n) argument
|
H A D | MonoTo2I_16.c | 28 void MonoTo2I_16( const LVM_INT16 *src, argument 33 src += (n-1); 38 *dst = *src; 41 *dst = *src; 43 src--;
|
H A D | MonoTo2I_32.c | 28 void MonoTo2I_32( const LVM_INT32 *src, argument 33 src += (n-1); 38 *dst = *src; 41 *dst = *src; 43 src--;
|
H A D | Mult3s_32x16.c | 29 void Mult3s_32x16( const LVM_INT32 *src, argument 39 srcval=*src; 40 src++;
|
H A D | Shift_Sat_v16xv16.c | 29 const LVM_INT16 *src, 40 temp = (LVM_INT32)*src; 41 src++; 66 *dst = (LVM_INT16)(*src >> RShift); 68 src++; 73 if(src!=dst) 75 Copy_16(src,dst,n); 28 Shift_Sat_v16xv16(const LVM_INT16 val, const LVM_INT16 *src, LVM_INT16 *dst, LVM_INT16 n) argument
|
H A D | Shift_Sat_v32xv32.c | 29 const LVM_INT32 *src, 42 a=*src; 43 src++; 68 *dst = (*src >> RShift); 70 src++; 75 if(src!=dst) 77 Copy_16((LVM_INT16 *)src,(LVM_INT16 *)dst,(LVM_INT16)(n<<1)); 28 Shift_Sat_v32xv32(const LVM_INT16 val, const LVM_INT32 *src, LVM_INT32 *dst, LVM_INT16 n) argument
|
H A D | mult3s_16x16.c | 28 void Mult3s_16x16( const LVM_INT16 *src, argument 38 temp = (LVM_INT32)(*src) * (LVM_INT32)val; 39 src++;
|
/frameworks/base/media/libeffects/lvm/wrapper/Reverb/ |
H A D | EffectReverb.cpp | 357 void MonoTo2I_32( const LVM_INT32 *src, argument 362 src += (n-1); 367 *dst = *src; 370 *dst = *src; 372 src--; 386 void From2iToMono_32( const LVM_INT32 *src, argument 395 Temp = (*src>>1); 396 src++; 398 Temp +=(*src>>1); 399 src [all...] |
/frameworks/base/media/libmedia/ |
H A D | AudioTrack.cpp | 979 const int8_t *src = (const int8_t *)buffer; local 1005 *dst++ = (int16_t)(*src++^0x80) << 8; 1009 memcpy(audioBuffer.i8, src, toWrite); 1010 src += toWrite; 1127 const int8_t *src = audioBuffer.i8 + writtenSize-1; local 1131 *dst-- = (int16_t)(*src--^0x80) << 8;
|
H A D | MediaScannerClient.cpp | 159 uint8_t* src = (uint8_t *)mValues->getEntry(i); local 160 int len = strlen((char *)src); 161 uint8_t* dest = src; 164 while ((uch = *src++)) { 166 *dest++ = ((uch << 6) & 0xC0) | (*src++ & 0x3F);
|
/frameworks/base/media/libstagefright/ |
H A D | DRMExtractor.cpp | 140 char *src = (char *)(*buffer)->data() + (*buffer)->range_offset(); local 142 DrmBuffer encryptedDrmBuffer(src, len); 164 uint8_t *dstData = (uint8_t*)src; 222 memcpy(src, decryptedDrmBuffer.data, decryptedDrmBuffer.length);
|
H A D | FLACExtractor.cpp | 125 void (*mCopy)(short *dst, const int *const *src, unsigned nSamples); 383 static void copyMono8(short *dst, const int *const *src, unsigned nSamples) argument 386 *dst++ = src[0][i] << 8; 390 static void copyStereo8(short *dst, const int *const *src, unsigned nSamples) argument 393 *dst++ = src[0][i] << 8; 394 *dst++ = src[1][i] << 8; 398 static void copyMono16(short *dst, const int *const *src, unsigned nSamples) argument 401 *dst++ = src[0][i]; 405 static void copyStereo16(short *dst, const int *const *src, unsigned nSamples) argument 408 *dst++ = src[ 415 copyMono24(short *dst, const int *const *src, unsigned nSamples) argument 422 copyStereo24(short *dst, const int *const *src, unsigned nSamples) argument 430 copyTrespass(short *dst, const int *const *src, unsigned nSamples) argument [all...] |
H A D | MPEG4Extractor.cpp | 2120 const uint8_t *src = local 2123 size_t nal_size = parseNALSize(src);
|
H A D | WAVExtractor.cpp | 372 const uint8_t *src = (const uint8_t *)buffer->data(); local 376 *dst++ = ((int16_t)(*src) - 128) * 256; 377 ++src; 385 const uint8_t *src = local 387 int16_t *dst = (int16_t *)src; 391 int32_t x = (int32_t)(src[0] | src[1] << 8 | src[2] << 16); 396 src += 3;
|