Package quicktime.util

Examples of quicktime.util.QTHandle


/*     */   }
/*     */
/*     */   public QTHandle putIntoHandle()
/*     */     throws QTException
/*     */   {
/* 181 */     QTHandle localQTHandle = new QTHandle();
/* 182 */     int i = PutUserDataIntoHandle(_ID(), QTObject.ID(localQTHandle));
/* 183 */     StdQTException.checkError(i);
/* 184 */     return localQTHandle;
/*     */   }
View Full Code Here


/*     */   }
/*     */
/*     */   public QTHandle getData(int paramInt1, int paramInt2)
/*     */     throws QTException
/*     */   {
/* 195 */     QTHandle localQTHandle = new QTHandle();
/* 196 */     int i = GetUserData(_ID(), QTObject.ID(localQTHandle), paramInt1, paramInt2);
/* 197 */     StdQTException.checkError(i);
/* 198 */     return localQTHandle;
/*     */   }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public QTHandle getText(int paramInt1, int paramInt2, short paramShort)
/*     */     throws QTException
/*     */   {
/* 332 */     QTHandle localQTHandle = new QTHandle();
/* 333 */     int i = GetUserDataText(_ID(), QTObject.ID(localQTHandle), paramInt1, paramInt2, paramShort);
/*     */
/* 338 */     StdQTException.checkError(i);
/* 339 */     return localQTHandle;
/*     */   }
View Full Code Here

/*      */   public String getName()
/*      */     throws StdQTException
/*      */   {
/*  553 */     UserData localUserData = UserData.fromTrack(this);
/*      */     try {
/*  555 */       QTHandle localQTHandle = localUserData.getData(1851878757, 1);
/*  556 */       i = localQTHandle.getSize();
/*  557 */       byte[] arrayOfByte = new byte[i];
/*  558 */       localQTHandle.copyToArray(0, arrayOfByte, 0, i);
/*  559 */       return new String(arrayOfByte);
/*      */     } catch (QTException localQTException) {
/*  561 */       int i = localQTException.errorCode();
/*  562 */       if (i != -2026)
/*  563 */         throw new StdQTException(i);
View Full Code Here

/*  587 */           throw new StdQTException(j);
/*      */       }
/*      */     }
/*      */     else
/*      */     {
/*  592 */       QTHandle localQTHandle = new QTHandle(i, false);
/*  593 */       localQTHandle.copyFromArray(0, paramString.getBytes(), 0, i);
/*  594 */       localUserData.setDataItem(localQTHandle.toQTPointer(), 1851878757, 1);
/*      */     }
/*      */   }
View Full Code Here

/* 161 */     byte[] arrayOfByte = { 0 };
/*     */
/* 164 */     int j = MovieMediaGetChildMovieDataReference(_ID(), paramInt1, paramInt2, i, arrayOfByte, paramInt1, paramInt2);
/*     */
/* 166 */     StdQTException.checkError(j);
/* 167 */     return new DataRef(new QTHandle(arrayOfByte));
/*     */   }
View Full Code Here

/*     */   public QTHandle getData()
/*     */     throws QTException
/*     */   {
/* 100 */     int i = getIntAt(4);
/* 101 */     int j = getIntFromHandle(i, 0);
/* 102 */     QTHandle localQTHandle = new QTHandle();
/*     */
/* 104 */     setIntInHandle(QTObject.ID(localQTHandle), 0, j);
/* 105 */     return localQTHandle;
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public static void registerAccessKey(String paramString1, int paramInt, String paramString2)
/*     */     throws QTException
/*     */   {
/*  61 */     QTHandle localQTHandle = new QTHandle(paramString2.length(), false);
/*  62 */     localQTHandle.copyFromArray(0, paramString2.getBytes(), 0, paramString2.length());
/*     */
/*  64 */     int i = QTRegisterAccessKey(QTUtils.String2PString(paramString1, 255), paramInt, QTObject.ID(localQTHandle));
/*  65 */     StdQTException.checkError(i);
/*     */   }
View Full Code Here

/*     */   }
/*     */
/*     */   public static void unregisterAccessKey(String paramString1, int paramInt, String paramString2)
/*     */     throws QTException
/*     */   {
/*  96 */     QTHandle localQTHandle = new QTHandle(paramString2.length(), false);
/*  97 */     localQTHandle.copyFromArray(0, paramString2.getBytes(), 0, paramString2.length());
/*     */
/*  99 */     int i = QTUnregisterAccessKey(QTUtils.String2PString(paramString1, 255), paramInt, QTObject.ID(localQTHandle));
/* 100 */     StdQTException.checkError(i);
/*     */   }
View Full Code Here

/*      */   }
/*      */
/*      */   public QTHandle copyAtomDataToHandle(Atom paramAtom)
/*      */     throws QTException
/*      */   {
/*  561 */     QTHandle localQTHandle = new QTHandle();
/*  562 */     StdQTException.checkError(QTCopyAtomDataToHandle(_ID(), paramAtom.getAtom(), QTObject.ID(localQTHandle)));
/*      */
/*  565 */     return localQTHandle;
/*      */   }
View Full Code Here

TOP

Related Classes of quicktime.util.QTHandle

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.