Package quicktime.std.movies

Examples of quicktime.std.movies.TimeInfo


   * @param mov        Movie to calculate interval for
   * @return interval  Interval between first two interesting frames in mov
   */
  public int getInterval(Movie mov)
  {
    TimeInfo time = null;
    try
    {
      // get the video track from the movie
      Track visualTrack = mov.getIndTrackType(1,
        StdQTConstants.visualMediaCharacteristic,
View Full Code Here


    mov.setTime(new TimeRecord(timeScale, (int) begin));
    Boolean go = true;
    int lastTime = 0;
    do
    {
      TimeInfo ti = visualTrack.getNextInterestingTime(
        StdQTConstants.nextTimeMediaSample, mov.getTime(), 1);

      // if looped to earlier frame or finished selected section
      if ((lastTime > ti.time) || (ti.time >= finish))
      {
View Full Code Here

      {
        if (Thread.interrupted())
        {
          throw new SchemeException(new Pair(), null, null);
        } // if (Thread.interrupted())
        TimeInfo ti = visualTrack.getNextInterestingTime(
          StdQTConstants.nextTimeMediaSample, mov.getTime(), 1);

        // if looped to earlier frame or finished selected section
        if ((lastTime > ti.time) || (ti.time >= finish))
        {
View Full Code Here

        {
          throw new SchemeException(new Pair(), null, null);
        } // if (Thread.interrupted())

        // find the next frame
        TimeInfo ti = visualTrack.getNextInterestingTime(
          StdQTConstants.nextTimeMediaSample, mov.getTime(), 1);

        // if looped to earlier frame or finished selected section
        if ((lastTime > ti.time) || (ti.time >= finish))
        {
View Full Code Here

        {
          throw new SchemeException(new Pair(), null, null);
        } // if (Thread.interrupted())

        // find next frame
        TimeInfo ti = visualTrack.getNextInterestingTime(
          StdQTConstants.nextTimeMediaSample, mov.getTime(), 1);

        // if looped to earlier frame or finished selected section
        if ((lastTime > ti.time) || (ti.time >= finish))
        {
View Full Code Here

/* 518 */     int[] arrayOfInt2 = new int[1];
/*     */
/* 520 */     SampleNumToMediaTime(_ID(), paramInt, arrayOfInt1, arrayOfInt2);
/* 521 */     StdQTException.checkError(GetMoviesError());
/*     */
/* 523 */     return new TimeInfo(arrayOfInt1[0], arrayOfInt2[0]);
/*     */   }
View Full Code Here

/* 781 */     int[] arrayOfInt2 = new int[1];
/*     */
/* 783 */     GetMediaNextInterestingTime(_ID(), (short)paramInt1, paramInt2, QTUtils.X2Fix(paramFloat), arrayOfInt1, arrayOfInt2);
/* 784 */     StdQTException.checkError(GetMoviesError());
/*     */
/* 786 */     return new TimeInfo(arrayOfInt1[0], arrayOfInt2[0]);
/*     */   }
View Full Code Here

TOP

Related Classes of quicktime.std.movies.TimeInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.