rv.analytics.trackedevents.Codec
*/
class Codec
{
/**
* Generated from protobuf enum H264 = 0;
*/
const H264 = 0;
/**
* Generated from protobuf enum H264SOFTWARE = 1;
*/
const H264SOFTWARE = 1;
/**
* Generated from protobuf enum H265 = 2;
*/
const H265 = 2;
/**
* Generated from protobuf enum H265SOFTWARE = 3;
*/
const H265SOFTWARE = 3;
/**
* Generated from protobuf enum PRORES422PROXY = 4;
*/
const PRORES422PROXY = 4;
/**
* Generated from protobuf enum PRORES422LT = 5;
*/
const PRORES422LT = 5;
/**
* Generated from protobuf enum PRORES422 = 6;
*/
const PRORES422 = 6;
/**
* Generated from protobuf enum PRORES422HQ = 7;
*/
const PRORES422HQ = 7;
/**
* Generated from protobuf enum PRORES4444 = 8;
*/
const PRORES4444 = 8;
/**
* Generated from protobuf enum PRORES4444XQ = 9;
*/
const PRORES4444XQ = 9;
/**
* Generated from protobuf enum HAP = 10;
*/
const HAP = 10;
/**
* Generated from protobuf enum HAPALPHA = 11;
*/
const HAPALPHA = 11;
/**
* Generated from protobuf enum NOTCH = 12;
*/
const NOTCH = 12;
/**
* Generated from protobuf enum AUTOMATIC = 13;
*/
const AUTOMATIC = 13;
/**
* Generated from protobuf enum HAPQ = 14;
*/
const HAPQ = 14;
/**
* Generated from protobuf enum HAPQALPHA = 15;
*/
const HAPQALPHA = 15;
private static $valueToName = [
self::H264 => 'H264',
self::H264SOFTWARE => 'H264SOFTWARE',
self::H265 => 'H265',
self::H265SOFTWARE => 'H265SOFTWARE',
self::PRORES422PROXY => 'PRORES422PROXY',
self::PRORES422LT => 'PRORES422LT',
self::PRORES422 => 'PRORES422',
self::PRORES422HQ => 'PRORES422HQ',
self::PRORES4444 => 'PRORES4444',
self::PRORES4444XQ => 'PRORES4444XQ',
self::HAP => 'HAP',
self::HAPALPHA => 'HAPALPHA',
self::NOTCH => 'NOTCH',
self::AUTOMATIC => 'AUTOMATIC',
self::HAPQ => 'HAPQ',
self::HAPQALPHA => 'HAPQALPHA',
];
public static function name($value)
{
if (!isset(self::$valueToName[$value])) {
throw new UnexpectedValueException(sprintf(
'Enum %s has no name defined for value %s', __CLASS__, $value));
}
return self::$valueToName[$value];
}
public static function value($name)
{
$const = __CLASS__ . '::' . strtoupper($name);
if (!defined($const)) {
throw new UnexpectedValueException(sprintf(
'Enum %s has no value defined for name %s', __CLASS__, $name));
}
return constant($const);
}
}