Package quicktime.std

Examples of quicktime.std.StdQTException


/*     */
/*     */   private static int allocate() throws StdQTException
/*     */   {
/*  52 */     int[] arrayOfInt = { 0 };
/*  53 */     int i = QTNewAtomContainer(arrayOfInt);
/*  54 */     if (i != 0) throw new StdQTException(i);
/*  55 */     return arrayOfInt[0];
/*     */   }
View Full Code Here


/*     */   public void requestSequenceSettings()
/*     */     throws StdQTException
/*     */   {
/*  88 */     synchronized (QTNative.globalsLock) {
/*  89 */       int i = SCRequestSequenceSettings(_ID());
/*  90 */       if (i == 1) throw new StdQTException(-128);
/*  91 */       StdQTException.checkError(i);
/*     */     }
/*     */   }
View Full Code Here

/*     */   {
/*  76 */     super(allocate(paramInt), null);
/*     */   }
/*     */
/*     */   private static int allocate(ComponentIdentifier paramComponentIdentifier, int paramInt) throws StdQTException {
/*  80 */     if (paramComponentIdentifier.getInfo().getType() != paramInt) throw new StdQTException(-3000);
/*  81 */     return allocate(QTObject.ID(paramComponentIdentifier));
/*     */   }
View Full Code Here

/*     */   public Matrix(QDPoint[] paramArrayOfQDPoint1, QDPoint[] paramArrayOfQDPoint2)
/*     */     throws QTException
/*     */   {
/*  88 */     this();
/*  89 */     if ((paramArrayOfQDPoint1.length < 4) || (paramArrayOfQDPoint2.length < 4) || (QTSession.getQTMajorVersion() < 4))
/*  90 */       throw new StdQTException(-50);
/*  91 */     int[] arrayOfInt1 = DoublePts2FixedPts(paramArrayOfQDPoint1);
/*  92 */     int[] arrayOfInt2 = DoublePts2FixedPts(paramArrayOfQDPoint2);
/*  93 */     int i = QuadToQuadMatrix(arrayOfInt1, arrayOfInt2, getBytes());
/*  94 */     StdQTException.checkError(i);
/*     */   }
View Full Code Here

/*     */
/*     */   public void changedSourceData()
/*     */     throws StdQTException
/*     */   {
/*  82 */     if (!this.isValid)
/*  83 */       throw new StdQTException(-50);
/*  84 */     StdQTException.checkError(CDSequenceChangedSourceData(_ID()));
/*     */   }
View Full Code Here

/*     */
/*     */   public void setSourceData(EncodedImage paramEncodedImage)
/*     */     throws StdQTException
/*     */   {
/*  97 */     if (!this.isValid)
/*  98 */       throw new StdQTException(-50);
/*  99 */     int i = -50;
/* 100 */     if ((paramEncodedImage instanceof ByteEncodedImage))
/* 101 */       i = CDSequenceSetSourceData(_ID(), ((ByteEncodedImage)paramEncodedImage).getBytes(), paramEncodedImage.getSize());
/* 102 */     else if ((paramEncodedImage instanceof IntEncodedImage))
/* 103 */       i = CDSequenceSetSourceData(_ID(), ((IntEncodedImage)paramEncodedImage).getInts(), paramEncodedImage.getSize());
View Full Code Here

/*     */   {
/*  92 */     int i = getIntFromPointer(_ID(), 0);
/*  93 */     if (i != -1) {
/*  94 */       return i;
/*     */     }
/*  96 */     throw new StdQTException(-50);
/*     */   }
View Full Code Here

/* 115 */     if (i == -1) {
/* 116 */       int j = getIntFromPointer(_ID(), 4);
/* 117 */       return getStringFromPointer(j);
/*     */     }
/*     */
/* 120 */     throw new StdQTException(-50);
/*     */   }
View Full Code Here

/* 147 */     int i = getValueKind();
/* 148 */     if (i == 0) {
/* 149 */       int j = getIntFromPointer(_ID(), 12);
/* 150 */       return getStringFromPointer(j);
/*     */     }
/* 152 */     throw new StdQTException("XMLAttribute.getCharString() : kind not attributeValueKindCharString");
/*     */   }
View Full Code Here

/*     */   {
/* 160 */     int i = getValueKind();
/* 161 */     if (i == 1) {
/* 162 */       return getIntFromPointer(_ID(), 12);
/*     */     }
/* 164 */     throw new StdQTException("XMLAttribute.getInteger() : kind not attributeValueKindInteger");
/*     */   }
View Full Code Here

TOP

Related Classes of quicktime.std.StdQTException

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.