372 lines
14 KiB
Java
372 lines
14 KiB
Java
|
package co.discord.media_engine.internal;
|
||
|
|
||
|
import c.d.b.a.a;
|
||
|
import d0.z.d.m;
|
||
|
/* compiled from: NativeStatistics.kt */
|
||
|
public final class InboundVideo {
|
||
|
private final String codecName;
|
||
|
private final int codecPayloadType;
|
||
|
private final float currentDelay;
|
||
|
private final int currentPayloadType;
|
||
|
private final int decode;
|
||
|
private final int decodeFrameRate;
|
||
|
private final String decoderImplementationName;
|
||
|
private final FrameCounts frameCounts;
|
||
|
private final int framesDecoded;
|
||
|
private final int framesDropped;
|
||
|
private final int framesRendered;
|
||
|
private final int height;
|
||
|
private final float jitterBuffer;
|
||
|
private final float maxDecode;
|
||
|
private final float minPlayoutDelay;
|
||
|
private final int networkFrameRate;
|
||
|
private final int qpSum;
|
||
|
private final float renderDelay;
|
||
|
private final int renderFrameRate;
|
||
|
private final InboundRtcpStats rtcpStats;
|
||
|
private final InboundRtpStats rtpStats;
|
||
|
private final int ssrc;
|
||
|
private final float syncOffset;
|
||
|
private final float targetDelay;
|
||
|
private final int totalBitrate;
|
||
|
private final int width;
|
||
|
|
||
|
public InboundVideo(String str, int i, float f, int i2, int i3, int i4, String str2, FrameCounts frameCounts, int i5, int i6, int i7, int i8, float f2, float f3, float f4, int i9, int i10, float f5, int i11, InboundRtcpStats inboundRtcpStats, InboundRtpStats inboundRtpStats, int i12, float f6, float f7, int i13, int i14) {
|
||
|
m.checkNotNullParameter(str, "codecName");
|
||
|
m.checkNotNullParameter(str2, "decoderImplementationName");
|
||
|
m.checkNotNullParameter(frameCounts, "frameCounts");
|
||
|
m.checkNotNullParameter(inboundRtcpStats, "rtcpStats");
|
||
|
m.checkNotNullParameter(inboundRtpStats, "rtpStats");
|
||
|
this.codecName = str;
|
||
|
this.codecPayloadType = i;
|
||
|
this.currentDelay = f;
|
||
|
this.currentPayloadType = i2;
|
||
|
this.decodeFrameRate = i3;
|
||
|
this.decode = i4;
|
||
|
this.decoderImplementationName = str2;
|
||
|
this.frameCounts = frameCounts;
|
||
|
this.framesDecoded = i5;
|
||
|
this.framesRendered = i6;
|
||
|
this.framesDropped = i7;
|
||
|
this.height = i8;
|
||
|
this.jitterBuffer = f2;
|
||
|
this.maxDecode = f3;
|
||
|
this.minPlayoutDelay = f4;
|
||
|
this.networkFrameRate = i9;
|
||
|
this.qpSum = i10;
|
||
|
this.renderDelay = f5;
|
||
|
this.renderFrameRate = i11;
|
||
|
this.rtcpStats = inboundRtcpStats;
|
||
|
this.rtpStats = inboundRtpStats;
|
||
|
this.ssrc = i12;
|
||
|
this.syncOffset = f6;
|
||
|
this.targetDelay = f7;
|
||
|
this.totalBitrate = i13;
|
||
|
this.width = i14;
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ InboundVideo copy$default(InboundVideo inboundVideo, String str, int i, float f, int i2, int i3, int i4, String str2, FrameCounts frameCounts, int i5, int i6, int i7, int i8, float f2, float f3, float f4, int i9, int i10, float f5, int i11, InboundRtcpStats inboundRtcpStats, InboundRtpStats inboundRtpStats, int i12, float f6, float f7, int i13, int i14, int i15, Object obj) {
|
||
|
return inboundVideo.copy((i15 & 1) != 0 ? inboundVideo.codecName : str, (i15 & 2) != 0 ? inboundVideo.codecPayloadType : i, (i15 & 4) != 0 ? inboundVideo.currentDelay : f, (i15 & 8) != 0 ? inboundVideo.currentPayloadType : i2, (i15 & 16) != 0 ? inboundVideo.decodeFrameRate : i3, (i15 & 32) != 0 ? inboundVideo.decode : i4, (i15 & 64) != 0 ? inboundVideo.decoderImplementationName : str2, (i15 & 128) != 0 ? inboundVideo.frameCounts : frameCounts, (i15 & 256) != 0 ? inboundVideo.framesDecoded : i5, (i15 & 512) != 0 ? inboundVideo.framesRendered : i6, (i15 & 1024) != 0 ? inboundVideo.framesDropped : i7, (i15 & 2048) != 0 ? inboundVideo.height : i8, (i15 & 4096) != 0 ? inboundVideo.jitterBuffer : f2, (i15 & 8192) != 0 ? inboundVideo.maxDecode : f3, (i15 & 16384) != 0 ? inboundVideo.minPlayoutDelay : f4, (i15 & 32768) != 0 ? inboundVideo.networkFrameRate : i9, (i15 & 65536) != 0 ? inboundVideo.qpSum : i10, (i15 & 131072) != 0 ? inboundVideo.renderDelay : f5, (i15 & 262144) != 0 ? inboundVideo.renderFrameRate : i11, (i15 & 524288) != 0 ? inboundVideo.rtcpStats : inboundRtcpStats, (i15 & 1048576) != 0 ? inboundVideo.rtpStats : inboundRtpStats, (i15 & 2097152) != 0 ? inboundVideo.ssrc : i12, (i15 & 4194304) != 0 ? inboundVideo.syncOffset : f6, (i15 & 8388608) != 0 ? inboundVideo.targetDelay : f7, (i15 & 16777216) != 0 ? inboundVideo.totalBitrate : i13, (i15 & 33554432) != 0 ? inboundVideo.width : i14);
|
||
|
}
|
||
|
|
||
|
public final String component1() {
|
||
|
return this.codecName;
|
||
|
}
|
||
|
|
||
|
public final int component10() {
|
||
|
return this.framesRendered;
|
||
|
}
|
||
|
|
||
|
public final int component11() {
|
||
|
return this.framesDropped;
|
||
|
}
|
||
|
|
||
|
public final int component12() {
|
||
|
return this.height;
|
||
|
}
|
||
|
|
||
|
public final float component13() {
|
||
|
return this.jitterBuffer;
|
||
|
}
|
||
|
|
||
|
public final float component14() {
|
||
|
return this.maxDecode;
|
||
|
}
|
||
|
|
||
|
public final float component15() {
|
||
|
return this.minPlayoutDelay;
|
||
|
}
|
||
|
|
||
|
public final int component16() {
|
||
|
return this.networkFrameRate;
|
||
|
}
|
||
|
|
||
|
public final int component17() {
|
||
|
return this.qpSum;
|
||
|
}
|
||
|
|
||
|
public final float component18() {
|
||
|
return this.renderDelay;
|
||
|
}
|
||
|
|
||
|
public final int component19() {
|
||
|
return this.renderFrameRate;
|
||
|
}
|
||
|
|
||
|
public final int component2() {
|
||
|
return this.codecPayloadType;
|
||
|
}
|
||
|
|
||
|
public final InboundRtcpStats component20() {
|
||
|
return this.rtcpStats;
|
||
|
}
|
||
|
|
||
|
public final InboundRtpStats component21() {
|
||
|
return this.rtpStats;
|
||
|
}
|
||
|
|
||
|
public final int component22() {
|
||
|
return this.ssrc;
|
||
|
}
|
||
|
|
||
|
public final float component23() {
|
||
|
return this.syncOffset;
|
||
|
}
|
||
|
|
||
|
public final float component24() {
|
||
|
return this.targetDelay;
|
||
|
}
|
||
|
|
||
|
public final int component25() {
|
||
|
return this.totalBitrate;
|
||
|
}
|
||
|
|
||
|
public final int component26() {
|
||
|
return this.width;
|
||
|
}
|
||
|
|
||
|
public final float component3() {
|
||
|
return this.currentDelay;
|
||
|
}
|
||
|
|
||
|
public final int component4() {
|
||
|
return this.currentPayloadType;
|
||
|
}
|
||
|
|
||
|
public final int component5() {
|
||
|
return this.decodeFrameRate;
|
||
|
}
|
||
|
|
||
|
public final int component6() {
|
||
|
return this.decode;
|
||
|
}
|
||
|
|
||
|
public final String component7() {
|
||
|
return this.decoderImplementationName;
|
||
|
}
|
||
|
|
||
|
public final FrameCounts component8() {
|
||
|
return this.frameCounts;
|
||
|
}
|
||
|
|
||
|
public final int component9() {
|
||
|
return this.framesDecoded;
|
||
|
}
|
||
|
|
||
|
public final InboundVideo copy(String str, int i, float f, int i2, int i3, int i4, String str2, FrameCounts frameCounts, int i5, int i6, int i7, int i8, float f2, float f3, float f4, int i9, int i10, float f5, int i11, InboundRtcpStats inboundRtcpStats, InboundRtpStats inboundRtpStats, int i12, float f6, float f7, int i13, int i14) {
|
||
|
m.checkNotNullParameter(str, "codecName");
|
||
|
m.checkNotNullParameter(str2, "decoderImplementationName");
|
||
|
m.checkNotNullParameter(frameCounts, "frameCounts");
|
||
|
m.checkNotNullParameter(inboundRtcpStats, "rtcpStats");
|
||
|
m.checkNotNullParameter(inboundRtpStats, "rtpStats");
|
||
|
return new InboundVideo(str, i, f, i2, i3, i4, str2, frameCounts, i5, i6, i7, i8, f2, f3, f4, i9, i10, f5, i11, inboundRtcpStats, inboundRtpStats, i12, f6, f7, i13, i14);
|
||
|
}
|
||
|
|
||
|
public boolean equals(Object obj) {
|
||
|
if (this == obj) {
|
||
|
return true;
|
||
|
}
|
||
|
if (!(obj instanceof InboundVideo)) {
|
||
|
return false;
|
||
|
}
|
||
|
InboundVideo inboundVideo = (InboundVideo) obj;
|
||
|
return m.areEqual(this.codecName, inboundVideo.codecName) && this.codecPayloadType == inboundVideo.codecPayloadType && Float.compare(this.currentDelay, inboundVideo.currentDelay) == 0 && this.currentPayloadType == inboundVideo.currentPayloadType && this.decodeFrameRate == inboundVideo.decodeFrameRate && this.decode == inboundVideo.decode && m.areEqual(this.decoderImplementationName, inboundVideo.decoderImplementationName) && m.areEqual(this.frameCounts, inboundVideo.frameCounts) && this.framesDecoded == inboundVideo.framesDecoded && this.framesRendered == inboundVideo.framesRendered && this.framesDropped == inboundVideo.framesDropped && this.height == inboundVideo.height && Float.compare(this.jitterBuffer, inboundVideo.jitterBuffer) == 0 && Float.compare(this.maxDecode, inboundVideo.maxDecode) == 0 && Float.compare(this.minPlayoutDelay, inboundVideo.minPlayoutDelay) == 0 && this.networkFrameRate == inboundVideo.networkFrameRate && this.qpSum == inboundVideo.qpSum && Float.compare(this.renderDelay, inboundVideo.renderDelay) == 0 && this.renderFrameRate == inboundVideo.renderFrameRate && m.areEqual(this.rtcpStats, inboundVideo.rtcpStats) && m.areEqual(this.rtpStats, inboundVideo.rtpStats) && this.ssrc == inboundVideo.ssrc && Float.compare(this.syncOffset, inboundVideo.syncOffset) == 0 && Float.compare(this.targetDelay, inboundVideo.targetDelay) == 0 && this.totalBitrate == inboundVideo.totalBitrate && this.width == inboundVideo.width;
|
||
|
}
|
||
|
|
||
|
public final String getCodecName() {
|
||
|
return this.codecName;
|
||
|
}
|
||
|
|
||
|
public final int getCodecPayloadType() {
|
||
|
return this.codecPayloadType;
|
||
|
}
|
||
|
|
||
|
public final float getCurrentDelay() {
|
||
|
return this.currentDelay;
|
||
|
}
|
||
|
|
||
|
public final int getCurrentPayloadType() {
|
||
|
return this.currentPayloadType;
|
||
|
}
|
||
|
|
||
|
public final int getDecode() {
|
||
|
return this.decode;
|
||
|
}
|
||
|
|
||
|
public final int getDecodeFrameRate() {
|
||
|
return this.decodeFrameRate;
|
||
|
}
|
||
|
|
||
|
public final String getDecoderImplementationName() {
|
||
|
return this.decoderImplementationName;
|
||
|
}
|
||
|
|
||
|
public final FrameCounts getFrameCounts() {
|
||
|
return this.frameCounts;
|
||
|
}
|
||
|
|
||
|
public final int getFramesDecoded() {
|
||
|
return this.framesDecoded;
|
||
|
}
|
||
|
|
||
|
public final int getFramesDropped() {
|
||
|
return this.framesDropped;
|
||
|
}
|
||
|
|
||
|
public final int getFramesRendered() {
|
||
|
return this.framesRendered;
|
||
|
}
|
||
|
|
||
|
public final int getHeight() {
|
||
|
return this.height;
|
||
|
}
|
||
|
|
||
|
public final float getJitterBuffer() {
|
||
|
return this.jitterBuffer;
|
||
|
}
|
||
|
|
||
|
public final float getMaxDecode() {
|
||
|
return this.maxDecode;
|
||
|
}
|
||
|
|
||
|
public final float getMinPlayoutDelay() {
|
||
|
return this.minPlayoutDelay;
|
||
|
}
|
||
|
|
||
|
public final int getNetworkFrameRate() {
|
||
|
return this.networkFrameRate;
|
||
|
}
|
||
|
|
||
|
public final int getQpSum() {
|
||
|
return this.qpSum;
|
||
|
}
|
||
|
|
||
|
public final float getRenderDelay() {
|
||
|
return this.renderDelay;
|
||
|
}
|
||
|
|
||
|
public final int getRenderFrameRate() {
|
||
|
return this.renderFrameRate;
|
||
|
}
|
||
|
|
||
|
public final InboundRtcpStats getRtcpStats() {
|
||
|
return this.rtcpStats;
|
||
|
}
|
||
|
|
||
|
public final InboundRtpStats getRtpStats() {
|
||
|
return this.rtpStats;
|
||
|
}
|
||
|
|
||
|
public final int getSsrc() {
|
||
|
return this.ssrc;
|
||
|
}
|
||
|
|
||
|
public final float getSyncOffset() {
|
||
|
return this.syncOffset;
|
||
|
}
|
||
|
|
||
|
public final float getTargetDelay() {
|
||
|
return this.targetDelay;
|
||
|
}
|
||
|
|
||
|
public final int getTotalBitrate() {
|
||
|
return this.totalBitrate;
|
||
|
}
|
||
|
|
||
|
public final int getWidth() {
|
||
|
return this.width;
|
||
|
}
|
||
|
|
||
|
public int hashCode() {
|
||
|
String str = this.codecName;
|
||
|
int i = 0;
|
||
|
int b = (((((a.b(this.currentDelay, (((str != null ? str.hashCode() : 0) * 31) + this.codecPayloadType) * 31, 31) + this.currentPayloadType) * 31) + this.decodeFrameRate) * 31) + this.decode) * 31;
|
||
|
String str2 = this.decoderImplementationName;
|
||
|
int hashCode = (b + (str2 != null ? str2.hashCode() : 0)) * 31;
|
||
|
FrameCounts frameCounts = this.frameCounts;
|
||
|
int b2 = (a.b(this.renderDelay, (((a.b(this.minPlayoutDelay, a.b(this.maxDecode, a.b(this.jitterBuffer, (((((((((hashCode + (frameCounts != null ? frameCounts.hashCode() : 0)) * 31) + this.framesDecoded) * 31) + this.framesRendered) * 31) + this.framesDropped) * 31) + this.height) * 31, 31), 31), 31) + this.networkFrameRate) * 31) + this.qpSum) * 31, 31) + this.renderFrameRate) * 31;
|
||
|
InboundRtcpStats inboundRtcpStats = this.rtcpStats;
|
||
|
int hashCode2 = (b2 + (inboundRtcpStats != null ? inboundRtcpStats.hashCode() : 0)) * 31;
|
||
|
InboundRtpStats inboundRtpStats = this.rtpStats;
|
||
|
if (inboundRtpStats != null) {
|
||
|
i = inboundRtpStats.hashCode();
|
||
|
}
|
||
|
return ((a.b(this.targetDelay, a.b(this.syncOffset, (((hashCode2 + i) * 31) + this.ssrc) * 31, 31), 31) + this.totalBitrate) * 31) + this.width;
|
||
|
}
|
||
|
|
||
|
public String toString() {
|
||
|
StringBuilder L = a.L("InboundVideo(codecName=");
|
||
|
L.append(this.codecName);
|
||
|
L.append(", codecPayloadType=");
|
||
|
L.append(this.codecPayloadType);
|
||
|
L.append(", currentDelay=");
|
||
|
L.append(this.currentDelay);
|
||
|
L.append(", currentPayloadType=");
|
||
|
L.append(this.currentPayloadType);
|
||
|
L.append(", decodeFrameRate=");
|
||
|
L.append(this.decodeFrameRate);
|
||
|
L.append(", decode=");
|
||
|
L.append(this.decode);
|
||
|
L.append(", decoderImplementationName=");
|
||
|
L.append(this.decoderImplementationName);
|
||
|
L.append(", frameCounts=");
|
||
|
L.append(this.frameCounts);
|
||
|
L.append(", framesDecoded=");
|
||
|
L.append(this.framesDecoded);
|
||
|
L.append(", framesRendered=");
|
||
|
L.append(this.framesRendered);
|
||
|
L.append(", framesDropped=");
|
||
|
L.append(this.framesDropped);
|
||
|
L.append(", height=");
|
||
|
L.append(this.height);
|
||
|
L.append(", jitterBuffer=");
|
||
|
L.append(this.jitterBuffer);
|
||
|
L.append(", maxDecode=");
|
||
|
L.append(this.maxDecode);
|
||
|
L.append(", minPlayoutDelay=");
|
||
|
L.append(this.minPlayoutDelay);
|
||
|
L.append(", networkFrameRate=");
|
||
|
L.append(this.networkFrameRate);
|
||
|
L.append(", qpSum=");
|
||
|
L.append(this.qpSum);
|
||
|
L.append(", renderDelay=");
|
||
|
L.append(this.renderDelay);
|
||
|
L.append(", renderFrameRate=");
|
||
|
L.append(this.renderFrameRate);
|
||
|
L.append(", rtcpStats=");
|
||
|
L.append(this.rtcpStats);
|
||
|
L.append(", rtpStats=");
|
||
|
L.append(this.rtpStats);
|
||
|
L.append(", ssrc=");
|
||
|
L.append(this.ssrc);
|
||
|
L.append(", syncOffset=");
|
||
|
L.append(this.syncOffset);
|
||
|
L.append(", targetDelay=");
|
||
|
L.append(this.targetDelay);
|
||
|
L.append(", totalBitrate=");
|
||
|
L.append(this.totalBitrate);
|
||
|
L.append(", width=");
|
||
|
return a.z(L, this.width, ")");
|
||
|
}
|
||
|
}
|