discord-jadx/app/src/main/java/co/discord/media_engine/InboundRtpVideo.java

378 lines
14 KiB
Java

package co.discord.media_engine;
import a0.a.a.a;
import a0.a.a.b;
import d0.z.d.m;
/* compiled from: Statistics.kt */
/* loaded from: classes.dex */
public final class InboundRtpVideo {
private final int averageDecodeTime;
private final int bitrate;
private final long bytesReceived;
private final StatsCodec codec;
private final String decoderImplementationName;
private final long firCount;
private final int frameRateDecode;
private final int frameRateNetwork;
private final int frameRateRender;
private final int framesDecoded;
private final int framesDropped;
private final int framesReceived;
private final long freezeCount;
private final long nackCount;
private final int packetsLost;
private final int packetsReceived;
private final long pauseCount;
private final long pliCount;
private final long qpSum;
private final Resolution resolution;
private final long ssrc;
private final double sumOfSquaredFramesDurations;
private final long totalFramesDuration;
private final long totalFreezesDuration;
private final long totalPausesDuration;
private final String type;
public InboundRtpVideo(String str, long j, StatsCodec statsCodec, long j2, int i, int i2, int i3, int i4, Resolution resolution, String str2, int i5, int i6, int i7, int i8, int i9, int i10, long j3, long j4, long j5, long j6, long j7, long j8, long j9, long j10, long j11, double d) {
m.checkNotNullParameter(str, "type");
m.checkNotNullParameter(resolution, "resolution");
m.checkNotNullParameter(str2, "decoderImplementationName");
this.type = str;
this.ssrc = j;
this.codec = statsCodec;
this.bytesReceived = j2;
this.packetsReceived = i;
this.packetsLost = i2;
this.bitrate = i3;
this.averageDecodeTime = i4;
this.resolution = resolution;
this.decoderImplementationName = str2;
this.framesDecoded = i5;
this.framesDropped = i6;
this.framesReceived = i7;
this.frameRateDecode = i8;
this.frameRateNetwork = i9;
this.frameRateRender = i10;
this.firCount = j3;
this.nackCount = j4;
this.pliCount = j5;
this.qpSum = j6;
this.freezeCount = j7;
this.pauseCount = j8;
this.totalFreezesDuration = j9;
this.totalPausesDuration = j10;
this.totalFramesDuration = j11;
this.sumOfSquaredFramesDurations = d;
}
public static /* synthetic */ InboundRtpVideo copy$default(InboundRtpVideo inboundRtpVideo, String str, long j, StatsCodec statsCodec, long j2, int i, int i2, int i3, int i4, Resolution resolution, String str2, int i5, int i6, int i7, int i8, int i9, int i10, long j3, long j4, long j5, long j6, long j7, long j8, long j9, long j10, long j11, double d, int i11, Object obj) {
return inboundRtpVideo.copy((i11 & 1) != 0 ? inboundRtpVideo.type : str, (i11 & 2) != 0 ? inboundRtpVideo.ssrc : j, (i11 & 4) != 0 ? inboundRtpVideo.codec : statsCodec, (i11 & 8) != 0 ? inboundRtpVideo.bytesReceived : j2, (i11 & 16) != 0 ? inboundRtpVideo.packetsReceived : i, (i11 & 32) != 0 ? inboundRtpVideo.packetsLost : i2, (i11 & 64) != 0 ? inboundRtpVideo.bitrate : i3, (i11 & 128) != 0 ? inboundRtpVideo.averageDecodeTime : i4, (i11 & 256) != 0 ? inboundRtpVideo.resolution : resolution, (i11 & 512) != 0 ? inboundRtpVideo.decoderImplementationName : str2, (i11 & 1024) != 0 ? inboundRtpVideo.framesDecoded : i5, (i11 & 2048) != 0 ? inboundRtpVideo.framesDropped : i6, (i11 & 4096) != 0 ? inboundRtpVideo.framesReceived : i7, (i11 & 8192) != 0 ? inboundRtpVideo.frameRateDecode : i8, (i11 & 16384) != 0 ? inboundRtpVideo.frameRateNetwork : i9, (i11 & 32768) != 0 ? inboundRtpVideo.frameRateRender : i10, (i11 & 65536) != 0 ? inboundRtpVideo.firCount : j3, (i11 & 131072) != 0 ? inboundRtpVideo.nackCount : j4, (i11 & 262144) != 0 ? inboundRtpVideo.pliCount : j5, (i11 & 524288) != 0 ? inboundRtpVideo.qpSum : j6, (i11 & 1048576) != 0 ? inboundRtpVideo.freezeCount : j7, (i11 & 2097152) != 0 ? inboundRtpVideo.pauseCount : j8, (i11 & 4194304) != 0 ? inboundRtpVideo.totalFreezesDuration : j9, (i11 & 8388608) != 0 ? inboundRtpVideo.totalPausesDuration : j10, (i11 & 16777216) != 0 ? inboundRtpVideo.totalFramesDuration : j11, (i11 & 33554432) != 0 ? inboundRtpVideo.sumOfSquaredFramesDurations : d);
}
public final String component1() {
return this.type;
}
public final String component10() {
return this.decoderImplementationName;
}
public final int component11() {
return this.framesDecoded;
}
public final int component12() {
return this.framesDropped;
}
public final int component13() {
return this.framesReceived;
}
public final int component14() {
return this.frameRateDecode;
}
public final int component15() {
return this.frameRateNetwork;
}
public final int component16() {
return this.frameRateRender;
}
public final long component17() {
return this.firCount;
}
public final long component18() {
return this.nackCount;
}
public final long component19() {
return this.pliCount;
}
public final long component2() {
return this.ssrc;
}
public final long component20() {
return this.qpSum;
}
public final long component21() {
return this.freezeCount;
}
public final long component22() {
return this.pauseCount;
}
public final long component23() {
return this.totalFreezesDuration;
}
public final long component24() {
return this.totalPausesDuration;
}
public final long component25() {
return this.totalFramesDuration;
}
public final double component26() {
return this.sumOfSquaredFramesDurations;
}
public final StatsCodec component3() {
return this.codec;
}
public final long component4() {
return this.bytesReceived;
}
public final int component5() {
return this.packetsReceived;
}
public final int component6() {
return this.packetsLost;
}
public final int component7() {
return this.bitrate;
}
public final int component8() {
return this.averageDecodeTime;
}
public final Resolution component9() {
return this.resolution;
}
public final InboundRtpVideo copy(String str, long j, StatsCodec statsCodec, long j2, int i, int i2, int i3, int i4, Resolution resolution, String str2, int i5, int i6, int i7, int i8, int i9, int i10, long j3, long j4, long j5, long j6, long j7, long j8, long j9, long j10, long j11, double d) {
m.checkNotNullParameter(str, "type");
m.checkNotNullParameter(resolution, "resolution");
m.checkNotNullParameter(str2, "decoderImplementationName");
return new InboundRtpVideo(str, j, statsCodec, j2, i, i2, i3, i4, resolution, str2, i5, i6, i7, i8, i9, i10, j3, j4, j5, j6, j7, j8, j9, j10, j11, d);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof InboundRtpVideo)) {
return false;
}
InboundRtpVideo inboundRtpVideo = (InboundRtpVideo) obj;
return m.areEqual(this.type, inboundRtpVideo.type) && this.ssrc == inboundRtpVideo.ssrc && m.areEqual(this.codec, inboundRtpVideo.codec) && this.bytesReceived == inboundRtpVideo.bytesReceived && this.packetsReceived == inboundRtpVideo.packetsReceived && this.packetsLost == inboundRtpVideo.packetsLost && this.bitrate == inboundRtpVideo.bitrate && this.averageDecodeTime == inboundRtpVideo.averageDecodeTime && m.areEqual(this.resolution, inboundRtpVideo.resolution) && m.areEqual(this.decoderImplementationName, inboundRtpVideo.decoderImplementationName) && this.framesDecoded == inboundRtpVideo.framesDecoded && this.framesDropped == inboundRtpVideo.framesDropped && this.framesReceived == inboundRtpVideo.framesReceived && this.frameRateDecode == inboundRtpVideo.frameRateDecode && this.frameRateNetwork == inboundRtpVideo.frameRateNetwork && this.frameRateRender == inboundRtpVideo.frameRateRender && this.firCount == inboundRtpVideo.firCount && this.nackCount == inboundRtpVideo.nackCount && this.pliCount == inboundRtpVideo.pliCount && this.qpSum == inboundRtpVideo.qpSum && this.freezeCount == inboundRtpVideo.freezeCount && this.pauseCount == inboundRtpVideo.pauseCount && this.totalFreezesDuration == inboundRtpVideo.totalFreezesDuration && this.totalPausesDuration == inboundRtpVideo.totalPausesDuration && this.totalFramesDuration == inboundRtpVideo.totalFramesDuration && Double.compare(this.sumOfSquaredFramesDurations, inboundRtpVideo.sumOfSquaredFramesDurations) == 0;
}
public final int getAverageDecodeTime() {
return this.averageDecodeTime;
}
public final int getBitrate() {
return this.bitrate;
}
public final long getBytesReceived() {
return this.bytesReceived;
}
public final StatsCodec getCodec() {
return this.codec;
}
public final String getDecoderImplementationName() {
return this.decoderImplementationName;
}
public final long getFirCount() {
return this.firCount;
}
public final int getFrameRateDecode() {
return this.frameRateDecode;
}
public final int getFrameRateNetwork() {
return this.frameRateNetwork;
}
public final int getFrameRateRender() {
return this.frameRateRender;
}
public final int getFramesDecoded() {
return this.framesDecoded;
}
public final int getFramesDropped() {
return this.framesDropped;
}
public final int getFramesReceived() {
return this.framesReceived;
}
public final long getFreezeCount() {
return this.freezeCount;
}
public final long getNackCount() {
return this.nackCount;
}
public final int getPacketsLost() {
return this.packetsLost;
}
public final int getPacketsReceived() {
return this.packetsReceived;
}
public final long getPauseCount() {
return this.pauseCount;
}
public final long getPliCount() {
return this.pliCount;
}
public final long getQpSum() {
return this.qpSum;
}
public final Resolution getResolution() {
return this.resolution;
}
public final long getSsrc() {
return this.ssrc;
}
public final double getSumOfSquaredFramesDurations() {
return this.sumOfSquaredFramesDurations;
}
public final long getTotalFramesDuration() {
return this.totalFramesDuration;
}
public final long getTotalFreezesDuration() {
return this.totalFreezesDuration;
}
public final long getTotalPausesDuration() {
return this.totalPausesDuration;
}
public final String getType() {
return this.type;
}
public int hashCode() {
String str = this.type;
int i = 0;
int a = (b.a(this.ssrc) + ((str != null ? str.hashCode() : 0) * 31)) * 31;
StatsCodec statsCodec = this.codec;
int a2 = (((((((((b.a(this.bytesReceived) + ((a + (statsCodec != null ? statsCodec.hashCode() : 0)) * 31)) * 31) + this.packetsReceived) * 31) + this.packetsLost) * 31) + this.bitrate) * 31) + this.averageDecodeTime) * 31;
Resolution resolution = this.resolution;
int hashCode = (a2 + (resolution != null ? resolution.hashCode() : 0)) * 31;
String str2 = this.decoderImplementationName;
if (str2 != null) {
i = str2.hashCode();
}
int a3 = b.a(this.firCount);
int a4 = b.a(this.nackCount);
int a5 = b.a(this.pliCount);
int a6 = b.a(this.qpSum);
int a7 = b.a(this.freezeCount);
int a8 = b.a(this.pauseCount);
int a9 = b.a(this.totalFreezesDuration);
int a10 = b.a(this.totalPausesDuration);
return a.a(this.sumOfSquaredFramesDurations) + ((b.a(this.totalFramesDuration) + ((a10 + ((a9 + ((a8 + ((a7 + ((a6 + ((a5 + ((a4 + ((a3 + ((((((((((((((hashCode + i) * 31) + this.framesDecoded) * 31) + this.framesDropped) * 31) + this.framesReceived) * 31) + this.frameRateDecode) * 31) + this.frameRateNetwork) * 31) + this.frameRateRender) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31)) * 31);
}
public String toString() {
StringBuilder R = b.d.b.a.a.R("InboundRtpVideo(type=");
R.append(this.type);
R.append(", ssrc=");
R.append(this.ssrc);
R.append(", codec=");
R.append(this.codec);
R.append(", bytesReceived=");
R.append(this.bytesReceived);
R.append(", packetsReceived=");
R.append(this.packetsReceived);
R.append(", packetsLost=");
R.append(this.packetsLost);
R.append(", bitrate=");
R.append(this.bitrate);
R.append(", averageDecodeTime=");
R.append(this.averageDecodeTime);
R.append(", resolution=");
R.append(this.resolution);
R.append(", decoderImplementationName=");
R.append(this.decoderImplementationName);
R.append(", framesDecoded=");
R.append(this.framesDecoded);
R.append(", framesDropped=");
R.append(this.framesDropped);
R.append(", framesReceived=");
R.append(this.framesReceived);
R.append(", frameRateDecode=");
R.append(this.frameRateDecode);
R.append(", frameRateNetwork=");
R.append(this.frameRateNetwork);
R.append(", frameRateRender=");
R.append(this.frameRateRender);
R.append(", firCount=");
R.append(this.firCount);
R.append(", nackCount=");
R.append(this.nackCount);
R.append(", pliCount=");
R.append(this.pliCount);
R.append(", qpSum=");
R.append(this.qpSum);
R.append(", freezeCount=");
R.append(this.freezeCount);
R.append(", pauseCount=");
R.append(this.pauseCount);
R.append(", totalFreezesDuration=");
R.append(this.totalFreezesDuration);
R.append(", totalPausesDuration=");
R.append(this.totalPausesDuration);
R.append(", totalFramesDuration=");
R.append(this.totalFramesDuration);
R.append(", sumOfSquaredFramesDurations=");
R.append(this.sumOfSquaredFramesDurations);
R.append(")");
return R.toString();
}
}