Clean up #ifndef in packager/media. (#310)

This commit is contained in:
Haoming Chen 2017-12-19 16:56:36 -08:00 committed by Kongqun Yang
parent f22320bfa7
commit feeb7361ff
117 changed files with 337 additions and 337 deletions

View File

@ -6,8 +6,8 @@
// //
// AES Encryptor implementation using openssl. // AES Encryptor implementation using openssl.
#ifndef MEDIA_BASE_AES_ENCRYPTOR_H_ #ifndef PACKAGER_MEDIA_BASE_AES_ENCRYPTOR_H_
#define MEDIA_BASE_AES_ENCRYPTOR_H_ #define PACKAGER_MEDIA_BASE_AES_ENCRYPTOR_H_
#include <string> #include <string>
#include <vector> #include <vector>
@ -112,4 +112,4 @@ class AesCbcEncryptor : public AesEncryptor {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_AES_ENCRYPTOR_H_ #endif // PACKAGER_MEDIA_BASE_AES_ENCRYPTOR_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_AUDIO_STREAM_INFO_H_ #ifndef PACKAGER_MEDIA_BASE_AUDIO_STREAM_INFO_H_
#define MEDIA_BASE_AUDIO_STREAM_INFO_H_ #define PACKAGER_MEDIA_BASE_AUDIO_STREAM_INFO_H_
#include <vector> #include <vector>
@ -73,4 +73,4 @@ class AudioStreamInfo : public StreamInfo {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_AUDIO_STREAM_INFO_H_ #endif // PACKAGER_MEDIA_BASE_AUDIO_STREAM_INFO_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_BASE_AUDIO_TIMESTAMP_HELPER_H_ #ifndef PACKAGER_MEDIA_BASE_AUDIO_TIMESTAMP_HELPER_H_
#define MEDIA_BASE_AUDIO_TIMESTAMP_HELPER_H_ #define PACKAGER_MEDIA_BASE_AUDIO_TIMESTAMP_HELPER_H_
#include <stdint.h> #include <stdint.h>

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_BASE_BIT_READER_H_ #ifndef PACKAGER_MEDIA_BASE_BIT_READER_H_
#define MEDIA_BASE_BIT_READER_H_ #define PACKAGER_MEDIA_BASE_BIT_READER_H_
#include <stdint.h> #include <stdint.h>
#include <sys/types.h> #include <sys/types.h>
@ -121,4 +121,4 @@ class BitReader {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_BIT_READER_H_ #endif // PACKAGER_MEDIA_BASE_BIT_READER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_BUFFER_READER_H_ #ifndef PACKAGER_MEDIA_BASE_BUFFER_READER_H_
#define MEDIA_BASE_BUFFER_READER_H_ #define PACKAGER_MEDIA_BASE_BUFFER_READER_H_
#include <stdint.h> #include <stdint.h>
@ -82,4 +82,4 @@ class BufferReader {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_BUFFER_READER_H_ #endif // PACKAGER_MEDIA_BASE_BUFFER_READER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_BUFFER_WRITER_H_ #ifndef PACKAGER_MEDIA_BASE_BUFFER_WRITER_H_
#define MEDIA_BASE_BUFFER_WRITER_H_ #define PACKAGER_MEDIA_BASE_BUFFER_WRITER_H_
#include <vector> #include <vector>
@ -78,4 +78,4 @@ class BufferWriter {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_BUFFER_WRITER_H_ #endif // PACKAGER_MEDIA_BASE_BUFFER_WRITER_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_BASE_BYTE_QUEUE_H_ #ifndef PACKAGER_MEDIA_BASE_BYTE_QUEUE_H_
#define MEDIA_BASE_BYTE_QUEUE_H_ #define PACKAGER_MEDIA_BASE_BYTE_QUEUE_H_
#include <stdint.h> #include <stdint.h>
@ -59,4 +59,4 @@ class ByteQueue {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_BYTE_QUEUE_H_ #endif // PACKAGER_MEDIA_BASE_BYTE_QUEUE_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_CLOSURE_THREAD_H_ #ifndef PACKAGER_MEDIA_BASE_CLOSURE_THREAD_H_
#define MEDIA_BASE_CLOSURE_THREAD_H_ #define PACKAGER_MEDIA_BASE_CLOSURE_THREAD_H_
#include "packager/base/callback.h" #include "packager/base/callback.h"
#include "packager/base/threading/simple_thread.h" #include "packager/base/threading/simple_thread.h"
@ -46,4 +46,4 @@ class ClosureThread : public base::SimpleThread {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_CLOSURE_THREAD_H_ #endif // PACKAGER_MEDIA_BASE_CLOSURE_THREAD_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_BASE_CONTAINER_NAMES_H_ #ifndef PACKAGER_MEDIA_BASE_CONTAINER_NAMES_H_
#define MEDIA_BASE_CONTAINER_NAMES_H_ #define PACKAGER_MEDIA_BASE_CONTAINER_NAMES_H_
#include <stdint.h> #include <stdint.h>
@ -73,4 +73,4 @@ MediaContainerName DetermineContainerFromFileName(const std::string& file_name);
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_CONTAINER_NAMES_H_ #endif // PACKAGER_MEDIA_BASE_CONTAINER_NAMES_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_BASE_DECRYPT_CONFIG_H_ #ifndef PACKAGER_MEDIA_BASE_DECRYPT_CONFIG_H_
#define MEDIA_BASE_DECRYPT_CONFIG_H_ #define PACKAGER_MEDIA_BASE_DECRYPT_CONFIG_H_
#include <stdint.h> #include <stdint.h>
@ -112,4 +112,4 @@ class DecryptConfig {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_DECRYPT_CONFIG_H_ #endif // PACKAGER_MEDIA_BASE_DECRYPT_CONFIG_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_DECRYPTOR_SOURCE_H_ #ifndef PACKAGER_MEDIA_BASE_DECRYPTOR_SOURCE_H_
#define MEDIA_BASE_DECRYPTOR_SOURCE_H_ #define PACKAGER_MEDIA_BASE_DECRYPTOR_SOURCE_H_
#include <map> #include <map>
#include <memory> #include <memory>
@ -50,4 +50,4 @@ class DecryptorSource {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_DECRYPTOR_SOURCE_H_ #endif // PACKAGER_MEDIA_BASE_DECRYPTOR_SOURCE_H_

View File

@ -8,8 +8,8 @@
/// curl_global_cleanup to be called at static initialization / /// curl_global_cleanup to be called at static initialization /
/// deinitialization time. /// deinitialization time.
#ifndef MEDIA_BASE_HTTP_KEY_FETCHER_H_ #ifndef PACKAGER_MEDIA_BASE_HTTP_KEY_FETCHER_H_
#define MEDIA_BASE_HTTP_KEY_FETCHER_H_ #define PACKAGER_MEDIA_BASE_HTTP_KEY_FETCHER_H_
#include "packager/base/compiler_specific.h" #include "packager/base/compiler_specific.h"
#include "packager/media/base/key_fetcher.h" #include "packager/media/base/key_fetcher.h"
@ -94,4 +94,4 @@ class HttpKeyFetcher : public KeyFetcher {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_HTTP_KEY_FETCHER_H_ #endif // PACKAGER_MEDIA_BASE_HTTP_KEY_FETCHER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_KEY_FETCHER_H_ #ifndef PACKAGER_MEDIA_BASE_KEY_FETCHER_H_
#define MEDIA_BASE_KEY_FETCHER_H_ #define PACKAGER_MEDIA_BASE_KEY_FETCHER_H_
#include "base/macros.h" #include "base/macros.h"
#include "packager/status.h" #include "packager/status.h"
@ -36,5 +36,5 @@ class KeyFetcher {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_KEY_FETCHER_H_ #endif // PACKAGER_MEDIA_BASE_KEY_FETCHER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_KEY_SOURCE_H_ #ifndef PACKAGER_MEDIA_BASE_KEY_SOURCE_H_
#define MEDIA_BASE_KEY_SOURCE_H_ #define PACKAGER_MEDIA_BASE_KEY_SOURCE_H_
#include <string> #include <string>
#include <vector> #include <vector>
@ -88,4 +88,4 @@ class KeySource {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_KEY_SOURCE_H_ #endif // PACKAGER_MEDIA_BASE_KEY_SOURCE_H_

View File

@ -6,8 +6,8 @@
// //
// Funtions used by MpdBuilder class to generate an MPD file. // Funtions used by MpdBuilder class to generate an MPD file.
#ifndef MEDIA_BASE_LANGUAGE_UTILS_H_ #ifndef PACKAGER_MEDIA_BASE_LANGUAGE_UTILS_H_
#define MEDIA_BASE_LANGUAGE_UTILS_H_ #define PACKAGER_MEDIA_BASE_LANGUAGE_UTILS_H_
#include <string> #include <string>
@ -28,4 +28,4 @@ std::string LanguageToISO_639_2(const std::string& language);
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_LANGUAGE_UTILS_H_ #endif // PACKAGER_MEDIA_BASE_LANGUAGE_UTILS_H_

View File

@ -4,8 +4,8 @@
// Contains limit definition constants for the media subsystem. // Contains limit definition constants for the media subsystem.
#ifndef MEDIA_BASE_LIMITS_H_ #ifndef PACKAGER_MEDIA_BASE_LIMITS_H_
#define MEDIA_BASE_LIMITS_H_ #define PACKAGER_MEDIA_BASE_LIMITS_H_
namespace shaka { namespace shaka {
namespace media { namespace media {
@ -48,4 +48,4 @@ enum {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_LIMITS_H_ #endif // PACKAGER_MEDIA_BASE_LIMITS_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_MACROS_H_ #ifndef PACKAGER_MEDIA_BASE_MACROS_H_
#define MEDIA_BASE_MACROS_H_ #define PACKAGER_MEDIA_BASE_MACROS_H_
// The FALLTHROUGH_INTENDED macro can be used to annotate implicit fall-through // The FALLTHROUGH_INTENDED macro can be used to annotate implicit fall-through
// between switch labels: // between switch labels:
@ -51,4 +51,4 @@
} while (0) } while (0)
#endif #endif
#endif // MEDIA_BASE_MACROS_H_ #endif // PACKAGER_MEDIA_BASE_MACROS_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_MEDIA_PARSER_H_ #ifndef PACKAGER_MEDIA_BASE_MEDIA_PARSER_H_
#define MEDIA_BASE_MEDIA_PARSER_H_ #define PACKAGER_MEDIA_BASE_MEDIA_PARSER_H_
#include <memory> #include <memory>
#include <string> #include <string>
@ -69,4 +69,4 @@ class MediaParser {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_MEDIA_PARSER_H_ #endif // PACKAGER_MEDIA_BASE_MEDIA_PARSER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_MEDIA_SAMPLE_H_ #ifndef PACKAGER_MEDIA_BASE_MEDIA_SAMPLE_H_
#define MEDIA_BASE_MEDIA_SAMPLE_H_ #define PACKAGER_MEDIA_BASE_MEDIA_SAMPLE_H_
#include <deque> #include <deque>
#include <memory> #include <memory>
@ -195,4 +195,4 @@ typedef std::deque<std::shared_ptr<MediaSample>> BufferQueue;
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_MEDIA_SAMPLE_H_ #endif // PACKAGER_MEDIA_BASE_MEDIA_SAMPLE_H_

View File

@ -6,8 +6,8 @@
// //
// Defines the muxer interface. // Defines the muxer interface.
#ifndef MEDIA_BASE_MUXER_H_ #ifndef PACKAGER_MEDIA_BASE_MUXER_H_
#define MEDIA_BASE_MUXER_H_ #define PACKAGER_MEDIA_BASE_MUXER_H_
#include <memory> #include <memory>
#include <vector> #include <vector>
@ -105,4 +105,4 @@ class Muxer : public MediaHandler {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_MUXER_H_ #endif // PACKAGER_MEDIA_BASE_MUXER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_MUXER_OPTIONS_H_ #ifndef PACKAGER_MEDIA_BASE_MUXER_OPTIONS_H_
#define MEDIA_BASE_MUXER_OPTIONS_H_ #define PACKAGER_MEDIA_BASE_MUXER_OPTIONS_H_
#include <stdint.h> #include <stdint.h>
@ -46,4 +46,4 @@ struct MuxerOptions {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_MUXER_OPTIONS_H_ #endif // PACKAGER_MEDIA_BASE_MUXER_OPTIONS_H_

View File

@ -6,8 +6,8 @@
// //
// Muxer utility functions. // Muxer utility functions.
#ifndef MEDIA_BASE_MUXER_UTIL_H_ #ifndef PACKAGER_MEDIA_BASE_MUXER_UTIL_H_
#define MEDIA_BASE_MUXER_UTIL_H_ #define PACKAGER_MEDIA_BASE_MUXER_UTIL_H_
#include <stdint.h> #include <stdint.h>
@ -42,4 +42,4 @@ std::string GetSegmentName(const std::string& segment_template,
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_MUXER_UTIL_H_ #endif // PACKAGER_MEDIA_BASE_MUXER_UTIL_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_BASE_NETWORK_UTIL_H_ #ifndef PACKAGER_MEDIA_BASE_NETWORK_UTIL_H_
#define MEDIA_BASE_NETWORK_UTIL_H_ #define PACKAGER_MEDIA_BASE_NETWORK_UTIL_H_
#include <stdint.h> #include <stdint.h>
@ -17,4 +17,4 @@ uint64_t ntohllFromBuffer(const unsigned char* buf);
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_NETWORK_UTIL_H_ #endif // PACKAGER_MEDIA_BASE_NETWORK_UTIL_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_BASE_OFFSET_BYTE_QUEUE_H_ #ifndef PACKAGER_MEDIA_BASE_OFFSET_BYTE_QUEUE_H_
#define MEDIA_BASE_OFFSET_BYTE_QUEUE_H_ #define PACKAGER_MEDIA_BASE_OFFSET_BYTE_QUEUE_H_
#include <stdint.h> #include <stdint.h>
@ -69,4 +69,4 @@ class OffsetByteQueue {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_OFFSET_BYTE_QUEUE_H_ #endif // PACKAGER_MEDIA_BASE_OFFSET_BYTE_QUEUE_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_PLAYREADY_SOURCE_H_ #ifndef PACKAGER_MEDIA_BASE_PLAYREADY_SOURCE_H_
#define MEDIA_BASE_PLAYREADY_SOURCE_H_ #define PACKAGER_MEDIA_BASE_PLAYREADY_SOURCE_H_
#include <memory> #include <memory>
#include <string> #include <string>
@ -81,4 +81,4 @@ class PlayReadyKeySource : public KeySource {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_PLAYREADY_SOURCE_H_ #endif // PACKAGER_MEDIA_BASE_PLAYREADY_SOURCE_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_PRODUCER_CONSUMER_QUEUE_H_ #ifndef PACKAGER_MEDIA_BASE_PRODUCER_CONSUMER_QUEUE_H_
#define MEDIA_BASE_PRODUCER_CONSUMER_QUEUE_H_ #define PACKAGER_MEDIA_BASE_PRODUCER_CONSUMER_QUEUE_H_
#include <deque> #include <deque>
@ -317,4 +317,4 @@ void ProducerConsumerQueue<T>::SlideHeadOnCenter(size_t pos) {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_PRODUCER_CONSUMER_QUEUE_H_ #endif // PACKAGER_MEDIA_BASE_PRODUCER_CONSUMER_QUEUE_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_PSSH_H_ #ifndef PACKAGER_MEDIA_BASE_PSSH_H_
#define MEDIA_BASE_PSSH_H_ #define PACKAGER_MEDIA_BASE_PSSH_H_
#include <stdint.h> #include <stdint.h>
#include <vector> #include <vector>
@ -70,4 +70,4 @@ class ProtectionSystemSpecificInfo {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_PSSH_H_ #endif // PACKAGER_MEDIA_BASE_PSSH_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_REQUEST_SIGNER_H_ #ifndef PACKAGER_MEDIA_BASE_REQUEST_SIGNER_H_
#define MEDIA_BASE_REQUEST_SIGNER_H_ #define PACKAGER_MEDIA_BASE_REQUEST_SIGNER_H_
#include <memory> #include <memory>
#include <string> #include <string>
@ -91,4 +91,4 @@ class RsaRequestSigner : public RequestSigner {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_REQUEST_SIGNER_H_ #endif // PACKAGER_MEDIA_BASE_REQUEST_SIGNER_H_

View File

@ -7,8 +7,8 @@
// Declaration of classes representing RSA private and public keys used // Declaration of classes representing RSA private and public keys used
// for message signing, signature verification, encryption and decryption. // for message signing, signature verification, encryption and decryption.
#ifndef MEDIA_BASE_RSA_KEY_H_ #ifndef PACKAGER_MEDIA_BASE_RSA_KEY_H_
#define MEDIA_BASE_RSA_KEY_H_ #define PACKAGER_MEDIA_BASE_RSA_KEY_H_
#include <string> #include <string>
@ -81,4 +81,4 @@ class RsaPublicKey {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_RSA_KEY_H_ #endif // PACKAGER_MEDIA_BASE_RSA_KEY_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_STREAM_INFO_H_ #ifndef PACKAGER_MEDIA_BASE_STREAM_INFO_H_
#define MEDIA_BASE_STREAM_INFO_H_ #define PACKAGER_MEDIA_BASE_STREAM_INFO_H_
#include <memory> #include <memory>
#include <string> #include <string>
@ -137,4 +137,4 @@ class StreamInfo {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_STREAM_INFO_H_ #endif // PACKAGER_MEDIA_BASE_STREAM_INFO_H_

View File

@ -6,8 +6,8 @@
// //
// Fake, deterministic PRNG for OpenSSL to be used for unit testing. // Fake, deterministic PRNG for OpenSSL to be used for unit testing.
#ifndef MEDIA_BASE_FAKE_PRNG_H #ifndef PACKAGER_MEDIA_BASE_FAKE_PRNG_H
#define MEDIA_BASE_FAKE_PRNG_H #define PACKAGER_MEDIA_BASE_FAKE_PRNG_H
namespace shaka { namespace shaka {
namespace media { namespace media {
@ -24,4 +24,4 @@ void StopFakePrng();
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_FAKE_PRNG_H #endif // PACKAGER_MEDIA_BASE_FAKE_PRNG_H

View File

@ -6,8 +6,8 @@
// //
// RSA test data generated using fake_prng for purposes of testing. // RSA test data generated using fake_prng for purposes of testing.
#ifndef MEDIA_BASE_RSA_TEST_DATA_H_ #ifndef PACKAGER_MEDIA_BASE_RSA_TEST_DATA_H_
#define MEDIA_BASE_RSA_TEST_DATA_H_ #define PACKAGER_MEDIA_BASE_RSA_TEST_DATA_H_
#include <string> #include <string>
@ -47,4 +47,4 @@ class RsaTestData {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_RSA_TEST_DATA_H_ #endif // PACKAGER_MEDIA_BASE_RSA_TEST_DATA_H_

View File

@ -44,4 +44,4 @@ class TextSample {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_TEXT_SAMPLE_H_ #endif // PACKAGER_MEDIA_BASE_TEXT_SAMPLE_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_BASE_TEXT_TRACK_H_ #ifndef PACKAGER_MEDIA_BASE_TEXT_TRACK_H_
#define MEDIA_BASE_TEXT_TRACK_H_ #define PACKAGER_MEDIA_BASE_TEXT_TRACK_H_
#include <memory> #include <memory>
#include <string> #include <string>
@ -41,4 +41,4 @@ typedef base::Callback<std::unique_ptr<TextTrack>(TextKind kind,
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_TEXT_TRACK_H_ #endif // PACKAGER_MEDIA_BASE_TEXT_TRACK_H_

View File

@ -5,8 +5,8 @@
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_TIMESTAMP_H_ #ifndef PACKAGER_MEDIA_BASE_TIMESTAMP_H_
#define MEDIA_BASE_TIMESTAMP_H_ #define PACKAGER_MEDIA_BASE_TIMESTAMP_H_
#include <stdint.h> #include <stdint.h>
@ -21,4 +21,4 @@ const int64_t kInfiniteDuration = std::numeric_limits<int64_t>::max();
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_TIMESTAMP_H_ #endif // PACKAGER_MEDIA_BASE_TIMESTAMP_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_VIDEO_STREAM_INFO_H_ #ifndef PACKAGER_MEDIA_BASE_VIDEO_STREAM_INFO_H_
#define MEDIA_BASE_VIDEO_STREAM_INFO_H_ #define PACKAGER_MEDIA_BASE_VIDEO_STREAM_INFO_H_
#include "packager/media/base/stream_info.h" #include "packager/media/base/stream_info.h"
@ -123,4 +123,4 @@ class VideoStreamInfo : public StreamInfo {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_VIDEO_STREAM_INFO_H_ #endif // PACKAGER_MEDIA_BASE_VIDEO_STREAM_INFO_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_WIDEVINE_KEY_SOURCE_H_ #ifndef PACKAGER_MEDIA_BASE_WIDEVINE_KEY_SOURCE_H_
#define MEDIA_BASE_WIDEVINE_KEY_SOURCE_H_ #define PACKAGER_MEDIA_BASE_WIDEVINE_KEY_SOURCE_H_
#include <map> #include <map>
#include <memory> #include <memory>
@ -139,4 +139,4 @@ class WidevineKeySource : public KeySource {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_WIDEVINE_KEY_SOURCE_H_ #endif // PACKAGER_MEDIA_BASE_WIDEVINE_KEY_SOURCE_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_CODECS_AAC_AUDIO_SPECIFIC_CONFIG_H_ #ifndef PACKAGER_MEDIA_CODECS_AAC_AUDIO_SPECIFIC_CONFIG_H_
#define MEDIA_CODECS_AAC_AUDIO_SPECIFIC_CONFIG_H_ #define PACKAGER_MEDIA_CODECS_AAC_AUDIO_SPECIFIC_CONFIG_H_
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
@ -136,4 +136,4 @@ class AACAudioSpecificConfig {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_AAC_AUDIO_SPECIFIC_CONFIG_H_ #endif // PACKAGER_MEDIA_CODECS_AAC_AUDIO_SPECIFIC_CONFIG_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_CODECS_AVC_DECODER_CONFIGURATION_RECORD_H_ #ifndef PACKAGER_MEDIA_CODECS_AVC_DECODER_CONFIGURATION_RECORD_H_
#define MEDIA_CODECS_AVC_DECODER_CONFIGURATION_RECORD_H_ #define PACKAGER_MEDIA_CODECS_AVC_DECODER_CONFIGURATION_RECORD_H_
#include <stdint.h> #include <stdint.h>
#include <string> #include <string>
@ -63,4 +63,4 @@ class AVCDecoderConfigurationRecord : public DecoderConfigurationRecord {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_AVC_DECODER_CONFIGURATION_RECORD_H_ #endif // PACKAGER_MEDIA_CODECS_AVC_DECODER_CONFIGURATION_RECORD_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_CODECS_DECODER_CONFIGURATION_RECORD_H_ #ifndef PACKAGER_MEDIA_CODECS_DECODER_CONFIGURATION_RECORD_H_
#define MEDIA_CODECS_DECODER_CONFIGURATION_RECORD_H_ #define PACKAGER_MEDIA_CODECS_DECODER_CONFIGURATION_RECORD_H_
#include <vector> #include <vector>
@ -77,4 +77,4 @@ class DecoderConfigurationRecord {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_DECODER_CONFIGURATION_RECORD_H_ #endif // PACKAGER_MEDIA_CODECS_DECODER_CONFIGURATION_RECORD_H_

View File

@ -6,8 +6,8 @@
// //
// Enhanced AC3 audio utility functions. // Enhanced AC3 audio utility functions.
#ifndef MEDIA_CODECS_EC3_AUDIO_UTIL_H_ #ifndef PACKAGER_MEDIA_CODECS_EC3_AUDIO_UTIL_H_
#define MEDIA_CODECS_EC3_AUDIO_UTIL_H_ #define PACKAGER_MEDIA_CODECS_EC3_AUDIO_UTIL_H_
#include <stdint.h> #include <stdint.h>
#include <vector> #include <vector>
@ -24,4 +24,4 @@ bool CalculateEC3ChannelMap(const std::vector<uint8_t>& ec3_data,
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_EC3_AUDIO_UTIL_H_ #endif // PACKAGER_MEDIA_CODECS_EC3_AUDIO_UTIL_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_CODECS_ES_DESCRIPTOR_H_ #ifndef PACKAGER_MEDIA_CODECS_ES_DESCRIPTOR_H_
#define MEDIA_CODECS_ES_DESCRIPTOR_H_ #define PACKAGER_MEDIA_CODECS_ES_DESCRIPTOR_H_
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
@ -91,4 +91,4 @@ class ESDescriptor {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_ES_DESCRIPTOR_H_ #endif // PACKAGER_MEDIA_CODECS_ES_DESCRIPTOR_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_CODECS_H264_BYTE_TO_UNIT_STREAM_CONVERTER_H_ #ifndef PACKAGER_MEDIA_CODECS_H264_BYTE_TO_UNIT_STREAM_CONVERTER_H_
#define MEDIA_CODECS_H264_BYTE_TO_UNIT_STREAM_CONVERTER_H_ #define PACKAGER_MEDIA_CODECS_H264_BYTE_TO_UNIT_STREAM_CONVERTER_H_
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
@ -49,4 +49,4 @@ class H264ByteToUnitStreamConverter : public H26xByteToUnitStreamConverter {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_H264_BYTE_TO_UNIT_STREAM_CONVERTER_H_ #endif // PACKAGER_MEDIA_CODECS_H264_BYTE_TO_UNIT_STREAM_CONVERTER_H_

View File

@ -4,8 +4,8 @@
// //
// This file contains an implementation of an H264 Annex-B video stream parser. // This file contains an implementation of an H264 Annex-B video stream parser.
#ifndef MEDIA_CODECS_H264_PARSER_H_ #ifndef PACKAGER_MEDIA_CODECS_H264_PARSER_H_
#define MEDIA_CODECS_H264_PARSER_H_ #define PACKAGER_MEDIA_CODECS_H264_PARSER_H_
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
@ -339,4 +339,4 @@ class H264Parser {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_H264_PARSER_H_ #endif // PACKAGER_MEDIA_CODECS_H264_PARSER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_CODECS_H265_BYTE_TO_UNIT_STREAM_CONVERTER_H_ #ifndef PACKAGER_MEDIA_CODECS_H265_BYTE_TO_UNIT_STREAM_CONVERTER_H_
#define MEDIA_CODECS_H265_BYTE_TO_UNIT_STREAM_CONVERTER_H_ #define PACKAGER_MEDIA_CODECS_H265_BYTE_TO_UNIT_STREAM_CONVERTER_H_
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
@ -50,4 +50,4 @@ class H265ByteToUnitStreamConverter : public H26xByteToUnitStreamConverter {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_H265_BYTE_TO_UNIT_STREAM_CONVERTER_H_ #endif // PACKAGER_MEDIA_CODECS_H265_BYTE_TO_UNIT_STREAM_CONVERTER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_CODECS_H265_PARSER_H_ #ifndef PACKAGER_MEDIA_CODECS_H265_PARSER_H_
#define MEDIA_CODECS_H265_PARSER_H_ #define PACKAGER_MEDIA_CODECS_H265_PARSER_H_
#include <map> #include <map>
#include <memory> #include <memory>
@ -358,4 +358,4 @@ class H265Parser {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_H265_PARSER_H_ #endif // PACKAGER_MEDIA_CODECS_H265_PARSER_H_

View File

@ -4,8 +4,8 @@
// //
// This file contains an implementation of an H264 Annex-B video stream parser. // This file contains an implementation of an H264 Annex-B video stream parser.
#ifndef MEDIA_CODECS_H264_BIT_READER_H_ #ifndef PACKAGER_MEDIA_CODECS_H264_BIT_READER_H_
#define MEDIA_CODECS_H264_BIT_READER_H_ #define PACKAGER_MEDIA_CODECS_H264_BIT_READER_H_
#include <stdint.h> #include <stdint.h>
#include <sys/types.h> #include <sys/types.h>
@ -98,4 +98,4 @@ class H26xBitReader {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_H264_BIT_READER_H_ #endif // PACKAGER_MEDIA_CODECS_H264_BIT_READER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_CODECS_H26X_BYTE_TO_UNIT_STREAM_CONVERTER_H_ #ifndef PACKAGER_MEDIA_CODECS_H26X_BYTE_TO_UNIT_STREAM_CONVERTER_H_
#define MEDIA_CODECS_H26X_BYTE_TO_UNIT_STREAM_CONVERTER_H_ #define PACKAGER_MEDIA_CODECS_H26X_BYTE_TO_UNIT_STREAM_CONVERTER_H_
#include <stdint.h> #include <stdint.h>
@ -84,4 +84,4 @@ class H26xByteToUnitStreamConverter {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_H26x_BYTE_TO_UNIT_STREAM_CONVERTER_H_ #endif // PACKAGER_MEDIA_CODECS_H26x_BYTE_TO_UNIT_STREAM_CONVERTER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_CODECS_HEVC_DECODER_CONFIGURATION_RECORD_H_ #ifndef PACKAGER_MEDIA_CODECS_HEVC_DECODER_CONFIGURATION_RECORD_H_
#define MEDIA_CODECS_HEVC_DECODER_CONFIGURATION_RECORD_H_ #define PACKAGER_MEDIA_CODECS_HEVC_DECODER_CONFIGURATION_RECORD_H_
#include <stdint.h> #include <stdint.h>
#include <string> #include <string>
@ -45,4 +45,4 @@ class HEVCDecoderConfigurationRecord : public DecoderConfigurationRecord {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_HEVC_DECODER_CONFIGURATION_RECORD_H_ #endif // PACKAGER_MEDIA_CODECS_HEVC_DECODER_CONFIGURATION_RECORD_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_CODECS_NALU_READER_H_ #ifndef PACKAGER_MEDIA_CODECS_NALU_READER_H_
#define MEDIA_CODECS_NALU_READER_H_ #define PACKAGER_MEDIA_CODECS_NALU_READER_H_
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
@ -254,4 +254,4 @@ class NaluReader {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_NALU_READER_H_ #endif // PACKAGER_MEDIA_CODECS_NALU_READER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_CODECS_VIDEO_SLICE_HEADER_PARSER_H_ #ifndef PACKAGER_MEDIA_CODECS_VIDEO_SLICE_HEADER_PARSER_H_
#define MEDIA_CODECS_VIDEO_SLICE_HEADER_PARSER_H_ #define PACKAGER_MEDIA_CODECS_VIDEO_SLICE_HEADER_PARSER_H_
#include <vector> #include <vector>
@ -70,5 +70,5 @@ class H265VideoSliceHeaderParser : public VideoSliceHeaderParser {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_VIDEO_SLICE_HEADER_PARSER_H_ #endif // PACKAGER_MEDIA_CODECS_VIDEO_SLICE_HEADER_PARSER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_CODECS_VP8_PARSER_H_ #ifndef PACKAGER_MEDIA_CODECS_VP8_PARSER_H_
#define MEDIA_CODECS_VP8_PARSER_H_ #define PACKAGER_MEDIA_CODECS_VP8_PARSER_H_
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
@ -52,4 +52,4 @@ class VP8Parser : public VPxParser {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_VP8_PARSER_H_ #endif // PACKAGER_MEDIA_CODECS_VP8_PARSER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_CODECS_VP9_PARSER_H_ #ifndef PACKAGER_MEDIA_CODECS_VP9_PARSER_H_
#define MEDIA_CODECS_VP9_PARSER_H_ #define PACKAGER_MEDIA_CODECS_VP9_PARSER_H_
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
@ -51,4 +51,4 @@ class VP9Parser : public VPxParser {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_VP9_PARSER_H_ #endif // PACKAGER_MEDIA_CODECS_VP9_PARSER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_CODECS_VP_CODEC_CONFIGURATION_RECORD_H_ #ifndef PACKAGER_MEDIA_CODECS_VP_CODEC_CONFIGURATION_RECORD_H_
#define MEDIA_CODECS_VP_CODEC_CONFIGURATION_RECORD_H_ #define PACKAGER_MEDIA_CODECS_VP_CODEC_CONFIGURATION_RECORD_H_
#include <stdint.h> #include <stdint.h>
#include <string> #include <string>
@ -290,4 +290,4 @@ class VPCodecConfigurationRecord {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_VP_CODEC_CONFIGURATION_RECORD_H_ #endif // PACKAGER_MEDIA_CODECS_VP_CODEC_CONFIGURATION_RECORD_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_CODECS_VPX_PARSER_H_ #ifndef PACKAGER_MEDIA_CODECS_VPX_PARSER_H_
#define MEDIA_CODECS_VPX_PARSER_H_ #define PACKAGER_MEDIA_CODECS_VPX_PARSER_H_
#include <stdint.h> #include <stdint.h>
#include <stdlib.h> #include <stdlib.h>
@ -57,4 +57,4 @@ class VPxParser {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_CODECS_VPX_PARSER_H_ #endif // PACKAGER_MEDIA_CODECS_VPX_PARSER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_BASE_DEMUXER_H_ #ifndef PACKAGER_MEDIA_BASE_DEMUXER_H_
#define MEDIA_BASE_DEMUXER_H_ #define PACKAGER_MEDIA_BASE_DEMUXER_H_
#include <deque> #include <deque>
#include <memory> #include <memory>
@ -147,4 +147,4 @@ class Demuxer : public OriginHandler {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_BASE_DEMUXER_H_ #endif // PACKAGER_MEDIA_BASE_DEMUXER_H_

View File

@ -6,8 +6,8 @@
// //
// Implementation of MuxerListener that deals with MpdNotifier. // Implementation of MuxerListener that deals with MpdNotifier.
#ifndef MEDIA_EVENT_MPD_NOTIFY_MUXER_LISTENER_H_ #ifndef PACKAGER_MEDIA_EVENT_MPD_NOTIFY_MUXER_LISTENER_H_
#define MEDIA_EVENT_MPD_NOTIFY_MUXER_LISTENER_H_ #define PACKAGER_MEDIA_EVENT_MPD_NOTIFY_MUXER_LISTENER_H_
#include <list> #include <list>
#include <memory> #include <memory>
@ -83,4 +83,4 @@ class MpdNotifyMuxerListener : public MuxerListener {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_EVENT_MPD_NOTIFY_MUXER_LISTENER_H_ #endif // PACKAGER_MEDIA_EVENT_MPD_NOTIFY_MUXER_LISTENER_H_

View File

@ -6,8 +6,8 @@
// //
// Event handler for events fired by Muxer. // Event handler for events fired by Muxer.
#ifndef MEDIA_EVENT_MUXER_LISTENER_H_ #ifndef PACKAGER_MEDIA_EVENT_MUXER_LISTENER_H_
#define MEDIA_EVENT_MUXER_LISTENER_H_ #define PACKAGER_MEDIA_EVENT_MUXER_LISTENER_H_
#include <stdint.h> #include <stdint.h>
@ -134,4 +134,4 @@ class MuxerListener {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_EVENT_MUXER_LISTENER_H_ #endif // PACKAGER_MEDIA_EVENT_MUXER_LISTENER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_EVENT_MUXER_LISTENER_INTERNAL_H_ #ifndef PACKAGER_MEDIA_EVENT_MUXER_LISTENER_INTERNAL_H_
#define MEDIA_EVENT_MUXER_LISTENER_INTERNAL_H_ #define PACKAGER_MEDIA_EVENT_MUXER_LISTENER_INTERNAL_H_
#include <stdint.h> #include <stdint.h>
@ -59,4 +59,4 @@ std::string CreateUUIDString(const std::vector<uint8_t>& data);
} // namespace internal } // namespace internal
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_EVENT_MUXER_LISTENER_INTERNAL_H_ #endif // PACKAGER_MEDIA_EVENT_MUXER_LISTENER_INTERNAL_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_EVENT_MUXER_LISTENER_TEST_HELPER_H_ #ifndef PACKAGER_MEDIA_EVENT_MUXER_LISTENER_TEST_HELPER_H_
#define MEDIA_EVENT_MUXER_LISTENER_TEST_HELPER_H_ #define PACKAGER_MEDIA_EVENT_MUXER_LISTENER_TEST_HELPER_H_
#include <stdint.h> #include <stdint.h>
#include <vector> #include <vector>
@ -104,4 +104,4 @@ bool MediaInfoEqual(const MediaInfo& expect, const MediaInfo& actual);
} // namespace shaka } // namespace shaka
#endif // MEDIA_EVENT_MUXER_LISTENER_TEST_HELPER_H_ #endif // PACKAGER_MEDIA_EVENT_MUXER_LISTENER_TEST_HELPER_H_

View File

@ -6,8 +6,8 @@
// //
// Event handler for progress updates. // Event handler for progress updates.
#ifndef MEDIA_EVENT_PROGRESS_LISTENER_H_ #ifndef PACKAGER_MEDIA_EVENT_PROGRESS_LISTENER_H_
#define MEDIA_EVENT_PROGRESS_LISTENER_H_ #define PACKAGER_MEDIA_EVENT_PROGRESS_LISTENER_H_
#include <stdint.h> #include <stdint.h>
@ -35,4 +35,4 @@ class ProgressListener {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_EVENT_PROGRESS_LISTENER_H_ #endif // PACKAGER_MEDIA_EVENT_PROGRESS_LISTENER_H_

View File

@ -8,8 +8,8 @@
// protobuf and dumps it to a file. // protobuf and dumps it to a file.
// This is specifically for VOD. // This is specifically for VOD.
#ifndef MEDIA_EVENT_VOD_MEDIA_INFO_DUMP_MUXER_LISTENER_H_ #ifndef PACKAGER_MEDIA_EVENT_VOD_MEDIA_INFO_DUMP_MUXER_LISTENER_H_
#define MEDIA_EVENT_VOD_MEDIA_INFO_DUMP_MUXER_LISTENER_H_ #define PACKAGER_MEDIA_EVENT_VOD_MEDIA_INFO_DUMP_MUXER_LISTENER_H_
#include <memory> #include <memory>
#include <string> #include <string>
@ -77,4 +77,4 @@ class VodMediaInfoDumpMuxerListener : public MuxerListener {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_EVENT_VOD_MEDIA_INFO_DUMP_MUXER_LISTENER_H_ #endif // PACKAGER_MEDIA_EVENT_VOD_MEDIA_INFO_DUMP_MUXER_LISTENER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_MP2T_ADTS_HEADER_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP2T_ADTS_HEADER_H_
#define MEDIA_FORMATS_MP2T_ADTS_HEADER_H_ #define PACKAGER_MEDIA_FORMATS_MP2T_ADTS_HEADER_H_
#include <stdint.h> #include <stdint.h>
@ -53,4 +53,4 @@ class AdtsHeader : public AudioHeader {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP2T_ADTS_HEADER_H_ #endif // PACKAGER_MEDIA_FORMATS_MP2T_ADTS_HEADER_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_MP2T_ES_PARSER_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H_
#define MEDIA_FORMATS_MP2T_ES_PARSER_H_ #define PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H_
#include <stdint.h> #include <stdint.h>

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
#define MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_ #define PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H264_H_
#include <stdint.h> #include <stdint.h>
#include <memory> #include <memory>

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_MP2T_ES_PARSER_H265_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H265_H_
#define MEDIA_FORMATS_MP2T_ES_PARSER_H265_H_ #define PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H265_H_
#include <stdint.h> #include <stdint.h>
@ -56,4 +56,4 @@ class EsParserH265 : public EsParserH26x {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP2T_ES_PARSER_H265_H_ #endif // PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H265_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_MP2T_ES_PARSER_H26x_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H26x_H_
#define MEDIA_FORMATS_MP2T_ES_PARSER_H26x_H_ #define PACKAGER_MEDIA_FORMATS_MP2T_ES_PARSER_H26x_H_
#include <stdint.h> #include <stdint.h>

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_MP2T_MP2T_COMMON_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP2T_MP2T_COMMON_H_
#define MEDIA_FORMATS_MP2T_MP2T_COMMON_H_ #define PACKAGER_MEDIA_FORMATS_MP2T_MP2T_COMMON_H_
#define LOG_LEVEL_TS 5 #define LOG_LEVEL_TS 5
#define LOG_LEVEL_PES 4 #define LOG_LEVEL_PES 4

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_MP2T_MP2T_MEDIA_PARSER_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP2T_MP2T_MEDIA_PARSER_H_
#define MEDIA_FORMATS_MP2T_MP2T_MEDIA_PARSER_H_ #define PACKAGER_MEDIA_FORMATS_MP2T_MP2T_MEDIA_PARSER_H_
#include <deque> #include <deque>
#include <map> #include <map>

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_MP2T_TS_PACKET_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP2T_TS_PACKET_H_
#define MEDIA_FORMATS_MP2T_TS_PACKET_H_ #define PACKAGER_MEDIA_FORMATS_MP2T_TS_PACKET_H_
#include <stdint.h> #include <stdint.h>

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_MP2T_TS_SECTION_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_H_
#define MEDIA_FORMATS_MP2T_TS_SECTION_H_ #define PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_H_
namespace shaka { namespace shaka {
namespace media { namespace media {

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_MP2T_TS_SECTION_PAT_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PAT_H_
#define MEDIA_FORMATS_MP2T_TS_SECTION_PAT_H_ #define PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PAT_H_
#include "packager/base/callback.h" #include "packager/base/callback.h"
#include "packager/base/compiler_specific.h" #include "packager/base/compiler_specific.h"

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_MP2T_TS_SECTION_PES_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PES_H_
#define MEDIA_FORMATS_MP2T_TS_SECTION_PES_H_ #define PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PES_H_
#include <stdint.h> #include <stdint.h>
#include <memory> #include <memory>

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_MP2T_TS_SECTION_PMT_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PMT_H_
#define MEDIA_FORMATS_MP2T_TS_SECTION_PMT_H_ #define PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PMT_H_
#include "packager/base/callback.h" #include "packager/base/callback.h"
#include "packager/base/compiler_specific.h" #include "packager/base/compiler_specific.h"

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_MP2T_TS_SECTION_PSI_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PSI_H_
#define MEDIA_FORMATS_MP2T_TS_SECTION_PSI_H_ #define PACKAGER_MEDIA_FORMATS_MP2T_TS_SECTION_PSI_H_
#include "packager/base/compiler_specific.h" #include "packager/base/compiler_specific.h"
#include "packager/media/base/byte_queue.h" #include "packager/media/base/byte_queue.h"

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_MP4_BOX_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_BOX_H_
#define MEDIA_FORMATS_MP4_BOX_H_ #define PACKAGER_MEDIA_FORMATS_MP4_BOX_H_
#include <stdint.h> #include <stdint.h>
@ -101,4 +101,4 @@ struct FullBox : Box {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_BOX_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_BOX_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_MP4_BOX_BUFFER_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_BOX_BUFFER_H_
#define MEDIA_FORMATS_MP4_BOX_BUFFER_H_ #define PACKAGER_MEDIA_FORMATS_MP4_BOX_BUFFER_H_
#include <string> #include <string>
@ -210,4 +210,4 @@ class BoxBuffer {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_BOX_BUFFER_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_BOX_BUFFER_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_MP4_BOX_DEFINITIONS_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_BOX_DEFINITIONS_H_
#define MEDIA_FORMATS_MP4_BOX_DEFINITIONS_H_ #define PACKAGER_MEDIA_FORMATS_MP4_BOX_DEFINITIONS_H_
#include <vector> #include <vector>
@ -836,4 +836,4 @@ struct VTTCueBox : Box {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_BOX_DEFINITIONS_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_BOX_DEFINITIONS_H_

View File

@ -6,8 +6,8 @@
// //
// Overloads operator== for mp4 boxes, mainly used for testing. // Overloads operator== for mp4 boxes, mainly used for testing.
#ifndef MEDIA_FORMATS_MP4_BOX_DEFINITIONS_COMPARISON_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_BOX_DEFINITIONS_COMPARISON_H_
#define MEDIA_FORMATS_MP4_BOX_DEFINITIONS_COMPARISON_H_ #define PACKAGER_MEDIA_FORMATS_MP4_BOX_DEFINITIONS_COMPARISON_H_
#include "packager/media/formats/mp4/box_definitions.h" #include "packager/media/formats/mp4/box_definitions.h"
@ -499,4 +499,4 @@ inline bool operator==(const VTTCueBox& lhs,
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_BOX_DEFINITIONS_COMPARISON_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_BOX_DEFINITIONS_COMPARISON_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_MP4_BOX_READER_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_BOX_READER_H_
#define MEDIA_FORMATS_MP4_BOX_READER_H_ #define PACKAGER_MEDIA_FORMATS_MP4_BOX_READER_H_
#include <map> #include <map>
#include <memory> #include <memory>
@ -177,4 +177,4 @@ bool BoxReader::ReadAllChildren(std::vector<T>* children) {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_BOX_READER_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_BOX_READER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_MP4_CHUNK_INFO_ITERATOR_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_CHUNK_INFO_ITERATOR_H_
#define MEDIA_FORMATS_MP4_CHUNK_INFO_ITERATOR_H_ #define PACKAGER_MEDIA_FORMATS_MP4_CHUNK_INFO_ITERATOR_H_
#include <stdint.h> #include <stdint.h>
@ -72,4 +72,4 @@ class ChunkInfoIterator {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_CHUNK_INFO_ITERATOR_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_CHUNK_INFO_ITERATOR_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_MP4_COMPOSITION_OFFSET_ITERATOR_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_COMPOSITION_OFFSET_ITERATOR_H_
#define MEDIA_FORMATS_MP4_COMPOSITION_OFFSET_ITERATOR_H_ #define PACKAGER_MEDIA_FORMATS_MP4_COMPOSITION_OFFSET_ITERATOR_H_
#include <stdint.h> #include <stdint.h>
@ -57,4 +57,4 @@ class CompositionOffsetIterator {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_COMPOSITION_OFFSET_ITERATOR_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_COMPOSITION_OFFSET_ITERATOR_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_MP4_DECODING_TIME_ITERATOR_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_DECODING_TIME_ITERATOR_H_
#define MEDIA_FORMATS_MP4_DECODING_TIME_ITERATOR_H_ #define PACKAGER_MEDIA_FORMATS_MP4_DECODING_TIME_ITERATOR_H_
#include <stdint.h> #include <stdint.h>
@ -57,4 +57,4 @@ class DecodingTimeIterator {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_DECODING_TIME_ITERATOR_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_DECODING_TIME_ITERATOR_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_MP4_FRAGMENTER_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_FRAGMENTER_H_
#define MEDIA_FORMATS_MP4_FRAGMENTER_H_ #define PACKAGER_MEDIA_FORMATS_MP4_FRAGMENTER_H_
#include <memory> #include <memory>
#include <vector> #include <vector>
@ -123,4 +123,4 @@ bool Fragmenter::OptimizeSampleEntries(std::vector<T>* entries,
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_FRAGMENTER_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_FRAGMENTER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_MP4_MP4_MEDIA_PARSER_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_MP4_MEDIA_PARSER_H_
#define MEDIA_FORMATS_MP4_MP4_MEDIA_PARSER_H_ #define PACKAGER_MEDIA_FORMATS_MP4_MP4_MEDIA_PARSER_H_
#include <stdint.h> #include <stdint.h>
@ -108,4 +108,4 @@ class MP4MediaParser : public MediaParser {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_MP4_MEDIA_PARSER_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_MP4_MEDIA_PARSER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_MP4_MP4_MUXER_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_MP4_MUXER_H_
#define MEDIA_FORMATS_MP4_MP4_MUXER_H_ #define PACKAGER_MEDIA_FORMATS_MP4_MP4_MUXER_H_
#include <vector> #include <vector>
@ -79,4 +79,4 @@ class MP4Muxer : public Muxer {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_MP4_MUXER_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_MP4_MUXER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_MP4_MULTI_SEGMENT_SEGMENTER_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_MULTI_SEGMENT_SEGMENTER_H_
#define MEDIA_FORMATS_MP4_MULTI_SEGMENT_SEGMENTER_H_ #define PACKAGER_MEDIA_FORMATS_MP4_MULTI_SEGMENT_SEGMENTER_H_
#include "packager/media/formats/mp4/segmenter.h" #include "packager/media/formats/mp4/segmenter.h"
@ -61,4 +61,4 @@ class MultiSegmentSegmenter : public Segmenter {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_MULTI_SEGMENT_SEGMENTER_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_MULTI_SEGMENT_SEGMENTER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_MP4_SEGMENTER_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_SEGMENTER_H_
#define MEDIA_FORMATS_MP4_SEGMENTER_H_ #define PACKAGER_MEDIA_FORMATS_MP4_SEGMENTER_H_
#include <map> #include <map>
#include <memory> #include <memory>
@ -150,4 +150,4 @@ class Segmenter {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_SEGMENTER_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_SEGMENTER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_MP4_SINGLE_SEGMENT_SEGMENTER_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_SINGLE_SEGMENT_SEGMENTER_H_
#define MEDIA_FORMATS_MP4_SINGLE_SEGMENT_SEGMENTER_H_ #define PACKAGER_MEDIA_FORMATS_MP4_SINGLE_SEGMENT_SEGMENTER_H_
#include "packager/file/file_closer.h" #include "packager/file/file_closer.h"
#include "packager/media/event/muxer_listener.h" #include "packager/media/event/muxer_listener.h"
@ -57,4 +57,4 @@ class SingleSegmentSegmenter : public Segmenter {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_SINGLE_SEGMENT_SEGMENTER_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_SINGLE_SEGMENT_SEGMENTER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_MP4_SYNC_SAMPLE_ITERATOR_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_SYNC_SAMPLE_ITERATOR_H_
#define MEDIA_FORMATS_MP4_SYNC_SAMPLE_ITERATOR_H_ #define PACKAGER_MEDIA_FORMATS_MP4_SYNC_SAMPLE_ITERATOR_H_
#include <stdint.h> #include <stdint.h>
@ -49,4 +49,4 @@ class SyncSampleIterator {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_SYNC_SAMPLE_ITERATOR_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_SYNC_SAMPLE_ITERATOR_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_MP4_TRACK_RUN_ITERATOR_H_ #ifndef PACKAGER_MEDIA_FORMATS_MP4_TRACK_RUN_ITERATOR_H_
#define MEDIA_FORMATS_MP4_TRACK_RUN_ITERATOR_H_ #define PACKAGER_MEDIA_FORMATS_MP4_TRACK_RUN_ITERATOR_H_
#include <memory> #include <memory>
#include <vector> #include <vector>
@ -124,4 +124,4 @@ class TrackRunIterator {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_MP4_TRACK_RUN_ITERATOR_H_ #endif // PACKAGER_MEDIA_FORMATS_MP4_TRACK_RUN_ITERATOR_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_ #ifndef PACKAGER_MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_
#define MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_ #define PACKAGER_MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_
#include <stdint.h> #include <stdint.h>
#include <memory> #include <memory>
@ -86,4 +86,4 @@ class ClusterBuilder {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_ #endif // PACKAGER_MEDIA_FORMATS_WEBM_CLUSTER_BUILDER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_WEBM_ENCRYPTOR_H_ #ifndef PACKAGER_MEDIA_FORMATS_WEBM_ENCRYPTOR_H_
#define MEDIA_FORMATS_WEBM_ENCRYPTOR_H_ #define PACKAGER_MEDIA_FORMATS_WEBM_ENCRYPTOR_H_
#include <vector> #include <vector>
@ -32,4 +32,4 @@ void UpdateFrameForEncryption(MediaSample* sample);
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_WEBM_ENCRYPTOR_H_ #endif // PACKAGER_MEDIA_FORMATS_WEBM_ENCRYPTOR_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_WEBM_MKV_WRITER_H_ #ifndef PACKAGER_MEDIA_FORMATS_WEBM_MKV_WRITER_H_
#define MEDIA_FORMATS_WEBM_MKV_WRITER_H_ #define PACKAGER_MEDIA_FORMATS_WEBM_MKV_WRITER_H_
#include <memory> #include <memory>
#include <string> #include <string>
@ -72,4 +72,4 @@ class MkvWriter : public mkvmuxer::IMkvWriter {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_WEBM_MKV_WRITER_H_ #endif // PACKAGER_MEDIA_FORMATS_WEBM_MKV_WRITER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_WEBM_MULTI_SEGMENT_SEGMENTER_H_ #ifndef PACKAGER_MEDIA_FORMATS_WEBM_MULTI_SEGMENT_SEGMENTER_H_
#define MEDIA_FORMATS_WEBM_MULTI_SEGMENT_SEGMENTER_H_ #define PACKAGER_MEDIA_FORMATS_WEBM_MULTI_SEGMENT_SEGMENTER_H_
#include <memory> #include <memory>
#include "packager/media/formats/webm/mkv_writer.h" #include "packager/media/formats/webm/mkv_writer.h"
@ -55,4 +55,4 @@ class MultiSegmentSegmenter : public Segmenter {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_WEBM_MULTI_SEGMENT_SEGMENTER_H_ #endif // PACKAGER_MEDIA_FORMATS_WEBM_MULTI_SEGMENT_SEGMENTER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_WEBM_SEEK_HEAD_H_ #ifndef PACKAGER_MEDIA_FORMATS_WEBM_SEEK_HEAD_H_
#define MEDIA_FORMATS_WEBM_SEEK_HEAD_H_ #define PACKAGER_MEDIA_FORMATS_WEBM_SEEK_HEAD_H_
#include <stdint.h> #include <stdint.h>
#include <vector> #include <vector>
@ -62,4 +62,4 @@ class SeekHead {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_WEBM_SEEK_HEAD_H_ #endif // PACKAGER_MEDIA_FORMATS_WEBM_SEEK_HEAD_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_WEBM_SEGMENTER_H_ #ifndef PACKAGER_MEDIA_FORMATS_WEBM_SEGMENTER_H_
#define MEDIA_FORMATS_WEBM_SEGMENTER_H_ #define PACKAGER_MEDIA_FORMATS_WEBM_SEGMENTER_H_
#include <memory> #include <memory>
@ -163,4 +163,4 @@ class Segmenter {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_WEBM_SEGMENTER_H_ #endif // PACKAGER_MEDIA_FORMATS_WEBM_SEGMENTER_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_WEBM_SEGMENTER_TEST_UTILS_H_ #ifndef PACKAGER_MEDIA_FORMATS_WEBM_SEGMENTER_TEST_UTILS_H_
#define MEDIA_FORMATS_WEBM_SEGMENTER_TEST_UTILS_H_ #define PACKAGER_MEDIA_FORMATS_WEBM_SEGMENTER_TEST_UTILS_H_
#include <gtest/gtest.h> #include <gtest/gtest.h>
@ -114,4 +114,4 @@ class SegmentTestBase : public ::testing::Test {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_WEBM_SEGMENTER_TEST_UTILS_H_ #endif // PACKAGER_MEDIA_FORMATS_WEBM_SEGMENTER_TEST_UTILS_H_

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at // license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd // https://developers.google.com/open-source/licenses/bsd
#ifndef MEDIA_FORMATS_WEBM_SINGLE_SEGMENT_SEGMENTER_H_ #ifndef PACKAGER_MEDIA_FORMATS_WEBM_SINGLE_SEGMENT_SEGMENTER_H_
#define MEDIA_FORMATS_WEBM_SINGLE_SEGMENT_SEGMENTER_H_ #define PACKAGER_MEDIA_FORMATS_WEBM_SINGLE_SEGMENT_SEGMENTER_H_
#include "packager/media/formats/webm/segmenter.h" #include "packager/media/formats/webm/segmenter.h"
@ -68,4 +68,4 @@ class SingleSegmentSegmenter : public Segmenter {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_WEBM_SINGLE_SEGMENT_SEGMENTER_H_ #endif // PACKAGER_MEDIA_FORMATS_WEBM_SINGLE_SEGMENT_SEGMENTER_H_

View File

@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be // Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. // found in the LICENSE file.
#ifndef MEDIA_FORMATS_WEBM_TRACKS_BUILDER_H_ #ifndef PACKAGER_MEDIA_FORMATS_WEBM_TRACKS_BUILDER_H_
#define MEDIA_FORMATS_WEBM_TRACKS_BUILDER_H_ #define PACKAGER_MEDIA_FORMATS_WEBM_TRACKS_BUILDER_H_
#include <stdint.h> #include <stdint.h>
@ -116,4 +116,4 @@ class TracksBuilder {
} // namespace media } // namespace media
} // namespace shaka } // namespace shaka
#endif // MEDIA_FORMATS_WEBM_TRACKS_BUILDER_H_ #endif // PACKAGER_MEDIA_FORMATS_WEBM_TRACKS_BUILDER_H_

Some files were not shown because too many files have changed in this diff Show More