www in docker support
This commit is contained in:
parent
539a848e95
commit
c227fce036
2145 changed files with 399596 additions and 58 deletions
|
|
@ -0,0 +1,32 @@
|
|||
package org.jcodec.common;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
import org.jcodec.common.model.ColorSpace;
|
||||
import org.jcodec.common.model.Picture;
|
||||
|
||||
public abstract class VideoEncoder {
|
||||
public abstract EncodedFrame encodeFrame(Picture paramPicture, ByteBuffer paramByteBuffer);
|
||||
|
||||
public abstract ColorSpace[] getSupportedColorSpaces();
|
||||
|
||||
public abstract int estimateBufferSize(Picture paramPicture);
|
||||
|
||||
public static class EncodedFrame {
|
||||
private ByteBuffer data;
|
||||
|
||||
private boolean keyFrame;
|
||||
|
||||
public EncodedFrame(ByteBuffer data, boolean keyFrame) {
|
||||
this.data = data;
|
||||
this.keyFrame = keyFrame;
|
||||
}
|
||||
|
||||
public ByteBuffer getData() {
|
||||
return this.data;
|
||||
}
|
||||
|
||||
public boolean isKeyFrame() {
|
||||
return this.keyFrame;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue