Searched refs:streamDesc (Results 1 - 4 of 4) sorted by relevance

/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorMp3Reader.cpp434 M4SYS_StreamDescription streamDesc; local
485 streamDesc.duration = meta->findInt64(kKeyDuration, &Duration);
486 streamDesc.duration = (M4OSA_Time)Duration/1000;
488 meta->findInt32(kKeyBitRate, (int32_t*)&streamDesc.averageBitrate);
489 meta->findInt32(kKeySampleRate, (int32_t*)&streamDesc.timeScale);
491 streamDesc.averageBitrate,streamDesc.timeScale,Duration/1000);
493 streamDesc.streamType = M4SYS_kMP3;
494 streamDesc.profileLevel = 0xFF ;
495 streamDesc
[all...]
H A DVideoEditor3gpReader.cpp1407 M4SYS_StreamDescription streamDesc; local
/frameworks/av/libvideoeditor/vss/src/
H A DM4READER_Pcm.c308 M4SYS_StreamDescription streamDesc; local
321 err = M4PCMR_getNextStream( pC->m_coreContext, &streamDesc);
335 switch (streamDesc.streamType)
359 pDsi = (M4PCMC_DecoderSpecificInfo*)(streamDesc.decoderSpecificInfo);
370 (((streamDesc.averageBitrate/8)/50)/pDsi->nbChannels)\
377 (M4OSA_UInt32)(((streamDesc.averageBitrate/8)/15.625)/pDsi->nbChannels)\
383 M4OSA_TIME_TO_MS( fDuration, streamDesc.duration, streamDesc.timeScale);
385 pC->m_pAudioStream->m_pDecoderSpecificInfo = (M4OSA_UInt8*)(streamDesc.decoderSpecificInfo);
386 pC->m_pAudioStream->m_decoderSpecificInfoSize = streamDesc
[all...]
H A DM4READER_Amr.c250 M4SYS_StreamDescription streamDesc; local
261 err = M4AMRR_getNextStream( pC->m_pCoreContext, &streamDesc);
302 pStreamHandler->m_pDecoderSpecificInfo = (M4OSA_UInt8*)(streamDesc.decoderSpecificInfo);
303 pStreamHandler->m_decoderSpecificInfoSize = streamDesc.decoderSpecificInfoSize;
304 pStreamHandler->m_streamId = streamDesc.streamID;
305 pStreamHandler->m_duration = streamDesc.duration;
306 pStreamHandler->m_pUserData = (void*)streamDesc.timeScale; /*trick to change*/
308 if (streamDesc.duration > pC->m_maxDuration)
310 pC->m_maxDuration = streamDesc.duration;
312 pStreamHandler->m_averageBitRate = streamDesc
[all...]

Completed in 26 milliseconds