<?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=DVC</id>
	<title>DVC - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.multimedia.cx/index.php?action=history&amp;feed=atom&amp;title=DVC"/>
	<link rel="alternate" type="text/html" href="https://wiki.multimedia.cx/index.php?title=DVC&amp;action=history"/>
	<updated>2026-04-08T09:19:33Z</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=DVC&amp;diff=15871&amp;oldid=prev</id>
		<title>Kostya: fill information</title>
		<link rel="alternate" type="text/html" href="https://wiki.multimedia.cx/index.php?title=DVC&amp;diff=15871&amp;oldid=prev"/>
		<updated>2025-03-29T08:10:33Z</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;* Company: [[Q-Team]]&lt;br /&gt;
* Extension: dvc&lt;br /&gt;
&lt;br /&gt;
This is an animation format based on RLE. Quite likely it was the ancestor of [[QPEG]] codec.&lt;br /&gt;
&lt;br /&gt;
=== Container format ===&lt;br /&gt;
Header (all values are little-endian):&lt;br /&gt;
  6 bytes - &amp;quot;IDVCd\x00&amp;quot;&lt;br /&gt;
  2 bytes - height&lt;br /&gt;
  2 bytes - width&lt;br /&gt;
  2 bytes - unknown&lt;br /&gt;
  4 bytes - unknown, maybe frame delay in milliseconds&lt;br /&gt;
  4 bytes - unknown&lt;br /&gt;
  4 bytes - unknown, looks somewhat like the number of frames but not exactly it&lt;br /&gt;
  4 bytes - data size&lt;br /&gt;
  68 bytes - unknown&lt;br /&gt;
  708 bytes - palette (starting from colour 20)&lt;br /&gt;
&lt;br /&gt;
Frames start with 16-bit value equal to one (zero means end of file) followed by 32-bit frame size and actual payload.&lt;br /&gt;
&lt;br /&gt;
=== Video compression ===&lt;br /&gt;
Frame data starts with 128-byte remap table (used in literal mode) followed by the opcode stream.&lt;br /&gt;
&lt;br /&gt;
Opcodes:&lt;br /&gt;
* &amp;lt;code&amp;gt;0x00&amp;lt;/code&amp;gt; -- skip pixel&lt;br /&gt;
* &amp;lt;code&amp;gt;0x01-0x7F&amp;lt;/code&amp;gt; -- literal, output pixel value from the remap table using opcode as an index&lt;br /&gt;
* &amp;lt;code&amp;gt;0x80&amp;lt;/code&amp;gt; -- skip &amp;lt;code&amp;gt;next_byte + 64&amp;lt;/code&amp;gt; pixels&lt;br /&gt;
* &amp;lt;code&amp;gt;0x81&amp;lt;/code&amp;gt; -- skip &amp;lt;code&amp;gt;next_byte + 320&amp;lt;/code&amp;gt; pixels&lt;br /&gt;
* &amp;lt;code&amp;gt;0x82-0xBF&amp;lt;/code&amp;gt; -- skip 2-63 pixels&lt;br /&gt;
* &amp;lt;code&amp;gt;0xC0-0xDF&amp;lt;/code&amp;gt; -- copy 1-32 pixels from the stream&lt;br /&gt;
* &amp;lt;code&amp;gt;0xE0&amp;lt;/code&amp;gt; -- end of stream marker&lt;br /&gt;
* &amp;lt;code&amp;gt;0xE1-0xFF&amp;lt;/code&amp;gt; -- repeat next byte from the stream 2-32 times&lt;br /&gt;
&lt;br /&gt;
[[Category:Container Formats]]&lt;br /&gt;
[[Category:Video Codecs]]&lt;/div&gt;</summary>
		<author><name>Kostya</name></author>
	</entry>
</feed>