blob: cfffe90ec4dd19ea090e8956317d99fefcb0f795 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
package invalid.lena.scrcpy;
import java.io.IOException;
// Sink for parsed video frames. VideoSink is the only production
// implementation; tests use a recording stub. Kept android-free so
// it can be referenced from JVM-only test code.
public interface VideoFrames {
void configure(int codecFourcc, int width, int height) throws IOException;
void reconfigure(int codecFourcc, int width, int height) throws IOException;
void feed(byte[] data, long ptsUs, boolean isConfig);
void release();
}
|