/ohos5.0/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()
|
/ohos5.0/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_esRequestConf… 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_yuvRequestCon… 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; variable
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/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()
|
/ohos5.0/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); variable 187 EXPECT_EQ(DH_SUCCESS, trans_->SetImageSurface(producerSurface));
|
/ohos5.0/base/web/webview/ohos_nweb/include/ |
H A D | nweb_init_params.h | 88 void SetProducerSurface(void* producerSurface) in SetProducerSurface() argument 90 producerSurface_ = producerSurface; in SetProducerSurface()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/video/ |
H A D | video_element.cpp | 338 sptr<Surface> producerSurface; in PreparePlayer() local 346 producerSurface = surfaceDelegate_->GetSurface(); in PreparePlayer() 353 producerSurface = rosenTexture->GetSurface(); in PreparePlayer() 359 if (producerSurface == nullptr) { in PreparePlayer() 363 producerSurface->SetQueueSize(SURFACE_QUEUE_SIZE); in PreparePlayer() 364 producerSurface->SetUserData("SURFACE_STRIDE_ALIGNMENT", SURFACE_STRIDE_ALIGNMENT); in PreparePlayer() 365 producerSurface->SetUserData("SURFACE_FORMAT", std::to_string(PIXEL_FMT_RGBA_8888)); in PreparePlayer() 366 if (mediaPlayer_->SetVideoSurface(producerSurface) != 0) { in PreparePlayer()
|
/ohos5.0/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()
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/ |
H A D | rs_screen.h | 70 virtual void SetProducerSurface(sptr<Surface> producerSurface) = 0; 161 void SetProducerSurface(sptr<Surface> producerSurface) override;
|
H A D | rs_screen.cpp | 450 void RSScreen::SetProducerSurface(sptr<Surface> producerSurface) in SetProducerSurface() argument 452 producerSurface_ = producerSurface; in SetProducerSurface()
|
/ohos5.0/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() 437 sptr<Surface> producerSurface = Surface::CreateSurfaceAsProducer(bufferProducer); in CreateOutputSurface() local 438 if (producerSurface == nullptr) { in CreateOutputSurface() 443 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()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/ |
H A D | tester_common.cpp | 656 sptr<Surface> producerSurface = Surface::CreateSurfaceAsProducer(bufferProducer); in CreateSurfaceNormal() local 657 if (producerSurface == nullptr) { in CreateSurfaceNormal() 662 return producerSurface; in CreateSurfaceNormal()
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hencoder.cpp | 862 sptr<Surface> producerSurface = Surface::CreateSurfaceAsProducer(producer); in OnCreateInputSurface() local 863 if (producerSurface == nullptr) { in OnCreateInputSurface() 873 return producerSurface; in OnCreateInputSurface()
|
/ohos5.0/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); variable 2100 EXPECT_EQ(MSERR_OK, screenCapture_->StartScreenCaptureWithSurface(producerSurface)); 2251 auto producerSurface = OHOS::Surface::CreateSurfaceAsProducer(producer); variable 2254 EXPECT_EQ(MSERR_OK, screenCapture_->StartScreenCaptureWithSurface(producerSurface));
|
/ohos5.0/foundation/multimedia/player_framework/services/services/screen_capture/server/ |
H A D | screen_capture_server.cpp | 1776 auto producerSurface = OHOS::Surface::CreateSurfaceAsProducer(producer); in StartHomeVideoCapture() local 1777 …CHECK_AND_RETURN_RET_LOG(producerSurface != nullptr, MSERR_UNKNOWN, "CreateSurfaceAsProducer faile… in StartHomeVideoCapture() 1781 int32_t ret = CreateVirtualScreen(virtualScreenName, producerSurface); in StartHomeVideoCapture()
|