Home
last modified time | relevance | path

Searched refs:newSurface (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhdecoder.cpp1016 if (newSurface == nullptr) { in OnSetOutputSurfaceWhenRunning()
1020 if (newSurface->IsConsumer()) { in OnSetOutputSurfaceWhenRunning()
1025 uint64_t newId = newSurface->GetUniqueId(); in OnSetOutputSurfaceWhenRunning()
1031 int32_t ret = RegisterListenerToSurface(newSurface); in OnSetOutputSurfaceWhenRunning()
1035 ret = SetQueueSize(newSurface, outBufferCnt_); in OnSetOutputSurfaceWhenRunning()
1039 ret = SwitchBetweenSurface(newSurface); in OnSetOutputSurfaceWhenRunning()
1049 int32_t HDecoder::SwitchBetweenSurface(const sptr<Surface> &newSurface) in SwitchBetweenSurface() argument
1052 newSurface->CleanCache(); // make sure new surface is empty in SwitchBetweenSurface()
1057 uint64_t newId = newSurface->GetUniqueId(); in SwitchBetweenSurface()
1063 GSError err = newSurface->AttachBufferToQueue(info.surfaceBuffer); in SwitchBetweenSurface()
[all …]
H A Dhdecoder.h77 int32_t OnSetOutputSurfaceWhenRunning(const sptr<Surface> &newSurface);
78 int32_t SwitchBetweenSurface(const sptr<Surface> &newSurface);
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hevcdecoder/
H A Dhevc_decoder.cpp1354 uint64_t newId = newSurface->GetUniqueId(); in ReplaceOutputSurfaceWhenRunning()
1359 GSError err = RegisterListenerToSurface(newSurface); in ReplaceOutputSurfaceWhenRunning()
1362 newSurface->GetUniqueId(), err); in ReplaceOutputSurfaceWhenRunning()
1365 int32_t ret = SetQueueSize(newSurface, outputBufferCnt); in ReplaceOutputSurfaceWhenRunning()
1367 UnRegisterListenerToSurface(newSurface); in ReplaceOutputSurfaceWhenRunning()
1371 ret = SwitchBetweenSurface(newSurface); in ReplaceOutputSurfaceWhenRunning()
1373 UnRegisterListenerToSurface(newSurface); in ReplaceOutputSurfaceWhenRunning()
1397 newSurface->CleanCache(); // make sure new surface is empty in SwitchBetweenSurface()
1399 uint64_t newId = newSurface->GetUniqueId(); in SwitchBetweenSurface()
1417 int32_t err = newSurface->AttachBufferToQueue(surfaceBuffer); in SwitchBetweenSurface()
[all …]
H A Dhevc_decoder.h141 int32_t ReplaceOutputSurfaceWhenRunning(sptr<Surface> newSurface);
143 int32_t SwitchBetweenSurface(const sptr<Surface> &newSurface);
144 int32_t RenderNewSurfaceWithOldBuffer(const sptr<Surface> &newSurface, uint32_t index);
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/fcodec/
H A Dfcodec.h126 int32_t ReplaceOutputSurfaceWhenRunning(sptr<Surface> newSurface);
128 int32_t SwitchBetweenSurface(const sptr<Surface> &newSurface);
129 int32_t RenderNewSurfaceWithOldBuffer(const sptr<Surface> &newSurface, uint32_t index);
H A Dfcodec.cpp1222 uint64_t newId = newSurface->GetUniqueId(); in ReplaceOutputSurfaceWhenRunning()
1227 GSError err = RegisterListenerToSurface(newSurface); in ReplaceOutputSurfaceWhenRunning()
1232 int32_t ret = SetQueueSize(newSurface, outputBufferCnt); in ReplaceOutputSurfaceWhenRunning()
1234 UnRegisterListenerToSurface(newSurface); in ReplaceOutputSurfaceWhenRunning()
1238 ret = SwitchBetweenSurface(newSurface); in ReplaceOutputSurfaceWhenRunning()
1240 UnRegisterListenerToSurface(newSurface); in ReplaceOutputSurfaceWhenRunning()
1260 int32_t FCodec::SwitchBetweenSurface(const sptr<Surface> &newSurface) in SwitchBetweenSurface() argument
1264 newSurface->CleanCache(); // make sure new surface is empty in SwitchBetweenSurface()
1266 uint64_t newId = newSurface->GetUniqueId(); in SwitchBetweenSurface()
1284 int32_t err = newSurface->AttachBufferToQueue(surfaceBuffer); in SwitchBetweenSurface()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/
H A Drs_ui_first_surface_render_node_drawable_test.cpp351 … [](std::shared_ptr<Drawing::Surface>&& oldSurface, std::shared_ptr<Drawing::Surface>&& newSurface,
395 … [](std::shared_ptr<Drawing::Surface>&& oldSurface, std::shared_ptr<Drawing::Surface>&& newSurface,
416 … [](std::shared_ptr<Drawing::Surface>&& oldSurface, std::shared_ptr<Drawing::Surface>&& newSurface, argument