package com.bytedance.ies.cutsame.prepare;

import X.AnonymousClass7PH;
import X.M12;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.util.Objects;

public final class VECompileBpsConfig implements Parcelable {
    public static final AnonymousClass7PH CREATOR = new AnonymousClass7PH((byte) 0);
    @c(LIZ = "bps_for_1080p")
    public final int LIZ;
    @c(LIZ = "bps_for_720p")
    public final int LIZIZ;
    @c(LIZ = "use_material_bps")
    public final boolean LIZJ;

    static {
        Covode.recordClassIndex(29070);
    }

    private Object[] LIZ() {
        return new Object[]{Integer.valueOf(this.LIZ), Integer.valueOf(this.LIZIZ), Boolean.valueOf(this.LIZJ)};
    }

    public final int describeContents() {
        return 0;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof VECompileBpsConfig)) {
            return false;
        }
        return M12.LIZ(((VECompileBpsConfig) obj).LIZ(), LIZ());
    }

    public final int hashCode() {
        return Objects.hash(LIZ());
    }

    public final String toString() {
        return M12.LIZ("VECompileBpsConfig:%s,%s,%s", LIZ());
    }

    public /* synthetic */ VECompileBpsConfig() {
        this(16777216, 10485760, false);
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public VECompileBpsConfig(Parcel parcel) {
        this(parcel.readInt(), parcel.readInt(), parcel.readByte() != 1 ? false : true);
        M12.LIZ(parcel);
    }

    public final void writeToParcel(Parcel parcel, int i) {
        if (parcel != null) {
            parcel.writeInt(this.LIZ);
            parcel.writeInt(this.LIZIZ);
            parcel.writeByte(this.LIZJ ? (byte) 1 : 0);
        }
    }

    public VECompileBpsConfig(int i, int i2, boolean z) {
        this.LIZ = i;
        this.LIZIZ = i2;
        this.LIZJ = z;
    }
}
