/* */ throws QTException
/* */ {
/* 274 */ int i = 0;
/* 275 */ int j = 600;
/* */
/* 277 */ Track localTrack = paramMovie.addTrack(this.imageDescription.getWidth(), this.imageDescription.getHeight(), i);
/* */
/* 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);
/* */
/* 304 */ if (k % 5 == 0)
/* 305 */ QTUtils.reclaimMemory();
/* */ }
/* 307 */ localVideoMedia.endEdits();
/* */
/* 309 */ k = 0;
/* 310 */ int m = 0;
/* 311 */ int n = 1;
/* 312 */ localTrack.insertMedia(k, m, localVideoMedia.getDuration(), n);
/* 313 */ QTUtils.reclaimMemory();
/* */ }