Home
last modified time | relevance | path

Searched refs:videoDecoderIn (Results 1 - 6 of 6) sorted by relevance

/foundation/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/histreamer_ability_parser/
H A Dhistreamer_ability_parser_test.cpp314 * @tc.desc: Verify the FromJson(const cJSON *jsonObj, VideoDecoderIn &videoDecoderIn) function
324 VideoDecoderIn videoDecoderIn; in HWTEST_F() local
326 FromJson(jsonObject, videoDecoderIn); in HWTEST_F()
327 EXPECT_TRUE(videoDecoderIn.mime.empty()); in HWTEST_F()
330 FromJson(jsonObject, videoDecoderIn); in HWTEST_F()
332 EXPECT_EQ(VIDEO_DECODERIN_MIME, videoDecoderIn.mime); in HWTEST_F()
333 EXPECT_TRUE(videoDecoderIn.vd_bit_stream_fmt.empty()); in HWTEST_F()
382 VideoDecoderIn videoDecoderIn; in HWTEST_F() local
383 videoDecoderIn.mime = VIDEO_DECODERIN_MIME; in HWTEST_F()
384 videoDecoderIn in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/test/unittest/common/src/
H A Dhistreamer_ability_querier_test.cpp532 * @tc.desc: Verify the FromJson(const cJSON *jsonObject, VideoDecoderIn &videoDecoderIn) function.
540 VideoDecoderIn videoDecoderIn; in HWTEST_F() local
542 FromJson(jsonObject, videoDecoderIn); in HWTEST_F()
543 EXPECT_TRUE(videoDecoderIn.mime.empty()); in HWTEST_F()
549 FromJson(jsonObject2, videoDecoderIn); in HWTEST_F()
550 EXPECT_EQ(VIDEO_DECODERIN_MIME, videoDecoderIn.mime); in HWTEST_F()
551 EXPECT_TRUE(videoDecoderIn.vd_bit_stream_fmt.empty()); in HWTEST_F()
603 VideoDecoderIn videoDecoderIn; in HWTEST_F() local
604 videoDecoderIn.mime = VIDEO_DECODERIN_MIME; in HWTEST_F()
605 videoDecoderIn in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/include/
H A Dhistreamer_ability_querier.h137 void ToJson(cJSON *jsonObject, const VideoDecoderIn &videoDecoderIn);
138 void FromJson(const cJSON *jsonObject, VideoDecoderIn &videoDecoderIn);
/foundation/distributedhardware/distributed_hardware_fwk/utils/src/
H A Dhistreamer_ability_parser.cpp295 void FromJson(const cJSON *jsonObject, VideoDecoderIn &videoDecoderIn) in FromJson() argument
305 videoDecoderIn.mime = cJSON_GetObjectItem(jsonObject, MIME.c_str())->valuestring; in FromJson()
315 videoDecoderIn.vd_bit_stream_fmt.push_back((VideoBitStreamFormat)(fmt->valuedouble)); in FromJson()
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/src/
H A Dhistreamer_ability_querier.cpp784 void ToJson(cJSON *jsonObject, const VideoDecoderIn &videoDecoderIn) in ToJson() argument
789 cJSON_AddStringToObject(jsonObject, MIME.c_str(), videoDecoderIn.mime.c_str()); in ToJson()
794 for (auto &fmt : videoDecoderIn.vd_bit_stream_fmt) { in ToJson()
800 void FromJson(const cJSON *jsonObject, VideoDecoderIn &videoDecoderIn) in FromJson() argument
813 videoDecoderIn.mime = mimeObj->valuestring; in FromJson()
823 videoDecoderIn.vd_bit_stream_fmt.push_back(static_cast<VideoBitStreamFormat>(fmt->valueint)); in FromJson()
/foundation/distributedhardware/distributed_hardware_fwk/utils/include/
H A Dhistreamer_ability_parser.h344 void FromJson(const cJSON *jsonObject, VideoDecoderIn &videoDecoderIn);

Completed in 6 milliseconds