MCPcopy Create free account
hub / github.com/FFMS/ffms2 / GetSampleType

Function GetSampleType

src/vapoursynth/vapoursource4.cpp:55–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55static int GetSampleType(const AVPixFmtDescriptor &desc) {
56 return (desc.flags & AV_PIX_FMT_FLAG_FLOAT) ? stFloat : stInteger;
57}
58
59static bool HasAlpha(const AVPixFmtDescriptor &desc) {
60 return !!(desc.flags & AV_PIX_FMT_FLAG_ALPHA);

Callers 2

FormatConversionToVSFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected