Package quicktime.util

Source Code of quicktime.util.QTHandleRef

/*     */ package quicktime.util;
/*     */
/*     */ import quicktime.QTException;
/*     */ import quicktime.QTObject;
/*     */ import quicktime.QTRuntimeException;
/*     */ import quicktime.QTSession;
/*     */ import quicktime.jdirect.QTNative;
/*     */ import quicktime.qd.QDGraphics;
/*     */ import quicktime.qd.QDRect;
/*     */ import quicktime.std.StdQTException;
/*     */ import quicktime.std.qtcomponents.CompressionDialog;
/*     */ import quicktime.std.qtcomponents.SCInfo;
/*     */ import quicktime.std.qtcomponents.SCSequence;
/*     */
/*     */ public class QTHandleRef extends QTObject
/*     */ {
/* 144 */   private transient boolean locked = false;
/*     */
/*     */   public static SCInfo fromSCSequence(SCSequence paramSCSequence, QDGraphics paramQDGraphics, QDRect paramQDRect)
/*     */     throws QTException
/*     */   {
/*  49 */     if (paramQDGraphics == null) {
/*  50 */       throw new StdQTException(-50);
/*     */     }
/*  52 */     int[] arrayOfInt1 = { 0 };
/*  53 */     int[] arrayOfInt2 = { 0 };
/*  54 */     short[] arrayOfShort = { 0 };
/*  55 */     int[] arrayOfInt3 = { 0 };
/*  56 */     int[] arrayOfInt4 = { 0 };
/*     */
/*  58 */     int i = 0;
/*     */
/*  60 */     synchronized (QTNative.globalsLock) {
/*  61 */       if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4)))
/*  62 */         GetGWorld(arrayOfInt3, arrayOfInt4);
/*  63 */       SetGWorld(QTObject.ID(paramQDGraphics), 0);
/*  64 */       i = SCCompressSequenceFrame(QTObject.ID(paramSCSequence.getDialog()), QTObject.ID(paramQDGraphics.getPixMap()), paramQDRect != null ? paramQDRect.getRect() : null, arrayOfInt1, arrayOfInt2, arrayOfShort);
/*     */
/*  70 */       if ((QTSession.isCurrentOS(1)) || (QTSession.isCurrentOS(4))) {
/*  71 */         SetGWorld(arrayOfInt3[0], arrayOfInt4[0]);
/*     */       }
/*     */     }
/*  74 */     if (i == 1) {
/*  75 */       throw new StdQTException(-128);
/*     */     }
/*  77 */     StdQTException.checkError(i);
/*     */
/*  79 */     return new SCInfo(new QTHandleRef(arrayOfInt1[0], paramSCSequence, false), arrayOfInt2[0], arrayOfShort[0]);
/*     */   }
/*     */
/*     */   public static QTHandleRef fromCompressionDialogState(CompressionDialog paramCompressionDialog)
/*     */     throws QTException
/*     */   {
/*  88 */     int[] arrayOfInt = { 0 };
/*  89 */     StdQTException.checkError(SCGetInfo(QTObject.ID(paramCompressionDialog), 1936946273, arrayOfInt));
/*     */
/*  92 */     return new QTHandleRef(arrayOfInt[0], null, false);
/*     */   }
/*     */
/*     */   protected QTHandleRef(int paramInt, boolean paramBoolean)
/*     */     throws QTException
/*     */   {
/* 106 */     super(allocate(paramInt, paramBoolean));
/* 107 */     UtilException.checkError(MemError());
/* 108 */     this.locked = false;
/*     */   }
/*     */
/*     */   protected QTHandleRef(int paramInt, Object paramObject, boolean paramBoolean)
/*     */   {
/* 117 */     super(paramInt, paramObject);
/* 118 */     this.locked = paramBoolean;
/*     */   }
/*     */
/*     */   protected QTHandleRef(int paramInt1, Object paramObject, boolean paramBoolean, int paramInt2)
/*     */   {
/* 123 */     super(paramInt1, paramObject, paramInt2);
/* 124 */     this.locked = paramBoolean;
/*     */   }
/*     */
/*     */   private static int allocate(int paramInt, boolean paramBoolean)
/*     */     throws UtilException
/*     */   {
/* 134 */     if (QTSession.hasSecurityRestrictions()) {
/* 135 */       paramBoolean = true;
/*     */     }
/*     */
/* 138 */     int i = paramBoolean ? NewHandleClear(paramInt) : NewHandle(paramInt);
/* 139 */     if (i == 0) throw new UtilException(-108);
/* 140 */     return i;
/*     */   }
/*     */
/*     */   public int getSize()
/*     */   {
/* 151 */     return GetHandleSize(_ID());
/*     */   }
/*     */
/*     */   public byte[] getBytes()
/*     */   {
/* 158 */     int i = getSize();
/* 159 */     byte[] arrayOfByte = new byte[i];
/* 160 */     getBytesAt(0, i, arrayOfByte, 0);
/* 161 */     return arrayOfByte;
/*     */   }
/*     */
/*     */   protected final void getBytesAt(int paramInt1, int paramInt2, byte[] paramArrayOfByte, int paramInt3)
/*     */   {
/* 172 */     copyPointerToArray(lockAndDeref(0), paramInt1, paramArrayOfByte, paramInt3, paramInt2);
/* 173 */     if (!this.locked) unlock();
/*     */   }
/*     */
/*     */   public final void copyToArray(int paramInt1, byte[] paramArrayOfByte, int paramInt2, int paramInt3)
/*     */   {
/* 185 */     QTUtils.doBoundsChecks(lockAndDeref(0), paramInt1, getSize(), paramInt3, 1, paramInt2, paramArrayOfByte.length);
/* 186 */     getBytesAt(paramInt1, paramInt3, paramArrayOfByte, paramInt2);
/* 187 */     if (!this.locked) unlock();
/*     */   }
/*     */
/*     */   public final void copyToArray(int paramInt1, short[] paramArrayOfShort, int paramInt2, int paramInt3)
/*     */   {
/* 199 */     QTUtils.doBoundsChecks(lockAndDeref(0), paramInt1, getSize(), paramInt3, 2, paramInt2, paramArrayOfShort.length);
/* 200 */     copyPointerToArray(lockAndDeref(0), paramInt1, paramArrayOfShort, paramInt2 * 2, paramInt3 * 2);
/* 201 */     if (!this.locked) unlock();
/*     */   }
/*     */
/*     */   public final void copyToArray(int paramInt1, char[] paramArrayOfChar, int paramInt2, int paramInt3)
/*     */   {
/* 213 */     QTUtils.doBoundsChecks(lockAndDeref(0), paramInt1, getSize(), paramInt3, 2, paramInt2, paramArrayOfChar.length);
/* 214 */     copyPointerToArray(lockAndDeref(0), paramInt1, paramArrayOfChar, paramInt2 * 2, paramInt3 * 2);
/* 215 */     if (!this.locked) unlock();
/*     */   }
/*     */
/*     */   public final void copyToArray(int paramInt1, int[] paramArrayOfInt, int paramInt2, int paramInt3)
/*     */   {
/* 227 */     QTUtils.doBoundsChecks(lockAndDeref(0), paramInt1, getSize(), paramInt3, 4, paramInt2, paramArrayOfInt.length);
/* 228 */     copyPointerToArray(lockAndDeref(0), paramInt1, paramArrayOfInt, paramInt2 * 4, paramInt3 * 4);
/* 229 */     if (!this.locked) unlock();
/*     */   }
/*     */
/*     */   public final void copyToArray(int paramInt1, float[] paramArrayOfFloat, int paramInt2, int paramInt3)
/*     */   {
/* 241 */     QTUtils.doBoundsChecks(lockAndDeref(0), paramInt1, getSize(), paramInt3, 4, paramInt2, paramArrayOfFloat.length);
/* 242 */     copyPointerToArray(lockAndDeref(0), paramInt1, paramArrayOfFloat, paramInt2 * 4, paramInt3 * 4);
/* 243 */     if (!this.locked) unlock();
/*     */   }
/*     */
/*     */   public final void copyToArray(int paramInt1, long[] paramArrayOfLong, int paramInt2, int paramInt3)
/*     */   {
/* 255 */     QTUtils.doBoundsChecks(lockAndDeref(0), paramInt1, getSize(), paramInt3, 8, paramInt2, paramArrayOfLong.length);
/* 256 */     copyPointerToArray(lockAndDeref(0), paramInt1, paramArrayOfLong, paramInt2 * 8, paramInt3 * 8);
/* 257 */     if (!this.locked) unlock();
/*     */   }
/*     */
/*     */   public final void copyToArray(int paramInt1, double[] paramArrayOfDouble, int paramInt2, int paramInt3)
/*     */   {
/* 269 */     QTUtils.doBoundsChecks(lockAndDeref(0), paramInt1, getSize(), paramInt3, 8, paramInt2, paramArrayOfDouble.length);
/* 270 */     copyPointerToArray(lockAndDeref(0), paramInt1, paramArrayOfDouble, paramInt2 * 8, paramInt3 * 8);
/* 271 */     if (!this.locked) unlock();
/*     */   }
/*     */
/*     */   protected final void setBytesAt(int paramInt1, int paramInt2, byte[] paramArrayOfByte, int paramInt3)
/*     */   {
/* 276 */     copyArrayToPointer(paramArrayOfByte, paramInt3, lockAndDeref(0), paramInt1, paramInt2);
/* 277 */     if (!this.locked) unlock();
/*     */   }
/*     */
/*     */   public final void copyFromArray(int paramInt1, byte[] paramArrayOfByte, int paramInt2, int paramInt3)
/*     */   {
/* 289 */     QTUtils.doBoundsChecks(lockAndDeref(0), paramInt1, getSize(), paramInt3, 1, paramInt2, paramArrayOfByte.length);
/* 290 */     setBytesAt(paramInt1, paramInt3, paramArrayOfByte, paramInt2);
/*     */   }
/*     */
/*     */   public final void copyFromArray(int paramInt1, short[] paramArrayOfShort, int paramInt2, int paramInt3)
/*     */   {
/* 302 */     QTUtils.doBoundsChecks(lockAndDeref(0), paramInt1, getSize(), paramInt3, 2, paramInt2, paramArrayOfShort.length);
/* 303 */     copyArrayToPointer(paramArrayOfShort, paramInt2 * 2, lockAndDeref(0), paramInt1, paramInt3 * 2);
/* 304 */     if (!this.locked) unlock();
/*     */   }
/*     */
/*     */   public final void copyFromArray(int paramInt1, char[] paramArrayOfChar, int paramInt2, int paramInt3)
/*     */   {
/* 316 */     QTUtils.doBoundsChecks(lockAndDeref(0), paramInt1, getSize(), paramInt3, 2, paramInt2, paramArrayOfChar.length);
/* 317 */     copyArrayToPointer(paramArrayOfChar, paramInt2 * 2, lockAndDeref(0), paramInt1, paramInt3 * 2);
/* 318 */     if (!this.locked) unlock();
/*     */   }
/*     */
/*     */   public final void copyFromArray(int paramInt1, int[] paramArrayOfInt, int paramInt2, int paramInt3)
/*     */   {
/* 330 */     QTUtils.doBoundsChecks(lockAndDeref(0), paramInt1, getSize(), paramInt3, 4, paramInt2, paramArrayOfInt.length);
/* 331 */     copyArrayToPointer(paramArrayOfInt, paramInt2 * 4, lockAndDeref(0), paramInt1, paramInt3 * 4);
/* 332 */     if (!this.locked) unlock();
/*     */   }
/*     */
/*     */   public final void copyFromArray(int paramInt1, float[] paramArrayOfFloat, int paramInt2, int paramInt3)
/*     */   {
/* 344 */     QTUtils.doBoundsChecks(lockAndDeref(0), paramInt1, getSize(), paramInt3, 4, paramInt2, paramArrayOfFloat.length);
/* 345 */     copyArrayToPointer(paramArrayOfFloat, paramInt2 * 4, lockAndDeref(0), paramInt1, paramInt3 * 4);
/* 346 */     if (!this.locked) unlock();
/*     */   }
/*     */
/*     */   public final void copyFromArray(int paramInt1, long[] paramArrayOfLong, int paramInt2, int paramInt3)
/*     */   {
/* 358 */     QTUtils.doBoundsChecks(lockAndDeref(0), paramInt1, getSize(), paramInt3, 8, paramInt2, paramArrayOfLong.length);
/* 359 */     copyArrayToPointer(paramArrayOfLong, paramInt2 * 8, lockAndDeref(0), paramInt1, paramInt3 * 8);
/* 360 */     if (!this.locked) unlock();
/*     */   }
/*     */
/*     */   public final void copyFromArray(int paramInt1, double[] paramArrayOfDouble, int paramInt2, int paramInt3)
/*     */   {
/* 372 */     QTUtils.doBoundsChecks(lockAndDeref(0), paramInt1, getSize(), paramInt3, 8, paramInt2, paramArrayOfDouble.length);
/* 373 */     copyArrayToPointer(paramArrayOfDouble, paramInt2 * 8, lockAndDeref(0), paramInt1, paramInt3 * 8);
/* 374 */     if (!this.locked) unlock();
/*     */   }
/*     */
/*     */   public boolean inMemory()
/*     */   {
/* 395 */     return getIntFromPointer(_ID(), 0) != 0;
/*     */   }
/*     */
/*     */   public final boolean isLocked() {
/* 399 */     return this.locked;
/*     */   }
/*     */
/*     */   public final void lock() {
/* 403 */     this.locked = true;
/* 404 */     doLock();
/*     */   }
/*     */
/*     */   protected void doLock() {
/* 408 */     HLock(_ID());
/*     */   }
/*     */
/*     */   public final void unlock() {
/* 412 */     this.locked = false;
/* 413 */     doUnlock();
/*     */   }
/*     */
/*     */   public void lockHigh()
/*     */   {
/* 420 */     HLockHi(_ID());
/* 421 */     this.locked = true;
/*     */   }
/*     */
/*     */   public final void moveHigh()
/*     */   {
/* 429 */     MoveHHi(_ID());
/*     */   }
/*     */   protected void doUnlock() {
/* 432 */     HUnlock(_ID());
/*     */   }
/*     */
/*     */   public String toString() {
/* 436 */     return getClass().getName() + "[size=" + getSize() + "]";
/*     */   }
/*     */
/*     */   protected final int lockAndDeref(int paramInt)
/*     */   {
/* 443 */     doLock();
/* 444 */     int i = getIntFromPointer(_ID(), 0);
/* 445 */     return i + paramInt;
/*     */   }
/*     */
/*     */   protected final int makeAndCopyHandle()
/*     */   {
/* 450 */     return makeAndCopyHandle(0, GetHandleSize(_ID()));
/*     */   }
/*     */
/*     */   protected int makeAndCopyHandle(int paramInt1, int paramInt2)
/*     */   {
/* 457 */     QTUtils.checkQTObjectSizeAndOffset(toQTPointer(), paramInt1, paramInt2, null);
/*     */
/* 459 */     int i = 0;
/*     */     try {
/* 461 */       i = allocate(paramInt2, false);
/*     */     } catch (UtilException localUtilException) {
/* 463 */       throw new QTRuntimeException(localUtilException);
/*     */     }
/* 465 */     HLock(i);
/*     */
/* 467 */     BlockMove(lockAndDeref(0) + paramInt1, getIntFromPointer(i, 0) + 0, paramInt2);
/* 468 */     if (!this.locked) unlock();
/* 469 */     HUnlock(i);
/* 470 */     return i;
/*     */   }
/*     */
/*     */   protected void copyFromHandle(int paramInt1, QTHandleRef paramQTHandleRef, int paramInt2, int paramInt3)
/*     */   {
/* 478 */     QTUtils.checkQTObjectSizeAndOffset(paramQTHandleRef, paramInt2, paramInt3, null);
/*     */
/* 482 */     if ((paramInt1 < 0) || (getIntFromPointer(_ID(), 0) > 2147483647 - paramInt1)) {
/* 483 */       throw new ArrayIndexOutOfBoundsException();
/*     */     }
/* 485 */     BlockMove(paramQTHandleRef.lockAndDeref(0) + paramInt2, getIntFromPointer(_ID(), 0) + paramInt1, paramInt3);
/* 486 */     if (!paramQTHandleRef.isLocked()) paramQTHandleRef.unlock();
/*     */   }
/*     */
/*     */   public QTPointerRef toQTPointer()
/*     */   {
/* 495 */     lock();
/* 496 */     return new QTPointerRef(lockAndDeref(0), getSize(), this);
/*     */   }
/*     */
/*     */   public QTPointerRef toQTPointer(int paramInt1, int paramInt2)
/*     */   {
/* 508 */     int i = _ID();
/* 509 */     int j = getSize();
/*     */
/* 513 */     int k = paramInt2 + paramInt1 > getSize() ? getSize() - paramInt1 : paramInt2;
/*     */
/* 516 */     QTUtils.checkQTObjectSizeAndOffset(toQTPointer(), paramInt1, k, null);
/*     */
/* 518 */     lock();
/* 519 */     return new QTPointerRef(lockAndDeref(paramInt1), k, this);
/*     */   }
/*     */   protected byte getByteAt(int paramInt) {
/* 522 */     return getByteFromHandle(_ID(), paramInt); }
/* 523 */   protected short getShortAt(int paramInt) { return getShortFromHandle(_ID(), paramInt); }
/* 524 */   protected int getIntAt(int paramInt) { return getIntFromHandle(_ID(), paramInt); }
/* 525 */   protected long getLongAt(int paramInt) { return getLongFromHandle(_ID(), paramInt); }
/* 526 */   protected float getFloatAt(int paramInt) { return getFloatFromHandle(_ID(), paramInt); }
/* 527 */   protected double getDoubleAt(int paramInt) { return getDoubleFromHandle(_ID(), paramInt); }
/*     */   protected void setByteAt(int paramInt, byte paramByte) {
/* 529 */     setByteInHandle(_ID(), paramInt, paramByte); }
/* 530 */   protected void setShortAt(int paramInt, short paramShort) { setShortInHandle(_ID(), paramInt, paramShort); }
/* 531 */   protected void setIntAt(int paramInt1, int paramInt2) { setIntInHandle(_ID(), paramInt1, paramInt2); }
/* 532 */   protected void setLongAt(int paramInt, long paramLong) { setLongInHandle(_ID(), paramInt, paramLong); }
/* 533 */   protected void setFloatAt(int paramInt, float paramFloat) { setFloatInHandle(_ID(), paramInt, paramFloat); }
/* 534 */   protected void setDoubleAt(int paramInt, double paramDouble) { setDoubleInHandle(_ID(), paramInt, paramDouble); }
/*     */
/*     */
/*     */   protected int strlen(int paramInt)
/*     */   {
/* 542 */     int i = 0;
/* 543 */     while (getByteAt(paramInt++) != 0) i++;
/* 544 */     return i;
/*     */   }
/*     */
/*     */   protected String getCStringAt(int paramInt)
/*     */     throws UtilException
/*     */   {
/* 553 */     int i = strlen(paramInt);
/* 554 */     if (i > getSize()) throw new UtilException(-50);
/*     */
/* 556 */     byte[] arrayOfByte = new byte[i];
/* 557 */     getBytesAt(paramInt, i, arrayOfByte, 0);
/*     */
/* 559 */     return new String(arrayOfByte);
/*     */   }
/*     */
/*     */   protected void setCStringAt(int paramInt1, int paramInt2, String paramString)
/*     */     throws UtilException
/*     */   {
/* 570 */     paramInt2 = Math.min(paramInt2, paramString.length());
/* 571 */     if (paramInt2 + paramInt1 > getSize()) throw new UtilException(-50);
/*     */
/* 573 */     byte[] arrayOfByte = paramString.getBytes();
/* 574 */     setBytesAt(paramInt1, paramInt2, arrayOfByte, 0);
/* 575 */     setByteAt(paramInt1 + paramInt2, (byte)0);
/*     */   }
/*     */
/*     */   protected String getPStringAt(int paramInt)
/*     */     throws UtilException
/*     */   {
/* 584 */     int i = getByteAt(paramInt++);
/* 585 */     if (i > getSize()) throw new UtilException(-50);
/*     */
/* 587 */     if (i > 0) {
/* 588 */       byte[] arrayOfByte = new byte[i];
/* 589 */       getBytesAt(paramInt, i, arrayOfByte, 0);
/* 590 */       return new String(arrayOfByte);
/*     */     }
/*     */
/* 593 */     return "";
/*     */   }
/*     */
/*     */   protected void setPStringAt(int paramInt1, int paramInt2, String paramString)
/*     */     throws UtilException
/*     */   {
/* 605 */     paramInt2 = Math.min(Math.min(paramInt2, paramString.length()), 255);
/* 606 */     if (paramInt2 + paramInt1 > getSize()) throw new UtilException(-50);
/*     */
/* 608 */     setByteAt(paramInt1++, (byte)paramInt2);
/*     */
/* 610 */     byte[] arrayOfByte = paramString.getBytes();
/* 611 */     setBytesAt(paramInt1, paramInt2, arrayOfByte, 0);
/*     */   }
/*     */
/*     */   private static native int SCCompressSequenceFrame(int paramInt1, int paramInt2, byte[] paramArrayOfByte, int[] paramArrayOfInt1, int[] paramArrayOfInt2, short[] paramArrayOfShort);
/*     */
/*     */   private static native int SCGetInfo(int paramInt1, int paramInt2, int[] paramArrayOfInt);
/*     */
/*     */   private static native int GetHandleSize(int paramInt);
/*     */
/*     */   private static native void HLock(int paramInt);
/*     */
/*     */   private static native void HLockHi(int paramInt);
/*     */
/*     */   private static native void MoveHHi(int paramInt);
/*     */
/*     */   private static native void HUnlock(int paramInt);
/*     */
/*     */   private static native short MemError();
/*     */
/*     */   private static native int NewHandleClear(int paramInt);
/*     */
/*     */   private static native int NewHandle(int paramInt);
/*     */
/*     */   private static native void BlockMove(int paramInt1, int paramInt2, int paramInt3);
/*     */
/*     */   private static native void SetGWorld(int paramInt1, int paramInt2);
/*     */
/*     */   private static native void GetGWorld(int[] paramArrayOfInt1, int[] paramArrayOfInt2);
/*     */
/*     */   private static native void copyPointerToArray(int paramInt1, int paramInt2, byte[] paramArrayOfByte, int paramInt3, int paramInt4);
/*     */
/*     */   private static native void copyPointerToArray(int paramInt1, int paramInt2, short[] paramArrayOfShort, int paramInt3, int paramInt4);
/*     */
/*     */   private static native void copyPointerToArray(int paramInt1, int paramInt2, char[] paramArrayOfChar, int paramInt3, int paramInt4);
/*     */
/*     */   private static native void copyPointerToArray(int paramInt1, int paramInt2, int[] paramArrayOfInt, int paramInt3, int paramInt4);
/*     */
/*     */   private static native void copyPointerToArray(int paramInt1, int paramInt2, float[] paramArrayOfFloat, int paramInt3, int paramInt4);
/*     */
/*     */   private static native void copyPointerToArray(int paramInt1, int paramInt2, long[] paramArrayOfLong, int paramInt3, int paramInt4);
/*     */
/*     */   private static native void copyPointerToArray(int paramInt1, int paramInt2, double[] paramArrayOfDouble, int paramInt3, int paramInt4);
/*     */
/*     */   private static native void copyArrayToPointer(byte[] paramArrayOfByte, int paramInt1, int paramInt2, int paramInt3, int paramInt4);
/*     */
/*     */   private static native void copyArrayToPointer(short[] paramArrayOfShort, int paramInt1, int paramInt2, int paramInt3, int paramInt4);
/*     */
/*     */   private static native void copyArrayToPointer(char[] paramArrayOfChar, int paramInt1, int paramInt2, int paramInt3, int paramInt4);
/*     */
/*     */   private static native void copyArrayToPointer(int[] paramArrayOfInt, int paramInt1, int paramInt2, int paramInt3, int paramInt4);
/*     */
/*     */   private static native void copyArrayToPointer(float[] paramArrayOfFloat, int paramInt1, int paramInt2, int paramInt3, int paramInt4);
/*     */
/*     */   private static native void copyArrayToPointer(long[] paramArrayOfLong, int paramInt1, int paramInt2, int paramInt3, int paramInt4);
/*     */
/*     */   private static native void copyArrayToPointer(double[] paramArrayOfDouble, int paramInt1, int paramInt2, int paramInt3, int paramInt4);
/*     */
/*     */   private static native int getIntFromPointer(int paramInt1, int paramInt2);
/*     */
/*     */   private static native byte getByteFromHandle(int paramInt1, int paramInt2);
/*     */
/*     */   private static native short getShortFromHandle(int paramInt1, int paramInt2);
/*     */
/*     */   private static native int getIntFromHandle(int paramInt1, int paramInt2);
/*     */
/*     */   private static native long getLongFromHandle(int paramInt1, int paramInt2);
/*     */
/*     */   private static native float getFloatFromHandle(int paramInt1, int paramInt2);
/*     */
/*     */   private static native double getDoubleFromHandle(int paramInt1, int paramInt2);
/*     */
/*     */   private static native void setByteInHandle(int paramInt1, int paramInt2, byte paramByte);
/*     */
/*     */   private static native void setShortInHandle(int paramInt1, int paramInt2, short paramShort);
/*     */
/*     */   private static native void setIntInHandle(int paramInt1, int paramInt2, int paramInt3);
/*     */
/*     */   private static native void setLongInHandle(int paramInt1, int paramInt2, long paramLong);
/*     */
/*     */   private static native void setFloatInHandle(int paramInt1, int paramInt2, float paramFloat);
/*     */
/*     */   private static native void setDoubleInHandle(int paramInt1, int paramInt2, double paramDouble);
/*     */ }

/* Location:           Z:\System\Library\Java\Extensions\QTJava.zip
* Qualified Name:     quicktime.util.QTHandleRef
* JD-Core Version:    0.6.2
*/
TOP

Related Classes of quicktime.util.QTHandleRef

TOP
Copyright © 2018 www.massapi.com. 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.