Package quicktime.std

Examples of quicktime.std.StdQTException


/*    */   }
/*    */
/*    */   private static int allocate(DataRef paramDataRef, int paramInt) throws StdQTException {
/* 48 */     int i = GetDataHandler(QTObject.ID(paramDataRef), paramDataRef.getType(), paramInt);
/* 49 */     if (i == 0)
/* 50 */       throw new StdQTException(-2012);
/* 51 */     int[] arrayOfInt = new int[1];
/* 52 */     StdQTException.checkError(OpenAComponent(i, arrayOfInt));
/* 53 */     return arrayOfInt[0];
/*    */   }
View Full Code Here


/* 185 */     if ((paramEncodedImage instanceof IntEncodedImage))
/* 186 */       return compressFrame(paramQDGraphics, paramQDRect, paramInt, (IntEncodedImage)paramEncodedImage);
/* 187 */     if ((paramEncodedImage instanceof ByteEncodedImage)) {
/* 188 */       return compressFrame(paramQDGraphics, paramQDRect, paramInt, (ByteEncodedImage)paramEncodedImage);
/*     */     }
/* 190 */     throw new StdQTException(-50);
/*     */   }
View Full Code Here

/* 212 */     int[] arrayOfInt = new int[1];
/* 213 */     byte[] arrayOfByte = new byte[1];
/*     */
/* 215 */     int i = 0;
/* 216 */     if ((paramQDGraphics == null) || (paramQDRect == null)) {
/* 217 */       throw new StdQTException(-50);
/*     */     }
/* 219 */     synchronized (QTNative.globalsLock) {
/* 220 */       if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4)))
/* 221 */         GetGWorld(savedPort, savedDevice);
/* 222 */       SetGWorld(QTObject.ID(paramQDGraphics), 0);
View Full Code Here

/* 258 */     int[] arrayOfInt = new int[1];
/* 259 */     byte[] arrayOfByte = new byte[1];
/*     */
/* 261 */     int i = 0;
/* 262 */     if ((paramQDGraphics == null) || (paramQDRect == null)) {
/* 263 */       throw new StdQTException(-50);
/*     */     }
/* 265 */     synchronized (QTNative.globalsLock) {
/* 266 */       if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4)))
/* 267 */         GetGWorld(savedPort, savedDevice);
/* 268 */       SetGWorld(QTObject.ID(paramQDGraphics), 0);
View Full Code Here

/* 304 */     int[] arrayOfInt = new int[1];
/* 305 */     byte[] arrayOfByte = new byte[1];
/* 306 */     int i = 0;
/*     */
/* 308 */     if ((paramQDGraphics == null) || (paramQDRect == null)) {
/* 309 */       throw new StdQTException(-50);
/*     */     }
/* 311 */     synchronized (QTNative.globalsLock) {
/* 312 */       if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4)))
/* 313 */         GetGWorld(savedPort, savedDevice);
/* 314 */       SetGWorld(QTObject.ID(paramQDGraphics), 0);
View Full Code Here

/*     */   {
/* 341 */     int[] arrayOfInt = new int[1];
/* 342 */     int i = 0;
/*     */
/* 344 */     if (paramQDGraphics == null)
/* 345 */       throw new StdQTException(-50);
/* 346 */     synchronized (QTNative.globalsLock) {
/* 347 */       if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4)))
/* 348 */         GetGWorld(savedPort, savedDevice);
/* 349 */       SetGWorld(QTObject.ID(paramQDGraphics), 0);
/* 350 */       i = GetCSequenceMaxCompressionSize(_ID(), QTObject.ID(paramQDGraphics.getPixMap()), arrayOfInt);
View Full Code Here

/*     */   public void setPrev(QDGraphics paramQDGraphics, QDRect paramQDRect)
/*     */     throws StdQTException
/*     */   {
/* 436 */     int i = 0;
/* 437 */     if (paramQDGraphics == null) {
/* 438 */       throw new StdQTException(-50);
/*     */     }
/* 440 */     synchronized (QTNative.globalsLock) {
/* 441 */       if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4)))
/* 442 */         GetGWorld(savedPort, savedDevice);
/* 443 */       SetGWorld(QTObject.ID(paramQDGraphics), 0);
View Full Code Here

/* 359 */       HLock(i);
/* 360 */       copyPointerToArray(getIntFromPointer(i, 0), 0, arrayOfByte, 0, arrayOfByte.length);
/* 361 */       DisposeHandle(i);
/* 362 */       return new String(arrayOfByte);
/*     */     }
/* 364 */     throw new StdQTException(j);
/*     */   }
View Full Code Here

/*  388 */       if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4))) {
/*  389 */         SetGWorld(savedPort[0], savedDevice[0]);
/*      */       }
/*      */     }
/*  392 */     StdQTException.checkError(GetMoviesError());
/*  393 */     if (i == 0) throw new StdQTException(-2010);
/*  394 */     return i;
/*      */   }
View Full Code Here

/*      */
/*      */   public void removeTrack(Track paramTrack)
/*      */     throws StdQTException
/*      */   {
/* 1382 */     if (QTObject.ID(paramTrack) == 0) {
/* 1383 */       throw new StdQTException(-2009);
/*      */     }
/* 1385 */     int i = GetTrackMovie(QTObject.ID(paramTrack));
/* 1386 */     StdQTException.checkError(GetMoviesError());
/* 1387 */     if (i != _ID()) {
/* 1388 */       throw new StdQTException(-2010);
/*      */     }
/* 1390 */     DisposeMovieTrack(QTObject.ID(paramTrack));
/* 1391 */     StdQTException.checkError(GetMoviesError());
/* 1392 */     paramTrack.owner = null;
/*      */   }
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.