gecko-dev/dom/media/mp4/MP4Decoder.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

55 строки
1.8 KiB
C
Исходник Обычный вид История

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* vim:set ts=2 sw=2 sts=2 et cindent: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#if !defined(MP4Decoder_h_)
# define MP4Decoder_h_
# include "mozilla/UniquePtr.h"
# include "nsStringFwd.h"
# include "nsTArray.h"
namespace mozilla {
class MediaContainerType;
class DecoderDoctorDiagnostics;
class TrackInfo;
// Decoder that uses a bundled MP4 demuxer and platform decoders to play MP4.
class MP4Decoder {
public:
// Returns true if aContainerType is an MP4 type that we think we can render
// with the a platform decoder backend.
// If provided, codecs are checked for support.
static bool IsSupportedType(const MediaContainerType& aContainerType,
DecoderDoctorDiagnostics* aDiagnostics);
static bool IsSupportedTypeWithoutDiagnostics(
const MediaContainerType& aContainerType);
// Return true if aMimeType is a one of the strings used by our demuxers to
// identify H264. Does not parse general content type strings, i.e. white
// space matters.
static bool IsH264(const nsACString& aMimeType);
// Return true if aMimeType is a one of the strings used by our demuxers to
// identify AAC. Does not parse general content type strings, i.e. white
// space matters.
static bool IsAAC(const nsACString& aMimeType);
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
2015-05-18 08:42:32 +03:00
// Returns true if the MP4 backend is preffed on.
static bool IsEnabled();
static nsTArray<UniquePtr<TrackInfo>> GetTracksInfo(
const MediaContainerType& aType);
private:
static nsTArray<UniquePtr<TrackInfo>> GetTracksInfo(
const MediaContainerType& aType, MediaResult& aError);
};
} // namespace mozilla
#endif