Package quicktime.std.movies.media

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

/*     */ package quicktime.std.movies.media;
/*     */
/*     */ import quicktime.QTException;
/*     */ import quicktime.QTSession;
/*     */ import quicktime.util.EndianDescriptor;
/*     */ import quicktime.util.EndianFlipSpec;
/*     */
/*     */ public final class ThreeDDescription extends SampleDescription
/*     */ {
/*  25 */   private static boolean apriori = QTSession.apriori();
/*     */
/*  28 */   private static int kThreeDDescriptionSize = 22;
/*     */   private static EndianDescriptor ed;
/*     */
/*     */   protected static EndianDescriptor makeED()
/*     */   {
/*  33 */     EndianDescriptor localEndianDescriptor = SampleDescription.makeED();
/*     */
/*  35 */     EndianFlipSpec localEndianFlipSpec1 = new EndianFlipSpec(16, 2, 1);
/*  36 */     localEndianDescriptor.addFlipSpec(localEndianFlipSpec1);
/*     */
/*  38 */     EndianFlipSpec localEndianFlipSpec2 = new EndianFlipSpec(18, 4, 1);
/*  39 */     localEndianDescriptor.addFlipSpec(localEndianFlipSpec2);
/*     */
/*  41 */     return localEndianDescriptor;
/*     */   }
/*     */
/*     */   public static EndianDescriptor getEndianDescriptor()
/*     */   {
/*  49 */     if (ed == null)
/*  50 */       ed = makeED();
/*  51 */     return ed;
/*     */   }
/*     */
/*     */   public ThreeDDescription(int paramInt)
/*     */     throws QTException
/*     */   {
/*  70 */     super(kThreeDDescriptionSize, true, paramInt);
/*     */   }
/*     */   private ThreeDDescription(int paramInt, Object paramObject) {
/*  73 */     super(paramInt, null, false);
/*     */   }
/*     */
/*     */   public Object clone() {
/*  77 */     return new ThreeDDescription(makeAndCopyHandle(), null);
/*     */   }
/*     */
/*     */   public void setVersion(int paramInt)
/*     */   {
/*  84 */     setShortAt(16, (short)paramInt);
/*     */   }
/*     */
/*     */   public int getVersion()
/*     */   {
/*  91 */     return getShortAt(16);
/*     */   }
/*     */
/*     */   public void setRendererType(int paramInt)
/*     */   {
/*  98 */     setIntAt(18, paramInt);
/*     */   }
/*     */
/*     */   public int getRendererType()
/*     */   {
/* 105 */     return getIntAt(18);
/*     */   }
/*     */ }

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

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

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.