Package quicktime.util

Examples of quicktime.util.EncodedImage


/*     */   /** @deprecated */
/*     */   public int drawCurrentFrame(int paramInt)
/*     */     throws StdQTException
/*     */   {
/* 361 */     if (this.seq == null) return 0;
/* 362 */     EncodedImage localEncodedImage = getImage();
/* 363 */     return this.seq.decompressFrameS(localEncodedImage, paramInt);
/*     */   }
View Full Code Here


/*     */
/* 280 */     VideoMedia localVideoMedia = new VideoMedia(localTrack, j);
/*     */
/* 282 */     localVideoMedia.beginEdits();
/* 283 */     for (int k = 0; k < size(); k++) {
/* 284 */       EncodedImage localEncodedImage = getNth(k + 1);
/* 285 */       QTHandle localQTHandle = null;
/* 286 */       if ((localEncodedImage instanceof RawEncodedImage)) {
/* 287 */         localQTHandle = new QTHandle((RawEncodedImage)localEncodedImage, 0, localEncodedImage.getSize());
/*     */       }
/*     */       else
/*     */       {
/*     */         Object localObject;
/* 288 */         if ((localEncodedImage instanceof IntEncodedImage)) {
/* 289 */           localQTHandle = new QTHandle(localEncodedImage.getSize(), false);
/* 290 */           localObject = ((IntEncodedImage)localEncodedImage).getInts();
/* 291 */           localQTHandle.copyFromArray(0, (int[])localObject, 0, localObject.length);
/*     */         } else {
/* 293 */           localQTHandle = new QTHandle(localEncodedImage.getSize(), false);
/* 294 */           localObject = ((ByteEncodedImage)localEncodedImage).getBytes();
/* 295 */           localQTHandle.copyFromArray(0, (byte[])localObject, 0, localObject.length);
/*     */         }
/*     */       }
/* 297 */       localVideoMedia.addSample(localQTHandle, 0, localQTHandle.getSize(), (int)(600.0F / paramFloat), this.imageDescription, 1, 0);
View Full Code Here

TOP

Related Classes of quicktime.util.EncodedImage

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.