discord-jadx/app/src/main/java/co/discord/media_engine/internal/InboundVideo.java
2021-07-24 04:37:17 +02:00

372 lines
14 KiB
Java

package co.discord.media_engine.internal;
import a0.a.a.b;
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 int currentDelay;
private final int currentPayloadType;
private final int decode;
private final int decodeFrameRate;
private final String decoderImplementationName;
private final FrameCounts frameCounts;
private final long framesDecoded;
private final int framesDropped;
private final long framesRendered;
private final int height;
private final int jitterBuffer;
private final int maxDecode;
private final int minPlayoutDelay;
private final int networkFrameRate;
private final long qpSum;
private final int renderDelay;
private final int renderFrameRate;
private final InboundRtcpStats rtcpStats;
private final InboundRtpStats rtpStats;
private final long ssrc;
private final float syncOffset;
private final float targetDelay;
private final int totalBitrate;
private final int width;
public InboundVideo(String str, int i, int i2, int i3, int i4, int i5, String str2, FrameCounts frameCounts, long j, long j2, int i6, int i7, int i8, int i9, int i10, int i11, long j3, int i12, int i13, InboundRtcpStats inboundRtcpStats, InboundRtpStats inboundRtpStats, long j4, float f, float f2, int i14, int i15) {
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 = i2;
this.currentPayloadType = i3;
this.decodeFrameRate = i4;
this.decode = i5;
this.decoderImplementationName = str2;
this.frameCounts = frameCounts;
this.framesDecoded = j;
this.framesRendered = j2;
this.framesDropped = i6;
this.height = i7;
this.jitterBuffer = i8;
this.maxDecode = i9;
this.minPlayoutDelay = i10;
this.networkFrameRate = i11;
this.qpSum = j3;
this.renderDelay = i12;
this.renderFrameRate = i13;
this.rtcpStats = inboundRtcpStats;
this.rtpStats = inboundRtpStats;
this.ssrc = j4;
this.syncOffset = f;
this.targetDelay = f2;
this.totalBitrate = i14;
this.width = i15;
}
public static /* synthetic */ InboundVideo copy$default(InboundVideo inboundVideo, String str, int i, int i2, int i3, int i4, int i5, String str2, FrameCounts frameCounts, long j, long j2, int i6, int i7, int i8, int i9, int i10, int i11, long j3, int i12, int i13, InboundRtcpStats inboundRtcpStats, InboundRtpStats inboundRtpStats, long j4, float f, float f2, int i14, int i15, int i16, Object obj) {
return inboundVideo.copy((i16 & 1) != 0 ? inboundVideo.codecName : str, (i16 & 2) != 0 ? inboundVideo.codecPayloadType : i, (i16 & 4) != 0 ? inboundVideo.currentDelay : i2, (i16 & 8) != 0 ? inboundVideo.currentPayloadType : i3, (i16 & 16) != 0 ? inboundVideo.decodeFrameRate : i4, (i16 & 32) != 0 ? inboundVideo.decode : i5, (i16 & 64) != 0 ? inboundVideo.decoderImplementationName : str2, (i16 & 128) != 0 ? inboundVideo.frameCounts : frameCounts, (i16 & 256) != 0 ? inboundVideo.framesDecoded : j, (i16 & 512) != 0 ? inboundVideo.framesRendered : j2, (i16 & 1024) != 0 ? inboundVideo.framesDropped : i6, (i16 & 2048) != 0 ? inboundVideo.height : i7, (i16 & 4096) != 0 ? inboundVideo.jitterBuffer : i8, (i16 & 8192) != 0 ? inboundVideo.maxDecode : i9, (i16 & 16384) != 0 ? inboundVideo.minPlayoutDelay : i10, (i16 & 32768) != 0 ? inboundVideo.networkFrameRate : i11, (i16 & 65536) != 0 ? inboundVideo.qpSum : j3, (i16 & 131072) != 0 ? inboundVideo.renderDelay : i12, (262144 & i16) != 0 ? inboundVideo.renderFrameRate : i13, (i16 & 524288) != 0 ? inboundVideo.rtcpStats : inboundRtcpStats, (i16 & 1048576) != 0 ? inboundVideo.rtpStats : inboundRtpStats, (i16 & 2097152) != 0 ? inboundVideo.ssrc : j4, (i16 & 4194304) != 0 ? inboundVideo.syncOffset : f, (8388608 & i16) != 0 ? inboundVideo.targetDelay : f2, (i16 & 16777216) != 0 ? inboundVideo.totalBitrate : i14, (i16 & 33554432) != 0 ? inboundVideo.width : i15);
}
public final String component1() {
return this.codecName;
}
public final long component10() {
return this.framesRendered;
}
public final int component11() {
return this.framesDropped;
}
public final int component12() {
return this.height;
}
public final int component13() {
return this.jitterBuffer;
}
public final int component14() {
return this.maxDecode;
}
public final int component15() {
return this.minPlayoutDelay;
}
public final int component16() {
return this.networkFrameRate;
}
public final long component17() {
return this.qpSum;
}
public final int 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 long 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 int 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 long component9() {
return this.framesDecoded;
}
public final InboundVideo copy(String str, int i, int i2, int i3, int i4, int i5, String str2, FrameCounts frameCounts, long j, long j2, int i6, int i7, int i8, int i9, int i10, int i11, long j3, int i12, int i13, InboundRtcpStats inboundRtcpStats, InboundRtpStats inboundRtpStats, long j4, float f, float f2, int i14, int i15) {
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, i2, i3, i4, i5, str2, frameCounts, j, j2, i6, i7, i8, i9, i10, i11, j3, i12, i13, inboundRtcpStats, inboundRtpStats, j4, f, f2, i14, i15);
}
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 && this.currentDelay == inboundVideo.currentDelay && 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 && this.jitterBuffer == inboundVideo.jitterBuffer && this.maxDecode == inboundVideo.maxDecode && this.minPlayoutDelay == inboundVideo.minPlayoutDelay && this.networkFrameRate == inboundVideo.networkFrameRate && this.qpSum == inboundVideo.qpSum && this.renderDelay == inboundVideo.renderDelay && 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 int 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 long getFramesDecoded() {
return this.framesDecoded;
}
public final int getFramesDropped() {
return this.framesDropped;
}
public final long getFramesRendered() {
return this.framesRendered;
}
public final int getHeight() {
return this.height;
}
public final int getJitterBuffer() {
return this.jitterBuffer;
}
public final int getMaxDecode() {
return this.maxDecode;
}
public final int getMinPlayoutDelay() {
return this.minPlayoutDelay;
}
public final int getNetworkFrameRate() {
return this.networkFrameRate;
}
public final long getQpSum() {
return this.qpSum;
}
public final int 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 long 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 hashCode = (((((((((((str != null ? str.hashCode() : 0) * 31) + this.codecPayloadType) * 31) + this.currentDelay) * 31) + this.currentPayloadType) * 31) + this.decodeFrameRate) * 31) + this.decode) * 31;
String str2 = this.decoderImplementationName;
int hashCode2 = (hashCode + (str2 != null ? str2.hashCode() : 0)) * 31;
FrameCounts frameCounts = this.frameCounts;
int a = (((((b.a(this.qpSum) + ((((((((((((((b.a(this.framesRendered) + ((b.a(this.framesDecoded) + ((hashCode2 + (frameCounts != null ? frameCounts.hashCode() : 0)) * 31)) * 31)) * 31) + this.framesDropped) * 31) + this.height) * 31) + this.jitterBuffer) * 31) + this.maxDecode) * 31) + this.minPlayoutDelay) * 31) + this.networkFrameRate) * 31)) * 31) + this.renderDelay) * 31) + this.renderFrameRate) * 31;
InboundRtcpStats inboundRtcpStats = this.rtcpStats;
int hashCode3 = (a + (inboundRtcpStats != null ? inboundRtcpStats.hashCode() : 0)) * 31;
InboundRtpStats inboundRtpStats = this.rtpStats;
if (inboundRtpStats != null) {
i = inboundRtpStats.hashCode();
}
return ((((Float.floatToIntBits(this.targetDelay) + ((Float.floatToIntBits(this.syncOffset) + ((b.a(this.ssrc) + ((hashCode3 + i) * 31)) * 31)) * 31)) * 31) + this.totalBitrate) * 31) + this.width;
}
public String toString() {
StringBuilder K = a.K("InboundVideo(codecName=");
K.append(this.codecName);
K.append(", codecPayloadType=");
K.append(this.codecPayloadType);
K.append(", currentDelay=");
K.append(this.currentDelay);
K.append(", currentPayloadType=");
K.append(this.currentPayloadType);
K.append(", decodeFrameRate=");
K.append(this.decodeFrameRate);
K.append(", decode=");
K.append(this.decode);
K.append(", decoderImplementationName=");
K.append(this.decoderImplementationName);
K.append(", frameCounts=");
K.append(this.frameCounts);
K.append(", framesDecoded=");
K.append(this.framesDecoded);
K.append(", framesRendered=");
K.append(this.framesRendered);
K.append(", framesDropped=");
K.append(this.framesDropped);
K.append(", height=");
K.append(this.height);
K.append(", jitterBuffer=");
K.append(this.jitterBuffer);
K.append(", maxDecode=");
K.append(this.maxDecode);
K.append(", minPlayoutDelay=");
K.append(this.minPlayoutDelay);
K.append(", networkFrameRate=");
K.append(this.networkFrameRate);
K.append(", qpSum=");
K.append(this.qpSum);
K.append(", renderDelay=");
K.append(this.renderDelay);
K.append(", renderFrameRate=");
K.append(this.renderFrameRate);
K.append(", rtcpStats=");
K.append(this.rtcpStats);
K.append(", rtpStats=");
K.append(this.rtpStats);
K.append(", ssrc=");
K.append(this.ssrc);
K.append(", syncOffset=");
K.append(this.syncOffset);
K.append(", targetDelay=");
K.append(this.targetDelay);
K.append(", totalBitrate=");
K.append(this.totalBitrate);
K.append(", width=");
return a.w(K, this.width, ")");
}
}