Examples of QTHandle


Examples of quicktime.util.QTHandle

    try {
      if (targetMovie == null)
        initMovie();
      // Movie clipMovie = Movie.fromScrap(0);
      Movie clipMovie = sourceMovie.copySelection();
      QTHandle theHandle = new QTHandle();
      clipMovie.putIntoHandle(theHandle);
      //clipMovie = clipMovie.fromHandle(theHandle);
      if (clipMovie == null) {
      //  showOKDialog ("MakeMedia.pasteMovie: Whoa.", "No movie on scrap");
        return false;
View Full Code Here

Examples of quicktime.util.QTHandle

/*     */   public QTHandle toHandle(Movie paramMovie, Track paramTrack, int paramInt1, int paramInt2)
/*     */     throws QTException
/*     */   {
/* 128 */     if (this.progUPP != null)
/* 129 */       this.progUPP.theCurrentMov = paramMovie;
/* 130 */     QTHandle localQTHandle = new QTHandle();
/* 131 */     int i = MovieExportToHandle(_ID(), QTObject.ID(localQTHandle), QTObject.ID(paramMovie), QTObject.ID(paramTrack), paramInt1, paramInt2);
/*     */
/* 137 */     StdQTException.checkError(i);
/* 138 */     return localQTHandle;
/*     */   }
View Full Code Here

Examples of quicktime.util.QTHandle

      //int dot = filename.lastIndexOf(".");
      // grab the extension from the file, use mov if there is none
      //String extension = (dot == -1) ? "mov" :
      //  filename.substring(dot + 1).toLowerCase();
      try {
        movie = fromDataRef(new DataRef(new QTHandle(data)));
      } catch (QTException e) {
        e.printStackTrace();
      }
    }
View Full Code Here

Examples of quicktime.util.QTHandle

/*     */   }
/*     */
/*     */   public final MediaSample getSample(int paramInt1, int paramInt2, int paramInt3)
/*     */     throws QTException
/*     */   {
/* 588 */     QTHandle localQTHandle = new QTHandle();
/* 589 */     SampleDescription localSampleDescription = makeDescription();
/* 590 */     int[] arrayOfInt1 = new int[1];
/* 591 */     int[] arrayOfInt2 = new int[1];
/* 592 */     int[] arrayOfInt3 = new int[1];
/* 593 */     int[] arrayOfInt4 = new int[1];
View Full Code Here

Examples of quicktime.util.QTHandle

/*      */   {
/* 1563 */     int i = 0;
/* 1564 */     if (paramTrack != null) {
/* 1565 */       i = QTObject.ID(paramTrack);
/*      */     }
/* 1567 */     QTHandle localQTHandle = new QTHandle(0, true);
/* 1568 */     int j = PutMovieIntoTypedHandle(_ID(), i, paramInt1, QTObject.ID(localQTHandle), paramInt2, paramInt3, paramInt4, QTObject.ID(paramMovieExporter));
/*      */
/* 1576 */     StdQTException.checkError(j);
/*      */
/* 1578 */     return localQTHandle;
View Full Code Here

Examples of quicktime.util.QTHandle

/* 245 */     this.seq = new CSequence(this.gw, this.gwRect, this.gw.getPixMap().getPixelSize(), this.codecType, this.codec, this.spatialQuality, this.temporalQuality, this.keyFrameRate, null, 0);
/*     */
/* 255 */     this.recDesc = this.seq.getDescription();
/* 256 */     int i = QTImage.getMaxCompressionSize(this.gw, this.gwRect, this.gw.getPixMap().getPixelSize(), this.spatialQuality, this.codecType, this.codec);
/*     */
/* 262 */     this.imageHandle = new QTHandle(i, true);
/* 263 */     this.imageHandle.lock();
/* 264 */     this.compressedImage = RawEncodedImage.fromQTHandle(this.imageHandle);
/* 265 */     if (!this.inPreflightMode) {
/* 266 */       this.vidMedia.beginEdits();
/*     */     }
View Full Code Here

Examples of quicktime.util.QTHandle

/*  91 */     setIntAt(0, i);
/*     */   }
/*     */
/*     */   public AtomContainer getVRWorld() throws QTException {
/*  95 */     int i = getSize() - 16;
/*  96 */     QTHandle localQTHandle = new QTHandle(i, false);
/*     */
/*  98 */     localQTHandle.copyFromArray(0, getBytes(), 16, i);
/*     */
/* 100 */     return AtomContainer.fromQTHandle(localQTHandle);
/*     */   }
View Full Code Here

Examples of quicktime.util.QTHandle

/*     */
/*     */   /** @deprecated */
/*     */   public static QTDrawable makeDrawable(InputStream paramInputStream, int paramInt, String paramString, QTDrawableMaker paramQTDrawableMaker)
/*     */     throws IOException, QTException
/*     */   {
/* 345 */     QTHandle localQTHandle = readBytesIntoHandle(paramInputStream);
/* 346 */     DataRef localDataRef = new DataRef(localQTHandle, paramInt, paramString);
/*     */
/* 348 */     if ((paramString != null) && (
/* 349 */       ("mid".equalsIgnoreCase(paramString)) || ("smf".equalsIgnoreCase(paramString)) || ("midi".equalsIgnoreCase(paramString)) || ("kar".equalsIgnoreCase(paramString))))
/*     */     {
View Full Code Here

Examples of quicktime.util.QTHandle

/*     */
/*     */   private static QTHandle readBytesIntoHandle(InputStream paramInputStream) throws IOException, QTException {
/* 452 */     byte[] arrayOfByte = new byte[paramInputStream.available()];
/* 453 */     int i = paramInputStream.read(arrayOfByte);
/* 454 */     if ((i < 0) || (i != arrayOfByte.length)) throw new IOException("Problem in reading bytes from InputStream");
/* 455 */     return new QTHandle(arrayOfByte);
/*     */   }
View Full Code Here

Examples of quicktime.util.QTHandle

/*     */   private static Movie importMovie(QTHandle paramQTHandle, int paramInt) throws QTException {
/* 525 */     if (paramInt == 0) throw new QTException(-2003); try
/*     */     {
/* 527 */       MovieImporter localMovieImporter = new MovieImporter(paramInt);
/* 528 */       Movie localMovie = new Movie(1);
/* 529 */       localMovie.setDefaultDataRef(new DataRef(new QTHandle()));
/* 530 */       localMovieImporter.fromHandle(paramQTHandle, localMovie, null, 0, 1);
/* 531 */       return localMovie; } catch (QTException localQTException) {
/*     */     }
/* 533 */     return null;
/*     */   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.