<?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=Crt_display</id>
		<title>Crt display - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://avisynth.nl/index.php?action=history&amp;feed=atom&amp;title=Crt_display"/>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=Crt_display&amp;action=history"/>
		<updated>2026-04-27T17:43:05Z</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=Crt_display&amp;diff=13649&amp;oldid=prev</id>
		<title>AmjadSONY: add avs+ mod</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=Crt_display&amp;diff=13649&amp;oldid=prev"/>
				<updated>2025-11-30T18:53:48Z</updated>
		
		<summary type="html">&lt;p&gt;add avs+ mod&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 18:53, 30 November 2025&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|1={{Author/cretindesalpes}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|1={{Author/cretindesalpes}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|2=v1.0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|2=v1.0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|3=[http://ldesoras.free.fr/src/avs/crt-display-1.0.zip crt-display-1.0.zip]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|3=[http://ldesoras.free.fr/src/avs/crt-display-1.0.zip crt-display-1.0.zip&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;] or avs+ only mod [[Media:Crt_display.avsi‎|Crt_display.avsi]&lt;/ins&gt;]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|4=Effects&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|4=Effects&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|5=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|5=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>AmjadSONY</name></author>	</entry>

	<entry>
		<id>http://avisynth.nl/index.php?title=Crt_display&amp;diff=12348&amp;oldid=prev</id>
		<title>Reel.Deal: crt_display v1.0</title>
		<link rel="alternate" type="text/html" href="http://avisynth.nl/index.php?title=Crt_display&amp;diff=12348&amp;oldid=prev"/>
				<updated>2021-07-24T02:03:05Z</updated>
		
		<summary type="html">&lt;p&gt;crt_display v1.0&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{FilterCat4|External_filters|Scripts|Adjustment_filters|Effects}}&lt;br /&gt;
{{Filter3&lt;br /&gt;
|1={{Author/cretindesalpes}}&lt;br /&gt;
|2=v1.0&lt;br /&gt;
|3=[http://ldesoras.free.fr/src/avs/crt-display-1.0.zip crt-display-1.0.zip]&lt;br /&gt;
|4=Effects&lt;br /&gt;
|5=&lt;br /&gt;
|6=[https://forum.doom9.org/showthread.php?t=170732 Doom9 Thread]}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Description ==&lt;br /&gt;
[[crt_display]] is a function that emulates a CRT display using aperture grille (Trinitron) or Cromaclear technologies. It is slow but gives interesting results. It implements various features like:&lt;br /&gt;
&lt;br /&gt;
*Works at any (non-integer) upscaling factor&lt;br /&gt;
*Various ways of adjusting the scanline thickness and beam shape&lt;br /&gt;
*Low-pass filtering of the input signal&lt;br /&gt;
*Specific gamma target&lt;br /&gt;
*Beam glow&lt;br /&gt;
*Optional colored phosphor effect and shadow mask&lt;br /&gt;
*Colors shift caused by beam misalignment&lt;br /&gt;
*Automatic contrast adjustment&lt;br /&gt;
*Halation&lt;br /&gt;
*Very large upscale is possible, showing the grid of phosphors.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Requirements==&lt;br /&gt;
* [x86] [[AviSynth+]] or [http://sourceforge.net/projects/avisynth2/ AviSynth 2.6.0] or greater&lt;br /&gt;
* [x64] [[AviSynth+]]&lt;br /&gt;
* Supported color formats: [[RGB24]], [[RGB32]]&lt;br /&gt;
* [[FAQ_different_types_content#How_do_I_recognize_progressive.2C_interlaced.2C_telecined.2C_hybrid_and_blended_content.3F|Progressive]] input only &lt;br /&gt;
&lt;br /&gt;
==== Required Plugins ====&lt;br /&gt;
Latest version of the following plugins are recommended unless stated otherwise.&amp;lt;br&amp;gt;&lt;br /&gt;
* [[Dither]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== [[Script variables|Syntax and Parameters]] ==&lt;br /&gt;
&lt;br /&gt;
'''Syntax:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
crt_display (clip src, float sw, float sh, float &amp;quot;voff&amp;quot;, float &amp;quot;ppp&amp;quot;,&lt;br /&gt;
\	float &amp;quot;cutoff&amp;quot;, float &amp;quot;scandist&amp;quot;, float &amp;quot;sharpv&amp;quot;, float &amp;quot;sharph&amp;quot;,&lt;br /&gt;
\	float &amp;quot;blurh&amp;quot;, float &amp;quot;glowgain&amp;quot;, float &amp;quot;glowh&amp;quot;, float &amp;quot;glowv&amp;quot;,&lt;br /&gt;
\	float &amp;quot;glowsens&amp;quot;, float &amp;quot;contrast&amp;quot;, float &amp;quot;gamma&amp;quot;, float &amp;quot;softclip&amp;quot;,&lt;br /&gt;
\	float &amp;quot;mix&amp;quot;, float &amp;quot;beamshape&amp;quot;, bool &amp;quot;phosphor&amp;quot;, bool &amp;quot;pgrid&amp;quot;,&lt;br /&gt;
\	float &amp;quot;vcs&amp;quot;, float &amp;quot;cromaclear&amp;quot;, float &amp;quot;maskpp&amp;quot;, float &amp;quot;gainb&amp;quot;,&lt;br /&gt;
\	float &amp;quot;halgain&amp;quot;, float &amp;quot;halrange&amp;quot;, string &amp;quot;pixel_type&amp;quot;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Parameters:'''&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sw&lt;br /&gt;
	Horizontal scale factor.&lt;br /&gt;
&lt;br /&gt;
sh&lt;br /&gt;
	Vertical scale factor.&lt;br /&gt;
&lt;br /&gt;
voff&lt;br /&gt;
	Vertical centering of the scanlines.&lt;br /&gt;
	Set to 0, the scanlines are centered between two pixels. When set to&lt;br /&gt;
	0.5, the scanline are centered exactly on a pixel. Default is pixel-&lt;br /&gt;
	centered.&lt;br /&gt;
	This is a sensitive setting when the scale factor is a small integer.&lt;br /&gt;
	When sh = 3, it's recommended to set the value closer to 0 to make&lt;br /&gt;
	centered the dark gap between the scanlines.&lt;br /&gt;
&lt;br /&gt;
ppp&lt;br /&gt;
	Number of phosphor triads per source pixel.&lt;br /&gt;
	It is recommended to select a value that makes the phosphors aligned&lt;br /&gt;
	with destination pixels (for example 1 phosphor triad = 2 dest pix),&lt;br /&gt;
	in order to avoid moire patterns and beating.&lt;br /&gt;
&lt;br /&gt;
cutoff&lt;br /&gt;
	Cutoff frequency of the low-pass filter at the electronic level.&lt;br /&gt;
	Lowering it thinners 1-pixel wide details.&lt;br /&gt;
	Good values are between 0.8 and 1. Effect is disabled at 1.0.&lt;br /&gt;
&lt;br /&gt;
scandist&lt;br /&gt;
	Relative distance between two scanlines.&lt;br /&gt;
&lt;br /&gt;
sharpv&lt;br /&gt;
	Vertical sharpness of the scanlines.&lt;br /&gt;
	High sharpness makes the lines look thinner especially at low&lt;br /&gt;
	luminance and may reduce the overall contrast.&lt;br /&gt;
	Low sharpness thickens the lines and make them slightly blend.&lt;br /&gt;
	Use values between 0.5 and 2.0.&lt;br /&gt;
&lt;br /&gt;
sharph&lt;br /&gt;
	Horizontal beam focus.&lt;br /&gt;
	Use values between 0.5 and 2.0.&lt;br /&gt;
&lt;br /&gt;
blurh&lt;br /&gt;
	Amount of horizontal bluring to apply after the final resizing.&lt;br /&gt;
	Requires phosphor to be set. Set it to 0 to disable bluring.&lt;br /&gt;
	Sometimes with medium scale factors, when the individual phosphors&lt;br /&gt;
	have a size close to a single destination pixel, the display becomes&lt;br /&gt;
	incredibly messy. Blurring in the horizontal direction make the&lt;br /&gt;
	neighbour phophors slightly merge and reduce the gird artefacts.&lt;br /&gt;
	Moreover, it alows to amplify more the contrast with reduced&lt;br /&gt;
	color artefacts.&lt;br /&gt;
	Usually, values in range 1.0-2.0 give good results.&lt;br /&gt;
	The sweet spot can be very narrow, don't hesitate to try steps&lt;br /&gt;
	as small as 0.1. It's also very dependent from other settings,&lt;br /&gt;
	adjust it after other parameters have changed.&lt;br /&gt;
&lt;br /&gt;
glowgain&lt;br /&gt;
	Amount of glow left by the beam.&lt;br /&gt;
	Disabled when set to 0.&lt;br /&gt;
&lt;br /&gt;
glowh&lt;br /&gt;
	Width of the beam glow, in phosphor triads.&lt;br /&gt;
&lt;br /&gt;
glowv&lt;br /&gt;
	Height in scanlines of the beam glow.&lt;br /&gt;
&lt;br /&gt;
glowsens&lt;br /&gt;
	Glow sensitivity to light.&lt;br /&gt;
	With 1 the glow is uniform. Greater values will leave the dark spots&lt;br /&gt;
	intact and only make the bright spots glow.&lt;br /&gt;
&lt;br /&gt;
contrast&lt;br /&gt;
	Manual contrast amplification. The neutral value is 1.&lt;br /&gt;
	The value of 3 is generally good when the scaling factor is not high&lt;br /&gt;
	and the individual phosphors overlap. Use a slightly greater value&lt;br /&gt;
	when cromaclear is enable (should be 4).&lt;br /&gt;
	Contrast loss caused by thin scanlines or large phosphors is hard to&lt;br /&gt;
	recover.&lt;br /&gt;
	When unspecified, the contrast is set as high as possible depending&lt;br /&gt;
	on the other parameters.&lt;br /&gt;
&lt;br /&gt;
gamma&lt;br /&gt;
	Gamma of the emulated monitor. Typically 2.4 to 2.8 for CRT monitors.&lt;br /&gt;
	Default is the sRGB gamma (2.2).&lt;br /&gt;
&lt;br /&gt;
softclip&lt;br /&gt;
	Gently saturates the pixel values.&lt;br /&gt;
	Generally in range 0-1. Slightly reduces the overall contrast when&lt;br /&gt;
	pixel values are not clipping.&lt;br /&gt;
	Set to 0 for hard-clipping.&lt;br /&gt;
&lt;br /&gt;
mix&lt;br /&gt;
	Amount of CRT-emulated picture in the result. Does not bypass the&lt;br /&gt;
	gamma processing.&lt;br /&gt;
&lt;br /&gt;
beamshape&lt;br /&gt;
	Another way to sharpen the scanlines. The higher the value, the&lt;br /&gt;
	thinner the beam. Use values between 1 and 3. This gives control on&lt;br /&gt;
	the thickness of the beam at high luminance.&lt;br /&gt;
&lt;br /&gt;
phosphor&lt;br /&gt;
	Enable phosphor processing.&lt;br /&gt;
&lt;br /&gt;
pgrid&lt;br /&gt;
	Enables the black grid enclosing each phosphor, at the price of a&lt;br /&gt;
	higher calculation cost. Useful only for large scale factors, when&lt;br /&gt;
	individual phosphors are clearly visible.&lt;br /&gt;
	Requires phosphor processing.&lt;br /&gt;
&lt;br /&gt;
vcs&lt;br /&gt;
	Vertical color shift in scanline units, misaligning the red and blue&lt;br /&gt;
	beams.&lt;br /&gt;
	Realistic values are between -0.25 and +0.25. When set to 0, the beams&lt;br /&gt;
	are correctly aligned.&lt;br /&gt;
&lt;br /&gt;
cromaclear&lt;br /&gt;
	Implements the NEC's cromaclear variant of the aperture grille,&lt;br /&gt;
	combining it with a shadow mask. The value gives the amount of&lt;br /&gt;
	horizontal black grid to be mixed.&lt;br /&gt;
	May reduce the contrast.&lt;br /&gt;
&lt;br /&gt;
maskpp&lt;br /&gt;
	Number of cromaclear units per scanline. Same as ppp but vertically.&lt;br /&gt;
&lt;br /&gt;
gainb&lt;br /&gt;
	Manual contrast gain for the blue.&lt;br /&gt;
	For some reasons, the phosphor mix may generate a yellow tint in the&lt;br /&gt;
	high luminance ranges, depending on various parameters.&lt;br /&gt;
	Values ranging from 1.05 to 1.2 are generally enough to fix it without&lt;br /&gt;
	creating excessive blue tint in the darker colors.&lt;br /&gt;
	Use a test pattern to adjust the value.&lt;br /&gt;
&lt;br /&gt;
halgain&lt;br /&gt;
	Amount of halation.&lt;br /&gt;
	Keep it to a low value, typically in range 0.01-0.05.&lt;br /&gt;
	Disable it with 0.&lt;br /&gt;
&lt;br /&gt;
halrange&lt;br /&gt;
	Halation radius, in phosphor triad units.&lt;br /&gt;
&lt;br /&gt;
pixel_type&lt;br /&gt;
	Final RGB format. &amp;quot;RGB24&amp;quot; or &amp;quot;RGB32&amp;quot;.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
See examples in the Doom9 discussion thread.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
== Changelog ==&lt;br /&gt;
 Version      Date            Changes&amp;lt;br&amp;gt;&lt;br /&gt;
 v1.0         2014/06/05      - Initial release&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
==External Links ==&lt;br /&gt;
*[https://forum.doom9.org/showthread.php?t=170732 Doom9 Forum] - crt_display discussion.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
-----------------------------------------------&lt;br /&gt;
'''Back to [[External_filters#Effects|External Filters]] &amp;amp;larr;'''&lt;/div&gt;</summary>
		<author><name>Reel.Deal</name></author>	</entry>

	</feed>