<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="jit.traffic" module="jit" category="Jitter Colorspace">
	<digest>
		Multiply the planar vector by a matrix
	</digest>
	<description>
		The <o>jit.traffic</o> object takes an input matrix and multiplies its cells using an N x N+1 float32 matrix (where N is the planecount of the input matrix). The left input matrix can be of any type.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Jitter
		</metadata>
		<metadata name="tag">
			Jitter Colorspace
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="matrix">
			<digest>
				in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="matrix">
			<digest>
				in2
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="matrix">
			<digest>
				out
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="matrix">
			<digest>
				dumpout
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--MOP-->
	<mop matrixinputcount="2" matrixoutputcount="1">
		<matrixinput name="in2" planelink="0" typelink="0" dimlink="0" minplanecount="1" maxplanecount="32" mindimcount="1" maxdimcount="32" ioproc="adapt">
			<types>
				char long float32 float64
			</types>
		</matrixinput>
		<matrixoutput name="out" planelink="1" typelink="1" dimlink="1" minplanecount="1" maxplanecount="32" mindimcount="1" maxdimcount="32">
			<types>
				char long float32 float64
			</types>
		</matrixoutput>
	</mop>
	<!--MESSAGES-->
	<jittermethodlist>
		<jittermethod name="bang" />
		<jittermethod name="clear" />
		<jittermethod name="exportattrs" />
		<jittermethod name="exportsummary" />
		<jittermethod name="getattributes" />
		<jittermethod name="getstate" />
		<jittermethod name="jit_matrix" />
		<jittermethod name="importattrs" />
		<jittermethod name="outputmatrix" />
		<jittermethod name="summary" />
	</jittermethodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="jit.traffic.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="jit.colorspace" />
		<seealso name="jit.hsl2rgb" />
		<seealso name="jit.rgb2luma" />
		<seealso name="jit.rgb2hsl" />
	</seealsolist>
	<discussion>
		Example: for an input cell (a, r, g, b), an output cell (A, R, G, B) and a multiplicaton matrix m0...m19 (4 X 5 float32 matrix) the object multiplies using the following formula:
		<br />
		A = m0*a + m4*r + m8*g + m12*b + m16
		<br />
		R = m1*a + m5*r + m9*g + m13*b + m17
		<br />
		G = m2*a + m6*r + m10*g + m14*b + m18
		<br />
		B = m3*a + m7*r + m12*g + m15*b + m19
	</discussion>
</c74object>
