gecko/content/media/ogg
Ralph Giles daed6b4964 Bug 674225 - Add Opus support to nsOggReader. r=cpearce
Parse and decode Opus streams embedded in the Ogg
container. Based on the draft specification from
https://wiki.xiph.org/OggOpus
Support is conditional on the runtime preference
setting media.opus.enabled, which is false by
default until we're confident the spec is stable
and useful.

This patch doesn't support the gain header or
multichannel files.

The LEUint*() functions from the skeleton parser
are used to read the multi-byte header fields.
This requires moving them to earlier in the file.

Mappings for the .opus filename extension are also
added to facilitate testing with local files.
2012-05-01 17:29:34 -07:00
..
Makefile.in Bug 566498 - Move duration calculation into the video decoder base class. r=cpearce 2010-05-21 09:13:01 +12:00
nsOggCodecState.cpp Bug 674225 - Add Opus support to nsOggReader. r=cpearce 2012-05-01 17:29:34 -07:00
nsOggCodecState.h Bug 674225 - Add Opus support to nsOggReader. r=cpearce 2012-05-01 17:29:34 -07:00
nsOggDecoder.cpp Bug 566498 - Move duration calculation into the video decoder base class. r=cpearce 2010-05-21 09:13:01 +12:00
nsOggDecoder.h Bug 736400 - Make each decoder Clone() method check if its mimetype is enabled. r=cpearce 2012-03-30 20:52:07 -04:00
nsOggDecoderStateMachine.cpp Bug 566779 - Clean up media start and end time calculation. r=doublec 2011-05-09 09:10:28 +12:00
nsOggDecoderStateMachine.h Bug 566779 - Clean up media start and end time calculation. r=doublec 2011-05-09 09:10:28 +12:00
nsOggReader.cpp Bug 674225 - Add Opus support to nsOggReader. r=cpearce 2012-05-01 17:29:34 -07:00
nsOggReader.h Bug 674225 - Add Opus support to nsOggReader. r=cpearce 2012-05-01 17:29:34 -07:00