Package quicktime

Examples of quicktime.QTException


/*     */
/*     */   public QTVRCubicFace(byte[] paramArrayOfByte)
/*     */     throws QTException
/*     */   {
/*  53 */     super(paramArrayOfByte);
/*  54 */     if (paramArrayOfByte.length != 32) throw new QTException(-50);
/*     */   }
View Full Code Here


/*     */
/*     */   public QTVRCubicView(byte[] paramArrayOfByte)
/*     */     throws QTException
/*     */   {
/*  57 */     super(paramArrayOfByte);
/*  58 */     if (paramArrayOfByte.length != 36) throw new QTException(-50);
/*     */   }
View Full Code Here

/*     */     }
/*     */
/* 274 */     localMovie = openAsMovie(paramQTFile);
/* 275 */     if (localMovie != null) return paramQTDrawableMaker.fromMovie(localMovie);
/*     */
/* 280 */     throw new QTException(-2003);
/*     */   }
View Full Code Here

/*     */     }
/*     */
/* 368 */     localMovie = openAsMovie(localDataRef);
/* 369 */     if (localMovie != null) return paramQTDrawableMaker.fromMovie(localMovie);
/*     */
/* 374 */     throw new QTException(-2003);
/*     */   }
View Full Code Here

/* 416 */         paramString = paramString.substring(1);
/*     */       }
/*     */       try {
/* 419 */         return makeDrawable(new QTFile(paramString), paramQTDrawableMaker);
/*     */       } catch (IOException localIOException) {
/* 421 */         throw new QTException(-43);
/*     */       }
/*     */     }
/*     */
/* 425 */     DataRef localDataRef = new DataRef(paramString);
/*     */
/* 427 */     GraphicsImporter localGraphicsImporter = importImage(localDataRef);
/* 428 */     Movie localMovie = null;
/* 429 */     if (localGraphicsImporter != null) {
/* 430 */       localMovie = checkIfMovie(localDataRef);
/* 431 */       if (localMovie == null) {
/* 432 */         return paramQTDrawableMaker.fromGraphicsImporter(localGraphicsImporter);
/*     */       }
/* 434 */       return paramQTDrawableMaker.fromMovie(localMovie);
/*     */     }
/*     */
/* 437 */     localMovie = openAsMovie(localDataRef);
/* 438 */     if (localMovie != null) return paramQTDrawableMaker.fromMovie(localMovie);
/*     */
/* 443 */     throw new QTException(-2003);
/*     */   }
View Full Code Here

/*     */     }
/* 521 */     return null;
/*     */   }
/*     */
/*     */   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);
View Full Code Here

/*  75 */     int i = getSelector();
/*  76 */     if ((i == 8192) || (i == 8193)) {
/*  77 */       int j = getIntAt(20);
/*  78 */       return getFloatFromPointer(j, 0);
/*     */     }
/*  80 */     throw new QTException(-50);
/*     */   }
View Full Code Here

/*  90 */     int i = getSelector();
/*  91 */     if ((i == 8192) || (i == 8193)) {
/*  92 */       int j = getIntAt(20);
/*  93 */       setFloatInPointer(j, 0, paramFloat);
/*     */     }
/*  95 */     throw new QTException(-50);
/*     */   }
View Full Code Here

/*     */   /** @deprecated */
/*     */   public void setVolume(float paramFloat)
/*     */     throws QTException
/*     */   {
/*  82 */     if (paramFloat < 0.0F)
/*  83 */       throw new QTException("Illegal volume");
/*  84 */     if (false == this.muted)
/*  85 */       this.audioMedia.getTrack().setVolume(paramFloat);
/*     */     else
/*  87 */       this.audioMedia.getTrack().setVolume(-paramFloat);
/*     */   }
View Full Code Here

/*     */   public float getFieldOfView()
/*     */     throws QTException
/*     */   {
/* 105 */     int i = getSelector();
/* 106 */     if (i != 8194)
/* 107 */       throw new QTException(-50);
/* 108 */     int j = getIntAt(20);
/* 109 */     return getFloatFromPointer(j, 0);
/*     */   }
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.