Home
last modified time | relevance | path

Searched refs:damages (Results 1 – 25 of 262) sorted by relevance

1234567891011

/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/test/unittest/decision_center/
H A Dscreen_decision_center_test.cpp77 damages.clear();
84 damages.clear();
91 damages.clear();
97 damages.clear();
103 damages.clear();
126 damages.clear();
132 damages.clear();
138 damages.clear();
144 damages.clear();
263 damages.clear();
[all …]
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/decision_center/src/
H A Dscreen_decision_center.cpp24 bool ScreenDecisionCenter::IsDirtyRectValid(const std::vector<OHOS::Rect> &damages) in IsDirtyRectValid() argument
27 if (damages.empty()) { in IsDirtyRectValid()
33 for (const auto &damage : damages) { in IsDirtyRectValid()
52 bool ScreenDecisionCenter::JudgeDirtyThreshold(const std::vector<OHOS::Rect> &damages) in JudgeDirtyThreshold() argument
56 for (const auto &damage : damages) { in JudgeDirtyThreshold()
72 const std::vector<OHOS::Rect> &damages) in InputBufferImage() argument
79 if (damages.empty() || frameCount_ < MIN_SURPPORT_FRAME_COUNT || in InputBufferImage()
81 !IsDirtyRectValid(damages) || !JudgeDirtyThreshold(damages)) { in InputBufferImage()
91 int32_t ret = imageJpeg_->ProcessDamageSurface(surfaceBuffer, damages); in InputBufferImage()
/ohos5.0/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dbuffer_queue_producer_remote_test.cpp44 .damages = {
53 static inline std::vector<Rect> damages = {};
159 ret = bq->AcquireBuffer(retval.buffer, retval.fence, timestamp, damages);
185 ret = bq->AcquireBuffer(retval.buffer, retval.fence, timestamp, damages);
225 ret = bq->AcquireBuffer(retval1.buffer, retval1.fence, timestamp, damages);
249 ret = bq->AcquireBuffer(retval.buffer, retval.fence, timestamp, damages);
256 ret = bq->AcquireBuffer(retval.buffer, retval.fence, timestamp, damages);
284 ret = bq->AcquireBuffer(retval.buffer, retval.fence, timestamp, damages);
291 ret = bq->AcquireBuffer(retval.buffer, retval.fence, timestamp, damages);
H A Dbuffer_queue_consumer_test.cpp44 .damages = {
52 static inline std::vector<Rect> damages = {};
107 ret = bqc->AcquireBuffer(retval.buffer, retval.fence, timestamp, damages);
138 ret = bqc->AcquireBuffer(buffer, retval.fence, timestamp, damages);
211 std::vector<Rect> damages; variable
227 … ASSERT_EQ(consumer->AcquireBuffer(buffer, fence, timestamp, damages), OHOS::SURFACE_ERROR_UNKOWN);
H A Dconsumer_surface_test.cpp54 .damages = {
62 static inline std::vector<Rect> damages = {};
1694 ret = cs->AcquireBuffer(buffer, flushFence, timestamp, damages);
1697 ASSERT_EQ(damages.size(), flushConfigWithDamages.damages.size());
1698 for (decltype(damages.size()) i = 0; i < damages.size(); i++) {
1699 ASSERT_EQ(damages[i].x, flushConfigWithDamages.damages[i].x);
1700 ASSERT_EQ(damages[i].y, flushConfigWithDamages.damages[i].y);
1701 ASSERT_EQ(damages[i].w, flushConfigWithDamages.damages[i].w);
1702 ASSERT_EQ(damages[i].h, flushConfigWithDamages.damages[i].h);
/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/decision_center/include/
H A Dscreen_decision_center.h32 bool IsDirtyRectValid(const std::vector<OHOS::Rect> &damages);
33 bool JudgeDirtyThreshold(const std::vector<OHOS::Rect> &damages);
35 …t32_t InputBufferImage(sptr<SurfaceBuffer> &surfaceBuffer, const std::vector<OHOS::Rect> &damages);
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/effect/base/
H A Deffect_surface_adapter.cpp133 Rect damages{}; in OnBufferAvailable() local
139 auto ret = receiverConsumerSurface_->AcquireBuffer(inBuffer, syncFence, timestamp, damages); in OnBufferAvailable()
147 isNeedSwap = consumerBufferAvailable_(inBuffer, outBuffer, damages, timestamp); in OnBufferAvailable()
/ohos5.0/foundation/graphic/graphic_surface/surface/src/
H A Dbuffer_utils.cpp92 config.damages.clear(); in ReadFlushConfig()
93 config.damages.reserve(size); in ReadFlushConfig()
101 config.damages.emplace_back(rect); in ReadFlushConfig()
109 uint32_t size = config.damages.size(); in WriteFlushConfig()
115 for (const auto& rect : config.damages) { in WriteFlushConfig()
H A Dconsumer_surface.cpp130 std::vector<Rect> damages; in AcquireBuffer() local
131 GSError ret = AcquireBuffer(buffer, fence, timestamp, damages); in AcquireBuffer()
135 if (damages.size() == 1) { in AcquireBuffer()
136 damage = damages[0]; in AcquireBuffer()
139 BLOGE("damages is %{public}zu, uniqueId: %{public}" PRIu64 ".", damages.size(), uniqueId_); in AcquireBuffer()
144 int64_t& timestamp, std::vector<Rect>& damages) in AcquireBuffer() argument
149 return consumer_->AcquireBuffer(buffer, fence, timestamp, damages); in AcquireBuffer()
H A Dbuffer_queue.cpp196 for (decltype(config.damages.size()) i = 0; i < config.damages.size(); i++) { in CheckFlushConfig()
197 if (config.damages[i].w < 0 || config.damages[i].h < 0) { in CheckFlushConfig()
199 i, config.damages[i].w, config.damages[i].h, uniqueId_); in CheckFlushConfig()
736 bufferQueueCache_[sequence].damages = config.damages; in DoFlushBufferLocked()
821 sptr<SyncFence> &fence, int64_t &timestamp, std::vector<Rect> &damages) in AcquireBuffer() argument
833 damages = bufferQueueCache_[sequence].damages; in AcquireBuffer()
1928 for (decltype(element.damages.size()) i = 0; i < element.damages.size(); i++) { in DumpCache()
1930 std::to_string(element.damages[i].x) + ", " + in DumpCache()
1931 std::to_string(element.damages[i].y) + ", " + in DumpCache()
1932 std::to_string(element.damages[i].w) + ", " + in DumpCache()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screentransport/screensourceprocessor/encoder/src/
H A Dimage_source_encoder.cpp95 std::vector<OHOS::Rect> damages = VecToDamage(eventContent_); in ConsumeSurface() local
102 listener->OnDamageProcessDone(surfaceBuffer, damages); in ConsumeSurface()
178 std::vector<OHOS::Rect> damages; in VecToDamage() local
185 damages.push_back(damage); in VecToDamage()
187 return damages; in VecToDamage()
/ohos5.0/foundation/graphic/graphic_surface/surface/test/fuzztest/bufferqueue_fuzzer/
H A Dbufferqueue_fuzzer.cpp113 BufferFlushConfigWithDamages flushConfig = {.damages = { rect }, .timestamp = timestamp}; in BufferQueueFuzzTest1()
115 std::vector<Rect> damages; in BufferQueueFuzzTest1() local
133 bufferqueue->AcquireBuffer(buffer, syncFence, timestamp, damages); in BufferQueueFuzzTest1()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/screentransport/screensourceprocessor/include/
H A Diimage_source_processor_listener.h29 …nDamageProcessDone(sptr<SurfaceBuffer> &surfaceBuffer, const std::vector<OHOS::Rect> &damages) = 0;
/ohos5.0/foundation/multimedia/image_effect/interfaces/inner_api/native/effect/
H A Dimage_effect_inner.h126 const OHOS::Rect &damages, int64_t timestamp);
136 const OHOS::Rect &damages, int64_t timestamp);
/ohos5.0/foundation/bundlemanager/app_domain_verify/
H A DLICENSE158 liable to You for damages, including any direct, indirect, special,
159 incidental, or consequential damages of any character arising as a
161 Work (including but not limited to damages for loss of goodwill,
163 other commercial damages or losses), even if such Contributor
164 has been advised of the possibility of such damages.
/ohos5.0/foundation/bundlemanager/bundle_framework/
H A DLICENSE158 liable to You for damages, including any direct, indirect, special,
159 incidental, or consequential damages of any character arising as a
161 Work (including but not limited to damages for loss of goodwill,
163 other commercial damages or losses), even if such Contributor
164 has been advised of the possibility of such damages.
/ohos5.0/foundation/ability/form_fwk/
H A DLICENSE158 liable to You for damages, including any direct, indirect, special,
159 incidental, or consequential damages of any character arising as a
161 Work (including but not limited to damages for loss of goodwill,
163 other commercial damages or losses), even if such Contributor
164 has been advised of the possibility of such damages.
/ohos5.0/foundation/ability/idl_tool/
H A DLICENSE158 liable to You for damages, including any direct, indirect, special,
159 incidental, or consequential damages of any character arising as a
161 Work (including but not limited to damages for loss of goodwill,
163 other commercial damages or losses), even if such Contributor
164 has been advised of the possibility of such damages.
/ohos5.0/foundation/arkui/ace_engine/
H A DLICENSE158 liable to You for damages, including any direct, indirect, special,
159 incidental, or consequential damages of any character arising as a
161 Work (including but not limited to damages for loss of goodwill,
163 other commercial damages or losses), even if such Contributor
164 has been advised of the possibility of such damages.
/ohos5.0/foundation/arkui/ace_engine_lite/
H A DLICENSE158 liable to You for damages, including any direct, indirect, special,
159 incidental, or consequential damages of any character arising as a
161 Work (including but not limited to damages for loss of goodwill,
163 other commercial damages or losses), even if such Contributor
164 has been advised of the possibility of such damages.
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/
H A DLICENSE158 liable to You for damages, including any direct, indirect, special,
159 incidental, or consequential damages of any character arising as a
161 Work (including but not limited to damages for loss of goodwill,
163 other commercial damages or losses), even if such Contributor
164 has been advised of the possibility of such damages.
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/frameworks/bundle_lite/
H A DLICENSE158 liable to You for damages, including any direct, indirect, special,
159 incidental, or consequential damages of any character arising as a
161 Work (including but not limited to damages for loss of goodwill,
163 other commercial damages or losses), even if such Contributor
164 has been advised of the possibility of such damages.
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/interfaces/inner_api/bundlemgr_lite/
H A DLICENSE158 liable to You for damages, including any direct, indirect, special,
159 incidental, or consequential damages of any character arising as a
161 Work (including but not limited to damages for loss of goodwill,
163 other commercial damages or losses), even if such Contributor
164 has been advised of the possibility of such damages.
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/interfaces/kits/bundle_lite/
H A DLICENSE158 liable to You for damages, including any direct, indirect, special,
159 incidental, or consequential damages of any character arising as a
161 Work (including but not limited to damages for loss of goodwill,
163 other commercial damages or losses), even if such Contributor
164 has been advised of the possibility of such damages.
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/
H A DLICENSE158 liable to You for damages, including any direct, indirect, special,
159 incidental, or consequential damages of any character arising as a
161 Work (including but not limited to damages for loss of goodwill,
163 other commercial damages or losses), even if such Contributor
164 has been advised of the possibility of such damages.

1234567891011