Bug 1163458: Part1. Move PlatformDecoderModule outside fmp4. r=kentukyfriedtakahe

--HG--
rename : dom/media/fmp4/PlatformDecoderModule.cpp => dom/media/platforms/PlatformDecoderModule.cpp
rename : dom/media/fmp4/PlatformDecoderModule.h => dom/media/platforms/PlatformDecoderModule.h
rename : dom/media/fmp4/SharedDecoderManager.cpp => dom/media/platforms/SharedDecoderManager.cpp
rename : dom/media/fmp4/SharedDecoderManager.h => dom/media/platforms/SharedDecoderManager.h
rename : dom/media/fmp4/BlankDecoderModule.cpp => dom/media/platforms/agnostic/BlankDecoderModule.cpp
rename : dom/media/fmp4/eme/EMEAudioDecoder.cpp => dom/media/platforms/agnostic/eme/EMEAudioDecoder.cpp
rename : dom/media/fmp4/eme/EMEAudioDecoder.h => dom/media/platforms/agnostic/eme/EMEAudioDecoder.h
rename : dom/media/fmp4/eme/EMEDecoderModule.cpp => dom/media/platforms/agnostic/eme/EMEDecoderModule.cpp
rename : dom/media/fmp4/eme/EMEDecoderModule.h => dom/media/platforms/agnostic/eme/EMEDecoderModule.h
rename : dom/media/fmp4/eme/EMEVideoDecoder.cpp => dom/media/platforms/agnostic/eme/EMEVideoDecoder.cpp
rename : dom/media/fmp4/eme/EMEVideoDecoder.h => dom/media/platforms/agnostic/eme/EMEVideoDecoder.h
rename : dom/media/fmp4/eme/SamplesWaitingForKey.cpp => dom/media/platforms/agnostic/eme/SamplesWaitingForKey.cpp
rename : dom/media/fmp4/eme/SamplesWaitingForKey.h => dom/media/platforms/agnostic/eme/SamplesWaitingForKey.h
rename : dom/media/fmp4/eme/moz.build => dom/media/platforms/agnostic/eme/moz.build
rename : dom/media/fmp4/gmp/GMPAudioDecoder.cpp => dom/media/platforms/agnostic/gmp/GMPAudioDecoder.cpp
rename : dom/media/fmp4/gmp/GMPAudioDecoder.h => dom/media/platforms/agnostic/gmp/GMPAudioDecoder.h
rename : dom/media/fmp4/gmp/GMPDecoderModule.cpp => dom/media/platforms/agnostic/gmp/GMPDecoderModule.cpp
rename : dom/media/fmp4/gmp/GMPDecoderModule.h => dom/media/platforms/agnostic/gmp/GMPDecoderModule.h
rename : dom/media/fmp4/gmp/GMPVideoDecoder.cpp => dom/media/platforms/agnostic/gmp/GMPVideoDecoder.cpp
rename : dom/media/fmp4/gmp/GMPVideoDecoder.h => dom/media/platforms/agnostic/gmp/GMPVideoDecoder.h
rename : dom/media/fmp4/gmp/MediaDataDecoderProxy.cpp => dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.cpp
rename : dom/media/fmp4/gmp/MediaDataDecoderProxy.h => dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.h
rename : dom/media/fmp4/gmp/moz.build => dom/media/platforms/agnostic/gmp/moz.build
rename : dom/media/fmp4/android/AndroidDecoderModule.cpp => dom/media/platforms/android/AndroidDecoderModule.cpp
rename : dom/media/fmp4/android/AndroidDecoderModule.h => dom/media/platforms/android/AndroidDecoderModule.h
rename : dom/media/fmp4/apple/AppleATDecoder.cpp => dom/media/platforms/apple/AppleATDecoder.cpp
rename : dom/media/fmp4/apple/AppleATDecoder.h => dom/media/platforms/apple/AppleATDecoder.h
rename : dom/media/fmp4/apple/AppleCMFunctions.h => dom/media/platforms/apple/AppleCMFunctions.h
rename : dom/media/fmp4/apple/AppleCMLinker.cpp => dom/media/platforms/apple/AppleCMLinker.cpp
rename : dom/media/fmp4/apple/AppleCMLinker.h => dom/media/platforms/apple/AppleCMLinker.h
rename : dom/media/fmp4/apple/AppleDecoderModule.cpp => dom/media/platforms/apple/AppleDecoderModule.cpp
rename : dom/media/fmp4/apple/AppleDecoderModule.h => dom/media/platforms/apple/AppleDecoderModule.h
rename : dom/media/fmp4/apple/AppleUtils.h => dom/media/platforms/apple/AppleUtils.h
rename : dom/media/fmp4/apple/AppleVDADecoder.cpp => dom/media/platforms/apple/AppleVDADecoder.cpp
rename : dom/media/fmp4/apple/AppleVDADecoder.h => dom/media/platforms/apple/AppleVDADecoder.h
rename : dom/media/fmp4/apple/AppleVDAFunctions.h => dom/media/platforms/apple/AppleVDAFunctions.h
rename : dom/media/fmp4/apple/AppleVDALinker.cpp => dom/media/platforms/apple/AppleVDALinker.cpp
rename : dom/media/fmp4/apple/AppleVDALinker.h => dom/media/platforms/apple/AppleVDALinker.h
rename : dom/media/fmp4/apple/AppleVTDecoder.cpp => dom/media/platforms/apple/AppleVTDecoder.cpp
rename : dom/media/fmp4/apple/AppleVTDecoder.h => dom/media/platforms/apple/AppleVTDecoder.h
rename : dom/media/fmp4/apple/AppleVTFunctions.h => dom/media/platforms/apple/AppleVTFunctions.h
rename : dom/media/fmp4/apple/AppleVTLinker.cpp => dom/media/platforms/apple/AppleVTLinker.cpp
rename : dom/media/fmp4/apple/AppleVTLinker.h => dom/media/platforms/apple/AppleVTLinker.h
rename : dom/media/fmp4/apple/ReorderQueue.h => dom/media/platforms/apple/ReorderQueue.h
rename : dom/media/fmp4/apple/VideoDecodeAcceleration/VDADecoder.h => dom/media/platforms/apple/VideoDecodeAcceleration/VDADecoder.h
rename : dom/media/fmp4/apple/VideoToolbox/VideoToolbox.h => dom/media/platforms/apple/VideoToolbox/VideoToolbox.h
rename : dom/media/fmp4/ffmpeg/FFmpegAudioDecoder.cpp => dom/media/platforms/ffmpeg/FFmpegAudioDecoder.cpp
rename : dom/media/fmp4/ffmpeg/FFmpegAudioDecoder.h => dom/media/platforms/ffmpeg/FFmpegAudioDecoder.h
rename : dom/media/fmp4/ffmpeg/FFmpegDataDecoder.cpp => dom/media/platforms/ffmpeg/FFmpegDataDecoder.cpp
rename : dom/media/fmp4/ffmpeg/FFmpegDataDecoder.h => dom/media/platforms/ffmpeg/FFmpegDataDecoder.h
rename : dom/media/fmp4/ffmpeg/FFmpegDecoderModule.cpp => dom/media/platforms/ffmpeg/FFmpegDecoderModule.cpp
rename : dom/media/fmp4/ffmpeg/FFmpegDecoderModule.h => dom/media/platforms/ffmpeg/FFmpegDecoderModule.h
rename : dom/media/fmp4/ffmpeg/FFmpegFunctionList.h => dom/media/platforms/ffmpeg/FFmpegFunctionList.h
rename : dom/media/fmp4/ffmpeg/FFmpegH264Decoder.cpp => dom/media/platforms/ffmpeg/FFmpegH264Decoder.cpp
rename : dom/media/fmp4/ffmpeg/FFmpegH264Decoder.h => dom/media/platforms/ffmpeg/FFmpegH264Decoder.h
rename : dom/media/fmp4/ffmpeg/FFmpegLibs.h => dom/media/platforms/ffmpeg/FFmpegLibs.h
rename : dom/media/fmp4/ffmpeg/FFmpegLog.cpp => dom/media/platforms/ffmpeg/FFmpegLog.cpp
rename : dom/media/fmp4/ffmpeg/FFmpegLog.h => dom/media/platforms/ffmpeg/FFmpegLog.h
rename : dom/media/fmp4/ffmpeg/FFmpegRuntimeLinker.cpp => dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.cpp
rename : dom/media/fmp4/ffmpeg/FFmpegRuntimeLinker.h => dom/media/platforms/ffmpeg/FFmpegRuntimeLinker.h
rename : dom/media/fmp4/ffmpeg/README_mozilla => dom/media/platforms/ffmpeg/README_mozilla
rename : dom/media/fmp4/ffmpeg/libav53/include/COPYING.LGPLv2.1 => dom/media/platforms/ffmpeg/libav53/include/COPYING.LGPLv2.1
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/avcodec.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/avcodec.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/avfft.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/avfft.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/dxva2.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/dxva2.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/old_codec_ids.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/old_codec_ids.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/opt.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/opt.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/vaapi.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/vaapi.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/vda.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/vda.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/vdpau.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/vdpau.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/version.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/version.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavcodec/xvmc.h => dom/media/platforms/ffmpeg/libav53/include/libavcodec/xvmc.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavformat/avformat.h => dom/media/platforms/ffmpeg/libav53/include/libavformat/avformat.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavformat/avio.h => dom/media/platforms/ffmpeg/libav53/include/libavformat/avio.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavformat/version.h => dom/media/platforms/ffmpeg/libav53/include/libavformat/version.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/adler32.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/adler32.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/aes.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/aes.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/attributes.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/attributes.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/audio_fifo.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/audio_fifo.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/audioconvert.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/audioconvert.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/avassert.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/avassert.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/avconfig.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/avconfig.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/avstring.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/avstring.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/avutil.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/avutil.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/base64.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/base64.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/blowfish.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/blowfish.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/bprint.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/bprint.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/bswap.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/bswap.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/common.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/common.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/cpu.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/cpu.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/crc.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/crc.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/dict.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/dict.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/error.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/error.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/eval.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/eval.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/fifo.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/fifo.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/file.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/file.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/imgutils.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/imgutils.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/intfloat.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/intfloat.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/intfloat_readwrite.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/intfloat_readwrite.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/intreadwrite.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/intreadwrite.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/lfg.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/lfg.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/log.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/log.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/lzo.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/lzo.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/mathematics.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/mathematics.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/md5.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/md5.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/mem.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/mem.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/old_pix_fmts.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/old_pix_fmts.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/opt.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/opt.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/parseutils.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/parseutils.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/pixdesc.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/pixdesc.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/pixfmt.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/pixfmt.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/random_seed.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/random_seed.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/rational.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/rational.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/samplefmt.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/samplefmt.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/sha.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/sha.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/time.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/time.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/timecode.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/timecode.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/timestamp.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/timestamp.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/version.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/version.h
rename : dom/media/fmp4/ffmpeg/libav53/include/libavutil/xtea.h => dom/media/platforms/ffmpeg/libav53/include/libavutil/xtea.h
rename : dom/media/fmp4/ffmpeg/libav53/moz.build => dom/media/platforms/ffmpeg/libav53/moz.build
rename : dom/media/fmp4/ffmpeg/libav54/include/COPYING.LGPLv2.1 => dom/media/platforms/ffmpeg/libav54/include/COPYING.LGPLv2.1
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/avcodec.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/avcodec.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/avfft.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/avfft.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/dxva2.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/dxva2.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/old_codec_ids.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/old_codec_ids.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/vaapi.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/vaapi.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/vda.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/vda.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/vdpau.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/vdpau.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/version.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/version.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavcodec/xvmc.h => dom/media/platforms/ffmpeg/libav54/include/libavcodec/xvmc.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavformat/avformat.h => dom/media/platforms/ffmpeg/libav54/include/libavformat/avformat.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavformat/avio.h => dom/media/platforms/ffmpeg/libav54/include/libavformat/avio.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavformat/version.h => dom/media/platforms/ffmpeg/libav54/include/libavformat/version.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/adler32.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/adler32.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/aes.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/aes.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/attributes.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/attributes.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/audio_fifo.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/audio_fifo.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/audioconvert.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/audioconvert.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/avassert.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/avassert.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/avconfig.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/avconfig.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/avstring.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/avstring.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/avutil.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/avutil.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/base64.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/base64.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/blowfish.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/blowfish.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/bswap.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/bswap.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/channel_layout.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/channel_layout.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/common.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/common.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/cpu.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/cpu.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/crc.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/crc.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/dict.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/dict.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/error.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/error.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/eval.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/eval.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/fifo.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/fifo.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/file.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/file.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/imgutils.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/imgutils.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/intfloat.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/intfloat.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/intfloat_readwrite.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/intfloat_readwrite.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/intreadwrite.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/intreadwrite.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/lfg.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/lfg.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/log.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/log.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/lzo.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/lzo.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/mathematics.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/mathematics.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/md5.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/md5.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/mem.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/mem.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/old_pix_fmts.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/old_pix_fmts.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/opt.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/opt.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/parseutils.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/parseutils.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/pixdesc.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/pixdesc.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/pixfmt.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/pixfmt.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/random_seed.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/random_seed.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/rational.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/rational.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/samplefmt.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/samplefmt.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/sha.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/sha.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/time.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/time.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/version.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/version.h
rename : dom/media/fmp4/ffmpeg/libav54/include/libavutil/xtea.h => dom/media/platforms/ffmpeg/libav54/include/libavutil/xtea.h
rename : dom/media/fmp4/ffmpeg/libav54/moz.build => dom/media/platforms/ffmpeg/libav54/moz.build
rename : dom/media/fmp4/ffmpeg/libav55/include/COPYING.LGPLv2.1 => dom/media/platforms/ffmpeg/libav55/include/COPYING.LGPLv2.1
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/avcodec.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/avcodec.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/avfft.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/avfft.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/dxva2.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/dxva2.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/vaapi.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/vaapi.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/vda.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/vda.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/vdpau.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/vdpau.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/version.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/version.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavcodec/xvmc.h => dom/media/platforms/ffmpeg/libav55/include/libavcodec/xvmc.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavformat/avformat.h => dom/media/platforms/ffmpeg/libav55/include/libavformat/avformat.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavformat/avio.h => dom/media/platforms/ffmpeg/libav55/include/libavformat/avio.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavformat/version.h => dom/media/platforms/ffmpeg/libav55/include/libavformat/version.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/adler32.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/adler32.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/aes.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/aes.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/attributes.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/attributes.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/audio_fifo.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/audio_fifo.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/audioconvert.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/audioconvert.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/avassert.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/avassert.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/avconfig.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/avconfig.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/avstring.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/avstring.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/avutil.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/avutil.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/base64.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/base64.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/blowfish.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/blowfish.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/bswap.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/bswap.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/buffer.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/buffer.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/channel_layout.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/channel_layout.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/common.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/common.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/cpu.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/cpu.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/crc.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/crc.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/dict.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/dict.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/downmix_info.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/downmix_info.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/error.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/error.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/eval.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/eval.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/fifo.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/fifo.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/file.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/file.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/frame.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/frame.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/hmac.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/hmac.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/imgutils.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/imgutils.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/intfloat.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/intfloat.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/intreadwrite.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/intreadwrite.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/lfg.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/lfg.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/log.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/log.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/lzo.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/lzo.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/macros.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/macros.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/mathematics.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/mathematics.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/md5.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/md5.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/mem.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/mem.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/old_pix_fmts.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/old_pix_fmts.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/opt.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/opt.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/parseutils.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/parseutils.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/pixdesc.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/pixdesc.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/pixfmt.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/pixfmt.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/random_seed.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/random_seed.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/rational.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/rational.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/samplefmt.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/samplefmt.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/sha.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/sha.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/stereo3d.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/stereo3d.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/time.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/time.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/version.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/version.h
rename : dom/media/fmp4/ffmpeg/libav55/include/libavutil/xtea.h => dom/media/platforms/ffmpeg/libav55/include/libavutil/xtea.h
rename : dom/media/fmp4/ffmpeg/libav55/moz.build => dom/media/platforms/ffmpeg/libav55/moz.build
rename : dom/media/fmp4/gonk/GonkAudioDecoderManager.cpp => dom/media/platforms/gonk/GonkAudioDecoderManager.cpp
rename : dom/media/fmp4/gonk/GonkAudioDecoderManager.h => dom/media/platforms/gonk/GonkAudioDecoderManager.h
rename : dom/media/fmp4/gonk/GonkDecoderModule.cpp => dom/media/platforms/gonk/GonkDecoderModule.cpp
rename : dom/media/fmp4/gonk/GonkDecoderModule.h => dom/media/platforms/gonk/GonkDecoderModule.h
rename : dom/media/fmp4/gonk/GonkMediaDataDecoder.cpp => dom/media/platforms/gonk/GonkMediaDataDecoder.cpp
rename : dom/media/fmp4/gonk/GonkMediaDataDecoder.h => dom/media/platforms/gonk/GonkMediaDataDecoder.h
rename : dom/media/fmp4/gonk/GonkVideoDecoderManager.cpp => dom/media/platforms/gonk/GonkVideoDecoderManager.cpp
rename : dom/media/fmp4/gonk/GonkVideoDecoderManager.h => dom/media/platforms/gonk/GonkVideoDecoderManager.h
rename : dom/media/fmp4/gonk/moz.build => dom/media/platforms/gonk/moz.build
rename : dom/media/fmp4/moz.build => dom/media/platforms/moz.build
rename : dom/media/fmp4/wmf/MFTDecoder.cpp => dom/media/platforms/wmf/MFTDecoder.cpp
rename : dom/media/fmp4/wmf/MFTDecoder.h => dom/media/platforms/wmf/MFTDecoder.h
rename : dom/media/fmp4/wmf/WMFAudioMFTManager.cpp => dom/media/platforms/wmf/WMFAudioMFTManager.cpp
rename : dom/media/fmp4/wmf/WMFAudioMFTManager.h => dom/media/platforms/wmf/WMFAudioMFTManager.h
rename : dom/media/fmp4/wmf/WMFDecoderModule.cpp => dom/media/platforms/wmf/WMFDecoderModule.cpp
rename : dom/media/fmp4/wmf/WMFDecoderModule.h => dom/media/platforms/wmf/WMFDecoderModule.h
rename : dom/media/fmp4/wmf/WMFMediaDataDecoder.cpp => dom/media/platforms/wmf/WMFMediaDataDecoder.cpp
rename : dom/media/fmp4/wmf/WMFMediaDataDecoder.h => dom/media/platforms/wmf/WMFMediaDataDecoder.h
rename : dom/media/fmp4/wmf/WMFVideoMFTManager.cpp => dom/media/platforms/wmf/WMFVideoMFTManager.cpp
rename : dom/media/fmp4/wmf/WMFVideoMFTManager.h => dom/media/platforms/wmf/WMFVideoMFTManager.h
rename : dom/media/fmp4/wmf/moz.build => dom/media/platforms/wmf/moz.build
rename : dom/media/fmp4/wrappers/H264Converter.cpp => dom/media/platforms/wrappers/H264Converter.cpp
rename : dom/media/fmp4/wrappers/H264Converter.h => dom/media/platforms/wrappers/H264Converter.h
This commit is contained in:
Jean-Yves Avenard 2015-05-18 15:42:32 +10:00
Родитель 8e8d88029e
Коммит 998eafdaa3
266 изменённых файлов: 91 добавлений и 107 удалений

