Ctrl K
ComunidadGuías…

server/src/hdr_stream_policy.h

Rama main · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
#pragma once

namespace video::hdr_stream_policy {
  // Native HDR needs an HDR source. Synthesized HDR deliberately needs SDR;
  // the source's verified SDR state must not downgrade the encoded stream.
  constexpr bool requires_hdr_source(bool hdr_stream_requested, bool synthesizing_hdr) {
    return hdr_stream_requested && !synthesizing_hdr;
  }
}  // namespace video::hdr_stream_policy