Skip to content

A self-hosted media server and file management system

216 B
Raw Blame
<?php

namespace App\Enums;

enum HardwareType: int {
    case CPU = 0;
    case CUDA = 1;
    case QSV = 2;
    case VAAPI = 3;

    public function label(): string {
        return strtolower($this->name);
    }
}