<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.m2osw.com"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Made to Order Software Corporation - compression</title>
 <link>http://www.m2osw.com/taxonomy/term/343/all</link>
 <description></description>
 <language>en</language>
<item>
 <title>Appendix A — The geometry in SWF — Edges</title>
 <link>http://www.m2osw.com/swf_appendix_a_edges</link>
 <description>&lt;p&gt;Edges are used to define a shape vector based and also coordinates       where images need to be drawn. The edges are always coordinates       from where ever your last point was to where ever you want the       next point to be (a little like a turtle in LOGO).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_appendix_a_edges&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_appendix_a_edges#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/581">End</category>
 <pubDate>Sun, 13 Dec 2009 08:02:03 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">259 at http://www.m2osw.com</guid>
</item>
<item>
 <title>SoundStreamHead</title>
 <link>http://www.m2osw.com/swf_tag_soundstreamhead</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-swf-tag-info&quot;&gt;&lt;legend&gt;Tag Info&lt;/legend&gt;&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-number&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Number:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    18        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-content-taxonomy field-field-tag-swf-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Type:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Define        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    2        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-tag-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;pre&gt;
struct swf_soundstreamhead {
	&lt;a href=&quot;/swf_struct_tag&quot;&gt;swf_tag&lt;/a&gt;			f_tag;		&lt;font color=&quot;green&quot;&gt;/* 18 or 45 */&lt;/font&gt;
	unsigned		f_compression : 4;
	unsigned		f_sound_rate : 2;
	unsigned		f_sound_size : 1;
	unsigned		f_sound_stereo : 1;
	unsigned		f_reserved : 4;
	unsigned		f_playback_rate : 2;
	unsigned		f_playback_size : 1;
	unsigned		f_playback_stereo : 1;
	unsigned short		f_sample_size;
	if(f_compression == 2) {
		signed short	f_latency_seek;
	}
};&lt;/pre&gt;

        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;The &lt;b class=&quot;swf_tagname&quot;&gt;SoundStreamHead[2]&lt;/b&gt; tags define a sound effect which is to be   loaded with a set of &lt;a href=&quot;/swf_tag_soundstreamblock&quot; class=&quot;swf_tagname&quot;&gt;&lt;strong&gt;SoundStreamBlock&lt;/strong&gt;&lt;/a&gt;   tags. It defines the sound once and for all.&lt;/p&gt;
&lt;p&gt;Streaming sound has a strong side effect when playing a movie: it will   force a synchronization between the images and the audio. Thus some images   may be dropped if the drawing isn&#039;t fast enough.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_tag_soundstreamhead&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_tag_soundstreamhead#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/577">Define</category>
 <category domain="http://www.m2osw.com/taxonomy/term/596">DefineSound</category>
 <category domain="http://www.m2osw.com/taxonomy/term/601">SoundStreamBlock</category>
 <category domain="http://www.m2osw.com/taxonomy/term/600">SoundStreamHead</category>
 <category domain="http://www.m2osw.com/taxonomy/term/643">SoundStreamHead2</category>
 <category domain="http://www.m2osw.com/taxonomy/term/624">Sprite</category>
 <category domain="http://www.m2osw.com/taxonomy/term/597">StartSound</category>
 <pubDate>Mon, 30 Nov 2009 02:23:57 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">196 at http://www.m2osw.com</guid>
</item>
<item>
 <title>DefineSound</title>
 <link>http://www.m2osw.com/swf_tag_definesound</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-swf-tag-info&quot;&gt;&lt;legend&gt;Tag Info&lt;/legend&gt;&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-number&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Number:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    14        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-content-taxonomy field-field-tag-swf-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Type:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Define        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    2        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-tag-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;pre&gt;
struct swf_definesound {
	&lt;a href=&quot;/swf_struct_tag&quot;&gt;swf_tag&lt;/a&gt;			f_tag;		&lt;font color=&quot;green&quot;&gt;/* 14 */&lt;/font&gt;
	unsigned short		f_sound_id;
	unsigned		f_sound_format : 4;
	unsigned		f_sound_rate : 2;
	unsigned		f_sound_is_16bits : 1;
	unsigned		f_sound_is_stereo : 1;
	unsigned long		f_sound_samples_count;
	unsigned char		f_sound_data[&amp;lt;variable size&amp;gt;];
};&lt;/pre&gt;

        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;A &lt;b&gt;DefineSound&lt;/b&gt; tag declares a set of samples of a sound effect   or a music.&lt;/p&gt;