Просмотреть файл

@ -18,13 +18,6 @@
#ifdef XP_WIN
#include "mozilla/WindowsVersion.h"
#include "WMFDecoderModule.h"
#endif
#ifdef MOZ_FFMPEG
#include "FFmpegRuntimeLinker.h"
#endif
#ifdef MOZ_APPLEMEDIA
#include "apple/AppleDecoderModule.h"
#endif
#ifdef MOZ_WIDGET_ANDROID
#include "nsIGfxInfo.h"
@ -176,13 +169,7 @@ IsFFmpegAvailable()
#ifndef MOZ_FFMPEG
return false;
#else
if (!Preferences::GetBool("media.fragmented-mp4.ffmpeg.enabled", false)) {
return false;
}
// If we can link to FFmpeg, then we can almost certainly play H264 and AAC
// with it.
return FFmpegRuntimeLinker::Link();
return Preferences::GetBool("media.fragmented-mp4.ffmpeg.enabled", false);
#endif
}
@ -193,11 +180,7 @@ IsAppleAvailable()
// Not the right platform.
return false;
#else
if (!Preferences::GetBool("media.apple.mp4.enabled", false)) {
// Disabled by preference.
return false;
}
return NS_SUCCEEDED(AppleDecoderModule::CanDecode());
return Preferences::GetBool("media.apple.mp4.enabled", false);
#endif
}

