www in docker support

This commit is contained in:
MaddoScientisto 2026-04-22 18:41:37 +02:00
commit c227fce036
2145 changed files with 399596 additions and 58 deletions

View file

@ -0,0 +1,26 @@
package org.jcodec.common;
import java.nio.ByteBuffer;
import org.jcodec.common.model.Picture;
public abstract class VideoDecoder {
private byte[][] byteBuffer;
public abstract Picture decodeFrame(ByteBuffer paramByteBuffer, byte[][] paramArrayOfbyte);
public abstract VideoCodecMeta getCodecMeta(ByteBuffer paramByteBuffer);
protected byte[][] getSameSizeBuffer(int[][] buffer) {
if (this.byteBuffer == null || this.byteBuffer.length != buffer.length || (this.byteBuffer[0]).length != (buffer[0]).length)
this.byteBuffer = ArrayUtil.create2D((buffer[0]).length, buffer.length);
return this.byteBuffer;
}
public VideoDecoder downscaled(int ratio) {
if (ratio == 1)
return this;
return null;
}
public void shutdownThreadPool() {}
}