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:
Joey Parrish 2023-10-10 16:51:11 -07:00 committed by GitHub
parent 1337e86597
commit 4e310f03bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
546 changed files with 1694 additions and 1693 deletions

View File

@ -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:
#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
HeapProfilerDump("foobar");

View File

@ -6,7 +6,7 @@
//
// Defines cuepoint generator flags.
#include "packager/app/ad_cue_generator_flags.h"
#include <packager/app/ad_cue_generator_flags.h>
ABSL_FLAG(std::string,
ad_cues,

View File

@ -4,8 +4,8 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/app/crypto_flags.h"
#include <absl/flags/flag.h>
#include <packager/app/crypto_flags.h>
#include <cstdio>

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/app/hls_flags.h"
#include <packager/app/hls_flags.h>
ABSL_FLAG(std::string,
hls_master_playlist_output,

View File

@ -4,12 +4,12 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/app/job_manager.h"
#include <packager/app/job_manager.h>
#include <set>
#include "packager/media/chunking/sync_point_queue.h"
#include "packager/media/origin/origin_handler.h"
#include <packager/media/chunking/sync_point_queue.h>
#include <packager/media/origin/origin_handler.h>
namespace shaka {
namespace media {

View File

@ -14,7 +14,7 @@
#include <vector>
#include <absl/synchronization/mutex.h>
#include "packager/status/status.h"
#include <packager/status/status.h>
namespace shaka {
namespace media {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/app/manifest_flags.h"
#include <packager/app/manifest_flags.h>
ABSL_FLAG(double,
time_shift_buffer_depth,

View File

@ -6,7 +6,7 @@
//
// Defines Mpd flags.
#include "packager/app/mpd_flags.h"
#include <packager/app/mpd_flags.h>
ABSL_FLAG(bool,
generate_static_live_mpd,

View File

@ -12,11 +12,11 @@
#include <absl/strings/str_format.h>
#include <absl/strings/str_split.h>
#include <glog/logging.h>
#include "packager/app/mpd_generator_flags.h"
#include "packager/mpd/util/mpd_writer.h"
#include "packager/tools/license_notice.h"
#include "packager/version/version.h"
#include "vlog_flags.h"
#include <packager/app/mpd_generator_flags.h>
#include <packager/app/vlog_flags.h>
#include <packager/mpd/util/mpd_writer.h>
#include <packager/tools/license_notice.h>
#include <packager/version/version.h>
#if defined(OS_WIN)
#include <codecvt>

View File

@ -4,16 +4,16 @@
// license that can be found in the LICENSE file or at
// 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/formats/mp2t/ts_muxer.h"
#include "packager/media/formats/mp4/mp4_muxer.h"
#include "packager/media/formats/packed_audio/packed_audio_writer.h"
#include "packager/media/formats/ttml/ttml_muxer.h"
#include "packager/media/formats/webm/webm_muxer.h"
#include "packager/media/formats/webvtt/webvtt_muxer.h"
#include "packager/packager.h"
#include <packager/media/base/muxer.h>
#include <packager/media/formats/mp2t/ts_muxer.h>
#include <packager/media/formats/mp4/mp4_muxer.h>
#include <packager/media/formats/packed_audio/packed_audio_writer.h>
#include <packager/media/formats/ttml/ttml_muxer.h>
#include <packager/media/formats/webm/webm_muxer.h>
#include <packager/media/formats/webvtt/webvtt_muxer.h>
#include <packager/packager.h>
namespace shaka {
namespace media {

View File

@ -10,9 +10,9 @@
#include <memory>
#include <string>
#include "packager/media/base/container_names.h"
#include "packager/media/public/mp4_output_params.h"
#include "packager/mpd/base/mpd_builder.h"
#include <packager/media/base/container_names.h>
#include <packager/media/public/mp4_output_params.h>
#include <packager/mpd/base/mpd_builder.h>
namespace shaka {
struct PackagingParams;

View File

@ -6,7 +6,7 @@
//
// Defines Muxer flags.
#include "packager/app/muxer_flags.h"
#include <packager/app/muxer_flags.h>
ABSL_FLAG(double,
clear_lead,

View File

@ -14,24 +14,24 @@
#include <absl/strings/str_format.h>
#include <absl/strings/str_split.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 "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)
#include <codecvt>

View File

@ -4,17 +4,17 @@
// license that can be found in the LICENSE file or at
// 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 "packager/file/file.h"
#include "packager/media/base/media_handler.h"
#include "packager/media/base/muxer_options.h"
#include "packager/media/base/playready_key_source.h"
#include "packager/media/base/raw_key_source.h"
#include "packager/media/base/request_signer.h"
#include "packager/media/base/widevine_key_source.h"
#include "packager/mpd/base/mpd_options.h"
#include <packager/file/file.h>
#include <packager/media/base/media_handler.h>
#include <packager/media/base/muxer_options.h>
#include <packager/media/base/playready_key_source.h>
#include <packager/media/base/raw_key_source.h>
#include <packager/media/base/request_signer.h>
#include <packager/media/base/widevine_key_source.h>
#include <packager/mpd/base/mpd_options.h>
namespace shaka {
namespace media {

View File

@ -12,7 +12,7 @@
#include <memory>
#include <vector>
#include "packager/media/base/fourccs.h"
#include <packager/media/base/fourccs.h>
namespace shaka {

View File

@ -6,9 +6,9 @@
//
// 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,
enable_playready_encryption,

View File

@ -6,7 +6,7 @@
//
// Defines command line flags for protection systems.
#include "packager/app/protection_system_flags.h"
#include <packager/app/protection_system_flags.h>
ABSL_FLAG(
std::string,

View File

@ -6,9 +6,9 @@
//
// 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,
enable_fixed_key_encryption,

View File

@ -12,7 +12,7 @@
#include <absl/flags/declare.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_decryption);

View File

@ -7,7 +7,7 @@
// Defines retired / deprecated flags. These flags will be removed in later
// versions.
#include "packager/app/retired_flags.h"
#include <packager/app/retired_flags.h>
#include <cstdio>

View File

@ -4,10 +4,10 @@
// license that can be found in the LICENSE file or at
// 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/origin/origin_handler.h"
#include <packager/media/chunking/sync_point_queue.h>
#include <packager/media/origin/origin_handler.h>
namespace shaka {
namespace media {

View File

@ -9,7 +9,7 @@
#include <memory>
#include "packager/app/job_manager.h"
#include <packager/app/job_manager.h>
namespace shaka {
namespace media {

View File

@ -4,9 +4,9 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/app/stream_descriptor.h"
#include "packager/kv_pairs/kv_pairs.h"
#include "packager/utils/string_trim_split.h"
#include <packager/app/stream_descriptor.h>
#include <packager/kv_pairs/kv_pairs.h>
#include <packager/utils/string_trim_split.h>
#include <absl/strings/numbers.h>
#include <absl/strings/str_split.h>

View File

@ -9,8 +9,8 @@
#include <string>
#include <packager/packager.h>
#include <optional>
#include "packager/packager.h"
namespace shaka {

View File

@ -6,7 +6,7 @@
//
// Flag validation help functions.
#include "packager/app/validate_flag.h"
#include <packager/app/validate_flag.h>
#include <cstdio>

View File

@ -6,9 +6,9 @@
//
// Defines verbose logging flags.
#include "packager/app/vlog_flags.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,
v,

View File

@ -6,14 +6,14 @@
//
// 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/strings/ascii.h>
#include <absl/strings/match.h>
#include <glog/logging.h>
#include <packager/app/validate_flag.h>
#include <string_view>
#include "packager/app/validate_flag.h"
ABSL_FLAG(bool,
enable_widevine_encryption,

View File

@ -12,7 +12,7 @@
#include <absl/flags/declare.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_decryption);

View File

@ -4,10 +4,10 @@
// license that can be found in the LICENSE file or at
// 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 "packager/macros.h"
#include <packager/macros.h>
namespace shaka {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/file/file.h"
#include <packager/file/file.h>
namespace shaka {

View File

@ -4,15 +4,15 @@
// license that can be found in the LICENSE file or at
// 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 <gtest/gtest.h>
#include <memory>
#include "packager/file/file.h"
#include "packager/file/file_closer.h"
#include <packager/file/file.h>
#include <packager/file/file_closer.h>
using testing::_;
using testing::Eq;

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/file/file.h"
#include <packager/file/file.h>
#include <inttypes.h>
@ -17,13 +17,13 @@
#include <absl/strings/str_format.h>
#include <glog/logging.h>
#include "packager/file/callback_file.h"
#include "packager/file/file_util.h"
#include "packager/file/http_file.h"
#include "packager/file/local_file.h"
#include "packager/file/memory_file.h"
#include "packager/file/threaded_io_file.h"
#include "packager/file/udp_file.h"
#include <packager/file/callback_file.h>
#include <packager/file/file_util.h>
#include <packager/file/http_file.h>
#include <packager/file/local_file.h>
#include <packager/file/memory_file.h>
#include <packager/file/threaded_io_file.h>
#include <packager/file/udp_file.h>
ABSL_FLAG(uint64_t,
io_cache_size,

View File

@ -11,9 +11,9 @@
#include <string>
#include "packager/file/public/buffer_callback_params.h"
#include "packager/macros.h"
#include "packager/status/status.h"
#include <packager/file/public/buffer_callback_params.h>
#include <packager/macros.h>
#include <packager/status/status.h>
namespace shaka {

View File

@ -8,7 +8,7 @@
#define MEDIA_FILE_FILE_CLOSER_H_
#include <glog/logging.h>
#include "packager/file/file.h"
#include <packager/file/file.h>
namespace shaka {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/file/file_test_util.h"
#include <packager/file/file_test_util.h>
#include <filesystem>

View File

@ -13,7 +13,7 @@
#include <iterator>
#include <string>
#include "packager/file/file.h"
#include <packager/file/file.h>
namespace shaka {

View File

@ -11,9 +11,9 @@
#include <locale>
#include <absl/flags/declare.h>
#include "packager/file/file.h"
#include "packager/file/file_test_util.h"
#include "packager/flag_saver.h"
#include <packager/file/file.h>
#include <packager/file/file_test_util.h>
#include <packager/flag_saver.h>
ABSL_DECLARE_FLAG(uint64_t, io_cache_size);
ABSL_DECLARE_FLAG(uint64_t, io_block_size);

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/file/file_util.h"
#include <packager/file/file_util.h>
#if defined(OS_WIN)
#include <windows.h>

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/file/file_util.h"
#include <packager/file/file_util.h>
#include <gtest/gtest.h>

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/file/http_file.h"
#include <packager/file/http_file.h>
#include <curl/curl.h>
@ -14,9 +14,9 @@
#include <absl/strings/str_format.h>
#include <glog/logging.h>
#include "packager/file/thread_pool.h"
#include "packager/macros.h"
#include "packager/version/version.h"
#include <packager/file/thread_pool.h>
#include <packager/macros.h>
#include <packager/version/version.h>
ABSL_FLAG(std::string,
user_agent,

View File

@ -12,8 +12,8 @@
#include <absl/synchronization/notification.h>
#include "packager/file/file.h"
#include "packager/file/io_cache.h"
#include <packager/file/file.h>
#include <packager/file/io_cache.h>
typedef void CURL;
struct curl_slist;

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/file/http_file.h"
#include <packager/file/http_file.h>
#include <gtest/gtest.h>
@ -12,10 +12,10 @@
#include <vector>
#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 "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) \
ASSERT_EQ(GetJsonString((json), (key)), (value)) << "JSON is " << (json)

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/file/io_cache.h"
#include <packager/file/io_cache.h>
#include <string.h>

View File

@ -12,7 +12,7 @@
#include <vector>
#include <absl/synchronization/mutex.h>
#include "packager/macros.h"
#include <packager/macros.h>
namespace shaka {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// 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 <string.h>

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/file/local_file.h"
#include <packager/file/local_file.h>
#include <cstdio>

View File

@ -11,7 +11,7 @@
#include <string>
#include "packager/file/file.h"
#include <packager/file/file.h>
namespace shaka {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// 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

View File

@ -12,7 +12,7 @@
#include <string>
#include <vector>
#include "packager/file/file.h"
#include <packager/file/file.h>
namespace shaka {

View File

@ -2,13 +2,13 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "packager/file/memory_file.h"
#include <packager/file/memory_file.h>
#include <gtest/gtest.h>
#include <memory>
#include "packager/file/file.h"
#include "packager/file/file_closer.h"
#include <packager/file/file.h>
#include <packager/file/file_closer.h>
namespace shaka {
namespace {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/file/thread_pool.h"
#include <packager/file/thread_pool.h>
#include <thread>

View File

@ -12,7 +12,7 @@
#include <absl/base/thread_annotations.h>
#include <absl/synchronization/mutex.h>
#include "packager/macros.h"
#include <packager/macros.h>
namespace shaka {

View File

@ -4,9 +4,9 @@
// license that can be found in the LICENSE file or at
// 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 {

View File

@ -11,9 +11,9 @@
#include <memory>
#include <absl/synchronization/mutex.h>
#include "packager/file/file.h"
#include "packager/file/file_closer.h"
#include "packager/file/io_cache.h"
#include <packager/file/file.h>
#include <packager/file/file_closer.h>
#include <packager/file/io_cache.h>
namespace shaka {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/file/udp_file.h"
#include <packager/file/udp_file.h>
#if defined(OS_WIN)
#include <ws2tcpip.h>
@ -29,7 +29,7 @@
#include <limits>
#include <glog/logging.h>
#include "packager/file/udp_options.h"
#include <packager/file/udp_options.h>
namespace shaka {

View File

@ -11,7 +11,7 @@
#include <string>
#include "packager/file/file.h"
#include <packager/file/file.h>
#if defined(OS_WIN)
#include <windows.h>

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/file/udp_options.h"
#include <packager/file/udp_options.h>
#include <iterator>
@ -12,8 +12,8 @@
#include <absl/strings/numbers.h>
#include <absl/strings/str_split.h>
#include <glog/logging.h>
#include "packager/kv_pairs/kv_pairs.h"
#include "packager/macros.h"
#include <packager/kv_pairs/kv_pairs.h>
#include <packager/macros.h>
ABSL_FLAG(std::string,
udp_interface_address,

View File

@ -4,13 +4,13 @@
// license that can be found in the LICENSE file or at
// 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 <absl/flags/declare.h>
#include <absl/flags/flag.h>
#include "packager/flag_saver.h"
#include <packager/flag_saver.h>
ABSL_DECLARE_FLAG(std::string, udp_interface_address);

View File

@ -10,8 +10,8 @@
#include <string>
#include <vector>
#include "packager/hls/public/hls_params.h"
#include "packager/mpd/base/media_info.pb.h"
#include <packager/hls/public/hls_params.h>
#include <packager/mpd/base/media_info.pb.h>
namespace shaka {
namespace hls {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// 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
@ -14,11 +14,11 @@
#include <absl/strings/str_format.h>
#include <absl/strings/str_join.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 "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 hls {

View File

@ -7,12 +7,12 @@
#include <gmock/gmock.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 "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 hls {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// 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>
@ -15,11 +15,11 @@
#include <absl/strings/numbers.h>
#include <absl/strings/str_format.h>
#include <glog/logging.h>
#include "packager/file/file.h"
#include "packager/hls/base/tag.h"
#include "packager/media/base/language_utils.h"
#include "packager/media/base/muxer_util.h"
#include "packager/version/version.h"
#include <packager/file/file.h>
#include <packager/hls/base/tag.h>
#include <packager/media/base/language_utils.h>
#include <packager/media/base/muxer_util.h>
#include <packager/version/version.h>
namespace shaka {
namespace hls {

View File

@ -13,10 +13,10 @@
#include <string>
#include <vector>
#include "packager/hls/public/hls_params.h"
#include "packager/macros.h"
#include "packager/mpd/base/bandwidth_estimator.h"
#include "packager/mpd/base/media_info.pb.h"
#include <packager/hls/public/hls_params.h>
#include <packager/macros.h>
#include <packager/mpd/base/bandwidth_estimator.h>
#include <packager/mpd/base/media_info.pb.h>
namespace shaka {

View File

@ -8,11 +8,11 @@
#include <gtest/gtest.h>
#include <absl/strings/str_format.h>
#include "packager/file/file.h"
#include "packager/file/file_closer.h"
#include "packager/file/file_test_util.h"
#include "packager/hls/base/media_playlist.h"
#include "packager/version/version.h"
#include <packager/file/file.h>
#include <packager/file/file_closer.h>
#include <packager/file/file_test_util.h>
#include <packager/hls/base/media_playlist.h>
#include <packager/version/version.h>
namespace shaka {
namespace hls {

View File

@ -4,9 +4,9 @@
// license that can be found in the LICENSE file or at
// 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 hls {

View File

@ -9,7 +9,7 @@
#include <gmock/gmock.h>
#include "packager/hls/base/media_playlist.h"
#include <packager/hls/base/media_playlist.h>
namespace shaka {
namespace hls {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// 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 <cmath>
@ -12,13 +12,13 @@
#include <absl/strings/escaping.h>
#include <absl/strings/numbers.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 <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,
enable_legacy_widevine_hls_signaling,

View File

@ -15,11 +15,11 @@
#include <absl/synchronization/mutex.h>
#include "packager/hls/base/hls_notifier.h"
#include "packager/hls/base/master_playlist.h"
#include "packager/hls/base/media_playlist.h"
#include "packager/hls/public/hls_params.h"
#include "packager/macros.h"
#include <packager/hls/base/hls_notifier.h>
#include <packager/hls/base/master_playlist.h>
#include <packager/hls/base/media_playlist.h>
#include <packager/hls/public/hls_params.h>
#include <packager/macros.h>
namespace shaka {
namespace hls {

View File

@ -12,13 +12,13 @@
#include <memory>
#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 "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);

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// 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 <inttypes.h>

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// 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>

View File

@ -7,7 +7,7 @@
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "packager/kv_pairs/kv_pairs.h"
#include <packager/kv_pairs/kv_pairs.h>
namespace shaka {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// 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 <vector>

View File

@ -12,8 +12,8 @@
#include <vector>
#include <mbedtls/cipher.h>
#include "packager/macros.h"
#include "packager/media/base/fourccs.h"
#include <packager/macros.h>
#include <packager/media/base/fourccs.h>
namespace shaka {
namespace media {

View File

@ -11,9 +11,9 @@
#include <absl/strings/escaping.h>
#include <glog/logging.h>
#include "packager/media/base/aes_decryptor.h"
#include "packager/media/base/aes_encryptor.h"
#include "packager/utils/bytes_to_string_view.h"
#include <packager/media/base/aes_decryptor.h>
#include <packager/media/base/aes_encryptor.h>
#include <packager/utils/bytes_to_string_view.h>
namespace {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#include "packager/media/base/aes_decryptor.h"
#include <packager/media/base/aes_decryptor.h>
#include <algorithm>

View File

@ -11,9 +11,9 @@
#include <vector>
#include "packager/macros.h"
#include "packager/media/base/aes_cryptor.h"
#include "packager/media/base/aes_encryptor.h"
#include <packager/macros.h>
#include <packager/media/base/aes_cryptor.h>
#include <packager/media/base/aes_encryptor.h>
namespace shaka {
namespace media {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// 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>

View File

@ -12,8 +12,8 @@
#include <string>
#include <vector>
#include "packager/macros.h"
#include "packager/media/base/aes_cryptor.h"
#include <packager/macros.h>
#include <packager/media/base/aes_cryptor.h>
namespace shaka {
namespace media {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// 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>

View File

@ -4,11 +4,11 @@
// license that can be found in the LICENSE file or at
// 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 "packager/macros.h"
#include <packager/macros.h>
namespace shaka {
namespace media {

View File

@ -8,8 +8,8 @@
#include <gtest/gtest.h>
#include <absl/strings/escaping.h>
#include "packager/media/base/aes_pattern_cryptor.h"
#include "packager/media/base/mock_aes_cryptor.h"
#include <packager/media/base/aes_pattern_cryptor.h>
#include <packager/media/base/mock_aes_cryptor.h>
using ::testing::_;
using ::testing::Invoke;

View File

@ -4,14 +4,14 @@
// license that can be found in the LICENSE file or at
// 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 <absl/strings/str_format.h>
#include <glog/logging.h>
#include "packager/macros.h"
#include "packager/media/base/limits.h"
#include <packager/macros.h>
#include <packager/media/base/limits.h>
namespace shaka {
namespace media {

View File

@ -9,7 +9,7 @@
#include <vector>
#include "packager/media/base/stream_info.h"
#include <packager/media/base/stream_info.h>
namespace shaka {
namespace media {

View File

@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// 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 "packager/media/base/timestamp.h"
#include <packager/media/base/timestamp.h>
namespace shaka {
namespace media {

View File

@ -7,7 +7,7 @@
#include <stdint.h>
#include "packager/macros.h"
#include <packager/macros.h>
namespace shaka {
namespace media {

View File

@ -6,8 +6,8 @@
#include <iterator>
#include "packager/media/base/audio_timestamp_helper.h"
#include "packager/media/base/timestamp.h"
#include <packager/media/base/audio_timestamp_helper.h>
#include <packager/media/base/timestamp.h>
namespace shaka {
namespace media {

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "packager/media/base/bit_reader.h"
#include <packager/media/base/bit_reader.h>
#include <algorithm>

View File

@ -9,7 +9,7 @@
#include <sys/types.h>
#include <glog/logging.h>
#include "packager/macros.h"
#include <packager/macros.h>
namespace shaka {
namespace media {

View File

@ -4,7 +4,7 @@
#include <gtest/gtest.h>
#include "packager/media/base/bit_reader.h"
#include <packager/media/base/bit_reader.h>
namespace shaka {
namespace media {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// 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 media {

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// 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 <gtest/gtest.h>

View File

@ -4,7 +4,7 @@
// license that can be found in the LICENSE file or at
// 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>

View File

@ -12,7 +12,7 @@
#include <string>
#include <vector>
#include "packager/macros.h"
#include <packager/macros.h>
namespace shaka {
namespace media {

View File

@ -4,11 +4,11 @@
// license that can be found in the LICENSE file or at
// 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 <glog/logging.h>
#include "packager/file/file.h"
#include <packager/file/file.h>
namespace shaka {
namespace media {

View File

@ -10,8 +10,8 @@
#include <cstdint>
#include <vector>
#include "packager/macros.h"
#include "packager/status/status.h"
#include <packager/macros.h>
#include <packager/status/status.h>
namespace shaka {

View File

@ -4,17 +4,17 @@
// license that can be found in the LICENSE file or at
// 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 <limits>
#include <memory>
#include <glog/logging.h>
#include "packager/file/file.h"
#include "packager/file/file_test_util.h"
#include "packager/media/base/buffer_reader.h"
#include "packager/status/status_test_util.h"
#include <packager/file/file.h>
#include <packager/file/file_test_util.h>
#include <packager/media/base/buffer_reader.h>
#include <packager/status/status_test_util.h>
namespace {
const int kReservedBufferCapacity = 1000;

View File

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "packager/media/base/byte_queue.h"
#include <packager/media/base/byte_queue.h>
#include <glog/logging.h>

View File

@ -9,7 +9,7 @@
#include <memory>
#include "packager/macros.h"
#include <packager/macros.h>
namespace shaka {
namespace media {

View File

@ -4,10 +4,10 @@
// license that can be found in the LICENSE file or at
// 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/text_stream_info.h"
#include <packager/media/base/stream_info.h>
#include <packager/media/base/text_stream_info.h>
namespace shaka {
namespace media {

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