Searched refs:audioDecoderOut (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 | 185 AudioDecoderOut audioDecoderOut; variable 187 FromJson(jsonObject, audioDecoderOut); 188 EXPECT_TRUE(audioDecoderOut.mime.empty()); 191 FromJson(jsonObject, audioDecoderOut); 193 EXPECT_EQ(AUDIO_DECODEROUT_MIME, audioDecoderOut.mime); 194 EXPECT_TRUE(audioDecoderOut.sample_fmt.empty());
|
/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 | 408 AudioDecoderOut audioDecoderOut; variable 409 ToJson(jsonObject, audioDecoderOut); 415 FromJson(jsonObject, audioDecoderOut); 416 EXPECT_TRUE(audioDecoderOut.mime.empty()); 425 FromJson(jsonObject2, audioDecoderOut); 426 EXPECT_EQ(AUDIO_DECODEROUT_MIME, audioDecoderOut.mime); 427 EXPECT_TRUE(audioDecoderOut.sample_fmt.empty());
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/include/ |
H A D | histreamer_ability_querier.h | 87 void ToJson(cJSON *jsonObject, const AudioDecoderOut &audioDecoderOut); 88 void FromJson(const cJSON *jsonObject, AudioDecoderOut &audioDecoderOut);
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/utils/src/ |
H A D | histreamer_ability_parser.cpp | 160 void FromJson(const cJSON *jsonObject, AudioDecoderOut &audioDecoderOut) in FromJson() argument 170 audioDecoderOut.mime = cJSON_GetObjectItem(jsonObject, MIME.c_str())->valuestring; in FromJson() 179 audioDecoderOut.sample_fmt.push_back((AudioSampleFormat)format->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 | 419 void ToJson(cJSON *jsonObject, const AudioDecoderOut &audioDecoderOut) in ToJson() argument 424 cJSON_AddStringToObject(jsonObject, MIME.c_str(), audioDecoderOut.mime.c_str()); in ToJson() 429 for (auto &sampleFormat : audioDecoderOut.sample_fmt) { in ToJson() 435 void FromJson(const cJSON *jsonObject, AudioDecoderOut &audioDecoderOut) in FromJson() argument 445 audioDecoderOut.mime = mimeObj->valuestring; in FromJson() 456 … audioDecoderOut.sample_fmt.push_back(static_cast<AudioSampleFormat>(sampleInfo->valueint)); in FromJson()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/utils/include/ |
H A D | histreamer_ability_parser.h | 302 void FromJson(const cJSON *jsonObject, AudioDecoderOut &audioDecoderOut);
|