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.