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

Function flagsSupported

YUViewLib/src/ffmpeg/AVPixFmtDescriptorWrapper.cpp:139–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139bool flagsSupported(const AVPixFmtDescriptorWrapper::Flags &flags)
140{
141 // We don't support any of these
142 if (flags.pallette)
143 return false;
144 if (flags.hwAccelerated)
145 return false;
146 if (flags.pseudoPallette)
147 return false;
148 if (flags.bayerPattern)
149 return false;
150 if (flags.floatValues)
151 return false;
152 return true;
153}
154
155} // namespace
156

Callers 2

getPixelFormatYUVMethod · 0.85
getRGBPixelFormatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected