Commit Graph

93 Commits

Author SHA1 Message Date
Alexandre Lissy
07037f896b Bug 1305655 - Decouple Gonk TextureForwarder and CompositableForwarder (followup bug 1281456) r=nical
MozReview-Commit-ID: 1sUiqnFEPdx
2016-09-28 07:04:13 +02:00
Fabrice Desre
d1b6997af7 Bug 1304906 - GonkVideoDecoderManager.cpp:55 build error r=nical 2016-09-23 15:52:52 +02:00
Alexandre Lissy
f6ee6d53f2 Bug 1302641 - Update ImageBridgeChild::GetSingleton() use after 1298938 r=nical
MozReview-Commit-ID: Cs7xUcPnPoz
2016-09-14 19:01:21 +02:00
Jean-Yves Avenard
70ed5282de Bug 1299072: P18. Use MediaResult with InitPromise. r=gerald
MozReview-Commit-ID: JiLgiyxvfNC

--HG--
extra : rebase_source : 4cc453a5fe7b1e4f4b865c31a24a5feed64df7e4
2016-09-13 13:06:18 +10:00
Jean-Yves Avenard
f4efa8be06 Bug 1299072: P4. Return extended failure details to reader. r=gerald
We provide even further details for the GMP decoder. Other decoders to follow.

MozReview-Commit-ID: 7NxJPec8xWv

--HG--
extra : rebase_source : f44120983070e5c107ecd5cafc762da90aab44bf
2016-09-10 09:56:53 +10:00
Matt Woodrow
99bf9b18df Bug 1301294 - Remove unnecessary nsresult return value from MediaDataDecoder interface. r=jya 2016-09-09 15:50:37 +12:00
Alexandre Lissy
761ec6f8bc Bug 1296295 - Followup bug 1295920, replace enum with enum class r=jya
MozReview-Commit-ID: BjmswmdWaPY

--HG--
extra : rebase_source : af7183cb127e6585f8a657e7b048dcdebde75911
2016-08-18 15:59:12 +02:00
Matt Woodrow
f323872778 Bug 1292032 - Clean up VideoData static constructor methods. r=jya
--HG--
extra : rebase_source : e025c9a15ad00e970f9027f72c78b5d6effbc301
2016-08-04 15:31:52 +12:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Alexandre Lissy
c451896719 Bug 1283269 - Fix build on gonk r=nical
MozReview-Commit-ID: C4ho5hloREj

--HG--
extra : rebase_source : 713f48f7c07549af1aeccfaedf8c39da1ce618af
2016-06-29 23:29:32 +02:00
Alexandre Lissy
1f12aec167 Bug 1283156 - Fix GonkDecoderModule build error r=baku
MozReview-Commit-ID: 8O9CeufBy7r

--HG--
extra : rebase_source : 7080382897c66ded2c28e261d2aef04b197e88c8
2016-06-29 21:03:42 +02:00
Dan Glastonbury
1b2a65cfc3 Bug 1281632 - P1: Extract creation parameters and pass via struct. r=gerald
Extract all the parameters passed to CreateAudioDecoder/CreateVideoDecoder and
place them into a structure that is passed down to the creation of the actual
decoder, where the relevant parameters can be extracted.

This makes it easier to add more arguments to the Create*Decoder calls in future.

MozReview-Commit-ID: 9LZlcfRVz6A

--HG--
extra : rebase_source : ce3f0c7d0784b96267728697ff5d535ccb8ee7a6
2016-06-28 17:56:55 +12:00
Thomas Zimmermann
80a6524060 Bug 1281139: Rename |CompositableForwarder| to |TextureForwarder| in b2g media code, r=nical
MozReview-Commit-ID: 3jRvjxR0adI
2016-06-21 16:54:26 +02:00
Gregor Wagner
dfd00f0d0a Bug 1277212 - Fix MediaDataDecoderCallback::Error callbacks in GonkMediaDecoder. r=tzimmermann 2016-06-01 13:47:02 +02:00
Eric Rahm
c077aa9010 Bug 1274913 - Move PDM log definition to header. r=njn 2016-05-24 14:55:53 -07:00
JW Wang
8b980a3cbc Bug 1274216 - remove use of FlushableTaskQueue from PlatformDecoderModule. r=jya.
MozReview-Commit-ID: E3DG84yKRmw

