Examples of EncodedImage


Examples of net.yacy.peers.graphics.EncodedImage

                        if (!method.equals(HeaderFramework.METHOD_HEAD)) {
                            result.writeTo(out);
                        }
                    }
                    if (img instanceof EncodedImage) {
                        final EncodedImage yp = (EncodedImage) img;
                        // send an image to client
                        targetDate = new Date(System.currentTimeMillis());
                        nocache = true;
                        final String mimeType = Classification.ext2mime(targetExt, "text/html");
                        final ByteBuffer result = yp.getImage();

                        // write the array to the client
                        HTTPDemon.sendRespondHeader(conProp, out, httpVersion, 200, null, mimeType, result.length(), targetDate, null, null, null, null, nocache);
                        if (!method.equals(HeaderFramework.METHOD_HEAD)) {
                            result.writeTo(out);
View Full Code Here

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

Examples of quicktime.util.EncodedImage

/*     */
/* 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
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.