/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/ |
H A D | rosen_render_surface.cpp | 124 producerSurface_ = surfaceDelegate_->GetSurface(); in InitSurface() 141 producerSurface_ = Surface::CreateSurfaceAsProducer(producer); in InitSurface() 142 if (producerSurface_ == nullptr) { in InitSurface() 152 producerSurface_ = surfaceNode->GetSurface(); in InitSurface() 160 CHECK_NULL_VOID(producerSurface_); in Connect() 161 producerSurface_->Connect(); in Connect() 166 CHECK_NULL_VOID(producerSurface_); in Disconnect() 167 producerSurface_->Disconnect(); in Disconnect() 172 CHECK_NULL_VOID(producerSurface_); in RegisterSurface() 175 auto ret = surfaceUtils->Add(producerSurface_ in RegisterSurface() [all...] |
H A D | rosen_render_surface.h | 119 return producerSurface_; in GetSurface() 159 OHOS::sptr<OHOS::Surface> producerSurface_ = nullptr; member in OHOS::Ace::NG::RosenRenderSurface
|
/foundation/graphic/graphic_3d/3d_widget_adapter/src/ohos/ |
H A D | texture_layer.cpp | 73 sptr<OHOS::Surface> producerSurface_ = nullptr; member in OHOS::Render3D::TextureLayerImpl 157 producerSurface_ = surfaceNode->GetSurface(); in CreateNativeWindow() 158 if (!producerSurface_) { in CreateNativeWindow() 164 producerSurface_->SetTransformHint(transform); in CreateNativeWindow() 166 auto ret = SurfaceUtils::GetInstance()->Add(producerSurface_->GetUniqueId(), producerSurface_); in CreateNativeWindow() 172 producerSurface_->SetQueueSize(3); // 3 seems ok in CreateNativeWindow() 173 producerSurface_->SetUserData("SURFACE_STRIDE_ALIGNMENT", "8"); in CreateNativeWindow() 174 producerSurface_->SetUserData("SURFACE_FORMAT", std::to_string(GRAPHIC_PIXEL_FMT_RGBA_8888)); in CreateNativeWindow() 175 producerSurface_ in CreateNativeWindow() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/xcomponent/ |
H A D | xcomponent_element.cpp | 257 producerSurface_ = surfaceDelegate_->GetSurface(); in CreateSurface() 262 producerSurface_ = rosenTexture->GetSurface(); in CreateSurface() 266 if (producerSurface_ == nullptr) { in CreateSurface() 272 auto ret = surfaceUtils->Add(producerSurface_->GetUniqueId(), producerSurface_); in CreateSurface() 277 producerSurface_->SetQueueSize(SURFACE_QUEUE_SIZE); in CreateSurface() 278 producerSurface_->SetUserData("SURFACE_STRIDE_ALIGNMENT", SURFACE_STRIDE_ALIGNMENT); in CreateSurface() 279 producerSurface_->SetUserData("SURFACE_FORMAT", std::to_string(PIXEL_FMT_RGBA_8888)); in CreateSurface() 286 nativeWindow_ = CreateNativeWindowFromSurface(&producerSurface_); in OnSurfaceCreated() 326 if (producerSurface_) { in ConfigSurface() [all...] |
H A D | xcomponent_element.h | 100 sptr<OHOS::Surface> producerSurface_ = nullptr; member in OHOS::Ace::XComponentElement
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/ |
H A D | rs_virtual_screen_processor.cpp | 57 producerSurface_ = screenManager->GetProducerSurface(node.GetScreenId()); in Init() 58 if (producerSurface_ == nullptr) { in Init() 65 renderFrame_ = renderEngine_->RequestFrame(producerSurface_, renderFrameConfig_, forceCPU, false); in Init()
|
H A D | rs_uni_render_virtual_processor.cpp | 81 producerSurface_ = screenManager->GetProducerSurface(virtualScreenId_); in InitForRenderThread() 82 if (producerSurface_ == nullptr) { in InitForRenderThread() 89 renderFrame_ = renderEngine_->RequestFrame(producerSurface_, renderFrameConfig_, forceCPU_, false, in InitForRenderThread() 94 uint64_t pSurfaceUniqueId = producerSurface_->GetUniqueId(); in InitForRenderThread() 101 rsSurface = renderEngine_->MakeRSSurface(producerSurface_, forceCPU_); in InitForRenderThread() 136 if (producerSurface_ == nullptr) { in RequestVirtualFrame() 143 renderFrame_ = renderEngine->RequestFrame(producerSurface_, renderFrameConfig_, forceCPU_, false); in RequestVirtualFrame() 147 uint64_t pSurfaceUniqueId = producerSurface_->GetUniqueId(); in RequestVirtualFrame() 154 rsSurface = renderEngine->MakeRSSurface(producerSurface_, forceCPU_); in RequestVirtualFrame()
|
H A D | rs_virtual_screen_processor.h | 43 sptr<Surface> producerSurface_; member in OHOS::Rosen::RSVirtualScreenProcessor
|
H A D | rs_uni_render_virtual_processor.h | 87 sptr<Surface> producerSurface_; member in OHOS::Rosen::RSUniRenderVirtualProcessor
|
/foundation/multimedia/player_framework/frameworks/native/recorder/test/unittest/src/ |
H A D | recorder_mock.cpp | 320 producerSurface_ = recorder_->GetSurface(recorderConfig.videoSourceId); in RequesetBuffer() 321 UNITTEST_CHECK_AND_RETURN_RET_LOG(producerSurface_ != nullptr, MSERR_INVALID_OPERATION, "GetSurface failed "); in RequesetBuffer() 390 OHOS::SurfaceError ret = producerSurface_->RequestBuffer(buffer, releaseFence, g_esRequestConfig); in HDICreateESBuffer() 400 (void)producerSurface_->CancelBuffer(buffer); in HDICreateESBuffer() 405 (void)producerSurface_->CancelBuffer(buffer); in HDICreateESBuffer() 411 (void)producerSurface_->CancelBuffer(buffer); in HDICreateESBuffer() 427 (void)producerSurface_->FlushBuffer(buffer, -1, g_esFlushConfig); in HDICreateESBuffer() 453 OHOS::SurfaceError ret = producerSurface_->RequestBuffer(buffer, releaseFence, yuvRequestConfig); in HDICreateYUVBufferError() 474 (void)producerSurface_->FlushBuffer(buffer, -1, g_yuvFlushConfig); in HDICreateYUVBufferError() 487 OHOS::SurfaceError ret = producerSurface_ in HDICreateYUVBuffer() [all...] |
/foundation/distributedhardware/distributed_screen/services/screentransport/screensourceprocessor/encoder/src/ |
H A D | image_source_encoder.cpp | 132 producerSurface_ = nullptr; in ConfigureEncoder() 152 producerSurface_ = Surface::CreateSurfaceAsProducer(producer); in AddSurface() 153 if (producerSurface_ == nullptr) { in AddSurface() 171 if (producerSurface_ == nullptr || !configParam_.GetPartialRefreshFlag()) { in GetInputSurface() 174 return producerSurface_; in GetInputSurface() 311 producerSurface_ = nullptr; in StopEncoder()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/ |
H A D | hdi_framebuffer_surface.cpp | 76 producerSurface_ = Surface::CreateSurfaceAsProducer(producer); in CreateSurface() 133 return producerSurface_; in GetSurface()
|
/foundation/distributedhardware/distributed_screen/services/screentransport/screensinkprocessor/decoder/src/ |
H A D | image_sink_decoder.cpp | 49 producerSurface_ = nullptr; in ConfigureDecoder() 76 producerSurface_ = Surface::CreateSurfaceAsProducer(producer); in AddSurface() 77 if (producerSurface_ == nullptr) { in AddSurface() 372 if (consumerSurface_ == nullptr || producerSurface_ == nullptr || !configParam_.GetPartialRefreshFlag()) { in SetOutputSurface() 379 int32_t ret = videoDecoder_->SetOutputSurface(producerSurface_); in SetOutputSurface()
|
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/ |
H A D | hdi_framebuffer_surface.h | 57 sptr<OHOS::Surface> producerSurface_ = nullptr; member in OHOS::Rosen::HdiFramebufferSurface
|
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/ |
H A D | rs_screen.cpp | 82 producerSurface_(std::move(surface))
in RSScreen() 101 producerSurface_(configs.surface),
in RSScreen() 262 if (!hdiOutput_ && !producerSurface_) {
in IsEnable() 448 return producerSurface_;
in GetProducerSurface() 453 producerSurface_ = producerSurface;
in SetProducerSurface()
|
H A D | rs_screen.h | 234 sptr<Surface> producerSurface_ = nullptr; // has value if the screen is virtual
member in OHOS::Rosen::impl::RSScreen
|
/foundation/distributedhardware/distributed_screen/services/screentransport/screensinkprocessor/decoder/include/ |
H A D | image_sink_decoder.h | 98 sptr<Surface> producerSurface_; member in OHOS::DistributedHardware::ImageSinkDecoder
|
/foundation/distributedhardware/distributed_screen/services/screentransport/screensourceprocessor/encoder/include/ |
H A D | image_source_encoder.h | 83 sptr<Surface> producerSurface_; member in OHOS::DistributedHardware::ImageSourceEncoder
|
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/ |
H A D | tester_common.h | 118 sptr<Surface> producerSurface_; member
|
H A D | tester_common.cpp | 252 producerSurface_ = CreateInputSurface(); in RunEncoder() 253 IF_TRUE_RETURN_VAL(producerSurface_ == nullptr, false); in RunEncoder() 417 GSError err = producerSurface_->RequestBuffer(surfaceBuffer, fence, cfg); in WaitForInputSurfaceBuffer() 434 GSError err = producerSurface_->FlushBuffer(buf.surfaceBuf, -1, flushConfig); in ReturnInputSurfaceBuffer()
|
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensinkprocessor/src/ |
H A D | image_sink_decoder_test.cpp | 309 imageDecoder_->producerSurface_ = nullptr; in HWTEST_F() 312 imageDecoder_->producerSurface_ = IConsumerSurface::Create(); in HWTEST_F()
|
/foundation/multimedia/player_framework/frameworks/native/recorder/test/unittest/include/ |
H A D | recorder_mock.h | 174 OHOS::sptr<OHOS::Surface> producerSurface_ = nullptr; member in OHOS::Media::RecorderMock
|
/foundation/multimedia/player_framework/services/engine/histreamer/recorder/ |
H A D | hirecorder_impl.h | 149 sptr<Surface> producerSurface_{nullptr};
|
H A D | hirecorder_impl.cpp | 302 producerSurface_ = videoEncoderFilter_->GetInputSurface();
in GetSurface() 305 producerSurface_ = videoCaptureFilter_->GetInputSurface();
in GetSurface() 307 return producerSurface_;
in GetSurface()
|