Bug 1417795 - remove mp4_demuxer namespace part2. r=kinetik

MozReview-Commit-ID: F8z1QW6WuUU

--HG--
extra : rebase_source : 9d137794bb1c6465da1d6b7aa6ba50265172ada3
This commit is contained in:
Alfredo.Yang 2017-11-16 16:24:22 +08:00
parent a2cd247c8f
commit a0056437d9
21 changed files with 49 additions and 52 deletions

View File

@ -4,7 +4,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "gtest/gtest.h"
#include "mp4_demuxer/Interval.h"
#include "Interval.h"
using namespace mp4_demuxer;
using namespace mozilla;

View File

@ -8,9 +8,9 @@
#include "MediaPrefs.h"
#include "mozilla/ArrayUtils.h"
#include "mozilla/Preferences.h"
#include "mp4_demuxer/BufferStream.h"
#include "mp4_demuxer/MP4Metadata.h"
#include "mp4_demuxer/MoofParser.h"
#include "BufferStream.h"
#include "MP4Metadata.h"
#include "MoofParser.h"
using namespace mozilla;
using namespace mp4_demuxer;

View File

@ -10,15 +10,15 @@
#include "mozilla/EndianUtils.h"
#include "mozilla/IntegerPrintfMacros.h"
#include "mozilla/ErrorResult.h"
#include "mp4_demuxer/MoofParser.h"
#include "MoofParser.h"
#include "mozilla/Logging.h"
#include "mozilla/Maybe.h"
#include "mozilla/Result.h"
#include "MediaData.h"
#ifdef MOZ_FMP4
#include "mp4_demuxer/AtomType.h"
#include "AtomType.h"
#include "BufferReader.h"
#include "mp4_demuxer/Stream.h"
#include "Stream.h"
#endif
#include "nsAutoPtr.h"
#include "SourceBufferResource.h"

View File

@ -4,8 +4,8 @@
* 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/. */
#include "mp4_demuxer/Box.h"
#include "mp4_demuxer/Stream.h"
#include "Box.h"
#include "Stream.h"
#include "mozilla/EndianUtils.h"
#include "mozilla/Unused.h"
#include <algorithm>

View File

@ -11,7 +11,7 @@
#include "nsTArray.h"
#include "MediaResource.h"
#include "mozilla/EndianUtils.h"
#include "mp4_demuxer/AtomType.h"
#include "AtomType.h"
#include "BufferReader.h"
using namespace mozilla;

View File

@ -2,7 +2,7 @@
* 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/. */
#include "mp4_demuxer/BufferStream.h"
#include "BufferStream.h"
#include "MediaData.h"
#include "MediaResource.h"
#include <algorithm>

View File

@ -5,7 +5,7 @@
#ifndef BUFFER_STREAM_H_
#define BUFFER_STREAM_H_
#include "mp4_demuxer/Stream.h"
#include "Stream.h"
#include "nsTArray.h"
#include "MediaResource.h"

View File

@ -5,7 +5,7 @@
#include "Adts.h"
#include "AnnexB.h"
#include "BufferReader.h"
#include "mp4_demuxer/DecoderData.h"
#include "DecoderData.h"
#include "mozilla/ArrayUtils.h"
#include "mozilla/EndianUtils.h"
#include "VideoUtils.h"

View File

@ -3,10 +3,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "BufferReader.h"
#include "mp4_demuxer/Index.h"
#include "mp4_demuxer/Interval.h"
#include "mp4_demuxer/MP4Metadata.h"
#include "mp4_demuxer/SinfParser.h"
#include "Index.h"
#include "Interval.h"
#include "MP4Metadata.h"
#include "SinfParser.h"
#include "nsAutoPtr.h"
#include "mozilla/RefPtr.h"

View File

@ -8,9 +8,9 @@
#include "MediaData.h"
#include "MediaResource.h"
#include "TimeUnits.h"
#include "mp4_demuxer/MoofParser.h"
#include "mp4_demuxer/Interval.h"
#include "mp4_demuxer/Stream.h"
#include "MoofParser.h"
#include "Interval.h"
#include "Stream.h"
#include "nsISupportsImpl.h"
template<class T> class nsAutoPtr;

View File

@ -15,11 +15,11 @@
#include "mozilla/Telemetry.h"
#include "AnnexB.h"
#include "H264.h"
#include "mp4_demuxer/MoofParser.h"
#include "mp4_demuxer/MP4Metadata.h"
#include "mp4_demuxer/ResourceStream.h"
#include "mp4_demuxer/BufferStream.h"
#include "mp4_demuxer/Index.h"
#include "MoofParser.h"
#include "MP4Metadata.h"
#include "ResourceStream.h"
#include "BufferStream.h"
#include "Index.h"
#include "nsAutoPtr.h"
#include "nsPrintfCString.h"

View File

@ -10,9 +10,9 @@
#include "mozilla/Telemetry.h"
#include "mozilla/UniquePtr.h"
#include "VideoUtils.h"
#include "mp4_demuxer/MoofParser.h"
#include "mp4_demuxer/MP4Metadata.h"
#include "mp4_demuxer/Stream.h"
#include "MoofParser.h"
#include "MP4Metadata.h"
#include "Stream.h"
#include "MediaPrefs.h"
#include "mp4parse.h"

View File

@ -7,8 +7,8 @@
#include "mozilla/TypeTraits.h"
#include "mozilla/UniquePtr.h"
#include "mp4_demuxer/DecoderData.h"
#include "mp4_demuxer/Index.h"
#include "DecoderData.h"
#include "Index.h"
#include "MediaData.h"
#include "MediaInfo.h"
#include "MediaResult.h"

View File

@ -2,9 +2,9 @@
* 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/. */
#include "mp4_demuxer/MoofParser.h"
#include "mp4_demuxer/Box.h"
#include "mp4_demuxer/SinfParser.h"
#include "MoofParser.h"
#include "Box.h"
#include "SinfParser.h"
#include <limits>
#include "Intervals.h"

View File

@ -6,11 +6,11 @@
#define MOOF_PARSER_H_
#include "mozilla/ResultExtensions.h"
#include "mp4_demuxer/Atom.h"
#include "mp4_demuxer/AtomType.h"
#include "mp4_demuxer/SinfParser.h"
#include "mp4_demuxer/Stream.h"
#include "mp4_demuxer/Interval.h"
#include "Atom.h"
#include "AtomType.h"
#include "SinfParser.h"
#include "Stream.h"
#include "Interval.h"
#include "MediaResource.h"
namespace mp4_demuxer {

View File

@ -4,7 +4,7 @@
* 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/. */
#include "mp4_demuxer/ResourceStream.h"
#include "ResourceStream.h"
namespace mp4_demuxer {

View File

@ -6,7 +6,7 @@
#define RESOURCESTREAM_H_
#include "MediaResource.h"
#include "mp4_demuxer/Stream.h"
#include "Stream.h"
#include "mozilla/RefPtr.h"
namespace mp4_demuxer

View File

@ -3,10 +3,10 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#include "mozilla/Unused.h"
#include "mp4_demuxer/SinfParser.h"
#include "mp4_demuxer/AtomType.h"
#include "mp4_demuxer/Box.h"
#include "mp4_demuxer/Stream.h"
#include "SinfParser.h"
#include "AtomType.h"
#include "Box.h"
#include "Stream.h"
namespace mp4_demuxer {

View File

@ -7,8 +7,8 @@
#define SINF_PARSER_H_
#include "mozilla/ResultExtensions.h"
#include "mp4_demuxer/Atom.h"
#include "mp4_demuxer/AtomType.h"
#include "Atom.h"
#include "AtomType.h"
namespace mp4_demuxer {

View File

@ -5,11 +5,6 @@
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
EXPORTS += [
'MP4Decoder.h',
'MP4Demuxer.h',
]
EXPORTS.mp4_demuxer += [
'Atom.h',
'AtomType.h',
'Box.h',
@ -18,6 +13,8 @@ EXPORTS.mp4_demuxer += [
'Index.h',
'Interval.h',
'MoofParser.h',
'MP4Decoder.h',
'MP4Demuxer.h',
'MP4Metadata.h',
'ResourceStream.h',
'SinfParser.h',

View File

@ -5,7 +5,7 @@
#ifndef MP4_DEMUXER_H264_H_
#define MP4_DEMUXER_H264_H_
#include "mp4_demuxer/DecoderData.h"
#include "DecoderData.h"
namespace mp4_demuxer {