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:__anon86
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp495 status_t StagefrightRecorder::setParamMovieTimeScale(int32_t timeScale) { argument
496 ALOGV("setParamMovieTimeScale: %d", timeScale);
500 if (timeScale < 600 || timeScale > 96000) {
501 ALOGE("Time scale (%d) for movie is out of range [600, 96000]", timeScale);
504 mMovieTimeScale = timeScale;
508 status_t StagefrightRecorder::setParamVideoTimeScale(int32_t timeScale) { argument
509 ALOGV("setParamVideoTimeScale: %d", timeScale);
513 if (timeScale < 600 || timeScale > 6000
521 setParamAudioTimeScale(int32_t timeScale) argument
598 int32_t timeScale; local
638 int32_t timeScale; local
673 int32_t timeScale; local
[all...]
H A DStagefrightRecorder.h164 status_t setParamAudioTimeScale(int32_t timeScale);
172 status_t setParamVideoTimeScale(int32_t timeScale);
179 status_t setParamMovieTimeScale(int32_t timeScale);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_vui.h104 u32 timeScale; member in struct:__anon892
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:__anon196
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/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/media/libmediaplayerservice/nuplayer/
H A DRTSPSource.cpp547 int32_t timeScale; local
548 sp<MetaData> format = mHandler->getTrackFormat(i, &timeScale);
565 info.mTimeScale = timeScale;
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp48 int32_t timeScale,
1812 uint32_t timeScale; local
1813 if (!mDataSource->getUInt32(offset + 8, &timeScale)) {
1816 ALOGV("sidx refid/timescale: %d/%d", referenceId, timeScale);
1893 se.mDurationUs = 1000000LL * d2 / timeScale;
1897 mSidxDuration = total_duration * 1000000 / timeScale;
2364 int32_t timeScale,
2370 mTimescale(timeScale),
2361 MPEG4Source( const sp<MetaData> &format, const sp<DataSource> &dataSource, int32_t timeScale, const sp<SampleTable> &sampleTable, Vector<SidxEntry> &sidx, off64_t firstMoofOffset) argument
H A DMPEG4Writer.cpp1446 int32_t timeScale; local
1447 if (mMeta->findInt32(kKeyTimeScale, &timeScale)) {
1448 mTimeScale = timeScale;
H A DOMXCodec.cpp4314 int32_t timeScale; local
4315 if (inputFormat->findInt32(kKeyTimeScale, &timeScale)) {
4316 mOutputFormat->setInt32(kKeyTimeScale, 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.cpp1618 uint32_t timeScale = readU32(offset + 8); local
1619 ALOGV("sidx refid/timescale: %d/%d", referenceId, timeScale);
1677 se.mDurationUs = 1000000LL * d2 / timeScale;
1681 info->mSidxDuration = total_duration * 1000000 / timeScale;
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h1456 sp<MetaData> getTrackFormat(size_t index, int32_t *timeScale) { argument
1462 *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 2295 milliseconds