style: Use angle-brackets for all internal headers (#1271)
This feeds into efforts to create a working install target. The order of headers is still funky, and was "fixed" by clang-format, but in a way that doesn't exactly align with the style guide. Further cleanup of header order is coming in a follow-up PR.
This commit is contained in:
parent
1337e86597
commit
4e310f03bf
|
@ -53,7 +53,7 @@ catch those, use the `HEAP_PROFILE_ALLOCATION_INTERVAL` environment variable.
|
||||||
|
|
||||||
To programmatically generate a heap profile before exit, use code like:
|
To programmatically generate a heap profile before exit, use code like:
|
||||||
|
|
||||||
#include "packager/third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h"
|
#include <packager/third_party/tcmalloc/chromium/src/gperftools/heap-profiler.h>
|
||||||
|
|
||||||
// "foobar" will be included in the message printed to the console
|
// "foobar" will be included in the message printed to the console
|
||||||
HeapProfilerDump("foobar");
|
HeapProfilerDump("foobar");
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
// Defines cuepoint generator flags.
|
// Defines cuepoint generator flags.
|
||||||
|
|
||||||
#include "packager/app/ad_cue_generator_flags.h"
|
#include <packager/app/ad_cue_generator_flags.h>
|
||||||
|
|
||||||
ABSL_FLAG(std::string,
|
ABSL_FLAG(std::string,
|
||||||
ad_cues,
|
ad_cues,
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
#include "packager/app/crypto_flags.h"
|
|
||||||
#include <absl/flags/flag.h>
|
#include <absl/flags/flag.h>
|
||||||
|
#include <packager/app/crypto_flags.h>
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/app/hls_flags.h"
|
#include <packager/app/hls_flags.h>
|
||||||
|
|
||||||
ABSL_FLAG(std::string,
|
ABSL_FLAG(std::string,
|
||||||
hls_master_playlist_output,
|
hls_master_playlist_output,
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/app/job_manager.h"
|
#include <packager/app/job_manager.h>
|
||||||
|
|
||||||
#include <set>
|
#include <set>
|
||||||
|
|
||||||
#include "packager/media/chunking/sync_point_queue.h"
|
#include <packager/media/chunking/sync_point_queue.h>
|
||||||
#include "packager/media/origin/origin_handler.h"
|
#include <packager/media/origin/origin_handler.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <absl/synchronization/mutex.h>
|
#include <absl/synchronization/mutex.h>
|
||||||
#include "packager/status/status.h"
|
#include <packager/status/status.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/app/manifest_flags.h"
|
#include <packager/app/manifest_flags.h>
|
||||||
|
|
||||||
ABSL_FLAG(double,
|
ABSL_FLAG(double,
|
||||||
time_shift_buffer_depth,
|
time_shift_buffer_depth,
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
// Defines Mpd flags.
|
// Defines Mpd flags.
|
||||||
|
|
||||||
#include "packager/app/mpd_flags.h"
|
#include <packager/app/mpd_flags.h>
|
||||||
|
|
||||||
ABSL_FLAG(bool,
|
ABSL_FLAG(bool,
|
||||||
generate_static_live_mpd,
|
generate_static_live_mpd,
|
||||||
|
|
|
@ -12,11 +12,11 @@
|
||||||
#include <absl/strings/str_format.h>
|
#include <absl/strings/str_format.h>
|
||||||
#include <absl/strings/str_split.h>
|
#include <absl/strings/str_split.h>
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
#include "packager/app/mpd_generator_flags.h"
|
#include <packager/app/mpd_generator_flags.h>
|
||||||
#include "packager/mpd/util/mpd_writer.h"
|
#include <packager/app/vlog_flags.h>
|
||||||
#include "packager/tools/license_notice.h"
|
#include <packager/mpd/util/mpd_writer.h>
|
||||||
#include "packager/version/version.h"
|
#include <packager/tools/license_notice.h>
|
||||||
#include "vlog_flags.h"
|
#include <packager/version/version.h>
|
||||||
|
|
||||||
#if defined(OS_WIN)
|
#if defined(OS_WIN)
|
||||||
#include <codecvt>
|
#include <codecvt>
|
||||||
|
|
|
@ -4,16 +4,16 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/app/muxer_factory.h"
|
#include <packager/app/muxer_factory.h>
|
||||||
|
|
||||||
#include "packager/media/base/muxer.h"
|
#include <packager/media/base/muxer.h>
|
||||||
#include "packager/media/formats/mp2t/ts_muxer.h"
|
#include <packager/media/formats/mp2t/ts_muxer.h>
|
||||||
#include "packager/media/formats/mp4/mp4_muxer.h"
|
#include <packager/media/formats/mp4/mp4_muxer.h>
|
||||||
#include "packager/media/formats/packed_audio/packed_audio_writer.h"
|
#include <packager/media/formats/packed_audio/packed_audio_writer.h>
|
||||||
#include "packager/media/formats/ttml/ttml_muxer.h"
|
#include <packager/media/formats/ttml/ttml_muxer.h>
|
||||||
#include "packager/media/formats/webm/webm_muxer.h"
|
#include <packager/media/formats/webm/webm_muxer.h>
|
||||||
#include "packager/media/formats/webvtt/webvtt_muxer.h"
|
#include <packager/media/formats/webvtt/webvtt_muxer.h>
|
||||||
#include "packager/packager.h"
|
#include <packager/packager.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -10,9 +10,9 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "packager/media/base/container_names.h"
|
#include <packager/media/base/container_names.h>
|
||||||
#include "packager/media/public/mp4_output_params.h"
|
#include <packager/media/public/mp4_output_params.h>
|
||||||
#include "packager/mpd/base/mpd_builder.h"
|
#include <packager/mpd/base/mpd_builder.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
struct PackagingParams;
|
struct PackagingParams;
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
// Defines Muxer flags.
|
// Defines Muxer flags.
|
||||||
|
|
||||||
#include "packager/app/muxer_flags.h"
|
#include <packager/app/muxer_flags.h>
|
||||||
|
|
||||||
ABSL_FLAG(double,
|
ABSL_FLAG(double,
|
||||||
clear_lead,
|
clear_lead,
|
||||||
|
|
|
@ -14,24 +14,24 @@
|
||||||
#include <absl/strings/str_format.h>
|
#include <absl/strings/str_format.h>
|
||||||
#include <absl/strings/str_split.h>
|
#include <absl/strings/str_split.h>
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
|
#include <packager/app/ad_cue_generator_flags.h>
|
||||||
|
#include <packager/app/crypto_flags.h>
|
||||||
|
#include <packager/app/hls_flags.h>
|
||||||
|
#include <packager/app/manifest_flags.h>
|
||||||
|
#include <packager/app/mpd_flags.h>
|
||||||
|
#include <packager/app/muxer_flags.h>
|
||||||
|
#include <packager/app/playready_key_encryption_flags.h>
|
||||||
|
#include <packager/app/protection_system_flags.h>
|
||||||
|
#include <packager/app/raw_key_encryption_flags.h>
|
||||||
|
#include <packager/app/retired_flags.h>
|
||||||
|
#include <packager/app/stream_descriptor.h>
|
||||||
|
#include <packager/app/vlog_flags.h>
|
||||||
|
#include <packager/app/widevine_encryption_flags.h>
|
||||||
|
#include <packager/file/file.h>
|
||||||
|
#include <packager/kv_pairs/kv_pairs.h>
|
||||||
|
#include <packager/tools/license_notice.h>
|
||||||
|
#include <packager/utils/string_trim_split.h>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include "packager/app/ad_cue_generator_flags.h"
|
|
||||||
#include "packager/app/crypto_flags.h"
|
|
||||||
#include "packager/app/hls_flags.h"
|
|
||||||
#include "packager/app/manifest_flags.h"
|
|
||||||
#include "packager/app/mpd_flags.h"
|
|
||||||
#include "packager/app/muxer_flags.h"
|
|
||||||
#include "packager/app/playready_key_encryption_flags.h"
|
|
||||||
#include "packager/app/protection_system_flags.h"
|
|
||||||
#include "packager/app/raw_key_encryption_flags.h"
|
|
||||||
#include "packager/app/stream_descriptor.h"
|
|
||||||
#include "packager/app/widevine_encryption_flags.h"
|
|
||||||
#include "packager/file/file.h"
|
|
||||||
#include "packager/kv_pairs/kv_pairs.h"
|
|
||||||
#include "packager/tools/license_notice.h"
|
|
||||||
#include "packager/utils/string_trim_split.h"
|
|
||||||
#include "retired_flags.h"
|
|
||||||
#include "vlog_flags.h"
|
|
||||||
|
|
||||||
#if defined(OS_WIN)
|
#if defined(OS_WIN)
|
||||||
#include <codecvt>
|
#include <codecvt>
|
||||||
|
|
|
@ -4,17 +4,17 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/app/packager_util.h"
|
#include <packager/app/packager_util.h>
|
||||||
|
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
#include "packager/media/base/media_handler.h"
|
#include <packager/media/base/media_handler.h>
|
||||||
#include "packager/media/base/muxer_options.h"
|
#include <packager/media/base/muxer_options.h>
|
||||||
#include "packager/media/base/playready_key_source.h"
|
#include <packager/media/base/playready_key_source.h>
|
||||||
#include "packager/media/base/raw_key_source.h"
|
#include <packager/media/base/raw_key_source.h>
|
||||||
#include "packager/media/base/request_signer.h"
|
#include <packager/media/base/request_signer.h>
|
||||||
#include "packager/media/base/widevine_key_source.h"
|
#include <packager/media/base/widevine_key_source.h>
|
||||||
#include "packager/mpd/base/mpd_options.h"
|
#include <packager/mpd/base/mpd_options.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "packager/media/base/fourccs.h"
|
#include <packager/media/base/fourccs.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
//
|
//
|
||||||
// Defines command line flags for PlayReady encryption.
|
// Defines command line flags for PlayReady encryption.
|
||||||
|
|
||||||
#include "packager/app/playready_key_encryption_flags.h"
|
#include <packager/app/playready_key_encryption_flags.h>
|
||||||
|
|
||||||
#include "packager/app/validate_flag.h"
|
#include <packager/app/validate_flag.h>
|
||||||
|
|
||||||
ABSL_FLAG(bool,
|
ABSL_FLAG(bool,
|
||||||
enable_playready_encryption,
|
enable_playready_encryption,
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
// Defines command line flags for protection systems.
|
// Defines command line flags for protection systems.
|
||||||
|
|
||||||
#include "packager/app/protection_system_flags.h"
|
#include <packager/app/protection_system_flags.h>
|
||||||
|
|
||||||
ABSL_FLAG(
|
ABSL_FLAG(
|
||||||
std::string,
|
std::string,
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
//
|
//
|
||||||
// Defines command line flags for raw key encryption/decryption.
|
// Defines command line flags for raw key encryption/decryption.
|
||||||
|
|
||||||
#include "packager/utils/absl_flag_hexbytes.h"
|
#include <packager/utils/absl_flag_hexbytes.h>
|
||||||
|
|
||||||
#include "packager/app/validate_flag.h"
|
#include <packager/app/validate_flag.h>
|
||||||
|
|
||||||
ABSL_FLAG(bool,
|
ABSL_FLAG(bool,
|
||||||
enable_fixed_key_encryption,
|
enable_fixed_key_encryption,
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include <absl/flags/declare.h>
|
#include <absl/flags/declare.h>
|
||||||
#include <absl/flags/flag.h>
|
#include <absl/flags/flag.h>
|
||||||
|
|
||||||
#include "packager/utils/absl_flag_hexbytes.h"
|
#include <packager/utils/absl_flag_hexbytes.h>
|
||||||
|
|
||||||
ABSL_DECLARE_FLAG(bool, enable_raw_key_encryption);
|
ABSL_DECLARE_FLAG(bool, enable_raw_key_encryption);
|
||||||
ABSL_DECLARE_FLAG(bool, enable_raw_key_decryption);
|
ABSL_DECLARE_FLAG(bool, enable_raw_key_decryption);
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
// Defines retired / deprecated flags. These flags will be removed in later
|
// Defines retired / deprecated flags. These flags will be removed in later
|
||||||
// versions.
|
// versions.
|
||||||
|
|
||||||
#include "packager/app/retired_flags.h"
|
#include <packager/app/retired_flags.h>
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/app/single_thread_job_manager.h"
|
#include <packager/app/single_thread_job_manager.h>
|
||||||
|
|
||||||
#include "packager/media/chunking/sync_point_queue.h"
|
#include <packager/media/chunking/sync_point_queue.h>
|
||||||
#include "packager/media/origin/origin_handler.h"
|
#include <packager/media/origin/origin_handler.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "packager/app/job_manager.h"
|
#include <packager/app/job_manager.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/app/stream_descriptor.h"
|
#include <packager/app/stream_descriptor.h>
|
||||||
#include "packager/kv_pairs/kv_pairs.h"
|
#include <packager/kv_pairs/kv_pairs.h>
|
||||||
#include "packager/utils/string_trim_split.h"
|
#include <packager/utils/string_trim_split.h>
|
||||||
|
|
||||||
#include <absl/strings/numbers.h>
|
#include <absl/strings/numbers.h>
|
||||||
#include <absl/strings/str_split.h>
|
#include <absl/strings/str_split.h>
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#include <packager/packager.h>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include "packager/packager.h"
|
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
//
|
//
|
||||||
// Flag validation help functions.
|
// Flag validation help functions.
|
||||||
|
|
||||||
#include "packager/app/validate_flag.h"
|
#include <packager/app/validate_flag.h>
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,9 @@
|
||||||
//
|
//
|
||||||
// Defines verbose logging flags.
|
// Defines verbose logging flags.
|
||||||
|
|
||||||
#include "packager/app/vlog_flags.h"
|
|
||||||
#include <absl/strings/numbers.h>
|
#include <absl/strings/numbers.h>
|
||||||
#include "packager/kv_pairs/kv_pairs.h"
|
#include <packager/app/vlog_flags.h>
|
||||||
|
#include <packager/kv_pairs/kv_pairs.h>
|
||||||
|
|
||||||
ABSL_FLAG(int32_t,
|
ABSL_FLAG(int32_t,
|
||||||
v,
|
v,
|
||||||
|
|
|
@ -6,14 +6,14 @@
|
||||||
//
|
//
|
||||||
// Defines command line flags for widevine_encryption.
|
// Defines command line flags for widevine_encryption.
|
||||||
|
|
||||||
#include "packager/app/widevine_encryption_flags.h"
|
#include <packager/app/widevine_encryption_flags.h>
|
||||||
|
|
||||||
#include <absl/flags/flag.h>
|
#include <absl/flags/flag.h>
|
||||||
#include <absl/strings/ascii.h>
|
#include <absl/strings/ascii.h>
|
||||||
#include <absl/strings/match.h>
|
#include <absl/strings/match.h>
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
|
#include <packager/app/validate_flag.h>
|
||||||
#include <string_view>
|
#include <string_view>
|
||||||
#include "packager/app/validate_flag.h"
|
|
||||||
|
|
||||||
ABSL_FLAG(bool,
|
ABSL_FLAG(bool,
|
||||||
enable_widevine_encryption,
|
enable_widevine_encryption,
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include <absl/flags/declare.h>
|
#include <absl/flags/declare.h>
|
||||||
#include <absl/flags/flag.h>
|
#include <absl/flags/flag.h>
|
||||||
|
|
||||||
#include "packager/utils/absl_flag_hexbytes.h"
|
#include <packager/utils/absl_flag_hexbytes.h>
|
||||||
|
|
||||||
ABSL_DECLARE_FLAG(bool, enable_widevine_encryption);
|
ABSL_DECLARE_FLAG(bool, enable_widevine_encryption);
|
||||||
ABSL_DECLARE_FLAG(bool, enable_widevine_decryption);
|
ABSL_DECLARE_FLAG(bool, enable_widevine_decryption);
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/callback_file.h"
|
#include <packager/file/callback_file.h>
|
||||||
|
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -4,15 +4,15 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/callback_file.h"
|
#include <packager/file/callback_file.h>
|
||||||
|
|
||||||
#include <gmock/gmock.h>
|
#include <gmock/gmock.h>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
#include "packager/file/file_closer.h"
|
#include <packager/file/file_closer.h>
|
||||||
|
|
||||||
using testing::_;
|
using testing::_;
|
||||||
using testing::Eq;
|
using testing::Eq;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
|
@ -17,13 +17,13 @@
|
||||||
#include <absl/strings/str_format.h>
|
#include <absl/strings/str_format.h>
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
|
|
||||||
#include "packager/file/callback_file.h"
|
#include <packager/file/callback_file.h>
|
||||||
#include "packager/file/file_util.h"
|
#include <packager/file/file_util.h>
|
||||||
#include "packager/file/http_file.h"
|
#include <packager/file/http_file.h>
|
||||||
#include "packager/file/local_file.h"
|
#include <packager/file/local_file.h>
|
||||||
#include "packager/file/memory_file.h"
|
#include <packager/file/memory_file.h>
|
||||||
#include "packager/file/threaded_io_file.h"
|
#include <packager/file/threaded_io_file.h>
|
||||||
#include "packager/file/udp_file.h"
|
#include <packager/file/udp_file.h>
|
||||||
|
|
||||||
ABSL_FLAG(uint64_t,
|
ABSL_FLAG(uint64_t,
|
||||||
io_cache_size,
|
io_cache_size,
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "packager/file/public/buffer_callback_params.h"
|
#include <packager/file/public/buffer_callback_params.h>
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
#include "packager/status/status.h"
|
#include <packager/status/status.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#define MEDIA_FILE_FILE_CLOSER_H_
|
#define MEDIA_FILE_FILE_CLOSER_H_
|
||||||
|
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/file_test_util.h"
|
#include <packager/file/file_test_util.h>
|
||||||
|
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
#include <locale>
|
#include <locale>
|
||||||
|
|
||||||
#include <absl/flags/declare.h>
|
#include <absl/flags/declare.h>
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
#include "packager/file/file_test_util.h"
|
#include <packager/file/file_test_util.h>
|
||||||
#include "packager/flag_saver.h"
|
#include <packager/flag_saver.h>
|
||||||
|
|
||||||
ABSL_DECLARE_FLAG(uint64_t, io_cache_size);
|
ABSL_DECLARE_FLAG(uint64_t, io_cache_size);
|
||||||
ABSL_DECLARE_FLAG(uint64_t, io_block_size);
|
ABSL_DECLARE_FLAG(uint64_t, io_block_size);
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/file_util.h"
|
#include <packager/file/file_util.h>
|
||||||
|
|
||||||
#if defined(OS_WIN)
|
#if defined(OS_WIN)
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/file_util.h"
|
#include <packager/file/file_util.h>
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/http_file.h"
|
#include <packager/file/http_file.h>
|
||||||
|
|
||||||
#include <curl/curl.h>
|
#include <curl/curl.h>
|
||||||
|
|
||||||
|
@ -14,9 +14,9 @@
|
||||||
#include <absl/strings/str_format.h>
|
#include <absl/strings/str_format.h>
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
|
|
||||||
#include "packager/file/thread_pool.h"
|
#include <packager/file/thread_pool.h>
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
#include "packager/version/version.h"
|
#include <packager/version/version.h>
|
||||||
|
|
||||||
ABSL_FLAG(std::string,
|
ABSL_FLAG(std::string,
|
||||||
user_agent,
|
user_agent,
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
|
|
||||||
#include <absl/synchronization/notification.h>
|
#include <absl/synchronization/notification.h>
|
||||||
|
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
#include "packager/file/io_cache.h"
|
#include <packager/file/io_cache.h>
|
||||||
|
|
||||||
typedef void CURL;
|
typedef void CURL;
|
||||||
struct curl_slist;
|
struct curl_slist;
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/http_file.h"
|
#include <packager/file/http_file.h>
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
|
@ -12,10 +12,10 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <absl/strings/str_split.h>
|
#include <absl/strings/str_split.h>
|
||||||
|
#include <packager/file/file.h>
|
||||||
|
#include <packager/file/file_closer.h>
|
||||||
|
#include <packager/media/test/test_web_server.h>
|
||||||
#include <nlohmann/json.hpp>
|
#include <nlohmann/json.hpp>
|
||||||
#include "packager/file/file.h"
|
|
||||||
#include "packager/file/file_closer.h"
|
|
||||||
#include "packager/media/test/test_web_server.h"
|
|
||||||
|
|
||||||
#define ASSERT_JSON_STRING(json, key, value) \
|
#define ASSERT_JSON_STRING(json, key, value) \
|
||||||
ASSERT_EQ(GetJsonString((json), (key)), (value)) << "JSON is " << (json)
|
ASSERT_EQ(GetJsonString((json), (key)), (value)) << "JSON is " << (json)
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/io_cache.h"
|
#include <packager/file/io_cache.h>
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <absl/synchronization/mutex.h>
|
#include <absl/synchronization/mutex.h>
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/io_cache.h"
|
#include <packager/file/io_cache.h>
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/local_file.h"
|
#include <packager/file/local_file.h>
|
||||||
|
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/memory_file.h"
|
#include <packager/file/memory_file.h>
|
||||||
|
|
||||||
#include <string.h> // for memcpy
|
#include <string.h> // for memcpy
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
// 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.
|
||||||
|
|
||||||
#include "packager/file/memory_file.h"
|
#include <packager/file/memory_file.h>
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
#include "packager/file/file_closer.h"
|
#include <packager/file/file_closer.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace {
|
namespace {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/thread_pool.h"
|
#include <packager/file/thread_pool.h>
|
||||||
|
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
#include <absl/base/thread_annotations.h>
|
#include <absl/base/thread_annotations.h>
|
||||||
#include <absl/synchronization/mutex.h>
|
#include <absl/synchronization/mutex.h>
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/threaded_io_file.h"
|
#include <packager/file/threaded_io_file.h>
|
||||||
|
|
||||||
#include "packager/file/thread_pool.h"
|
#include <packager/file/thread_pool.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include <absl/synchronization/mutex.h>
|
#include <absl/synchronization/mutex.h>
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
#include "packager/file/file_closer.h"
|
#include <packager/file/file_closer.h>
|
||||||
#include "packager/file/io_cache.h"
|
#include <packager/file/io_cache.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/udp_file.h"
|
#include <packager/file/udp_file.h>
|
||||||
|
|
||||||
#if defined(OS_WIN)
|
#if defined(OS_WIN)
|
||||||
#include <ws2tcpip.h>
|
#include <ws2tcpip.h>
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
#include <limits>
|
#include <limits>
|
||||||
|
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
#include "packager/file/udp_options.h"
|
#include <packager/file/udp_options.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
|
|
||||||
#if defined(OS_WIN)
|
#if defined(OS_WIN)
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/udp_options.h"
|
#include <packager/file/udp_options.h>
|
||||||
|
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
|
||||||
|
@ -12,8 +12,8 @@
|
||||||
#include <absl/strings/numbers.h>
|
#include <absl/strings/numbers.h>
|
||||||
#include <absl/strings/str_split.h>
|
#include <absl/strings/str_split.h>
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
#include "packager/kv_pairs/kv_pairs.h"
|
#include <packager/kv_pairs/kv_pairs.h>
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
|
|
||||||
ABSL_FLAG(std::string,
|
ABSL_FLAG(std::string,
|
||||||
udp_interface_address,
|
udp_interface_address,
|
||||||
|
|
|
@ -4,13 +4,13 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/file/udp_options.h"
|
#include <packager/file/udp_options.h>
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
#include <absl/flags/declare.h>
|
#include <absl/flags/declare.h>
|
||||||
#include <absl/flags/flag.h>
|
#include <absl/flags/flag.h>
|
||||||
#include "packager/flag_saver.h"
|
#include <packager/flag_saver.h>
|
||||||
|
|
||||||
ABSL_DECLARE_FLAG(std::string, udp_interface_address);
|
ABSL_DECLARE_FLAG(std::string, udp_interface_address);
|
||||||
|
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "packager/hls/public/hls_params.h"
|
#include <packager/hls/public/hls_params.h>
|
||||||
#include "packager/mpd/base/media_info.pb.h"
|
#include <packager/mpd/base/media_info.pb.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace hls {
|
namespace hls {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/hls/base/master_playlist.h"
|
#include <packager/hls/base/master_playlist.h>
|
||||||
|
|
||||||
#include <algorithm> // std::max
|
#include <algorithm> // std::max
|
||||||
|
|
||||||
|
@ -14,11 +14,11 @@
|
||||||
#include <absl/strings/str_format.h>
|
#include <absl/strings/str_format.h>
|
||||||
#include <absl/strings/str_join.h>
|
#include <absl/strings/str_join.h>
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
|
#include <packager/file/file.h>
|
||||||
|
#include <packager/hls/base/media_playlist.h>
|
||||||
|
#include <packager/hls/base/tag.h>
|
||||||
|
#include <packager/version/version.h>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include "packager/file/file.h"
|
|
||||||
#include "packager/hls/base/media_playlist.h"
|
|
||||||
#include "packager/hls/base/tag.h"
|
|
||||||
#include "packager/version/version.h"
|
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace hls {
|
namespace hls {
|
||||||
|
|
|
@ -7,12 +7,12 @@
|
||||||
#include <gmock/gmock.h>
|
#include <gmock/gmock.h>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
|
#include <packager/file/file.h>
|
||||||
|
#include <packager/hls/base/master_playlist.h>
|
||||||
|
#include <packager/hls/base/media_playlist.h>
|
||||||
|
#include <packager/hls/base/mock_media_playlist.h>
|
||||||
|
#include <packager/version/version.h>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include "packager/file/file.h"
|
|
||||||
#include "packager/hls/base/master_playlist.h"
|
|
||||||
#include "packager/hls/base/media_playlist.h"
|
|
||||||
#include "packager/hls/base/mock_media_playlist.h"
|
|
||||||
#include "packager/version/version.h"
|
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace hls {
|
namespace hls {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/hls/base/media_playlist.h"
|
#include <packager/hls/base/media_playlist.h>
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
|
@ -15,11 +15,11 @@
|
||||||
#include <absl/strings/numbers.h>
|
#include <absl/strings/numbers.h>
|
||||||
#include <absl/strings/str_format.h>
|
#include <absl/strings/str_format.h>
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
#include "packager/hls/base/tag.h"
|
#include <packager/hls/base/tag.h>
|
||||||
#include "packager/media/base/language_utils.h"
|
#include <packager/media/base/language_utils.h>
|
||||||
#include "packager/media/base/muxer_util.h"
|
#include <packager/media/base/muxer_util.h>
|
||||||
#include "packager/version/version.h"
|
#include <packager/version/version.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace hls {
|
namespace hls {
|
||||||
|
|
|
@ -13,10 +13,10 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "packager/hls/public/hls_params.h"
|
#include <packager/hls/public/hls_params.h>
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
#include "packager/mpd/base/bandwidth_estimator.h"
|
#include <packager/mpd/base/bandwidth_estimator.h>
|
||||||
#include "packager/mpd/base/media_info.pb.h"
|
#include <packager/mpd/base/media_info.pb.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -8,11 +8,11 @@
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
#include <absl/strings/str_format.h>
|
#include <absl/strings/str_format.h>
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
#include "packager/file/file_closer.h"
|
#include <packager/file/file_closer.h>
|
||||||
#include "packager/file/file_test_util.h"
|
#include <packager/file/file_test_util.h>
|
||||||
#include "packager/hls/base/media_playlist.h"
|
#include <packager/hls/base/media_playlist.h>
|
||||||
#include "packager/version/version.h"
|
#include <packager/version/version.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace hls {
|
namespace hls {
|
||||||
|
|
|
@ -4,9 +4,9 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/hls/base/mock_media_playlist.h"
|
#include <packager/hls/base/mock_media_playlist.h>
|
||||||
|
|
||||||
#include "packager/hls/public/hls_params.h"
|
#include <packager/hls/public/hls_params.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace hls {
|
namespace hls {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <gmock/gmock.h>
|
#include <gmock/gmock.h>
|
||||||
|
|
||||||
#include "packager/hls/base/media_playlist.h"
|
#include <packager/hls/base/media_playlist.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace hls {
|
namespace hls {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/hls/base/simple_hls_notifier.h"
|
#include <packager/hls/base/simple_hls_notifier.h>
|
||||||
|
|
||||||
#include <absl/flags/flag.h>
|
#include <absl/flags/flag.h>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
@ -12,13 +12,13 @@
|
||||||
#include <absl/strings/escaping.h>
|
#include <absl/strings/escaping.h>
|
||||||
#include <absl/strings/numbers.h>
|
#include <absl/strings/numbers.h>
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
|
#include <packager/file/file_util.h>
|
||||||
|
#include <packager/media/base/protection_system_ids.h>
|
||||||
|
#include <packager/media/base/protection_system_specific_info.h>
|
||||||
|
#include <packager/media/base/proto_json_util.h>
|
||||||
|
#include <packager/media/base/widevine_pssh_data.pb.h>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include <optional>
|
#include <optional>
|
||||||
#include "packager/file/file_util.h"
|
|
||||||
#include "packager/media/base/protection_system_ids.h"
|
|
||||||
#include "packager/media/base/protection_system_specific_info.h"
|
|
||||||
#include "packager/media/base/proto_json_util.h"
|
|
||||||
#include "packager/media/base/widevine_pssh_data.pb.h"
|
|
||||||
|
|
||||||
ABSL_FLAG(bool,
|
ABSL_FLAG(bool,
|
||||||
enable_legacy_widevine_hls_signaling,
|
enable_legacy_widevine_hls_signaling,
|
||||||
|
|
|
@ -15,11 +15,11 @@
|
||||||
|
|
||||||
#include <absl/synchronization/mutex.h>
|
#include <absl/synchronization/mutex.h>
|
||||||
|
|
||||||
#include "packager/hls/base/hls_notifier.h"
|
#include <packager/hls/base/hls_notifier.h>
|
||||||
#include "packager/hls/base/master_playlist.h"
|
#include <packager/hls/base/master_playlist.h>
|
||||||
#include "packager/hls/base/media_playlist.h"
|
#include <packager/hls/base/media_playlist.h>
|
||||||
#include "packager/hls/public/hls_params.h"
|
#include <packager/hls/public/hls_params.h>
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace hls {
|
namespace hls {
|
||||||
|
|
|
@ -12,13 +12,13 @@
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include <absl/strings/escaping.h>
|
#include <absl/strings/escaping.h>
|
||||||
|
#include <packager/flag_saver.h>
|
||||||
|
#include <packager/hls/base/mock_media_playlist.h>
|
||||||
|
#include <packager/hls/base/simple_hls_notifier.h>
|
||||||
|
#include <packager/media/base/protection_system_ids.h>
|
||||||
|
#include <packager/media/base/protection_system_specific_info.h>
|
||||||
|
#include <packager/media/base/widevine_pssh_data.pb.h>
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include "packager/flag_saver.h"
|
|
||||||
#include "packager/hls/base/mock_media_playlist.h"
|
|
||||||
#include "packager/hls/base/simple_hls_notifier.h"
|
|
||||||
#include "packager/media/base/protection_system_ids.h"
|
|
||||||
#include "packager/media/base/protection_system_specific_info.h"
|
|
||||||
#include "packager/media/base/widevine_pssh_data.pb.h"
|
|
||||||
|
|
||||||
ABSL_DECLARE_FLAG(bool, enable_legacy_widevine_hls_signaling);
|
ABSL_DECLARE_FLAG(bool, enable_legacy_widevine_hls_signaling);
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/hls/base/tag.h"
|
#include <packager/hls/base/tag.h>
|
||||||
|
|
||||||
#include <absl/strings/str_format.h>
|
#include <absl/strings/str_format.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/kv_pairs/kv_pairs.h"
|
#include <packager/kv_pairs/kv_pairs.h>
|
||||||
|
|
||||||
#include <absl/strings/str_split.h>
|
#include <absl/strings/str_split.h>
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#include <gmock/gmock.h>
|
#include <gmock/gmock.h>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
#include "packager/kv_pairs/kv_pairs.h"
|
#include <packager/kv_pairs/kv_pairs.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/media/base/aes_cryptor.h"
|
#include <packager/media/base/aes_cryptor.h>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include <mbedtls/cipher.h>
|
#include <mbedtls/cipher.h>
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
#include "packager/media/base/fourccs.h"
|
#include <packager/media/base/fourccs.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
|
|
||||||
#include <absl/strings/escaping.h>
|
#include <absl/strings/escaping.h>
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
#include "packager/media/base/aes_decryptor.h"
|
#include <packager/media/base/aes_decryptor.h>
|
||||||
#include "packager/media/base/aes_encryptor.h"
|
#include <packager/media/base/aes_encryptor.h>
|
||||||
#include "packager/utils/bytes_to_string_view.h"
|
#include <packager/utils/bytes_to_string_view.h>
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/media/base/aes_decryptor.h"
|
#include <packager/media/base/aes_decryptor.h>
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
|
|
@ -11,9 +11,9 @@
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
#include "packager/media/base/aes_cryptor.h"
|
#include <packager/media/base/aes_cryptor.h>
|
||||||
#include "packager/media/base/aes_encryptor.h"
|
#include <packager/media/base/aes_encryptor.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/media/base/aes_encryptor.h"
|
#include <packager/media/base/aes_encryptor.h>
|
||||||
|
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
|
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
#include "packager/media/base/aes_cryptor.h"
|
#include <packager/media/base/aes_cryptor.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/media/base/aes_pattern_cryptor.h"
|
#include <packager/media/base/aes_pattern_cryptor.h>
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/media/base/aes_cryptor.h"
|
#include <packager/media/base/aes_cryptor.h>
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -8,8 +8,8 @@
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
#include <absl/strings/escaping.h>
|
#include <absl/strings/escaping.h>
|
||||||
#include "packager/media/base/aes_pattern_cryptor.h"
|
#include <packager/media/base/aes_pattern_cryptor.h>
|
||||||
#include "packager/media/base/mock_aes_cryptor.h"
|
#include <packager/media/base/mock_aes_cryptor.h>
|
||||||
|
|
||||||
using ::testing::_;
|
using ::testing::_;
|
||||||
using ::testing::Invoke;
|
using ::testing::Invoke;
|
||||||
|
|
|
@ -4,14 +4,14 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/media/base/audio_stream_info.h"
|
#include <packager/media/base/audio_stream_info.h>
|
||||||
|
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
|
||||||
#include <absl/strings/str_format.h>
|
#include <absl/strings/str_format.h>
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
#include "packager/media/base/limits.h"
|
#include <packager/media/base/limits.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "packager/media/base/stream_info.h"
|
#include <packager/media/base/stream_info.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -2,10 +2,10 @@
|
||||||
// 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.
|
||||||
|
|
||||||
#include "packager/media/base/audio_timestamp_helper.h"
|
#include <packager/media/base/audio_timestamp_helper.h>
|
||||||
|
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
#include "packager/media/base/timestamp.h"
|
#include <packager/media/base/timestamp.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
#include <iterator>
|
#include <iterator>
|
||||||
|
|
||||||
#include "packager/media/base/audio_timestamp_helper.h"
|
#include <packager/media/base/audio_timestamp_helper.h>
|
||||||
#include "packager/media/base/timestamp.h"
|
#include <packager/media/base/timestamp.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// 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.
|
||||||
|
|
||||||
#include "packager/media/base/bit_reader.h"
|
#include <packager/media/base/bit_reader.h>
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
||||||
#include "packager/media/base/bit_reader.h"
|
#include <packager/media/base/bit_reader.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/media/base/bit_writer.h"
|
#include <packager/media/base/bit_writer.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/media/base/bit_writer.h"
|
#include <packager/media/base/bit_writer.h>
|
||||||
|
|
||||||
#include <gmock/gmock.h>
|
#include <gmock/gmock.h>
|
||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/media/base/buffer_reader.h"
|
#include <packager/media/base/buffer_reader.h>
|
||||||
|
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -4,11 +4,11 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/media/base/buffer_writer.h"
|
#include <packager/media/base/buffer_writer.h>
|
||||||
|
|
||||||
#include <absl/base/internal/endian.h>
|
#include <absl/base/internal/endian.h>
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -10,8 +10,8 @@
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
#include "packager/status/status.h"
|
#include <packager/status/status.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
|
|
||||||
|
|
|
@ -4,17 +4,17 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/media/base/buffer_writer.h"
|
#include <packager/media/base/buffer_writer.h>
|
||||||
|
|
||||||
#include <filesystem>
|
#include <filesystem>
|
||||||
#include <limits>
|
#include <limits>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
#include "packager/file/file.h"
|
#include <packager/file/file.h>
|
||||||
#include "packager/file/file_test_util.h"
|
#include <packager/file/file_test_util.h>
|
||||||
#include "packager/media/base/buffer_reader.h"
|
#include <packager/media/base/buffer_reader.h>
|
||||||
#include "packager/status/status_test_util.h"
|
#include <packager/status/status_test_util.h>
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
const int kReservedBufferCapacity = 1000;
|
const int kReservedBufferCapacity = 1000;
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
// 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.
|
||||||
|
|
||||||
#include "packager/media/base/byte_queue.h"
|
#include <packager/media/base/byte_queue.h>
|
||||||
|
|
||||||
#include <glog/logging.h>
|
#include <glog/logging.h>
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
#include "packager/macros.h"
|
#include <packager/macros.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
|
@ -4,10 +4,10 @@
|
||||||
// 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
|
||||||
|
|
||||||
#include "packager/media/base/cc_stream_filter.h"
|
#include <packager/media/base/cc_stream_filter.h>
|
||||||
|
|
||||||
#include "packager/media/base/stream_info.h"
|
#include <packager/media/base/stream_info.h>
|
||||||
#include "packager/media/base/text_stream_info.h"
|
#include <packager/media/base/text_stream_info.h>
|
||||||
|
|
||||||
namespace shaka {
|
namespace shaka {
|
||||||
namespace media {
|
namespace media {
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue