/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playersetvolume_fuzzer/ |
H A D | playersetvolume_fuzzer.cpp | 49 sptr<Surface> producerSurface = nullptr; in FuzzSetVolume() local 50 producerSurface = GetVideoSurface(); in FuzzSetVolume() 51 player_->SetVideoSurface(producerSurface); in FuzzSetVolume()
|
/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerseek_fuzzer/ |
H A D | playerseek_fuzzer.cpp | 52 sptr<Surface> producerSurface = nullptr; in FuzzSeek() local 53 producerSurface = GetVideoSurface(); in FuzzSeek() 54 player_->SetVideoSurface(producerSurface); in FuzzSeek()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/ |
H A D | render_service_client_surface_node_demo.cpp | 150 sptr<Surface> producerSurface = nullptr; in Init() local 151 producerSurface = surfaceNode->GetSurface(); in Init() 152 if (producerSurface != nullptr) { in Init() 153 producerSurface->SetQueueSize(SURFACE_QUEUE_SIZE); in Init() 154 producerSurface->SetUserData("SURFACE_STRIDE_ALIGNMENT", SURFACE_STRIDE_ALIGNMENT); in Init() 155 producerSurface->SetUserData("SURFACE_FORMAT", std::to_string(GRAPHIC_PIXEL_FMT_RGBA_8888)); in Init() 156 media_ret = player->SetVideoSurface(producerSurface); in Init()
|
/foundation/multimedia/player_framework/test/fuzztest/player_fuzztest/playerfile_fuzzer/ |
H A D | playerfile_fuzzer.cpp | 55 sptr<Surface> producerSurface = nullptr; in FuzzFile() local 56 producerSurface = GetVideoSurface(); in FuzzFile() 57 player_->SetVideoSurface(producerSurface); in FuzzFile()
|
/foundation/multimedia/player_framework/test/fuzztest/common/ |
H A D | test_recorder.cpp | 285 producerSurface = recorder->GetSurface(recorderConfig.videoSourceId); in GetSurface() 286 if (producerSurface == nullptr) { in GetSurface() 365 OHOS::SurfaceError retValue = producerSurface->RequestBuffer(buffer, releaseFence, g_esRequestConfig); in HDICreateESBuffer() 375 (void)producerSurface->CancelBuffer(buffer); in HDICreateESBuffer() 380 (void)producerSurface->CancelBuffer(buffer); in HDICreateESBuffer() 388 (void)producerSurface->CancelBuffer(buffer); in HDICreateESBuffer() 403 (void)producerSurface->FlushBuffer(buffer, -1, g_esFlushConfig); in HDICreateESBuffer() 423 OHOS::SurfaceError retValue = producerSurface->RequestBuffer(buffer, releaseFence, g_yuvRequestConfig); in HDICreateYUVBuffer() 452 (void)producerSurface->FlushBuffer(buffer, -1, g_yuvFlushConfig); in HDICreateYUVBuffer()
|
H A D | test_recorder.h | 39 OHOS::sptr<OHOS::Surface> producerSurface = nullptr; member in OHOS::Media::TestRecorder
|
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensinktrans/src/ |
H A D | screen_sink_trans_test.cpp | 186 sptr<Surface> producerSurface = Surface::CreateSurfaceAsProducer(bufferProducer); in HWTEST_F() local 187 EXPECT_EQ(DH_SUCCESS, trans_->SetImageSurface(producerSurface)); in HWTEST_F()
|
/foundation/multimedia/av_codec/services/media_engine/filters/ |
H A D | metadata_filter.cpp | 164 sptr<Surface> producerSurface = Surface::CreateSurfaceAsProducer(producer); in GetInputMetaSurface() local 165 if (producerSurface == nullptr) { in GetInputMetaSurface() 172 return producerSurface; in GetInputMetaSurface()
|
H A D | video_capture_filter.cpp | 164 sptr<Surface> producerSurface = Surface::CreateSurfaceAsProducer(producer);
in GetInputSurface() local 165 if (producerSurface == nullptr) {
in GetInputSurface() 172 return producerSurface;
in GetInputSurface()
|
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/src/ |
H A D | dscreen.cpp | 281 sptr<OHOS::Surface> producerSurface = Surface::CreateSurfaceAsProducer(producer); in ConfigSurface() local 282 if (producerSurface == nullptr) { in ConfigSurface() 290 ScreenMgrAdapter::GetInstance().SetImageSurface(screenId_, producerSurface); in ConfigSurface()
|
/foundation/arkui/ace_engine/frameworks/core/components/video/ |
H A D | video_element.cpp | 323 sptr<Surface> producerSurface; in PreparePlayer() local 331 producerSurface = surfaceDelegate_->GetSurface(); in PreparePlayer() 338 producerSurface = rosenTexture->GetSurface(); in PreparePlayer() 344 if (producerSurface == nullptr) { in PreparePlayer() 345 LOGE("producerSurface is nullptr"); in PreparePlayer() 348 producerSurface->SetQueueSize(SURFACE_QUEUE_SIZE); in PreparePlayer() 349 producerSurface->SetUserData("SURFACE_STRIDE_ALIGNMENT", SURFACE_STRIDE_ALIGNMENT); in PreparePlayer() 350 producerSurface->SetUserData("SURFACE_FORMAT", std::to_string(PIXEL_FMT_RGBA_8888)); in PreparePlayer() 351 if (mediaPlayer_->SetVideoSurface(producerSurface) != 0) { in PreparePlayer()
|
/foundation/multimedia/av_codec/test/unittest/hcodec_test/unittest/ |
H A D | hdecoder_unit_test.cpp | 83 sptr<Surface> producerSurface = Surface::CreateSurfaceAsProducer(bufferProducer); in CreateOutputSurface() local 84 return producerSurface; in CreateOutputSurface() 394 sptr<Surface> producerSurface = Surface::CreateSurfaceAsProducer(bufferProducer); in CreateOutputSurface() local 395 if (producerSurface == nullptr) { in CreateOutputSurface() 400 return producerSurface; in CreateOutputSurface()
|
H A D | hencoder_unit_test.cpp | 81 sptr<Surface> producerSurface = Surface::CreateSurfaceAsProducer(producer); in CreateProducerSurface() local 82 if (producerSurface == nullptr) { in CreateProducerSurface() 86 return producerSurface; in CreateProducerSurface()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/ |
H A D | rs_screen.h | 69 virtual void SetProducerSurface(sptr<Surface> producerSurface) = 0;
153 void SetProducerSurface(sptr<Surface> producerSurface) override;
|
H A D | rs_screen.cpp | 451 void RSScreen::SetProducerSurface(sptr<Surface> producerSurface)
in SetProducerSurface() argument 453 producerSurface_ = producerSurface;
in SetProducerSurface()
|
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/ |
H A D | tester_common.cpp | 625 sptr<Surface> producerSurface = Surface::CreateSurfaceAsProducer(bufferProducer); in CreateSurfaceNormal() local 626 if (producerSurface == nullptr) { in CreateSurfaceNormal() 631 return producerSurface; in CreateSurfaceNormal()
|
/foundation/multimedia/av_codec/test/unittest/filter_test/ |
H A D | video_capture_filter_unit_test.cpp | 90 sptr<Surface> producerSurface = videoCaptureFilter_->GetInputSurface(); in HWTEST_F() local 91 EXPECT_NE(producerSurface, nullptr); in HWTEST_F()
|
/foundation/multimedia/player_framework/test/unittest/screen_capture_test/screen_capture_unittest/src/ |
H A D | screen_capture_unit_test.cpp | 2095 auto producerSurface = OHOS::Surface::CreateSurfaceAsProducer(producer); in HWTEST_F() local 2100 EXPECT_EQ(MSERR_OK, screenCapture_->StartScreenCaptureWithSurface(producerSurface)); in HWTEST_F() 2251 auto producerSurface = OHOS::Surface::CreateSurfaceAsProducer(producer); in HWTEST_F() local 2254 EXPECT_EQ(MSERR_OK, screenCapture_->StartScreenCaptureWithSurface(producerSurface)); in HWTEST_F()
|
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hencoder.cpp | 860 sptr<Surface> producerSurface = Surface::CreateSurfaceAsProducer(producer); in OnCreateInputSurface() local 861 if (producerSurface == nullptr) { in OnCreateInputSurface() 872 return producerSurface; in OnCreateInputSurface()
|
/foundation/multimedia/player_framework/services/services/screen_capture/server/ |
H A D | screen_capture_server.cpp | 1827 auto producerSurface = OHOS::Surface::CreateSurfaceAsProducer(producer); in StartHomeVideoCapture() local 1828 CHECK_AND_RETURN_RET_LOG(producerSurface != nullptr, MSERR_UNKNOWN, "CreateSurfaceAsProducer failed"); in StartHomeVideoCapture() 1832 int32_t ret = CreateVirtualScreen(virtualScreenName, producerSurface); in StartHomeVideoCapture()
|