Searched refs:videoDecoderOut (Results 1 - 6 of 6) sorted by relevance
/foundation/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/histreamer_ability_parser/ |
H A D | histreamer_ability_parser_test.cpp | 338 * @tc.desc: Verify the FromJson(const cJSON *jsonObj, VideoDecoderOut &videoDecoderOut) function 348 VideoDecoderOut videoDecoderOut; in HWTEST_F() local 350 FromJson(jsonObject, videoDecoderOut); in HWTEST_F() 351 EXPECT_TRUE(videoDecoderOut.mime.empty()); in HWTEST_F() 354 FromJson(jsonObject, videoDecoderOut); in HWTEST_F() 356 EXPECT_EQ(VIDEO_DECODEROUT_MIME, videoDecoderOut.mime); in HWTEST_F() 357 EXPECT_TRUE(videoDecoderOut.pixel_fmt.empty()); in HWTEST_F()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/include/ |
H A D | histreamer_ability_querier.h | 140 void ToJson(cJSON *jsonObject, const VideoDecoderOut &videoDecoderOut); 141 void FromJson(const cJSON *jsonObject, VideoDecoderOut &videoDecoderOut);
|
/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 | 557 * @tc.desc: Verify the FromJson(const cJSON *jsonObject, VideoDecoderOut &videoDecoderOut) function. 565 VideoDecoderOut videoDecoderOut; in HWTEST_F() local 567 FromJson(jsonObject, videoDecoderOut); in HWTEST_F() 568 EXPECT_TRUE(videoDecoderOut.mime.empty()); in HWTEST_F() 574 FromJson(jsonObject2, videoDecoderOut); in HWTEST_F() 575 EXPECT_EQ(VIDEO_DECODEROUT_MIME, videoDecoderOut.mime); in HWTEST_F() 576 EXPECT_TRUE(videoDecoderOut.pixel_fmt.empty()); in HWTEST_F()
|
/foundation/distributedhardware/distributed_hardware_fwk/utils/src/ |
H A D | histreamer_ability_parser.cpp | 320 void FromJson(const cJSON *jsonObject, VideoDecoderOut &videoDecoderOut) in FromJson() argument 330 videoDecoderOut.mime = cJSON_GetObjectItem(jsonObject, MIME.c_str())->valuestring; in FromJson() 333 DHLOGE("videoDecoderOut VIDEO_PIXEL_FMT is invalid!"); in FromJson() 340 videoDecoderOut.pixel_fmt.push_back((VideoPixelFormat)(fmt->valuedouble)); in FromJson()
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/src/ |
H A D | histreamer_ability_querier.cpp | 828 void ToJson(cJSON *jsonObject, const VideoDecoderOut &videoDecoderOut) in ToJson() argument 833 cJSON_AddStringToObject(jsonObject, MIME.c_str(), videoDecoderOut.mime.c_str()); in ToJson() 838 for (auto &fmt : videoDecoderOut.pixel_fmt) { in ToJson() 844 void FromJson(const cJSON *jsonObject, VideoDecoderOut &videoDecoderOut) in FromJson() argument 857 videoDecoderOut.mime = mimeObj->valuestring; in FromJson() 867 videoDecoderOut.pixel_fmt.push_back(static_cast<VideoPixelFormat>(fmtInfo->valueint)); in FromJson()
|
/foundation/distributedhardware/distributed_hardware_fwk/utils/include/ |
H A D | histreamer_ability_parser.h | 345 void FromJson(const cJSON *jsonObject, VideoDecoderOut &videoDecoderOut);
|
Completed in 6 milliseconds