Просмотреть файл

@ -38,8 +38,7 @@ public:
bool& aOutContainsH264,
bool& aOutContainsMP3);
// Returns true if the MP4 backend is preffed on, and we're running on a
// platform that is likely to have decoders for the contained formats.
// Returns true if the MP4 backend is preffed on.
static bool IsEnabled();
static bool IsVideoAccelerated(layers::LayersBackend aBackend);

Просмотреть файл

@ -9,18 +9,11 @@ EXPORTS += [
'MP4Demuxer.h',
'MP4Reader.h',
'MP4Stream.h',
'PlatformDecoderModule.h',
'SharedDecoderManager.h',
'wrappers/H264Converter.h'
]
UNIFIED_SOURCES += [
'BlankDecoderModule.cpp',
'MP4Decoder.cpp',
'MP4Stream.cpp',
'PlatformDecoderModule.cpp',
'SharedDecoderManager.cpp',
'wrappers/H264Converter.cpp'
]
SOURCES += [
@ -28,62 +21,6 @@ SOURCES += [
'MP4Reader.cpp',
]
DIRS += ['gmp']
if CONFIG['MOZ_WMF']:
DIRS += [ 'wmf' ];
if CONFIG['MOZ_EME']:
DIRS += ['eme']
if CONFIG['MOZ_FFMPEG']:
EXPORTS += [
'ffmpeg/FFmpegRuntimeLinker.h',
]
UNIFIED_SOURCES += [
'ffmpeg/FFmpegLog.cpp',
'ffmpeg/FFmpegRuntimeLinker.cpp',
]
DIRS += [
'ffmpeg/libav53',
'ffmpeg/libav54',
'ffmpeg/libav55',
]
LOCAL_INCLUDES += [
'ffmpeg',
]
if CONFIG['MOZ_APPLEMEDIA']:
EXPORTS += [
'apple/AppleDecoderModule.h',
]
UNIFIED_SOURCES += [
'apple/AppleATDecoder.cpp',
'apple/AppleCMLinker.cpp',
'apple/AppleDecoderModule.cpp',
'apple/AppleVDADecoder.cpp',
'apple/AppleVDALinker.cpp',
'apple/AppleVTDecoder.cpp',
'apple/AppleVTLinker.cpp',
]
OS_LIBS += [
'-framework AudioToolbox',
]
if CONFIG['ANDROID_VERSION'] >= '18'and CONFIG['MOZ_WIDGET_TOOLKIT'] == 'gonk':
DEFINES['MOZ_GONK_MEDIACODEC'] = True
DIRS += ['gonk']
include('/ipc/chromium/chromium-config.mozbuild')
if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'android':
EXPORTS += [
'android/AndroidDecoderModule.h',
]
UNIFIED_SOURCES += [
'android/AndroidDecoderModule.cpp',
]
FINAL_LIBRARY = 'xul'
FAIL_ON_WARNINGS = True

Просмотреть файл

@ -27,6 +27,7 @@ DIRS += [
'imagecapture',
'mediasource',
'ogg',
'platforms',
'systemservices',
'webaudio',
'webrtc',

Просмотреть файл

@ -81,6 +81,9 @@ PlatformDecoderModule::Init()
#ifdef MOZ_APPLEMEDIA
AppleDecoderModule::Init();
#endif
#ifdef MOZ_FFMPEG
FFmpegRuntimeLinker::Link();
#endif
}
#ifdef MOZ_EME

Просмотреть файл

@ -121,23 +121,6 @@ public:
}
};
/* static */
nsresult
AppleDecoderModule::CanDecode()
{
if (!sInitialized) {
// Note: We can be called on the main thread from MP4Decoder::CanHandleMediaType().
if (NS_IsMainThread()) {
Init();
} else {
nsCOMPtr<nsIRunnable> task(new InitTask());
NS_DispatchToMainThread(task, NS_DISPATCH_SYNC);
}
}
return (sIsVDAAvailable || sIsVTAvailable) ? NS_OK : NS_ERROR_NO_INTERFACE;
}
nsresult
AppleDecoderModule::Startup()
{

Просмотреть файл

@ -38,7 +38,6 @@ public:
DecoderNeedsConversion(const TrackInfo& aConfig) const override;
static void Init();
static nsresult CanDecode();
private:
friend class InitTask;

Просмотреть файл

@ -58,6 +58,8 @@ FFmpegRuntimeLinker::Link()
return sLinkStatus == LinkStatus_SUCCEEDED;
}
MOZ_ASSERT(NS_IsMainThread());
for (size_t i = 0; i < ArrayLength(sLibs); i++) {
const AvFormatLib* lib = &sLibs[i];
sLinkedLib = dlopen(lib->Name, RTLD_NOW | RTLD_LOCAL);

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше