summaryrefslogtreecommitdiffstats
path: root/dom/media
Commit message (Collapse)AuthorAgeLines
* Telemetry: Remove stubs and related codeadeshkp2019-01-12-186/+2
|
* Remove proprietary constructor on AudioContext.wolfbeast2019-01-04-32/+1
| | | | | | | | | This is a B2G leftover, was proprietary, and is causing issues because `AudioContext` can now have a parameter that is a property bag, per spec (we do not do anything with the property bag now; the audio back-end will use automatic values for everything). This resolves #924.
* Avoid redefined macro warning in MediaFormatReadertrav902018-12-31-0/+4
|
* [FFmpeg] Don't define AV_CODEC_ID_VPx with libavcodec 58trav902018-12-28-3/+6
|
* [FFmpeg] Use new decode API with recent FFmpeg version.trav902018-12-28-7/+66
| | | | In libavcodec 58 and later, the old avcodec_decode_video2 is broken and only return the first visible frame found after a VP9 super-frame.
* Remove AndroidMediaDecoder and friendstrav902018-12-16-1782/+0
| | | | They are no longer supported and don't work with newer Android versions anyway.
* Merge pull request #902 from trav90/media-workMoonchild2018-12-09-823/+21
|\ | | | | Remove the old MP3Parser and reorganize remaining MP3 code
| * Add missing #includetrav902018-12-08-0/+1
| |
| * Move the MP3 code to it's own directorytrav902018-12-08-4/+18
| |
| * Remove separate MP3 name spacetrav902018-12-08-7/+2
| | | | | | | | It is no longer needed.
| * Remove the old MP3FrameParsertrav902018-12-08-812/+0
| | | | | | | | All former users of the old MP3 parsing code are gone, so we can now just remove the parser itself as well.
* | Remove files and comments related to MP4Readertrav902018-12-08-222/+1
| | | | | | | | The MP4Reader no longer exists in the tree.
* | Remove Rust files from media gteststrav902018-12-08-22/+0
|/
* Merge pull request #897 from trav90/telemetry-cleanupMoonchild2018-12-03-25/+0
|\ | | | | Remove MediaTelemetryConstants
| * Remove MediaTelemetryConstantstrav902018-12-02-25/+0
| |
* | Remove DirectShowReader Part 4: Teststrav902018-12-01-4/+3
| |
* | Remove DirectShowReader Part 3: Directoriestrav902018-12-01-2750/+0
| |
* | Remove DirectShowReader Part 2: Build systemtrav902018-12-01-8/+0
| |
* | Remove DirectShowReader Part 1: Conditional codetrav902018-12-01-41/+3
|/
* Remove OMX_PLATFORM_GONKtrav902018-11-21-22/+1
|
* Remove remaining MOZ_GONK_MEDIACODEC codetrav902018-11-21-22/+0
|
* Merge pull request #876 from trav90/add-av1-supportMoonchild2018-11-19-0/+8
|\ | | | | Add support for AV1 in MP4 container
| * Add AV1 support to MP4Decoder.trav902018-11-18-0/+8
| |
* | Cleanup some comments in our media code.trav902018-11-18-9/+4
|/
* Revert "Add support for AV1 in MP4"trav902018-10-23-8/+0
| | | | | | This commit was incomplete. Will re-land AV1 in MP4 support properly at a future date. This reverts commit 29f718ef78f1a25ca904c6438b59ffc8e365a750.
* Ensure we correctly parse the finalized codec string for av1trav902018-10-21-11/+12
|
* Add support for AV1 in MP4trav902018-10-20-0/+8
|
* Use larger stack for media decoder threadstrav902018-10-20-1/+13
| | | | This increases the thread size for the platform decoder threads (to prevent stack overflows, particularly when decoding av1), while leaving the others at their default values.
* Downsample av1 images unconditionallytrav902018-10-20-2/+2
| | | | | | Adding partial support for 10/12-bit video images seems to have broken the native pixel-stride support we were using to pass 8-bit AV1 frame data formatted in 16-bit pixel values, resulting in vertical green lines. Revert to the earlier behavior of always downsampling to 8 bit data. This is slower, but at least displays correctly.
* Fix canPlayType/isTypeSupported for AV1 contenttrav902018-10-20-33/+35
|
* Put AV1 codec behind a preftrav902018-10-20-3/+12
| | | | Disabled by default.
* Updates to AOMDecoder for aom v1.0.0trav902018-10-19-10/+3
| | | | This reflects the API changes to the aom_codec_decode function and the removal of I440. It also sets allow_lowbitdepth to give proper support for 8 bit video, and removes the git version from the mime type.
* Update aom to v1.0.0trav902018-10-19-1/+1
| | | | Update aom to commit id d14c5bb4f336ef1842046089849dee4a301fbbf0.
* Update aom to commit id e87fb2378f01103d5d6e477a4ef6892dc714e614trav902018-10-18-2/+2
|
* [aom] Don't resample 8-bit imagestrav902018-10-18-7/+16
| | | | | | The libaom av1 decoder will return 16 bit per channel aom_image_t structures with only 8 significant bits. Detect this case and use the mSkip fields of PlanarYCbCrImage to handle the extra data instead of allocating and performing an extra copy to obtain the necessary 8 bit representation.
* [aom] Resample high bit depth framestrav902018-10-18-1/+83
| | | | The libaom av1 decoder can return high bit depth frame data now. Handle those frames by downsampling them to 8 bits per channel so they can be passed to our normal playback pipeline.
* Update aom to commit id f5bdeac22930ff4c6b219be49c843db35970b918trav902018-10-18-1/+1
|
* Add missing includes to FFmpegLibWrappertrav902018-10-17-1/+3
|
* Fix typo (build bustage)trav902018-10-17-1/+1
|
* Update aom to slightly newer commit IDtrav902018-10-17-1/+1
|
* Add av1 to MediaSource.isTypeSupportedtrav902018-10-17-0/+24
| | | | | | When av1 video playback is enabled, declare it as supported in the webm container in MediaSource.IsTypeSupported. Also support special mime types of the form video/webm; codecs=vp9.experimental.<git-commit-id> so test sites can verify playback support of particular encodings while the av1 bitstream is under development.
* Remove aom_codec_stream_info_t sz field referencestrav902018-10-17-2/+0
| | | | Upstream has removed the requirement to set this when initializing the stream_info struct.
* Make AOMDecoder actually buildtrav902018-10-15-3/+3
|
* Add missing includes to WebMDemuxertrav902018-10-15-0/+4
|
* Recognize AV1 in WebMDemuxertrav902018-10-15-4/+25
| | | | Call AOMDecoder to handle AV1 video tracks from the WebM container. The new decoder is very similar to VPXDecoder so we can use parallel calls. This codec is still build-time conditional.
* Add AOMDecoder to AgnosticDecoderModuletrav902018-10-15-1/+14
|
* Add AOMDecodertrav902018-10-15-0/+314
| | | | Port the VPXDecoder interface to libaom which uses the same api with the names changed.
* [webm] Don't reject seeks with EOStrav902018-10-08-0/+4
| | | | The MediaDecoderStateMachine treat seek's EOS as fatal errors, so instead we always resolve the seek promise, and let the next GetSample return EOS.
* [webm] Treat demuxing errors differently than EOStrav902018-10-08-41/+75
| | | | Otherwise the WebM demuxer makes no difference between a genuine EOS and encountering an error.
* Call VPXDecoder libvpx wrappers for WebMtrav902018-10-08-13/+14
| | | | Use the new helper functions instead of calling libvpx directly. This simplifies adding other codecs in the future.