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

Function PopCount

src/core/audiosource.cpp:206–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

204}
205
206static int PopCount(int64_t v) {
207 int c = 0;
208 for (size_t i = 0; i < 64; i++) {
209 if (v & 1)
210 c++;
211 v >>= 1;
212 }
213 return c;
214}
215
216void FFMS_AudioSource::SetOutputFormat(FFMS_ResampleOptions const& opt) {
217 if (opt.SampleRate != AP.SampleRate)

Callers 1

SetOutputFormatMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected