Skip to content

Commit

Permalink
Add test_repository_tags to test vector metadata.
Browse files Browse the repository at this point in the history
  - Used to help scripts determine which test vectors belong in which branches and their related coverage reports.
  - All test vectors are labeled with "github/aomediacodec/libiamf/main" and "github/aomediacodec/libiamf/v1.0.0-errata" in preparation for branching.
    - Except `test_000600` which OK to be published in `iamf-tools`, but is being held back from `libiamf` until the rest of the test set is ready.

PiperOrigin-RevId: 662907512
  • Loading branch information
jwcullen committed Aug 14, 2024
1 parent ca1096b commit a104c1c
Show file tree
Hide file tree
Showing 177 changed files with 715 additions and 0 deletions.
12 changes: 12 additions & 0 deletions iamf/cli/proto/test_vector_metadata.proto
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,18 @@ message TestVectorMetadata {
optional bool is_valid_to_decode = 14 [default = true];
optional string mp4_fixed_timestamp = 4;
reserved 5;
// Tags to identify the repository this test vector belongs to. A repository
// could be a git branch or it could refer to some other way to organize a
// test suite.
//
// Some canonical tags are used to identify which GitHub branch(es) the test
// vector should be synchronized with.
//
// `github/aomediacodec/libiamf/main`: Used on the `main` branch of
// https://github.com/AOMediaCodec/libiamf
// `github/aomediacodec/libiamf/v1.0.0-errata`: Used on the `v1.0.0-errata`
// branch of https://github.com/AOMediaCodec/libiamf
repeated string test_repository_tags = 15;
repeated string primary_tested_spec_sections = 6;
optional string base_test = 7;
optional int32 ms_per_fragment = 8 [default = 10000];
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000000_3.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ test_vector_metadata {
is_valid_to_decode: false
validate_user_loudness: true
mp4_fixed_timestamp: "2023-04-06 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.2/num_samples_to_trim_at_end",
"3.4/IA Sequence Header OBU Syntax and Semantics",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000002.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-04-19 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.8/Parameter Block OBU Syntax and Semantics",
"3.8.1/animation_type == STEP",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000003.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-04-19 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.2/num_samples_to_trim_at_end",
"3.6.2/num_layers",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000005.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-04-19 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: ["3.2/num_samples_to_trim_at_end"]
base_test: "test_000002"
}
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000006.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-04-19 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.4/IA Sequence Header OBU Syntax and Semantics",
"3.10/Codec Specific",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000007.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: false
validate_user_loudness: true
mp4_fixed_timestamp: "2023-04-19 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: ["3.4/ia_code"]
base_test: "test_000005"
}
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000012.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-04-19 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: ["3.2/num_samples_to_trim_at_end"]
base_test: "test_000005"
}
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000013.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-04-19 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: ["3.2/num_samples_to_trim_at_end"]
base_test: "test_000005"
}
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000014.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: false
validate_user_loudness: true
mp4_fixed_timestamp: "2023-04-19 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.9/Audio Frame OBU Syntax and Semantics",
"3.11.1/pre_skip"
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000015.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-04-19 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: ["3.8/parameter_id"]
base_test: "test_000005"
}
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000016.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ test_vector_metadata {
is_valid_to_decode: false
validate_user_loudness: true
mp4_fixed_timestamp: "2023-04-19 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.5/num_samples_per_frame",
"3.6.1/param_definition_mode",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000017.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-04-19 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.2/num_samples_to_trim_at_end",
"3.5/num_samples_per_frame"
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000018.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-04-19 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: ["3.1/obu_type", "3.9/explicit_audio_substream_id"]
base_test: "test_000005"
}
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000019.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-04-19 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: ["3.8/Parameter Block OBU Syntax and Semantics"]
base_test: "test_000005"
}
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000020.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.5/audio_roll_distance",
"3.9/Audio Frame OBU Syntax and Semantics",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000021.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.5/audio_roll_distance",
"3.9/Audio Frame OBU Syntax and Semantics",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000022.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: false
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.5/audio_roll_distance",
"3.9/Audio Frame OBU Syntax and Semantics",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000023.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.2/num_samples_to_trim_at_start",
"3.9/Audio Frame OBU Syntax and Semantics",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000024.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.5/audio_roll_distance",
"3.9/Audio Frame OBU Syntax and Semantics",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000025.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: false
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.9/Audio Frame OBU Syntax and Semantics",
"3.11.1/version"
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000026.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.9/Audio Frame OBU Syntax and Semantics",
"3.11.1/output_channel_count"
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000027.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: false
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.9/Audio Frame OBU Syntax and Semantics",
"3.11.1/output_gain"
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000028.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: false
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.9/Audio Frame OBU Syntax and Semantics",
"3.11.1/channel_mapping_family"
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000029.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: ["3.11.4/sample_rate"]
base_test: "test_000005"
}
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000030.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: ["3.11.4/sample_rate"]
base_test: "test_000029"
}
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000031.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.9/Audio Frame OBU Syntax and Semantics",
"3.11.4/sample_size"
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000032.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.9/Audio Frame OBU Syntax and Semantics",
"3.11.1/OPUS Specific",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000033.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.9/Audio Frame OBU Syntax and Semantics",
"3.11.1/OPUS Specific",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000034.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.9/Audio Frame OBU Syntax and Semantics",
"3.11.1/OPUS Specific",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000035.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-05 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.9/Audio Frame OBU Syntax and Semantics",
"3.11.1/OPUS Specific",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000036.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-12 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.6.2/channel_audio_layer_config",
"3.6.2/loudspeaker_layout == Stereo",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000037.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-12 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: ["6/ISOBMFF IAMF Encapsulation"]
base_test: "test_000020"
output_wav_file_bit_depth_override: 16
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000038.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-12 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.6.3/ambisonics_mono_config",
"3.7.3/headphones_rendering_mode == 0",
Expand Down
4 changes: 4 additions & 0 deletions iamf/cli/testdata/test_000039.textproto
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ test_vector_metadata {
is_valid_to_decode: true
validate_user_loudness: true
mp4_fixed_timestamp: "2023-05-12 00:00:00"
test_repository_tags: [
"github/aomediacodec/libiamf/main",
"github/aomediacodec/libiamf/v1.0.0-errata"
]
primary_tested_spec_sections: [
"3.6.3/ambisonics_mono_config",
"7/IAMF Processing",
Expand Down
Loading

0 comments on commit a104c1c

Please sign in to comment.