package com.mstar.android.tvapi.common.vo;

import android.os.Parcel;
import android.os.Parcelable;

/* JADX INFO: loaded from: classes.dex */
public class DolbyDapRegParamter implements Parcelable {
    public static final Parcelable.Creator<DolbyDapRegParamter> CREATOR = new Parcelable.Creator<DolbyDapRegParamter>() { // from class: com.mstar.android.tvapi.common.vo.DolbyDapRegParamter.1
        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public DolbyDapRegParamter createFromParcel(Parcel parcel) {
            return new DolbyDapRegParamter(parcel);
        }

        /* JADX WARN: Can't rename method to resolve collision */
        @Override // android.os.Parcelable.Creator
        public DolbyDapRegParamter[] newArray(int i2) {
            return new DolbyDapRegParamter[i2];
        }
    };
    public static final int DAP_MAX_BANDS = 20;
    public int[] aRegBandCenter;
    public int[] aRegHighThresholds;
    public int[] aRegIsolatedBands;
    public int[] aRegLowThresholds;
    public int regNbBands;

    public DolbyDapRegParamter() {
        this.aRegBandCenter = new int[20];
        this.aRegLowThresholds = new int[20];
        this.aRegHighThresholds = new int[20];
        this.aRegIsolatedBands = new int[20];
        this.regNbBands = 0;
        for (int i2 = 0; i2 < 20; i2++) {
            this.aRegBandCenter[i2] = 0;
            this.aRegLowThresholds[i2] = 0;
            this.aRegHighThresholds[i2] = 0;
            this.aRegIsolatedBands[i2] = 0;
        }
    }

    @Override // android.os.Parcelable
    public int describeContents() {
        return 0;
    }

    @Override // android.os.Parcelable
    public void writeToParcel(Parcel parcel, int i2) {
        parcel.writeInt(this.regNbBands);
        for (int i3 = 0; i3 < 20; i3++) {
            parcel.writeInt(this.aRegBandCenter[i3]);
            parcel.writeInt(this.aRegLowThresholds[i3]);
            parcel.writeInt(this.aRegHighThresholds[i3]);
            parcel.writeInt(this.aRegIsolatedBands[i3]);
        }
    }

    public DolbyDapRegParamter(Parcel parcel) {
        this.aRegBandCenter = new int[20];
        this.aRegLowThresholds = new int[20];
        this.aRegHighThresholds = new int[20];
        this.aRegIsolatedBands = new int[20];
        this.regNbBands = parcel.readInt();
        for (int i2 = 0; i2 < 20; i2++) {
            this.aRegBandCenter[i2] = parcel.readInt();
            this.aRegLowThresholds[i2] = parcel.readInt();
            this.aRegHighThresholds[i2] = parcel.readInt();
            this.aRegIsolatedBands[i2] = parcel.readInt();
        }
    }
}
