Searched refs:timescale (Results 1 - 10 of 10) sorted by relevance

/frameworks/av/libvideoeditor/osal/inc/
H A DM4OSA_Time.h44 #define M4OSA_TIME_TO_MS(result, time, timescale)\
45 { result = (1000*(M4OSA_Double)time)/((M4OSA_Double)timescale); }
H A DM4OSA_Clock.h41 M4OSA_UInt32 timescale);
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_Clock.c44 * timescale unit.
48 * @param timescale: (IN) The timescale (time unit per second)
53 * compliant with the input timescale
56 M4OSA_ERR M4OSA_clockGetTime(M4OSA_Time* pTime, M4OSA_UInt32 timescale) argument
67 pTime, timescale);
71 M4OSA_DEBUG_IF2(0 == timescale, M4ERR_PARAMETER,
72 "M4OSA_clockGetTime: timescale is 0");
74 factor = 1000000 / timescale;
78 u32_time_lo = (tv.tv_sec & 0xFFFF) * timescale;
[all...]
/frameworks/av/media/libstagefright/rtsp/
H A DASessionDescription.h54 const char *desc, int32_t *timescale, int32_t *numChannels);
H A DASessionDescription.cpp278 const char *desc, int32_t *timescale, int32_t *numChannels) {
288 *timescale = x;
277 ParseFormatDesc( const char *desc, int32_t *timescale, int32_t *numChannels) argument
H A DMyHandler.h1277 int32_t timescale; local
1280 formatDesc.c_str(), &timescale, &numChannels);
1282 info->mTimeScale = timescale;
/frameworks/av/media/libstagefright/include/
H A DMPEG4Extractor.h53 uint32_t timescale; member in struct:android::MPEG4Extractor::Track
/frameworks/av/libvideoeditor/vss/3gpwriter/inc/
H A DM4MP4W_Types.h177 M4OSA_UInt32 timescale; /* T (video=1000), (AMR8=8000), (AMR16=16000)*/ member in struct:__anon91
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp358 ((int64_t)sampleTime * 1000000) / track->timescale);
722 track->timescale = 0;
809 uint32_t timescale; local
811 timescale_offset, &timescale, sizeof(timescale))
812 < (ssize_t)sizeof(timescale)) {
816 mLastTrack->timescale = ntohl(timescale);
836 kKeyDuration, (duration * 1000000) / mLastTrack->timescale);
1761 track->meta, mDataSource, track->timescale, trac
[all...]
/frameworks/av/libvideoeditor/vss/3gpwriter/src/
H A DM4MP4W_Writer.c741 mMp4FileDataPtr->audioTrackPtr->CommonData.timescale =
771 160; /*AMR8+timescale=8000 => sample duration 160 constant*/
806 160; /*EVRC+timescale=8000 => sample duration 160 constant*/
1003 mMp4FileDataPtr->videoTrackPtr->CommonData.timescale = 1000;
1423 scale_audio = 1000.0 / mMp4FileDataPtr->audioTrackPtr->CommonData.timescale;
1662 scale_video = 1000.0 / mMp4FileDataPtr->videoTrackPtr->CommonData.timescale;
1905 1000.0 / mMp4FileDataPtr->audioTrackPtr->CommonData.timescale;
1972 1000.0 / mMp4FileDataPtr->videoTrackPtr->CommonData.timescale;
2109 1000.0 / mMp4FileDataPtr->audioTrackPtr->CommonData.timescale;
2113 1000.0 / mMp4FileDataPtr->videoTrackPtr->CommonData.timescale;
[all...]

Completed in 2539 milliseconds