// Converts from microseconds to hundreds of nanoseconds. // We use microseconds for our timestamps, whereas WMF uses // hundreds of nanoseconds. inline int64_t UsecsToHNs(int64_t aUsecs) { return aUsecs * 10; }
// Converts from hundreds of nanoseconds to microseconds. // We use microseconds for our timestamps, whereas WMF uses // hundreds of nanoseconds. inline int64_t HNsToUsecs(int64_t hNanoSecs) { return hNanoSecs / 10; }
// Video frame microseconds are (currently) in 90kHz units, as used by RTP. // Use this to convert to microseconds... inline Microseconds RTPTimeToMicroseconds(int64_t rtptime) { return (rtptime * 1000000) / 90000;
}
// Returns the name of the DLL that is needed to decode H.264 on // the given windows version we're running on. inlineconstchar* WMFDecoderDllName() { return"msmpeg2vdec.dll"; }
// Returns the maximum number of threads we want WMF to use for decoding // given the number of logical processors available.
int32_t GetNumThreads(int32_t aCoreCount);
} // namespace wmf
#endif// WMFUtils_h_
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-09-27)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.