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

Function GetSubSamplingH

src/avisynth/avssources.cpp:186–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186static int GetSubSamplingH(const VideoInfo &vi) {
187 if ((vi.IsYUV() || vi.IsYUVA()) && !vi.IsY() && vi.IsPlanar())
188 return vi.GetPlaneHeightSubsampling(PLANAR_U);
189 else
190 return 0;
191}
192
193static int GetSubSamplingW(const VideoInfo &vi) {
194 if ((vi.IsYUV() || vi.IsYUVA()) && !vi.IsY() && vi.IsPlanar())

Callers 1

InitOutputFormatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected