Home
last modified time | relevance | path

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

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