Package quicktime.std.image

Examples of quicktime.std.image.ImageDescription


/*     */
/*     */   /** @deprecated */
/*     */   public ImageDescription getDescription()
/*     */     throws QTException
/*     */   {
/* 271 */     return new ImageDescription(this.mSpriteGWorld.getPixMap());
/*     */   }
View Full Code Here


/*     */
/*     */   private static ImageDescription getDummyID() throws QTException
/*     */   {
/*  59 */     if (id == null) {
/*  60 */       if (QTSession.isCurrentOS(2)) {
/*  61 */         id = new ImageDescription(32);
/*  62 */         id.setDepth(0);
/*     */       } else {
/*  64 */         id = new ImageDescription(1918990112);
/*  65 */         id.setDepth(32);
/*     */       }
/*     */
/*  68 */       id.setSpatialQuality(512);
/*  69 */       id.setWidth(1);
View Full Code Here

/* 246 */     if (this.singleFrameFlag == 6) {
/* 247 */       this.offscreenGraphics = this.offscreenImage.getGraphics();
/*     */     }
/*     */     try
/*     */     {
/* 251 */       ImageDescription localImageDescription = ImageDescription.getJavaDefaultPixelDescription(this.mSize.width, this.mSize.height);
/* 252 */       this.iData = new IntEncodedImage(this.mSize.width * this.mSize.height);
/*     */
/* 254 */       localImageDescription.setDataSize(this.iData.getSize());
/*     */
/* 256 */       this.image.setImageData(this.iData, localImageDescription);
/* 257 */       this.painter.newSizeNotified(this, this.mSize);
/* 258 */       if ((this.painter instanceof JImagePainter))
/* 259 */         ((JImagePainter)this.painter).prepareImage(this.canv);
View Full Code Here

/* 165 */     CSequenceToMemory localCSequenceToMemory = new CSequenceToMemory(2);
/*     */
/* 167 */     QDGraphics localQDGraphics1 = null;
/* 168 */     QDGraphics localQDGraphics2 = null;
/* 169 */     PixMap localPixMap2 = null;
/* 170 */     ImageDescription localImageDescription = null;
/* 171 */     ImageSequenceDataSource localImageSequenceDataSource = null;
/* 172 */     if (j != 0) {
/* 173 */       localQDGraphics1 = new QDGraphics(localQDRect);
/* 174 */       localQDGraphics2 = new QDGraphics(8, localQDRect);
/* 175 */       localPixMap2 = localQDGraphics2.getPixMap();
/* 176 */       localImageDescription = new ImageDescription(localPixMap2);
/* 177 */       localImageDescription.lock();
/*     */     }
/*     */
/* 180 */     if ((paramImageSpec instanceof ImageDataSequence)) {
/* 181 */       ImageDataSequence localImageDataSequence2 = (ImageDataSequence)paramImageSpec;
/* 182 */       for (int k = 1; k <= localImageDataSequence2.size(); k++)
View Full Code Here

/*     */   /** @deprecated */
/*     */   public static ImagePresenter fromGWorld(QDGraphics paramQDGraphics)
/*     */     throws QTException
/*     */   {
/* 108 */     PixMap localPixMap = paramQDGraphics.getPixMap();
/* 109 */     return new ImagePresenter(localPixMap.getPixelData(), new ImageDescription(localPixMap));
/*     */   }
View Full Code Here

/*     */   public static ImagePresenter fromGWorld(QDGraphics paramQDGraphics, QDRect paramQDRect, int paramInt1, int paramInt2, int paramInt3, CodecComponent paramCodecComponent)
/*     */     throws QTException
/*     */   {
/* 127 */     int i = QTImage.getMaxCompressionSize(paramQDGraphics, paramQDRect, paramInt1, paramInt2, paramInt3, paramCodecComponent);
/* 128 */     RawEncodedImage localRawEncodedImage = new RawEncodedImage(i, true);
/* 129 */     ImageDescription localImageDescription = QTImage.compress(paramQDGraphics, paramQDRect, paramInt2, paramInt3, localRawEncodedImage);
/* 130 */     localRawEncodedImage.setSize(localImageDescription.getDataSize());
/* 131 */     ImagePresenter localImagePresenter = new ImagePresenter(paramQDRect);
/* 132 */     localImagePresenter.optimiseRedraw = false;
/* 133 */     localImagePresenter.setImageData(localRawEncodedImage, localImageDescription);
/* 134 */     return localImagePresenter;
/*     */   }
View Full Code Here

/*     */
/*     */   /** @deprecated */
/*     */   public static ImagePresenter fromPict(Pict paramPict)
/*     */     throws QTException
/*     */   {
/* 143 */     ImageDescription localImageDescription = new ImageDescription(1902408311);
/* 144 */     QDRect localQDRect = paramPict.getPictFrame();
/* 145 */     localImageDescription.setVersion(-2);
/* 146 */     localImageDescription.setVendor(1634758764);
/* 147 */     localImageDescription.setSpatialQuality(1024);
/* 148 */     localImageDescription.setWidth(localQDRect.getWidth());
/* 149 */     localImageDescription.setHeight(localQDRect.getHeight());
/* 150 */     localImageDescription.setHRes(72.0F);
/* 151 */     localImageDescription.setVRes(72.0F);
/* 152 */     localImageDescription.setDataSize(paramPict.getSize());
/* 153 */     localImageDescription.setFrameCount(1);
/* 154 */     localImageDescription.setDepth(24);
/* 155 */     localImageDescription.setClutID(-1);
/* 156 */     return new ImagePresenter(paramPict.toEncodedImage(), localImageDescription);
/*     */   }
View Full Code Here

/* 231 */           QDGraphics localQDGraphics = new QDGraphics(new QDRect(paramImageDescription.getWidth(), paramImageDescription.getHeight()));
/* 232 */           DSequence localDSequence = new DSequence(paramImageDescription, localQDGraphics, null, null, null, 0, 768, CodecComponent.anyCodec);
/*     */
/* 240 */           localDSequence.decompressFrameS(paramEncodedImage, 0);
/* 241 */           PixMap localPixMap = localQDGraphics.getPixMap();
/* 242 */           this.mImageDescription = new ImageDescription(localPixMap);
/* 243 */           paramEncodedImage = localPixMap.getPixelData();
/*     */         } catch (QTException localQTException) {
/* 245 */           this.mImageDescription = paramImageDescription;
/*     */         } finally {
/* 247 */           if (localObject1 != null) localObject1.reset();
View Full Code Here

/*     */     throws QTException
/*     */   {
/* 108 */     this.mRedrawFlag = (paramInt == 2);
/* 109 */     this.singleFrameFlag = paramInt;
/*     */
/* 112 */     this.effectDesc = new ImageDescription(0);
/*     */
/* 114 */     this.effectDesc.setTemporalQuality(512);
/* 115 */     this.effectDesc.setSpatialQuality(512);
/*     */
/* 118 */     this.effectDesc.setHRes(72.0F);
View Full Code Here

/*  73 */     this.ef = paramQTEffect;
/*  74 */     this.g = paramQDGraphics;
/*  75 */     paramQTEffect.setGWorld(paramQDGraphics);
/*  76 */     paramQTEffect.redraw(null);
/*  77 */     PixMap localPixMap = paramQDGraphics.getPixMap();
/*  78 */     setImageData(localPixMap.getPixelData(), new ImageDescription(localPixMap));
/*     */
/*  80 */     if ((paramQTEffect instanceof QTTransition))
/*  81 */       ((QTTransition)paramQTEffect).thePresenter = this;
/*     */   }
View Full Code Here

TOP

Related Classes of quicktime.std.image.ImageDescription

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.