<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<c74object category="Jitter Generators, Jitter QuickTime" module="jit" name="jit.qt.grab" kind="fakeobject">
	<digest>
		Digitize video from an external source
	</digest>
	<description>
		Use the <o>jit.grab</o> object to digitize video from any video digitizer and decompress the signal into a Jitter matrix. On OSX, QuickTime is used; on Windows, DirectX is used.
	</description>
	<discussion>
		<o>jit.grab</o> also offers a grab-to-disk mode. Although numerous parameters for control are offered, not all features are supported by all digitizers.
	</discussion>
	<!--METADATA -->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Jitter
		</metadata>
		<metadata name="tag">
			camera
		</metadata>
	</metadatalist>
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				bang, messages in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				bang, messages in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<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="1" matrixoutputcount="1">
		<matrixoutput dimlink="1" maxdimcount="32" maxplanecount="4" mindimcount="1" minplanecount="4" name="out" planelink="1" typelink="1">
			<types>
				char
			</types>
		</matrixoutput>
	</mop>
	<!-- ===================================================
            ATTRIBUTES
   =================================================== -->
	<attributelist>
		<attribute get="1" name="adapt" set="1" size="1" type="int">
			<digest>
				Adapt output matrix dimensions to native device dimensions.
			</digest>
			<description>
				Adapt output matrix dimensions to native device dimensions. Enabled by default if no <at>dim</at> specified.
			</description>
			<attributelist>
				<attribute get="1" name="style" set="1" size="1" type="symbol" value="onoff" />
			</attributelist>
		</attribute>
		<attribute get="1" name="automatic" set="1" size="1" type="int">
			<digest>
				Enable automatic matrix output.
			</digest>
			<description>
				Enable automatic matrix output when bound to <o>jit.world</o>.
			</description>
			<attributelist>
				<attribute get="1" name="style" set="1" size="1" type="symbol" value="onoff" />
			</attributelist>
		</attribute>
		<attribute get="1" name="bitrate" set="1" size="1" type="int">
			<digest>
				Sound digitizer bit depth
			</digest>
			<description>
				The sound digitizer bit depth (default = digitizer-specific). 32 bit only.
				<br />
				8 = digitize sound at 8-bit resolution
				<br />
				16 = digitize sound at 16-bit resolution
			</description>
		</attribute>
		<attribute get="1" name="blacklevel" set="1" size="1" type="float">
			<digest>
				Video digitizer black level
			</digest>
			<description>
				The video digitizer black level (default = digitizer-specific). 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="brightness" set="1" size="1" type="float">
			<digest>
				Video digitizer brightness level
			</digest>
			<description>
				The video digitizer brightness level (default = digitizer-specific). 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="channels" set="1" size="1" type="int">
			<digest>
				Sound digitizer channel select
			</digest>
			<description>
				The sound digitizer channel selection (default = digitizer-specific). 32 bit only.
				<br />
				1 = digitize sound in mono
				<br />
				2 = digitize sound in stereo
			</description>
		</attribute>
		<attribute get="1" name="codeclist" set="0" size="system-dependent" type="symbol">
			<digest>
				Video codecs available on the system
			</digest>
			<description>
				The valid video codecs available on the system
				<br />
				Sending the message <m>getcodeclist</m> will cause a list of all valid codecs (that is, those with a functioning compressor component) to be reported from the dumpout. This list is guaranteed to contain only working codecs, and should be used in preference to the old, static codec list. 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="codecquality" set="1" size="1" type="int/symbol">
			<digest>
				Video digitizer codec quality
			</digest>
			<description>
				The video digitizer codec quality. This is only active in <at>vmode</at> 2 (default = 4/max). 32 bit only.
				<br />
				0 or min = minimum
				<br />
				1 or low = low
				<br />
				2 or normal = normal
				<br />
				3 or high = high
				<br />
				4 or max = maximum
				<br />
				5 or lossless = lossless
				<br />
				<br />
				Note that minimum quality is, in many cases, the codec's default quality. Use &quot;low&quot; quality for consistent results.
			</description>
		</attribute>
		<attribute get="1" name="colormode" set="1" size="1" type="symbol">
			<digest>
				Color encoding for output matrix
			</digest>
			<description>
				The output matrix's color encoding (default = argb)
			</description>
			<attributelist>
				<attribute get="1" name="enumvals" set="1" size="2" type="atom">
					<enumlist>
						<enum name="argb">
							<digest>
								ARGB (alpha, red, green, blue) colormode
							</digest>
						</enum>
						<enum name="uyvy">
							<digest>
								UYVY (YUV 4:2:2 packed) colormode
							</digest>
						</enum>
					</enumlist>
				</attribute>
				<attribute get="1" name="style" set="1" size="1" type="symbol" value="enum" />
			</attributelist>
		</attribute>
		<attribute get="1" name="colorspace" set="1" size="1" type="int">
			<digest>
				Video digitizer colorspace mode
			</digest>
			<description>
				The video digitizer colorspace mode (default = digitizer-specific). 32 bit only.
				<br />
				0 = grayscale
				<br />
				1 = color
			</description>
		</attribute>
		<attribute get="1" name="contrast" set="1" size="1" type="float">
			<digest>
				Video digitizer contrast level
			</digest>
			<description>
				The video digitizer contrast level (default = digitizer-specific). 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="drawto" set="1" size="1" type="symbol">
			<digest>
				Render context name
			</digest>
			<description>
				A render context name, used when <at>output_texture</at> is enabled.
			</description>
			<attributelist />
		</attribute>
		<attribute get="1" name="dropreport" set="1" size="1" type="int">
			<digest>
				Dropped frames reporting flag
			</digest>
			<description>
				Dropped frames reporting flag (default = 0 (disabled))
				<br />
				When this flag is set, the message <m>dropped</m> will be sent from the rightmost outlet of the <o>jit.grab</o> object, followed by the number of dropped frames, whenever frame-dropping is detected. 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="dstrect" set="1" size="4" type="int">
			<digest>
				The portion of the output matrix used for decompressing media to the internal matrix. (default = 0 0 (matrix width)
			</digest>
			<description>
				The portion of the output matrix used for decompressing media to the internal matrix. (default = 0 0 (matrix width) (matrix height))
				<br />
				The proportions of the rectangle are expressed in the form <i>left top right bottom</i>. All values are relative to the top left corner of the viewing area of the output matrix.
			</description>
		</attribute>
		<attribute get="1" name="engine" set="1" size="1" type="symbol">
			<digest>
				Video engine backend.
			</digest>
			<description>
				Video engine backend. This argument can only be set in the max box. If not specified, it is determined by the Video Engine Max preference. As of this writing, possible values include <ar>avf</ar> (Mac only), <ar>qt</ar>, and <ar>viddll</ar>.
			</description>
		</attribute>
		<attribute get="1" name="field" set="1" size="1" type="int">
			<digest>
				Video digitizer field select
			</digest>
			<description>
				The video digitizer field selection (default = digitizer-specific)
				<br />
				0 = digitizer determines field selection
				<br />
				1 = digitizer uses odd field
				<br />
				2 = digitizer uses even field MAC OSX ONLY WITH DFG/1394-1 digitizer (using ASC-s driver, version 2 or higher) 128 = digitizer uses both fields, alternating 129 = digitizer uses both fields, stacked (upper half is odd, lower half is even). 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="framerate" set="1" size="1" type="float">
			<digest>
				Video digitizer frame rate
			</digest>
			<description>
				The video digitizer frame rate (default = digitizer-specific).
				<br />
				The digitizer has to be closed and re-opened before changes to <at>framerate</at> take effect.
			</description>
		</attribute>
		<attribute get="1" name="framereport" set="1" size="1" type="int">
			<digest>
				Frame reporting flag
			</digest>
			<description>
				Frame reporting flag (default = 0)
				<br />
				When enabled, the message <m>framecalc</m> will be sent from the rightmost outlet of the <o>jit.grab</o> object as each frame is processed, followed by the number of milliseconds spent doing so.
			</description>
		</attribute>
		<attribute get="1" name="gain" set="1" size="1" type="float">
			<digest>
				Sound digitizer gain
			</digest>
			<description>
				The sound digitizer gain (default = digitizer-specific)
			</description>
		</attribute>
		<attribute get="1" name="gamma" set="1" size="3" type="float">
			<digest>
				Video digitizer gamma
			</digest>
			<description>
				The video digitizer gamma (default = digitizer-specific)
			</description>
		</attribute>
		<attribute get="1" name="hue" set="1" size="1" type="float">
			<digest>
				Video digitizer hue adjustment
			</digest>
			<description>
				The video digitizer hue adjustment (default = digitizer-specific)
			</description>
		</attribute>
		<attribute get="1" name="input" set="1" size="1" type="int">
			<digest>
				Current video digitizer input
			</digest>
			<description>
				The current video digitizer input (default = digitizer-specific)
			</description>
		</attribute>
		<attribute get="1" name="interp" set="1" size="1" type="int">
			<digest>
				Image interpolation flag
			</digest>
			<description>
				Image interpolation flag (default = 0)
			</description>
		</attribute>
		<attribute get="1" name="maxfps" set="0" size="1" type="float">
			<digest>
				Video digitizer's maximum frame rate
			</digest>
			<description>
				The video digitizer's maximum frame rate (default = digitizer-specific). 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="output_texture" set="1" size="1" type="int">
			<digest>
				Enable OpenGL texture output
			</digest>
			<description>
				Enable OpenGL texture output (default = 0). When enabled an OpenGL texture is output instead of a Jitter matrix. The object's <at>drawto</at> attribute must be set to a valid gl context. An RGBA texture is output using the movie's native dimensions. When enabled, the following attributes have no effect:
				<br />
				<at>adapt</at>
				<br />
				<at>colormode</at>
				<br />
				<at>dim</at>
				<br />
				<at>dstrect</at>
				<br />
				<at>srcrect</at>
				<br />
				<at>usedstrect</at>
				<br />
				<at>usesrcrect</at> 
			</description>
			<attributelist>
				<attribute get="1" name="style" set="1" size="1" type="symbol" value="onoff" />
			</attributelist>
		</attribute>
		<attribute get="1" name="playthru" set="1" size="1" type="int">
			<digest>
				Sound digitizer playthrough flag
			</digest>
			<description>
				Sound digitizer playthrough flag (default = digitizer-specific). 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="pll" set="1" size="1" type="int">
			<digest>
				Phase locked loop
			</digest>
			<description>
				The phase locked loop (PLL) type (default = digitizer-specific). 32 bit only.
				<br />
				0 = broadcast mode
				<br />
				1 = VTR mode
			</description>
		</attribute>
		<attribute get="1" name="samplerate" set="1" size="1" type="int">
			<digest>
				Sound digitizer sample rate
			</digest>
			<description>
				Sound digitizer sample rate (default = digitizer-specific). 32 bit only.
				<br />
				48000 = 48kHz
				<br />
				44100 = 44.1kHz
				<br />
				32000 = 32kHz
				<br />
				22050 = 22.050kHz
				<br />
				22254 = 22kHz
				<br />
				16000 = 16kHz
				<br />
				11127 = 11kHz
				<br />
				11025 = 11.025kHz
				<br />
				8000 = 8000 Hz
			</description>
		</attribute>
		<attribute get="1" name="saturation" set="1" size="1" type="float">
			<digest>
				Video digitizer saturation level
			</digest>
			<description>
				Video digitizer saturation level (default = digitizer-specific). 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="sharpness" set="1" size="1" type="float">
			<digest>
				Video digitizer sharpness level
			</digest>
			<description>
				Video digitizer sharpness level (default = digitizer-specific). 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="singlefield" set="1" size="1" type="int">
			<digest>
				Single field flag
			</digest>
			<description>
				Single field flag (default = 1 (enabled))
				<br />
				When the flag is set, an attempt is made to decompress one field of an interlaced frame at high quality, and then scale the image to the frame size. If the digitizer doesn't provide interlaced frames, this flag does nothing. 32 bit only.
			</description>
		</attribute>
		<attribute get="0" name="snd_active" set="1" size="1" type="int">
			<digest>
				Sound digitizer enable flag
			</digest>
			<description>
				Sound digitizer enable flag (default = 0). 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="sndcodec" set="1" size="1" type="symbol">
			<digest>
				Sound digitizer codec mode
			</digest>
			<description>
				Sound digitizer codec mode (used for recording) (default = digitizer-specific). 32 bit only.
				<br />
				none = no compression
				<br />
				raw = raw compression
				<br />
				big16 = 16-bit big endian
				<br />
				little16 = 16-bit little endian
				<br />
				float32 = 32-bit floating point
				<br />
				float64 = 64-bit floating point
				<br />
				24bit = 24-bit integer
				<br />
				32bit = 32-bit integer
				<br />
				little32 = 32-bit little endian
				<br />
				mace3 = MACE 3:1
				<br />
				mace6 = MACE 6:1
				<br />
				cdxa4 = CD/XA 4:1
				<br />
				cdxa2 = CD/XA 2:1
				<br />
				ima = IMA 4:1
				<br />
				ulaw = uLaw 2:1
				<br />
				alaw = aLaw 2:1
				<br />
				adpcm = Microsoft ADPCM (ACM code 2)
				<br />
				dviima = DVI/Intel IMA ADPCM (ACM code 17)
				<br />
				dvaudio = DV Audio
				<br />
				qdesign = QDesign music
				<br />
				qdesign2 = QDesign2 music
				<br />
				qualcomm = Qualcomm PureVoice
				<br />
				mp3 = MPEG Layer 3 (CBR or VBR)
			</description>
		</attribute>
		<attribute get="1" name="snddevice" set="1" size="1" type="int">
			<digest>
				Current sound digitizer
			</digest>
			<description>
				The current sound digitizer (default = 0). 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="sndinput" set="1" size="1" type="int">
			<digest>
				Current sound input for the selected sound digitizer
			</digest>
			<description>
				The current sound input for the selected sound digitizer (default = 0). 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="srcrect" set="1" size="4" type="int">
			<digest>
				Source rect from digitizer frame
			</digest>
			<description>
				Source rect from digitizer frame (default = 0 0 (matrix width) (matrix height))
			</description>
		</attribute>
		<attribute get="0" name="standard" set="1" size="1" type="symbol">
			<digest>
				Video digitizer standard
			</digest>
			<description>
				The video digitizer standard selection (default = digitizer-specific). 32 bit only.
				<br />
				ntsc = NTSC
				<br />
				pal = PAL
				<br />
				secam = SECAM
				<br />
			</description>
		</attribute>
		<attribute get="1" name="texture_name" set="1" size="1" type="symbol">
			<digest>
				Output texture name
			</digest>
			<description>
				Output texture name, when <at>output_texture</at> is enabled.
			</description>
			<attributelist />
		</attribute>
		<attribute get="1" name="unique" set="1" size="1" type="int">
			<digest>
				Unique frame filter flag
			</digest>
			<description>
				Unique frame filter flag (default = 0 (disabled))
				<br />
				When the flag is set, only new frames from the digitizer are output when the object receives a bang. If no new frame has been received from the digitizer, the <o>jit.grab</o> object will not respond to the bang.
			</description>
		</attribute>
		<attribute get="1" name="uniqueid" set="0" size="1" type="int">
			<digest>
				Unique camera ID
			</digest>
			<description>
				Unique camera ID. 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="usedstrect" set="1" size="1" type="int">
			<digest>
				Destination rect flag
			</digest>
			<description>
				Destination rect flag (default = 0) When the flag is set, the <at>dstrect</at> attributes are used when copying an input matrix to the internal matrix.
			</description>
		</attribute>
		<attribute get="1" name="usesrcrect" set="1" size="1" type="int">
			<digest>
				Source rect flag
			</digest>
			<description>
				Source rect flag (default = 0) When the flag is set, the <at>srcrect</at> attributes are used when copying an input matrix to the internal matrix.
			</description>
		</attribute>
		<attribute get="1" name="vdevice" set="1" size="1" type="int">
			<digest>
				Current video digitizer
			</digest>
			<description>
				The current video digitizer (default = 0)
			</description>
		</attribute>
		<attribute get="1" name="vmode" set="1" size="1" type="int">
			<digest>
				Video digitizer mode
			</digest>
			<description>
				The video digitizer mode (default = 0 (sequence grab)). 32 bit only.
				<br />
				0 = sequence grab mode
				<br />
				1 = vdig mode (necessary/desirable for some digitizers)
				<br />
				2 = DV high quality mode
			</description>
		</attribute>
		<attribute get="1" name="volume" set="1" size="1" type="float">
			<digest>
				Sound digitizer volume
			</digest>
			<description>
				The sound digitizer volume (default = digitizer-specific). 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="whitelevel" set="1" size="1" type="float">
			<digest>
				Video digitizer white level
			</digest>
			<description>
				The video digitizer white level (default = digitizer-specific). 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="window" set="1" size="1" type="symbol">
			<digest>
				Window name
			</digest>
			<description>
				Window name (default = none) If this attribute is set, the <o>jit.grab</o> object will render directly into the named <o>jit.window</o> object, thus able to use hardware decompression and interpolation as permitted by QuickTime. The window must have <at>noaccel</at> set to 1 in order for this to work.
				<br />
				If no symbol argument is given, the <o>jit.grab</o> object's default behavior of rendering to and outputting a matrix is used. 32 bit only.
				<p />
			</description>
		</attribute>
		<attribute get="1" name="write_audio" set="1" size="1" type="int">
			<digest>
				Audio track write flag
			</digest>
			<description>
				Audio track write flag (default = 0) When the flag is set, an audio track is written when grabbing images to disc. 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="write_length" set="1" size="1" type="int">
			<digest>
				Disk grab limit (in frames)
			</digest>
			<description>
				The length (in frames) to limit <m>write</m> operations to (default = 0 (inactive)) When non-zero, limits the disk grab to the specified number of frames. The <m>write</m> operation will stop automatically. If you are grabbing sound only, <at>write_length</at> has no effect. 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="write_preview" set="1" size="1" type="int">
			<digest>
				Image preview flag
			</digest>
			<description>
				Image preview flag (default = 0) When the flag is set, images can be previewed when grabbing images to disc. 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="write_split" set="1" size="1" type="int">
			<digest>
				Split file write flag
			</digest>
			<description>
				Split file write flag (default = 0) When the flag is set, separate disk files for audio and video are written when grabbing images to disc. Otherwise, a single file containing both is written. 32 bit only.
			</description>
		</attribute>
		<attribute get="1" name="write_video" set="1" size="1" type="int">
			<digest>
				Video track write flag
			</digest>
			<description>
				Video track write flag (default = 1) When the flag is set, a video track is written when grabbing images to disc. 32 bit only.
			</description>
		</attribute>
	</attributelist>
	<!-- ===================================================
            METHODS
   =================================================== -->
	<methodlist>
		<method name="close">
			<digest>
				Close an open sequence grab component
			</digest>
			<description>
				Closes an open sequence grab component. The component is automatically closed when the object is freed.
			</description>
		</method>
		<method name="defaults">
			<digest>
				Restore digitizer image control defaults
			</digest>
			<description>
				Restores digitizer image control defaults. 32 bit only.
			</description>
		</method>
		<method name="exportimage">
			<arglist>
				<arg name="filename" type="symbol" />
				<arg name="file-type" type="symbol" />
			</arglist>
			<digest>
				Export the current frame as an image file
			</digest>
			<description>
				Export the current frame as an image file with the name specified by the first argument. The second argument sets the file type (default = png). Available file types are <m>png</m>, <m>tiff</m>, and <m>jpeg</m>.				<br />
				You can use the Max Preferences to <link anchor="defaultimageresolution" module="core" name="interface_preferences" type="vignette">specify a default image resolution</link> for png image types.
			</description>
		</method>
		<method name="getiidclist">
			<digest>
				Report all available IIDC features (Mac OSX only)
			</digest>
			<description>
				MAC OSX ONLY, requires open IIDC device. Reports a list of available IIDC features for the open IIDC component from the <o>jit.grab</o> object's dump outlet, preceded by the symbol <m>iidclist</m>. 32 bit only.
			</description>
		</method>
		<method name="getiidc_caps">
			<arglist>
				<arg name="feature name" type="symbol" />
			</arglist>
			<digest>
				Report the capabilities of an IIDC feature (Mac OSX only)
			</digest>
			<description>
				MAC OSX ONLY, requires open IIDC device. Reports a list of capabilities for a specific IIDC feature (see the <m>getiidclist</m> message for information on getting IIDC features) from the <o>jit.grab</o> object's dump outlet. These capabilities are used to set the state of the IIDC feature. Since every IIDC device might support different features, and each feature might support different capabilities, the capabilities list provides a means of knowing which symbols are valid to set the state (using the <m>iidc_state</m> message) for any particular feature of a specific device. The capabilities list typically is formatted as follows: <m>iidc_state</m>  <i>feature-name</i>  <i>variable capabilities data</i>. 32 bit only.
			</description>
		</method>
		<method name="getiidc_state">
			<arglist>
				<arg name="feature name" type="symbol" />
			</arglist>
			<digest>
				Report the state of an IIDC feature (Mac OSX only)
			</digest>
			<description>
				MAC OSX ONLY, requires open IIDC device. Reports the current state of a specific IIDC feature (see the <m>getiidclist</m> message for information on getting IIDC features) from the <o>jit.grab</o> object's dump outlet. The state list typically is formatted as follows: <m>iidc_state</m>  <i>feature-name</i>  <m>val</m>  <i>feature-value</i>  <i>variable additional data</i>. 32 bit only.
			</description>
		</method>
		<method name="getinputlist">
			<digest>
				Report all video digitizer inputs
			</digest>
			<description>
				Reports the list of available inputs to the video digitizer from the object's right outlet, preceded by the word <m>inputlist</m>. Note that the digitizer must be <m>open</m> in order for this method to function.
			</description>
		</method>
		<method get="1" name="getsnddevlist" set="0" size="256" type="symbol">
			<digest>
				Report all available sound digitizers
			</digest>
			<description>
				Reports the list of available sound digitizers from the object's right outlet, preceded by the word <m>snddevlist</m>. 32 bit only.
			</description>
		</method>
		<method get="1" name="getsndinputlist" set="0" size="256" type="symbol">
			<digest>
				Report all sound digitizer inputs
			</digest>
			<description>
				Reports the list of available inputs for the current sound digitizer from the object's right outlet, preceded by the word <m>sndinputlist</m>. Note that the digitizer must be <m>open</m> in order for this method to function. 32 bit only.
			</description>
		</method>
		<method name="getvdevlist">
			<digest>
				Report all available video digitizers
			</digest>
			<description>
				Reports the list of available video digitizers from the object's right outlet, preceded by the word <m>vdevlist</m>.
			</description>
		</method>
		<method name="iidc_state">
			<arglist>
				<arg name="feature name" type="symbol" />
				<arg name="feature-specific data" type="list" />
			</arglist>
			<digest>
				Set the current state of an IIDC feature (Mac OSX only)
			</digest>
			<description>
				MAC OSX ONLY, requires open IIDC device. Sets the current state of a specific IIDC feature (see the <m>getiidclist</m> message for information on getting IIDC features). Typically, to set the numeric value of a particular feature, the symbol <m>val</m> followed by a number is used. For other data (on/off, auto/manual, etc.), valid symbols used to set the state can be acquired using the <m>getiidc_caps</m> message. 32 bit only.
			</description>
		</method>
		<method name="getiidc_csr">
			<arglist>
				<arg name="offset" type="int" />
				<arg name="0/1" optional="1" type="int" />
			</arglist>
			<digest>
				Report the value of an IIDC register (Mac OSX only)
			</digest>
			<description>
				MAC OSX ONLY, requires open IIDC device. Reports the current value of an IIDC register from the <o>jit.grab</o> object's dump outlet, preceded by the symbol <m>iidc_csr</m>. The offset argument specifies the byte offset to read from. The second argument, if present and 1, specifies that the byte offset is relative to the initial unit space (FFFF Fxxx xxxx). Otherwise, the byte offset is relative to the initial register space (FFFF F000 0000). 32 bit only.
			</description>
		</method>
		<method name="iidc_csr">
			<arglist>
				<arg name="data" type="int" />
				<arg name="offset" optional="1" type="int" />
				<arg name="0/1" optional="1" type="int" />
			</arglist>
			<digest>
				Set the state of an IIDC register (Mac OSX only)
			</digest>
			<description>
				MAC OSX ONLY, requires open IIDC device. Directly sets the state of an IIDC register. The data argument specifies the new value for the register. The offset argument, if present, specifies the byte offset to set (if absent, the byte offset is assumed to be 0). The third argument, if present and 1, specifies that the byte offset is relative to the initial unit space (FFFF Fxxx xxxx). Otherwise, the byte offset is relative to the initial register space (FFFF F000 0000). 32 bit only.
			</description>
		</method>
		<method name="open">
			<digest>
				Open a sequence grab component
			</digest>
			<description>
				Opens a sequence grab component. A component must be explicitly opened before the <o>jit.grab</o> object will began digitizing.
			</description>
		</method>
		<method name="settings">
			<digest>
				Open the standard video digitizer settings dialog box
			</digest>
			<description>
				Opens the standard video digitizer settings dialog box. 32 bit only.
			</description>
		</method>
		<method name="snd_settings">
			<digest>
				Open the standard sound digitizer settings dialog box
			</digest>
			<description>
				Opens the standard sound digitizer settings dialog box. 32 bit only.
			</description>
		</method>
		<method name="stop">
			<digest>
				Stop grabbing to disk
			</digest>
			<description>
				Stops grabbing to disk.
			</description>
		</method>
		<method name="write">
			<arglist>
				<arg name="videofilename" optional="1" type="symbol" />
				<arg name="audiofilename" optional="1" type="symbol" />
				<arg name="FPS" type="float" />
				<arg name="codec" type="symbol" />
				<arg name="spatialquality" type="symbol" />
				<arg name="temporalquality" type="symbol" />
				<arg name="keyframes" type="symbol" />
			</arglist>
			<digest>
				Write the grab to disk
			</digest>
			<description>
				<p>
					Starts grabbing to disk. If the <at>write_split</at> attribute is disabled, only one filename argument is required; Otherwise, the video and audio filenames are required. If no filename arguments are supplied, a file dialog box will open.
				</p>
				<p>
					The default <i>FPS</i> is 30. frames/sec.
				</p>
				<p>
					The default <i>codec</i> is <m>raw</m>. The following list of codecs is deprecated (retained for reference). See <at>codeclist</at> for the preferred method to list valid system codecs.
					<br />
					<i>Supported codecs are <m>raw</m>, <m>cinepak</m>, <m>graphics</m>, <m>animation</m>, <m>video</m>, <m>componentvideo</m>, <m>jpeg</m>, <m>mjpega</m>, <m>mjpegb</m>, <m>sgi</m>, <m>planarrgb</m>, <m>macpaint</m>, <m>gif</m>, <m>photocd</m>, <m>qdgx</m>, <m>avrjpeg</m>, <m>opendmljpeg</m>, <m>bmp</m>, <m>winraw</m>, <m>vector</m>, <m>qd</m>, <m>h261</m>, <m>h263</m>, <m>dvntsc</m>, <m>dvpal</m>, <m>dvpropal</m>, <m>flc</m>, <m>targa</m>, <m>png</m>, <m>tiff</m>, <m>componentvideosigned</m>, <m>componentvideounsigned</m>, <m>cmyk</m>, <m>microsoft</m>, <m>sorenson</m>, <m>indeo4</m>, <m>argb64</m>, <m>rgb48</m>, <m>alphagrey32</m>, <m>grey16</m>, <m>mpegyuv420</m>, <m>yuv420</m>, <m>sorensonyuv9</m> and <m>mpeg4</m>.</i> 
				</p>
				<p>
					The default <i>spatialquality</i> and <i>temporalquality</i> values are <m>max</m>. Supported quality settings are <m>lossless</m>, <m>max</m>, <m>min</m>, <m>low</m>, <m>normal</m>, and <m>high</m>.					<br />
					<br />
					Note that minimum quality is, in many cases, the codec's default quality. Use &quot;low&quot; quality for consistent results.
				</p>
				<p>
					The default <i>keyframes</i> is <m>0</m>, which will cause keyframes to be inserted automatically, as necessary.
				</p>
			</description>
		</method>
	</methodlist>
	<!-- ===================================================
            EXAMPLE
   =================================================== -->
	<examplelist>
		<example img="jit.grab.png" />
	</examplelist>
	<!-- ===================================================
            SEEALSO
   =================================================== -->
	<seealsolist>
		<seealso display="jit.movie" name="jit.qt.movie" />
		<seealso display="jit.record" name="jit.qt.record" />
		<seealso name="jit.qt.effect" />
		<seealso name="jit.dx.grab" />
		<seealso name="jit.dx.videoout" />
		<seealso name="jit.qt.videoout" />
		<seealso module="jit" name="jitterchapter21" type="tutorial" />
	</seealsolist>
</c74object>
