/frameworks/av/camera/ndk/impl/ |
H A D | ACameraManager.cpp | 373 char* dst = new char[dstSize]; local 374 if (!dst) { 379 strlcpy(dst, src, dstSize); 380 out->cameraIds[i] = dst;
|
/frameworks/av/cmds/stagefright/ |
H A D | jpeg.cpp | 75 uint8_t *dst = row_data; local 77 dst[0] = from565to8(*src, 11, 5); 78 dst[1] = from565to8(*src, 5, 6); 79 dst[2] = from565to8(*src, 0, 5); 80 dst += 3;
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
H A D | ClearKeyCasPlugin.cpp | 365 uint8_t *dst = (uint8_t*)dstPtr; local 370 if (src != dst) { 371 memcpy(dst, src, numBytesinSubSample); 382 (char *)dst); 385 dst += numBytesinSubSample; 388 return dst - (uint8_t *)dstPtr;
|
/frameworks/av/include/media/ |
H A D | convert.h | 195 static inline bool run(Src &src, Dst &dst) argument 198 dst.clear(); 199 dst.reserve(src.size()); 205 dst.push_back(dstElem);
|
/frameworks/av/media/libaudioprocessing/ |
H A D | AudioResamplerDyn.cpp | 104 TI* dst = state; local 107 dst += mState-srcLo; 113 memcpy(dst, srcLo, (srcHi - srcLo) * sizeof(*srcLo));
|
H A D | BufferProviders.cpp | 276 void DownmixerBufferProvider::copyFrames(void *dst, const void *src, size_t frames) argument 282 mOutBuffer->setExternalData(dst); 283 if (dst != src) { 285 // with the dst data. 288 // may be in-place if src == dst. 353 void RemixBufferProvider::copyFrames(void *dst, const void *src, size_t frames) argument 355 memcpy_by_index_array(dst, mOutputChannels, 374 void ReformatBufferProvider::copyFrames(void *dst, const void *src, size_t frames) argument 376 memcpy_by_audio_format(dst, mOutputFormat, src, mInputFormat, frames * mChannelCount); 539 if (*srcFrames < targetSrc) { // limit dst frame [all...] |
H A D | RecordBufferConverter.cpp | 77 size_t RecordBufferConverter::convert(void *dst, argument 98 convertNoResampler(dst, buffer.raw, buffer.frameCount); 100 dst = (int8_t*)dst + buffer.frameCount * mDstFrameSize; 118 convertResampler(dst, mBuf, frames); 220 void *dst, const void *src, size_t frames) 230 void *dstBuf = mBuf != NULL ? mBuf : dst; 239 memcpy_by_audio_format(dst, mDstFormat, mBuf, AUDIO_FORMAT_PCM_FLOAT, 246 void *dstBuf = mBuf != NULL ? mBuf : dst; 249 if (dstBuf == dst) { 219 convertNoResampler( void *dst, const void *src, size_t frames) argument 259 convertResampler( void *dst, void *src, size_t frames) argument [all...] |
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
H A D | Add2_Sat_16x16.c | 29 LVM_INT16 *dst, 36 Temp = ((LVM_INT32) *src) + ((LVM_INT32) *dst); 41 *dst = 0x7FFF; 45 *dst = - 0x8000; 49 *dst = (LVM_INT16)Temp; 51 dst++; 28 Add2_Sat_16x16( const LVM_INT16 *src, LVM_INT16 *dst, LVM_INT16 n ) argument
|
H A D | Add2_Sat_32x32.c | 30 LVM_INT32 *dst, 40 b=*dst; 54 *dst = c; 55 dst++; 29 Add2_Sat_32x32( const LVM_INT32 *src, LVM_INT32 *dst, LVM_INT16 n ) argument
|
H A D | Copy_16.c | 29 LVM_INT16 *dst, 34 if (src > dst) 38 *dst = *src; 39 dst++; 46 dst += n - 1; 49 *dst = *src; 50 dst--; 28 Copy_16( const LVM_INT16 *src, LVM_INT16 *dst, LVM_INT16 n ) argument
|
H A D | Core_MixHard_2St_D32C31_SAT.c | 32 LVM_INT32 *dst, 55 *dst++ = Temp2; 29 Core_MixHard_2St_D32C31_SAT( Mix_2St_Cll_t *pInstance, const LVM_INT32 *src1, const LVM_INT32 *src2, LVM_INT32 *dst, LVM_INT16 n) argument
|
H A D | Core_MixInSoft_D32C31_SAT.c | 31 LVM_INT32 *dst, 57 Temp2=*dst; 67 *dst++ = Temp1; 78 Temp2=*dst; 88 *dst++ = Temp1; 29 Core_MixInSoft_D32C31_SAT( Mix_1St_Cll_t *pInstance, const LVM_INT32 *src, LVM_INT32 *dst, LVM_INT16 n) argument
|
H A D | Core_MixSoft_1St_D32C31_WRA.c | 31 LVM_INT32 *dst, 63 *dst = Temp2; 64 dst++; 77 *dst = Temp2; 78 dst++; 84 *dst = Temp2; 85 dst++; 91 *dst = Temp2; 92 dst++; 97 *dst 29 Core_MixSoft_1St_D32C31_WRA( Mix_1St_Cll_t *pInstance, const LVM_INT32 *src, LVM_INT32 *dst, LVM_INT16 n) argument [all...] |
H A D | DelayAllPass_Sat_32x16To32.c | 35 LVM_INT32 *dst, /* Source/destination */ 63 *dst = c; 64 dst++; 30 DelayAllPass_Sat_32x16To32( LVM_INT32 *delay, LVM_UINT16 size, LVM_INT16 coeff, LVM_UINT16 DelayOffset, LVM_UINT16 *pAllPassOffset, LVM_INT32 *dst, LVM_INT16 n) argument
|
H A D | DelayMix_16x16.c | 31 LVM_INT16 *dst, /* Source/destination */ 42 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) + (LVM_INT32)delay[Offset]) >> 1); 43 *dst = temp; 44 dst++; 52 temp = (LVM_INT16)((LVM_UINT32)((LVM_INT32)(*dst) - (LVM_INT32)delay[Offset]) >> 1); 53 *dst = temp; 54 dst++; 28 DelayMix_16x16(const LVM_INT16 *src, LVM_INT16 *delay, LVM_INT16 size, LVM_INT16 *dst, LVM_INT16 *pOffset, LVM_INT16 n) argument
|
H A D | From2iToMono_16.c | 29 LVM_INT16 *dst, 42 *dst = (LVM_INT16)(Temp >>1); 43 dst++; 28 From2iToMono_16( const LVM_INT16 *src, LVM_INT16 *dst, LVM_INT16 n) argument
|
H A D | From2iToMono_32.c | 29 LVM_INT32 *dst, 43 *dst = Temp; 44 dst++; 28 From2iToMono_32( const LVM_INT32 *src, LVM_INT32 *dst, LVM_INT16 n) argument
|
H A D | Int16LShiftToInt32_16x32.c | 29 LVM_INT32 *dst, 36 dst += n-1; 40 *dst = ( ((LVM_INT32)*src) << shift); 42 dst--; 28 Int16LShiftToInt32_16x32(const LVM_INT16 *src, LVM_INT32 *dst, LVM_INT16 n, LVM_INT16 shift ) argument
|
H A D | Int32RShiftToInt16_Sat_32x16.c | 29 LVM_INT16 *dst, 43 *dst = 0x7FFF; 47 *dst = - 0x8000; 51 *dst = (LVM_INT16)temp; 54 dst++; 28 Int32RShiftToInt16_Sat_32x16(const LVM_INT32 *src, LVM_INT16 *dst, LVM_INT16 n, LVM_INT16 shift ) argument
|
H A D | JoinTo2i_32x32.c | 30 LVM_INT32 *dst, 37 dst += ((2*n)-1); 41 *dst = *srcR; 42 dst--; 45 *dst = *srcL; 46 dst--; 28 JoinTo2i_32x32( const LVM_INT32 *srcL, const LVM_INT32 *srcR, LVM_INT32 *dst, LVM_INT16 n ) argument
|
H A D | LVC_Core_MixHard_1St_2i_D16C31_SAT.c | 34 LVM_INT16 *dst, 52 *dst++ = 0x7FFF; 54 *dst++ = - 0x8000; 56 *dst++ = (LVM_INT16)Temp; 60 *dst++ = 0x7FFF; 62 *dst++ = - 0x8000; 64 *dst++ = (LVM_INT16)Temp; 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_MixHard_2St_D16C31_SAT.c | 32 LVM_INT16 *dst, 50 *dst++ = 0x7FFF; 52 *dst++ = - 0x8000; 54 *dst++ = (LVM_INT16)Temp; 28 LVC_Core_MixHard_2St_D16C31_SAT( LVMixer3_st *ptrInstance1, LVMixer3_st *ptrInstance2, const LVM_INT16 *src1, const LVM_INT16 *src2, LVM_INT16 *dst, LVM_INT16 n) argument
|
H A D | LVC_Core_MixInSoft_D16C31_SAT.c | 31 LVM_INT16 *dst, 58 Temp = ((LVM_INT32)*dst) + (((LVM_INT32)*(src++) * CurrentShort)>>15); /* Q15 + Q15*Q15>>15 into Q15 */ 60 *dst++ = 0x7FFF; 62 *dst++ = - 0x8000; 64 *dst++ = (LVM_INT16)Temp; 77 Temp = ((LVM_INT32)*dst) + (((LVM_INT32)*(src++) * CurrentShort)>>15); /* Q15 + Q15*Q15>>15 into Q15 */ 79 *dst++ = 0x7FFF; 81 *dst++ = - 0x8000; 83 *dst++ = (LVM_INT16)Temp; 96 Temp = ((LVM_INT32)*dst) 29 LVC_Core_MixInSoft_D16C31_SAT( LVMixer3_st *ptrInstance, const LVM_INT16 *src, LVM_INT16 *dst, LVM_INT16 n) argument [all...] |
H A D | LVC_Core_MixSoft_1St_2i_D16C31_WRA.c | 33 LVM_INT16 *dst, 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 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 | 32 LVM_INT16 *dst, 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 30 LVC_Core_MixSoft_1St_D16C31_WRA( LVMixer3_st *ptrInstance, const LVM_INT16 *src, LVM_INT16 *dst, LVM_INT16 n) argument [all...] |