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

Method getColorspace

YUViewLib/src/ffmpeg/AVStreamWrapper.cpp:306–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306AVColorSpace AVStreamWrapper::getColorspace()
307{
308 this->update();
309 if (this->libVer.avformat.major <= 56 || !this->codecpar)
310 return this->codec.getColorspace();
311 return this->codecpar.getColorspace();
312}
313
314AVPixelFormat AVStreamWrapper::getPixelFormat()
315{

Callers 1

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected