The Decoder block memory footprint depends on the decoding parameters.
The buffer size depends on the following:
- Video resolution
- Chroma sub-sampling
- Color depth
- Coding standard: H.264 or H.265
The number of buffers depend on the coding standard.
The following table shows the worst-case memory footprint required for different buffer sizes.
Examples with Two B-Frames | 720p | 1080p | 2160p | ||||||
---|---|---|---|---|---|---|---|---|---|
Buffers | Per Buffer | Total | Buffers | Per Buffer | Total | Buffers | Per Buffer | Total | |
Input Bitstream Buffer | 2 | 1.9 MB | 3.8 MB | 2 | 4.0 MB | 8.0 MB | 2 | 16.0 MB | 32.0 MB |
Circular Bitstream Buffer | 1 | 9.5 MB | 9.5 MB | 1 | 20.1 MB | 20.1 MB | 1 | 80.0 MB | 80.0 MB |
Reference Frames | 23 | 2.5 MB | 56.6 MB | 23 | 5.3 MB | 122.2 MB | 12 | 21.1 MB | 253.1 MB |
Reconstructed Frame | 1 | 2.5 MB | 2.5 MB | 1 | 5.3 MB | 5.3 MB | 1 | 21.1 MB | 21.1 MB |
Intermediate Buffers | 5 | 4.9 MB | 24.4 MB | 5 | 11.1 MB | 55.4 MB | 5 | 44.0 MB | 220.0 MB |
Motion vector Buffer | 23 | 0.2 MB | 5.1 MB | 23 | 0.5 MB | 11.5 MB | 12 | 2.0 MB | 23.7 MB |
Slice Parameters | 5 | 6.1 MB | 30.7 MB | 5 | 6.1 MB | 30.7 MB | 5 | 6.1 MB | 30.7 MB |
Other Buffers | 1 | 3.9 MB | 3.9 MB | 1 | 3.9 MB | 3.9 MB | 1 | 3.9 MB | 3.9 MB |
Total | 137 MB | 258 MB | 665 MB |