Mercurial > jmeCapture
annotate src/com/aurellem/capture/video/IVideoRecorder.java @ 11:8a6b1684f536
refactored.
author | Robert McIntyre <rlm@mit.edu> |
---|---|
date | Thu, 27 Oct 2011 02:27:02 -0700 |
parents | 5dfc9e768816 |
children |
rev | line source |
---|---|
rlm@9 | 1 package com.aurellem.capture.video; |
rlm@9 | 2 |
rlm@9 | 3 import java.awt.image.BufferedImage; |
rlm@9 | 4 |
rlm@9 | 5 public interface IVideoRecorder{ |
rlm@9 | 6 |
rlm@9 | 7 void record(BufferedImage image); |
rlm@9 | 8 |
rlm@9 | 9 void pause(); |
rlm@9 | 10 |
rlm@9 | 11 void start(); |
rlm@9 | 12 |
rlm@9 | 13 /** |
rlm@9 | 14 * closes the video file, writing appropriate headers, trailers, etc. |
rlm@9 | 15 * After this is called, no more recording can be done. |
rlm@9 | 16 */ |
rlm@9 | 17 void finish(); |
rlm@9 | 18 |
rlm@9 | 19 } |
rlm@9 | 20 |
rlm@9 | 21 |