dom/media/MediaDecoderStateMachine.cpp
30b53fa5af1379222391b9dfdcd0bf290adb0cbc
created 2016-09-06 11:10 +0800
pushed 2016-09-08 22:03 +0000
JW Wang JW Wang - Bug 1300956. Part 4 - Implement DecodingFirstFrameState. r=kaku
174da142669cd40e4c4f7cb15ef7c538ce8541af
created 2016-09-06 11:07 +0800
pushed 2016-09-08 22:03 +0000
JW Wang JW Wang - Bug 1300956. Part 3 - Implement DormantState. r=kaku
782c54cd404f894cdd1f101fb5a7b1648f29baa9
created 2016-09-06 11:05 +0800
pushed 2016-09-08 22:03 +0000
JW Wang JW Wang - Bug 1300956. Part 2 - Implement WaitForCDMState. r=kaku
b867d9ef5e6417e26085eb19654b9e8c7ca0a512
created 2016-09-06 11:01 +0800
pushed 2016-09-08 22:03 +0000
JW Wang JW Wang - Bug 1300956. Part 1 - Add declarations of the state objects of MDSM. Also implement DecodeMetadataState. r=kaku
afb8c6617510e7a8a0132e8412ca1aa8c049933a
created 2016-09-06 15:33 +0800
pushed 2016-09-08 09:59 +0000
JW Wang JW Wang - Bug 1300497. Part 6 - remove the call to |SetState(DECODER_STATE_SHUTDOWN)| from DecodeError(). r=kaku
da34e47f89b50a8dfc9827139cab693e1de62b97
created 2016-09-05 17:51 +0800
pushed 2016-09-08 09:59 +0000
JW Wang JW Wang - Bug 1300497. Part 5 - run MDSM cycles immediately in the callback of mDelayedScheduler. r=kaku
78525890f801cb4da2ce1a87befaf9c86862232a
created 2016-09-06 10:26 +0800
pushed 2016-09-08 09:59 +0000
JW Wang JW Wang - Bug 1300497. Part 4 - remove the call to ScheduleStateMachine() before |SetState(DECODER_STATE_SHUTDOWN)| and cancel mDelayedScheduler in Shutdown(). r=kaku
6fcdb8ab059d1e823be888c2bebde1d157f21475
created 2016-09-06 10:23 +0800
pushed 2016-09-08 09:59 +0000
JW Wang JW Wang - Bug 1300497. Part 3 - move some code from FinishShutdown() to Shutdown(). r=kaku
85c7215cdeada9f23cd068d110c1bb5e705e28c3
created 2016-09-05 16:50 +0800
pushed 2016-09-08 09:59 +0000
JW Wang JW Wang - Bug 1300497. Part 2 - constify and fix the comment of IsShutdown(). r=kaku
8fcadb9544bb005b69a2c50d45fd85500d138332
created 2016-09-05 16:38 +0800
pushed 2016-09-08 09:59 +0000
JW Wang JW Wang - Bug 1300497. Part 1 - assert we never escape the SHUTDOWN state. r=kaku
21e90c727ae06339e4a4b9545faa22bf5db1ea9f
created 2016-09-05 15:48 +0800
pushed 2016-09-06 13:26 +0000
JW Wang JW Wang - Bug 1300479. Part 3 - extract RunStateMachine() cases to its own function. r=kaku
55a002b013f0dc99cc1133ad87d6e347ca0fe08c
created 2016-09-05 15:35 +0800
pushed 2016-09-06 13:26 +0000
JW Wang JW Wang - Bug 1300479. Part 2 - replace empty cases with the default case. r=kaku
80a96bf681f15a38b2d76b029fab77d07580168f
created 2016-09-05 15:28 +0800
pushed 2016-09-06 13:26 +0000
JW Wang JW Wang - Bug 1300479. Part 1 - remove the aState parameter from EnterState()/ExitState() for we always pass mState. r=kaku
fcbf7d45fbe41d1fa77dff50bba91ddc6d217350
created 2016-09-01 16:34 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 10 - remove some mSentFirstFrameLoadedEvent checks for it is surely true when mState is DECODING. r=kaku
13b4910c4880beb4d89e5d11ac49c7a06af07d0c
created 2016-09-01 13:01 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 9 - fix MaybeFinishDecodeFirstFrame(). r=kaku
41ed9b0c1661f5c4a2c5d7a5df85d5049b87cdc6
created 2016-09-01 12:54 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 8 - add an entry action for DECODER_STATE_DECODING_FIRSTFRAME. r=kaku
1aafc799929a9cc984a4059fd95c7e77561b1c39
created 2016-09-01 12:02 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 7 - remove the call to MaybeFinishDecodeFirstFrame() from OnNotDecoded(). r=kaku
6b05ec872e63b46f138d04ab03c6d959fb4431d4
created 2016-09-01 12:00 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 6 - Move MaybeFinishDecodeFirstFrame() from case DECODER_STATE_DECODING to case DECODER_STATE_DECODING_FIRSTFRAME. r=kaku
8a478b60c1f9fa982bceb3097d52d2bd1b67be51
created 2016-09-01 11:55 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 5 - change some `SetState(DECODER_STATE_DECODING)` to `SetState(DECODER_STATE_DECODING_FIRSTFRAME)`. r=kaku
2ffa21b6fb98a0759367f3fb82acfc72005474bf
created 2016-09-01 11:48 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 4 - change test `mState >= DECODER_STATE_DECODING` to `mState >= DECODER_STATE_DECODING_FIRSTFRAME`. r=kaku
9b2913a5a496d997539d4d58bf34a6f01c59e7b6
created 2016-09-01 11:47 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 3 - change test `mState >= DECODER_STATE_DECODING && mSentFirstFrameLoadedEvent` to `mState >= DECODER_STATE_DECODING`. r=kaku
cd526ec1c2081ccea82bed10df928e9784ef155c
created 2016-09-01 11:45 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 2 - change test `mState != DECODER_STATE_DECODING` to `mState != DECODER_STATE_DECODING && mState != DECODER_STATE_DECODING_FIRSTFRAME`. r=kaku
ce1129cc4efff8c675efe76fb0993bf73a995603
created 2016-09-01 14:28 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1297590. Part 1 - add DECODER_STATE_DECODING_FIRSTFRAME to MDSM. r=kaku
7e79e89e8da72dd0ecc370a041b5db6d8050547c
created 2016-08-31 15:46 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1299393. Part 1 - make some functions return void and fix the comments. r=kaku
59a2037689323ad523e378cb16c0d507da51afdf
created 2016-08-31 14:54 +0800
pushed 2016-09-05 20:05 +0000
JW Wang JW Wang - Bug 1299387 - check the duration instead of mState to match the comment. r=kaku
617358809fe768f0456f8d02a75be1c85b65e885
created 2016-08-31 13:12 +0800
pushed 2016-09-04 17:35 +0000
JW Wang JW Wang - Bug 1299369. Part 4 - remove the check for mSentFirstFrameLoadedEvent from RequestVideoData() because NeedToSkipToNextKeyframe() already checks it. r=kaku
b8f9f67046dae3002503a861f54ea9c0bdb85e99
created 2016-08-31 13:06 +0800
pushed 2016-09-04 17:35 +0000
JW Wang JW Wang - Bug 1299369. Part 2 - except for BUFFERING or SEEKING, HaveNextFrameData() should be able to tell us whether next frames are available. r=kaku
49fc29e6b6a571877cb978e61e19e924306e8cd5
created 2016-08-31 12:54 +0800
pushed 2016-09-04 17:35 +0000
JW Wang JW Wang - Bug 1299369. Part 1 - assert !mSentFirstFrameLoadedEvent in FinishDecodeFirstFrame(). r=kaku
0dfbee74cdbbfa8ad688860554bee62add4479c6
created 2016-08-30 16:48 +0800
pushed 2016-09-01 16:12 +0000
JW Wang JW Wang - Bug 1299074. Part 5 - remove unused members. r=kaku
c454a29b2ede95b157bf802d28be8ea61401261d
created 2016-08-30 16:45 +0800
pushed 2016-09-01 16:12 +0000
JW Wang JW Wang - Bug 1299074. Part 4 - replace checks for IsDecodingFirstFrame() with !mSentFirstFrameLoadedEvent. r=kaku
13ca0eb5671e034c0c689262218a6fa98d54867a
created 2016-08-30 16:32 +0800
pushed 2016-09-01 16:12 +0000
JW Wang JW Wang - Bug 1299074. Part 3 - check |mSentFirstFrameLoadedEvent| to know whether we can finish decoding first frames. r=kaku
0e2ee827b4be3a090ee0bc3aae2d1e335e37506a
created 2016-08-30 16:21 +0800
pushed 2016-09-01 16:12 +0000
JW Wang JW Wang - Bug 1299074. Part 2 - simplify the handling of pending seek in StartDecoding(). r=kaku
0e3958b3ee0f5c11a9ef78a9480406f3fd04d113
created 2016-08-30 15:11 +0800
pushed 2016-08-31 23:55 +0000
JW Wang JW Wang - Bug 1299064. Part 3 - remove the calls to ScheduleStateMachine() following |SetState(DECODER_STATE_DECODING)|. r=kaku
437650642dd869c0d1bc14fff37d310226b36643
created 2016-08-30 15:06 +0800
pushed 2016-08-31 23:55 +0000
JW Wang JW Wang - Bug 1299064. Part 2 - remove the if/else statement at the end of SeekCompleted(). r=kaku
c9f208e04b62783c69c1fd17de962f168b3b4df2
created 2016-08-30 15:04 +0800
pushed 2016-08-31 23:55 +0000
JW Wang JW Wang - Bug 1299064. Part 1 - move |SetState(nextState)| and ScheduleStateMachine() to the bottom of SeekCompleted(). r=kaku
e3c2e22c46c136c4a703d819efc228c6a850a1ac
created 2016-08-26 17:41 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298297 - Remove DECODER_STATE_ERROR from MDSM. r=kaku
57a2f1d5bc60a09e4ba4e2209dd4fedc2febb662
created 2016-08-29 11:50 +0800
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 11 - Move some code to the entry action of DECODER_STATE_BUFFERING. r=kaku
c48f06ea74fe743f965708c52fb8b57aec81d1ae
created 2016-08-26 06:34 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 10 - Assert |mState == DECODER_STATE_DECODING| in StartBuffering() which is only called by MaybeStartBuffering() which also asserts that. r=kaku
a10febe05935aa32bad84783cf96d01bdfbb7bca
created 2016-08-26 06:31 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 9 - Assert |mState == DECODER_STATE_DECODING| in MaybeStartBuffering() which is only called in the DECODER_STATE_DECODING case of RunStateMachine(). r=kaku
21020a8a6ea7fedbf1520411570c0e9b026c43e4
created 2016-08-29 11:46 +0800
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 8 - Move some code to the entry action of DECODER_STATE_DECODING. r=kaku
8d191355cb13769a9af75515fd33d6b624459ea4
created 2016-08-29 11:36 +0800
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 7 - Assert |mState != DECODER_STATE_DECODING| in StartDecoding(). r=kaku
b06577b71a3eaf7a31270f8ae22ff2c4a39704f7
created 2016-08-26 06:25 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 6 - Move some code to the entry action of DECODER_STATE_COMPLETED. r=kaku
e3989f634b74a048ea449d3898c8acbf428ded48
created 2016-08-26 06:18 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 5 - Move the call to |SetState(DECODER_STATE_COMPLETED)| out of CheckIfDecodeComplete() to make it easier to move more code to entry actions. r=kaku
495056dc8ed594fc86cd0e1bf332561c194e4ffc
created 2016-08-26 06:08 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 4 - Remove the call to DispatchDecodeTasksIfNeeded() from CheckIfDecodeComplete() because we've decoded all samples. r=kaku
55d0d97dccd11c8526287b255e6faecea1d0bbd7
created 2016-08-26 06:06 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 3 - Remove the check for IsShutdown() from CheckIfDecodeComplete() because it is called only when mState is DECODING or BUFFERING. r=kaku
4e6e02e3ef1aeb1506b84dc994f28af9291c0c71
created 2016-08-26 05:58 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 2 - Move some code to the entry action of DECODER_STATE_DORMANT. r=kaku
7ec8d889e02138d5fbd7cf8ec86279f89c6c1a83
created 2016-08-26 10:52 +1200
pushed 2016-08-30 13:51 +0000
JW Wang JW Wang - Bug 1298217. Part 1 - Move the code about decoding metadata to the entry action of DECODER_STATE_DECODING_METADATA. r=kaku
4cb4952bbbdebd8ac0d2dccaf3a6b09bacc68f24
created 2016-08-25 20:30 +0800
pushed 2016-08-30 13:51 +0000
Kaku Kuo Kaku Kuo - Bug 1286454 part 1 - remove MediaData::mDiscontinuity; r=jwwang
ded582db991fcbedb51f42980f9bc1aca93d8a5f
created 2016-08-28 21:20 +1000
pushed 2016-08-30 00:34 +0000
Jean-Yves Avenard Jean-Yves Avenard - Bug 1298594: P3. Ensure currentTime is updated prior changing readyState. r=jwwang
2615d4df8768f04c219491437f54507f2bc87899
created 2016-08-24 11:45 +1200
pushed 2016-08-29 16:22 +0000
JW Wang JW Wang - Bug 1297553 - Dump more debugging messages for MDSM and MediaSink. r=kaku
84090fe63313d70a864c0ea10e71147884584832
created 2016-08-15 14:54 +0800
pushed 2016-08-25 12:08 +0000
JW Wang JW Wang - Bug 1295073 - Remove the aRealTime parameter from the MediaDecoderStateMachine constructor. r=cpearce
35416a1541ae9860846ec93081d12b7e96c930c3
created 2016-08-23 15:39 +0800
pushed 2016-08-23 14:01 +0000
Iris Hsiao Iris Hsiao - Backed out changeset d6d2cc94bb92 (bug 1295906) for M-e10s crashes on Windows 7 debug
d6d2cc94bb924a86a0b8476b0e6681fe2f211283
created 2016-08-17 17:11 +0800
pushed 2016-08-23 14:01 +0000
JW Wang JW Wang - Bug 1295906 - Move |mVideoFrameContainer->ClearCurrentFrame()| out of MediaFormatReader::ReleaseResources(). r=jya
feed07c7f1225130f8961449a3190b0596b081fe
created 2016-08-12 16:06 +0800
pushed 2016-08-23 14:01 +0000
JW Wang JW Wang - Bug 1295893 - Add entry/exit actions to state transitions of MDSM. r=kaku
4030666f6c50c963645afab80caf373eb7ee1d06
created 2016-08-17 15:03 +0800
pushed 2016-08-17 23:34 +0000
JW Wang JW Wang - Bug 1295901 - Change the semantics/naming of MediaDecoderReader::ReleaseMediaResources(). r=jya
3599d88d2b2490296d8a257a0cdfdeef94630393
created 2016-08-11 15:05 +0800
pushed 2016-08-17 23:34 +0000
Gerald Squelart Gerald Squelart - Bug 1294349 - Report VIDEO_SUSPEND_RECOVERY_TIME_MS - r=kaku
d4ac66433eeb53df4b426e79885bb38cac701af9
created 2016-08-11 17:33 +0800
pushed 2016-08-16 22:25 +0000
JW Wang JW Wang - Bug 1294615. Part 2 - Refactor MDSM::SetDormant() to remove unnecessary checks for mQueuedSeek.Exists() and mCurrentSeek.Exists(). r=kaku
da868fdc53aad548cfb31eb39b164c104d100ab0
created 2016-08-11 16:07 +0800
pushed 2016-08-16 22:25 +0000
JW Wang JW Wang - Bug 1294615. Part 1 - Assert mQueuedSeek.Exists() is false in InitiateSeek(). r=kaku
a5dc69346897b609caaab6048317136ddb4f9270
created 2016-08-12 17:37 +0800
pushed 2016-08-16 22:25 +0000
Kaku Kuo Kaku Kuo - Bug 1294656 - apply FastSeek to video files without audio track; r=jwwang
7b74ee1d97dbe7afa04e6b522174be2c529349b9
created 2016-08-12 14:54 +0800
pushed 2016-08-15 21:07 +0000
JW Wang JW Wang - Bug 1294634 - Use a switch statement to convert State to string. r=bechen
less more (0) -300 -100 -60 tip