Searched refs:timeScale (Results 1 - 23 of 23) sorted by relevance

/frameworks/av/libvideoeditor/osal/inc/
H A DM4OSA_FileCommon.h75 M4OSA_UInt32 timeScale; member in struct:__anon73
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp493 status_t StagefrightRecorder::setParamMovieTimeScale(int32_t timeScale) { argument
494 ALOGV("setParamMovieTimeScale: %d", timeScale);
498 if (timeScale < 600 || timeScale > 96000) {
499 ALOGE("Time scale (%d) for movie is out of range [600, 96000]", timeScale);
502 mMovieTimeScale = timeScale;
506 status_t StagefrightRecorder::setParamVideoTimeScale(int32_t timeScale) { argument
507 ALOGV("setParamVideoTimeScale: %d", timeScale);
511 if (timeScale < 600 || timeScale > 6000
519 setParamAudioTimeScale(int32_t timeScale) argument
596 int32_t timeScale; local
636 int32_t timeScale; local
671 int32_t timeScale; local
[all...]
H A DStagefrightRecorder.h160 status_t setParamAudioTimeScale(int32_t timeScale);
168 status_t setParamVideoTimeScale(int32_t timeScale);
175 status_t setParamMovieTimeScale(int32_t timeScale);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_vui.h104 u32 timeScale; member in struct:__anon868
H A Dh264bsd_vui.c237 pVuiParameters->timeScale = tmp;
/frameworks/av/libvideoeditor/vss/common/inc/
H A DM4SYS_Stream.h155 M4OSA_UInt32 timeScale; /**< The time scale of the stream. It means that all timing member in struct:__anon183
157 (ie timeScale = 8000, means there are 8000 ticks in
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_FileCommon.c548 pAttribute->creationDate.timeScale = 1;
549 pAttribute->lastAccessDate.timeScale = 1;
550 pAttribute->modifiedDate.timeScale = 1;
/frameworks/av/libvideoeditor/vss/src/
H A DM4READER_Amr.c306 pStreamHandler->m_pUserData = (void*)streamDesc.timeScale; /*trick to change*/
667 M4_MediaTime timeScale; local
707 timeScale = (M4OSA_Float)(M4OSA_Int32)(pStreamHandler->m_pUserData)/1000;
710 pAccessUnit->m_CTS = (M4_MediaTime)pAu->CTS/*/timeScale*/;
711 pAccessUnit->m_DTS = (M4_MediaTime)pAu->DTS/*/timeScale*/;
H A DM4AMRR_CoreReader.c348 pStreamDesc->timeScale = (pStreamContext->m_streamType == M4SYS_kAMR )?8000:16000;
367 pStreamContext->m_pStreamHandler->timeScale = pStreamDesc->timeScale ;
H A DM4PTO3GPP_API.c795 (pC->m_pWriterAudioStream->timeScale / 1000.0));
853 * pC->m_pWriterAudioStream->timeScale / 1000.0);
858 (pC->m_pWriterAudioStream->timeScale / 1000.0));
889 * (pC->m_pWriterAudioStream->timeScale / 1000.0));
1567 pC->m_pWriterVideoStream->timeScale = 0; /**< Not used by the core writer */
1651 pC->m_pWriterAudioStream->timeScale = M4PTO3GPP_WRITER_AUDIO_AMR_TIME_SCALE;
H A DM4PCMR_CoreReader.c227 pStreamDesc->timeScale = 1000;
229 / (M4OSA_Double)(c->m_decoderConfig.AvgBytesPerSec))*pStreamDesc->timeScale);
H A DM4READER_Pcm.c383 M4OSA_TIME_TO_MS( fDuration, streamDesc.duration, streamDesc.timeScale);
389 (void*)streamDesc.timeScale; /*trick to change*/
H A DM4VSS3GPP_Edit.c2363 pC_ewc->WriterVideoStream.timeScale =
2471 pC_ewc->WriterAudioStream.timeScale = pC_ewc->uiSamplingFrequency;
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.cpp419 int32_t timeScale; local
420 sp<MetaData> format = mHandler->getTrackFormat(i, &timeScale);
437 info.mTimeScale = timeScale;
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorMp3Reader.cpp489 meta->findInt32(kKeySampleRate, (int32_t*)&streamDesc.timeScale);
491 streamDesc.averageBitrate,streamDesc.timeScale,Duration/1000);
523 pAudioStreamHandler->m_samplingFrequency = streamDesc.timeScale;
/frameworks/av/libvideoeditor/vss/3gpwriter/src/
H A DM4MP4W_Interface.c240 pStreamDescription->timeScale = 1000; /**< and timeScale */
H A DM4MP4W_Writer.c742 streamDescPtr->timeScale;
769 ERR_CHECK(streamDescPtr->timeScale == 8000, M4ERR_PARAMETER);
804 ERR_CHECK(streamDescPtr->timeScale == 8000, M4ERR_PARAMETER);
1002 ERR_CHECK(streamDescPtr->timeScale == 1000, M4ERR_PARAMETER);
/frameworks/av/media/libstagefright/mp4/
H A DFragmentedMP4Parser.cpp1606 uint32_t timeScale = readU32(offset + 8); local
1607 ALOGV("sidx refid/timescale: %d/%d", referenceId, timeScale);
1665 se.mDurationUs = 1000000LL * d2 / timeScale;
1669 info->mSidxDuration = total_duration * 1000000 / timeScale;
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp51 int32_t timeScale,
1903 int32_t timeScale,
1907 mTimescale(timeScale),
1900 MPEG4Source( const sp<MetaData> &format, const sp<DataSource> &dataSource, int32_t timeScale, const sp<SampleTable> &sampleTable) argument
H A DMPEG4Writer.cpp1345 int32_t timeScale; local
1346 if (mMeta->findInt32(kKeyTimeScale, &timeScale)) {
1347 mTimeScale = timeScale;
H A DOMXCodec.cpp4310 int32_t timeScale; local
4311 if (inputFormat->findInt32(kKeyTimeScale, &timeScale)) {
4312 mOutputFormat->setInt32(kKeyTimeScale, timeScale);
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h1168 sp<MetaData> getTrackFormat(size_t index, int32_t *timeScale) { argument
1174 *timeScale = info.mTimeScale;
/frameworks/av/libvideoeditor/vss/mcs/src/
H A DM4MCS_API.c6687 pC->WriterVideoStream.timeScale =
6965 pC->WriterAudioStream.timeScale = pC->AudioEncParams.Frequency;
8174 * (pC->WriterAudioStream.timeScale / 1000.0)));
8638 / pC->WriterAudioStream.timeScale;
8710 ( frameTimeDelta * 1000) / pC->WriterAudioStream.timeScale;
9215 * (pC->WriterVideoStream.timeScale / 1000.0)));

Completed in 292 milliseconds