Package quicktime.std.movies.media

Source Code of quicktime.std.movies.media.StreamDescription

/*     */ package quicktime.std.movies.media;
/*     */
/*     */ import quicktime.QTException;
/*     */ import quicktime.QTSession;
/*     */ import quicktime.util.EndianDescriptor;
/*     */ import quicktime.util.EndianFlipSpec;
/*     */
/*     */ public final class StreamDescription extends SampleDescription
/*     */ {
/*  23 */   private static boolean apriori = QTSession.apriori();
/*     */   private static final int kNativeSize = 28;
/*     */   private static EndianDescriptor ed;
/*     */
/*     */   protected static EndianDescriptor makeED()
/*     */   {
/*  45 */     EndianDescriptor localEndianDescriptor = SampleDescription.makeED();
/*     */
/*  47 */     EndianFlipSpec localEndianFlipSpec = new EndianFlipSpec(16, 4, 3);
/*  48 */     localEndianDescriptor.addFlipSpec(localEndianFlipSpec);
/*  49 */     return localEndianDescriptor;
/*     */   }
/*     */
/*     */   public static EndianDescriptor getEndianDescriptor()
/*     */   {
/*  57 */     if (ed == null)
/*  58 */       ed = makeED();
/*  59 */     return ed;
/*     */   }
/*     */
/*     */   public StreamDescription()
/*     */     throws QTException
/*     */   {
/*  67 */     super(28, true, 1920234352);
/*     */   }
/*     */
/*     */   public StreamDescription(int paramInt)
/*     */     throws QTException
/*     */   {
/*  79 */     super(28, true, paramInt);
/*     */   }
/*     */
/*     */   private StreamDescription(int paramInt, Object paramObject) {
/*  83 */     super(paramInt, paramObject, false);
/*     */   }
/*     */
/*     */   public Object clone()
/*     */   {
/*  88 */     return new StreamDescription(makeAndCopyHandle(), null);
/*     */   }
/*     */
/*     */   public void setFlags(int paramInt)
/*     */   {
/*  94 */     setIntAt(24, paramInt);
/*     */   }
/*     */
/*     */   public int getFlags()
/*     */   {
/* 100 */     return getIntAt(24);
/*     */   }
/*     */
/*     */   public void setVersion(int paramInt)
/*     */   {
/* 106 */     setIntAt(16, paramInt);
/*     */   }
/*     */
/*     */   public int getVersion()
/*     */   {
/* 112 */     return getIntAt(16);
/*     */   }
/*     */ }

/* Location:           Z:\System\Library\Java\Extensions\QTJava.zip
* Qualified Name:     quicktime.std.movies.media.StreamDescription
* JD-Core Version:    0.6.2
*/
TOP

Related Classes of quicktime.std.movies.media.StreamDescription

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.