VideoRangeType.cs 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. namespace Jellyfin.Data.Enums;
  2. /// <summary>
  3. /// An enum representing types of video ranges.
  4. /// </summary>
  5. public enum VideoRangeType
  6. {
  7. /// <summary>
  8. /// Unknown video range type.
  9. /// </summary>
  10. Unknown,
  11. /// <summary>
  12. /// SDR video range type (8bit).
  13. /// </summary>
  14. SDR,
  15. /// <summary>
  16. /// HDR10 video range type (10bit).
  17. /// </summary>
  18. HDR10,
  19. /// <summary>
  20. /// HLG video range type (10bit).
  21. /// </summary>
  22. HLG,
  23. /// <summary>
  24. /// Dolby Vision video range type (10bit encoded / 12bit remapped).
  25. /// </summary>
  26. DOVI,
  27. /// <summary>
  28. /// Dolby Vision with HDR10 video range fallback (10bit).
  29. /// </summary>
  30. DOVIWithHDR10,
  31. /// <summary>
  32. /// Dolby Vision with HLG video range fallback (10bit).
  33. /// </summary>
  34. DOVIWithHLG,
  35. /// <summary>
  36. /// Dolby Vision with SDR video range fallback (8bit / 10bit).
  37. /// </summary>
  38. DOVIWithSDR,
  39. /// <summary>
  40. /// Dolby Vision with Enhancment Layer (Profile 7).
  41. /// </summary>
  42. DOVIWithEL,
  43. /// <summary>
  44. /// Dolby Vision and HDR10+ Metadata coexists.
  45. /// </summary>
  46. DOVIWithHDR10Plus,
  47. /// <summary>
  48. /// Dolby Vision with Enhancment Layer (Profile 7) and HDR10+ Metadata coexists.
  49. /// </summary>
  50. DOVIWithELHDR10Plus,
  51. /// <summary>
  52. /// Dolby Vision with invalid configuration. e.g. Profile 8 compat id 6.
  53. /// When using this range, the server would assume the video is still HDR10 after removing the Dolby Vision metadata.
  54. /// </summary>
  55. DOVIInvalid,
  56. /// <summary>
  57. /// HDR10+ video range type (10bit to 16bit).
  58. /// </summary>
  59. HDR10Plus
  60. }