<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.multimedia.cx/index.php?action=history&amp;feed=atom&amp;title=EVA</id>
	<title>EVA - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multimedia.cx/index.php?action=history&amp;feed=atom&amp;title=EVA"/>
	<link rel="alternate" type="text/html" href="https://wiki.multimedia.cx/index.php?title=EVA&amp;action=history"/>
	<updated>2026-04-10T09:41:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://wiki.multimedia.cx/index.php?title=EVA&amp;diff=15873&amp;oldid=prev</id>
		<title>Kostya: fill information</title>
		<link rel="alternate" type="text/html" href="https://wiki.multimedia.cx/index.php?title=EVA&amp;diff=15873&amp;oldid=prev"/>
		<updated>2025-04-01T15:13:51Z</updated>

		<summary type="html">&lt;p&gt;fill information&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;EVA is a family of formats created by T.Yamamoto. They employ [[RLE]] for video compression.&lt;br /&gt;
&lt;br /&gt;
=== EVA3 header format ===&lt;br /&gt;
  4 bytes  - &amp;quot;EVA3&amp;quot;&lt;br /&gt;
  1+ bytes - comment ending with 0x1A byte&lt;br /&gt;
  2 bytes  - number of frames&lt;br /&gt;
  1 byte   - frames per second&lt;br /&gt;
  1 byte   - unused&lt;br /&gt;
&lt;br /&gt;
Frames are stored as raw 2-bit 96x92 images.&lt;br /&gt;
&lt;br /&gt;
=== EVA4 header format ===&lt;br /&gt;
  4 bytes  - &amp;quot;EVA4&amp;quot;&lt;br /&gt;
  1+ bytes - comment ending with 0x1A byte&lt;br /&gt;
  2 bytes  - number of frames&lt;br /&gt;
  1 byte   - frames per second&lt;br /&gt;
  1 byte   - unused&lt;br /&gt;
&lt;br /&gt;
Frame format is hardcoded to 2-bit 96x92.&lt;br /&gt;
&lt;br /&gt;
Each frame is preceded by 16-bit frame size.&lt;br /&gt;
&lt;br /&gt;
=== EVA5 header format ===&lt;br /&gt;
  4 bytes  - &amp;quot;EVA5&amp;quot;&lt;br /&gt;
  1+ bytes - comment ending with 0x1A byte&lt;br /&gt;
  2 bytes  - number of frames&lt;br /&gt;
  2 bytes  - width&lt;br /&gt;
  2 bytes  - height&lt;br /&gt;
  1 byte   - colour depth (usually 2-bit)&lt;br /&gt;
  1 byte   - frames per second&lt;br /&gt;
  1 byte   - bits per audio sample (0 - 8bps, 1 - 4bps)&lt;br /&gt;
  2 bytes  - sampling frequency&lt;br /&gt;
  2 bytes  - audio block size&lt;br /&gt;
  1 byte   - unused&lt;br /&gt;
&lt;br /&gt;
Each frame is preceded by audio block bytes and 16-bit frame size.&lt;br /&gt;
&lt;br /&gt;
=== Video compression ===&lt;br /&gt;
&lt;br /&gt;
EVA4 and EVA5 use the following opcodes:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;00sssccc&amp;lt;/code&amp;gt; -- skip &amp;lt;code&amp;gt;sss&amp;lt;/code&amp;gt; bytes, copy &amp;lt;code&amp;gt;ccc&amp;lt;/code&amp;gt; bytes&lt;br /&gt;
* &amp;lt;code&amp;gt;01ssssss&amp;lt;/code&amp;gt; -- skip &amp;lt;code&amp;gt;ssssss&amp;lt;/code&amp;gt; bytes&lt;br /&gt;
* &amp;lt;code&amp;gt;10cccccc&amp;lt;/code&amp;gt; -- copy &amp;lt;code&amp;gt;cccccc&amp;lt;/code&amp;gt; bytes&lt;br /&gt;
* &amp;lt;code&amp;gt;11sssrrr&amp;lt;/code&amp;gt; -- skip &amp;lt;code&amp;gt;sss&amp;lt;/code&amp;gt; bytes, repeat the next byte &amp;lt;code&amp;gt;rrr&amp;lt;/code&amp;gt; times&lt;br /&gt;
&lt;br /&gt;
[[Category:Video Codecs]]&lt;br /&gt;
[[Category:Container Formats]]&lt;/div&gt;</summary>
		<author><name>Kostya</name></author>
	</entry>
</feed>