Package quicktime.std.movies.media

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

/*     */ package quicktime.std.movies.media;
/*     */
/*     */ import quicktime.QTException;
/*     */ import quicktime.QTSession;
/*     */ import quicktime.util.EndianDescriptor;
/*     */ import quicktime.util.EndianFlipSpec;
/*     */
/*     */ public final class FlashDescription extends SampleDescription
/*     */ {
/*  25 */   private static boolean apriori = QTSession.apriori();
/*     */   public 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 FlashDescription()
/*     */     throws QTException
/*     */   {
/*  66 */     super(28, true, 1718383464);
/*     */   }
/*     */   private FlashDescription(int paramInt) {
/*  69 */     super(paramInt, null, false);
/*     */   }
/*     */
/*     */   public Object clone() {
/*  73 */     return new FlashDescription(makeAndCopyHandle());
/*     */   }
/*     */
/*     */   public void setVersion(int paramInt)
/*     */   {
/*  79 */     setIntAt(16, paramInt);
/*     */   }
/*     */
/*     */   public int getVersion()
/*     */   {
/*  85 */     return getIntAt(16);
/*     */   }
/*     */
/*     */   public void setDecompressorType(int paramInt)
/*     */   {
/*  91 */     setIntAt(20, paramInt);
/*     */   }
/*     */
/*     */   public int getDecompressorType()
/*     */   {
/*  97 */     return getIntAt(20);
/*     */   }
/*     */
/*     */   public void setSampleFlags(int paramInt)
/*     */   {
/* 104 */     setIntAt(24, paramInt);
/*     */   }
/*     */
/*     */   public int getSampleFlags()
/*     */   {
/* 110 */     return getIntAt(24);
/*     */   }
/*     */ }

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

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

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.