mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-12-05 11:59:30 +01:00
99 lines
5 KiB
Java
99 lines
5 KiB
Java
package androidx.camera.video.internal;
|
|
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import androidx.camera.core.impl.EncoderProfilesProxy;
|
|
import java.util.List;
|
|
import org.apache.commons.text.StringSubstitutor;
|
|
import rx.Single$$ExternalSyntheticBUOutline0;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes.dex */
|
|
final class AutoValue_VideoValidatedEncoderProfilesProxy extends VideoValidatedEncoderProfilesProxy {
|
|
private final List<EncoderProfilesProxy.AudioProfileProxy> audioProfiles;
|
|
private final EncoderProfilesProxy.AudioProfileProxy defaultAudioProfile;
|
|
private final int defaultDurationSeconds;
|
|
private final EncoderProfilesProxy.VideoProfileProxy defaultVideoProfile;
|
|
private final int recommendedFileFormat;
|
|
private final List<EncoderProfilesProxy.VideoProfileProxy> videoProfiles;
|
|
|
|
public AutoValue_VideoValidatedEncoderProfilesProxy(int i, int i2, List<EncoderProfilesProxy.AudioProfileProxy> list, List<EncoderProfilesProxy.VideoProfileProxy> list2, @Nullable EncoderProfilesProxy.AudioProfileProxy audioProfileProxy, EncoderProfilesProxy.VideoProfileProxy videoProfileProxy) {
|
|
this.defaultDurationSeconds = i;
|
|
this.recommendedFileFormat = i2;
|
|
if (list == null) {
|
|
Single$$ExternalSyntheticBUOutline0.m$1("Null audioProfiles");
|
|
throw null;
|
|
}
|
|
this.audioProfiles = list;
|
|
if (list2 == null) {
|
|
Single$$ExternalSyntheticBUOutline0.m$1("Null videoProfiles");
|
|
throw null;
|
|
}
|
|
this.videoProfiles = list2;
|
|
this.defaultAudioProfile = audioProfileProxy;
|
|
if (videoProfileProxy != null) {
|
|
this.defaultVideoProfile = videoProfileProxy;
|
|
} else {
|
|
Single$$ExternalSyntheticBUOutline0.m$1("Null defaultVideoProfile");
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
EncoderProfilesProxy.AudioProfileProxy audioProfileProxy;
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (obj instanceof VideoValidatedEncoderProfilesProxy) {
|
|
VideoValidatedEncoderProfilesProxy videoValidatedEncoderProfilesProxy = (VideoValidatedEncoderProfilesProxy) obj;
|
|
if (this.defaultDurationSeconds == videoValidatedEncoderProfilesProxy.getDefaultDurationSeconds() && this.recommendedFileFormat == videoValidatedEncoderProfilesProxy.getRecommendedFileFormat() && this.audioProfiles.equals(videoValidatedEncoderProfilesProxy.getAudioProfiles()) && this.videoProfiles.equals(videoValidatedEncoderProfilesProxy.getVideoProfiles()) && ((audioProfileProxy = this.defaultAudioProfile) != null ? audioProfileProxy.equals(videoValidatedEncoderProfilesProxy.getDefaultAudioProfile()) : videoValidatedEncoderProfilesProxy.getDefaultAudioProfile() == null) && this.defaultVideoProfile.equals(videoValidatedEncoderProfilesProxy.getDefaultVideoProfile())) {
|
|
return true;
|
|
}
|
|
}
|
|
return false;
|
|
}
|
|
|
|
@Override // androidx.camera.core.impl.EncoderProfilesProxy
|
|
@NonNull
|
|
public List<EncoderProfilesProxy.AudioProfileProxy> getAudioProfiles() {
|
|
return this.audioProfiles;
|
|
}
|
|
|
|
@Override // androidx.camera.video.internal.VideoValidatedEncoderProfilesProxy
|
|
@Nullable
|
|
public EncoderProfilesProxy.AudioProfileProxy getDefaultAudioProfile() {
|
|
return this.defaultAudioProfile;
|
|
}
|
|
|
|
@Override // androidx.camera.core.impl.EncoderProfilesProxy
|
|
public int getDefaultDurationSeconds() {
|
|
return this.defaultDurationSeconds;
|
|
}
|
|
|
|
@Override // androidx.camera.video.internal.VideoValidatedEncoderProfilesProxy
|
|
@NonNull
|
|
public EncoderProfilesProxy.VideoProfileProxy getDefaultVideoProfile() {
|
|
return this.defaultVideoProfile;
|
|
}
|
|
|
|
@Override // androidx.camera.core.impl.EncoderProfilesProxy
|
|
public int getRecommendedFileFormat() {
|
|
return this.recommendedFileFormat;
|
|
}
|
|
|
|
@Override // androidx.camera.core.impl.EncoderProfilesProxy
|
|
@NonNull
|
|
public List<EncoderProfilesProxy.VideoProfileProxy> getVideoProfiles() {
|
|
return this.videoProfiles;
|
|
}
|
|
|
|
public int hashCode() {
|
|
int hashCode = (((((((this.defaultDurationSeconds ^ 1000003) * 1000003) ^ this.recommendedFileFormat) * 1000003) ^ this.audioProfiles.hashCode()) * 1000003) ^ this.videoProfiles.hashCode()) * 1000003;
|
|
EncoderProfilesProxy.AudioProfileProxy audioProfileProxy = this.defaultAudioProfile;
|
|
return this.defaultVideoProfile.hashCode() ^ ((hashCode ^ (audioProfileProxy == null ? 0 : audioProfileProxy.hashCode())) * 1000003);
|
|
}
|
|
|
|
public String toString() {
|
|
return "VideoValidatedEncoderProfilesProxy{defaultDurationSeconds=" + this.defaultDurationSeconds + ", recommendedFileFormat=" + this.recommendedFileFormat + ", audioProfiles=" + this.audioProfiles + ", videoProfiles=" + this.videoProfiles + ", defaultAudioProfile=" + this.defaultAudioProfile + ", defaultVideoProfile=" + this.defaultVideoProfile + StringSubstitutor.DEFAULT_VAR_END;
|
|
}
|
|
}
|