Details
-
Epic
-
Resolution: Done
-
Not Evaluated
-
QSR 1.2
-
None
-
Compression of safe resources
-
8
-
Sprint 15, Sprint 16, Sprint 17, Sprint 18, Sprint 19, Sprint 20, Sprint 21, Sprint 22, Sprint 23, Sprint 24, Sprint 25, Sprint 26, Sprint 27, Sprint 28, Sprint 29
Description
Compressing safe resources would reduce ram and flash usage and would speed up the rendering as well.
Additional functional requirements (these contradict with current QSR 1.0. version Functional Requirements 2.14):
- it must be possible to use RLE compressed safe resource data (excluding header) during runtime to improve memory usage both on flash and on RAM. The resource type supported must be linearly accessed i.e. it must not have requirement to access data at random locations in uncompressed format.
- it must be possible to detect and use compressed safe resources and uncompressed safe resources during runtime.
- Bitmap file/resource format must be such that it is impossible to load compressed bitmap with version supporting only uncompressed bitmaps.
- it must be possible to integrate the RLE compression to current toolchain.
- it could be possible to automatically select to compress or not the resources while they are exported from the toolchain.
- it must be possible to verify content integrity of compressed resources in the runtime component by using checksums. (see QSR 1.0 Functional Requirement 2.15)
Additional non-functional requirements:
- the used RLE algorithm must not place unreasonable burden for runtime performance so it can be used during blitting.
Attachments
Issue Links
For Gerrit Dashboard: QSR-524 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
278780,1 | Add check for framebuffer alignment | master | tqtc-boot2qt/qtsaferenderer | Status: ABANDONED | 0 | 0 |
278781,1 | Fix too big bitmap allocation | master | tqtc-boot2qt/qtsaferenderer | Status: ABANDONED | 0 | 0 |
278936,1 | WIP: Add support for decompressing RLE encoded bitmaps | master | tqtc-boot2qt/qtsaferenderer | Status: ABANDONED | -2 | 0 |
280258,8 | Add support generating compressed bitmaps from qsafelayouttool | master | tqtc-boot2qt/qtsaferenderer | Status: MERGED | +2 | 0 |
280301,14 | Add support for compressed bitmap files with tests | master | tqtc-boot2qt/qtsaferenderer | Status: MERGED | +2 | 0 |
280426,2 | Add test for runtime compressed bitmap support | master | tqtc-boot2qt/qtsaferenderer | Status: ABANDONED | 0 | 0 |
282494,4 | Minor cleanup | master | tqtc-boot2qt/qtsaferenderer | Status: MERGED | +2 | 0 |
282495,3 | Fix MISRA issues | master | tqtc-boot2qt/qtsaferenderer | Status: ABANDONED | 0 | 0 |
282496,4 | Remove not needed function QSafeFile::readInteger() | master | tqtc-boot2qt/qtsaferenderer | Status: MERGED | +2 | 0 |
286559,3 | Rename blit() functions | master | tqtc-boot2qt/qtsaferenderer | Status: MERGED | +2 | 0 |