Package quicktime.std.comp

Examples of quicktime.std.comp.ComponentDescription


    public static void main (String[  ] args) {
        try {
            QTSessionCheck.check( );
            /* use this wildcard to show all components in QT
            */
            ComponentDescription wildcard =
                new ComponentDescription( );
            ComponentIdentifier ci = null;
            while ( (ci = ComponentIdentifier.find(ci, wildcard)) != null) {
                ComponentDescription cd = ci.getInfo( );
                System.out.println (cd.getName( ) +
                                    " (" +
                                    QTUtils.fromOSType (cd.getType( )) +
                                    "/" +
                                    QTUtils.fromOSType (cd.getSubType( )) +
                                    ") " +
                                    cd.getInformationString( ));
            }
           
        } catch (QTException qte) {
            qte.printStackTrace( );
        }
View Full Code Here


/*  70 */     super(allocate(paramInt1, paramInt2, paramInt3));
/*  71 */     initialize(paramSourcerInitParams);
/*     */   }
/*     */
/*     */   private static int allocate(int paramInt1, int paramInt2, int paramInt3) throws QTException {
/*  75 */     ComponentDescription localComponentDescription = new ComponentDescription(paramInt1);
/*  76 */     localComponentDescription.setSubType(paramInt2);
/*  77 */     localComponentDescription.setManufacturer(paramInt3);
/*  78 */     ComponentIdentifier localComponentIdentifier = ComponentIdentifier.find(localComponentDescription);
/*  79 */     return QTObject.ID(localComponentIdentifier);
/*     */   }
View Full Code Here

/*  27 */     this.sg = paramSequenceGrabber;
/*     */   }
/*     */
/*     */   private short callbackProc(int paramInt1, int paramInt2, int paramInt3, int paramInt4, int paramInt5, int paramInt6, short paramShort, int paramInt7)
/*     */   {
/*  84 */     ComponentDescription localComponentDescription = new ComponentDescription();
/*  85 */     int i = GetComponentInfo(paramInt1, localComponentDescription.getBytes(), 0, 0, 0);
/*  86 */     if (i < 0)
/*  87 */       return (short)i;
/*     */     try
/*     */     {
/*  90 */       int j = localComponentDescription.getSubType();
/*  91 */       Object localObject = null;
/*  92 */       if (j == 1936684398) {
/*  93 */         localObject = new SGSoundChannel(paramInt1, this.sg);
/*     */       }
/*  95 */       else if (j == 1986618469) {
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public void checkForEffect(int paramInt)
/*     */     throws QTException
/*     */   {
/* 313 */     ComponentDescription localComponentDescription = new ComponentDescription();
/* 314 */     localComponentDescription.setType(QTUtils.toOSType("imdc"));
/* 315 */     localComponentDescription.setSubType(paramInt);
/* 316 */     ComponentIdentifier localComponentIdentifier = ComponentIdentifier.find(localComponentDescription);
/* 317 */     if (localComponentIdentifier == null) throw new StdQTException(-50);
/*     */   }
View Full Code Here

TOP

Related Classes of quicktime.std.comp.ComponentDescription

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.