Package quicktime

Examples of quicktime.QTException


/* 127 */     int[] arrayOfInt2 = { 0 };
/* 128 */     SoundComponentData localSoundComponentData = new SoundComponentData();
/* 129 */     SoundException.checkError(ParseSndHeader(_ID(), localSoundComponentData.getBytes(), arrayOfInt1, arrayOfInt2));
/*     */
/* 131 */     if (arrayOfInt2[0] >= getSize())
/* 132 */       throw new QTException("No data in SoundHandle yet");
/* 133 */     lock();
/* 134 */     return toQTPointer(arrayOfInt2[0], getSize() - arrayOfInt2[0]);
/*     */   }
View Full Code Here


/*     */   }
/*     */
/*     */   public void setMinFieldOfView(float paramFloat)
/*     */     throws QTException
/*     */   {
/* 382 */     if (paramFloat < 1.0D) throw new QTException(-50);
/* 383 */     setFloatAt(52, paramFloat);
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public void setFieldOfView(float paramFloat)
/*     */     throws QTException
/*     */   {
/* 399 */     if (paramFloat < 1.0D) throw new QTException(-50);
/* 400 */     setFloatAt(56, paramFloat);
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public Timer(int paramInt1, int paramInt2, Ticklish paramTicklish, Movie paramMovie)
/*     */     throws QTException
/*     */   {
/* 113 */     if (paramInt1 == 0) throw new QTException("scale cannot be zero");
/* 114 */     this.m = paramMovie;
/* 115 */     if (this.m != null) {
/* 116 */       this.theTimeBase = this.m.getTimeBase();
/* 117 */       this.isTimerTicking = (this.theTimeBase.getEffectiveRate() != 0.0F);
/*     */     } else {
View Full Code Here

/*     */   }
/*     */
/*     */   public synchronized void rescheduleTickle(int paramInt1, int paramInt2)
/*     */     throws QTException
/*     */   {
/* 213 */     if (paramInt1 == 0) throw new QTException("scale cannot be zero");
/* 214 */     this.tc.cancel();
/* 215 */     this.tc.scale = paramInt1;
/* 216 */     this.tc.period = paramInt2;
/* 217 */     this.tc.value = this.theTimeBase.getTime(paramInt1);
/* 218 */     this.tc.flags = (this.lastKnownRate > 0.0F ? 1 : 2);
View Full Code Here

/*     */
/*     */   public void createShortcutMovieFile(int paramInt1, int paramInt2, int paramInt3, DataRef paramDataRef)
/*     */     throws QTException
/*     */   {
/* 400 */     if (QTSession.getQTMajorVersion() < 4) {
/* 401 */       throw new QTException(-50);
/*     */     }
/* 403 */     if ((paramInt3 & 0x80000000) != 0) {
/*     */       try {
/* 405 */         checkSecurity(getCanonicalPath(), 1024);
/*     */       } catch (IOException localIOException) {
View Full Code Here

/*     */     case 12:
/* 264 */       i = 8;
/*     */     case 6:
/*     */     }
/* 267 */     if (i == 0) {
/* 268 */       throw new QTException("unsupported tween type");
/*     */     }
/* 270 */     return i + i;
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public boolean transformDRect(QDRect paramQDRect)
/*     */     throws QTException
/*     */   {
/* 437 */     if (paramQDRect.getFixedRect() == null) throw new QTException(-50);
/* 438 */     return TransformFixedRect(getBytes(), paramQDRect.getFixedRect(), 0) != 0;
/*     */   }
View Full Code Here

/*     */   public boolean transformDRect(QDRect paramQDRect, QDPoint[] paramArrayOfQDPoint)
/*     */     throws QTException
/*     */   {
/* 450 */     int[] arrayOfInt = DoublePts2FixedPts(paramArrayOfQDPoint);
/*     */
/* 452 */     if (paramQDRect.getFixedRect() == null) throw new QTException(-50);
/* 453 */     int i = TransformFixedRect(getBytes(), paramQDRect.getFixedRect(), arrayOfInt);
/* 454 */     if (i == 0) FixedPts2DoublePts(arrayOfInt, paramArrayOfQDPoint);
/*     */
/* 456 */     return i != 0;
/*     */   }
View Full Code Here

/*    */
/*    */   protected QTVRAtom(byte[] paramArrayOfByte, int paramInt)
/*    */     throws QTException
/*    */   {
/* 48 */     super(paramArrayOfByte);
/* 49 */     if (paramArrayOfByte.length != paramInt) throw new QTException(-50);
/*    */   }
View Full Code Here

TOP

Related Classes of quicktime.QTException

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.