<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.3dbrew.org/w/index.php?action=history&amp;feed=atom&amp;title=MVDSTD%3ACalculateImageSize</id>
	<title>MVDSTD:CalculateImageSize - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.3dbrew.org/w/index.php?action=history&amp;feed=atom&amp;title=MVDSTD%3ACalculateImageSize"/>
	<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=MVDSTD:CalculateImageSize&amp;action=history"/>
	<updated>2026-05-13T03:39:40Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=MVDSTD:CalculateImageSize&amp;diff=17185&amp;oldid=prev</id>
		<title>Yellows8: Created page with &quot;=Request= {| class=&quot;wikitable&quot; border=&quot;1&quot; |- !  Index Word !  Description |- | 0 | Header code [0x000400C0] |- | 1 | u32 type |- | 2 | u32 width |- | 3 | u32 height |}  =Respo...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=MVDSTD:CalculateImageSize&amp;diff=17185&amp;oldid=prev"/>
		<updated>2016-04-26T21:03:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;=Request= {| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot; |- !  Index Word !  Description |- | 0 | Header code [0x000400C0] |- | 1 | u32 type |- | 2 | u32 width |- | 3 | u32 height |}  =Respo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Request=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index Word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| Header code [0x000400C0]&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| u32 type&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| u32 width&lt;br /&gt;
|-&lt;br /&gt;
| 3&lt;br /&gt;
| u32 height&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Response=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Index Word&lt;br /&gt;
!  Description&lt;br /&gt;
|-&lt;br /&gt;
| 0&lt;br /&gt;
| Header code&lt;br /&gt;
|-&lt;br /&gt;
| 1&lt;br /&gt;
| Resultcode&lt;br /&gt;
|-&lt;br /&gt;
| 2&lt;br /&gt;
| u32 output size.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Types=&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!  Value&lt;br /&gt;
!  Pixel_size&lt;br /&gt;
|-&lt;br /&gt;
| 2 or 6&lt;br /&gt;
| 2&lt;br /&gt;
|-&lt;br /&gt;
| 0x1006&lt;br /&gt;
| 4&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
If any other input value is used that&amp;#039;s not listed above, MVD-sysmodule will run [[SVC|svcBreak]].&lt;br /&gt;
&lt;br /&gt;
=Description=&lt;br /&gt;
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).&lt;/div&gt;</summary>
		<author><name>Yellows8</name></author>
	</entry>
</feed>