Package quicktime.util

Examples of quicktime.util.QTPointer


        TimeInfo sampleTime = new TimeInfo (0, m.getDuration());
     
        String text = new String ("This is a big fat hairy test\rAnd so is this");
        TextMediaHandler textMediaHandler = textMedia.getTextHandler();
        QTPointer textPointer = new QTPointer ( text.length() + 1, true );
        textPointer.copyFromArray ( 0, text.getBytes(), 0, text.length() );
        textMediaHandler.addTextSample (
          textPointer,
          QDFont.getFNum ( "Times" ),
          10,
          0,
View Full Code Here


      textTrack = movie.addTrack(TEXT_TRACK_WIDTH, TEXT_TRACK_HEIGHT, 0);
      Media textMedia = new TextMedia(textTrack, movie.getTimeScale());
      TextMediaHandler handler = (TextMediaHandler)textMedia.getHandler();
      textMedia.beginEdits();
      byte[] msgBytes = text.getBytes();
      QTPointer msgPoint = new QTPointer(msgBytes);
      handler.addTextSample(msgPoint, QDFont.getFNum(fontName), fontSize, style,
        new QDColor(fgColor[0] / 255f, fgColor[1] / 255f, fgColor[2] / 255f),
        new QDColor(bgColor[0] / 255f, bgColor[1] / 255f, bgColor[2] / 255f),
        QDConstants.teJustLeft, textBox, dfFlag, QDFont.getFNum(fontName), 0, 0,
        QDColor.white, Math.round(duration * movie.getTimeScale()));
 
View Full Code Here

        TimeInfo sampleTime = new TimeInfo (0, m.getDuration());
     
        String text = new String (message);
       
        TextMediaHandler textMediaHandler = textMedia.getTextHandler();
        QTPointer textPointer = new QTPointer ( text.length() + 1, true );
        textPointer.copyFromArray ( 0, text.getBytes(), 0, text.length() );
        textMediaHandler.addTextSample (
          textPointer,
          QDFont.getFNum ( "Times" ),
          14,
          1,
View Full Code Here

/*     */   }
/*     */
/*     */   public QTPointer getDataItem(int paramInt1, int paramInt2, int paramInt3)
/*     */     throws QTException
/*     */   {
/* 256 */     QTPointer localQTPointer = new QTPointer(paramInt1, true);
/* 257 */     int i = GetUserDataItem(_ID(), QTObject.ID(localQTPointer), localQTPointer.getSize(), paramInt2, paramInt3);
/*     */
/* 262 */     StdQTException.checkError(i);
/* 263 */     return localQTPointer;
/*     */   }
View Full Code Here

/*     */     throws QTException
/*     */   {
/* 117 */     byte[] arrayOfByte = { 0 };
/* 118 */     QTException.checkError(QTSSourcerGetInfo(_ID(), paramInt, arrayOfByte));
/*     */
/* 120 */     return new QTPointer(arrayOfByte);
/*     */   }
View Full Code Here

/*     */
/*     */   public void setSoundBankFile(QTFile paramQTFile)
/*     */     throws QTException
/*     */   {
/*  98 */     byte[] arrayOfByte = paramQTFile.getFSSpec(true, 256);
/*  99 */     this.spec = new QTPointer(arrayOfByte);
/* 100 */     setIntAt(24, QTObject.ID(this.spec));
/*     */   }
View Full Code Here

/*     */   {
/* 111 */     byte[] arrayOfByte = { 0 };
/* 112 */     int[] arrayOfInt = { 0 };
/* 113 */     StdQTException.checkError(MediaGetPublicInfo(_ID(), paramInt, arrayOfByte, arrayOfInt));
/*     */
/* 116 */     return new QTPointer(arrayOfByte);
/*     */   }
View Full Code Here

/*     */
/*     */   public SPB(SPBDevice paramSPBDevice, int paramInt1, int paramInt2, QTPointerRef paramQTPointerRef)
/*     */   {
/*  41 */     super(38);
/*     */     try {
/*  43 */       this.realObject = new QTPointer(38, true);
/*     */     } catch (QTException localQTException) {
/*  45 */       throw new QTRuntimeException(localQTException);
/*     */     }
/*  47 */     setIntAt(0, QTObject.ID(paramSPBDevice));
/*  48 */     setIntInPointer(QTObject.ID(this.realObject), 0, QTObject.ID(paramSPBDevice));
View Full Code Here

TOP

Related Classes of quicktime.util.QTPointer

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.