/ohos5.0/foundation/distributedhardware/distributed_screen/services/common/test/unittest/decision_center/ |
H A D | screen_decision_center_test.cpp | 77 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 D | screen_decision_center.cpp | 24 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 D | buffer_queue_producer_remote_test.cpp | 44 .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 D | buffer_queue_consumer_test.cpp | 44 .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 D | consumer_surface_test.cpp | 54 .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 D | screen_decision_center.h | 32 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 D | effect_surface_adapter.cpp | 133 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 D | buffer_utils.cpp | 92 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 D | consumer_surface.cpp | 130 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 D | buffer_queue.cpp | 196 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 ×tamp, 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 D | image_source_encoder.cpp | 95 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 D | bufferqueue_fuzzer.cpp | 113 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 D | iimage_source_processor_listener.h | 29 …nDamageProcessDone(sptr<SurfaceBuffer> &surfaceBuffer, const std::vector<OHOS::Rect> &damages) = 0;
|
/ohos5.0/foundation/multimedia/image_effect/interfaces/inner_api/native/effect/ |
H A D | image_effect_inner.h | 126 const OHOS::Rect &damages, int64_t timestamp); 136 const OHOS::Rect &damages, int64_t timestamp);
|
/ohos5.0/foundation/bundlemanager/app_domain_verify/ |
H A D | LICENSE | 158 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 D | LICENSE | 158 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 D | LICENSE | 158 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 D | LICENSE | 158 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 D | LICENSE | 158 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 D | LICENSE | 158 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 D | LICENSE | 158 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 D | LICENSE | 158 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 D | LICENSE | 158 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 D | LICENSE | 158 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 D | LICENSE | 158 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.
|