// create matrix to represent scaling of each pict
Matrix drawMatrix = new Matrix();
drawMatrix.rect(srcRect, gRect);
gi.setMatrix(drawMatrix);
gi.draw();
// compress frame
CompressedFrameInfo cfInfo = seq.compressFrame(gw, gRect,
StdQTConstants.codecFlagUpdatePrevious, compressed);