Package quicktime.std

Examples of quicktime.std.StdQTException


/*      */   public Atom getParent(Atom paramAtom)
/*      */     throws StdQTException
/*      */   {
/* 1006 */     int i = QTGetAtomParent(_ID(), paramAtom.getAtom());
/* 1007 */     if (i < 0)
/* 1008 */       throw new StdQTException(i);
/* 1009 */     return new Atom(i);
/*      */   }
View Full Code Here


/*     */           }
/*  58 */           return new Integer(CompressionDialog.this.res);
/*     */         }
/*     */       })).intValue();
/*     */
/*  61 */       if (this.res == 1) throw new StdQTException(-128);
/*  62 */       StdQTException.checkError(this.res);
/*     */     }
/*     */     else {
/*  65 */       synchronized (QTNative.globalsLock) {
/*  66 */         this.res = SCRequestImageSettings(_ID());
/*  67 */         if (this.res == 1) throw new StdQTException(-128);
/*  68 */         StdQTException.checkError(this.res);
/*     */       }
/*     */     }
/*     */   }
View Full Code Here

/*      */
/*      */   private static int allocate(ImageCompressionDialog paramImageCompressionDialog, QDRect paramQDRect, int paramInt) throws QTException {
/*  442 */     int[] arrayOfInt = new int[1];
/*  443 */     StdQTException.checkError(SCNewGWorld(QTObject.ID(paramImageCompressionDialog), arrayOfInt, paramQDRect != null ? paramQDRect.getRect() : null, paramInt));
/*      */
/*  446 */     if (arrayOfInt[0] == 0) throw new StdQTException(-50);
/*  447 */     return arrayOfInt[0];
/*      */   }
View Full Code Here

/*      */
/*      */   public void setInputPixmap(QDGraphics paramQDGraphics)
/*      */     throws StdQTException
/*      */   {
/*  237 */     if (paramQDGraphics == null)
/*  238 */       throw new StdQTException(-50);
/*  239 */     int i = 0;
/*      */
/*  241 */     synchronized (QTNative.globalsLock) {
/*  242 */       if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4)))
/*  243 */         GetGWorld(savedPort, savedDevice);
View Full Code Here

/*  562 */       StdQTException.checkError(j);
/*      */     }
/*      */     else {
/*  565 */       synchronized (QTNative.globalsLock) {
/*  566 */         j = GraphicsExportRequestSettings(_ID(), 0, 0);
/*  567 */         if (j == 1) throw new StdQTException(-128);
/*  568 */         StdQTException.checkError(j);
/*      */       }
/*      */     }
/*      */   }
View Full Code Here

/*      */   }
/*      */
/*      */   public final void setPort(QDGraphics paramQDGraphics)
/*      */     throws StdQTException
/*      */   {
/* 1106 */     if (paramQDGraphics == null) throw new StdQTException(-50);
/* 1107 */     synchronized (QTNative.globalsLock) {
/* 1108 */       StdQTException.checkError(MCSetControllerPort(_ID(), QTObject.ID(paramQDGraphics)));
/*      */     }
/*      */
/* 1112 */     this.currentPort = QTObject.ID(paramQDGraphics);
View Full Code Here

/*      */
/*      */   public final void activate(QDGraphics paramQDGraphics, boolean paramBoolean)
/*      */     throws StdQTException, QDException
/*      */   {
/* 1250 */     if ((!QTSession.isCurrentOS(4)) &&
/* 1251 */       (paramQDGraphics == null)) throw new StdQTException(-50);
/* 1252 */     synchronized (QTNative.globalsLock) {
/* 1253 */       int i = MCActivate(_ID(), QTObject.ID(paramQDGraphics), (byte)(paramBoolean ? 1 : 0));
/* 1254 */       StdQTException.checkError(i);
/*      */     }
/*      */   }
View Full Code Here

/*      */   }
/*      */
/*      */   public final void invalidate(QDGraphics paramQDGraphics, Region paramRegion)
/*      */     throws StdQTException, QDException
/*      */   {
/* 1481 */     if (paramQDGraphics == null) throw new StdQTException(-50);
/* 1482 */     synchronized (QTNative.globalsLock) {
/* 1483 */       int i = MCInvalidate(_ID(), QTObject.ID(paramQDGraphics), QTObject.ID(paramRegion));
/* 1484 */       StdQTException.checkError(i);
/*      */     }
/*      */   }
View Full Code Here

/*  64 */     int i = getIntFromPointer(_ID(), 0);
/*  65 */     if (i != -1) {
/*  66 */       return i;
/*     */     }
/*  68 */     System.out.println("XMLElement.getIdentifier() called but is xmlIdentifierUnrecognized");
/*  69 */     throw new StdQTException(-50);
/*     */   }
View Full Code Here

/*  89 */       int j = getIntFromPointer(_ID(), 4);
/*  90 */       String str = getStringFromPointer(j);
/*  91 */       return str;
/*     */     }
/*  93 */     System.out.println("XMLElement.getName() called but not xmlIdentifierUnrecognized");
/*  94 */     throw new StdQTException(-50);
/*     */   }
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.