/frameworks/media/libvideoeditor/lvpp/ |
D | VideoEditorBGAudioProcessing.h | 38 M4OSA_Int32 lvInSampleRate; // Sampling audio freq (8000,16000 or more ) 39 M4OSA_Int32 lvOutSampleRate; //Sampling audio freq (8000,16000 or more ) 42 M4OSA_Int32 lvInDucking_threshold; 47 M4OSA_Int32 lvBTChannelCount; 48 M4OSA_Int32 lvPTChannelCount; 57 M4OSA_Int32 veProcessAudioMixNDuck( 65 M4OSA_Int32 mInSampleRate; 66 M4OSA_Int32 mOutSampleRate; 70 M4OSA_Int32 mBTChannelCount; 71 M4OSA_Int32 mPTChannelCount; [all …]
|
D | VideoEditorBGAudioProcessing.cpp | 49 M4OSA_Int32 VideoEditorBGAudioProcessing::veProcessAudioMixNDuck( in veProcessAudioMixNDuck() 68 M4OSA_Int32 peakDbValue = 0; in veProcessAudioMixNDuck() 69 M4OSA_Int32 previousDbValue = 0; in veProcessAudioMixNDuck() 163 M4OSA_Int32 temp; in veProcessAudioMixNDuck() 215 M4OSA_Int32 VideoEditorBGAudioProcessing::calculateOutResampleBufSize() { in calculateOutResampleBufSize() 265 M4OSA_Int32 VideoEditorBGAudioProcessing::getDecibelSound(M4OSA_UInt32 value) { in getDecibelSound() 304 M4OSA_Int32* averageValue, in isThresholdBreached() 305 M4OSA_Int32 storeCount, in isThresholdBreached() 306 M4OSA_Int32 thresholdValue) { in isThresholdBreached()
|
/frameworks/media/libvideoeditor/vss/mcs/inc/ |
D | M4MCS_InternalTypes.h | 72 M4OSA_Int32 aAudioObjectType; /**< Audio object type of the stream - in fact 74 M4OSA_Int32 aNumChan; /**< number of channels (=1(mono) or =2(stereo)) 76 M4OSA_Int32 aSampFreq; /**< sampling frequency in Hz */ 77 M4OSA_Int32 aExtensionSampFreq; /**< extended sampling frequency in Hz, = 0 is 79 M4OSA_Int32 aSBRPresent; /**< presence=1/absence=0 of SBR */ 80 M4OSA_Int32 aPSPresent; /**< presence=1/absence=0 of PS */ 81 M4OSA_Int32 aMaxPCMSamplesPerCh; /**< max number of PCM samples per channel */ 181 M4OSA_Int32 MaxPicOrderCntLsb; 182 M4OSA_Int32 max_dec_frame_buffering; 185 M4OSA_Int32 offset_for_non_ref_pic; [all …]
|
/frameworks/media/libvideoeditor/vss/inc/ |
D | M4VSS3GPP_InternalTypes.h | 199 M4OSA_Int32 aAudioObjectType; /**< Audio object type of the stream - in fact 201 M4OSA_Int32 aNumChan; /**< number of channels (=1(mono) or =2(stereo)) 203 M4OSA_Int32 aSampFreq; /**< sampling frequency in Hz */ 204 M4OSA_Int32 aExtensionSampFreq; /**< extended sampling frequency in Hz, = 0 is 206 M4OSA_Int32 aSBRPresent; /**< presence=1/absence=0 of SBR */ 207 M4OSA_Int32 aPSPresent; /**< presence=1/absence=0 of PS */ 208 M4OSA_Int32 aMaxPCMSamplesPerCh; /**< max number of PCM samples per channel */ 295 M4OSA_Int32 iVoffset; /**< [Milliseconds] Offset between the 298 M4OSA_Int32 iAoffset; /**< [Timescale] Offset between the clip 322 M4OSA_Int32 iVideoDecCts; /**< [Milliseconds] For video decodeUpTo(), [all …]
|
D | M4EXIFC_CommonAPI.h | 79 M4OSA_Int32 width; /**< image width in pixels */ 80 M4OSA_Int32 height; /**< image height in pixels */ 90 M4OSA_Int32 thumbnailSize; /**< size of the thumbnail */
|
D | M4VSS3GPP_Extended_API.h | 75 M4OSA_Int32 InDucking_threshold; /**< Threshold value at which background 164 M4OSA_Int32 blendingPercent; /**< Blending Percentage between 0 and 100 */ 296 M4OSA_Int32 outputVideoProfile; 297 M4OSA_Int32 outputVideoLevel;
|
D | M4xVSS_Internal.h | 95 M4OSA_Int32 duration; /**< Duration of the frame */ 96 M4OSA_Int32 previousClipTime; /**< Previous clip time, used by framing 98 M4OSA_Int32 previewOffsetClipTime; /**< Previous clip time, used by framing 100 M4OSA_Int32 previewClipTime; /**< Current clip time, used by framing 155 M4OSA_Int32 effectStartTime; /**<Effect start time*/ 226 M4OSA_Int32 previousClipTime; /**< Previous clip time, used by framing filter 363 M4OSA_Int32 blendingthreshold; /**< Blending Range */
|
/frameworks/media/libvideoeditor/vss/common/inc/ |
D | M4VD_EXTERNAL_Interface.h | 33 M4OSA_UInt8* pVol, M4OSA_Int32 aVolSize, 37 M4OSA_ERR getAVCProfileAndLevel(M4OSA_UInt8* pDSI, M4OSA_Int32 DSISize, 38 M4OSA_Int32 *pProfile, M4OSA_Int32 *pLevel); 40 M4OSA_ERR getH263ProfileAndLevel(M4OSA_UInt8* pDSI, M4OSA_Int32 DSISize, 41 M4OSA_Int32 *pProfile, M4OSA_Int32 *pLevel); 44 M4OSA_Int32 *pProfile, M4OSA_Int32 *pLevel);
|
D | M4_BitStreamParser.h | 40 void M4_BitStreamParser_Init(void** pContext, void* pBitStream, M4OSA_Int32 size); 59 M4OSA_UInt32 M4_BitStreamParser_ShowBits(void* pContext, M4OSA_Int32 length); 68 void M4_BitStreamParser_FlushBits(void* pContext, M4OSA_Int32 length); 80 M4OSA_UInt32 M4_BitStreamParser_GetBits(void* pContext,M4OSA_Int32 bitPos, M4OSA_Int32 length); 107 M4OSA_Int32 M4_BitStreamParser_GetSize(void* pContext); 109 void M4_MPEG4BitStreamParser_Init(void** pContext, void* pBitStream, M4OSA_Int32 size); 120 M4OSA_Int32 M4_MPEG4BitStreamParser_GetMpegLengthFromInteger(void* pContext, M4OSA_UInt32 val); 131 M4OSA_Int32 M4_MPEG4BitStreamParser_GetMpegLengthFromStream(void* pContext);
|
D | VideoEditorResampler.h | 25 M4OSA_Context LVAudioResamplerCreate(M4OSA_Int32 bitDepth, M4OSA_Int32 inChannelCount, 26 M4OSA_Int32 sampleRate, M4OSA_Int32 quality); 27 void LVAudiosetSampleRate(M4OSA_Context resamplerContext,M4OSA_Int32 inSampleRate); 30 M4OSA_Int32 outFrameCount, M4OSA_Context resamplerContext);
|
D | M4ENCODER_common.h | 269 M4OSA_Int32 videoProfile; /** video profile */ 270 M4OSA_Int32 videoLevel; /** video level */ 296 M4OSA_Int32 videoProfile; /** output video profile */ 297 M4OSA_Int32 videoLevel; /** output video level */ 388 M4OSA_Int32 inbuf_size, 389 M4OSA_UInt8 *outbuff, M4OSA_Int32 *outbuf_size);
|
D | M4_VideoEditingCommon.h | 285 M4OSA_Int32 uiVideoLevel; /**< video level*/ 286 M4OSA_Int32 uiVideoProfile; /**< video profile */ 326 M4OSA_Int32 videoRotationDegrees; /**< Video rotation degree */
|
/frameworks/media/libvideoeditor/vss/src/ |
D | VideoEditorResampler.cpp | 47 M4OSA_Int32 outSamplingRate; 48 M4OSA_Int32 inSamplingRate; 77 M4OSA_Context LVAudioResamplerCreate(M4OSA_Int32 bitDepth, M4OSA_Int32 inChannelCount, in LVAudioResamplerCreate() 78 M4OSA_Int32 sampleRate, M4OSA_Int32 quality) { in LVAudioResamplerCreate() 97 void LVAudiosetSampleRate(M4OSA_Context resamplerContext, M4OSA_Int32 inSampleRate) { in LVAudiosetSampleRate() 146 M4OSA_Int32 outFrameCount, M4OSA_Context resamplerContext) { in LVAudioresample_LowQuality()
|
D | M4VD_EXTERNAL_BitstreamParser.c | 34 M4OSA_Int32 profile; 35 M4OSA_Int32 level; 98 M4OSA_ERR M4DECODER_EXTERNAL_ParseVideoDSI(M4OSA_UInt8* pVol, M4OSA_Int32 aVolSize, in M4DECODER_EXTERNAL_ParseVideoDSI() 490 M4OSA_ERR getAVCProfileAndLevel(M4OSA_UInt8* pDSI, M4OSA_Int32 DSISize, in getAVCProfileAndLevel() 491 M4OSA_Int32 *pProfile, M4OSA_Int32 *pLevel) { in getAVCProfileAndLevel() 593 M4OSA_ERR getH263ProfileAndLevel(M4OSA_UInt8* pDSI, M4OSA_Int32 DSISize, in getH263ProfileAndLevel() 594 M4OSA_Int32 *pProfile, M4OSA_Int32 *pLevel) { in getH263ProfileAndLevel() 678 M4OSA_Int32 *pProfile, M4OSA_Int32 *pLevel) { in getMPEG4ProfileAndLevel()
|
D | M4VSS3GPP_EditAudio.c | 72 M4OSA_Int32 JumpCts; in M4VSS3GPP_intEditJumpMP3() 136 if( (M4OSA_Int32)(pClip->iAudioFrameCts / pClip->scale_audio + 0.5) in M4VSS3GPP_intEditStepMP3() 353 (M4OSA_Int32)(pC->ewc.WriterAudioAU.CTS / pC->ewc.scale_audio), in M4VSS3GPP_intEditStepAudio() 456 M4OSA_Int32 iTargetCts, iCurrentCts; in M4VSS3GPP_intEditStepAudio() 740 (M4OSA_Int32)(pC->ewc.WriterAudioAU.CTS / pC->ewc.scale_audio), in M4VSS3GPP_intEditStepAudio() 838 M4OSA_Int32 iTargetCts, iCurrentCts; in M4VSS3GPP_intEditStepAudio() 1143 (M4OSA_Int32)(pC->ewc.WriterAudioAU.CTS / pC->ewc.scale_audio), in M4VSS3GPP_intEditStepAudio() 1281 const M4OSA_Int32 TD = pC->pTransitionList[pC-> in M4VSS3GPP_intCheckAudioMode() 1292 if( ( TD > 0) && ((M4OSA_Int32)(pC->ewc.dATo - pC->pC1->iAoffset in M4VSS3GPP_intCheckAudioMode() 1342 - (M4OSA_Int32)(pC->pC2->iVoffset *pC->pC2->scale_audio + 0.5)) in M4VSS3GPP_intCheckAudioMode() [all …]
|
D | M4VSS3GPP_EditVideo.c | 129 M4OSA_Int32 iCts, iNextCts; in M4VSS3GPP_intEditStepVideo() 138 if ( ((M4OSA_Int32)(pC->ewc.dInputVidCts) - pC->pC1->iVoffset in M4VSS3GPP_intEditStepVideo() 142 pC->iInOutTimeOffset = ((M4OSA_Int32)(pC->ewc.dInputVidCts)) in M4VSS3GPP_intEditStepVideo() 205 iCts = (M4OSA_Int32)(pC->ewc.dInputVidCts) - pC->pC1->iVoffset; in M4VSS3GPP_intEditStepVideo() 258 iCts = ((M4OSA_Int32)pC->ewc.dInputVidCts) - pC->pC1->iVoffset - 1; in M4VSS3GPP_intEditStepVideo() 259 iNextCts = iCts + ((M4OSA_Int32)pC->dOutputFrameDuration) + 1; in M4VSS3GPP_intEditStepVideo() 441 … err = M4VSS3GPP_intClipDecodeVideoUpToCts(pC->pC1, (M4OSA_Int32)pC->ewc.dInputVidCts); in M4VSS3GPP_intEditStepVideo() 567 (M4OSA_Int32)pC->ewc.dInputVidCts); in M4VSS3GPP_intEditStepVideo() 607 (M4OSA_Int32)pC->ewc.dInputVidCts); in M4VSS3GPP_intEditStepVideo() 728 const M4OSA_Int32 t = (M4OSA_Int32)pC->ewc.dInputVidCts; in M4VSS3GPP_intCheckVideoMode() [all …]
|
D | M4VSS3GPP_AudioMixing.c | 77 static M4OSA_Bool M4VSS3GPP_isThresholdBreached( M4OSA_Int32 *averageValue, 78 M4OSA_Int32 storeCount, 79 M4OSA_Int32 thresholdValue ); 230 pC->ewc.iOutputDuration = (M4OSA_Int32)pC->pInputClipCtxt->pSettings-> in M4VSS3GPP_audioMixingInit() 235 /* gInputParams.lvOutSampleRate*/(M4OSA_Int32)pSettings->outputASF, 1); in M4VSS3GPP_audioMixingInit() 364 M4OSA_Int32 jumpCTS = (M4OSA_Int32)(pC->uiBeginLoop); in M4VSS3GPP_audioMixingStep() 381 (M4OSA_Int32)(pC->ewc.dATo * pC->ewc.scale_audio + 0.5); in M4VSS3GPP_audioMixingStep() 1376 && (pC->iAddCts > (M4OSA_Int32)pC->pInputClipCtxt->pVideoStream-> in M4VSS3GPP_intAudioMixingOpen() 1929 (M4OSA_Int32)(pC->ewc.dATo), pC->ewc.WriterAudioAU.size); in M4VSS3GPP_intAudioMixingWriteSilence() 2109 (M4OSA_Int32)(pC->ewc.dATo * pC->ewc.scale_audio + 0.5); in M4VSS3GPP_intAudioMixingStepAudioMix() [all …]
|
D | M4VSS3GPP_Clip.c | 179 M4OSA_Int32 iDuration; in M4VSS3GPP_intClipOpen() 713 iDuration = (M4OSA_Int32)( in M4VSS3GPP_intClipOpen() 717 if( ( M4OSA_NULL != pClipCtxt->pAudioStream) && ((M4OSA_Int32)( in M4VSS3GPP_intClipOpen() 721 iDuration = (M4OSA_Int32)( in M4VSS3GPP_intClipOpen() 733 pClipCtxt->iEndTime = (M4OSA_Int32)pClipCtxt->pSettings->uiEndCutTime; in M4VSS3GPP_intClipOpen() 782 M4OSA_Int32 iCts ) in M4VSS3GPP_intClipDecodeVideoUpToCts() 784 M4OSA_Int32 iRapCts, iClipCts; in M4VSS3GPP_intClipDecodeVideoUpToCts() 921 (M4OSA_Int32)(pClipCtxt->AudioAU.m_CTS in M4VSS3GPP_intClipReadNextAudioFrame() 1033 (M4OSA_Int32)(pClipCtxt->AudioAU.m_CTS * pClipCtxt->scale_audio in M4VSS3GPP_intClipReadNextAudioFrame() 1093 (M4OSA_Int32)(pClipCtxt->AudioAU.m_CTS * pClipCtxt->scale_audio in M4VSS3GPP_intClipReadNextAudioFrame() [all …]
|
/frameworks/media/libvideoeditor/osal/src/ |
D | M4PSW_Trace.c | 52 M4OSAL_TRACE_EXPORT_TYPE void M4OSA_Trace(M4OSA_Int32 line, M4OSA_Char* file , in M4OSA_Trace() 53 M4OSA_Int32 level, M4OSA_Char* format, ...) in M4OSA_Trace() 56 M4OSA_Int32 i; in M4OSA_Trace() 81 M4OSA_Int32 i; in M4OSA_TRACE_traceFunction()
|
D | M4PSW_DebugTrace.c | 52 M4OSAL_TRACE_EXPORT_TYPE void M4OSA_DebugTrace(M4OSA_Int32 line, in M4OSA_DebugTrace() 54 M4OSA_Int32 level, in M4OSA_DebugTrace() 59 M4OSA_Int32 i; in M4OSA_DebugTrace()
|
D | M4OSA_FileCommon.c | 70 M4OSA_Int32 i = 0; in M4OSA_fileCommonOpen() 71 M4OSA_Int32 iMode = 0; in M4OSA_fileCommonOpen() 72 M4OSA_Int32 iSize = 0; in M4OSA_fileCommonOpen() 73 M4OSA_Int32 iSavePos = 0; in M4OSA_fileCommonOpen() 477 M4OSA_Int32 i32_err_code=0; in M4OSA_fileCommonClose() 621 M4OSA_Int32 i = 0; in M4OSA_fileCommonGetFilename() 622 M4OSA_Int32 iUrlLen = 0; in M4OSA_fileCommonGetFilename() 623 M4OSA_Int32 FileNameLen = 0; in M4OSA_fileCommonGetFilename()
|
/frameworks/media/libvideoeditor/vss/stagefrightshells/src/ |
D | VideoEditor3gpReader.cpp | 117 M4OSA_Int32 mSize; /**< bitstream size in bytes */ 118 M4OSA_Int32 mIndex; /**< byte index */ 119 M4OSA_Int32 mBitIndex; /**< bit index */ 120 M4OSA_Int32 mStructSize; /**< size of structure */ 132 void* pBitStream, M4OSA_Int32 size) { in VideoEditor3gpReader_BitStreamParserInit() 158 free((M4OSA_Int32*)pContext); in VideoEditor3gpReader_BitStreamParserCleanUp() 170 M4OSA_Int32 length) { in VideoEditor3gpReader_BitStreamParserShowBits() 176 M4OSA_Int32 i_ovf; in VideoEditor3gpReader_BitStreamParserShowBits() 211 M4OSA_Int32 length) { in VideoEditor3gpReader_BitStreamParserFlushBits() 214 M4OSA_Int32 val; in VideoEditor3gpReader_BitStreamParserFlushBits() [all …]
|
/frameworks/media/libvideoeditor/vss/mcs/src/ |
D | M4MCS_VideoPreProcessing.c | 249 (M4MCS_ABS((M4OSA_Int32) in M4MCS_intApplyVPP() 255 (M4MCS_ABS((M4OSA_Int32)(pImagePlanesTemp[1].u_height\ in M4MCS_intApplyVPP() 260 (M4MCS_ABS((M4OSA_Int32)(pImagePlanesTemp[2].u_height\ in M4MCS_intApplyVPP() 275 (M4MCS_ABS((M4OSA_Int32)(pImagePlanesTemp[0].u_width-\ in M4MCS_intApplyVPP() 279 (M4MCS_ABS((M4OSA_Int32)(pImagePlanesTemp[1].u_width-\ in M4MCS_intApplyVPP() 283 (M4MCS_ABS((M4OSA_Int32)(pImagePlanesTemp[2].u_width-\ in M4MCS_intApplyVPP() 329 (M4OSA_Int32)((M4OSA_Int32) in M4MCS_intApplyVPP() 343 (M4OSA_Int32)((M4OSA_Int32) in M4MCS_intApplyVPP()
|
/frameworks/media/libvideoeditor/osal/inc/ |
D | M4OSA_Memory.h | 33 typedef M4OSA_Int32* M4OSA_MemAddr32; 48 M4OSAL_MEMORY_EXPORT_TYPE extern M4OSA_ERR M4OSA_rand(M4OSA_Int32* out_value,
|
/frameworks/base/media/jni/mediaeditor/ |
D | VideoEditorThumbnailMain.cpp | 58 M4OSA_Int32* m_dst32; 75 M4OSA_Int32* pixelArray, 115 M4OSA_Int32* dst = pC->m_dst32; in VBcallback() 220 M4OSA_Int32* pixelArray, in ThumbnailGetPixels() 266 M4OSA_Int32* pixelArray, M4OSA_UInt32 width, in ThumbnailGetPixels32() 303 err = ThumbnailGetPixels(pContext, (M4OSA_Int32*)pixelArray, width, height, in ThumbnailGetPixels16()
|