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

Function convertFromInternalSubsampling

YUViewLib/src/decoder/decoderLibde265.cpp:75–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73{
74
75Subsampling convertFromInternalSubsampling(de265_chroma fmt)
76{
77 if (fmt == de265_chroma_mono)
78 return Subsampling::YUV_400;
79 else if (fmt == de265_chroma_420)
80 return Subsampling::YUV_420;
81 else if (fmt == de265_chroma_422)
82 return Subsampling::YUV_422;
83 else if (fmt == de265_chroma_444)
84 return Subsampling::YUV_444;
85
86 return Subsampling::UNKNOWN;
87}
88
89} // namespace
90

Callers 1

decodeFrameMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected