From 91f2f1f9b939342dd37bc11b968d59bbad57edd8 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 18 Nov 2015 22:17:48 +0100 Subject: [PATCH] id_info: annotate identifiers with their scope --- src/common/id_info.h | 82 ++++++++++++++++++++++---------------------- 1 file changed, 41 insertions(+), 41 deletions(-) diff --git a/src/common/id_info.h b/src/common/id_info.h index 0c29c7071..549a2bcba 100644 --- a/src/common/id_info.h +++ b/src/common/id_info.h @@ -19,47 +19,47 @@ namespace mtx { namespace id { -char const * const aac_is_sbr = "aac_is_sbr"; // ascii-string format:^(true|unknown)$ -char const * const audio_bits_per_sample = "audio_bits_per_sample"; // unsigned-integer -char const * const audio_channels = "audio_channels"; // unsigned-integer -char const * const audio_output_sampling_frequency = "audio_output_sampling_frequency"; // unsigned-integer -char const * const audio_sampling_frequency = "audio_sampling_frequency"; // unsigned-integer -char const * const codec_id = "codec_id"; // unicoode-string -char const * const codec_private_data = "codec_private_data"; // binary -char const * const codec_private_length = "codec_private_length"; // unsigned-integer -char const * const content_encoding_algorithms = "content_encoding_algorithms"; // ascii-string -char const * const cropping = "cropping"; // ascii-string format: -char const * const default_duration = "default_duration"; // unsigned-integer -char const * const default_track = "default_track"; // boolean -char const * const display_dimensions = "display_dimensions"; // ascii-string format:^\d+x\d+$ -char const * const duration = "duration"; // unsigned-integer -char const * const enabled_track = "enabled_track"; // boolean -char const * const forced_track = "forced_track"; // boolean -char const * const language = "language"; // ascii-string format:^\w{3}$ -char const * const mpeg4_p10_es_video = "mpeg4_p10_es_video"; // boolean -char const * const mpeg4_p10_video = "mpeg4_p10_video"; // boolean -char const * const mpegh_p2_es_video = "mpegh_p2_es_video"; // boolean -char const * const mpegh_p2_video = "mpegh_p2_video"; // boolean -char const * const next_segment_uid = "next_segment_uid"; // ascii-string format:^[0-9A-F]{32}$ -char const * const number = "number"; // unsigned-integer -char const * const other_file = "other_file"; // unicoode-string -char const * const packetizer = "packetizer"; // unicoode-string -char const * const pixel_dimensions = "pixel_dimensions"; // ascii-string format:^\d+x\d+$ -char const * const playlist = "playlist"; // boolean -char const * const playlist_chapters = "playlist_chapters"; // unsigned-integer -char const * const playlist_duration = "playlist_duration"; // unsigned-integer -char const * const playlist_file = "playlist_file"; // uinstr -char const * const playlist_size = "playlist_size"; // unsigned-integer -char const * const previous_segment_uid = "previous_segment_uid"; // ascii-string format:^[0-9A-F]{32}$ -char const * const segment_uid = "segment_uid"; // ascii-string format:^[0-9A-F]{32}$ -char const * const stereo_mode = "stereo_mode"; // unsigned-integer -char const * const stream_id = "stream_id"; // unsigned-integer -char const * const sub_stream_id = "sub_stream_id"; // unsigned-integer -char const * const text_subtitles = "text_subtitles"; // boolean -char const * const title = "title"; // unicoode-string -char const * const track_name = "track_name"; // unicoode-string -char const * const ts_pid = "ts_pid"; // unsigned-integer -char const * const uid = "uid"; // unsigned-integer +char const * const aac_is_sbr = "aac_is_sbr"; // track ascii-string format:^(true|unknown)$ +char const * const audio_bits_per_sample = "audio_bits_per_sample"; // track unsigned-integer +char const * const audio_channels = "audio_channels"; // track unsigned-integer +char const * const audio_output_sampling_frequency = "audio_output_sampling_frequency"; // track unsigned-integer +char const * const audio_sampling_frequency = "audio_sampling_frequency"; // track unsigned-integer +char const * const codec_id = "codec_id"; // track unicoode-string +char const * const codec_private_data = "codec_private_data"; // track binary +char const * const codec_private_length = "codec_private_length"; // track unsigned-integer +char const * const content_encoding_algorithms = "content_encoding_algorithms"; // track ascii-string +char const * const cropping = "cropping"; // track ascii-string format: +char const * const default_duration = "default_duration"; // track unsigned-integer +char const * const default_track = "default_track"; // track boolean +char const * const display_dimensions = "display_dimensions"; // track ascii-string format:^\d+x\d+$ +char const * const duration = "duration"; // container unsigned-integer +char const * const enabled_track = "enabled_track"; // track boolean +char const * const forced_track = "forced_track"; // track boolean +char const * const language = "language"; // track ascii-string format:^\w{3}$ +char const * const mpeg4_p10_es_video = "mpeg4_p10_es_video"; // track boolean +char const * const mpeg4_p10_video = "mpeg4_p10_video"; // track boolean +char const * const mpegh_p2_es_video = "mpegh_p2_es_video"; // track boolean +char const * const mpegh_p2_video = "mpegh_p2_video"; // track boolean +char const * const next_segment_uid = "next_segment_uid"; // container ascii-string format:^[0-9A-F]{32}$ +char const * const number = "number"; // container unsigned-integer +char const * const other_file = "other_file"; // container unicoode-string +char const * const packetizer = "packetizer"; // track unicoode-string +char const * const pixel_dimensions = "pixel_dimensions"; // track ascii-string format:^\d+x\d+$ +char const * const playlist = "playlist"; // container boolean +char const * const playlist_chapters = "playlist_chapters"; // container unsigned-integer +char const * const playlist_duration = "playlist_duration"; // container unsigned-integer +char const * const playlist_file = "playlist_file"; // container uinstr +char const * const playlist_size = "playlist_size"; // container unsigned-integer +char const * const previous_segment_uid = "previous_segment_uid"; // container ascii-string format:^[0-9A-F]{32}$ +char const * const segment_uid = "segment_uid"; // container ascii-string format:^[0-9A-F]{32}$ +char const * const stereo_mode = "stereo_mode"; // track unsigned-integer +char const * const stream_id = "stream_id"; // track unsigned-integer +char const * const sub_stream_id = "sub_stream_id"; // track unsigned-integer +char const * const text_subtitles = "text_subtitles"; // track boolean +char const * const title = "title"; // container unicoode-string +char const * const track_name = "track_name"; // track unicoode-string +char const * const ts_pid = "ts_pid"; // track unsigned-integer +char const * const uid = "uid"; // track attachments unsigned-integer using verbose_info_t = std::vector>;