MCPcopy Create free account
hub / github.com/IENT/YUView / convertFromInternalSubsampling

Function convertFromInternalSubsampling

YUViewLib/src/decoder/decoderHM.cpp:91–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89{
90
91Subsampling convertFromInternalSubsampling(libHMDec_ChromaFormat fmt)
92{
93 if (fmt == LIBHMDEC_CHROMA_400)
94 return Subsampling::YUV_400;
95 if (fmt == LIBHMDEC_CHROMA_420)
96 return Subsampling::YUV_420;
97 if (fmt == LIBHMDEC_CHROMA_422)
98 return Subsampling::YUV_422;
99
100 return Subsampling::UNKNOWN;
101}
102
103} // namespace
104

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected