annotate src/com/aurellem/capture/video/VideoRecorder.java @ 67:30cea3f0f30a

rename poorly named file.
author Robert McIntyre <rlm@mit.edu>
date Tue, 28 Feb 2012 11:17:04 -0600
parents 3dc1f15e1e13
children
rev   line source
rlm@39 1 package com.aurellem.capture.video;
rlm@39 2
rlm@39 3 import java.awt.image.BufferedImage;
rlm@39 4
rlm@39 5 public interface VideoRecorder{
rlm@39 6
rlm@39 7 /**
rlm@39 8 * Write this image to video, disk, etc.
rlm@39 9 * @param image the image to write
rlm@39 10 */
rlm@39 11 void record(BufferedImage image);
rlm@39 12
rlm@39 13 /**
rlm@53 14 * Stop recording temporarily. The recording can be started again
rlm@39 15 * with start()
rlm@39 16 */
rlm@39 17 void pause();
rlm@39 18
rlm@39 19 /**
rlm@53 20 * Start the recording.
rlm@39 21 */
rlm@39 22 void start();
rlm@39 23
rlm@39 24 /**
rlm@53 25 * Closes the video file, writing appropriate headers, trailers, etc.
rlm@39 26 * After this is called, no more recording can be done.
rlm@39 27 */
rlm@39 28 void finish();
rlm@39 29 }