package com.bytedance.ies.nlemediajava;

import X.M12;
import com.bytedance.covode.number.Covode;
import java.util.Objects;

public final class VideoProperty {
    public final DoubleValue alpha;
    public final FloatArrayValue position;
    public final DoubleValue rotation;
    public final DoubleValue scale;

    static {
        Covode.recordClassIndex(30057);
    }

    public static /* synthetic */ VideoProperty copy$default(VideoProperty videoProperty, DoubleValue doubleValue, FloatArrayValue floatArrayValue, DoubleValue doubleValue2, DoubleValue doubleValue3, int i, Object obj) {
        if ((i & 1) != 0) {
            doubleValue = videoProperty.alpha;
        }
        if ((i & 2) != 0) {
            floatArrayValue = videoProperty.position;
        }
        if ((i & 4) != 0) {
            doubleValue2 = videoProperty.rotation;
        }
        if ((i & 8) != 0) {
            doubleValue3 = videoProperty.scale;
        }
        return videoProperty.copy(doubleValue, floatArrayValue, doubleValue2, doubleValue3);
    }

    private Object[] getObjects() {
        return new Object[]{this.alpha, this.position, this.rotation, this.scale};
    }

    public final VideoProperty copy(DoubleValue doubleValue, FloatArrayValue floatArrayValue, DoubleValue doubleValue2, DoubleValue doubleValue3) {
        M12.LIZ(doubleValue, floatArrayValue, doubleValue2, doubleValue3);
        return new VideoProperty(doubleValue, floatArrayValue, doubleValue2, doubleValue3);
    }

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

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

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

    public final DoubleValue getAlpha() {
        return this.alpha;
    }

    public final FloatArrayValue getPosition() {
        return this.position;
    }

    public final DoubleValue getRotation() {
        return this.rotation;
    }

    public final DoubleValue getScale() {
        return this.scale;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public VideoProperty(com.bytedance.ies.nle.editor_jni.NLESegmentVideo r8, com.bytedance.ies.nle.editor_jni.NLETrackSlot r9, com.bytedance.ies.nle.editor_jni.NLEMatrix r10) {
        /*
            r7 = this;
            X.M12.LIZ(r8, r9)
            com.bytedance.ies.nlemediajava.DoubleValue r5 = new com.bytedance.ies.nlemediajava.DoubleValue
            float r0 = r8.LJJII()
            double r0 = (double) r0
            r5.<init>(r0)
            com.bytedance.ies.nlemediajava.FloatArrayValue r6 = new com.bytedance.ies.nlemediajava.FloatArrayValue
            r0 = 2
            java.lang.Float[] r2 = new java.lang.Float[r0]
            if (r10 == 0) goto L_0x0051
            float r0 = r10.LIZJ()
        L_0x0018:
            java.lang.Float r1 = java.lang.Float.valueOf(r0)
            r0 = 0
            r2[r0] = r1
            r1 = 1
            if (r10 == 0) goto L_0x004c
            float r0 = r10.LIZLLL()
        L_0x0026:
            java.lang.Float r0 = java.lang.Float.valueOf(r0)
            r2[r1] = r0
            java.util.List r0 = X.LeS.LIZIZ(r2)
            r6.<init>(r0)
            com.bytedance.ies.nlemediajava.DoubleValue r4 = new com.bytedance.ies.nlemediajava.DoubleValue
            float r0 = r9.getRotation()
            double r2 = (double) r0
            double r0 = -r2
            r4.<init>(r0)
            com.bytedance.ies.nlemediajava.DoubleValue r2 = new com.bytedance.ies.nlemediajava.DoubleValue
            float r0 = r9.getScale()
            double r0 = (double) r0
            r2.<init>(r0)
            r7.<init>(r5, r6, r4, r2)
            return
        L_0x004c:
            float r0 = r9.getTransformY()
            goto L_0x0026
        L_0x0051:
            float r0 = r9.getTransformX()
            goto L_0x0018
        */
        throw new UnsupportedOperationException("Method not decompiled: com.bytedance.ies.nlemediajava.VideoProperty.<init>(com.bytedance.ies.nle.editor_jni.NLESegmentVideo, com.bytedance.ies.nle.editor_jni.NLETrackSlot, com.bytedance.ies.nle.editor_jni.NLEMatrix):void");
    }

    public VideoProperty(DoubleValue doubleValue, FloatArrayValue floatArrayValue, DoubleValue doubleValue2, DoubleValue doubleValue3) {
        M12.LIZ(doubleValue, floatArrayValue, doubleValue2, doubleValue3);
        this.alpha = doubleValue;
        this.position = floatArrayValue;
        this.rotation = doubleValue2;
        this.scale = doubleValue3;
    }
}
