package mc;

import android.graphics.Rect;
import com.google.android.gms.internal.ads.dg;

/* JADX INFO: loaded from: classes.dex */
public final class w {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final dg f30647a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final int f30648b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final int f30649c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public Rect f30650d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public boolean f30651e;

    public w(byte[] bArr, int i10, int i11, int i12, int i13) {
        this.f30647a = new dg(bArr, i10, i11);
        this.f30649c = i13;
        this.f30648b = i12;
        if (i10 * i11 <= bArr.length) {
            return;
        }
        StringBuilder sbR = defpackage.e.r("Image data does not match the resolution. ", i10, "x", i11, " > ");
        sbR.append(bArr.length);
        throw new IllegalArgumentException(sbR.toString());
    }
}
