Home
last modified time | relevance | path

Searched refs:videoParam (Results 1 - 19 of 19) sorted by relevance

/foundation/distributedhardware/distributed_screen/services/common/utils/src/
H A Dvideo_param.cpp105 void to_json(json &j, const DistributedHardware::VideoParam &videoParam) in to_json() argument
108 {KEY_SCREEN_WIDTH, videoParam.screenWidth_}, in to_json()
109 {KEY_SCREEN_HEIGHT, videoParam.screenHeight_}, in to_json()
110 {KEY_VIDEO_WIDTH, videoParam.videoWidth_}, in to_json()
111 {KEY_VIDEO_HEIGHT, videoParam.videoHeight_}, in to_json()
112 {KEY_FPS, videoParam.fps_}, in to_json()
113 {KEY_CODECTYPE, videoParam.codecType_}, in to_json()
114 {KEY_COLOR_FORMAT, videoParam.videoFormat_}, in to_json()
115 {KEY_PARTIALREFRESH, videoParam.isPartialRefresh_} in to_json()
119 void from_json(const json &j, DistributedHardware::VideoParam &videoParam) in from_json() argument
[all...]
/foundation/distributedhardware/distributed_screen/services/common/test/unittest/utils/
H A Dvideo_param_test.cpp86 std::shared_ptr<VideoParam> videoParam = std::make_shared<VideoParam>(); in HWTEST_F() local
87 videoParam->isPartialRefresh_ = false; in HWTEST_F()
88 videoParam->SetPartialRefreshFlag(true); in HWTEST_F()
89 EXPECT_TRUE(videoParam->isPartialRefresh_); in HWTEST_F()
161 VideoParam videoParam; in HWTEST_F() local
162 videoParam.SetScreenWidth(VIDEO_DATA_NUM); in HWTEST_F()
163 videoParam.SetScreenHeight(VIDEO_DATA_NUM); in HWTEST_F()
164 videoParam.SetVideoWidth(VIDEO_DATA_NUM); in HWTEST_F()
165 videoParam.SetVideoHeight(VIDEO_DATA_NUM); in HWTEST_F()
166 videoParam in HWTEST_F()
193 VideoParam videoParam; HWTEST_F() local
[all...]
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sourceservice/dscreenmgr/1.0/src/
H A Dscreen_manager_adapter_test.cpp74 std::shared_ptr<VideoParam> videoParam = nullptr; in HWTEST_F() local
75 uint64_t ret = ScreenMgrAdapter::GetInstance().CreateVirtualScreen(devId, dhId, videoParam); in HWTEST_F()
89 std::shared_ptr<VideoParam> videoParam = std::make_shared<VideoParam>(); in HWTEST_F() local
93 uint64_t ret = ScreenMgrAdapter::GetInstance().CreateVirtualScreen(devId, dhId, videoParam); in HWTEST_F()
108 std::shared_ptr<VideoParam> videoParam = std::make_shared<VideoParam>(); in HWTEST_F() local
109 uint64_t ret = ScreenMgrAdapter::GetInstance().CreateVirtualScreen(devId, dhId, videoParam); in HWTEST_F()
112 ret = ScreenMgrAdapter::GetInstance().CreateVirtualScreen(devId, dhId, videoParam); in HWTEST_F()
256 std::shared_ptr<VideoParam> videoParam = std::make_shared<VideoParam>(); in HWTEST_F() local
257 videoParam->SetScreenWidth(VIDEO_DATA_NUM); in HWTEST_F()
258 videoParam in HWTEST_F()
[all...]
H A Ddscreen_test.cpp94 std::shared_ptr<VideoParam> videoParam = nullptr; in HWTEST_F() local
95 dScreen_->SetVideoParam(videoParam); in HWTEST_F()
339 std::shared_ptr<VideoParam> videoParam = std::make_shared<VideoParam>(); in HWTEST_F() local
340 uint64_t screenId = ScreenMgrAdapter::GetInstance().CreateVirtualScreen(devId, dhId, videoParam); in HWTEST_F()
/foundation/distributedhardware/distributed_screen/services/common/utils/include/
H A Dvideo_param.h46 friend void to_json(json &j, const VideoParam &videoParam);
47 friend void from_json(const json &j, VideoParam &videoParam);
58 void to_json(json &j, const VideoParam &videoParam);
59 void from_json(const json &j, VideoParam &videoParam);
/foundation/distributedhardware/distributed_screen/services/screenservice/test/unittest/sinkservice/screenregionmgr/1.0/src/
H A Dscreenregion_test.cpp176 std::shared_ptr<VideoParam> videoParam = std::make_shared<VideoParam>(); in HWTEST_F() local
177 videoParam->screenWidth_ = DSCREEN_MAX_SCREEN_DATA_WIDTH; in HWTEST_F()
178 videoParam->screenHeight_ = DSCREEN_MAX_SCREEN_DATA_HEIGHT; in HWTEST_F()
179 videoParam->videoWidth_ = DSCREEN_MAX_VIDEO_DATA_WIDTH; in HWTEST_F()
180 videoParam->videoHeight_ = DSCREEN_MAX_VIDEO_DATA_HEIGHT; in HWTEST_F()
181 videoParam->codecType_ = VIDEO_CODEC_TYPE_VIDEO_H264; in HWTEST_F()
182 videoParam->videoFormat_ = VIDEO_DATA_FORMAT_YUVI420; in HWTEST_F()
183 videoParam->fps_ = 30.0; in HWTEST_F()
184 screenRegion_->SetVideoParam(videoParam); in HWTEST_F()
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/common/src/
H A Dscreen_manager_adapter.cpp49 const std::shared_ptr<VideoParam> &videoParam) in CreateVirtualScreen()
51 if (videoParam == nullptr) { in CreateVirtualScreen()
52 DHLOGE("ScreenMgrAdapter::CreateVirtualScreen, videoParam is nullptr"); in CreateVirtualScreen()
55 DHLOGI("CreateVirtualScreen, width: %{public}u, height: %{public}" PRIu32, videoParam->GetScreenWidth(), in CreateVirtualScreen()
56 videoParam->GetScreenHeight()); in CreateVirtualScreen()
69 uint32_t width = videoParam->GetScreenWidth(); in CreateVirtualScreen()
74 videoParam->GetScreenHeight(), in CreateVirtualScreen()
48 CreateVirtualScreen(const std::string &devId, const std::string &dhId, const std::shared_ptr<VideoParam> &videoParam) CreateVirtualScreen() argument
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/2.0/src/
H A Dscreenregionmgr.cpp135 std::shared_ptr<VideoParam> videoParam = screenRegion->GetVideoParam(); in GetScreenDumpInfo() local
136 if (!videoParam) { in GetScreenDumpInfo()
139 uint32_t screenHeight = videoParam->GetScreenHeight(); in GetScreenDumpInfo()
140 uint32_t screenWidth = videoParam->GetScreenWidth(); in GetScreenDumpInfo()
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/src/
H A Ddscreen_manager.cpp147 std::shared_ptr<VideoParam> videoParam = changedScreen->GetVideoParam(); in AddToGroup() local
148 if (videoParam == nullptr) { in AddToGroup()
149 DHLOGE("videoParam is nullptr."); in AddToGroup()
153 videoParam->SetVideoWidth(displayRect.width); in AddToGroup()
154 videoParam->SetVideoHeight(displayRect.height); in AddToGroup()
371 std::shared_ptr<VideoParam> videoParam = dScreen->GetVideoParam(); in GetScreenDumpInfo() local
372 if (videoParam == nullptr) { in GetScreenDumpInfo()
375 uint32_t screenHeight = videoParam->GetScreenHeight(); in GetScreenDumpInfo()
376 uint32_t screenWidth = videoParam->GetScreenWidth(); in GetScreenDumpInfo()
461 std::shared_ptr<VideoParam> videoParam in PublishMessage() local
[all...]
H A Ddscreen.cpp84 void DScreen::SetVideoParam(std::shared_ptr<VideoParam> &videoParam) in SetVideoParam() argument
86 videoParam_ = videoParam; in SetVideoParam()
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/1.0/src/
H A Dscreenregionmgr.cpp100 std::shared_ptr<VideoParam> videoParam = screenRegion->GetVideoParam(); in GetScreenDumpInfo() local
101 if (videoParam == nullptr) { in GetScreenDumpInfo()
104 uint32_t screenHeight = videoParam->GetScreenHeight(); in GetScreenDumpInfo()
105 uint32_t screenWidth = videoParam->GetScreenWidth(); in GetScreenDumpInfo()
148 std::shared_ptr<VideoParam> videoParam = in HandleNotifySetUp() local
155 screenRegion->SetVideoParam(videoParam); in HandleNotifySetUp()
H A Dscreenregion.cpp53 void ScreenRegion::SetVideoParam(std::shared_ptr<VideoParam> &videoParam) in SetVideoParam() argument
55 videoParam_ = videoParam; in SetVideoParam()
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/src/
H A Ddscreen_manager.cpp349 std::shared_ptr<VideoParam> videoParam = dScreen->GetVideoParam(); in GetScreenDumpInfo() local
350 if (videoParam == nullptr) { in GetScreenDumpInfo()
353 uint32_t screenHeight = videoParam->GetScreenHeight(); in GetScreenDumpInfo()
354 uint32_t screenWidth = videoParam->GetScreenWidth(); in GetScreenDumpInfo()
381 std::shared_ptr<VideoParam> videoParam = dScreen->GetVideoParam(); in PublishMessage() local
382 if (videoParam == nullptr) { in PublishMessage()
383 DHLOGE("videoParam is nullptr"); in PublishMessage()
386 messageJosn[SOURCE_WIN_WIDTH] = videoParam->GetScreenWidth(); in PublishMessage()
387 messageJosn[SOURCE_WIN_HEIGHT] = videoParam->GetScreenHeight(); in PublishMessage()
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/common/include/
H A Dscreen_manager_adapter.h36 const std::shared_ptr<VideoParam> &videoParam);
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/1.0/include/
H A Dscreenregion.h47 void SetVideoParam(std::shared_ptr<VideoParam> &videoParam);
/foundation/multimedia/av_codec/test/unittest/avmuxer_test/
H A Davmuxer_unit_test.cpp518 std::shared_ptr<FormatMock> videoParam = FormatMockFactory::CreateFormat(); in HWTEST_F() local
519 videoParam->PutStringValue(OH_MD_KEY_CODEC_MIME, OH_AVCODEC_MIMETYPE_VIDEO_AVC); in HWTEST_F()
520 videoParam->PutIntValue(OH_MD_KEY_WIDTH, TEST_WIDTH); in HWTEST_F()
521 videoParam->PutIntValue(OH_MD_KEY_HEIGHT, -1); in HWTEST_F()
522 ret = avmuxer_->AddTrack(trackId, videoParam); in HWTEST_F()
525 videoParam->PutIntValue(OH_MD_KEY_WIDTH, -1); in HWTEST_F()
526 videoParam->PutIntValue(OH_MD_KEY_HEIGHT, TEST_HEIGHT); in HWTEST_F()
527 ret = avmuxer_->AddTrack(trackId, videoParam); in HWTEST_F()
530 videoParam->PutIntValue(OH_MD_KEY_WIDTH, TEST_WIDTH); in HWTEST_F()
531 videoParam in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensourcetrans/src/
H A Dscreen_source_trans_test.cpp590 VideoParam videoParam; in HWTEST_F() local
596 trans->imageProcessor_->ConfigureImageProcessor(videoParam, videoParam, listener); in HWTEST_F()
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/include/
H A Ddscreen.h86 void SetVideoParam(std::shared_ptr<VideoParam> &videoParam);
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/
H A Dtrans_lane_common_test.cpp216 SessionParam videoParam = { in HWTEST_F() local
220 ret = TransGetChannelType(&videoParam, type); in HWTEST_F()

Completed in 14 milliseconds