Memory Sizes Required by Images in Different Formats
Calculation of the Memory Size Required by Raw Images
CEILING(X, Y) indicates that X is rounded up based on Y. In the following formulas, the unit is byte, width indicates the image width, height indicates the image height, and bit_width indicates the image pixel bit width.
- Calculation with the compression algorithm disabled
CEILING(CEILING(width, 32) x height, 8)/8 x CEILING(bit_width, 2)
- Calculation with the frame compression algorithm enabled
Calculation of the Memory Size Required by YUV Images
The compression algorithm is not supported. The formulas are as follows:
Parent topic: ISP Memory Miniaturization Guidelines