summaryrefslogtreecommitdiffstats
path: root/dom/media/platforms/agnostic/AOMDecoder.cpp
Commit message (Collapse)AuthorAgeLines
* 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-24/+17
|
* 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
|
* Update aom to slightly newer commit IDtrav902018-10-17-1/+1
|
* Add av1 to MediaSource.isTypeSupportedtrav902018-10-17-0/+13
| | | | | | 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 AOMDecodertrav902018-10-15-0/+244
Port the VPXDecoder interface to libaom which uses the same api with the names changed.