Home
last modified time | relevance | path

Searched refs:producerSurface_ (Results 1 - 24 of 24) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_surface.cpp124 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 Drosen_render_surface.h119 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 Dtexture_layer.cpp73 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 Dxcomponent_element.cpp257 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 Dxcomponent_element.h100 sptr<OHOS::Surface> producerSurface_ = nullptr; member in OHOS::Ace::XComponentElement
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_virtual_screen_processor.cpp57 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 Drs_uni_render_virtual_processor.cpp81 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 Drs_virtual_screen_processor.h43 sptr<Surface> producerSurface_; member in OHOS::Rosen::RSVirtualScreenProcessor
H A Drs_uni_render_virtual_processor.h87 sptr<Surface> producerSurface_; member in OHOS::Rosen::RSUniRenderVirtualProcessor
/foundation/multimedia/player_framework/frameworks/native/recorder/test/unittest/src/
H A Drecorder_mock.cpp320 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 Dimage_source_encoder.cpp132 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 Dhdi_framebuffer_surface.cpp76 producerSurface_ = Surface::CreateSurfaceAsProducer(producer); in CreateSurface()
133 return producerSurface_; in GetSurface()
/foundation/distributedhardware/distributed_screen/services/screentransport/screensinkprocessor/decoder/src/
H A Dimage_sink_decoder.cpp49 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 Dhdi_framebuffer_surface.h57 sptr<OHOS::Surface> producerSurface_ = nullptr; member in OHOS::Rosen::HdiFramebufferSurface
/foundation/graphic/graphic_2d/rosen/modules/render_service/core/screen_manager/
H A Drs_screen.cpp82 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 Drs_screen.h234 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 Dimage_sink_decoder.h98 sptr<Surface> producerSurface_; member in OHOS::DistributedHardware::ImageSinkDecoder
/foundation/distributedhardware/distributed_screen/services/screentransport/screensourceprocessor/encoder/include/
H A Dimage_source_encoder.h83 sptr<Surface> producerSurface_; member in OHOS::DistributedHardware::ImageSourceEncoder
/foundation/multimedia/av_codec/test/unittest/hcodec_test/helper/
H A Dtester_common.h118 sptr<Surface> producerSurface_; member
H A Dtester_common.cpp252 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 Dimage_sink_decoder_test.cpp309 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 Drecorder_mock.h174 OHOS::sptr<OHOS::Surface> producerSurface_ = nullptr; member in OHOS::Media::RecorderMock
/foundation/multimedia/player_framework/services/engine/histreamer/recorder/
H A Dhirecorder_impl.h149 sptr<Surface> producerSurface_{nullptr};
H A Dhirecorder_impl.cpp302 producerSurface_ = videoEncoderFilter_->GetInputSurface(); in GetSurface()
305 producerSurface_ = videoCaptureFilter_->GetInputSurface(); in GetSurface()
307 return producerSurface_; in GetSurface()

Completed in 15 milliseconds