gecko-dev/dom/media/platforms/wmf
JW Wang f2ea37e57b Bug 1357986 - Use helper functions of TimeUnit to make code more readable. r=kaku
1. using media::TimeUnit to save some typing.
2. replace TimeUnit() with TimeUnit::Zero().
3. replace TimeUnit::FromXXX(0) with TimeUnit::Zero().
4. replace TimeUnit::FromMicroseconds(std::numeric_limits<int64_t>::max()) with TimeUnit::FromInfinity().
5. replace some uses of int64_t with TimeUnit.
6. replace t > TimeUnit() with t.IsPositive().

MozReview-Commit-ID: 6hC94PXx86i

--HG--
extra : rebase_source : 1ea3b409e6ec12915f3e1a00359d6ff4152c8917
extra : intermediate-source : e31a12ad0e7a4840119036f261ed17eaaff85734
extra : source : ae07ee48000c4a52da0e4fd502b4d690ec51ce1f
2017-04-17 16:35:04 +08:00
..
DXVA2Manager.cpp Bug 1355740 - Change the type of TrackInfo::mDuration to TimeUnit. r=jya 2017-04-12 16:41:36 +08:00
DXVA2Manager.h Bug 1340398 - Part 2: Support NV12 texture hosts in CompositorD3D11. r=mattwoodrow 2017-03-07 20:55:20 +00:00
MFTDecoder.cpp eBug 1347101: P2. Don't rely on MF_E_TRANSFORM_STREAM_CHANGE result. r=mattwoodrow a=Tomcat 2017-03-23 16:04:39 +01:00
MFTDecoder.h eBug 1347101: P2. Don't rely on MF_E_TRANSFORM_STREAM_CHANGE result. r=mattwoodrow a=Tomcat 2017-03-23 16:04:39 +01:00
WMF.h Bug 1336778 - Part 1: Remove always-false #if WINVER < _WIN32_WINNT_WIN7 (0x0601) check in dom/media. r=cpearce 2017-01-25 00:13:33 -08:00
WMFAudioMFTManager.cpp Bug 1356530 - Change the type of MediaData::mTime to TimeUnit since int64_t is ambiguous. r=kaku 2017-04-14 17:13:36 +08:00
WMFAudioMFTManager.h Bug 1337559: P3. Fix coding style of windows decoder. r=gerald 2017-02-11 03:24:56 +11:00
WMFDecoderModule.cpp Bug 1338011 - Adds an intermediate fallback when the GPU process crashes - r=gerald 2017-04-15 09:34:01 +12:00
WMFDecoderModule.h Bug 1339748: P2. Let the MediaDataDecoder tells the format it wants. r=cpearce 2017-02-17 22:19:55 +01:00
WMFMediaDataDecoder.cpp Bug 1345034 - Label runnables in dom/media/WMFMediaDataDecoder.cpp; r=jwwang 2017-03-07 15:26:08 +08:00
WMFMediaDataDecoder.h Bug 1341210 - refactor ProcessOutput() to remove mDecodePromise and mDrainPromise. r=jya 2017-02-21 15:27:36 +08:00
WMFUtils.cpp Bug 1357986 - Use helper functions of TimeUnit to make code more readable. r=kaku 2017-04-17 16:35:04 +08:00
WMFUtils.h Bug 1337559: P3. Fix coding style of windows decoder. r=gerald 2017-02-11 03:24:56 +11:00
WMFVideoMFTManager.cpp Bug 1357986 - Use helper functions of TimeUnit to make code more readable. r=kaku 2017-04-17 16:35:04 +08:00
WMFVideoMFTManager.h eBug 1347101: P2. Don't rely on MF_E_TRANSFORM_STREAM_CHANGE result. r=mattwoodrow a=Tomcat 2017-03-23 16:04:39 +01:00
moz.build Bug 1286877 - do not set c-basic-offset for python-mode; r=gps 2016-07-14 10:16:42 -06:00