shaka-packager/packager/media/base
Joey Parrish 0295ef182b
chore: Refactor public headers and macros (#1275)
This organizes all public headers for the library into
include/  and makes sure then don't rely on any headers from
other folders.

To accomplish this, this change also refactors macros.h,
media/base/macros.h, and status/status_macros.h into macros/classes.h,
macros/compiler.h, macros/crypto.h, macros/logging.h, macros/status.h,
and public/export.h.  Now the export macros from macros.h live in
include/ to keep include/ from requiring anything else.

This refactor enables an install target that includes public headers
only.

---------

Co-authored-by: Cosmin Stejerean <cstejerean@meta.com>
2023-10-14 09:36:01 -07:00
..
test chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
CMakeLists.txt feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
aes_cryptor.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
aes_cryptor.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
aes_cryptor_unittest.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
aes_decryptor.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
aes_decryptor.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
aes_encryptor.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
aes_encryptor.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
aes_pattern_cryptor.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
aes_pattern_cryptor.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
aes_pattern_cryptor_unittest.cc style: Sort headers to comply with the style guide (#1273) 2023-10-11 16:49:50 +08:00
audio_stream_info.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
audio_stream_info.h style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
audio_timestamp_helper.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
audio_timestamp_helper.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
audio_timestamp_helper_unittest.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
bit_reader.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
bit_reader.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
bit_reader_unittest.cc style: Sort headers to comply with the style guide (#1273) 2023-10-11 16:49:50 +08:00
bit_writer.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
bit_writer.h feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
bit_writer_unittest.cc style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
buffer_reader.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
buffer_reader.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
buffer_writer.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
buffer_writer.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
buffer_writer_unittest.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
byte_queue.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
byte_queue.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
cc_stream_filter.cc style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
cc_stream_filter.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
common_pssh_generator.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
common_pssh_generator.h style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
container_names.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
container_names.h style: Sort headers to comply with the style guide (#1273) 2023-10-11 16:49:50 +08:00
container_names_unittest.cc style: Sort headers to comply with the style guide (#1273) 2023-10-11 16:49:50 +08:00
decrypt_config.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
decrypt_config.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
decryptor_source.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
decryptor_source.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
decryptor_source_unittest.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
encryption_config.h style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
fourccs.h Merge branch 'main' into cmake 2023-08-04 22:23:26 -07:00
http_key_fetcher.cc style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
http_key_fetcher.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
http_key_fetcher_unittest.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
id3_tag.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
id3_tag.h fix: Fix compilation on Arch Linux (#1233) 2023-07-14 12:40:12 -07:00
id3_tag_unittest.cc style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
key_fetcher.cc style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
key_fetcher.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
key_source.cc style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
key_source.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
language_utils.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
language_utils.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
limits.h Clean up #ifndef in packager/media. (#310) 2017-12-19 16:56:36 -08:00
media_handler.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
media_handler.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
media_handler_test_base.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
media_handler_test_base.h style: Sort headers to comply with the style guide (#1273) 2023-10-11 16:49:50 +08:00
media_parser.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
media_sample.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
media_sample.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
mock_aes_cryptor.h style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
muxer.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
muxer.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
muxer_options.cc style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
muxer_options.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
muxer_util.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
muxer_util.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
muxer_util_unittest.cc style: Sort headers to comply with the style guide (#1273) 2023-10-11 16:49:50 +08:00
offset_byte_queue.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
offset_byte_queue.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
offset_byte_queue_unittest.cc style: Sort headers to comply with the style guide (#1273) 2023-10-11 16:49:50 +08:00
playready_key_source.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
playready_key_source.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
playready_pssh_generator.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
playready_pssh_generator.h style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
producer_consumer_queue.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
producer_consumer_queue_unittest.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
protection_system_ids.h Support Marlin DRM signaling in DASH 2018-10-01 20:22:58 +00:00
protection_system_specific_info.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
protection_system_specific_info.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
protection_system_specific_info_unittest.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
proto_json_util.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
proto_json_util.h Remove the usage of JsonWriter in SimpleHlsNotifier 2018-05-15 20:06:54 +00:00
pssh_generator.cc style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
pssh_generator.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
pssh_generator_unittest.cc style: Sort headers to comply with the style guide (#1273) 2023-10-11 16:49:50 +08:00
pssh_generator_util.cc style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
pssh_generator_util.h chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
range.h style: Sort headers to comply with the style guide (#1273) 2023-10-11 16:49:50 +08:00
raw_key_source.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
raw_key_source.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
raw_key_source_unittest.cc style: Sort headers to comply with the style guide (#1273) 2023-10-11 16:49:50 +08:00
rcheck.h feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
request_signer.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
request_signer.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
rsa_key.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
rsa_key.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
rsa_key_unittest.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
stream_info.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
stream_info.h style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
text_muxer.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
text_muxer.h style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
text_sample.cc feat: Replace glog with absl::log (#1274) 2023-10-13 12:42:47 -07:00
text_sample.h style: Sort headers to comply with the style guide (#1273) 2023-10-11 16:49:50 +08:00
text_stream_info.cc style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
text_stream_info.h style: Sort headers to comply with the style guide (#1273) 2023-10-11 16:49:50 +08:00
text_track.h feat: port media/formats/webm to CMake (#1147) 2022-12-16 21:40:00 -08:00
text_track_config.cc style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
text_track_config.h Rename top level namespace to shaka 2016-05-24 21:55:55 +00:00
timestamp.h style: Sort headers to comply with the style guide (#1273) 2023-10-11 16:49:50 +08:00
video_stream_info.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
video_stream_info.h style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
video_util.cc style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
video_util.h style: Sort headers to comply with the style guide (#1273) 2023-10-11 16:49:50 +08:00
video_util_unittest.cc style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00
widevine_common_encryption.proto Add a flag --video_feature for Widevine 2019-04-16 07:55:08 -07:00
widevine_key_source.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
widevine_key_source.h chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
widevine_key_source_unittest.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
widevine_pssh_data.proto chore: Mass-update copyright headers (#1086) 2022-08-26 08:44:59 -07:00
widevine_pssh_generator.cc chore: Refactor public headers and macros (#1275) 2023-10-14 09:36:01 -07:00
widevine_pssh_generator.h style: Use angle-brackets for all internal headers (#1271) 2023-10-11 07:51:11 +08:00