HomeSort by relevance Sort by last modified time
    Searched full:timescale (Results 1 - 25 of 75) sorted by null

1 2 3

  /frameworks/av/libvideoeditor/osal/src/
M4OSA_Clock.c 44 * 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)
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...]
  /external/chromium_org/third_party/icu/source/i18n/
utmscale.c 22 /* Constants generated by ICU4J com.ibm.icu.dev.tool.timescale.GenerateCTimeScaleData. */
38 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status)
44 if (timeScale < UDTS_JAVA_TIME || UDTS_MAX_SCALE <= timeScale
51 return timeScaleTable[timeScale][value];
55 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status)
63 if (timeScale < 0 || timeScale >= UDTS_MAX_SCALE) {
68 data = (const int64_t *)(&timeScaleTable[timeScale]);
79 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status
    [all...]
  /external/icu4c/i18n/
utmscale.c 22 /* Constants generated by ICU4J com.ibm.icu.dev.tool.timescale.GenerateCTimeScaleData. */
38 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status)
44 if (timeScale < UDTS_JAVA_TIME || UDTS_MAX_SCALE <= timeScale
51 return timeScaleTable[timeScale][value];
55 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status)
63 if ((int32_t)timeScale < 0 || timeScale >= UDTS_MAX_SCALE) {
68 data = (const int64_t *)(&timeScaleTable[timeScale]);
79 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
MediaHeaderBox.java 35 private long timescale; field in class:MediaHeaderBox
52 return timescale;
84 public void setTimescale(long timescale) {
85 this.timescale = timescale;
102 timescale = IsoTypeReader.readUInt32(content);
107 timescale = IsoTypeReader.readUInt32(content);
122 result.append("timescale=").append(getTimescale());
136 IsoTypeWriter.writeUInt32(byteBuffer, timescale);
141 IsoTypeWriter.writeUInt32(byteBuffer, timescale);
    [all...]
MovieHeaderBox.java 38 private long timescale; field in class:MovieHeaderBox
68 return timescale;
108 timescale = IsoTypeReader.readUInt32(content);
113 timescale = IsoTypeReader.readUInt32(content);
144 result.append("timescale=").append(getTimescale());
168 IsoTypeWriter.writeUInt32(byteBuffer, timescale);
173 IsoTypeWriter.writeUInt32(byteBuffer, timescale);
207 public void setTimescale(long timescale) {
208 this.timescale = timescale;
    [all...]
EditListBox.java 120 * @param segmentDuration duration in movie timescale
146 * of this edit segment in units of the timescale in the Movie
149 * @return segment duration in movie timescale
157 * of this edit segment in units of the timescale in the Movie
160 * @param segmentDuration new segment duration in movie timescale
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/
TrackMetaData.java 25 private long timescale; field in class:TrackMetaData
52 return timescale;
55 public void setTimescale(long timescale) {
56 this.timescale = timescale;
Movie.java 77 long timescale = this.getTracks().iterator().next().getTrackMetaData().getTimescale();
79 timescale = gcd(track.getTrackMetaData().getTimescale(), timescale);
81 return timescale;
  /external/chromium_org/media/video/capture/mac/
coremedia_glue.h 27 CMTimeScale timescale; member in struct:CoreMediaGlue::__anon8706
36 static CMTime CMTimeMake(int64_t value, int32_t timescale);
coremedia_glue.mm 62 int32_t timescale) {
63 return g_coremedia_handle.Get().cm_time_make()(value, timescale);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/threegpp26244/
SegmentIndexBox.java 17 * unsigned int(32) timescale;
47 long timeScale;
75 IsoTypeWriter.writeUInt32(byteBuffer, timeScale);
102 timeScale = IsoTypeReader.readUInt32(content);
144 return timeScale;
147 public void setTimeScale(long timeScale) {
148 this.timeScale = timeScale;
  /frameworks/av/libvideoeditor/osal/inc/
M4OSA_Time.h 44 #define M4OSA_TIME_TO_MS(result, time, timescale)\
45 { result = (1000*(M4OSA_Double)time)/((M4OSA_Double)timescale); }
M4OSA_Clock.h 41 M4OSA_UInt32 timescale);
  /frameworks/av/media/libmediaplayerservice/
StagefrightRecorder.h 164 status_t setParamAudioTimeScale(int32_t timeScale);
172 status_t setParamVideoTimeScale(int32_t timeScale);
179 status_t setParamMovieTimeScale(int32_t timeScale);
StagefrightRecorder.cpp 495 status_t StagefrightRecorder::setParamMovieTimeScale(int32_t timeScale) {
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) {
509 ALOGV("setParamVideoTimeScale: %d", timeScale);
513 if (timeScale < 600 || timeScale > 60000)
    [all...]
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
ChangeTimeScaleTrack.java 31 * Changes the timescale of a track by wrapping the track.
39 long timeScale;
51 this.timeScale = targetTimeScale;
105 trackMetaData.setTimescale(timeScale);
H264TrackImpl.java 48 private int timescale; field in class:H264TrackImpl
58 public H264TrackImpl(InputStream inputStream, String lang, long timescale) throws IOException {
60 if (timescale > 1000) {
61 timescale = timescale; //e.g. 23976
65 throw new IllegalArgumentException("Timescale must be specified in milliseconds!");
125 trackMetaData.setTimescale(timescale);
406 timescale = seqParameterSet.vuiParams.time_scale >> 1; // Not sure why, but I found this in several places, and it works...
408 if (timescale == 0 || frametick == 0) {
409 System.err.println("Warning: vuiParams contain invalid values: time_scale: " + timescale + " and frame_tick: " + frametick + ". Setting frame rate to 25fps")
    [all...]
DivideTimeScaleTrack.java 28 * Changes the timescale of a track by wrapping the track.
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
SyncSampleIntersectFinderImpl.java 176 public long[] getCommonIndices(long[] syncSamples, long[] syncSampleTimes, long timeScale, long[]... otherTracksTimes) {
237 if (lastSyncSampleTime == -1 || (curSyncSampleTime - lastSyncSampleTime) / timeScale >= minFragmentDurationSeconds) {
294 long timeScale = 1;
298 timeScale = lcm(timeScale, track1.getTrackMetaData().getTimescale());
302 return timeScale;
  /frameworks/av/media/libstagefright/rtsp/
ASessionDescription.h 54 const char *desc, int32_t *timescale, int32_t *numChannels);
  /external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
FlatPackageWriterImpl.java 38 long timeScale = 10000000;
182 * Returns a new <code>Movie</code> in that all tracks have the timescale 10000000. CTS & DTS are modified
191 nuMovie.addTrack(new ChangeTimeScaleTrack(track, timeScale, ismvBuilder.getFragmentIntersectionFinder().sampleNumbers(track, movie)));
  /external/chromium_org/media/mp4/
track_run_iterator.cc 30 int64 timescale; member in struct:media::mp4::TrackRunInfo
49 timescale(-1),
213 tri.timescale = trak->media.header.timescale;
410 return TimeDeltaFromRational(sample_dts_, run_itr_->timescale);
416 run_itr_->timescale);
421 return TimeDeltaFromRational(sample_itr_->duration, run_itr_->timescale);
  /external/chromium_org/third_party/icu/source/i18n/unicode/
utmscale.h 436 * @param timeScale The time scale
444 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status);
452 * @param timeScale The time scale to convert from
460 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status);
468 * @param timeScale The time scale to convert to
476 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status);
  /external/icu4c/i18n/unicode/
utmscale.h 436 * @param timeScale The time scale
444 utmscale_getTimeScaleValue(UDateTimeScale timeScale, UTimeScaleValue value, UErrorCode *status);
452 * @param timeScale The time scale to convert from
460 utmscale_fromInt64(int64_t otherTime, UDateTimeScale timeScale, UErrorCode *status);
468 * @param timeScale The time scale to convert to
476 utmscale_toInt64(int64_t universalTime, UDateTimeScale timeScale, UErrorCode *status);
  /frameworks/av/libvideoeditor/vss/common/inc/
M4SYS_Stream.h 155 M4OSA_UInt32 timeScale; /**< The time scale of the stream. It means that all timing
156 duration of this stream are computed in this timescale
157 (ie timeScale = 8000, means there are 8000 ticks in

Completed in 692 milliseconds

1 2 3