Home
last modified time | relevance | path

Searched refs:audio_element_with_data (Results 1 – 25 of 30) sorted by relevance

12

/external/iamf_tools/iamf/cli/
Dtemporal_unit_view.cc53 RETURN_IF_NOT_OK(ValidateNotNull(first_audio_frame->audio_element_with_data, in ComputeTemporalUnitStatistics()
56 ValidateNotNull(first_audio_frame->audio_element_with_data->codec_config, in ComputeTemporalUnitStatistics()
59 .num_samples_per_frame = first_audio_frame->audio_element_with_data in ComputeTemporalUnitStatistics()
120 RETURN_IF_NOT_OK(ValidateNotNull(audio_frame->audio_element_with_data, in ValidateAllAudioFramesMatchStatistics()
123 ValidateNotNull(audio_frame->audio_element_with_data->codec_config, in ValidateAllAudioFramesMatchStatistics()
169 CHECK_NE(a->audio_element_with_data, nullptr); in CompareAudioElementIdAudioSubstreamId()
171 CHECK_NE(b->audio_element_with_data, nullptr); in CompareAudioElementIdAudioSubstreamId()
173 if (a->audio_element_with_data->obu.GetAudioElementId() != in CompareAudioElementIdAudioSubstreamId()
174 b->audio_element_with_data->obu.GetAudioElementId()) { in CompareAudioElementIdAudioSubstreamId()
175 return a->audio_element_with_data->obu.GetAudioElementId() < in CompareAudioElementIdAudioSubstreamId()
[all …]
DBUILD21 name = "audio_element_with_data",
22 hdrs = ["audio_element_with_data.h"],
38 ":audio_element_with_data",
60 ":audio_element_with_data",
93 ":audio_element_with_data",
115 ":audio_element_with_data",
142 ":audio_element_with_data",
174 ":audio_element_with_data",
214 ":audio_element_with_data",
280 ":audio_element_with_data",
[all …]
Dobu_with_data_generator.cc566 audio_element_with_data; in GenerateAudioElementsWithData() local
597 audio_element_with_data.emplace( in GenerateAudioElementsWithData()
607 return audio_element_with_data; in GenerateAudioElementsWithData()
612 const AudioElementWithData& audio_element_with_data, in GenerateAudioFrameWithData() argument
617 const auto audio_element_id = audio_element_with_data.obu.GetAudioElementId(); in GenerateAudioFrameWithData()
620 if (!audio_element_with_data.substream_id_to_labels.contains( in GenerateAudioFrameWithData()
628 audio_element_with_data.codec_config->GetNumSamplesPerFrame(); in GenerateAudioFrameWithData()
642 audio_element_with_data.channel_numbers_for_layers.size(), in GenerateAudioFrameWithData()
653 .audio_element_with_data = &audio_element_with_data}; in GenerateAudioFrameWithData()
Daudio_frame_decoder.cc136 .audio_element_with_data = audio_frame.audio_element_with_data, in Decode()
Dobu_processor.cc159 const auto& audio_element_with_data = *audio_element_iter->second; in GetAndStoreAudioFrameWithData() local
161 audio_element_with_data, *audio_frame_obu, global_timing_module, in GetAndStoreAudioFrameWithData()
322 for (const auto& [audio_element_id, audio_element_with_data] : in InitializeInternal()
325 audio_element_with_data.substream_id_to_labels) { in InitializeInternal()
327 {substream_id, &audio_element_with_data}); in InitializeInternal()
720 for (const auto& [unused_id, audio_element_with_data] : audio_elements_) { in InitializeForRendering()
722 audio_element_with_data.substream_id_to_labels, in InitializeForRendering()
723 *audio_element_with_data.codec_config)); in InitializeForRendering()
Daudio_frame_with_data.h48 const AudioElementWithData* audio_element_with_data; member
Daudio_frame_decoder.h51 const AudioElementWithData* audio_element_with_data; member
Dobu_with_data_generator.h68 const AudioElementWithData& audio_element_with_data,
Ddemixing_module.cc626 if (decoded_audio_frame.audio_element_with_data == nullptr) { in PassThroughReconGainData()
632 &decoded_audio_frame.audio_element_with_data->obu.config_); in PassThroughReconGainData()
821 for (const auto& [audio_element_id, audio_element_with_data] : in CreateForReconstruction()
824 LookupLabelsToReconstruct(audio_element_with_data.obu); in CreateForReconstruction()
834 *labels_to_reconstruct, audio_element_with_data.substream_id_to_labels, in CreateForReconstruction()
835 audio_element_with_data.label_to_output_gain, iter->second)); in CreateForReconstruction()
/external/iamf_tools/iamf/cli/proto_conversion/proto_to_obu/
Daudio_frame_generator.cc104 const AudioElementWithData& audio_element_with_data, in GetEncodingDataAndInitializeEncoders() argument
108 audio_element_with_data.substream_id_to_labels) { in GetEncodingDataAndInitializeEncoders()
111 *audio_element_with_data.codec_config; in GetEncodingDataAndInitializeEncoders()
378 const AudioElementWithData& audio_element_with_data, in MaybeEncodeFramesForAudioElement() argument
398 const CodecConfigObu& codec_config = *audio_element_with_data.codec_config; in MaybeEncodeFramesForAudioElement()
436 audio_element_with_data.substream_id_to_labels, in MaybeEncodeFramesForAudioElement()
442 audio_element_with_data.substream_id_to_labels) { in MaybeEncodeFramesForAudioElement()
523 .audio_element_with_data = &audio_element_with_data}); in MaybeEncodeFramesForAudioElement()
616 CHECK_NE(audio_frame.audio_element_with_data, nullptr); in ValidateAndApplyUserTrimming()
617 CHECK_NE(audio_frame.audio_element_with_data->codec_config, nullptr); in ValidateAndApplyUserTrimming()
[all …]
DBUILD31 "//iamf/cli:audio_element_with_data",
62 "//iamf/cli:audio_element_with_data",
170 "//iamf/cli:audio_element_with_data",
/external/iamf_tools/iamf/cli/proto_conversion/
Ddownmixing_reconstruction_util.cc55 const auto& audio_element_with_data = audio_element->second; in CreateAudioElementIdToDemixingMetadata() local
57 audio_element_with_data.substream_id_to_labels, in CreateAudioElementIdToDemixingMetadata()
58 audio_element_with_data.label_to_output_gain}; in CreateAudioElementIdToDemixingMetadata()
DBUILD41 "//iamf/cli:audio_element_with_data",
/external/iamf_tools/iamf/cli/tests/
Daudio_frame_decoder_test.cc75 .audio_element_with_data = &audio_elements.at(kAudioElementId),
125 for (const auto& [audio_element_id, audio_element_with_data] : in InitAllAudioElements()
128 audio_element_with_data.substream_id_to_labels, in InitAllAudioElements()
129 *audio_element_with_data.codec_config), in InitAllAudioElements()
153 EXPECT_EQ(decoded_audio_frame->audio_element_with_data, in TEST()
191 EXPECT_EQ(decoded_audio_frame->audio_element_with_data, in TEST()
DBUILD24 "//iamf/cli:audio_element_with_data",
70 "//iamf/cli:audio_element_with_data",
120 "//iamf/cli:audio_element_with_data",
147 "//iamf/cli:audio_element_with_data",
201 "//iamf/cli:audio_element_with_data",
233 "//iamf/cli:audio_element_with_data",
272 "//iamf/cli:audio_element_with_data",
309 "//iamf/cli:audio_element_with_data",
341 "//iamf/cli:audio_element_with_data",
370 "//iamf/cli:audio_element_with_data",
[all …]
Dobu_processor_test.cc2173 .audio_element_with_data = common_audio_element_with_data, in RenderOneSampleFoaToStereoWavExpectOk()
2252 .audio_element_with_data = common_audio_element_with_data, in TEST()
2259 .audio_element_with_data = common_audio_element_with_data, in TEST()
2266 .audio_element_with_data = common_audio_element_with_data, in TEST()
2273 .audio_element_with_data = common_audio_element_with_data, in TEST()
2362 .audio_element_with_data = in TEST()
2432 .audio_element_with_data = in TEST()
2504 .audio_element_with_data = in TEST()
2549 .audio_element_with_data = in TEST()
2557 .audio_element_with_data = in TEST()
[all …]
Dtemporal_unit_view_test.cc91 .audio_element_with_data = &audio_elements.at(audio_element_id)}); in AddEmptyAudioFrameWithAudioElementIdSubstreamIdAndTimestamps()
438 audio_frames.back().audio_element_with_data = nullptr; in TEST()
/external/iamf_tools/iamf/cli/proto_conversion/proto_to_obu/tests/
Daudio_element_generator_test.cc506 const auto& audio_element_with_data = output_obus_.at(kAudioElementId); in TEST_F() local
507 EXPECT_EQ(audio_element_with_data.substream_id_to_labels, in TEST_F()
509 EXPECT_EQ(audio_element_with_data.channel_numbers_for_layers, in TEST_F()
511 ASSERT_TRUE(audio_element_with_data.label_to_output_gain.contains(kL2)); in TEST_F()
512 EXPECT_FLOAT_EQ(audio_element_with_data.label_to_output_gain.at(kL2), in TEST_F()
DBUILD21 "//iamf/cli:audio_element_with_data",
42 "//iamf/cli:audio_element_with_data",
136 "//iamf/cli:audio_element_with_data",
Dparameter_block_generator_test.cc385 AudioElementWithData& audio_element_with_data) { in PrepareAudioElementWithDataForReconGain() argument
386 audio_element_with_data.channel_numbers_for_layers = { in PrepareAudioElementWithDataForReconGain()
393 auto& audio_element_obu = audio_element_with_data.obu; in PrepareAudioElementWithDataForReconGain()
/external/iamf_tools/iamf/cli/codec/tests/
Dencoder_base_test.cc119 .audio_element_with_data = nullptr, in TEST()
137 EXPECT_EQ(only_frame.audio_element_with_data, nullptr); in TEST()
/external/iamf_tools/iamf/api/decoder/tests/
DBUILD26 "//iamf/cli:audio_element_with_data",
/external/iamf_tools/iamf/cli/proto_conversion/tests/
DBUILD19 "//iamf/cli:audio_element_with_data",
/external/iamf_tools/iamf/cli/renderer/tests/
DBUILD8 "//iamf/cli:audio_element_with_data",
/external/iamf_tools/iamf/cli/renderer/
DBUILD12 "//iamf/cli:audio_element_with_data",

12