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

Class LossAttributes

src/core/videoutils.cpp:131–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131struct LossAttributes {
132 AVPixelFormat Format;
133 int ChromaUndersampling;
134 int ChromaOversampling;
135 int DepthDifference;
136 int CSLoss; // 0 = no difference, 1 = unused, 2 = full conversion required, 3 = alpha loss, 4 = full conversion plus alpha loss, 5 = complete color loss
137 int CSGain; // alpha plane added, gray converted to yuv/rgb
138};
139
140static int GetPseudoDepth(const AVPixFmtDescriptor &Desc) {
141 // Comparing the pseudo depth makes sure that rgb565-ish formats get selected over rgb555-ish ones

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected