Rabbit-R1/android (non root)/java/sources/org/webrtc/VideoDecoder.java

47 lines
1.1 KiB
Java
Raw Normal View History

2024-05-21 16:08:36 -05:00
package org.webrtc;
/* loaded from: classes3.dex */
public interface VideoDecoder {
/* loaded from: classes3.dex */
public interface Callback {
void onDecodedFrame(VideoFrame videoFrame, Integer num, Integer num2);
}
default long createNativeVideoDecoder() {
return 0L;
}
VideoCodecStatus decode(EncodedImage encodedImage, DecodeInfo decodeInfo);
String getImplementationName();
VideoCodecStatus initDecode(Settings settings, Callback callback);
VideoCodecStatus release();
/* loaded from: classes3.dex */
public static class Settings {
public final int height;
public final int numberOfCores;
public final int width;
public Settings(int i, int i2, int i3) {
this.numberOfCores = i;
this.width = i2;
this.height = i3;
}
}
/* loaded from: classes3.dex */
public static class DecodeInfo {
public final boolean isMissingFrames;
public final long renderTimeMs;
public DecodeInfo(boolean z, long j) {
this.isMissingFrames = z;
this.renderTimeMs = j;
}
}
}