Home
last modified time | relevance | path

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

/frameworks/media/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/media/libvideoeditor/lvpp/
DVideoEditorBGAudioProcessing.cpp61 M4OSA_Int16 *pBTMdata1; in veProcessAudioMixNDuck()
62 M4OSA_Int16 *pPTMdata2; in veProcessAudioMixNDuck()
67 M4OSA_Int16 *pPCM16Sample = M4OSA_NULL; in veProcessAudioMixNDuck()
80 pPTMdata2 = (M4OSA_Int16*)pMixedOutBuffer->m_dataAddress; in veProcessAudioMixNDuck()
82 pBTMdata1 = (M4OSA_Int16*) pBackgroundTrack->m_dataAddress; in veProcessAudioMixNDuck()
93 pPCM16Sample = (M4OSA_Int16*)pPrimaryTrack->m_dataAddress; in veProcessAudioMixNDuck()
95 while (loopIndex < pPrimaryTrack->m_bufferSize/sizeof(M4OSA_Int16)) { in veProcessAudioMixNDuck()
165 *pBTMdata1 = (M4OSA_Int16)(*pBTMdata1*mBTVolLevel); in veProcessAudioMixNDuck()
166 *pPTMdata2 = (M4OSA_Int16)(*pPTMdata2*mPTVolLevel); in veProcessAudioMixNDuck()
172 *pBTMdata1 = (M4OSA_Int16)((*pBTMdata1)*(mDuckingFactor)); in veProcessAudioMixNDuck()
[all …]
DVideoEditorAudioPlayer.cpp422 M4OSA_Int16 *pPTMdata=NULL; in fillBuffer()
495 pPTMdata = (M4OSA_Int16*) ((uint8_t*) mInputBuffer->data() in fillBuffer()
703 M4OSA_Int16 *data, M4OSA_UInt32 size, M4OSA_Float volLevel) { in setPrimaryTrackVolume()
706 *data = (M4OSA_Int16)((*data)*volLevel); in setPrimaryTrackVolume()
DVideoEditorAudioPlayer.h84 void setPrimaryTrackVolume(M4OSA_Int16 *data, M4OSA_UInt32 size, M4OSA_Float volLevel);
/frameworks/media/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()
6466 (M4OSA_Int16)pC->InputFileProperties.uiNbChannels/*ssrcParams.SSRC_NrOfChannels*/, in M4MCS_intPrepareAudioProcessing()
6479 LVAudiosetVolume(pC->pLVAudioResampler, (M4OSA_Int16)(0x1000 /* 0x7fff */), in M4MCS_intPrepareAudioProcessing()
6480 (M4OSA_Int16)(0x1000/*0x7fff*/)); in M4MCS_intPrepareAudioProcessing()
8261 M4OSA_Int16 *tempBuffOut = M4OSA_NULL; in M4MCS_intAudioTranscoding()
8651 (M4OSA_Int16 *)pEncInBuffer.pTableBuffer[0], in M4MCS_intAudioTranscoding()
/frameworks/media/libvideoeditor/vss/src/
DVideoEditorResampler.cpp112 void LVAudiosetVolume(M4OSA_Context resamplerContext, M4OSA_Int16 left, M4OSA_Int16 right) { in LVAudiosetVolume()
145 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.c1356 * sizeof(M4OSA_Int16), in M4VSS3GPP_intClipPrepareAudioDecoder()
1398 * sizeof(M4OSA_Int16), in M4VSS3GPP_intClipDecodeCurrentAudioFrame()
1412 pClipCtxt->AudioDecBufferOut.m_bufferSize * sizeof(M4OSA_Int16)); in M4VSS3GPP_intClipDecodeCurrentAudioFrame()
/frameworks/media/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.cpp848 result = ThumbnailGetPixels16(tnContext, (M4OSA_Int16 *)pixelArray, in videoEditor_renderPreviewFrame()
1081 result = ThumbnailGetPixels16(tnContext, (M4OSA_Int16 *)pixelArray, in videoEditor_renderMediaItemPreviewFrame()
3403 M4OSA_Int16 *ptr16 ; in M4MA_generateAudioGraphFile()
3506 ptr16 = (M4OSA_Int16*)bufferIn.m_dataAddress; in M4MA_generateAudioGraphFile()
/frameworks/media/libvideoeditor/osal/inc/
DM4OSA_Types.h43 typedef signed short M4OSA_Int16; typedef
/frameworks/media/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/media/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()