--HG--
extra : rebase_source : 2636b7d1ef5cc544f70b3912d4d6bd30f25424df
2016-05-19 17:50:31 +08:00
JW Wang
971a3e4731 Bug 1274205 - remove use of FlushableTaskQueue. r=bechen.
MozReview-Commit-ID: HbHhhPsLAUS
2016-05-19 17:14:09 +08:00
Jean-Yves Avenard
4e25a1e963 Bug 1271491: P7. Remove unused members. r=alfredo
MozReview-Commit-ID: FEY5j7PWmJy

--HG--
extra : rebase_source : 436c4458337ed3d2857ed02555a3e02afac7fd26
2016-05-12 19:06:14 +10:00
Jean-Yves Avenard
d31cb0499b Bug 1206637: P2. Replace all cached preferences with MediaPrefs ones. r=cpearce
Additionally, clean up stray and unused Preferences.h header.

MozReview-Commit-ID: IcPrD2inkDE

--HG--
extra : rebase_source : c3c6e37767627db3601090c2855a3dfa98cb4368
2016-05-10 11:02:28 +10:00
Jean-Yves Avenard
ceb6630f4a Bug 1267637: [gonk] P8. Reject audio data with unsupported channel configuration. r=gerald
MozReview-Commit-ID: 8pURK1mQ714

--HG--
extra : rebase_source : 6bd0743a090794a04077fad80ae4a47962a155fe
2016-04-27 17:55:26 +10:00
Jean-Yves Avenard
53c38abda3 Bug 1266013: Fix Firefox OS compile errors. r=gerald
MozReview-Commit-ID: 2XLFe1ZHS5z

--HG--
extra : rebase_source : 0f20bd80b2f6394a80d8e994cfbb2f9717d8809a
2016-04-20 21:26:34 +10:00
Jean-Yves Avenard
4af23f69bd Bug 1243538: P6. Adjust gonk decoder to allow different decoding size from metadata. r=alfredo
Additionally handle bug 1154162, and fix aspect ratio.
The display size were used for the picture size which would be wrong if any aspect ratio was set.

MozReview-Commit-ID: LCbvfdvAsN3
2016-04-20 17:44:11 +10:00
Gerald Squelart
ecfb205472 Bug 1248507 - p1. Pass DecoderDoctorDiagnostics to PDMs&more - r=jya
Pass declared-but-yet-undefined DecoderDoctorDiagnostics pointer to various
routines that contribute to deciding if a media format can be played, and
those that create decoders.

Points where a DecoderDoctorDiagnostics can be injected are currently marked
with "/* DecoderDoctorDiagnostics* */ nullptr", and some will be used in
following patches.

MozReview-Commit-ID: 7u37bvY4CpW
2016-04-19 17:36:19 +10:00
Sotaro Ikeda
505c880bbe Bug 1259366 - Flush after eos of android::MediaCodec r=jolin 2016-03-28 21:39:05 -07:00
Sotaro Ikeda
63c6d1ff18 Bug 1239611 - Remove GonkNativeWindowClient r=nical 2016-01-31 16:29:59 -08:00
Jean-Yves Avenard
4fc8dfaa3d Bug 1241677: P1. Add MediaDataDecoder::GetDescriptionName() method. r=cpearce 2016-01-25 10:33:39 +11:00
Sotaro Ikeda
29ad0bee26 Bug 1219210 - Add ITextureClientAllocationHelper and VENUS color handling r=nical,jolin 2015-12-04 02:13:49 -08:00
Nathan Froyd
ffeb7c7fe3 Bug 1229963 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in dom/media/; r=cpearce 2015-12-02 18:07:59 -05:00
Nicolas Silva
48c889335e Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Sotaro Ikeda
84b12d8d2c Bug 1227415 - Fix copy buffer size r=jolin 2015-11-24 21:05:35 -08:00
Wes Kocher
72261b4523 Backed out 12 changesets (bug 1200595) for b2g mochitest crashes in SharedBufferManagerParent CLOSED TREE
Backed out changeset cf8cf1a039dd (bug 1200595)
Backed out changeset 65da564f952c (bug 1200595)
Backed out changeset 7663208f1582 (bug 1200595)
Backed out changeset fc1fbb97c8eb (bug 1200595)
Backed out changeset 3ad5a4c457fe (bug 1200595)
Backed out changeset add3fe9afc0c (bug 1200595)
Backed out changeset 68aba6b39588 (bug 1200595)
Backed out changeset ab326c34f1cf (bug 1200595)
Backed out changeset ed34bc528a1b (bug 1200595)
Backed out changeset 0dc93424546c (bug 1200595)
Backed out changeset 8cc12f12f3d1 (bug 1200595)
Backed out changeset bb84403701b7 (bug 1200595)

