<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://avisynth.nl/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=EditingFunctions</id>
		<title>EditingFunctions - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=EditingFunctions"/>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=EditingFunctions&amp;action=history"/>
		<updated>2026-05-01T00:07:35Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.24</generator>

	<entry>
		<id>http://avisynth.nl/index.php?title=EditingFunctions&amp;diff=940&amp;oldid=prev</id>
		<title>Admin: 1 revision</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=EditingFunctions&amp;diff=940&amp;oldid=prev"/>
				<updated>2013-05-09T21:34:45Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='1' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 21:34, 9 May 2013&lt;/td&gt;
			&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	<entry>
		<id>http://avisynth.nl/index.php?title=EditingFunctions&amp;diff=939&amp;oldid=prev</id>
		<title>AlanHK: missing++</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=EditingFunctions&amp;diff=939&amp;oldid=prev"/>
				<updated>2012-01-21T07:32:22Z</updated>
		
		<summary type="html">&lt;p&gt;missing++&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Here are some functions I made and added to my plugins directory because I was sick of typing them so much. Hope you find them useful.&lt;br /&gt;
&lt;br /&gt;
    # inserts the clip 'inclip' into 'old' at index 'frame'&lt;br /&gt;
    function Insert (clip old, clip inclip, int frame)&lt;br /&gt;
    {&lt;br /&gt;
        return old.[[Trim]](0, frame - 1) + inclip + old.Trim(frame, 0)&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    # as above, using aligned splices&lt;br /&gt;
    function AlignedInsert (clip old, clip inclip, int frame)&lt;br /&gt;
    {&lt;br /&gt;
        return old.Trim(0, frame - 1) ++ inclip ++ old.Trim(frame, 0)&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    # replace 'numframes' frames of 'old' with 'inclip', starting at 'frame'&lt;br /&gt;
    function Replace (clip old, clip inclip, int frame, int numframes)&lt;br /&gt;
    {&lt;br /&gt;
        numframes = ((numframes == 0) || (numframes &amp;gt; inclip.[[Clip_properties|framecount]])) ? inclip.framecount : numframes&lt;br /&gt;
        return old.Trim(0, frame - 1) + inclip.Trim(0, numframes) + old.Trim(frame + numframes, 0)&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
    # as above, using aligned splices&lt;br /&gt;
    function AlignedReplace (clip old, clip inclip, int frame, int numframes)&lt;br /&gt;
    {&lt;br /&gt;
        numframes = (numframes == 0 || numframes &amp;gt; inclip.framecount) ? inclip.framecount : numframes&lt;br /&gt;
        return old.Trim(0, frame - 1) ++ inclip.Trim(0, numframes) ++ old.Trim(frame + numframes, 0)&lt;br /&gt;
    }&lt;br /&gt;
&lt;br /&gt;
[[Category:Shared functions]]&lt;/div&gt;</summary>
		<author><name>AlanHK</name></author>	</entry>

	</feed>