Package quicktime.std.movies.media

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

/*     */ package quicktime.std.movies.media;
/*     */
/*     */ import quicktime.QTException;
/*     */ import quicktime.QTSession;
/*     */ import quicktime.util.EndianDescriptor;
/*     */ import quicktime.util.EndianFlipSpec;
/*     */
/*     */ public final class SpriteDescription extends SampleDescription
/*     */ {
/*  25 */   private static boolean apriori = QTSession.apriori();
/*     */   public static final int kNativeSize = 28;
/*     */   private static EndianDescriptor ed;
/*     */
/*     */   protected static EndianDescriptor makeED()
/*     */   {
/*  34 */     EndianDescriptor localEndianDescriptor = SampleDescription.makeED();
/*     */
/*  36 */     EndianFlipSpec localEndianFlipSpec = new EndianFlipSpec(16, 4, 3);
/*  37 */     localEndianDescriptor.addFlipSpec(localEndianFlipSpec);
/*  38 */     return localEndianDescriptor;
/*     */   }
/*     */
/*     */   public static EndianDescriptor getEndianDescriptor()
/*     */   {
/*  46 */     if (ed == null)
/*  47 */       ed = makeED();
/*  48 */     return ed;
/*     */   }
/*     */
/*     */   public SpriteDescription()
/*     */     throws QTException
/*     */   {
/*  72 */     super(28, true, 1936749172);
/*     */   }
/*     */   private SpriteDescription(int paramInt) {
/*  75 */     super(paramInt, null, false);
/*     */   }
/*     */
/*     */   public Object clone() {
/*  79 */     return new SpriteDescription(makeAndCopyHandle());
/*     */   }
/*     */
/*     */   public void setVersion(int paramInt)
/*     */   {
/*  85 */     setIntAt(16, paramInt);
/*     */   }
/*     */
/*     */   public int getVersion()
/*     */   {
/*  91 */     return getIntAt(16);
/*     */   }
/*     */
/*     */   public void setDecompressorType(int paramInt)
/*     */   {
/*  97 */     setIntAt(20, paramInt);
/*     */   }
/*     */
/*     */   public int getDecompressorType()
/*     */   {
/* 103 */     return getIntAt(20);
/*     */   }
/*     */
/*     */   public void setSampleFlags(int paramInt)
/*     */   {
/* 110 */     setIntAt(24, paramInt);
/*     */   }
/*     */
/*     */   public int getSampleFlags()
/*     */   {
/* 116 */     return getIntAt(24);
/*     */   }
/*     */ }

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

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

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.