forked from Juby210/discord-jadx
127 lines
3.8 KiB
Java
127 lines
3.8 KiB
Java
package co.discord.media_engine;
|
|
|
|
import c.d.b.a.a;
|
|
import d0.z.d.m;
|
|
import java.util.Map;
|
|
import java.util.Objects;
|
|
/* compiled from: Codecs.kt */
|
|
public final class VideoDecoder {
|
|
private final String name;
|
|
private final Map<String, String> params;
|
|
private final String[] paramsKeys;
|
|
private final String[] paramsValues;
|
|
private final int rtxType;
|
|
private final int type;
|
|
|
|
public VideoDecoder(String str, int i, int i2, Map<String, String> map) {
|
|
m.checkNotNullParameter(str, "name");
|
|
m.checkNotNullParameter(map, "params");
|
|
this.name = str;
|
|
this.type = i;
|
|
this.rtxType = i2;
|
|
this.params = map;
|
|
Object[] array = map.keySet().toArray(new String[0]);
|
|
Objects.requireNonNull(array, "null cannot be cast to non-null type kotlin.Array<T>");
|
|
this.paramsKeys = (String[]) array;
|
|
Object[] array2 = map.values().toArray(new String[0]);
|
|
Objects.requireNonNull(array2, "null cannot be cast to non-null type kotlin.Array<T>");
|
|
this.paramsValues = (String[]) array2;
|
|
}
|
|
|
|
/* JADX DEBUG: Multi-variable search result rejected for r0v0, resolved type: co.discord.media_engine.VideoDecoder */
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public static /* synthetic */ VideoDecoder copy$default(VideoDecoder videoDecoder, String str, int i, int i2, Map map, int i3, Object obj) {
|
|
if ((i3 & 1) != 0) {
|
|
str = videoDecoder.name;
|
|
}
|
|
if ((i3 & 2) != 0) {
|
|
i = videoDecoder.type;
|
|
}
|
|
if ((i3 & 4) != 0) {
|
|
i2 = videoDecoder.rtxType;
|
|
}
|
|
if ((i3 & 8) != 0) {
|
|
map = videoDecoder.params;
|
|
}
|
|
return videoDecoder.copy(str, i, i2, map);
|
|
}
|
|
|
|
public final String component1() {
|
|
return this.name;
|
|
}
|
|
|
|
public final int component2() {
|
|
return this.type;
|
|
}
|
|
|
|
public final int component3() {
|
|
return this.rtxType;
|
|
}
|
|
|
|
public final Map<String, String> component4() {
|
|
return this.params;
|
|
}
|
|
|
|
public final VideoDecoder copy(String str, int i, int i2, Map<String, String> map) {
|
|
m.checkNotNullParameter(str, "name");
|
|
m.checkNotNullParameter(map, "params");
|
|
return new VideoDecoder(str, i, i2, map);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof VideoDecoder)) {
|
|
return false;
|
|
}
|
|
VideoDecoder videoDecoder = (VideoDecoder) obj;
|
|
return m.areEqual(this.name, videoDecoder.name) && this.type == videoDecoder.type && this.rtxType == videoDecoder.rtxType && m.areEqual(this.params, videoDecoder.params);
|
|
}
|
|
|
|
public final String getName() {
|
|
return this.name;
|
|
}
|
|
|
|
public final Map<String, String> getParams() {
|
|
return this.params;
|
|
}
|
|
|
|
public final String[] getParamsKeys() {
|
|
return this.paramsKeys;
|
|
}
|
|
|
|
public final String[] getParamsValues() {
|
|
return this.paramsValues;
|
|
}
|
|
|
|
public final int getRtxType() {
|
|
return this.rtxType;
|
|
}
|
|
|
|
public final int getType() {
|
|
return this.type;
|
|
}
|
|
|
|
public int hashCode() {
|
|
String str = this.name;
|
|
int i = 0;
|
|
int hashCode = (((((str != null ? str.hashCode() : 0) * 31) + this.type) * 31) + this.rtxType) * 31;
|
|
Map<String, String> map = this.params;
|
|
if (map != null) {
|
|
i = map.hashCode();
|
|
}
|
|
return hashCode + i;
|
|
}
|
|
|
|
public String toString() {
|
|
StringBuilder L = a.L("VideoDecoder(name=");
|
|
L.append(this.name);
|
|
L.append(", type=");
|
|
L.append(this.type);
|
|
L.append(", rtxType=");
|
|
L.append(this.rtxType);
|
|
L.append(", params=");
|
|
return a.F(L, this.params, ")");
|
|
}
|
|
}
|