--HG--
extra : commitid : AMC6i05xyTh
2015-11-24 10:07:02 -08:00
Nicolas Silva
318de9bd3b Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Carsten "Tomcat" Book
1a584aca79 Backed out 13 changesets (bug 1200595) for possibly breaking Reftest [TC] Crashtest tc-R on a CLOSED TREE
Backed out changeset e7278af0a484 (bug 1200595)
Backed out changeset c13228f84d85 (bug 1200595)
Backed out changeset 4b88e8a3d8af (bug 1200595)
Backed out changeset e55376bd2cf8 (bug 1200595)
Backed out changeset 9c27c8e2c021 (bug 1200595)
Backed out changeset a369a2983ceb (bug 1200595)
Backed out changeset 09e71ba15ea8 (bug 1200595)
Backed out changeset b555b130d439 (bug 1200595)
Backed out changeset 6819f6d82287 (bug 1200595)
Backed out changeset a8cdfbf443d8 (bug 1200595)
Backed out changeset 0092c9d7a86b (bug 1200595)
Backed out changeset 6dc38a1e6073 (bug 1200595)
Backed out changeset fe2164aa1468 (bug 1200595)
2015-11-20 16:55:26 +01:00
Nicolas Silva
94c7acf9ef Bug 1200595 - Gralloc TextureData implementation. r=sotaro 2015-10-15 17:53:37 +02:00
Sotaro Ikeda
acbc5c644e Bug 1222923 - Enable MOZ_FMP4 on gonk L r=jolin 2015-11-20 01:18:06 -08:00
Eugen Sawin
81ff3f75e8 Bug 1221991 - [1.3] Make SupportsMimeType a const function. r=jya 2015-11-17 20:50:28 +01:00
sajitk
582e1a55fa Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian 2015-11-15 14:49:01 +01:00
Wes Kocher
f3a9eb2a26 Backed out changeset 1e5f3d1151d6 (bug 1219480) for cpp unittest bustage CLOSED TREE
--HG--
extra : commitid : BMVKq6cPeho
2015-11-11 09:36:56 -08:00
sajitk
3cbe348cdd Bug 1219480 - Replace PRLogModuleInfo with LazyLogModule in the media directory. r=rillian
--HG--
extra : rebase_source : c73098485fa005d914304fb6e7f8eba3c15e66dc
2015-11-11 06:52:00 +01:00
Sotaro Ikeda
4c2784ab56 Bug 1214997 - Use MozPromise in MediaCodecProxy and OMXCodecProxy r=bwu 2015-11-10 05:42:42 -08:00
John Lin
39c2ac658f Bug 1222919 - Make ProcessFlush() virtual. r=jya 2015-11-09 18:59:00 +01:00
John Lin
c101307436 Bug 1216895 - assert that decoder methods are run on correct thread. r=jya
--HG--
extra : rebase_source : 37e335c89a88ff1744b55e006b67132f11fc2080
2015-11-09 18:58:00 +01:00
John Lin
2839234b55 Bug 1217220 - use output timestamp to decide which item needs to be removed from waiting list. r=jya
--HG--
extra : rebase_source : cb63a9d083c235ad92f7cedb48140bc8420f9549
2015-11-06 01:38:00 +01:00
Mike Hommey
4d40edea15 Bug 1221453 - Use AbsolutePaths with LOCAL_INCLUDES instead of manual -I in CXXFLAGS. r=gps 2015-11-06 09:59:21 +09:00
John Lin
2f883c5504 Bug 1199809 - Make a copy of output buffer after flush(). r=sotaro 2015-11-01 23:25:00 +01:00
John Lin
7c5a9241cb Bug 1199809 - Refactor: use RAII to help manage output buffer lifecycle. r=sotaro 2015-10-29 21:14:00 +01:00
John Lin
c405c5b4c1 Bug 1199809 - Don't schedule decoder I/O task when there will be more input. r=bwu 2015-10-29 21:14:00 +01:00
John Lin
62176cd8f0 Bug 1199809 - Create native window early to avoid race condition. r=jya
If AsyncAllocateVideoMediaCodec() run faster enough, mNativeWindow will be created after codecReserved() is called and we'll configure decoder w/o native window.
2015-10-29 21:14:00 +01:00
John Lin
c806e89190 Bug 1199809 - Reset last decoded frame time on looper thread to avoid race condition. r=jya 2015-10-29 21:14:00 +01:00
John Lin
33bad36665 Bug 1199809 - Remove all references to unused task queue. r=jya 2015-10-29 21:14:00 +01:00