&lt;p&gt;The sound samples can be compressed or not, stereo or not and 8 or   16 bits. The different modes are not all available in version 2, although the same tag is used in newer versions with additional capabilities.&lt;/p&gt;
&lt;p&gt;The &lt;i&gt;f_sound_is_16bits&lt;/i&gt; is always set to 1 (16bits samples) if the   samples are compressed (neither &lt;code&gt;Raw&lt;/code&gt; nor   &lt;code&gt;Uncompressed&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_tag_definesound&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_tag_definesound#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/596">DefineSound</category>
 <category domain="http://www.m2osw.com/taxonomy/term/576">Format</category>
 <category domain="http://www.m2osw.com/taxonomy/term/601">SoundStreamBlock</category>
 <pubDate>Sun, 29 Nov 2009 23:57:55 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">184 at http://www.m2osw.com</guid>
</item>
<item>
 <title>DefineBitsJPEG</title>
 <link>http://www.m2osw.com/swf_tag_definebitsjpeg</link>
 <description>&lt;fieldset class=&quot;fieldgroup group-swf-tag-info&quot;&gt;&lt;legend&gt;Tag Info&lt;/legend&gt;&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-number&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Number:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    6        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-content-taxonomy field-field-tag-swf-type&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Type:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    Define        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-number-integer field-field-swf-tag-version&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Flash Version:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    1        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-text field-field-swf-tag-def&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;Tag Structure:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;pre&gt;
struct swf_definebitsjpeg {
	&lt;a href=&quot;/swf_struct_tag&quot; class=&quot;swf_anchor&quot;&gt;swf_long_tag&lt;/a&gt;		f_tag;		&lt;font color=&quot;green&quot;&gt;/* 6, 21, 35 or 90 */&lt;/font&gt;
	unsigned short		f_image_id;
	if(f_tag == DefineBitsJPEG3 + f_tag == DefineBitsJPEG4) {
		&lt;font color=&quot;green&quot;&gt;/* sizeof(f_encoding_tables) + sizeof(f_image_data) + 2 when JPEG4 */&lt;/font&gt;
		unsigned long		f_offset_to_alpha;
	}
	if(f_tag == DefineBitsJPEG4) {
		unsigned short fixed	f_deblocking_filter_parameter;
	}
	if(f_tag != DefineBitsJPEG) {
		&lt;font color=&quot;green&quot;&gt;/* when DefineBitsJPEG, use JPEGTables instead */&lt;/font&gt;
		unsigned char		f_encoding_tables[&amp;lt;&lt;i&gt;variable size&lt;/i&gt;&amp;gt;];
	}
	unsigned char		f_image_data[&amp;lt;&lt;i&gt;variable size&lt;/i&gt;&amp;gt;];
	if(f_tag == DefineBitsJPEG3 || f_tag == DefineBitsJPEG4&lt;a class=&quot;see-footnote&quot; id=&quot;footnoteref1_wg8morq&quot; title=&quot;JPEG4 optionally accepts the f_alpha field. [To be verified]&quot; href=&quot;#footnote1_wg8morq&quot;&gt;1&lt;/a&gt;) {
		unsigned char		f_alpha[&amp;lt;&lt;i&gt;variable size&lt;/i&gt;&amp;gt;];
	}
};
&lt;/pre&gt;

&lt;ul class=&quot;footnotes&quot;&gt;&lt;li class=&quot;footnote&quot; id=&quot;footnote1_wg8morq&quot;&gt;&lt;a class=&quot;footnote-label&quot; href=&quot;#footnoteref1_wg8morq&quot;&gt;1.&lt;/a&gt; JPEG4 optionally accepts the f_alpha field. [To be verified]&lt;/li&gt;
&lt;/ul&gt;
        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;field field-type-nodereference field-field-see-also&quot;&gt;
      &lt;div class=&quot;field-label&quot;&gt;See Also:&amp;nbsp;&lt;/div&gt;
    &lt;div class=&quot;field-items&quot;&gt;
            &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_tag_definebitsjpeg2&quot;&gt;DefineBitsJPEG2&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_tag_definebitsjpeg3&quot;&gt;DefineBitsJPEG3&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_tag_definebitsjpeg4&quot;&gt;DefineBitsJPEG4&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_tag_definebitslossless&quot;&gt;DefineBitsLossless&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item odd&quot;&gt;
                    &lt;a href=&quot;/swf_tag_definebitslossless2&quot;&gt;DefineBitsLossless2&lt;/a&gt;        &lt;/div&gt;
              &lt;div class=&quot;field-item even&quot;&gt;
                    &lt;a href=&quot;/swf_tag_jpegtables&quot;&gt;JPEGTables&lt;/a&gt;        &lt;/div&gt;
        &lt;/div&gt;
&lt;/div&gt;
&lt;/fieldset&gt;
&lt;p&gt;These tags define an image saved using the JPEG compression scheme.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/swf_tag_definebitsjpeg&quot;&gt;&lt;b class=&quot;swf_tagname&quot;&gt;DefineBitsJPEG&lt;/b&gt;&lt;/a&gt; (V1.0) does not include the encoding   tables which are defined in the unique   &lt;a class=&quot;swf_tagname&quot; href=&quot;/swf_tag_jpegtables&quot;&gt;&lt;b&gt;JPEGTables&lt;/b&gt;&lt;/a&gt; tag   instead. All the &lt;b class=&quot;swf_tagname&quot;&gt;DefineBitsJPEG&lt;/b&gt; of an SWF file use   the only &lt;b class=&quot;swf_tagname&quot;&gt;JPEGTables&lt;/b&gt; tag. Yes... This means you need a tool that is capable of reusing the same tables over and over again to make sure that all your &lt;strong&gt;DefineBitsJPEG&lt;/strong&gt;s work properly (or use it just once.)&lt;/p&gt;
&lt;p&gt;The other tags incorporate their own version of the JPEG encoding tables.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;/swf_tag_definebitsjpeg3&quot;&gt;&lt;b class=&quot;swf_tagname&quot;&gt;DefineBitsJPEG3&lt;/b&gt;&lt;/a&gt; and &lt;a href=&quot;/swf_tag_definebitsjpeg4&quot;&gt;&lt;b class=&quot;swf_tagname&quot;&gt;DefineBitsJPEG4&lt;/b&gt;&lt;/a&gt; support an alpha channel   bit plane (8 bits.) ...&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://www.m2osw.com/swf_tag_definebitsjpeg&quot; target=&quot;_blank&quot;&gt;read more&lt;/a&gt;&lt;/p&gt;</description>
 <comments>http://www.m2osw.com/swf_tag_definebitsjpeg#comments</comments>
 <category domain="http://www.m2osw.com/taxonomy/term/577">Define</category>
 <category domain="http://www.m2osw.com/taxonomy/term/587">DefineBitsJPEG</category>
 <category domain="http://www.m2osw.com/taxonomy/term/603">DefineBitsJPEG2</category>
 <category domain="http://www.m2osw.com/taxonomy/term/636">DefineBitsJPEG3</category>
 <category domain="http://www.m2osw.com/taxonomy/term/684">DefineBitsJPEG4</category>
 <category domain="http://www.m2osw.com/taxonomy/term/602">DefineBitsLossless</category>
 <category domain="http://www.m2osw.com/taxonomy/term/581">End</category>
 <category domain="http://www.m2osw.com/taxonomy/term/576">Format</category>
 <category domain="http://www.m2osw.com/taxonomy/term/589">JPEGTables</category>
 <pubDate>Sun, 29 Nov 2009 09:26:02 +0000</pubDate>
 <dc:creator>Alexis Wilke</dc:creator>
 <guid isPermaLink="false">172 at http://www.m2osw.com</guid>
</item>
</channel>
</rss>


