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

295 lines
11 KiB
Java

package co.discord.media_engine;
import a0.a.a.b;
import c.d.b.a.a;
import d0.z.d.m;
/* compiled from: Statistics.kt */
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 nackCount;
private final int packetsLost;
private final int packetsReceived;
private final long pliCount;
private final long qpSum;
private final Resolution resolution;
private final long ssrc;
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) {
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;
}
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, 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);
}
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 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) {
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);
}
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;
}
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 getNackCount() {
return this.nackCount;
}
public final int getPacketsLost() {
return this.packetsLost;
}
public final int getPacketsReceived() {
return this.packetsReceived;
}
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 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();
}
return b.a(this.qpSum) + ((b.a(this.pliCount) + ((b.a(this.nackCount) + ((b.a(this.firCount) + ((((((((((((((hashCode + i) * 31) + this.framesDecoded) * 31) + this.framesDropped) * 31) + this.framesReceived) * 31) + this.frameRateDecode) * 31) + this.frameRateNetwork) * 31) + this.frameRateRender) * 31)) * 31)) * 31)) * 31);
}
public String toString() {
StringBuilder L = a.L("InboundRtpVideo(type=");
L.append(this.type);
L.append(", ssrc=");
L.append(this.ssrc);
L.append(", codec=");
L.append(this.codec);
L.append(", bytesReceived=");
L.append(this.bytesReceived);
L.append(", packetsReceived=");
L.append(this.packetsReceived);
L.append(", packetsLost=");
L.append(this.packetsLost);
L.append(", bitrate=");
L.append(this.bitrate);
L.append(", averageDecodeTime=");
L.append(this.averageDecodeTime);
L.append(", resolution=");
L.append(this.resolution);
L.append(", decoderImplementationName=");
L.append(this.decoderImplementationName);
L.append(", framesDecoded=");
L.append(this.framesDecoded);
L.append(", framesDropped=");
L.append(this.framesDropped);
L.append(", framesReceived=");
L.append(this.framesReceived);
L.append(", frameRateDecode=");
L.append(this.frameRateDecode);
L.append(", frameRateNetwork=");
L.append(this.frameRateNetwork);
L.append(", frameRateRender=");
L.append(this.frameRateRender);
L.append(", firCount=");
L.append(this.firCount);
L.append(", nackCount=");
L.append(this.nackCount);
L.append(", pliCount=");
L.append(this.pliCount);
L.append(", qpSum=");
return a.z(L, this.qpSum, ")");
}
}