Sylvestre Ledru
804b8b8883
Bug 1204606 - Reformat of dom/media r=jya
...
# skip-blame
Differential Revision: https://phabricator.services.mozilla.com/D12251
--HG--
extra : moz-landing-system : lando
2018-11-19 13:25:37 +00:00
Jean-Yves Avenard
34eeec152b
Bug 1495025 - P5. Add Windows P010 and P016 support for software decoder r=cpearce
...
As we do not have an IMF nor D3D11 NV12 image, we always require a full copy of the data that will deinterleave the chroma channels.
Depends on D7316
Differential Revision: https://phabricator.services.mozilla.com/D7318
2018-10-08 15:52:01 +02:00
Narcis Beleuzu
18849ef0ae
Backed out 6 changesets (bug 1495025) for webgl2 failures on test_2_conformance2__textures__misc__npot-video-sizing.html
...
Backed out changeset 24d67618f6b9 (bug 1495025)
Backed out changeset 68efa7588ba8 (bug 1495025)
Backed out changeset 9f59a50dcc6d (bug 1495025)
Backed out changeset 7fd1f6103294 (bug 1495025)
Backed out changeset f1afe7e2a9e3 (bug 1495025)
Backed out changeset c62823871aca (bug 1495025)
2018-10-07 02:03:46 +03:00
Jean-Yves Avenard
8acdf2fe0e
Bug 1495025 - P5. Add Windows P010 and P016 support for software decoder r=cpearce
...
As we do not have an IMF nor D3D11 NV12 image, we always require a full copy of the data that will deinterleave the chroma channels.
Depends on D7316
Differential Revision: https://phabricator.services.mozilla.com/D7318
2018-10-06 21:31:22 +02:00
Brindusan Cristian
070df1d4c1
Backed out 6 changesets (bug 1495025) for mochitest-webgl2 failures in test_2_conformance2__textures__misc__npot-video-sizing.html. CLOSED TREE
...
Backed out changeset 263d4f722174 (bug 1495025)
Backed out changeset 528dbc463c22 (bug 1495025)
Backed out changeset 25895d283d47 (bug 1495025)
Backed out changeset c3b43ee1092e (bug 1495025)
Backed out changeset c548d816019d (bug 1495025)
Backed out changeset 208624601a18 (bug 1495025)
2018-10-04 15:16:07 +03:00
Jean-Yves Avenard
6450a31107
Bug 1495025 - P5. Add Windows P010 and P016 support for software decoder r=cpearce
...
As we do not have an IMF nor D3D11 NV12 image, we always require a full copy of the data that will deinterleave the chroma channels.
Depends on D7316
Differential Revision: https://phabricator.services.mozilla.com/D7318
--HG--
extra : moz-landing-system : lando
2018-10-04 09:41:58 +00:00
Jean-Yves Avenard
b10364a15f
Bug 1493198 - P2. Use enum for describing color depth. r=mattwoodrow
...
Depends on D6662
Differential Revision: https://phabricator.services.mozilla.com/D6663
--HG--
extra : moz-landing-system : lando
2018-09-25 20:44:55 +00:00
Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Nathan Froyd
a31fa9e19c
Bug 1453437 - return UniquePtr from MediaRawData::CreateWriter; r=gerald
...
Returning UniquePtr is nicer than returning raw pointers, and has the
nice side effect of forcing us to clean up the uses of nsAutoPtr that
were hanging about.
2018-04-12 15:28:21 -04:00
Jean-Yves Avenard
5a631a5822
Bug 1432779 - P3. Properly set channel map layout after seeking. r=padenot
...
MozReview-Commit-ID: 5FY9hdaijhf
2018-03-24 10:57:58 +01:00
Dorel Luca
f41b03eca9
Backed out changeset 38577c007450 (bug 1424371) for Marionett test failure on testing/marionette/harness/marionette_harness/tests/unit/test_window_maximize.py. CLOSED TREE
2018-02-19 22:15:23 +02:00
Milan Sreckovic
7571df7e7c
Bug 1424371: Use BaseRect access methods instead of member variables in dom/ r=qdot
...
MozReview-Commit-ID: HXWhggOMIEK
--HG--
extra : rebase_source : 9c9eacf80d2b7f78faa82a1549170b98d12cdaa8
2018-02-19 12:56:10 -05:00
Dan Glastonbury
35b53a22df
Bug 1428947 - Check plane width & stride constraints. r=mattwoodrow
...
MozReview-Commit-ID: HEcMG4JoEl3
2018-02-19 11:41:41 +10:00
Chris Pearce
b37bd17a56
Bug 1433344 - Convert encrypted AAC to ADTS before decryption. r=jya
...
MozReview-Commit-ID: IGmBfJtYsCi
--HG--
extra : rebase_source : d066644e848f8fb379607d0168960132881d7df8
2018-01-30 14:39:09 +13:00
Cosmin Sabou
b35f58da34
Backed out changeset 1fea6030657b (bug 1433344) for mda failures on EMEDecoderModule.cpp on a CLOSED TREE
2018-02-01 03:05:53 +02:00
Chris Pearce
328670db16
Bug 1433344 - Convert encrypted AAC to ADTS before decryption. r=jya
...
MozReview-Commit-ID: IGmBfJtYsCi
--HG--
extra : rebase_source : a0752ed6c85faf4333ae84a3e5b20695b5bf26a6
2018-01-30 14:39:09 +13:00
sotaro
901877f7a7
Bug 1405562 - Enable D3D11YCbCrImage usage with WebRender r=mattwoodrow
2017-12-01 18:01:35 +09:00
Cosmin Sabou
82ee4aee12
Backed out changeset 994147e6fd70 (bug 1405562) for build bustages on obj-firefox/dist/include/mozilla/layers/KnowsCompositor.h 💯 75 r=backout on a CLOSED TREE
2017-12-01 07:35:36 +02:00
sotaro
58de17aca4
Bug 1405562 - Enable D3D11YCbCrImage usage with WebRender r=mattwoodrow
2017-11-30 20:39:20 -08:00
Jean-Yves Avenard
557904d18a
Bug 1409141 - Disable D3D11 YUV buffer copy on Windows 7. r=mattwoodrow
...
The crashes on Windows 7 appear to occur due to the D3D11 device being used on two different threads simultaneously. We do query the driver to determine if multithreaded access is supported, but they obviously aren't that cluey about it.
MozReview-Commit-ID: GZIk1Zf9xKQ
--HG--
extra : rebase_source : d5dacbb8244021397bbaee81fb51569b06c88736
2017-10-16 22:03:18 +02:00
Jean-Yves Avenard
0de5aed9f7
Bug 1405110 - P2. Never attempts to upload to D3D11 surface in parent process. r=mattwoodrow
...
Accessing the graphic device driver from the parent process, should the drivers crash have serious consequences (the whole browser dies).
MozReview-Commit-ID: EXXRBnDobQw
--HG--
extra : rebase_source : d5609f1e088c7bbe92d6e46e66e1fb5538d5caac
2017-10-09 11:10:18 +02:00
Jean-Yves Avenard
72e08420b1
Bug 1215089 - P3: Add mBitDepth member to YCbCr data structure. r=kamidphish,mattwoodrow
...
MozReview-Commit-ID: BNLawJOfj3w
--HG--
extra : rebase_source : f538373e317e3e1e5452c0a0d6e00e810148ea87
2017-06-29 23:09:20 +02:00
Sebastian Hengst
46807fbb50
Backed out changeset 3fc22c028eab (bug 1215089)
2017-10-04 16:26:09 +02:00
Jean-Yves Avenard
89b1091f27
Bug 1215089 - P2: Add mDepth member to YCbCr data structure. r=kamidphish
...
MozReview-Commit-ID: BNLawJOfj3w
--HG--
extra : rebase_source : 6cd0336506a8feda874f6bd6525da73a745d5100
2017-06-29 23:09:20 +02:00
Jean-Yves Avenard
9349efba14
Bug 1396515: Fix incorrect && and || operator placements. r=sylvestre
...
Includes some side 80 columns fix.
MozReview-Commit-ID: IXRoQfM0Hjc
--HG--
extra : rebase_source : 918cf87b2ce82c8de245dcb23cc359289ac5f21f
2017-09-04 11:27:43 +02:00
Alastor Wu
d5273690a3
Bug 1388660
- part1 : AudioData::IsAudible() should return false when its data is super small and near to zero. r=jwwang
...
When the value of data is too small to be heard, AudioData::IsAudible() should return false so that we won't show the sound indicator for silent media.
In this case, the loudness of reported video is -673 dBFS, it's impossible to be heard.
MozReview-Commit-ID: Ewiko7RpkeX
--HG--
extra : rebase_source : 692e1af570648546deabc3fe4ae4c4b36bf8f356
2017-08-17 11:02:11 +08:00
Nicholas Nethercote
90eaa02ea0
Bug 1382099 - Remove MOZ_WIDGET_GONK from dom/media/. r=gerald.
...
As well as the obvious #ifdefs, this allows DOMHwMediaStream to be
removed, and also the "phone-state-changed" observer.
--HG--
extra : rebase_source : 373280183e228bd4b9bd9d866959409f2444c77e
2017-07-24 10:08:55 +10:00
Kaku Kuo
4175fed6b6
Bug 1378691 P3 - return next key frame time back to MDSM; r=jwwang
...
MozReview-Commit-ID: LVhJ0DpM24c
--HG--
extra : rebase_source : 4aefd89a2cc2243538c248977bfff79731fc2946
2017-07-11 10:15:33 +08:00
Jean-Yves Avenard
de2ba98442
Bug 1223270: P3. Remove extra copy of YUV buffer on Windows. r=mattwoodrow,nical
...
MozReview-Commit-ID: JgbAwtLNr9e
--HG--
extra : rebase_source : 72bc0cd32d95fc6eadc0604c00b9f53227135557
2017-05-03 23:25:54 +02:00
Jean-Yves Avenard
10d2da1b08
Bug 1374596: P7. Fix includes as per coding style. r=padenot
...
MozReview-Commit-ID: 5WfOWcOoxg0
--HG--
extra : rebase_source : 988c09623e83a0d9188d9ff5d705314e2c43e756
2017-06-20 17:56:55 +02:00
Carsten "Tomcat" Book
57edf8693b
Backed out changeset c79b6d337d04 (bug 1223270)
2017-06-20 09:41:39 +02:00
Jean-Yves Avenard
683d6562da
Bug 1223270: P3. Remove extra copy of YUV buffer on Windows. r=mattwoodrow,nical
...
MozReview-Commit-ID: JgbAwtLNr9e
--HG--
extra : rebase_source : c7e813a29bd4d0f46c73b5579fec4bc77081cee1
2017-05-03 23:25:54 +02:00
JW Wang
80c9f230f3
Bug 1359715 - let functions in MediaData.h take TimeUnit instead of int64_t. r=kaku
...
We want to replace the use of int64_t for microseconds by TimeUnit
whenever possible since int64_t is ambiguous which could be microseconds
or milliseconds.
MozReview-Commit-ID: LRz9d4yKBYJ
--HG--
extra : rebase_source : 1f73f1f338142b3183491d04726821a881ccabbe
extra : intermediate-source : 88e167b7b06303d10d92cd5317502f405d1c553e
extra : source : 98deb30ec93d395f9951f5fc488170ae35e29675
2017-04-24 17:33:05 +08:00
JW Wang
302d82c85a
Bug 1356530 - Change the type of MediaData::mTime to TimeUnit since int64_t is ambiguous. r=kaku
...
MozReview-Commit-ID: 4bVeqIuWO2O
--HG--
extra : rebase_source : d504ac15a6dc59ad42f3ab80faf23f629d74315f
extra : intermediate-source : 6e52995b6c8146451d98dffc62f6907755dc856e
extra : source : 82d2649cdafb5a6389f6858c23578811933580c9
2017-04-14 17:13:36 +08:00
JW Wang
235f1f55ed
Bug 1356506 - change the type of MediaData::mTimecode to TimeUnit since int64_t is ambiguous. r=gerald
...
MozReview-Commit-ID: 7dO5OOUuORz
--HG--
extra : rebase_source : 1c1c020700d9180ef9f85d7e2e679f498ab71fce
extra : intermediate-source : d173c820bef7a113e28e9732c42e8c1af36160ab
extra : source : 04c08a780526ca3a5ac4d1a6f9b7ae30d9957e92
2017-04-14 14:52:14 +08:00
JW Wang
837a8390aa
Bug 1356502. P2 - let VideoData::UpdateTimestamp() take a TimeUnit instead of ambiguous int64_t. r=gerald
...
MozReview-Commit-ID: G17uLSrjBrR
--HG--
extra : rebase_source : 7b1f57e85ff7610c50c84e7b92d10772712e5bf7
extra : intermediate-source : c725b22a1dc94bbb549c57064a151783b9aa1152
extra : source : 65f2827866f62a89e1865c60ea6c1437f4faee27
2017-04-14 14:17:04 +08:00
JW Wang
3c0e7bddc7
Bug 1356502. P1 - let MediaDatra::GetEndTime() return a TimeUnit instead of ambiguous int64_t. r=gerald
...
MozReview-Commit-ID: DBQELBs32Ad
--HG--
extra : rebase_source : a7c9f7affbdfa12aaf94a6d0505cf4f54f4408cc
extra : intermediate-source : e1fcccdb12bb86c23520b5c2e0d76aef355597a5
extra : source : ddb8a8382c74e18dd52cdfbc7e8eee54cf46f05d
2017-04-14 14:14:08 +08:00
JW Wang
6359124d70
Bug 1355756. P3 - let CreateAndCopyData() and its friends take TimeUnit for duration. r=gerald
...
MozReview-Commit-ID: ES0on9VCuu3
--HG--
extra : rebase_source : 8d3e80ec2e1923587b5865516a16bfff9009397d
extra : intermediate-source : 3e59c61b1ccef78e3e8fe52791d7104aade7930c
extra : source : 46fd639ea6a2219bbed70f6555a2acf03ec01a7a
2017-04-12 17:46:09 +08:00
JW Wang
75ff4526d0
Bug 1355756. P2 - let VideoData::UpdateDuration() take TimeUnit. r=gerald
...
MozReview-Commit-ID: BSydHhJwgup
--HG--
extra : rebase_source : 079c8b504b0fea4e3c2f3b6e9b5881278818d2de
extra : intermediate-source : 42bf372600bd3626ea23c832ea5799c2686ec7ff
extra : source : ba1098c7e9a3f34830c8dd956f37bf49fded15af
2017-04-12 17:34:06 +08:00
JW Wang
464497b945
Bug 1355756. P1 - change the type of MediaData::mDuration to TimeUnit. r=gerald
...
MozReview-Commit-ID: 3d4bUYtSuMI
--HG--
extra : rebase_source : 94c821b6d381421035e6a12cbe038436055c5822
extra : intermediate-source : 9a06beffc736486f47b9cf05e7f482e726d53068
extra : source : fdbdcd5c1474f04dc1dbde66fcf3a9ecec953053
2017-04-12 17:27:34 +08:00
John Lin
a5d3bc8a18
Bug 1344649 - part 2: let VideoData::CreateFromImage() accept only neccessary parameters. r=jya
...
VideoData doesn't care what's in aInfo but display size and aPicture are unused.
MozReview-Commit-ID: IBqq8Rm8dM4
--HG--
extra : rebase_source : 10e2390f87925ef9179d28d86240f68a35c6c6d4
2017-03-09 12:06:24 +08:00
Jean-Yves Avenard
16bf821b42
Bug 1325707: P3. Fix coding style. r=gerald
...
Fixed coding style of files encountered in P1 and P2.
MozReview-Commit-ID: LApVu9K2oto
--HG--
extra : rebase_source : e3bb296baaec9df2011ff312fec2eda19dd125e6
2017-02-07 09:15:59 +01:00
karo
1da7e759db
Bug 1321076 - New overloaded CreateAndCopy method that takes alpha plane and returns VideoData with SharedRGBImage, in the case of alpha. r=jya
...
MozReview-Commit-ID: AIJxPRjGvrg
--HG--
extra : rebase_source : fcde786d529f69ba6fe2a533e351a8b33afa1de7
2016-12-21 15:19:46 +13:00
karo
00b8886839
Bug 1321076 - Added util functions to help with YUVA to BGRA conversion. r=jya
...
MozReview-Commit-ID: JZDdbM2gt0g
--HG--
extra : rebase_source : 572dbf59e8a3b41e6c7366d1579a28e365062260
2016-12-21 15:00:46 +13:00
John Lin
f2b5ca039b
Bug 1323631 - update original frame timestamp or duration rather than creating shallow copy. r=jwwang
...
MozReview-Commit-ID: 4oSheJwFNOE
--HG--
extra : rebase_source : a4eaa1c9914e2cbc500c0de44ccc274b84bbe505
2016-12-15 17:57:21 +08:00
John Lin
f2d11c05c8
Bug 1299068 - part 3: notify when VideoData are sent to compositor. r=jwwang
...
MozReview-Commit-ID: Jn4AqpMaXMg
--HG--
extra : rebase_source : 9080d1fd4cbc532019134ea7087bbef03ae2600a
2016-11-23 15:08:17 +08:00
karo
464c7bb954
Bug 1320829 - updated WebM demuxer to surface alpha information. r=jya
...
MozReview-Commit-ID: 1jBmc5KUEme
--HG--
extra : rebase_source : 65101540a1bba6041642b89151b545bb7971c3fa
2016-11-23 11:52:16 +13:00
Sotaro Ikeda
92926a0f41
Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical
2016-11-15 22:01:30 -08:00
Ehsan Akhgari
d5d66e16c9
Bug 1311214 - Remove b2g OMX encoder/decoder; r=cpearce
2016-10-19 17:44:31 -04:00
Sotaro Ikeda
1d3ceeff04
Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel
2016-10-11 19:46:28 -07:00