gecko-dev/dom/media/encoder
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
..
ContainerWriter.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
EncodedFrameContainer.h Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
MediaEncoder.cpp Bug 1060419 - make log_print use Printf.h, r=froydnj 2016-12-15 20:16:31 -07:00
MediaEncoder.h Bug 1311214 - Remove b2g OMX encoder/decoder; r=cpearce 2016-10-19 17:44:31 -04:00
moz.build Bug 1357323 - Remove support for gonk in the build system. r=gps 2017-04-18 16:56:09 +09:00
OpusTrackEncoder.cpp Bug 1349421 - Update handling of values derived from chunk duration in OpusTrackEncoder. r=derf 2017-03-31 07:57:37 +13:00
OpusTrackEncoder.h Bug 1215115 - part2: Mux opus into webm, remove bitdepth. r=rillian 2016-04-01 11:04:00 +08:00
TrackEncoder.cpp Bug 1357986 - Use helper functions of TimeUnit to make code more readable. r=kaku 2017-04-17 16:35:04 +08:00
TrackEncoder.h Bug 1333341 - Fix accumulating rounding error in VideoTrackEncoder. r=jesup 2017-01-24 16:18:48 +01:00
TrackMetadataBase.h Bug 1205927 - Part 1: [MediaEncoder] Support *.3g2 with EVRC audio format. r=ayang 2015-10-27 15:12:26 +08:00
VP8TrackEncoder.cpp Bug 1232043 - Reconfigure VP8 encoder when resolution change. r=pehrsons 2017-04-07 13:13:52 +03:00
VP8TrackEncoder.h Bug 1232043 - Reconfigure VP8 encoder when resolution change. r=pehrsons 2017-04-07 13:13:52 +03:00