792 bytes added
, 01:03, 27 April 2016
=Request=
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| Header code [0x000400C0]
|-
| 1
| u32 type
|-
| 2
| u32 width
|-
| 3
| u32 height
|}
=Response=
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| Header code
|-
| 1
| Resultcode
|-
| 2
| u32 output size.
|}
=Types=
{| class="wikitable" border="1"
|-
! Value
! Pixel_size
|-
| 2 or 6
| 2
|-
| 0x1006
| 4
|}
If any other input value is used that's not listed above, MVD-sysmodule will run [[SVC|svcBreak]].
=Description=
This calculates the byte-size of an image buffer. Size = width*height*pixel_size(due to this the input width and height are interchangeable). See above for pixel_size. If the input width is higher than 1920, 1920 is used internally instead(likewise for height).