Searched refs:audioDecoderIn (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/histreamer_ability_parser/ |
H A D | histreamer_ability_parser_test.cpp | 161 AudioDecoderIn audioDecoderIn; variable 163 FromJson(jsonObject, audioDecoderIn); 164 EXPECT_TRUE(audioDecoderIn.mime.empty()); 167 FromJson(jsonObject, audioDecoderIn); 169 EXPECT_EQ(AUDIO_DECODERIN_MIME, audioDecoderIn.mime); 170 EXPECT_TRUE(audioDecoderIn.channel_layout.empty()); 219 AudioDecoderIn audioDecoderIn; variable 220 audioDecoderIn.mime = AUDIO_DECODERIN_MIME; 221 audioDecoderIn.channel_layout = { 226 audioDecoder.ins.push_back(audioDecoderIn);
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/test/unittest/common/src/ |
H A D | histreamer_ability_querier_test.cpp | 376 AudioDecoderIn audioDecoderIn; variable 377 ToJson(jsonObject, audioDecoderIn); 383 FromJson(jsonObject, audioDecoderIn); 384 EXPECT_TRUE(audioDecoderIn.mime.empty()); 393 FromJson(jsonObject2, audioDecoderIn); 394 EXPECT_EQ(AUDIO_DECODERIN_MIME, audioDecoderIn.mime); 395 EXPECT_TRUE(audioDecoderIn.channel_layout.empty()); 461 AudioDecoderIn audioDecoderIn; variable 462 audioDecoderIn.mime = AUDIO_DECODERIN_MIME; 463 audioDecoderIn.channel_layout = { [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/include/ |
H A D | histreamer_ability_querier.h | 84 void ToJson(cJSON *jsonObject, const AudioDecoderIn &audioDecoderIn); 85 void FromJson(const cJSON *jsonObject, AudioDecoderIn &audioDecoderIn);
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/utils/src/ |
H A D | histreamer_ability_parser.cpp | 135 void FromJson(const cJSON *jsonObject, AudioDecoderIn &audioDecoderIn) in FromJson() argument 145 audioDecoderIn.mime = cJSON_GetObjectItem(jsonObject, MIME.c_str())->valuestring; in FromJson() 155 audioDecoderIn.channel_layout.push_back((AudioChannelLayout)layout->valuedouble); in FromJson()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/src/ |
H A D | histreamer_ability_querier.cpp | 378 void ToJson(cJSON *jsonObject, const AudioDecoderIn &audioDecoderIn) in ToJson() argument 383 cJSON_AddStringToObject(jsonObject, MIME.c_str(), audioDecoderIn.mime.c_str()); in ToJson() 388 for (auto &layout : audioDecoderIn.channel_layout) { in ToJson() 394 void FromJson(const cJSON *jsonObject, AudioDecoderIn &audioDecoderIn) in FromJson() argument 404 audioDecoderIn.mime = mimeObj->valuestring; in FromJson() 414 … audioDecoderIn.channel_layout.push_back(static_cast<AudioChannelLayout>(layoutInfo->valueint)); in FromJson()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/utils/include/ |
H A D | histreamer_ability_parser.h | 301 void FromJson(const cJSON *jsonObject, AudioDecoderIn &audioDecoderIn);
|