Skip to content

Commit 067446d

Browse files
committed
Add test files 802, 803, 804, 805
PiperOrigin-RevId: 843890184
1 parent 15b8a88 commit 067446d

File tree

6 files changed

+3214
-1
lines changed

6 files changed

+3214
-1
lines changed

iamf/cli/testdata/test_000801.textproto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ test_vector_metadata {
2525
"3.6.4/objects_config",
2626
"3.7.3.1/rendering_config_ with cartesian_8_param_definition"
2727
]
28-
base_test: "test_001016"
28+
base_test: "test_000800"
2929
partition_mix_gain_parameter_blocks: false
3030
}
3131

Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
# Copyright (c) 2025, Alliance for Open Media. All rights reserved
2+
#
3+
# This source code is subject to the terms of the BSD 3-Clause Clear License
4+
# and the Alliance for Open Media Patent License 1.0. If the BSD 3-Clause Clear
5+
# License was not distributed with this source code in the LICENSE file, you
6+
# can obtain it at www.aomedia.org/license/software-license/bsd-3-c-c. If the
7+
# Alliance for Open Media Patent License 1.0 was not distributed with this
8+
# source code in the PATENTS file, you can obtain it at
9+
# www.aomedia.org/license/patent.
10+
11+
# proto-file: iamf/cli/proto/user_metadata.proto
12+
# proto-message: UserMetadata
13+
14+
test_vector_metadata {
15+
human_readable_description: "A Base-Advanced Profile Stream with a Cartesian 16 Object"
16+
file_name_prefix: "test_000802"
17+
is_valid: true
18+
is_valid_to_decode: true
19+
validate_user_loudness: false
20+
mp4_fixed_timestamp: "2025-12-09 00:00:00"
21+
test_repository_tags: [
22+
"github/aomediacodec/libiamf/main"
23+
]
24+
primary_tested_spec_sections: [
25+
"3.6.4/objects_config",
26+
"3.7.3.1/rendering_config_ with cartesian_16_param_definition"
27+
]
28+
base_test: "test_000800"
29+
partition_mix_gain_parameter_blocks: false
30+
}
31+
32+
encoder_control_metadata {
33+
add_build_information_tag: false
34+
output_rendered_file_format: OUTPUT_FORMAT_WAV_BIT_DEPTH_AUTOMATIC
35+
}
36+
37+
ia_sequence_header_metadata {
38+
primary_profile: PROFILE_VERSION_BASE_ADVANCED
39+
additional_profile: PROFILE_VERSION_BASE_ADVANCED
40+
}
41+
42+
codec_config_metadata {
43+
codec_config_id: 200
44+
codec_config {
45+
codec_id: CODEC_ID_LPCM
46+
num_samples_per_frame: 1024
47+
audio_roll_distance: 0
48+
decoder_config_lpcm {
49+
sample_format_flags: LPCM_LITTLE_ENDIAN
50+
sample_size: 16
51+
sample_rate: 48000
52+
}
53+
}
54+
}
55+
56+
audio_element_metadata {
57+
audio_element_id: 300
58+
audio_element_type: AUDIO_ELEMENT_OBJECT_BASED
59+
reserved: 0
60+
codec_config_id: 200
61+
audio_substream_ids: [0]
62+
objects_config {
63+
num_objects: 1
64+
}
65+
}
66+
67+
mix_presentation_metadata {
68+
mix_presentation_id: 42
69+
annotations_language: ["en-us"]
70+
localized_presentation_annotations: ["test_mix_pres"]
71+
sub_mixes {
72+
audio_elements {
73+
audio_element_id: 300
74+
localized_element_annotations: ["test_sub_mix_0_audio_element_0"]
75+
rendering_config {
76+
headphones_rendering_mode: HEADPHONES_RENDERING_MODE_STEREO
77+
rendering_config_param_definitions {
78+
param_definition_type: PARAM_DEFINITION_TYPE_CART_16
79+
cart16_param_definition {
80+
param_definition {
81+
parameter_id: 1
82+
parameter_rate: 48000
83+
param_definition_mode: 1
84+
}
85+
default_x: 1
86+
default_y: 2
87+
default_z: 3
88+
}
89+
}
90+
}
91+
element_mix_gain {
92+
param_definition {
93+
parameter_id: 100
94+
parameter_rate: 48000
95+
param_definition_mode: 1
96+
reserved: 0
97+
}
98+
default_mix_gain: -768 # -3 dB.
99+
}
100+
}
101+
output_mix_gain {
102+
param_definition {
103+
parameter_id: 101
104+
parameter_rate: 48000
105+
param_definition_mode: 1
106+
reserved: 0
107+
}
108+
default_mix_gain: 0 # 0 dB.
109+
}
110+
layouts {
111+
loudness_layout {
112+
layout_type: LAYOUT_TYPE_LOUDSPEAKERS_SS_CONVENTION
113+
ss_layout {
114+
sound_system: SOUND_SYSTEM_A_0_2_0
115+
reserved: 0
116+
}
117+
}
118+
loudness {
119+
info_type_bit_masks: []
120+
}
121+
}
122+
layouts {
123+
loudness_layout {
124+
layout_type: LAYOUT_TYPE_LOUDSPEAKERS_SS_CONVENTION
125+
ss_layout {
126+
sound_system: SOUND_SYSTEM_11_2_3_0
127+
reserved: 0
128+
}
129+
}
130+
loudness {
131+
info_type_bit_masks: []
132+
}
133+
}
134+
}
135+
136+
}
137+
138+
audio_frame_metadata {
139+
samples_to_trim_at_end_includes_padding: false
140+
samples_to_trim_at_start_includes_codec_delay: false
141+
wav_filename: "dialog_clip_stereo.wav"
142+
audio_element_id: 300
143+
channel_metadatas: [
144+
{ channel_id: 0 channel_label: CHANNEL_LABEL_OBJECT_CHANNEL0 }
145+
]
146+
}
147+
148+
temporal_delimiter_metadata {
149+
enable_temporal_delimiters: false
150+
}

0 commit comments

Comments
 (0)