Home
last modified time | relevance | path

Searched refs:M4OSA_Int16 (Results 1 – 22 of 22) sorted by relevance

/frameworks/av/libvideoeditor/vss/common/inc/
DVideoEditorResampler.h28 void LVAudiosetVolume(M4OSA_Context resamplerContext, M4OSA_Int16 left, M4OSA_Int16 right) ;
29 void LVAudioresample_LowQuality(M4OSA_Int16* out, M4OSA_Int16* input,
33 void MonoTo2I_16( const M4OSA_Int16 *src,
34 M4OSA_Int16 *dst,
35 M4OSA_Int16 n);
37 void From2iToMono_16( const M4OSA_Int16 *src,
38 M4OSA_Int16 *dst,
39 M4OSA_Int16 n);
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorBGAudioProcessing.cpp70 M4OSA_Int16 *pPTMdata2 = (M4OSA_Int16*)pMixedOutBuffer->m_dataAddress; in mixAndDuck()
73 M4OSA_Int16 *pBTMdata1 = (M4OSA_Int16*) pBackgroundTrack->m_dataAddress; in mixAndDuck()
81 M4OSA_Int16 *pPCM16Sample = (M4OSA_Int16*)pPrimaryTrack->m_dataAddress; in mixAndDuck()
82 const size_t n = pPrimaryTrack->m_bufferSize / sizeof(M4OSA_Int16); in mixAndDuck()
147 *pBTMdata1 = (M4OSA_Int16)(*pBTMdata1*mBTVolLevel); in mixAndDuck()
148 *pPTMdata2 = (M4OSA_Int16)(*pPTMdata2*mPTVolLevel); in mixAndDuck()
154 *pBTMdata1 = (M4OSA_Int16)((*pBTMdata1)*(mDuckingFactor)); in mixAndDuck()
157 *pBTMdata1 = (M4OSA_Int16)(*pBTMdata1 /2 + *pPTMdata2 /2); in mixAndDuck()
160 *pBTMdata1 = (M4OSA_Int16)((*pBTMdata1)*(mDuckingFactor)); in mixAndDuck()
161 *pBTMdata1 = (M4OSA_Int16)(*pBTMdata1 /2 + *pPTMdata2 /2); in mixAndDuck()
[all …]
DVideoEditorAudioPlayer.cpp608 M4OSA_Int16 *pPTMdata=NULL; in fillBuffer()
681 pPTMdata = (M4OSA_Int16*) ((uint8_t*) mInputBuffer->data() in fillBuffer()
889 M4OSA_Int16 *data, M4OSA_UInt32 size, M4OSA_Float volLevel) { in setPrimaryTrackVolume()
892 *data = (M4OSA_Int16)((*data)*volLevel); in setPrimaryTrackVolume()
DVideoEditorAudioPlayer.h134 M4OSA_Int16 *data, M4OSA_UInt32 size, M4OSA_Float volLevel);
/frameworks/av/libvideoeditor/vss/mcs/src/
DM4MCS_AudioEffects.c102 M4OSA_Int16 *pPCMdata, in M4MCS_editAudioEffectFct_FadeIn()
127 *pPCMdata++ = (M4OSA_Int16)i32sample; in M4MCS_editAudioEffectFct_FadeIn()
149 M4OSA_Int16 *pPCMdata, in M4MCS_editAudioEffectFct_FadeOut()
175 *pPCMdata++ = (M4OSA_Int16)i32sample; in M4MCS_editAudioEffectFct_FadeOut()
DM4MCS_API.c1270 (M4OSA_Int16)H264MCS_DecVLCReadSignedExpGolombCode(p_bs); in DecPPSMCS()
1274 (M4OSA_Int16)H264MCS_DecVLCReadSignedExpGolombCode(p_bs); in DecPPSMCS()
1278 (M4OSA_Int16)H264MCS_DecVLCReadSignedExpGolombCode(p_bs); in DecPPSMCS()
6463 (M4OSA_Int16)pC->InputFileProperties.uiNbChannels/*ssrcParams.SSRC_NrOfChannels*/, in M4MCS_intPrepareAudioProcessing()
6476 LVAudiosetVolume(pC->pLVAudioResampler, (M4OSA_Int16)(0x1000 /* 0x7fff */), in M4MCS_intPrepareAudioProcessing()
6477 (M4OSA_Int16)(0x1000/*0x7fff*/)); in M4MCS_intPrepareAudioProcessing()
8258 M4OSA_Int16 *tempBuffOut = M4OSA_NULL; in M4MCS_intAudioTranscoding()
8648 (M4OSA_Int16 *)pEncInBuffer.pTableBuffer[0], in M4MCS_intAudioTranscoding()
/frameworks/av/libvideoeditor/vss/src/
DVideoEditorResampler.cpp113 void LVAudiosetVolume(M4OSA_Context resamplerContext, M4OSA_Int16 left, M4OSA_Int16 right) { in LVAudiosetVolume()
146 void LVAudioresample_LowQuality(M4OSA_Int16* out, M4OSA_Int16* input, in LVAudioresample_LowQuality()
DM4VSS3GPP_EditAudio.c53 M4OSA_Int16 *pPCMdata,
56 *pC, M4OSA_Int16 *pPCMdata1,
57 M4OSA_Int16 *pPCMdata2,
622 err = M4VSS3GPP_intApplyAudioEffect(pC, 1, (M4OSA_Int16 in M4VSS3GPP_intEditStepAudio()
1036 err = M4VSS3GPP_intApplyAudioEffect(pC, 1, (M4OSA_Int16 in M4VSS3GPP_intEditStepAudio()
1054 err = M4VSS3GPP_intApplyAudioEffect(pC, 2, (M4OSA_Int16 in M4VSS3GPP_intEditStepAudio()
1071 (M4OSA_Int16 *)pC->pC1->AudioDecBufferOut.m_dataAddress, in M4VSS3GPP_intEditStepAudio()
1072 (M4OSA_Int16 *)pC->pC2->AudioDecBufferOut.m_dataAddress, in M4VSS3GPP_intEditStepAudio()
1537 M4OSA_Int16 *pPCMdata, in M4VSS3GPP_intApplyAudioEffect()
1631 *pPCMdata++ = (M4OSA_Int16)i32sample; in M4VSS3GPP_intApplyAudioEffect()
[all …]
DM4AD_Null.c161 M4OSA_Int16 val; in M4AD_NULL_step()
165 val = (M4OSA_Int16)((M4OSA_UInt8)(pInputBuffer->m_dataAddress[i]) - 128); in M4AD_NULL_step()
DM4VSS3GPP_AudioMixing.c245 (M4OSA_Int16)(0x1000 ), in M4VSS3GPP_audioMixingInit()
246 (M4OSA_Int16)(0x1000 )); in M4VSS3GPP_audioMixingInit()
3329 M4OSA_Int16 *pPCMdata1; in M4VSS3GPP_intAudioMixingDoMixing()
3330 M4OSA_Int16 *pPCMdata2; in M4VSS3GPP_intAudioMixingDoMixing()
3340 M4OSA_Int16 *pPCM16Sample = M4OSA_NULL; in M4VSS3GPP_intAudioMixingDoMixing()
3392 pPCMdata2 = (M4OSA_Int16 *)pC->pSsrcBufferOut; in M4VSS3GPP_intAudioMixingDoMixing()
3419 pPCMdata2 = (M4OSA_Int16 *)pC->pAddedClipCtxt->AudioDecBufferOut.m_dataAddress; in M4VSS3GPP_intAudioMixingDoMixing()
3425 (M4OSA_Int16 *)pC->pInputClipCtxt->AudioDecBufferOut.m_dataAddress; in M4VSS3GPP_intAudioMixingDoMixing()
3435 pPCM16Sample = (M4OSA_Int16 *)pC->pInputClipCtxt-> in M4VSS3GPP_intAudioMixingDoMixing()
3441 / sizeof(M4OSA_Int16) ) in M4VSS3GPP_intAudioMixingDoMixing()
[all …]
DM4VSS3GPP_Clip.c1368 * sizeof(M4OSA_Int16), in M4VSS3GPP_intClipPrepareAudioDecoder()
1410 * sizeof(M4OSA_Int16), in M4VSS3GPP_intClipDecodeCurrentAudioFrame()
1424 pClipCtxt->AudioDecBufferOut.m_bufferSize * sizeof(M4OSA_Int16)); in M4VSS3GPP_intClipDecodeCurrentAudioFrame()
/frameworks/av/libvideoeditor/vss/mcs/inc/
DM4MCS_InternalFunctions.h319 M4OSA_Int16 *pPCMdata,
335 M4OSA_Int16 *pPCMdata,
DM4MCS_InternalTypes.h234 M4OSA_Int16 pic_init_qp_minus26;
235 M4OSA_Int16 pic_init_qs_minus26;
236 M4OSA_Int16 chroma_qp_index_offset;
DM4MCS_API.h138 M4OSA_Int16 *pPCMdata,
/frameworks/base/media/jni/mediaeditor/
DVideoEditorThumbnailMain.h66 M4OSA_Int16* pixelArray, M4OSA_UInt32 width,
DVideoEditorThumbnailMain.cpp59 M4OSA_Int16* m_dst16;
133 M4OSA_Int16* dst = pC->m_dst16; in VBcallback()
289 M4OSA_Int16* pixelArray, M4OSA_UInt32 width, in ThumbnailGetPixels16()
DVideoBrowserInternal.h89 M4OSA_Int16* g_bmPixels2;
DVideoEditorMain.cpp831 result = ThumbnailGetPixels16(tnContext, (M4OSA_Int16 *)pixelArray, in videoEditor_renderPreviewFrame()
1052 result = ThumbnailGetPixels16(tnContext, (M4OSA_Int16 *)pixelArray, in videoEditor_renderMediaItemPreviewFrame()
3368 M4OSA_Int16 *ptr16 ; in M4MA_generateAudioGraphFile()
3471 ptr16 = (M4OSA_Int16*)bufferIn.m_dataAddress; in M4MA_generateAudioGraphFile()
/frameworks/av/libvideoeditor/osal/inc/
DM4OSA_Types.h43 typedef signed short M4OSA_Int16; typedef
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
DVideoEditorAudioDecoder.cpp685 M4OSA_Int16* pDataIn = ((M4OSA_Int16*)buffer->data()) + in VideoEditorAudioDecoder_processOutputBuffer()
687 M4OSA_Int16* pDataOut = (M4OSA_Int16*)pOuputBuffer->m_dataAddress; in VideoEditorAudioDecoder_processOutputBuffer()
688 M4OSA_Int16* pDataEnd = pDataIn + \ in VideoEditorAudioDecoder_processOutputBuffer()
689 (buffer->range_length()/sizeof(M4OSA_Int16)); in VideoEditorAudioDecoder_processOutputBuffer()
/frameworks/av/libvideoeditor/osal/src/
DM4OSA_FileWriter.c110 … err = ((M4OSA_UInt32)(M4_ERR)<<30)+(((M4OSA_FILE_WRITER)&0x003FFF)<<16)+(M4OSA_Int16)(WriteSize); in M4OSA_fileWriteData()
257 … err=((M4OSA_UInt32)(M4_ERR)<<30)+(((M4OSA_FILE_WRITER)&0x003FFF)<<16)+(M4OSA_Int16)(err); in M4OSA_fileWriteSeek()
DM4OSA_FileReader.c266 … err=((M4OSA_UInt32)(M4_ERR)<<30)+(((M4OSA_FILE_WRITER)&0x003FFF)<<16)+(M4OSA_Int16)(err); in M4OSA_fileReadSeek()