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 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 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"); 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"); 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 component4() { return this.params; } public final VideoDecoder copy(String str, int i, int i2, Map 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 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 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, ")"); } }