mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2024-12-28 01:52:26 -06:00
33 lines
1.1 KiB
Java
33 lines
1.1 KiB
Java
package org.webrtc;
|
|
|
|
import org.webrtc.VideoEncoder;
|
|
|
|
/* loaded from: classes3.dex */
|
|
class VideoEncoderWrapper {
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static native void nativeOnEncodedFrame(long j, EncodedImage encodedImage);
|
|
|
|
VideoEncoderWrapper() {
|
|
}
|
|
|
|
static boolean getScalingSettingsOn(VideoEncoder.ScalingSettings scalingSettings) {
|
|
return scalingSettings.on;
|
|
}
|
|
|
|
static Integer getScalingSettingsLow(VideoEncoder.ScalingSettings scalingSettings) {
|
|
return scalingSettings.low;
|
|
}
|
|
|
|
static Integer getScalingSettingsHigh(VideoEncoder.ScalingSettings scalingSettings) {
|
|
return scalingSettings.high;
|
|
}
|
|
|
|
static VideoEncoder.Callback createEncoderCallback(final long j) {
|
|
return new VideoEncoder.Callback() { // from class: org.webrtc.VideoEncoderWrapper$$ExternalSyntheticLambda0
|
|
@Override // org.webrtc.VideoEncoder.Callback
|
|
public final void onEncodedFrame(EncodedImage encodedImage, VideoEncoder.CodecSpecificInfo codecSpecificInfo) {
|
|
VideoEncoderWrapper.nativeOnEncodedFrame(j, encodedImage);
|
|
}
|
|
};
|
|
}
|
|
}
|