All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.red5.io.obu.OBPChromaSamplePosition Maven / Gradle / Ivy

There is a newer version: 2.0.17
Show newest version
package org.red5.io.obu;

public enum OBPChromaSamplePosition {
    CSP_UNKNOWN(0), CSP_VERTICAL(1), CSP_COLOCATED(2);

    private final int value;

    OBPChromaSamplePosition(int value) {
        this.value = value;
    }

    public int getValue() {
        return value;
    }

    public static OBPChromaSamplePosition fromValue(int value) {
        for (OBPChromaSamplePosition type : OBPChromaSamplePosition.values()) {
            if (type.getValue() == value) {
                return type;
            }
        }
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy